@media only screen and (max-width: 960px) {

    #container {
        width: 90%;
    }
    .entry-video {
        width: 80%;
        margin: 20px auto;
    }
}

@media only screen and (max-width: 480px) {

    img{
        max-width: 100% !important;
        height: auto !important;
    }

    #top-sidebar {
        display: none;
    }

    #full-width-optin, #slider-width-optin {
        width: 100%
    }

    ul.ui-tabs-nav,
    #tabbed-posts{
        display: none;
    }

    #container {
        width: 90%;
        margin: 0 5%;
    }

    #header {
        margin-bottom:0.1em;
    }
    #header .logo {
        width: 96%;
        height: auto;
        margin: 0 auto;
    }

    #header .logo img#desktop-logo {
        display: none;
    }
    #header .logo img#alt-logo {
        display: block;
        visibility: visible;
    }

    #header .search {
        float: none;
        width: 94%;
        margin: 0 auto;
    }

    #searchform .searchfield {
        margin-bottom: 1em;
        width: 74%;
    }

    #megaMenu.megaFullWidth {
        width: 100%;
    }

    #content {
        width: 100%;
    }

    .home #content {
        margin-top: 0.3em;
    }

    #featured-cats {
        padding-top: 0;
    }

    .feat-cat {
        margin-bottom: 1em;
    }

    .home #content h1:first-of-type {
        font-size: 1.7em;
        margin: 0 0 0.2em 0;
    }

    .thumb-wrap {
        width: 100%;
    }

    .main-post .thumb img {
        width: 100%;
        height: auto;
    }

    #footer-optin {
        left: 0;
        width: 100%;
        padding: 0.3em 0.5em;
    }

    #footer #footer-social {
        position: static;
        width: 100%;
    }

    #footer .footer-widgets {
        position: static;
        width: 100%;
    }

    #footer .footer-links {
        padding: 1em 0;
    }

    #footer .footer-links p {
        font-size: 1em;
        line-height: 1.3em;
    }

    #right-sidebar {
        float: none;
        margin: 0 auto;
    }

    #products-slider {
        width: 100%;
    }
    #products-slider #product-carousel-container {
        width: 80%;
    }

    #products-slider .left-arrow {
        left: 0;
    }

    #products-slider .right-arrow {
        left: 90%;
    }

    #right-optin {
        display: none;
    }
    #responsive-right-optin {
        display: inline-block;
        margin: 0 auto 30px;
        height: 390px;
        width: 100%;
    }

    #responsive-right-optin form#sidebar-optin {
        width: 80%;
        margin: 0 auto;
        position: relative;
    }

    #responsive-right-optin form .inputs {
        position: absolute;
        top:280px;
        left: 35px;
    }

    .archive h1{
        text-align: center;
    }

    .success-story-box {
        width: 90%;
    }

    .success-story-box img {
        margin: 0;
    }

    .testimonial-more {
        height: 4em;
    }

    .testimonial-content {
        width: 80%;
    }

    .page-header .category-box {
        width: 100%;
    }

    .page-header .category-box img {
        width: 90%;
    }
    .page-header .category-box h5 {
        width: 90%;
    }

    .page-header .category-box a.btn {
        padding: 0.5em 1em;
        font-size: 2em;
    }

    .category .featured-post-thumb {
        width: 46%;
    }

    .optimized #content {
        width: 100%;
    }

    .optimized .post .entry-content {
        padding: 0;
    }

    .single-vdf_video_posts #logo {
        height: 100px;
    }

    .single-vdf_video_posts #content {
        width: 90%;
    }

    .single-vdf_video_posts h1 {
        font-size: 20px !important;
        margin: 0;
    }

    .single-vdf_video_posts .entry-video {
        width: 100%;
        margin: 20px 0;
    }

    .single-vdf_video_posts .cta-btn a {
        width: 90%;
        font-size: 17px;
    }

    .single-vdf_video_posts .entry-content p,
    .single-vdf_video_posts .entry-content div,
    .single-vdf_video_posts .entry-content li {
        font-size: 17px;
    }

    .single-vdf_video_posts .post-content {
        width: 100%;
    }

    .single-vdf_video_posts .post-related {
        width: 100%;
    }

    .single-vdf_video_posts .footer-links {
        font-size: 12px;
        padding-left: 25px;
        padding-right: 25px;
    }

    .single-vdf_video_posts #footer .footer-link {
        padding-right: 15px;
        padding-left: 15px;
    }
}