/*
* Skeleton V1.1
* Copyright 2011, Dave Gamache
* www.getskeleton.com
* Free to use under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
* 8/17/2011
*/

/* Table of Content
==================================================
    #Site Styles
    #Page Styles
    #Media Queries
    #Font-Face */

/* #Site Styles
================================================== */

/* #Page Styles
================================================== */

/* #Media Queries
================================================== */

/* Large Desktop */

@media only screen and (min-width: 1200px) {
    #productDetails .contactButton {
        margin-right: 20px;
    }

    #productDetails .listingInfo {
        margin-left: 20px;
        margin-right: 0px;
    }

    #productDetails .listing_contact_row.full-width .listingInfo {
        margin-right: 20px;
    }

    #productDetails .listing_contact_row:not(.full-width) .socialLinks,
    #productDetails .listing_contact_row:not(.full-width) .exportReady {
        margin-left: 20px;
    }
}

@media only screen and (min-width: 1024px) {
    .listing_contact_row.full-width {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
    }
}

/* Tablet Portrait size to standard 960 (devices and browsers) */

@media only screen and (min-width: 768px) and (max-width: 1023px) {

    #header a.logo {
        margin: 10px 0px 10px 0px;
        height: 42px;
        width: 350px;
        float: left;
        position: relative;
        background-size: 350px 42px;
    }

    #mainNav li a {
        padding: 11px 9px;
    }

    #mainNav .mega_menu .right_col {
        max-height: 80vh;
        overflow-y: auto;
    }

    .jcarousel-container-horizontal {
        width: 446px;
        padding: 12px 23px;
    }

    .jcarousel-clip-horizontal {
        width: 444px;
    }

    /* CATEGORY LIST STYLES */
    #categoryList .jcarousel-container-horizontal {
        width: 492px;
        padding: 12px 30px;
    }

    #content #categoryList #rotatingBanner li {
        margin: 0 38px 0 0;
    }

    #content #categoryList .jcarousel-clip-horizontal {
        width: 492px;
    }

    #content .browseCategory.thumbs li {
        width: calc(100%/3 - 20px);
    }
    /* END CATEGORY LIST STYLES */

    #categoryPage .productList h3 {
        clear: both;
    }

    #categoryPage .productList p,
    #categoryPage .productList h3,
    #categoryPage .productList h4,
    #categoryPage .productList .viewMoreLink {
        margin-left: 0px;
    }

    #homePage #categorySearch select {
        width: 185px;
    }

    .featuredHomeProducts .smallBanner img {
        width: 100%;
    }

    #newsLetter .newsInput {
        width: 165px;
    }

    #productDetails .form_content_wrapper {
        padding: 10px;
    }

    .addthis_toolbox_product {
        right: 0px;
        top: -5px;
    }

    .backList {
        left: 450px;
    }

    #listingPage #content #tabs > ul > li {
        margin: 0px -1px 0 0px;
    }

    #listingPage #tabs .ui-tabs,
    #tabs .ui-tabs-nav li a {
        padding: 6px 5px !important;
    }

    #categorySearch select {
        width: 115px;
    }

    #footer > div {
        background-size: 220px 20px;
    }

    iframe {
        max-width: 550px;
    }

    #salesBanner {}

    .videoContainer iframe {
        width: 100%;
    }

    /* HOMPAGE BANNER STYLES */
    #homeBanner {
        /*height: 239px;*/
    }

    .social {
        display: none;
    }
}


/* All Tablet & Desktop Sizes (devices and browser) */

@media only screen and (min-width: 768px) {

    #headerFill.sticky {
        display: block;
    }

    #headerWrapper.sticky {
        position: fixed;
        top: -83px;
        width: 100%;
        z-index: 10;
    }

    /* Hide the extra slides while flexslider is still loading */
    #salesBanner ul.slides li + li { display: none; }
    #salesBanner .flex-viewport ul.slides li + li { display: block; }

    #sidebar {
        margin-top: -11px;
    }

    #sidebar > div {
        padding: 10px;
        background-color: #ffffff;
        position: relative;
        left: 10px;
        box-sizing: border-box;
    }

    #sidebar > div:before,
    #sidebar > div:after {
        content: '';
        position: absolute;
        top: 0;
        width: 0;
        height: 0;
        border-style: solid;
    }

    #sidebar > div:before {
        left: 0;
        border-width: 4px 4px 0 0;
        border-color: #ebeced transparent transparent;
    }

    #sidebar > div:after {
        right: 0;
        border-width: 0 9px 9px 0;
        border-color: transparent #ebeced transparent
    }

    #productDetails .additional-question .button {
        margin-top: 10px;
    }

    #productDetails .exportReady {
        margin-left: 10px;
    }
}


/* All Mobile Sizes (devices and browser) */

@media only screen and (max-width: 767px) {
    .contentBGWrapper {
        display: none;
    }

    #homePage #menu_mobile {}

    .grid_8.homeSidebar {
        margin-top: 67px;
    }

    .form_label {
        width: auto;
        padding: 0;
    }

    .form_required {
        width: 5%;
        padding: 0 0 0 5px;
    }

    .form_field {
        width: 100%;
        float: none;
        margin-top: 0;
    }

    .videoContainer iframe {
        width: 100%;
    }

    .fancy-form-input,
    .inner_form_fields {
        width: 100% !important;
    }

    /* Category Listings */
    #content .browseCategory.thumbs li {
        width: calc(100%/2 - 20px);
    }

    /* Product View */
    .product_view_columns {
        flex-wrap: wrap;
    }
}


/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */

@media only screen and (min-width: 480px) and (max-width: 767px) {

    #homePage .contentHeader,
    .contentHeader {
        /*background-position:left 45px;*/
    }

    #loginSearch {
        height: 36px;
    }

    #account {
        line-height: 14px;
        padding: 5px 0 0;
        float: left;
    }

    #googleSearch {
        width: 183px;
        margin-right: 0px;
    }

    #googleSearch > form > div {
        width: 100px;
        /*background: url(/images/backgrounds/google-search-tablet-bg.png) 0 0 no-repeat;*/
    }

    #googleSearch input[type="text"] {
        width: 89px;
    }

    .jcarousel-container-horizontal {
        width: 292px;
        padding: 12px 53px;
    }

    .jcarousel-clip-horizontal {
        width: 292px;
    }

    .jcarousel-next {
        right: 15px;
    }

    .jcarousel-prev {
        left: 15px;
    }

    /* CATEGORY LIST STYLES */
    #categoryList .jcarousel-container-horizontal {
        width: 318px;
        padding: 12px 40px;
    }

    #content #categoryList #rotatingBanner li {
        margin: 0 38px 0 0;
    }

    #content #categoryList .jcarousel-clip-horizontal {
        width: 318px;
    }

    /* END CATEGORY LIST STYLES */
    #categorySearch h3 {
        display: none;
    }

    #copy.inner {
        padding: 0px;
    }

    .productListImage img {
        width: 200px;
    }

    .productList .productListImage {
        margin: 0 20px 10px 0;
    }

    #categoryPage .productList p,
    #categoryPage .productList h3,
    #categoryPage .productList h4,
    #categoryPage .productList .viewMoreLink {
        margin-left: 0px;
    }

    #listingPage #content #tabs > ul > li {
        /*margin: 0px 2px 0 0px;*/
    }

    #listingPage #tabs .ui-tabs,
    #listingPage #tabs .ui-tabs-nav li a {
        padding: 6px 5px !important;
    }

    #listingPage #content #tabs > ul {
        padding-top: 0px;
    }

    #listingPage #content #tabs > ul > li {
        display: block;
        /*width: 99%;*/
    }

    #listingPage #tabs .ui-tabs,
    #listingPage #tabs .ui-tabs-nav li {
        top: 0px;
    }

    #listingPage #tabs .ui-tabs-selected,
    #listingPage #tabs .ui-state-active,
    #listingPage #tabs .ui-state-default {
        border-bottom: none !important;
    }

    #footer {
        padding-bottom: 10px;
    }

    #footer > div {
        background: none;
    }

    #footer ul {
        margin: 15px 0;
    }

    #footerDetails .right {
        text-align: left;
    }

    #footerDetails p {
        text-align: left;
    }

    #homePage #categorySearch select,
    #categoriesPage #categorySearch select,
    #categoryPage #categorySearch select,
    #listingPage #categorySearch select {
        -webkit-appearance: none;
        margin-bottom: 2px;
        height: 30px !important;
        line-height: 18px;
        position: relative;
        width: 100% !important;
        color: #FFF;
        font-size: 15px;
        font-weight: bold;
        padding: 4px 15px;
        border-radius: 4px;
        border: 1px solid #2988c2;
        background: url(/images/backgrounds/white-arrow.png) right 6px no-repeat #27aedf;
        /*
        background-image   : linear-gradient(bottom, rgb(39, 174, 223) 0%, rgb(41, 139, 195) 100%);
        background-image   : -o-linear-gradient(bottom, rgb(39, 174, 223) 0%, rgb(41, 139, 195) 100%);
        background-image   : -moz-linear-gradient(bottom, rgb(39, 174, 223) 0%, rgb(41, 139, 195) 100%);
        background-image   : -webkit-linear-gradient(bottom, rgb(39, 174, 223) 0%, rgb(41, 139, 195) 100%);
        background-image   : -ms-linear-gradient(bottom, rgb(39, 174, 223) 0%, rgb(41, 139, 195) 100%);
        background-image   : -webkit-gradient(linear, left bottom, left top, color-stop(0, rgb(39, 174, 223)), color-stop(1, rgb(41, 139, 195)));
        */
    }

    iframe {
        max-width: 400px;
    }

    #salesBanner {
        height: auto;
    }

    #categorySearch {
        display: none;
    }
}


/* All Mobile Sizes (devices and browser) */

@media only screen and (max-width: 767px) {
    #homeBanner .flex-control-paging {
        position: absolute;
        left: 10px;
        bottom: 5px;
    }

    #header {
        height: auto;
        padding-bottom: 45px;
    }

    #header a.logo {
        height: auto;
    }

    /* FONTS */
    h1 {
        font-size: 20px;
        line-height: 28px;
        margin-bottom: 10px;
    }

    h2 {
        font-size: 18px;
        line-height: 24px;
    }

    h3 {
        font-size: 16px;
        line-height: 22px;
    }

    /* LAYOUT */
    #homePage .contentHeader,
    .contentHeader {
        background: #fff !important;
    }

    #header .inner {
        padding-left: 0px;
        padding-right: 0px;
    }

    .nav_right .social {
        padding-right: 0;
    }

    .nav_right .social li a {
        padding: 0 8px;
    }

    #header .search_trigger {
        width: 44px;
        padding-left: 10px;
        padding-right: 10px;
    }

    #googleSearch {
        right: 42px;
    }

    .topBanner {
        position: absolute;
        margin-top: 50px;
    }

    #mainNav {
        display: none;
    }

    #categorySearch {
        /*margin-top: 67px;*/
    }

    .homeStickyContainer {
        display: none;
    }

    #copy {
        padding-top: 74px !important;
    }

    body.home_page #content {
        padding-top: 100px !important;
    }

    #homePage #copy {
        padding-top: 0px !important;
    }

    body.product_view #copy {
        padding-top: 5px !important;
    }

    #homePage #categorySearch select,
    #categoriesPage #categorySearch select,
    #categoryPage #categorySearch select,
    #listingPage #categorySearch select {
        width: 100% !important;
    }

    #content {
        padding-top: 6px;
    }

    #homePage .contentHeader,
    .contentHeader {
        background-position: left 34px;
    }

    .nav_right {
        height: 40px;
    }

    #googleSearch > form {
        height: 36px;
    }

    #homePage h1,
    #homePage #copy > p,
    .homeNews img,
    #categoryPage #copy > p {
        display: none;
    }

    .displaying {
        display: none !important;
        margin-bottom: 5px !important;
    }

    #categorySearch,
    .homeNews > div,
    .homeNews > div p {
        margin-bottom: 0px !important;
    }

    .homeNews h2 {}

    .homeNews.omega p {
        margin-bottom: 10px !important;
    }

    #account {
        display: none;
    }

    #loginSearch {
        margin-top: -37px;
    }

    #navigation #menu_mobile {
        width: 125px !important;
    }

    #googleSearch {

    }

    .smallBanner img {
        max-width: 100%;
        max-height: 100%;
        height: auto;
    }

    .controlsHome {
        margin-bottom: 0px;
    }

    .homeTabs {
        margin-top: 15px;
    }

    #footerTagWrapper {
        display: none;
    }

    #footerDetails p {
        font-size: 10px;
        line-height: 14px;
    }

    #categoryPage #categorySearch select,
    #listingPage #categorySearch select {
        margin-bottom: 10px !important;
    }

    /* PRODUCT VIEW */
    #listingPage h1 {
        margin-bottom: 5px !important;
    }

    .ui-tabs .ui-tabs-panel {
        padding: 1em 1em !important;
    }

    #content #tabs > ul {
        padding-top: 0px;
    }

    #listingPage #content #tabs > ul > li {
        width: 100%;
        border: none;
    }

    #listingPage #content #tabs > ul > li {
        margin: 0px 0px 0 0px;
    }

    .ui-corner-all,
    .ui-corner-top,
    .ui-corner-right,
    .ui-corner-tr {
        border-radius: 0px !important;
    }

    body.product_view #headerBanner {
        display: none;
    }

    .product_view_columns .product_content {
        display: flex;
        flex-direction: column;
    }

    .product_view_columns .product_content #productDetails {
        order: 999;
    }

    #productDetails .additional-question {
        position: relative;
        padding-bottom: 35px;
    }

    #productDetails .additional-question::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 10px;
        width: 100%;
        height: 5px;
        background: transparent url(/images/backgrounds/header-line-bg.gif) 0 0 repeat;
    }

    #productDetails .visitButton {
        margin: 10px auto;
    }

    #productDetails .listingInfoGroup,
    #productDetails .listingInfo {
        width: 100%;
    }

    #productDetails .listingInfo {
        display: flex;
        text-align: left;
    }

    #productDetails .listingInfo span {
        width: 50%;
        min-width: 90px;
        flex-grow: 1;
    }

    #productDetails .listingInfo .label {
        max-width: 130px;
    }

    #productDetails .exportReady img {
        margin-top: 20px;
        width: 100px;
    }

    .form_label,
    .form_required,
    .form_field {
        margin-bottom: 0px;
    }

    #listingPage .grid_16 > hr {
        margin-top: 5px;
        margin-bottom: 5px;
    }

    .PremiumImageStroke {
        margin-bottom: 10px !important;
        box-sizing: border-box;
    }

    .productImages,
    .PremiumImageStroke {
        width: 100%;
    }

    /* BLOG */
    .blogListingThumb {
        display: none;
    }

    .blogListingContainerWImage {
        margin-left: 0px;
    }

    #article-viewPage #copy .pageimageright {
        display: none;
    }

    .blogListingContainerWYoutubeImage {
        margin-left: 0px;
        min-height: 0px;
    }

    #headerBanner {
        position: absolute;
        top: 60px;
    }

    #categorySearch {
        display: none;
    }

    .mobileViewClear {
        display: block !important;
        width: 100% !important;
        ;
    }
}


/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */

@media only screen and (max-width: 479px) {

    #homePage .contentHeader,
    .contentHeader {
        /*background-position:left 45px;*/
    }

    #header a.logo {

    }

    #header .inner {
        padding: 10px 0;
    }

    #headerBanner {
        top: 50px;
    }

    #loginSearch {
        height: 36px;
    }

    #account {
        line-height: 14px;
        padding: 5px 0 0;
        float: left;
    }

    #categorySearch h3 {
        display: none;
    }

    body.home_page #content {
        padding-top: 65px !important
    }

    #copy.inner {
        padding: 0px;
    }

    /* Category Listings */
    #content .browseCategory.thumbs li {
        width: calc(100% - 20px);
    }

    .jcarousel-container-horizontal {
        display: none !important;
    }

    .productList .productListImage {
        margin: 0 0px 10px 0;
    }

    #categoryPage .productList h3 {
        clear: left;
    }

    #categoryPage .productList p,
    #categoryPage .productList h3,
    #categoryPage .productList h4,
    #categoryPage .productList .viewMoreLink {
        margin-left: 0px;
    }

    #listingPage #content #tabs > ul > li {
        /*margin: 0px 2px 0 0px;*/
    }

    #listingPage #tabs .ui-tabs,
    #listingPage #tabs .ui-tabs-nav li a {
        padding: 6px 5px !important;
    }

    #listingPage content #tabs > ul {
        padding-top: 0px;
    }

    #listingPage #content #tabs > ul > li {
        display: block;
        /*width: 99%;*/
    }

    #listingPage #tabs .ui-tabs,
    #listingPage #tabs .ui-tabs-nav li {
        top: 0px;
    }

    #listingPage #tabs .ui-tabs-selected,
    #listingPage #tabs .ui-state-active,
    #listingPage #tabs .ui-state-default {
        border-bottom: none !important;
    }

    #productDetails .additional-question .button {
        margin-top: 10px;
    }

    #footer {
        padding-bottom: 10px;
    }

    #footer > div {
        background: none;
    }

    #footer ul {
        margin: 15px 0;
        column-width: 120px;
        column-gap: 20px;
        column-count: 2;
    }

    #footer li {
        margin: 4px 12px 4px 0;
        line-height: 1.2;
        display: inline-block;
        width: 100%;
    }

    #footerDetails .right {
        text-align: left;
    }

    #footerDetails p {
        text-align: left;
    }

    #homePage #categorySearch select,
    #categoriesPage #categorySearch select,
    #categoryPage #categorySearch select,
    #listingPage #categorySearch select {
        -webkit-appearance: none;
        margin-bottom: 2px;
        height: 30px !important;
        line-height: 18px;
        position: relative;
        width: 100% !important;
        color: #FFF;
        font-size: 15px;
        font-weight: bold;
        padding: 4px 15px;
        border-radius: 4px;
        border: 1px solid #2988c2;
        background: url(/images/backgrounds/white-arrow.png) right 6px no-repeat #27aedf;
        /*background-image   : linear-gradient(bottom, rgb(39, 174, 223) 0%, rgb(41, 139, 195) 100%);
            background-image   : -o-linear-gradient(bottom, rgb(39, 174, 223) 0%, rgb(41, 139, 195) 100%);
            background-image   : -moz-linear-gradient(bottom, rgb(39, 174, 223) 0%, rgb(41, 139, 195) 100%);
            background-image   : -webkit-linear-gradient(bottom, rgb(39, 174, 223) 0%, rgb(41, 139, 195) 100%);
            background-image   : -ms-linear-gradient(bottom, rgb(39, 174, 223) 0%, rgb(41, 139, 195) 100%);
            background-image   : -webkit-gradient(linear, left bottom, left top, color-stop(0, rgb(39, 174, 223)), color-stop(1, rgb(41, 139, 195)));*/
    }

    .topBanner {
        margin-top: 36px;
    }

    #categorySearch {
        /*margin-top: 50px;*/
    }

    #copy {
        padding-top: 54px !important;
    }

    #homePage #copy {
        padding-top: 0px !important;
    }

    iframe {
        max-width: 280px;
    }

    #salesBanner {
        height: auto;
    }

    .featuredHomeProducts .smallBanner {
        margin-bottom: 10px;
    }
}
