/*
 * Responsive
 */

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

    /* Sidebar */
    .content-wrapper .sidebar-gap-filler {
        width: calc(50% - 545px);
    }
}

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

    /*
     * Header
     */
    .header-top .site-logo {
        padding: 10px 20px;
    }

    .header-top .header-top-area .header-item {
        padding: 0 20px;
    }

    ul.menu li a {
        font-size: 18px;
    }

    /* Navigation */
    .site-nav ul li {
        margin-left: 15px;
    }

    /* Sidebar */
    .content-wrapper .sidebar-gap-filler {
        width: calc(50% - 350px);
    }

    /* Homepage */
    .home .content-wrapper .sidebar {
        width: 300px;
        max-width: 300px;
        min-width: 300px;
        padding-left: 30px;
        padding-right: 30px;
    }

    .home .content-wrapper .sidebar .sidebar-item:first-child {
/*         margin-top: -45px; */
    }
}

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

    /**
     * Header
     */
    /* Header top */
    .header-top .header-top-area .header-item {
        padding: 0 15px;
    }

    .searchform input[type="text"] {
        max-width: 200px;
    }

    /**
     * Bootstrap
     */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /**
     * WooCommerce
     */
    /* Product quotation */
    .product-quotation-details {
        margin-bottom: 30px;
    }

    /* Products grid */
    .products-grid .product .flex-row {
        margin-left: 0;
        margin-right: 0;
    }

    .products-grid .product .flex-row .flex-column {
        padding: 0;
    }

    .products-grid .product .product-image-wrapper::after {
        background: none transparent;
    }

    .product-image-wrapper,
    .woocommerce ul.products-grid li.product .product-image-wrapper {
        min-height: 200px;
    }
}

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

    /**
     * Header
     */
    /* Header top */
    .header-top .site-logo {
        padding: 10px 15px;
    }

    .header-top .header-top-area .header-item.header-top-search,
    .header-top .header-top-area .header-item.header-top-secondary-nav {
        display: none;
    }

    .header-top .mobile-menu-toggle {
        order: 3;
        display: block;
        margin-right: 15px;
    }

    /* Header middle */
    .header-middle .site-nav {
        display: none;
    }

    .header-middle .mobile-menu-toggle {
        margin-left: 15px;
        margin-right: 0;
    }

    .header-middle.sticky .mobile-menu-toggle {
        display: block;
    }

    .header-middle.sticky .mobile-search form {
        display: none;
    }

    .header-middle .mobile-search {
        display: block;
        padding: 10px 15px;
        background: #89c756;
    }

    .header-middle.sticky .mobile-search .header-middle-mobile {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -moz-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-justify-content: center;
        justify-content: center;
    }

    /* Homepage */
    .home .content-wrapper .sidebar {
        display: none;
    }
}

@media screen and (max-width:799px) {
    
    .has-sidebar .banner-bottom {
       font-size: 1.5em
    }

    
    h1 {
        color: #6A6A6A;
    }

    /**
     * Content
     */
    /* Home */
    .home .content-wrapper .main-content {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* WooCommerce */
    .woocommerce .content-wrapper .main-content {
        padding-left: 0;
        padding-right: 0;
    }

    /**
     * WooCommerce
     */
    /* Products grid */
    .woocommerce ul.products-grid,
    .woocommerce ul.products-grid .flex-row,
    .woocommerce ul.products-grid .flex-column {
        display: block;
    }

    .woocommerce ul.products-grid,
    .woocommerce ul.products-grid li.product {
        width: 100%;
        padding: 0;
        display: block;
        margin-left: 0;
        margin-right: 0;
    }

    .woocommerce ul.products-grid li.product {
        float: none;
    }

    /* Single product */
    .product-image {
        text-align: center;
        margin-bottom: 30px;
    }

    .product-image-wrapper {
        display: inline-block;
    }

    .woocommerce div.product div.images img {
        max-height: 200px;
    }

    .product-nav {
        top: 117px
    }

    .single-product .product-description {
        padding: 0;
    }

    .woocommerce div.product .woocommerce-tabs .panel {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Product quotation */
    .product-quotation-details img {
        margin: 0 auto 15px auto;
        max-height: 150px;
    }

    /**
     * Bootstrap
     */
    .col-xs-1,
    .col-sm-1,
    .col-md-1,
    .col-lg-1,
    .col-xs-2,
    .col-sm-2,
    .col-md-2,
    .col-lg-2,
    .col-xs-3,
    .col-sm-3,
    .col-md-3,
    .col-lg-3,
    .col-xs-4,
    .col-sm-4,
    .col-md-4,
    .col-lg-4,
    .col-xs-5,
    .col-sm-5,
    .col-md-5,
    .col-lg-5,
    .col-xs-6,
    .col-sm-6,
    .col-md-6,
    .col-lg-6,
    .col-xs-7,
    .col-sm-7,
    .col-md-7,
    .col-lg-7,
    .col-xs-8,
    .col-sm-8,
    .col-md-8,
    .col-lg-8,
    .col-xs-9,
    .col-sm-9,
    .col-md-9,
    .col-lg-9,
    .col-xs-10,
    .col-sm-10,
    .col-md-10,
    .col-lg-10,
    .col-xs-11,
    .col-sm-11,
    .col-md-11,
    .col-lg-11,
    .col-xs-12,
    .col-sm-12,
    .col-md-12,
    .col-lg-12 {
        max-width: 100%;
    }

    /**
     * Footer
     */
    footer #footer-items .row {
        display: block;
    }

    footer #footer-items .footer-item {
        text-align: center;
    }
}

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

    /**
     * Header
     */
    /* Header bottom */
    .header-bottom {
        display: none;
    }

    /**
     * Page banner
     */
    #page-banner {
        display: block;
        overflow: hidden;
        width: 100%;
    height: 300px;
    max-height: 300px;


    }
    
    #mainvid {
 position: relative !important;
  top: -10px !important; 
  left: 0;
  -webkit-transform: none !important;
  transform: none !important;
  min-width: 100%; 
  min-height: 100%; 
  width: 100vw !important; 
  height: auto;
  z-index: -1000; 
  overflow: hidden;
}

    /**
     * Content
     */
    .content-wrapper .main-content {
        padding: 15px;
    }

    /* Category page */
    .archive .term-description {
        display: none;
    }
}

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

    /**
     * Header
     */
    /* Header top */
    .header-top {
        display: block;
    }

    .header-top .header-top-area {
        height: 120px;
        line-height: 120px;
    }

    .header-top .header-top-area .header-item.header-top-contact a div {
        display: none;
    }

    .header-top .header-top-area .header-item.header-top-contact a {
        padding: 0 10px;
    }

    .header-top .header-top-area .header-item.header-top-contact a i {
        margin-right: 0;
    }

    .header-top .mobile-menu-toggle {
        float: right;
    }

    /**
     * WooCommerce
     */
    /* Single product */
    .single-product .product .summary .quotation-button,
    .single-product .product .summary .add-to-wishlist-button {
        display: block;
        margin-right: 0;
    }
}

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

    /**
     * WooCommerce
     */
    /* Single product */
    .woocommerce div.product .woocommerce-tabs ul.tabs li {
        margin-right: 0;
    }

    /* Pagination */
    .woocommerce nav.woocommerce-pagination ul li a,
    .woocommerce nav.woocommerce-pagination ul li span {
        padding: 10px 8px;
    }
}