/* Media Queries
-------------------------------------------------------------- */


/* Smaller than standard 1200 */

@media only screen and (min-width: 1200px) {
    .category .head-product .product-box .text-content {
        padding: 60px 150px 60px 60px;
    }
    footer .nav-box {
        margin-left: -45px;
    }
}

@media only screen and (max-width: 1366px) and (min-width: 992px) {
    footer .nav-box ul {
        max-width: 120px;
        margin-right: 15px;
    }
    footer .nav-box ul li {
        line-height: 16px;
        padding: 3px 0;
    }
    footer .nav-box ul li a {
        line-height: 16px;
        padding: 3px 0;
    }
    footer .footer-user-menu a {
        font-size: 12px;
    }
    footer .footer-user-menu a i {
        font-size: 30px;
        margin-right: 2px;
    }
}


/* Smaller than standard 1200 */

@media only screen and (max-width: 1199px) {
    .flat-information .flat-information-wrap {
        padding: 30px;
        webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }
    h3 {
        font-size: 30px;
    }
    .brands-row .img-box {
        width: 13vw;
        height: 13vw;
    }
}


/* Smaller than standard 992 */

@media only screen and (max-width: 991px) {
    .sectors .sector-box {
        display: block;
        margin: auto 15px 30px 30px;
    }
    .sectors .sector-box .text-box {
        min-height: auto;
    }
    .sectors .text-left {
        margin-right: 0px;
    }
    .sectors .text-right {
        margin-right: 0px;
    }
    .sectors .text-left .sector-box .text-box {
        margin-bottom: 30px;
    }
    .sectors .text-right .sector-box .text-box {
        margin-top: 30px;
        margin-bottom: 20px;
    }
    .sectors .text-right .img-box img {
        left: 0;
    }
    .sectors .img-box img {
        position: relative!important;
        display: block;
        width: 100%;
        height: auto;
        right: 0;
        top: 0;
    }
    .product-groups-row .container>div {
        margin-bottom: 45px;
    }
    .home-products-row .product-box {
        margin-bottom: 15px;
    }
    ul.languageRight {
        top: 4px;
        margin-right: 70px;
    }
    .header .header-wrap .menu-extra {
        top: 56px;
    }
    .searchArea {}
    .btn-menu {
        display: block;
    }
    h2.head-spot-text,
    h4.head-spot-text {
        margin-top: 0;
        margin-bottom: 30px;
        line-height: 1.5;
    }
    h2.head-spot-text {
        margin-top: 45px;
    }
    .flat-information .flat-information-wrap {
        padding: 40px 15px 30px 15px;
    }
    .featured-images-in-header .header {
        position: relative;
    }
    .featured-images-in-header .header:hover {
        background-color: transparent;
    }
    .featured-images-in-header .page-title,
    .page-title-heading,
    .page-title.parallax7 {
        background-position: 100% !important;
        background-size: 100% auto !important;
        background-position: 0 0 !important;
        background-attachment: scroll !important;
    }
    .page-title .page-title-heading {
        width: 100%;
    }
    .project-single.project-content-right {
        padding-top: 40px;
    }
    .blog .entry .feature-post {
        margin-left: 0;
        position: relative;
    }
    .blog .entry .entry-date {
        position: absolute;
        left: 15px;
        top: 15px;
    }
    .blog .entry .main-post {
        margin-left: 20px;
    }
    .sidebar .widget {
        margin-bottom: 80px;
        position: relative;
    }
    .featured-images-in-header .menu-extra li>a {
        color: #333;
    }
    .switcher-container a.sw-click {
        display: none;
    }
    .page-title .page-title-heading {
        padding: 0 40px;
    }
    .page-title .page-title-heading h1 {
        font-size: 48px;
        padding-top: 20px
    }
    .flat-about .page-title .page-title-heading h1 {
        padding-top: 60px
    }
    h3 {
        font-size: 24px;
    }
    .header .header-wrap .logo {
        position: static;
    }
    .blog.sidebar-right .sidebar {
        padding-left: 0;
    }
    .blog.sidebar-left .sidebar {
        padding-right: 0;
    }
    .blog.blog-single.without-sidebar .post-wrap {
        width: 100%;
    }
    .blog.blog-single.without-sidebar .post-wrap .entry .entry-content img.alignnone {
        margin: 0;
        width: 100%;
    }
    .three-columns .entry {
        width: 50%;
    }
    .four-columns .entry {
        width: 50%;
    }
    .five-columns .entry {
        width: 50%;
    }
    .shop-detail .summary {
        margin-left: 0;
    }
    .shop-detail .images-shop-detail {
        margin-right: 0;
    }
    .flat-divider.d100px {
        height: 60px;
    }
    .flat-divider.d50px {
        height: 25px;
    }
    .featured-images-in-header .page-title {
        padding-top: 100px;
        margin-bottom: 30px;
    }
    .page-title {
        padding-bottom: 60px;
    }
    .sidebar .widget {
        margin-bottom: 50px;
    }
    .woocommerce-content-top {
        text-align: left;
    }
    .shop-detail .summary {
        padding: 0 15px;
    }
    .shop-detail .images-shop-detail-wrap {
        margin-left: -15px;
        margin-right: -15px;
    }
    .flat-row {
        padding: 60px 0 !important;
    }
    .about-gallery .about-gallery-wrap .img-box-gallery {
        width: 16.111111%;
    }
    .flat-client .img-box-client {
        max-width: 32.666667%;
    }
    #mainnav-mobi {
        display: none;
    }
}


/* Tablet Landscape */

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {}


/* Tablet Portrait Size */

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


/* All Mobile Sizes */

@media only screen and (max-width: 767px) {
    .consultancy.project {
        padding-top: 0;
    }
    .project .page-head h1 img {
        width: 80px;
        top: -15px;
        margin-right: 10px;
    }
    .project .page-head h1 {
        font-size: 42px;
    }
    .project .page-head p {
        font-size: 26px;
    }
    .product-properties .text-row {
        flex-direction: column;
        margin: 0;
    }
    .product-properties .text-row:first-child {
        margin-top: 60px;
    }
    .product-properties .text-row .text-wrapper {
        width: 100%;
        margin-bottom: 30px;
    }
    .product-detail-info .nav-tabs {
        margin-left: 30px;
    }
    .product-detail-info .nav-tabs li {
        margin-right: 15px;
    }
    .product-detail-info .nav-tabs>li>a {
        padding: 15px
    }
    section.page-head-3 ul.share {
        left: 50%;
        transform: translateX(-50%);
        width: 174px;
        margin-top: 30px;
        bottom: -35px
    }
    .product-list .product-box {
        display: block;
        padding: 0 30px
    }
    .case-study .gallery .right {
        margin-bottom: 30px;
    }
    .case-study .gallery .right .img-row {
        transform: translateY(0)
    }
    .case-study .spot-row h5 small {
        text-align: center;
    }
    #header .header-wrap {
        margin-bottom: 15px
    }
    .header-top .phone-box {
        display: none;
    }
    .off-canvas {
        display: none;
    }
    .tools-blocks .container {
        flex-direction: column;
    }
    .tools-blocks .container .block {
        margin-bottom: 45px;
    }
    #mainnav>ul>li:last-child {
        display: block;
    }
    .bayiButton {
        border-color: #fff!important;
        color: #fff!important;
    }
    .tech-row .tech-box:first-child {
        border-right: none;
        border-bottom: 1px solid #1e3666;
    }
    .tech-row .tech-box:last-child {
        border-right: none;
    }
    .case-study-row .row {
        display: block;
    }
    .case-study-row .content-box .content {
        padding: 90px 30px;
    }
    .case-study-row .bg-box {
        height: 330px;
    }
    .flat-row {
        padding: 40px 0 !important;
    }
    .project-single .project-content,
    .comment-respond .comment-infor,
    .flat-contact-form .input-wrap-container .input-wrap {
        width: 100%;
    }
    .comment-respond .comment-infor,
    .flat-contact-form .input-wrap-container .input-wrap {
        float: none;
    }
    .comment-respond .comment-infor {
        margin-right: 0;
    }
    .comment-respond .comment-infor {
        padding-right: 0;
    }
    .tp-banner-container .tp-caption.sfr.flat-box_slide.start {
        display: none;
    }
    .flat-about .page-title .page-title-heading h1 {
        padding-top: 40px
    }
    .about-mountain .mountain-content {
        padding-top: 20px;
        webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
        -webkit-column-gap: 0;
        -moz-column-gap: 0;
        column-gap: 0;
    }
    .flat-client .img-box-client {
        max-width: 32.666667%;
    }
    footer .form-box .search-box {
        margin-bottom: 30px;
    }
    footer .footer-user-menu a {
        display: block;
        margin-right: 0;
        margin-bottom: 10px;
    }
    footer .nav-box .nav-wrapper {
        margin-top: 30px;
    }
}

@media only screen and (max-width: 640px) {
    .project ul.content-list li:nth-child(odd) {
        margin-left: 0;
    }
    .project ul.content-list li:nth-child(even) {
        margin-right: 0;
    }
    .project ul.content-list h4 {
        font-size: 6vw;
        line-height: 45px;
    }
    .project ul.content-list h4 span {
        font-size: 9vw;
    }
    .project ul.content-list li:nth-child(odd) h4 span {
        margin-right: 10px;
    }
    .project ul.content-list li:nth-child(even) h4 span {
        margin-left: 10px;
    }
    .consultancy.project h2 {
        font-size: 36px;
    }
    .consultancy.project p {
        font-size: 24px;
    }
    .isotop-grid-4,
    .isotop-grid-8 {
        width: 100%
    }
    .product-detail-info .nav-tabs {
        margin-left: 5px;
        margin-top: -54px;
    }
    .product-detail-info .nav-tabs li:first-child {
        margin-right: 10px;
    }
    .product-detail-info .nav-tabs li:last-child {
        margin-right: 0;
    }
    .product-detail-info .nav-tabs>li>a {
        font-size: 16px;
        padding: 15px 10px
    }
    .brands-row .container {
        display: flex;
        /* or inline-flex */
        flex-wrap: wrap;
        justify-content: center;
    }
    .brands-row .img-box {
        flex-basis: 27%;
        flex-grow: 0;
        flex-shrink: 0;
        width: 20vw;
        height: 26vw;
        margin: 1.5%;
    }
    .widget_instagram .instagram-thumb ul.thumbnails.jr_col_3 li {
        width: 47.5%;
    }
    .two-columns .entry {
        width: 100%;
    }
    .three-columns .entry {
        width: 100%;
    }
    .four-columns .entry {
        width: 100%;
    }
    .five-columns .entry {
        width: 100%;
    }
    .tp-banner-container .tp-banner .caption_slider {
        position: relative;
        visibility: hidden !important;
    }
    .flat-divider.d100px {
        height: 30px;
    }
    .flat-divider.d50px {
        height: 15px;
    }
    .project-single .project-gallery-list .project-item.w2 {
        width: 100%
    }
    .featured-images-in-header .page-title {
        padding-top: 30px;
        margin-bottom: 15px;
    }
    .page-title {
        padding-bottom: 30px;
    }
    .blog .entry {
        margin-bottom: 0;
    }
    .shop-detail .summary {
        width: 100%;
        float: left;
        padding: 0 10px;
    }
    .shop-detail .images-shop-detail-wrap {
        margin-left: -10px;
        margin-right: -10px;
    }
    .flat-about .page-title .page-title-heading h1 {
        padding-top: 30px
    }
}

@media only screen and (max-width: 568px) {
    .breadcrumbs a {
        font-size: 12px;
    }
    .product-price .price {
        font-size: 28px;
    }
    .product-form .button {
        min-width: 100%!important;
    }
    section.page-head-1 h1 {
        font-size: 18vw;
    }
    .page-head-2 h1 {
        font-size: 12vw;
    }
    .page-head-2 h3 {
        font-size: 8vw;
    }
    .register-form form .col-item,
    form .col-item-6,
    form .col-item-4 {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }
    footer .nav-box {
        display: block;
    }
    footer .nav-box .nav-wrapper {
        margin-bottom: 30px;
    }
    .product-groups-row .product-box h4 {
        font-size: 4vw;
    }
    .case-study-row .content-box .content {
        padding-top: 13vw;
        padding-bottom: 13vw;
    }
    .case-study-row .content-box h4 {
        font-size: 12vw;
    }
    .case-study-row .content-box h5 {
        font-size: 11vw;
    }
    .case-study-row .content-box a {
        margin-top: 4vw;
    }
    .page-title .page-title-heading h1 {
        font-size: 24px;
        padding-top: 10px;
    }
    .flat-divider.d100px {
        height: 20px;
    }
    .flat-divider.d50px {
        height: 10px;
    }
    .featured-images-in-header .page-title {
        padding-top: 10px;
        margin-bottom: 10px;
    }
    .page-title {
        padding-top: 40px;
        padding-bottom: 30px;
    }
    .blog .entry {
        margin-bottom: 0;
    }
    .flat-about .page-title .page-title-heading h1 {
        padding-top: 10px
    }
    .flat-row {
        padding: 30px 0 !important;
    }
    .about-gallery .about-gallery-wrap .img-box-gallery {
        width: 33.111111%;
    }
    .flat-client .img-box-client {
        max-width: 49.666667%;
    }
    .case-study-page-row {
        margin-top: 30px;
        padding-bottom: 30px;
        border-bottom: 1px solid #f0f0f0;
    }
    .case-study-page-row .img-box {
        display: flex;
        justify-content: center;
    }
}


/* Mobile Landscape Size */

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


/* Mobile Portrait Size */

@media only screen and (max-width: 479px) {
    .head-spot-text span {
        display: block;
    }
    .project .page-head h1 {
        font-size: 8vw;
    }
    .project .page-head p {
        font-size: 4vw;
    }
    .section.consultancy {
        margin-top: 0;
    }
    .consultancy.project .theme-button {
        font-size: 22px;
    }
}

@media (max-width: 320px) {
    .consultancy.project .theme-button {
        font-size: 17px;
    }
    .flat-divider.d100px {
        height: 10px;
    }
    .woocommerce-content-top .widget.widget_price_filter .price_slider_wrapper {
        overflow: visible;
    }
    .woocommerce-content-top .widget.widget_price_filter .price_slider_wrapper .price_slider {
        top: 50px;
    }
    .woocommerce-content-top .widget.widget_price_filter .price_slider_wrapper .price_slider_amount .price_label {
        margin-left: 0;
        margin-bottom: 20px;
    }
    .flat-row {
        padding: 20px 0 !important;
    }
    .about-gallery .about-gallery-wrap .img-box-gallery {
        width: 49.111111%;
    }
    .flat-client .img-box-client {
        max-width: 49.666667%;
    }
}

@media (max-width: 991px) {
    .nav-brand {
        max-width: 60px;
        margin-top: -10px;
        margin-bottom: -13px;
    }
    .search-icon-mobile {
        top: 12px;
    }
    .main-menu-btn {
        margin: 8px 10px 0;
    }
    body:not(.home) #pageTopDivider {
        margin-top: 64px;
    }
    .scrolled-top #header .header-wrap {
        margin-top: 10px;
        margin-bottom: 15px;
    }
    .case-study-row .content-box h5 {
        line-height: 52px;
    }
}


/* HEADER  */

#main-menu .user-menu .bayiButton {
    top: -0.15vw;
    padding: 8px 15px 5px;
    font-size: 16px!important;
    color: #fff;
    background-color: #2bb7eb;
    border-radius: 0!important;
    transition: 1s;
    -webkit-transition: 1s;
}

#main-menu .user-menu .bayiButton:hover {
    background-color: #1e3666;
    color: #fff !important;
}

.home.scrolled-top #main-menu .user-menu .bayiButton {
    border-color: #fff!important;
    color: #fff !important;
}

@media only screen and (min-width: 992px) {
    #header .main-nav {
        display: flex;
        width: 100%;
        justify-content: space-evenly;
    }
    .nav-brand {
        margin: 0 1vw;
    }
    #main-menu>li {
        margin: 0 1vw;
    }
    #main-menu a {
        font-size: 1vw!important;
    }
}

@media only screen and (max-width: 1366px) and (min-width: 992px) {
    .nav-brand a img {
        width: 11vw;
    }
}

@media only screen and (min-width: 1366px) {
    #header .main-nav {
        display: flex;
        width: 100%;
        justify-content: space-evenly;
    }
    .nav-brand {
        margin: 0 3vw;
    }
    #main-menu>li {
        margin: 0 1vw;
    }
    #main-menu .user-menu .bayiButton {
        top: -0.15vw;
        font-size: 15px!important;
        
    }
}

@media only screen and (min-width: 1520px) {
    #main-menu a {
        font-size: 15px!important;
    }
    .nav-brand {
        margin: 0 3.3vw;
    }
}

@media (max-width: 992px) {
    #main-menu .user-menu {
        float: none;
    }
    #main-menu .user-menu .bayiButton {
        font-size: 18px!important;
        width: auto;
    }
}

@media (max-width: 768px) {
    .main-slider.static-bg {
        width: 100%;
        height: 62vw;
        background-position: center center;
        background-size: contain;
        background-repeat: no-repeat;
        margin-top: 55px;
    }
    .visual-nav {
        top: 10px;
    }
    .main-specs-list p {
        font-size: 14px;
    }
}

@media (max-width: 399px) {
    .main-specs-list p {
        font-size: 13px;
    }
}