@media screen and (max-width: 980px) {
    .grid,.grid-right {
        display:block;
        float: none;
        width: 100%;
        margin-right: 0
    }
    #container {
        width: unset !important;
    }
    .copyright,.powered,.scroll-top {
        float: left
    }

    #logo {
        float: none;
        margin: 0;
        text-align: center
    }

    #featured-image .fluid-width-video-wrapper {
        margin: 20px 0 0 0
    }

    .front-page #widgets {
        margin-top: 40px
    }

    .front-page .top-widget,.top-widget {
        margin-top: 0!important
    }

    .hide-desktop {
        display: block
    }

    .show-desktop {
        display: none
    }

    .hide-980 {
        display: none
    }

    .show-980 {
        display: block
    }

    .full-width-no-box #testimonial_div .section_title {
        padding-top: 17px
    }

    #about_div .section_title::after {
        margin: 0 auto;
        top: 40px
    }

    #about_div .section_title {
        text-align: center
    }

    #about_div .about-content {
        text-align: center
    }

    #about_div .about_cta {
        margin-top: 0
    }

    .contact_div .contact_right {
        margin-left: 0
    }

    .contact_right p {
        margin: 0
    }

    .contact_div .contact_left,.contact_div .contact_right {
        text-align: center
    }

    .footer-menu {
        padding-left: 20px;
        padding-right: 20px
    }

    .powered {
        text-align: left;
        padding-left: 20px
    }

    .copyright {
        padding-left: 20px
    }
}

@media screen and (max-width: 650px) {
    #logo {
        float:none;
        margin: 0;
        text-align: center
    }

    .grid,.grid-right {
        float: none
    }

    #featured-image .fluid-width-video-wrapper {
        margin: 20px 0 0 0
    }

    .top-widget {
        float: none;
        margin: 0 auto 10px auto;
        position: relative;
        text-align: center;
        width: auto
    }

    .top-widget .widget-title h3 {
        text-align: center
    }

    .js .sub-header-menu {
        display: none
    }

    .js .main-nav {
        position: relative;
        background-color: #585858;
        background-image: -webkit-gradient(linear,left top,left bottom,from(#585858),to(#3d3d3d));
        background-image: -webkit-linear-gradient(top,#585858,#3d3d3d);
        background-image: -moz-linear-gradient(top,#585858,#3d3d3d);
        background-image: -ms-linear-gradient(top,#585858,#3d3d3d);
        background-image: -o-linear-gradient(top,#585858,#3d3d3d);
        background-image: linear-gradient(to top,#585858,#3d3d3d);
        clear: both;
        margin: 0 auto
    }

    #about_div .about_text {
        padding: 0 20px 0 20px
    }

    #about_div .about_cta {
        margin-top: 0
    }

    #about_div .section_title {
        padding-left: 20px
    }

    .footer-menu li,.top-menu {
        float: none;
        font-size: 11px;
        text-align: center
    }

    #author-meta {
        padding: 20px
    }

    #wrapper .gallery .gallery-item {
        max-width: 100%
    }

    .hide-650 {
        display: none
    }

    .show-650 {
        display: block
    }

    .hide-mobile {
        display: none
    }

    #footer {
        text-align: center
    }

    #footer .social-icons {
        padding-bottom: 10px;
        padding-top: 10px;
        text-align: center
    }

    .powered {
        text-align: center;
        padding: 0
    }

    .copyright {
        text-align: center;
        padding: 0
    }
}

@media screen and (max-width: 480px) {
    #logo {
        float:none;
        text-align: center
    }

    .grid,.grid-right {
        float: none
    }

    #featured-image .fluid-width-video-wrapper {
        margin: 20px 0 0 0
    }

    .featured-title {
        font-size: 40px;
        padding: 40px 20px 0 20px
    }

    .featured-subtitle {
        font-size: 24px
    }

    .navigation .next,.navigation .previous {
        display: block;
        margin: 0 auto;
        text-align: center
    }

    .footer-menu li,.menu li,.menu ul,.sub-header-menu li,.top-menu {
        float: none;
        text-align: center
    }

    #wrapper .gallery .gallery-item {
        float: none
    }

    .hide-480 {
        display: none
    }

    .show-480 {
        display: block
    }

    #footer {
        text-align: center
    }

    #footer .social-icons {
        text-align: center
    }
}

@media screen and (max-width: 320px) {
    #about_div .about_text,#featured p {
        font-size:12px;
        line-height: 1.5em
    }

    .testimonial_main_text {
        font-size: 12px;
        line-height: 1.5em
    }

    .featured-title {
        font-size: 35px
    }

    .featured-subtitle {
        font-size: 15px
    }

    .about-content a,.call-to-action a.button {
        font-size: 14px;
        padding: 7px 17px
    }

    .hide-320 {
        display: none
    }

    .show-320 {
        display: block
    }
}

@media screen and (max-width: 240px) {
    #featured p {
        font-size:11px;
        line-height: 1.5em
    }

    .featured-title {
        font-size: 20px
    }

    .featured-subtitle {
        font-size: 11px
    }

    .call-to-action a.button {
        font-size: 12px;
        padding: 5px 15px
    }

    .top-widget area,.top-widget input[type=email],.top-widget input[type=password],.top-widget input[type=text],.top-widget select,.top-widget textarea {
        width: 75%
    }

    .widget-title h3,.widget-title-home h3 {
        font-size: 14px;
        height: 13px;
        line-height: 13px;
        text-align: left
    }

    .hide-240 {
        display: none
    }

    .show-240 {
        display: block
    }
}
