@media screen and (max-width: 1530px) {
    body {
        font-size: 50%;
    }
    .c-brief {
        height: 60px;
    }
    .language-switcher li {
        font-size: 2.1em;
    }
    .hb-5 .c-card p {
        height: auto;
    }
}

@media screen and (max-width: 1250px) {
    .tab-text h3 {
        font-size: 2.2em;
    }
    .woocommerce div.product div.images.woocommerce-product-gallery {
        width: 60%;
    }
    .woocommerce div.product div.summary {
        width: 37%;
    }
}


/* MOBILE MENU */

@media screen and (max-width: 960px) {
    body {
        font-size: 45%;
    }
    .language-switcher-desktop {
        display: none;
    }
    .main-menu-button {
        display: block;
    }
    .sticky .header-top {
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: auto;
        padding: 15px;
        background-color: #53b4b3;
        -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        z-index: 2;
    }
    .header-wrapper {
        height: auto;
        width: 100%;
        padding: 15px;
        overflow: hidden;
    }
    .header-logo {
        width: 120px;
    }
    .header-right {
        width: 50px;
    }
    .mobile {
        display: inherit;
    }
    .header-search-desktop,
    .widget-language-switcher-desktop {
        display: none;
    }
    .language-switcher li {
        font-size: 2.4em;
    }
    .main-menu-button {
        position: absolute;
        top: 30px;
        right: 20px;
        display: block;
        z-index: 999;
        scroll-behavior: smooth;
        overflow: hidden;
    }
    .main-menu-container {
        display: block;
        position: fixed;
        top: 0;
        right: -300px;
        width: 100%;
        max-width: 300px;
        min-width: 240px;
        height: 100%;
        margin-right: 0;
        background-color: #e9f8ff;
        -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
        -webkit-transition: right 0.25s ease-in-out;
        transition: right 0.25s ease-in-out;
        z-index: 998;
    }
    .main-menu-top {
        display: block;
        width: 100%;
        margin: 50px auto 0;
        text-align: center;
        z-index: 1000;
    }
    a.qtranxs_text{
        width:100%;
    }
    .main-menu {
        padding: 15px 0;
    }
    .main-menu ul>li {
        width: 100%;
        margin: 0;
        padding: 0;
    }
    .main-menu ul>li>a {
        width: 100%;
        line-height: 1.2;
        margin: 0;
        padding: 15px 20px;
        border: 0;
        text-align: center;
    }
    .main-menu ul>li>ul>li>a {
        padding: 10px 20px 10px 40px;
    }
    .main-menu ul>li:hover>ul {
        -webkit-box-shadow: none;
        box-shadow: none;
    }
    .main-menu ul>li>a {
        border-right: 0;
    }
    .main-menu ul>li>ul {
        display: none;
        position: initial;
        width: 100%;
        max-height: unset;
        background-color: unset;
    }
    .main-menu ul>li.open>ul {
        display: block;
        -webkit-animation: fadeIn 0.5s;
        animation: fadeIn 0.5s;
    }
    .main-menu>ul>li {
        display: block;
        padding: 10px 0;
    }
    .header-search,
    .language-switcher {
        width: 100%;
        margin-top: 15px;
    }
    .language-switcher {
        margin-top: 25px;
    }
    .main-menu .language-switcher ul {
        text-align: center;
    }
    .main-menu .language-switcher ul>li {
        margin: 0;
        padding: 0 3%
    }
    .main-menu .language-switcher ul>li>a {
        padding-left: 0;
    }
    .header-search .search-form {
        width: 100%;
        height: 40px;
        font-size: 1.4em;
        color: #fff;
    }
    .header-icons {
        margin-top: 15px;
    }
    .mb-icon img {
        max-width: 30px;
        margin-right: 3%;
    }
    .main-menu ul ul {
        position: relative;
        width: 100%;
        left: 0;
    }
    .main-menu>ul>li.menu-item-has-children.open:after {
        -webkit-transform: rotate(-180deg);
        transform: rotate(-180deg);
        -webkit-transition: all 0.2s ease-out;
        transition: all 0.2s ease-out;
    }
    .main-menu>ul>li.menu-item-has-children ul {
        display: none;
        -webkit-transition: all 0.2s ease-out;
        transition: all 0.2s ease-out;
    }
    .main-menu>ul>li.menu-item-has-children.open ul {
        display: block;
        -webkit-transition: all 0.2s ease-out;
        transition: all 0.2s ease-out;
    }
    .main-menu>ul>li.menu-item-has-children:after {
        position: absolute;
        top: 8px;
        right: 25px;
    }
    .main-menu>ul>li.menu-item-has-children:hover:after {
        color: #c81933;
    }
    @-webkit-keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }
    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }
    @-webkit-keyframes fadeOut {
        from {
            opacity: 1;
        }
        to {
            opacity: 0;
        }
    }
    @keyframes fadeOut {
        from {
            opacity: 1;
        }
        to {
            opacity: 0;
        }
    }
    .main-menu .menu-main-menu-container-button ul li.active>a,
    .main-menu .menu-main-menu-container-button ul li.current-menu-item>a,
    .main-menu .menu-main-menu-container-button ul li.current-page-ancestor>a,
    .main-menu .menu-main-menu-container-button ul li:hover>a {
        border-bottom: 0;
        background-color: rgba(255, 255, 255, 0.2);
    }
    .main-menu .menu-main-menu-container-button ul li.active>a,
    .main-menu>ul li.active:hover>a,
    .main-menu .menu-main-menu-container-button ul li.current-menu-item>a,
    .main-menu>ul li.current-menu-item:hover>a,
    .main-menu .menu-main-menu-container-button ul li.current-page-ancestor>a,
    .main-menu>ul li.current-page-ancestor:hover>a {
        color: #2977af;
        background-color: rgba(255, 255, 255, 0.2);
    }
    .main-menu ul>li.menu-item-has-children.open>span {
        height: 50px;
        color: #fff;
        -webkit-transform: scaleY(-1);
        transform: scaleY(-1);
    }
    .main-menu .menu-main-menu-container-button ul>li.menu-item-has-children.open:before {
        -webkit-transform: rotate(-180deg);
        transform: rotate(-180deg);
        -webkit-transition: all 0.2s ease-out;
        transition: all 0.2s ease-out;
    }
    body.menu-open .header-wrapper {
        position: unset;
    }
    body.menu-open .main-menu-mask {
        display: block;
    }
    body.menu-open .main-menu-container {
        right: 0;
        -webkit-transition: right 0.25s ease-in-out;
        transition: right 0.25s ease-in-out;
    }
    .main {
        position: relative;
        z-index: 1;
    }
    .search-form:before {
        background-image: url(images/blue-search-icon@2x.png);
    }
    .search-form-submit {
        height: 33px;
    }
}

@media screen and (max-width: 1080px) {
    .tabs-block .tabs {
        width: 49%;
    }
    .tb-right {
        width: 49%;
    }
    .hb-4.tabs-block .tabs {
        width: 38%;
    }
    .hb-4 .tb-right {
        width: 60%;
    }
    .tab-preview {
        width: 100px;
        height: 76px;
        padding-bottom: 0;
    }
    .tab-text {
        width: calc(100% - 110px);
    }
    .tab-text p {
        font-size: 1.2em;
    }
    .tab-text h3:after {
        right: 0;
        width: 20px;
        height: 20px;
    }
    .footer-col:first-child {
        width: 44%;
    }
    .footer-col:nth-child(2) {
        width: 28%;
    }
    .footer-col:last-child {
        width: 28%;
    }
    .nd-slider-container {
        height: 92px;
    }
    .nd-slider-container .bx-wrapper .bx-controls-direction a {
        height: 92px;
        width: 30px;
    }
    .nd-slide {
        width: 120px!important;
        height: 92px;
    }
}

@media screen and (max-width: 960px) {
    .hb-3 h2:after {
        width: 75px;
        height: 14px;
    }
    .hb-top {
        display: block;
    }
    .hb-top h2,
    .hb-top p {
        width: 100%;
    }
    .social-link {
        width: 35px;
        height: 35px;
    }
    h1.page-title:after {
        width: 75px;
        height: 12px;
    }
    .ks-heading:before {
        width: 13px;
        height: 33px;
        top: 4px;
    }
    .home-block {
        margin-bottom: 3em;
    }
    .hb-5 .more-btn {
        margin-bottom: 9em;
    }
    .filter-block:after {
        width: 10px;
        height: 10px;
        background-size: contain;
        top: 21px;
        right: 13px;
    }
    .header-right {
        width: 150px;
        float: right;
    }
    .header-search {
        width: 30px;
        height: 30px;
        margin: 0;
        margin-right: 60px;
        margin-top: 12px;
    }
}

@media screen and (max-width: 780px) {
    .footer-cols {
        display: block;
    }
    .footer-col:first-child,
    .footer-col:nth-child(2),
    .footer-col:last-child {
        width: 100%;
        text-align: center;
        padding-right: 0;
    }
    .footer-col:first-child p,
    .footer-col:nth-child(2) p,
    .footer h3 {
        text-align: center;
    }
    .social-links {
        float: unset;
    }
    .hp-row,
    .hp-row>div {
        display: block;
    }
    .sidebar-col,
    .content-col {
        width: 100%;
    }
    input[type="checkbox"]+label span {
        display: inline-block;
        width: 20px;
        height: 20px;
    }
    .work-preview {
        padding: 10px;
    }
    .grid-sizer {
        width: 50%;
    }
    .work-col {
        width: 50%;
    }
    .horizontal-tabs .tablink {
        padding: 10px 0;
    }
    .woocommerce div.product div.images.woocommerce-product-gallery {
        width: 100%;
        margin-right: 0;
    }
    .woocommerce div.product div.summary {
        width: 100%;
        margin-top: 2em;
    }
}

@media screen and (max-width: 650px) {
    .caption h2 {
        font-size: 3em;
    }
    .caption p {
        font-size: 1.2em;
    }
    .home-slider-container .bx-wrapper .bx-controls-direction a,
    .photos-slider-container .bx-wrapper .bx-controls-direction a {
        width: 30px;
        height: 30px;
        background-size: 7px;
    }
    .bx-wrapper .bx-pager.bx-default-pager a {
        width: 7px;
        height: 7px;
        margin: 0 5px;
    }
    .tabs-block .tabs,
    .tb-right,
    .hb-4.tabs-block .tabs,
    .hb-4 .tb-right {
        width: 100%;
    }
    .hb-2 .primary-btn {
        margin-top: 0em;
        margin-bottom: 2em;
    }
    .grid-1-3>.grid-col,
    .grid-1-3>.grid-col:nth-child(3n+3) {
        width: 100%;
        max-width: 300px;
        margin: 0 auto 3%;
        float: unset;
    }
    .medium-cols.grid-1-3>.grid-col,
    .medium-cols.grid-1-3>.grid-col:nth-child(3n+3) {
        width: 49%;
        max-width: 300px;
        margin: 0 auto 3%;
        float: left;
        margin-right: 2%;
    }
    .medium-cols.grid-1-3>.grid-col:nth-child(2n+2) {
        margin-right: 0;
    }
    .medium-cols.grid-1-3>.grid-col:nth-child(3n+1) {
        clear: none;
    }
    .grid-1-2>.grid-col,
    .grid-1-2>.grid-col:nth-child(2n+1),
    .class-blocks .grid-1-2>.grid-col {
        width: 100%;
        margin: 0;
        margin-bottom: 2%;
    }
    .table-block table td {
        font-size: 2.8em;
    }
    .shop-select {
        position: relative;
        display: block;
        top: unset;
        width: 100%;
    }
    .shop-cols {
        display: flex;
        width: 100%;
        flex-direction: column;
    }
    .shop-cols .content-col {
        width: 100%;
        order: 1;
    }
    .shop-cols .sidebar-col {
        width: 100%;
        order: 2;
    }
    .news-cols {
        width: 100%;
        flex-direction: column;
    }
    .nc-left {
        width: 100%;
        order: 2;
    }
    .nc-right {
        width: 100%;
        order: 1;
    }
}

@media screen and (max-width: 500px) {
    .table-block table {
        font-size: .9em;
    }
    .table-block table td:last-child {
        padding-left: 10px;
    }
    .grid-sizer {
        width: 100%;
    }
    .work-col {
        width: 100%;
    }
    .table-block table td:first-child,
    .table-block table td:last-child {
        display: block;
        width: 100%;
    }
    .table-block table td:last-child {
        padding-top: 0;
        padding-left: 0;
    }
    .table-block table td a:after {
        top: 8px;
    }
    .table-block table td p {
        text-align: left;
    }
    .table-block table td {
        font-size: 2.4em;
    }
    .table-block table td:first-child {
        font-size: 2em;
    }
    .grid-sizer,
    .hb-4 .grid-sizer,
    .hb-4 .work-col,
    .work-col {
        width: 50%;
    }
}

@media screen and (max-width: 450px) {
    .caption {
        font-size: .9em;
    }
    .home-slider-container .bx-wrapper .bx-controls-direction a,
    .photos-slider-container .bx-wrapper .bx-controls-direction a {
        width: 25px;
        height: 25px;
        background-size: 5px;
    }
    .footer {
        text-align: center;
    }
    .back-to-top {
        position: relative;
        bottom: unset;
        display: inline-block;
        margin-bottom: 3em;
    }
    h2 {
        font-size: 4em;
    }
    input[type="search"] {
        font-size: 1.6em;
    }
    .work-col{
        padding:4%;
    }
    .work-preview {
    padding: 5px;
}
    
}