/*  styles for smaller screens than 760px */

@media (max-width: 760px) {
    .theater-mode {
        height: 620px;
        width: 100%;
    }
    textarea,
    input.text,
    input[type="text"],
    input[type="button"],
    input[type="submit"],
    .input-checkbox {
        -webkit-appearance: none;
        border-radius: 0;
    }
    /*  turns off side nav inside feature columns */
    .video-content {
        width: 99%;
        /* height: 40%; */
    }
    .feature .sidenav-sports {
        display: none;
    }
    .product-box {
        float: none;
    }
    .feature .sidenav-software {
        display: none;
    }

    .feature .sidenav-cg {
        display: none;
    }
    .feature .sidenav-cg.always-show {
        display: block;
    }
    .feature .sidenav-top-border {
        border-width: 0.5px;
        border-top-color: grey;
        border-top-style: none;
        padding-top: 0;
    }

    /* expanding logo box */
    .logo-wide-sports {
        float: left;
        width: 94%;
        padding: 0 1% 0 3%;
        margin-top: 10px;
        margin-right: 0;
        margin-bottom: 10px;
        margin-left: 0;
    }

    .logo-wide-software a h1,
    .logo-wide-software h1 {
        font-size: 18px;
        line-height: 20px;
        margin-bottom: 0;
        margin-top: 0;
        margin-right: 10px;
        float: left;
        clear: left;
    }

    .logo-wide-cg a h1,
    .logo-wide-cg h1 {
        font-size: 18px;
        line-height: 20px;
        margin-bottom: 0;
        margin-top: 0;
        margin-right: 10px;
        float: left;
        clear: left;
    }

    .logo-wide-cg a p,
    .logo-wide-cg p {
        display: none;
    }

    .logo-wide-software a p,
    .logo-wide-software p {
        display: none;
    }

    .logo-wide-sports a h1,
    .logo-wide-sports h1 {
        font-size: 16px;
        line-height: 18px;
        margin-bottom: 6px;
        padding-right: 50px;
    }

    .logo-wide-sports a p,
    .logo-wide-sports p {
        display: none;
    }

    .general h1,
    item h1 {
        padding: 0;
    }

    .general p img.natural {
        width: inherit;
        height: auto;
        max-width: 50%;
    }

    .general h3,
    .item h3 {
        color: #900;
        margin-bottom: 8px;
        padding-bottom: 5px;
        font-size: 14px;
        font-weight: normal;
        padding: 0 10px 0 10px;
    }

    .general p,
    .item p {
        font-size: 16px;
        line-height: 20px;
        color: #333;
        margin-top: 4px;
        margin-bottom: 12px;
    }

    #main-content.thirds,
    .main-content.thirds {
        padding: 2%;
        float: right;
        width: 96%;
        overflow: hidden;
    }

    #hero h1 {
        font-size: 12px;
        line-height: 14px;
        bottom: 3px;
        top: 0;
        left: 0;
        padding: 10px;
        width: 30%;
    }

    .feature {
        clear: both;
        width: 96%;
        padding: 0 2% 10px 2%;
        margin-top: 0;
    }

    .feature .sidenav-under-menu {
        border-top: 0;
    }
    .feature p {
        margin-top: 10px;
    }
    /* size down large padding for smaller devices */
    .login {
        padding: 10px;
        text-align: left;
        font-size: 11px;
    }

    .login span {
        font-size: 16px;
        font-weight: normal;
    }
    /*  expand header to full width */
    #header,
    .header {
        width: 100%;
        border-bottom: 1px solid #999;
        padding-bottom: 20px;
        margin-bottom: 20px;
        background-color: white;
    }
    /*  expand logo to full width */
    #logo {
        float: left;
        width: 100%;
        height: auto;
        margin-top: 10px;
        margin-right: 0;
        margin-left: 0;
        margin-bottom: 0;
        overflow: hidden;
    }
    /*  expand logo img to full width */
    #logo img {
        width: 100%;
        height: auto;
    }
    /*  centers two buttons */
    /*  adjust behavior for small devices */
    .general {
        /*margin-top: 8px;*/
        /*margin-left: 8px;*/
        margin-bottom: 10px;
        /*padding-top: 10px;*/
        padding-right: 0;
        padding-bottom: 10px;
        border-bottom-width: 1px;
        border-bottom-style: solid;
        border-bottom-color: #888888;
        overflow: hidden;
    }
    /*  adjust behavior for small devices */
    .general img {
        float: left;
        width: 100%;
        height: auto;
        margin-right: 0;
    }
    /*  adjust behavior for small devices */
    .contribution img {
        float: left;
        height: auto;
        margin-right: 15px;
    }
    /* sets up the grid for boxes */
    .testimonial {
        display: grid;
        grid-template-columns: 1fr;
        grid-row-gap: 15px;
    }
    /* colors boxes in grid light gray */
    .testimonial-content {
        background-color: #eeeeee;
    }
    /* styles the paragtraphs in the grid */
    .testimonial-content p {
        padding: 0 20px 10px 20px;
        font-size: 20px;
        line-height: 22px;
        text-align: left;
    }
    /* these two tweak the margin so name is closer to text */
    .testimonial-content p:nth-child(1) {
        margin-bottom: 0;
    }

    .testimonial-content p:nth-child(2) {
        margin-top: 0;
    }

    .contribution.double-double img {
        float: none;
        vertical-align: middle;
        width: 35%;
        height: auto;
        margin-right: 15px;
        margin-bottom: 15px;
    }
    /*.contribution.double-double img {
    float: left;
    width: 100%;
    height: auto;
    margin-right: 0;
    margin-bottom: 15px;
}*/
    #copyright {
        font-size: 13px;
        line-height: 25px;
        color: #333;
        clear: left;
        float: none;
        width: 300px;
        margin-top: 30px;
        margin-left: auto;
        margin-right: auto;
        display: block;
        text-align: center;
    }
    #footer ul {
        list-style-type: none;
        margin: 0px;
        padding: 0px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    #footer li {
        list-style-type: none;
        margin-top: 8px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        padding: 0px 10px 0 10px;
        float: none;
    }
    .contribution.double-double h2 {
        clear: left;
    }
}

/*  styles for smaller screens than 600px */

/*  styles for smaller screens than 600px */

/*  styles for smaller screens than 600px */

@media (max-width: 600px) {
    .theater-mode {
        height: 500px;
        width: 100%;
    }
    textarea,
    input.text,
    input[type="text"],
    input[type="button"],
    input[type="submit"],
    .input-checkbox {
        -webkit-appearance: none;
        border-radius: 0;
    }

    .login .bttn,
    .login .cncl {
        font-size: 12px;
        /*width: 120px;*/
        margin-top: 25px;
        margin-right: 20px;
        margin-left: 20px;
        padding: 6px 24px 6px 24px;
    }

    .general.split {
        max-width: 75%;
        text-align: left;
        padding-left: 10%;
        padding-right: 5%;
    }
    .general.split table  {
        max-width: 100%;
    }
    .general.split p {
        max-width: 100%;
    }
    .general.split span {
        max-width: 100%;
    } 
    .general.half {
        padding-left: 5%;
        padding-right: 5%;
    }
    div#m_panelSlideshowNav {
        display:none;
    }
    div#m_panelIndexCount {
        display:none;
    }
    .middle {
        padding: 2%;
        width: 96%;
    }
    .center-image {
        padding-left: 9%;
    }
    .example-video,
    .wrapper {
        width: 100%;
    }
}

@media (max-width: 400px) {
    .small-font {
        font-size: 11px;
    }
}
