/*!
Theme Name: Comfortemp Theme v1
Theme URI: https://rfi.asia
Author: RFI Asia
Author URI: https://rfi.asia
Description: 
Version: 1.0.2
Requires at least: 5.0
Tested up to: 6.8
Requires PHP: 7.2
License: GPL version 2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0
Tags: custom-background, custom-colors, featured-images, flexible-header, microformats, post-formats, rtl-language-support, theme-options, translation-ready, accessibility-ready
Text Domain: ct2025
*/

/* Don't overwrite this file. Compile "/assets/main.scss" to "/build/main.css" */

/* From http://codex.wordpress.org/CSS */

.flex-row {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.flex-column {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.flex-center {
    align-items: center;
}

#logo-freudenberg-performance-materials {
    max-width: 164px;
}

#logo-comfortemp {
    max-width: 153px;
}

.responsive-image {
    width: 100%;
    height: auto;
}

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 96%;
    /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

.gallery-item {
    display: inline-block;
    text-align: left;
    vertical-align: top;
    width: 50%;
}

.gallery-item a,
.gallery-item a:hover,
.gallery-item a:focus {
    -webkit-box-shadow: none;
    box-shadow: none;
    background: none;
    display: inline-block;
    max-width: 100%;
}

.gallery-item a img {
    display: block;
    -webkit-transition: -webkit-filter 0.2s ease-in;
    transition: -webkit-filter 0.2s ease-in;
    transition: filter 0.2s ease-in;
    transition: filter 0.2s ease-in, -webkit-filter 0.2s ease-in;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.gallery-item a:hover img,
.gallery-item a:focus img {
    -webkit-filter: opacity(60%);
    filter: opacity(60%);
}

.gallery-caption {
    display: block;
    text-align: left;
    padding: 0 10px 0 0;
    margin-bottom: 0;
}

.gallery-columns-1 .gallery-item {
    max-width: 100%;
}

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-3 .gallery-item {
    max-width: 33%;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}

.gallery-columns-5 .gallery-item {
    max-width: 20%;
}

.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
    display: none;
}

.bypostauthor {
    font-weight: bold;
}

/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar. */
}

/* Custom font: TheSans */
@font-face {
    font-display: swap;
    font-family: TheSans;
    font-style: normal;
    font-weight: 300;
    src: url(./fonts/thesans/TheSansC5-3_Light.woff2) format("woff2"),
        url(./fonts/thesans/TheSansC5-3_Light.woff) format("woff");
}

@font-face {
    font-display: swap;
    font-family: TheSans;
    font-style: italic;
    font-weight: 300;
    src: url(./fonts/thesans/TheSansC5-3iLightItalic.woff2) format("woff2"),
        url(./fonts/thesans/TheSansC5-3iLightItalic.woff) format("woff");
}

@font-face {
    font-display: swap;
    font-family: TheSans;
    font-style: normal;
    font-weight: 600;
    src: url(./fonts/thesans/TheSansC5-6_SemiBold.woff2) format("woff2"),
        url(./fonts/thesans/TheSansC5-6_SemiBold.woff) format("woff");
}

@font-face {
    font-display: swap;
    font-family: TheSans;
    font-style: italic;
    font-weight: 600;
    src: url(./fonts/thesans/TheSansC5-6iSemiBoldIta.woff2) format("woff2"),
        url(./fonts/thesans/TheSansC5-6iSemiBoldIta.woff) format("woff");
}

@font-face {
    font-display: swap;
    font-family: TheSans;
    font-style: normal;
    font-weight: 700;
    src: url(./fonts/thesans/TheSansC5-7_Bold.woff2) format("woff2"),
        url(./fonts/thesans/TheSansC5-7_Bold.woff) format("woff");
}

@font-face {
    font-display: swap;
    font-family: TheSans;
    font-style: italic;
    font-weight: 700;
    src: url(./fonts/thesans/TheSansC5-7iBoldItalic.woff2) format("woff2"),
        url(./fonts/thesans/TheSansC5-7iBoldItalic.woff) format("woff");
}

@font-face {
    font-display: swap;
    font-family: TheSans;
    font-style: normal;
    font-weight: 900;
    src: url(./fonts/thesans/TheSansC5-9_Black.woff2) format("woff2"),
        url(./fonts/thesans/TheSansC5-9_Black.woff) format("woff");
}

body {
    font-family: TheSans, sans-serif !important;
}

hr {
    border-color: #99BFDB;
    opacity: 1;
}

@media (min-width: 576px) {
    body {
        font-size: 1.125rem !important;
    }
}

#top-banner {
    margin-left: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    background-color: #F2F5F9;
}

.top-banner-mask {
    position: absolute;
    bottom: 0px;
    z-index: 100;
    display: none;
}

@media (min-width: 768px) {
    #top-banner {
        background-color: #fff;
    }

    .top-banner-mask {
        display: block;
        left: 0px;
        right: 0px;
        bottom: 0px;
    }
}

/* Breadcrumb */
#breadcrumb {
    margin: 0px;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 1rem;
    padding-bottom: 2rem;
    background-color: #F2F5F9;
}

.bc {
    margin-top: 1rem;
    font-size: 0.6rem;
}

.bc a {
    color: #000;
    font-weight: 400;
    text-decoration: none;
}

.bc .separator {
    padding: 0px 0.2rem;
    color: #00A6E2;
    font-weight: 600;
}

.bc .current {
    color: #004388;
    font-weight: 600;
}

.bc hr {
    border-bottom: 1px solid #F2F5F9;
    border-color: #F2F5F9 !important;
}

@media (min-width: 768px) {
    #breadcrumb {
        padding-top: 0px;
        padding-bottom: 2rem;
        background-color: transparent;
    }
}

@media (min-width: 992px) {
    #breadcrumb {
        padding-bottom: 4rem;
    }

    .bc {
        font-size: 1.125rem;
    }

    .bc .separator {
        padding: 0px 0.5rem;
    }
}

/* Headline */
#info {
    position: relative;
    margin-left: 0px !important;
    margin-right: 0px !important;
    margin-bottom: 2rem !important;
    padding-left: 1rem;
    padding-right: 1rem;
    background-color: #F2F5F9;
}

.headline {
    padding-bottom: 1rem;
}

.headline h1 {
    margin-bottom: 1.5rem;
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1em;
    color: #004388;
    text-align: left;
    text-transform: uppercase;
}

.headline p {
    color: #000;
    font-weight: 600;
    text-align: left;
}

.info-mask {
    position: absolute;
    left: 0px;
    bottom: -0.8rem;
    z-index: 100;
}

@media (min-width: 450px) {
    .headline {
        padding-bottom: 1.5rem;
    }
}

@media (min-width: 550px) {
    .headline {
        padding-bottom: 2.5rem;
    }
}

@media (min-width: 768px) {
    #info {
        background-color: transparent;
    }

    .headline {
        padding-bottom: 0px;
    }

    .headline h1 {
        font-size: 4rem;
        line-height: 1em;
        text-align: center;
    }

    .headline p {
        text-align: center;
    }

    .info-mask {
        display: none;
    }
}

@media (min-width: 992px) {
    .headline h1 {
        margin-bottom: 1.5rem;
        font-size: 5.25rem;
        line-height: 5.75rem;
    }
}

@media (min-width: 1200px) {
    #info {
        margin-bottom: 3rem !important;
    }
}

@media (min-width: 1400px) {}

@media (min-width: 1600px) {}

section {
    margin-left: 1rem;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

#main {
    margin-top: 0;
}

#main h2 {
    margin: 2rem 0px 0px 0px;
    padding: 0px 0px 1.5rem;
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 2.25rem;
    color: #004388;
    text-align: left;
}

.navbar-nav .menu-item .nav-link {
    font-weight: 700 !important;
    color: #000 !important;
}

.navbar-nav .menu-item:last-of-type .nav-link {
    padding-right: 5px !important;
}

@media (min-width: 576px) {
    .navbar-nav .nav-link {
        font-size: 18px;
    }

    section {
        margin-bottom: 3rem;
    }

    #main h2 {
        padding: 0px 0px 4rem 0px;
        font-size: 2.6rem;
        font-weight: 900;
        line-height: 3rem;
        color: #004388;
        text-align: center;
    }

    #logo-freudenberg-performance-materials {
        max-width: 222px;
    }

    #logo-comfortemp {
        max-width: 175px;
    }
}

@media (min-width: 992px) {
    section {
        margin-bottom: 4rem;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    #logo-freudenberg-performance-materials {
        max-width: 322px;
    }

    #logo-comfortemp {
        max-width: 245px;
    }
}

@media (min-width: 1200px) {
    section {
        margin-bottom: 6rem;
    }
}

#header {
    padding: 20px;
}

.navbar {
    padding: 0;
    border-radius: 0.5rem;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
}

#navbar {
    position: absolute;
    padding: 1.5rem 2rem;
    top: calc(110px + 0.5rem);
    right: 0px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
}

#header .navbar-nav .nav-item {
    border-top: 1px solid #BFD2E0;
}

#header .navbar-nav .nav-item:last-child {
    border-bottom: 1px solid #BFD2E0;
}

#header .navbar-nav .nav-item .dropdown-menu {
    box-shadow: none;
    border: none;
    padding-top: 0px;
    padding-bottom: 1rem;
}

#header .navbar-nav .nav-item .dropdown-menu .dropdown-header {
    display: none;
}

#header .navbar-nav .nav-item .dropdown-menu .dropdown-item {
    padding-left: 0px;
    padding-right: 0px;
}

#header .navbar-nav .nav-item .dropdown-menu .dropdown-item:hover,
#header .navbar-nav .nav-item .dropdown-menu .dropdown-item:focus,
#header .navbar-nav .nav-item .dropdown-menu .dropdown-item.active,
#header .navbar-nav .nav-item .dropdown-menu .dropdown-item:active {
    background-color: transparent !important;
    background-image: none !important;
    color: #0693c7 !important;
}

#header .navbar-nav .nav-item .dropdown-menu .dropdown-item.active,
#header .navbar-nav .nav-item .dropdown-menu .dropdown-item:active {
    font-weight: 600 !important;
}

#header .navbar-nav .nav-link {
    color: #000;
    -webkit-tap-highlight-color: transparent;
}

#header .navbar-nav .nav-link:hover {
    color: #0693c7 !important;
}

#header .navbar-nav .nav-link:focus,
#header .navbar-nav .nav-link:focus-visible {
    outline: none;
    box-shadow: none;
}


.menu-arrow-icon {
    transition: transform 0.3s ease;
}

.nav-link.show .menu-arrow-icon {
    transform: rotate(180deg);
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar-toggler {
    border: none !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

.navbar.bg-light {
    background-color: #fff !important;
}

.navbar-brand img {
    height: auto;
}

@media (min-width: 576px) {
    #header {
        padding: 0;
        border-radius: 0px;
    }

    .navbar {
        padding: 10px;
        border-radius: 0;
        box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1) !important;
    }

    .navbar-brand {
        padding-top: 5px !important;
        padding-bottom: 5px !important;
    }

    #navbar {
        top: calc(110px + 0.5rem);
        right: 0.5rem;
    }

    .navbar-toggler {
        padding-right: 0px !important;
    }
}

@media (min-width: 992px) {
    .navbar {
        padding: 20px;
    }

    #navbar {
        position: relative;
        padding: 0px;
        top: auto;
        right: auto;
        background-color: transparent;
        border-radius: 0px;
        box-shadow: none;
    }

    #header .navbar-nav .nav-item {
        border-top: none;
    }

    #header .navbar-nav .nav-item:last-child {
        border-bottom: none;
    }

    #header .navbar-nav .nav-item .dropdown-menu {
        box-shadow: var(--bs-dropdown-box-shadow);
        border: var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);
        padding: 2rem 1rem 3rem 1rem;
        right: 0px;
        left: auto;
        top: calc(110px * 0.8);
    }

    #header .navbar-nav .nav-item:nth-of-type(1) .dropdown-menu {
        width: 450px;
    }

    #header .navbar-nav .nav-item:nth-of-type(2) .dropdown-menu {
        width: 450px;
    }

    #header .navbar-nav .nav-item:nth-of-type(3) .dropdown-menu {
        width: 450px;
    }

    #header .navbar-nav .nav-item .dropdown-menu .dropdown-items-wrapper {
        display: grid;
    }

    #header .navbar-nav .nav-item:nth-of-type(1) .dropdown-menu .dropdown-items-wrapper {
        grid-template-columns: 1fr;
    }

    #header .navbar-nav .nav-item:nth-of-type(2) .dropdown-menu .dropdown-items-wrapper {
        grid-template-columns: 1fr 1fr;
    }

    #header .navbar-nav .nav-item .dropdown-menu .dropdown-header {
        display: block;
        margin-left: var(--bs-dropdown-item-padding-x);
        margin-right: var(--bs-dropdown-item-padding-x);
        margin-bottom: 2rem;
        padding-left: 0px;
        padding-right: 0px;
        font-size: 1.5rem;
        font-weight: 600;
        color: #0693C7;
        border-bottom: 1px solid #0693C7;
        grid-column-start: 1;
        grid-column-end: -1;
    }

    #header .navbar-nav .nav-item .dropdown-menu .menu-item {
        margin: 0rem 1rem 0px 1rem;
        padding: 0.3rem 0px;
        border-top: 1px solid #BFD2E0;
        grid-row: span 1;
    }

    #header .navbar-nav .nav-item .dropdown-menu .menu-item.two-lines {
        grid-row: span 2;
        padding-top: 0.7rem;
    }

    #header .navbar-nav .nav-item:nth-of-type(1) .dropdown-menu .menu-item {
        max-width: 220px;
    }

    #header .navbar-nav .nav-item:nth-of-type(3) .dropdown-menu .menu-item {
        max-width: 160px;
    }

    #header .navbar-nav .nav-item:nth-of-type(1) .dropdown-menu .menu-item:nth-last-of-type(1) {
        border-bottom: 1px solid #BFD2E0;
    }

    #header .navbar-nav .nav-item:nth-of-type(2) .dropdown-menu .menu-item:nth-last-of-type(1),
    #header .navbar-nav .nav-item:nth-of-type(2) .dropdown-menu .menu-item:nth-last-of-type(2) {
        border-bottom: 1px solid #BFD2E0;
    }

    #header .navbar-nav .nav-item:nth-of-type(3) .dropdown-menu .menu-item:nth-last-of-type(1) {
        border-bottom: 1px solid #BFD2E0;
    }

    #header .navbar-nav .nav-item .dropdown-menu .dropdown-item {
        padding: 0px;
        font-weight: 600;
    }
}

@media (min-width: 1600px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1440px;
    }
}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 1rem;
    /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    vertical-align: middle;
    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;

    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;

    /* Support for IE. */
    font-feature-settings: 'liga';
}

/* Stay Updated */
#stay-updated {
    position: relative;
    /* background-image: url('/wp-content/uploads/stay-updated_banner.jpg'); */
    background-size: cover;
    background-position: 100% center;
    background-repeat: no-repeat;
}

.stay-updated-wrapper {
    position: relative;
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.stay-updated-headline {
    padding: 2rem;
}

.headline-wrapper {
    padding: 3rem 2rem;
    background-color: #fff;
    border-radius: 10px;
}

.headline-wrapper p {
    font-weight: 600;
}

.headline-wrapper h2 {
    text-align: left !important;
}

.headline-wrapper .btn {
    width: 100%;
    padding: 1rem 0px;
    border: 0px;
    border-radius: 30px;
    font-weight: 600;
    color: #fff;
    background-color: #004388;
    transition: all 0.3s;
}

.headline-wrapper .btn:hover {
    color: #000;
    background-color: #00a6e2;
}

@media (min-width: 992px) {
    #stay-updated {
        width: 100%;
        height: 41.78vw;
        background-position: center center;
    }

    .stay-updated-wrapper {
        height: 100%;
        display: flex;
        align-items: center;
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }

    .stay-updated-headline {
        padding: 0px;
    }

    .headline-wrapper {
        padding: 3.5rem 2rem;
    }

    .headline-wrapper h2 {
        padding: 0px 0px 2rem 0px !important;
    }

    .headline-wrapper .btn {
        width: auto;
        padding: 1rem 4rem;
    }
}

@media (min-width: 1200px) {
    .headline-wrapper {
        padding: 6rem 4rem;
    }
}

@media (min-width: 1200px) {}

/* Contact Us */
#contact-us {
    margin-left: 0px;
    margin-right: 0px;
    padding-top: 3rem;
    padding-bottom: 3rem;
    background-color: #004388;
}

.contact-banner {
    position: relative;
    border-radius: 10px;
}

.contact-banner img {
    width: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

#contact-us .deco {
    position: absolute;
    bottom: -2rem;
    left: 2.5rem;
    background-color: #f2f5f9;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
}

.contact-info-wrapper .btn {
    padding: 1rem 2.2rem;
    border: 0px;
    border-radius: 30px;
    font-weight: 600;
    color: #fff;
    background-color: #004388;
    transition: all 0.3s;
}

.contact-info-wrapper .btn:hover {
    color: #000;
    background-color: #00a6e2;
}

.contact-info-wrapper {
    background-color: #F2F5F9;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.contact-info {
    padding: 3rem 2rem;
}

.contact-info h2 {
    margin-top: 0px !important;
    padding-bottom: 1rem !important;
    font-size: 1.75rem !important;
    line-height: 2.25rem !important;
    text-align: left !important;
}

.contact-info p {
    margin-bottom: 1.2rem;
}

@media (min-width: 992px) {
    #contact-us {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
        margin-bottom: 2rem;
    }

    .contact-banner img {
        border-top-left-radius: 0px;
        border-bottom-right-radius: 10px;
    }

    #contact-us .deco {
        bottom: auto;
        top: 3.5rem;
        left: -2.1rem;
        width: 4.2rem;
        height: 4.2rem;
        border-radius: 50%;
    }

    .contact-info-wrapper {
        height: 100%;
        display: flex;
        align-items: center;
        border-bottom-right-radius: 0px;
        border-top-left-radius: 10px;
    }

    .contact-info {
        padding: 0px 2rem;
    }

    .contact-info h2 {
        padding: 0px 0px 1rem 0px !important;
        line-height: 1em !important;
    }

    .contact-info p {
        font-size: 0.875rem;
    }
}

@media (min-width: 1200px) {
    .contact-info h2 {
        padding: 0px 0px 1.2rem 0px !important;
        font-size: 2.2rem !important;
    }

    .contact-info p {
        font-size: 1rem;
    }
}

@media (min-width: 1400px) {
    .contact-info {
        padding: 0px 3rem;
    }

    .contact-info h2 {
        padding: 0px 0px 2rem 0px !important;
        font-size: 2.6rem !important;
    }

    .contact-info p {
        margin-bottom: 2rem;
        font-size: 1.125rem;
    }
}