/*-  MEDIA QUERIES
----------------------------------------------------------------------*/

/* FOR CONVERTING PX to % USE TARGET / CONTEXT = SIZE */

@media screen and (max-width: 1000px) {
    header,
    footer {
        /*min-width: 650px !important;*/
    }
    body {
        overflow-x: hidden;
        padding: 0;
        /*min-width: 620px; */
    }
    header .logo {
        margin-top: 0;
    }
    .internal .primary {
        clear: none;
        border-top: 0px solid #ccc!important;
        width: 78%
    }
    .home .primary {
        width: 100%;
    }
    .module {
        /*padding: 2em;*/
    }
    .layout-full-width .internal .primary {
        width: 76.5%;
        float: left;
        min-width: 70%
    }
    .search-results .internal .primary {
        width: auto;
    }
    .search-results .internal .submenu {
        width: 100%;
    }
    .search-results .breadcrumbs {
        margin-left: 0;
    }
    .search-results nav.submenu .category {
        display: inline-block;
        border-bottom: none;
    }
    #page {
        height: auto;
        padding: 0 0.2em;
        min-width: 690px;
    }
    .secondary {
        float: right;
        width: 100%;
    }
    .secondary iframe {
        width: 100%;
    }
    .secondary:first-child {
        float: right;
        width: 20%;
    }
    h1 {
        font-size: 1.4em;
    }
    h2 {
        font-size: 1.2em !important;
    }
    .internal .submenu {
        clear: left;
        width: 18%;
    }
    /* HEADER */
    header nav li a {
        font-size: 1.2em;
        padding: 10px 10px 0;
    }
    .home header {
        height: 140px;
        height: auto;
    }
    .home header .header-search {
        margin-top: -5.5em;
        padding: 0;
    }
    header .header-search {
        margin-top: 0em;
        padding: 0px 10px 0px 0px !important;
    }
    .section-dynamic header .header-search {
        padding: 0px 10px 0px 0px !important;
    }
    header .header-search input {
        margin-bottom: 0;
    }
    .home header .header-search form {
        padding: 0;
        float: right;
    }
    .home header .header-search input {
        margin-bottom: 0;
    }
    .home header .header-search a {
        float: right;
        clear: both;
        /*margin-right: 3em;*/
        font-size: 0.86em;
        color: #666666;
    }
    header .header-search a {
        float: right;
        clear: both;
        margin-right: 3em;
        font-size: 0.86em;
        color: #666666;
    }
    .home .header-widget {
        margin-top: 0em;
        float: left;
        margin-left: 0;
        height: 26px;
        display: inline-block;
        clear: left;
    }
    header .header-widget {
        margin-top: 0;
        float: left;
        margin-left: 0;
        height: 26px;
        display: inline-block;
        clear: left;
    }
    .home .header-widget span {
        display: block;
        /* padding-bottom: 20px; */
        float: none;
    }
    header .header-widget span {
        margin-right: 0;
    }
    .home header .header-search button {} header .inner {
                                              margin: 0 auto;
                                              max-width: 980px;
                                              width: auto;
                                          }
    header nav.inner {
        clear: both;
    }
    .advertisement-leaderboard {
        display: none!important;
    }
    .lt-ie8 .primary {
        width: 69%
    }
    /* QUICK LINKS */
    .modules .module {
        min-width: 240px;
        width: 48.5%;
    }
    .modules .module h2 {
        margin: 0;
    }
    .modules iframe {
        width: 100%;
        /*overflow: hidden; */
    }
    .module.quick-links ul.multiColumn li {
        width: 45.805%;
    }
    .module.quick-links ul.multiColumn li:last-child {
        border-bottom: 0px solid #fff;
    }
    .modules .module-market,
    .modules .module-index-widget-announcements {} .user-access-primary,
                                                   .secondary .user-access {
                                                       display: none;
                                                   }
    .user-access-secondary {
        clear: both;
        display: inline-block;
        border-radius: 4px;
        text-align: center;
        height: auto;
        margin-bottom: 0;
        height: 30px;
        padding: 0;
        float: right;
        font-size: 0.9em;
        min-width: 332px;
        margin-top: -2.6em;
    }
    .section-dynamic .user-access-secondary {
        margin-top: -3.6em;
    }
    .user-access-secondary a.register {
        width: 40%;
    }
    .user-access-secondary a.log-in {
        display: inline-block;
        text-align: center;
        padding-right: 15px;
    }
    .user-access-secondary-logout {
        display: block;
        width: 160px;
        float: right;
    }
    .user-access-secondary-logout a {
        color: #FFF;
        display: block;
        text-align: center;
    }
    #valuecore {
        margin: 10px auto 0px auto;
        width: 646px;
    }
    /* FOOTER */
    .m-footer {
        width: 100%;
    }
    .m-footer .inner,
    .global-footer .inner {
        margin-right: auto;
        margin-left: auto;
    }
    .m-footer .inner,
    .global-footer .inner {
        width: auto;
    }
    .layout-three-column .secondary .myasx-status {
        display: none !important;
    }
    .advertisement-m-rec {
        width: 300px;
        margin: 0px auto;
    }

    /* Hide ads*/
    aside.right .advertising {
        display: none !important;
    }

    /* Hide Quick links */
    aside.right .quick-links {
        display: none !important;
    }
}

@media screen and (min-width: 600px)
and (max-width: 750px)
and (orientation: landscape){
    header div.status iframe#market-status {
        width: 92%;
    }

    .section-dynamic header .header-search {
        margin-top: 0px;
    }
}

@media screen and (max-width: 750px) {
    /* HEADER */
    header .inner {
        width: auto;
    }
    header .logo {
        width: 25%;
        margin-top: 0;
    }
    header .header-widget {
        margin-top: 0;
        font-size: 1em;
    }
    .home header .header-search {
        /*margin-top: 0px;*/
        padding: 0;
    }
    header .header-search {
        margin-top: 0;
        padding: 0;
    }
    .home header .header-search form {
        width: 100%;
        float: right;
    }
    .section-dynamic header .header-search {
        /*margin-top: 90px;*/
        padding: 0;
    }
    header .header-search input {
        margin-bottom: 0.2em;
    }
    header .header-search a {
        float: right;
        clear: both;
        margin-right: 3em;
        font-size: 0.86em;
        color: #666666;
    }
    .user-access-secondary {
        width: auto;
        max-width: 300px;
        margin-top: -2.2em
    }
    /* NAV */
    nav a .text {
        display: none;
    }
    header nav li a {
        font-size: 1em;
        padding: 10px 10px 0;
    }
    #page {
        width: auto;
    }
    header nav li.home a,
    header nav li.home.selected a {
        width: 40px;
        padding: 0;
        background-position: 7px -14px;
    }
    /* MODULES */
    .infiniteCarousel_item {
        height: auto !important;
    }
    .ic_caption {
        font-size: 1em !important;
        line-height: 0.8em!important;
    }
    /* QUICK LINKS */
    .module.quick-links ul.multiColumn li {
        padding: 6px 0 6px 5px;
        width: 29%;
        margin: 0 15px 0 10px;
    }
    .module.quick-links ul.multiColumn li:last-child {
        border-bottom: 1px solid #fff;
    }
    /* FOOTER */
    .m-footer .inner,
    .global-footer .inner {
        width: auto;
    }
    .m-footer .inner .col {
        width: 16%;
    }
    .m-footer .inner .col.last {
        background: none;
        clear: both;
        width: 100%;
        padding: 0 0 20px 0;
    }
    .m-footer .inner h4 {
        width: 95%;
        font-size: 0.9em;
    }
    .m-footer .inner .col.last ul,
    .m-footer .inner .col.last ul li,
    .m-footer .inner .col.last ul.share-via {
        width: auto;
        display: inline;
    }
    .m-footer .inner .col.last ul li a {
        display: inline;
        padding: 5px 12px 12px 27px;
    }
    .m-footer .inner ul li a {
        background: none;
        padding: 0 0 7px 0;
    }
    .m-footer .inner .col.last h4,
    .m-footer .inner .col.last h4.social-share {
        display: inline;
        display: inline-block;
        width: 16%;
        min-height: auto;
        margin: 20px 0 0 0;
    }
    .lt-ie8 .m-footer .inner .col.last h4,
    .lt-ie8 .m-footer .inner .col.last h4.social-share {
        display: inline;
    }
    .global-footer .marketing {
        border-bottom: 1px solid #E5E5E5;
        border-left: none;
        float: left;
        padding: 0 0 15px 0;
        width: 100%;
    }
    .global-footer .details,
    .lt-ie8 .global-footer .details {
        float: left;
        width: 100%;
        padding: 15px 0 15px 0;
    }
    .page-3682 form#command,
    .page-3682 .blurb {
        width: 100%;
    }
    .layout-three-column .secondary {
        display: none !important;
    }
}
@media screen and (max-width: 630px) {
    .home header .header-search {
        margin-top: 16px !important;
        padding: 0px !important;
        position: relative;
        z-index: 1;
    }
}
@media all and (device-width: 768px) and (device-height: 1024px) {
    .scrollable-container {
        overflow: scroll !important;
        -webkit-overflow-scrolling: touch !important;
        height: 219px !important;
        max-height: 219px !important;
    }
    .homepagewidgets-scrollable-container {
        overflow: scroll !important;
        -webkit-overflow-scrolling: touch !important;
        height: 219px !important;
        max-height: 219px !important;
        clear: both;
    }
}
@media all and (device-width: 360px) and (device-height: 640px) {
    header,
    .inner,
    #page,
    .primary,
    .secondary {
        /*min-width: 700px !important;*/
    }
}
@media only screen
and (min-width : 631px)
and (max-width :1000px) {

    body.home header section.info {
        margin-top: 50px;
    }

    .home header .header-search {
        margin-top: 0px;
    }
}