/*
Template: cesis
Theme Name: cesis child theme
Theme URI: http://cesis.co
Description: <strong>A superflexible and responsive Business Theme by Tranmautritam team</strong> - <br/>Update notifications available on twitter and facebook:<br/> <a href='https://twitter.com/tranmautritam'>Follow me on twitter</a><br/> - <a href='https://www.facebook.com/tranmautritam.designer'>Join the Facebook Group</a> A theme by <a href="http://themeforest.net/user/tranmautritam?ref=tranmautritam">Tranmautritam Team</a>.
Version: 1.0
Author: Tranmautritam Team
Author URI: http://themeforest.net/user/tranmautritam?ref=tranmautritam
License: Themeforest Split Licence
License URI: -
*/


/************************************************************************************

Put your custom CSS below this block :)

*************************************************************************************/

/* ==================================================
   HEURIA Â· Base visual
   ================================================== */

:root {
    --heuria-font: 'Montserrat', sans-serif;

    --heuria-cream: #faf8f5;
    --heuria-ink: #1a1a1a;
    --heuria-terracotta: #975337;
    --heuria-brown: #6b3a26;
    --heuria-green: #2b4232;
    --heuria-footer: #1c2820;
}

/* TipografÃ­a general */
body,
h1,
h2,
h3,
h4,
h5,
h6,
button,
input,
select,
textarea {
    font-family: var(--heuria-font);
}

/* Base para nuestros bloques personalizados */
.heuria {
    font-family: var(--heuria-font);
    color: var(--heuria-ink);
    background-color: var(--heuria-cream);
}

.heuria,
.heuria *,
.heuria *::before,
.heuria *::after {
    box-sizing: border-box;
}

/* ==================================================
   HEURIA ¡¤ Men¨² desktop
   ================================================== */

/* Heuria: desktop header. Mobile menu retains the Cesis layout. */
@media (min-width: 1025px) {
    #cesis_header .header_main .cesis_container {
        --heuria-cta-width: clamp(190px, 18vw, 216px);
        display: flex;
        align-items: center;
        position: relative;
    }
    #cesis_header .header_main .cesis_container::before,
    #cesis_header .header_main .cesis_container::after { content: none; }
    #cesis_header .header_main .header_logo {
        order: 1;
        flex: 0 0 auto;
        float: none;
        width: auto;
        margin-right: clamp(18px, 2.5vw, 36px);
    }
    #cesis_header #site-navigation {
        order: 2;
        flex: 0 1 620px;
        float: none;
        width: auto;
        min-width: 0;
        margin: 0 0 0 auto;
        padding: 0 8px 0 clamp(18px, 2.4vw, 31px);
        box-sizing: border-box;
        position: relative;
        isolation: isolate;
        z-index: 1;
    }
    #cesis_header #site-navigation::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: calc(100% + var(--heuria-cta-width));
        height: 56px;
        background: rgba(250, 248, 245, .92);
        border: 1px solid rgba(0, 0, 0, .05);
        border-radius: 100px;
        box-shadow: 0 2px 20px rgba(0, 0, 0, .07);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-sizing: border-box;
        pointer-events: none;
        z-index: -1;
    }
    #cesis_header #site-navigation .menu-main-ct { width: 100%; float: none; }
    #cesis_header #main-menu {
        display: flex;
        align-items: center;
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
    }
    #cesis_header #main-menu::before,
    #cesis_header #main-menu::after { content: none; }
    #cesis_header #main-menu > li {
        float: none;
        flex: 0 0 auto;
        position: relative;
        margin: 0;
    }
    #cesis_header #main-menu > li > a {
        display: flex;
        align-items: center;
        padding-left: clamp(6px, .65vw, 9px);
        padding-right: clamp(6px, .65vw, 9px);
        font-family: Montserrat, sans-serif;
        font-size: clamp(12px, 1.05vw, 13.5px);
        font-weight: 700;
        letter-spacing: -.135px;
        white-space: nowrap;
        color: #6b3a26 !important;
        text-transform: none;
    }
    #cesis_header #main-menu > li > a > span {
        color: inherit !important;
        font-weight: inherit;
        display: inline-block;
        line-height: 1.4;
        padding: 5px 0;
    }
    #cesis_header #main-menu > li:first-child > a { padding-left: 0; }
    #cesis_header #main-menu > .menu-item-14 { margin-left: auto; }
    #cesis_header #main-menu > .menu-item-14 > a,
    #cesis_header #main-menu > .menu-item-15 > a,
    #cesis_header #main-menu > .menu-item-244 > a { color: #868686 !important; font-weight: 600; }

    /* Underline the text without reusing the separators' pseudo-elements. */
    #cesis_header #main-menu > li.current-menu-item > a > span,
    #cesis_header #main-menu > li.current_page_item > a > span,
    #cesis_header #main-menu > li.current-menu-ancestor > a > span,
    #cesis_header #main-menu > li.current-page-ancestor > a > span,
    #cesis_header #main-menu > li > a[aria-current="page"] > span {
        background-image: linear-gradient(currentColor, currentColor);
        background-position: left bottom;
        background-repeat: no-repeat;
        background-size: 100% 1px;
    }
    #cesis_header #main-menu > li:nth-child(-n+2) > a::after {
        content: "";
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 10px;
        margin: 0;
        padding: 0;
        border: 0;
        background: #383833;
        pointer-events: none;
    }
    #cesis_header #main-menu > .menu-item-15::before,
    #cesis_header #main-menu > .menu-item-244::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 10px;
        background: #383833;
        pointer-events: none;
    }
    #cesis_header .header_main .tt-main-additional {
        order: 3;
        flex: 0 0 var(--heuria-cta-width);
        float: none;
        position: relative;
        z-index: 2;
        width: var(--heuria-cta-width);
        padding: 0 22px 0 0;
        margin: 0;
        box-sizing: border-box;
        text-align: right;
    }
    #cesis_header .header_main .cesis_menu_btn { margin: 0; }
    #cesis_header .header_main .cesis_menu_btn a span {
        display: inline-block;
        width: auto;
        min-width: 0;
        height: 36px;
        line-height: 36px;
        padding: 0 clamp(12px, 1.4vw, 18px);
        border: 0;
        border-radius: 100px;
        font-family: Montserrat, sans-serif;
        font-size: clamp(11px, 1.02vw, 13px);
        font-weight: 700;
        letter-spacing: -.13px;
        text-transform: none !important;
        color: #faf8f5 !important;
        background: #6b3a26;
        white-space: nowrap;
        box-sizing: border-box;
    }
}
