/* ===========================
    TYPOGRAPHY 
=========================== */

@font-face {
    font-family: 'GT America';
    src: url('../webfonts/GTAmerica-Regular.woff2') format('woff2'),
        url('../webfonts/GTAmerica-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'GT America';
    src: url('../webfonts/GTAmerica-Medium.woff2') format('woff2'),
        url('../webfonts/GTAmerica-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'GT America Condensed';
    src: url('../webfonts/GTAmerica-CondensedMedium.woff2') format('woff2'),
        url('../webfonts/GTAmerica-CondensedMedium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'GT America Condensed';
    src: url('../webfonts/GTAmerica-CondensedBold.woff2') format('woff2'),
        url('../webfonts/GTAmerica-CondensedBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
.fa-brands, .fab, .fa { 
    font-style: normal;
}

/* ===========================
    COLORS & FONT STYLES
=========================== */ 

:root {
    --grayscale-dark:       #15393C;
    --grayscale-title:      #1F5257; 
    --grayscale-body:       #246066;
    --grayscale-line:       #E8D4B6;
    --grayscale-background: #F9F0E1;
    --grayscale-white:      #FFFFFF; 
    
    --primary:              #69af9a;
    --primary-dark:         #509581;

    --secondary:            #E07D66;
    --secondary-dark:       #DC6B51;

    --featured:             #D5BA6D;
    --featured-dark:        #CDAC51;

    --family-title:         'GT America Condensed', Helvetica, sans-serif;
    --family-body:          'GT America', Helvetica, sans-serif;

    --weight-regular:       400;
    --weight-medium:        500;
    --weight-bold:          600;

    --border-radius-medium: 16px;
    --border-radius-large:  24px;
}

/* ===========================
    GRID SETTINGS
=========================== */ 

:root {
    --bootstrap-padding:  20px;
    --bootstrap-margin:   -20px;
}
.row > *,
.container, 
.container-fluid {
    padding-left: var(--bootstrap-padding);
    padding-right: var(--bootstrap-padding);
} 
.row {
    margin-top: 0;
    margin-right: var(--bootstrap-margin);
    margin-left: var(--bootstrap-margin);
}
.row > * {
    margin-top: 0;
}

/* ===========================
    GENERAL STYLES
=========================== */ 
html { 
    scroll-behavior: initial!important;
    background-color: var(--grayscale-background);
}
html, 
body {
    position: relative;
    width: 100%;
    min-height: 100%;
}
/* Do not add padding or margin to the body */ 
body {
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
    color: var(--grayscale-body);
    font-family: var(--family-body);
    font-size: 18px;
    line-height: 1.25;
    font-weight: var(--weight-regular);
    background: transparent;
}
main {
    padding: 0;
    padding-top: 40px;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--family-title);
    font-weight: var(--weight-medium);
    color: var(--grayscale-title); 
    line-height: 1.15;
    display: block;
    margin-top: 0;
    margin-bottom: 1.15rem;  
}
/*
h1, h2, h3, .h1, .h2, .h3 { 
    font-weight: var(--weight-medium);
}
*/
/*
h4, h5, h6, .h4, .h5, .h6 {
    font-weight: var(--weight-medium);
}
*/
h1, .h1  {
    font-size: 56px; 
}
h2, .h2 {
    font-size: 44px;
}
h3, .h3 {
    font-size: 36px;
}
h4, .h4 {
    font-size: 32px;
}
h5, .h5 {
    font-size: 24px;
}
h6, .h6 {
    font-size: 20px;
}
.tag {
    font-weight: var(--weight-medium);
    font-family: var(--family-title);
    text-transform: uppercase;
    font-size: 20px;
    opacity: 0.6;
}
a {
    text-decoration: none;
    color: var(--primary);
}
a:hover {
    text-decoration: none;
    color: var(--primary-dark);
}
a:focus,
a:active {
    outline: 0;
    outline-offset: -2px;
    text-decoration: none;
    -webkit-box-shadow: none;
            box-shadow: none;
}
p,
li {
    font-size: 1em;
    color: var(--grayscale-body);
}
p,
ul,
ol {
    margin-bottom: 1rem; 
}
li {
    margin-bottom: 0.6rem; 
}
ul ul,
ul ol,
ol ol,
ol ul { 
    margin-top: 1rem;
}
blockquote {
    border-left: 4px solid var(--primary);
    margin: 1em 0;
    padding: 0.8em 1.5em 0.1em;
}
.element_invisible {
    position: absolute !important;
    clip: rect(1px 1px 1px 1px);
    clip: rect(1px, 1px, 1px, 1px);
    left: 0;
    top: 0;
    opacity: 0;
    max-width: 200px;
    max-height: 200px;
}
.the_button,
input[type=button],
input[type=submit] {
    all: unset;
    font-family: var(--family-body);
    background-color: var(--primary);
    border: 3px solid var(--primary);
    border-radius: 100px;
    display: inline-block;
    padding: 16px 24px;
    text-transform: capitalize;
    font-weight: var(--weight-medium);
    color: var(--grayscale-white);
    text-shadow: none;
    font-size: 17px;
    line-height: 1em;
    margin: 16px 0;
    cursor: pointer;
}
.the_button:hover, 
.the_button:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--grayscale-white);
}
.the_button.secondary { 
    background-color: var(--secondary);
    border-color: var(--secondary);
}
.the_button.secondary:hover {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
}
.the_button.inverse {
    background-color: transparent;
    color: var(--primary);
}
.the_button.inverse:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--grayscale-white);
}
.the_button.secondary.inverse {
    background-color: transparent;
    border-color: var(--secondary);
    color: var(--secondary);
}
.the_button.secondary.inverse:hover {
    background-color: var(--secondary);
    color: var(--grayscale-white);  
}
.the_button.white {
    border-color: var(--grayscale-white);
    background-color: var(--grayscale-white);
    color: var(--primary);
}
.the_button.white:hover {
    background-color: var(--grayscale-white);
    color: var(--grayscale-body);
}
.the_button.white.inverse {
    border-color: var(--grayscale-white);
    color: var(--grayscale-white);
    background-color: transparent;
}
.the_button.white.inverse:hover {
    background-color: var(--grayscale-white);
    color: var(--grayscale-body);
}
.naked_link {
    font-family: var(--family-body);
    font-weight: var(--weight-medium);
    font-size: 18px;
    -webkit-transform: scale(1) translateX(0);
    transform: scale(1) translateX(0);
    transform-origin: center;
    display: flex;
    align-items: baseline;
    width: fit-content;
}
.naked_link:hover {
    -webkit-transform: scale(1.05) translateX(5px);
    -ms-transform: scale(1.05) translateX(5px);
        transform: scale(1.05) translateX(5px);
    -webkit-animation-timing-function: linear;
            animation-timing-function: linear;
    -webkit-animation-iteration-count: 1;
            animation-iteration-count: 1;
}
.naked_link span {
    display: inline-block;
}
.naked_link i.fa-arrow-right {
    margin-left: 4px;
}
.naked_link i.fa-arrow-left {
    margin-right: 4px; 
}
.kensei_02 {
    -webkit-transition: all 0.2s ease-in-out;
         -o-transition: all 0.2s ease-in-out;
            transition: all 0.2s ease-in-out;
}
.kensei_03 {
    -webkit-transition: all 0.35s ease-in-out;
         -o-transition: all 0.35s ease-in-out;
            transition: all 0.35s ease-in-out;
}
.responsive_image,
.responsive_image img {
    width: 100%;
    height: auto;
}
.responsive_image {
    display: block;
    overflow: hidden;
    border-radius: var(--border-radius-medium);
}
section,
.section {
    padding: 60px 0 40px; 
    width: 100%;
    background-color: var(--grayscale-background);
    z-index: 9;
    position: relative; 
}
.flex_section {
    padding: 0 0 60px; 
}

/* ===========================
    BREADCRUMB
=========================== */ 
#breadcrumb {
    padding-bottom: 1.5em;
    font-weight: var(--weight-regular);
}
#breadcrumb a {
    color: var(--grayscale-body);
}
#breadcrumb a:hover {
    color: var(--primary);
}
#flexible_content #breadcrumb {
    padding-bottom: 0;
}
#breadcrumb #home_url {
    color: var(--primary);
    font-weight: var(--weight-bold);
}
#flexible_content.has_breadcrumb #the_content {
    padding-top: 20px;
}

/* ===========================
    HEADER
=========================== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    height: auto;
    border-bottom: 0;
    -webkit-transform: translate3d(0px,0px,0px);
            transform: translate3d(0px,0px,0px);
}
header.hide_header {
    top: -76px;
}
#logo_wrapper {
    height: auto;
    margin: 0;
    text-align: center;
    position: relative;
}
#logo_wrapper a {
    text-align: left;
    margin: auto;
    width: 100%;
    display: block;
    position: relative;
}
#logo_wrapper a img {
    left: 0;
    top: 0;
    width: 180px;
    height: auto;
    position: relative;
    margin-top: 0;
}
#logo_wrapper a img#logo_inverse {
    position: absolute;
    opacity: 0;
    z-index: -1;
}
#logo_wrapper h1,
#logo_wrapper span { 
    text-indent: -9999999px;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
}
#header_principal {
    background-color: var(--grayscale-background);
}
#header_principal .container,
#header_principal .container > .row {
    height: 100%;
}
#header_principal .container {
    position: relative; 
}
nav#navigation {
    text-align: right;
    margin-top: 0;
}
nav#navigation > div > ul {
    width: 100%;
    padding-left: 0;
    margin: 0;    
    font-family: var(--family-title);
}
nav#navigation div ul li {
    margin-bottom: 0;
}
nav#navigation > div > ul li {
    display: inline-block;
    position: relative;
}
nav#navigation > div > ul li a {
    color: var(--grayscale-title);
    display: block;
    padding: 24px 12px;
    font-size: 0.9em;
    font-weight: var(--weight-medium);
    height: 75px;
    text-decoration: none;
    -webkit-transition: all 0.2s ease-in-out;
            -o-transition: all 0.2s ease-in-out;
            transition: all 0.2s ease-in-out;
}
nav#navigation > div > ul li a:before {
    content: " ";
    display: block;
    width: 0;
    background-color: var(--primary);
    margin: 0;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    position: relative;
    top: 24px;
    height: 4px;
    left: 0;
}
nav#navigation > div > ul li a:hover {
    text-decoration: none;
}
nav#navigation > div > ul li.current-menu-item a:before,
nav#navigation > div > ul li.current-menu-parent a:before,
nav#navigation > div > ul li:hover > a:before {
    width: 100%;
}
nav#navigation > div > ul li > ul > li.current_page_item a {
    color: var(--primary)!important;  
}
nav#navigation > div > ul li > ul {
    visibility: hidden;
    display: block;
    position: absolute;
    background-color: var(--grayscale-dark);
    width: 220px;
    left: 50%;
    margin-left: -50%;
    margin-top: 0px;
    padding: 8px 12px;
    opacity: 0;
    -webkit-transition: all 0.3s ease-in-out;
            -o-transition: all 0.3s ease-in-out;
            transition: all 0.3s ease-in-out;
}
nav#navigation > div > ul li > ul.active{
    visibility: visible; 
    opacity: 1;
}
nav#navigation > div > ul li > ul > li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    margin: 10px 0;
    font-size: 0.9em; 
    text-transform: none;
}
nav#navigation > div > ul li > ul > li a {
    color: var(--grayscale-white);
    display: block;
    padding: 0;
    height: auto;
    text-align: left;
}
nav#navigation > div > ul li > ul > li a:hover {
    color: var(--secondary)!important; 
}
nav#navigation ul.sub-menu a:before {
    display: none;
}
.responsive_trigger,
#app_burguer {
    display: none;
}

/* ===============================
    HEADER - Hero transparency 
=============================== */
body.transparent_header main,
body.transparent_header main#ui_kit {
    padding-top: 0;
}
body.transparent_header header #header_principal {
    background-color: transparent;
}
body.transparent_header header.sticky #header_principal {
    background-color: var(--grayscale-background);
}
body.transparent_header header nav#navigation > div > ul li a {
    color: var(--grayscale-white);
}
body.transparent_header header.sticky nav#navigation > div > ul:not(.sub-menu) > li > a {
    color: var(--grayscale-title); 
}
body.transparent_header header nav#navigation > div > ul li a:before {
    background-color: var(--secondary);
}
body.transparent_header header.sticky nav#navigation > div > ul li a:before {
    background-color: var(--primary);
}
body.transparent_header header #logo_wrapper a img,
body.transparent_header header.sticky #logo_wrapper a img#logo_inverse {
    opacity: 0;
}
body.transparent_header header #logo_wrapper a img#logo_inverse,
body.transparent_header header.sticky #logo_wrapper a img {
    opacity: 1!important;
}

/* ===========================
    HERO  
=========================== */
/*
#hero_section {

}
*/
#hero_section.container-fluid {
    padding: 0px;
    margin-right: auto;
    margin-left: auto;
}
#hero_section .background {
    height: 340px;
}
.background {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

/* ===========================
    HERO - Video  
=========================== */
#mouse {
    width: 32px;
    height: auto;
    position: absolute;
    display: block;
    bottom: 40px;
    left: 50%;
    -webkit-transform: translate(-50%,0px);
            -ms-transform: translate(-50%,0px);
        transform: translate(-50%,0px);
}
@-webkit-keyframes mousebounce {
    0%    {   -webkit-transform:  translate(0px,-6px);   }
    50%   {   -webkit-transform:  translate(0px, 2px);   }
    100%  {   -webkit-transform:  translate(0px,-6px);   } 
}
@keyframes mousebounce {
    0%    {   
    -webkit-transform:    translate(0px,-6px);  
    transform:            translate(0px,-6px);
    }
    50%   {   
    -webkit-transform:    translate(0px,2px);   
    transform:            translate(0px,2px);
    }
    100%  {   
    -webkit-transform:    translate(0px,-6px);
    transform:            translate(0px,-6px);
    } 
}
#mouse line {
    -webkit-animation: mousebounce 0.9s linear infinite;
    animation:         mousebounce 0.9s linear infinite;
}
#video_background {
    top: 0;
    left: 0;
    width: 100vw;
    height: calc(100vh + 200px);
    background-size: cover;
    background-position: center;
    position: fixed;
    z-index: -1;
    overflow: hidden;
    top: -200px;
}
#video_background video { 
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    -webkit-transform: translateX(-50%) translateY(-50%);
        -ms-transform: translateX(-50%) translateY(-50%);
            transform: translateX(-50%) translateY(-50%);
    background: var(--grayscale-white);
    -webkit-transition: 1s opacity;
    -o-transition: 1s opacity;
    transition: 1s opacity; 
}
#hero_text {
    height: 100vh;
    position: relative;
}
#hero_text * {
    text-align: left;
    color: #fff;
}
#hero_text p {
    font-weight: var(--weight-medium);
    font-size: 1.2em;
}
#hero_effect {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    width: 100%;
    height: 100%;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

/* ===========================
    HERO & SLIDER - Content
=========================== */
.slide_content * {
    color: var(--grayscale-white);
    text-align: left;
} 
.slide_content *:not(a) {
    text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.30);
}
.slide_content *:after {
    color: var(--grayscale-white);
}
.slide_content blockquote {
    border-color: var(--grayscale-white);
}
.slide_content .container {
    position: relative;
    top: 50%;
    /*text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.35);*/ 
    -webkit-transform: translateX(0) translateY(-50%);
        -ms-transform: translateX(0) translateY(-50%);
            transform: translateX(0) translateY(-50%);
}

/* ===========================
    SLIDER
=========================== */
.slider_container, 
#generic_slider,
#home_slider {
    width: 100%;
    position: relative;
    overflow: hidden;
}
.slider_container {
    height: 100%;
}
#generic_slider{
    height: calc(80vh - 70px);
    min-height: 480px;
}
#home_slider {
    height: calc(90vh - 70px);
    min-height: 480px;
} 
.swiper-slide {
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
    align-items: center;
    overflow: hidden;
    background-size: cover!important; 
    background-position: center!important;
    background: transparent;
}
#cards_slider .swiper-slide {
    border-radius: var(--border-radius-medium);

}
.swiper-pagination-bullet {
    background-color: transparent;
    width: 12px;
    height: 12px; 
    opacity: 1;
}
.swiper-pagination.swiper-pagination-clickable {
    bottom: 20px;
}
.swiper-pagination-bullet {
    background-color: var(--grayscale-white);
    width: 24px;
    height: 6px;
    border-radius: var(--border-radius-medium);
    display: inline-block;
    position: relative;
    opacity: 0.4;
    margin: 0 4px !important;
}
.swiper-pagination-bullet:after {
    content: '';
    display: block;
    height: 20px;
    width: 100%;
    position: absolute;
    background: transparent;
    margin-top: -10px;
}
.swiper-pagination-bullet {
    border: 1px solid var(--grayscale-white);
}
.swiper-pagination-bullet.swiper-pagination-bullet-active {
    opacity: 1;
    /*background-color: var(--primary);
    border-color: var(--primary);*/
}
.swiper-pagination-fraction {
    color: var(--grayscale-white);
    font-weight: var(--weight-medium);
    font-size: 1.1em;
    bottom: 30px;
}
.swiper-button-next, 
.swiper-button-prev {
    color: var(--grayscale-white);
}
.swiper-button-next {
    right: 20px;
    left: auto;
}
.swiper-button-prev {
    left: 20px;
    right: auto;
}
.swiper-button-next:after, 
.swiper-button-prev:after {
    font-size: 36px;
}

/* ===========================
    HERO & SLIDER - Cards
=========================== */ 
#card_slider_wrapper {
    padding: 120px 0;
    background-color: var(--grayscale-dark);
    overflow: hidden;
} 
#card_slider_wrapper .slider_container {
    overflow: initial;
    padding-bottom: 60px;
}
#card_slider_wrapper .swiper-slide-prev {
    /* opacity: 0.5; */
}
.slide_card { 
    min-height: 320px;
    padding: 24px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    -ms-flex-line-pack: end;
        align-content: flex-end;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
}
#cards_slider {
    position: relative;
}
#cards_slider .swiper-pagination-fraction {
    bottom: 10px;
    font-weight: var(--weight-regular);
}
#cards_slider .swiper-button-next,
#cards_slider .swiper-button-prev {
    top: initial;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    bottom: 0;
}
#cards_slider .swiper-button-next:after, 
#cards_slider .swiper-button-prev:after {
    font-size: 24px;
}

/* ===========================
    FLEXIBLE CONTENT
=========================== */
#flexible_content {
    background-color: var(--grayscale-background);
    z-index: 9;
    position: relative;
}
#no_flex {
    width: 100%;
}
.gallery #no_flex {
    display: none;
}
#the_content .text_sidebar blockquote,
.flex_generic_content blockquote {
    margin-top: 0;
}
/* A. Generic Content */
.flex_generic_content {
    margin: 10px 0;
}
/* B. Text and Image */
.flex_text_n_image .responsive_image,
.flex_text_n_video .embed-responsive {
    margin-bottom: 1rem;
}
/* C. Text and Video */
.embed-responsive {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border-radius: var(--border-radius-medium);
}
.embed-responsive-16by9::before {
    padding-top: 56.25%;
}

.embed-responsive::before {
    display: block;
    content: "";
}
.embed-responsive .embed-responsive-item, 
.embed-responsive embed, 
.embed-responsive iframe, 
.embed-responsive object, 
.embed-responsive video {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.embed-responsive .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 9;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat; 
    cursor: pointer;
    -webkit-transition: all 0.35s ease-in-out;
            -o-transition: all 0.35s ease-in-out;
            transition: all 0.35s ease-in-out;
}
.embed-responsive .overlay.open {
    opacity: 0; 
}
.embed-responsive .overlay img {
    position: absolute;
    opacity: 0.8;
    width: 15%;
    width: 100px;
    height: auto;
    pointer-events: none;
    left: 50%;
    top: 50%;
    -webkit-transition: all 0.35s ease-in-out;
            -o-transition: all 0.35s ease-in-out;
            transition: all 0.35s ease-in-out;
    -webkit-transform: translateX(-50%) translateY(-50%) translateZ(0);
        -ms-transform: translateX(-50%) translateY(-50%) translateZ(0);
            transform: translateX(-50%) translateY(-50%) translateZ(0);
}
.embed-responsive .overlay:hover img {
    opacity: 1;
} 
/* E. Background Content */
.flex_background_content {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;  
    position: relative;
    padding: 0;
    margin: 0;
    padding: 140px 0;
    background-color: var(--grayscale-white); 
}
.flex_background_content.primary {
    background-color: var(--primary);
}
.flex_background_content.secondary {
    background-color: var(--secondary);
}
.flex_background_content:not(.white) *:not(.the_button) {
    color: var(--grayscale-white);
}
.flex_background_content *:after {
    color: var(--grayscale-white);
}
.flex_background_content p,
.flex_background_content li {
    font-size: 1em;
}
.flex_background_content.background {
    font-weight: var(--weight-bold);   
    padding: 140px 0;  
}
.featured {
    padding: 240px 0!important; 
}
.background p,
.background li {
    font-weight: var(--weight-medium);
}
.featured p,
.featured li {
    font-size: 20px; 
}
/* F. Special list */
.flex_special_ul {
    margin-top: 15px;
    margin-bottom: 15px;
}
.flex_special_ul .special_ul {
    padding: 0;
    margin: 0;
}
.flex_special_ul .special_ul > li {
    list-style: none;
    padding: 0;
    display: block;
}
.flex_special_ul .special_ul.two_columns > li,
.flex_special_ul .special_ul.random > li {
    float: none;
    padding-right: 15px;
    display: inline-block;
    vertical-align: bottom;
}
.flex_special_ul .special_ul.two_columns > li {
    width: calc(50% - 4px);
}
.flex_special_ul .special_ul.random > li {
    width: auto;
}
.flex_special_ul .special_ul > li > div {
    background-color: var(--grayscale-white);
    border-left: 4px solid var(--primary);
    margin-bottom: 12px;
    padding: 6px 15px 6px 12px;
    display: table;
}
/* G. Toggle cards */
/*
.flex_toggle_card {

}
*/
.tab_ul {
    margin-top: 10px;
    margin-bottom: 10px;
}
.toggle_card {
    padding: 0;
    margin: 0;
    background-color: var(--grayscale-white);
    border: 2px solid var(--grayscale-title); 
}
.add_padding {
    padding: 1rem 1rem 0.90em;
    display: block;
}
.toggle_title_lv1, 
.toggle_title_lv2 {
    position: relative;
    padding-right: 50px;
}
.toggle_title_lv1 h3,
.toggle_title_lv1 span {
    font-size: 1.1em;
}
.toggle_title_lv2 h4, 
.toggle_title_lv2 span {
    font-size: 0.9em;
}
.toggle_title_lv1 h3,
.toggle_title_lv2 h4 {
    margin: 0;
}
.toggle_title_lv1 span, 
.toggle_title_lv2 span {
    position: absolute;
    display: block;
    right: 0.6em;
    font-size: 2em;
    top: 50%;
    margin-top: -0.65em;
    font-weight: var(--weight-medium);
}  
.toggle_title_lv2 span {
    margin-top: -0.7em; 
}
.toggle_content_lv1,
.toggle_content_lv2 {
    display: none;
}
.toggle_content_lv1 > .add_padding {
    background-color: var(--grayscale-background);
    border-top: 2px solid var(--grayscale-body);
    padding: 30px 20px 15px;
}
.toggle_card_lv1,
.toggle_card_lv2 {
    margin-bottom: 0;
}
.toggle_card_lv2 {
    border-top: 2px solid var(--grayscale-body);
}
.toggle_card_lv2 .add_padding {
    padding: 20px 30px;
}
.toggle_content_lv2.add_padding {
    padding: 30px 30px 20px;
    border-top: 2px solid var(--grayscale-body);
    background-color: var(--grayscale-background);
}
.toggle_content_lv2 ul {
    padding-left: 30px;
}
.toggle_content_lv2 li {
    list-style: initial;
}
.sub_ul_toggle > li.toggle_card_lv2 {
    list-style: none;
}
.sub_ul_toggle {
    padding: 0;
    margin: 0;
}
.toggle_title_lv1.open .fa-angle-down:before,
.toggle_title_lv2.open .fa-angle-down:before {
    content: "\f106";
} 
.flex_toggle_card img {
    margin-bottom: 1rem;
}
/* H. Featured columns */
.flex_featured_columns {
    margin: 30px 0;
}
.flex_featured_columns .column_text {
    padding-left: 15px;
}
.flex_featured_columns .column_image {
    text-align: center;
    padding-right: 0;
}
.flex_featured_columns .column_image img {
    max-width: 60px;
    width: 100%;
}
.flex_featured_columns .featured_icon {
    width: 60px;
    height: auto;
    margin-bottom: 24px;
    display: block;
}
.flex_featured_columns.centered {
    text-align: center;
}
.flex_featured_columns.centered .featured_icon {
    margin: auto;
    margin-bottom: 10px;
}
/* G. Toggle card */
.flex_contact {
    margin-top: 30px;
    margin-bottom: 30px;
}
.flex_contact ul {
    padding: 0;
}
.flex_contact ul li {
    list-style: none;
    font-size: 15px; 
}
.flex_contact .form-control, 
.form-control {
    border-radius: 0;
    color: var(--primary);
    border: 2px solid var(--grayscale-title);
    -webkit-box-shadow: none;
            box-shadow: none;
}
.form-control:focus,
.form-control:active {
    outline: 0;
    outline-offset: -2px;
    text-decoration: none;
    -webkit-box-shadow: none;
            box-shadow: none;
    border: 1px solid var(--primary);
}
/*
.flex_contact .the_form h3 { 
    margin: 0;
}
*/
.nf-form-fields-required {
    margin-bottom: 4px;
}
div.form_icon {
    padding-right: 0;
}
.form_icon .material-icons {
    font-size: 2.2em;
    color: var(--primary);
}
.data_content a {
    color: var(--grayscale-body);
}
.data_content a:hover,
.form_icon a:hover .material-icons {
    color: var(--primary);
}
.data_content .icon_text h4 {
    margin-bottom: 0;
}
.icon_list_item {
    margin-bottom: 1em;
}
.form_icon,
.icon_text {
    display: inline-block;
    vertical-align: middle;
}
.form_icon {
    width: 44px;
}
.icon_text {
    width: calc(100% - 50px);
}
.data_content .row {
    margin-bottom: 5px;
}
.the_form .nf-form-content {
    padding: 0;
}
.the_form .nf-before-form-content {
    margin-bottom: 1em;
}
.the_form form .form-control {
    border-radius: 0;
    border: 0!important;
    background-color: transparent!important;
    -webkit-box-shadow: none;
            box-shadow: none;
    font-weight: var(--weight-medium);
    padding: 0;
    padding-bottom: 0px;
    font-size: 1em; 
    color: var(--grayscale-body)!important;
    border-bottom: 2px solid var(--grayscale-dark)!important;
}
.the_form form .form-control:focus,
.the_form form .form-control:active { 
    outline: 0;
    outline-offset: -2px;
    text-decoration: none;
    -webkit-box-shadow: none;
            box-shadow: none;
    border: 0!important;
} 
.the_form form .form-control:focus,
.the_form form .form-control:active {
    border-bottom: 2px solid var(--primary)!important; 
}
.the_form form .nf-error.field-wrap .nf-field-element:after,
.the_form form .nf-pass.field-wrap .nf-field-element:after {
    display: none!important;
}
.the_form form textarea.form-control {
    height: 100px;
}
.the_form form input[type=button] {
    all: unset;
    font-family: var(--family-title);
    background-color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 0;
    display: inline-block;
    padding: 12px 20px;
    text-transform: uppercase;
    font-weight: var(--weight-medium);
    color: var(--grayscale-white); 
    text-shadow: none;
    font-size: 12px;
    line-height: 12px;
    margin: 8px 0;
    cursor: pointer;
}
.the_form form input[type=button]:hover,
.the_form form input[type=button]:focus {
    background-color: var(--primary-dark);
    border: 2px solid var(--primary-dark);
    color: var(--grayscale-white);
}
.the_form form .checkbox-container.label-right label {
    font-size: 16px; 
    font-weight: var(--weight-regular);
    position: relative;
    z-index: 9;
}  
.the_form form .checkbox-container.label-right label {
    color: var(--grayscale-dark);
}
.the_form form .checkbox-container.label-right label a {
    font-weight: var(--weight-regular);
} 
.the_form form .checkbox-container.label-right label a:hover {
    text-decoration: underline;
} 
.the_form form .nf-error .nf-error-msg,
.the_form form .nf-error-msg {    
    font-size: 16px;
}
.the_form form .nf-error .nf-error-msg,
.the_form form .nf-error-msg {
    color: var(--secondary)!important;
}
.the_form form .nf-error .ninja-forms-field {
    border-color: var(--grayscale-dark)!important;
}
.the_form form .checkbox-wrap .nf-field-label label:before {
    font-size: 16px;
    left: -27px;
    top: -1px;
}
.the_form form .checkbox-wrap .nf-field-label label:after {
    background-color: transparent;
    border-color: var(--grayscale-dark);
}
.the_form form .checkbox-wrap .nf-field-label label:before {
    color: var(--grayscale-dark);
}
.the_form form .nf-field-container {
    margin-bottom: 24px;
}
.the_form form .nf-field-container.submit-container {
    margin-bottom: 0;
}
.the_form input::-webkit-input-placeholder {
    color: var(--grayscale-line); 
}

.the_form input:-ms-input-placeholder {
    color: var(--grayscale-line);
}

.the_form input::-moz-placeholder {
    color: var(--grayscale-line);
}

.the_form input::-ms-input-placeholder {
    color: var(--grayscale-line);
}

.the_form input::placeholder {
    color: var(--grayscale-line);
}
/* J. Featured cards */
.flex_card {
    margin-bottom: 30px; 
    overflow: hidden;
}
.flex_card > div {
    overflow: hidden;
    border-radius: var(--border-radius-medium);
}
.flex_featured_cards .responsive_image {
    border-radius: 0;
}
.flex_featured_cards .card_content {
    padding: 24px 24px;
    border-top: 0;
    background: var(--grayscale-white); 
}
.flex_featured_cards .card_content .the_button {
    margin-bottom: 0;
}
.no_image .card_content {
    padding: 30px 24px;
}
.flex_featured_cards .color {
    border: 0;
}
.flex_featured_cards .color *:not(a){
    color: var(--grayscale-white);
}
.flex_featured_cards .color *:after {
    color: var(--grayscale-white);
}
.flex_featured_cards .primary {
    background-color: var(--primary);
}
.flex_featured_cards .secondary {
    background-color: var(--secondary);
}
.flex_featured_cards .card.col-md-4.no_image .card_content {
    min-height: 270px;
}
.flex_featured_cards .card.col-md-6.no_image .card_content {
    min-height: 250px;
}
.flex_featured_cards .card.col-md-4.has_image .card_content {
    min-height: 290px;
}
.flex_featured_cards .card.col-md-6.has_image .card_content {
    min-height: 240px;
}
/* K. Post and pages */
.flex_posts_and_pages {
    padding-top: 10px;
}
.card_content .date {
    font-weight: var(--weight-medium);
    display: block;
    margin: 24px 0 8px;
}
.card_content .read_more {
    font-weight: var(--weight-medium);
    font-size: 16px;
}
.flex_posts_and_pages .card_content {
    position: relative; 
    padding-bottom: 40px;
}
.flex_posts_and_pages .card_content .text-right, 
.flex_posts_and_pages .card_content .text-center {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 0;
}
.flex_posts_and_pages .card_content h3 {
    -webkit-line-clamp: 2;
    height: 2.6em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}
.flex_posts_and_pages .overlay_wrapper {
    position: relative;
    display: block;
    cursor: pointer;
}
/* L. Iframe */
.flex_iframe {
    overflow: hidden;
}
.flex_iframe .container-fluid {
    padding: 0;
}
.flex_iframe:before,
.flex_iframe:after {
    content: '';
    display: block;
    height: 1px;
    width: 100%;
    background-color: var(--grayscale-white);
    z-index: 99999;
    position: relative;
}
/* Z. Rule */
.flex_rule {
    margin-top: 20px;
    margin-bottom: 20px;
}
.flex_rule hr {
    border-top: 1px solid var(--grayscale-line);
    margin: 0;
}
/* Z. white space */
.flex_space {
    background-color: var(--grayscale-background);
    padding-top: 10px;
    padding-bottom: 10px;
    width: 100%;
    height: 1px;
}
.flex_space.add_10px {
    padding-top: 3px;
    padding-bottom: 3px;
}
.flex_space.add_15px {
    padding-top: 8px;
    padding-bottom: 8px;
}
.flex_space.add_30px {
    padding-top: 15px;
    padding-bottom: 15px;
}
.flex_space.add_40px {
    padding-top: 20px;
    padding-bottom: 20px;
}

/* ===========================
    PAGE - Default
=========================== */
.page-template-default table {
    width: 100%;
    margin-bottom: 1em;
}
.page-template-default tbody {
    border: 2px solid var(--grayscale-title);
}
.page-template-default tr {
    border-bottom: 2px solid var(--grayscale-title);
}
.page-template-default th, .page-template-default td {
    padding: 0.6em;
}

/* ===========================
    PAGE - Blog
=========================== */
h1#blog_h1 {
    margin-top: 0px;
    margin-bottom: 15px;
}
.post_block {
    margin-bottom: 20px;
}
    .post_block .date {
    display: block;
    margin-bottom: 8px;
}
.post_block h3 {
    margin-bottom: 12px;
}
.page-template-template-blog .date,
.read-more {
    font-weight: var(--weight-medium);
}
#pagination {
    font-size: 16px;
    padding-left: 2px;
    font-weight: var(--weight-regular);
}
#pagination span, 
#pagination a {
    padding-bottom: 20px;
    display: inline-block;
    font-weight: var(--weight-medium);
}
/*
#page_search,
#page_taxonomy {
    padding-bottom: 30px;
}
*/

/* ===========================
    PAGE - Blog sidebar
=========================== */
#blog_sidebar h3 {
    text-transform: uppercase;
    color: var(--grayscale-dark);
    font-size: 16px;
    padding: 6px 0;
    margin: 8px 0px 8px;
}
#blog_sidebar a {
    color: var(--grayscale-body);
    font-weight: var(--weight-regular);
} 
#blog_sidebar a:hover {
    color: var(--primary);
} 
#blog_sidebar .widget_search {
    padding-bottom: 10px;
}
#blog_sidebar > div {
    margin-bottom: 20px;
}
#blog_sidebar .search {
    position: relative;
}
#blog_sidebar .search input {
    background-color: var(--grayscale-white);
    border: 1px solid var(--grayscale-line);
    padding: 8px;
    width: 100%;
    padding-right: 50px;
    color: var(--grayscale-body);
}
#blog_sidebar .search button[role="button"] {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--grayscale-white);
    border: 1px solid var(--grayscale-line);
    border-left: 0;
    height: 100%;
    width: 40px;
    text-indent: -999999px;
    background-image: url(../img/form/search-icon.png);
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: center;
} 
#blog_sidebar ul {
    padding: 0;
}
#blog_sidebar ul li {
    list-style: none;
    margin-bottom: 6px;
}

/* ===========================
    SINGLE - Post
=========================== */
#single_page {
    padding-bottom: 30px;
}
#single_page .responsive_image {
    margin-bottom: 15px;
}
#single_page #date {
    font-weight: var(--weight-medium);
    margin-bottom: 8px;
    display: block;
}
#single_page #taxonomy { 
    margin-top: 30px;
    font-weight: var(--weight-medium);
}
.links-bottom {
    border-top: 2px solid var(--grayscale-line);
    border-bottom: 2px solid var(--grayscale-line);

    height: 45px;
    line-height: 42px;
}
.links-bottom a {
    color: var(--grayscale-dark);
    text-transform: uppercase;
    font-size: 15px;
    font-weight: var(--weight-medium); 
}
.links-bottom a:hover {
    color: var(--primary);
}

/* ===========================
    GALLERY PAGE
=========================== */
.page-template-template-gallery main {
    padding-bottom: 0;
}
#generic_slider.gallery_slider{
    height: 90vh;
}
.photo_frame {
    cursor: pointer;
}
#gallery_photo_container.container {
    margin-top: var(--bootstrap-margin);
    margin-bottom: var(--bootstrap-margin);
    padding: 10px; 
    padding-bottom: 60px; 
}
#gallery_photo .photo_frame .overlay {
    position: absolute;
    width: 100%;
    background: var(--grayscale-dark);
    bottom: -46px;
    top: initial;
    height: 45px;
    padding: 11px 18px;
    opacity: 0;
    -webkit-transition: all 0.25s ease-in-out;
            -o-transition: all 0.25s ease-in-out;
            transition: all 0.25s ease-in-out;
}
#gallery_photo .photo_frame:hover .overlay {
    bottom: 0;
    opacity: 1;
}
#gallery_photo .overlay span {
    line-height: 24px;
    color: var(--grayscale-white);
    font-weight: var(--weight-bold);
    font-size: 15px;
    display: block;
    width: calc(100% - 26px);
    white-space: nowrap;
    overflow: hidden;
    -o-text-overflow: ellipsis;
       text-overflow: ellipsis;
}
.resize_image {
    background-image: url(../img/arrows/resize_image.png);
    width: 40px;
    height: 40px;
    position: absolute; 
    right: 2px;
    top: 3px;
    background-size: 40px;
}
#generic_slider_wrapper {
    position: fixed;
    background-color: var(--grayscale-dark);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -9999;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.25s ease-in-out; 
            -o-transition: all 0.25s ease-in-out; 
            transition: all 0.25s ease-in-out;
    -webkit-transition-delay: 0.3s;
            -o-transition-delay: 0.3s;
       transition-delay: 0.3s;
}
#generic_slider_wrapper.open{
    z-index: 99999;
    opacity: 1;
    visibility: visible; 
}
#generic_slider_wrapper #gallery_slider {
    width: 100%;
    overflow: hidden;
    height: 100%;
}
#generic_slider_wrapper #gallery_slider .slider_container {
    width: 100%;
    height: 100%;
}
#generic_slider_wrapper #gallery_slider .swiper-slide {
    text-align: center;
    background: transparent;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
}
#generic_slider_wrapper #gallery_slider .swiper-slide img {
    -webkit-transition: all 0.25s ease-in-out; 
    -o-transition: all 0.25s ease-in-out; 
    transition: all 0.25s ease-in-out;
    max-height: calc(100vh - 150px); 
    max-width: calc(100vw - 150px);
}
#generic_slider_wrapper #gallery_slider .swiper-slide img,
#generic_slider_wrapper #gallery_slider .swiper-slide .slide-description {
    opacity: 0;
}
#generic_slider_wrapper #gallery_slider .swiper-slide.swiper-slide-active img,
#generic_slider_wrapper #gallery_slider .swiper-slide.swiper-slide-active .slide-description {
    opacity: 1; 
}
div.horizontal {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

div.vertical {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}
.slide-description {
    position: absolute;
    text-align: center;
    bottom: 0px; 
    left: 0;
    width: 100%;
    height: 75px;
    line-height: 75px;
}
#generic_slider_wrapper #gallery_slider .swiper-slide.swiper-slide-active .slide-description p {
    font-weight: var(--weight-bold);
    font-size: 14px;
    color: var(--grayscale-white);
    text-transform: uppercase;
}
#close_generic_slider_wrapper {
    cursor: pointer;
    position: absolute;
    width: 36px;
    height: 36px;
    right: 30px;
    top: 30px;
    background-image: url(../img/arrows/cross.png);
    background-size: 36px;
    background-position: 0px 0px;
    cursor: pointer;
    background-repeat: no-repeat;
    z-index: 999999;
}

/* ===========================
    FOOTER
=========================== */
footer {
    background-color: var(--grayscale-dark);
    color: var(--grayscale-white);
    padding: 50px 0 20px;
    margin-top: 0;
    z-index: 99;
    position: relative;
    font-weight: var(--weight-regular);
}
#footer_logo img {
    max-width: 160px;
    height: auto;
}
footer a,
#subfooter a {
    color: var(--grayscale-white);
}
footer a:hover,
#subfooter a:hover {
    color: var(--primary);
}
footer ul,
#subfooter ul {
    padding: 0;
}
footer ul li,
#subfooter ul li {
    list-style: none;
}
#footer_menu_list {
    font-family: var(--family-title);
}
#footer_menu_list ul li {
    font-size: 1.06em;
    margin-bottom: 6px;
    font-weight: var(--weight-medium);
}
#subfooter {
    font-size: 0.9em;
    background-color: var(--grayscale-dark);
    padding: 14px 0px;
    color: var(--grayscale-line);
    font-weight: var(--weight-regular);
}
#footer_copyright {
    text-align: center;
}
#subfooter a {
    color: var(--grayscale-line);
}
#footer_copyright a:hover {
    color: var(--primary);
}

/* ===========================
    SOCIAL MENU
=========================== */
ul.social_menu {
    display: block;
    padding: 0;
    text-align: left;
    margin: 0 0 20px;
    text-align: right;
}
ul.social_menu li {
    display: inline-block;
    font-size: 18px;
    margin: 0;
    line-height: 1;
}
ul.social_menu a {
    padding: 0 6px;
}
ul.social_menu li:last-child a {
    padding-right: 0;
} 
ul.social_menu a:hover {
    text-decoration: none;
}
ul.social_menu li span {
    text-indent: -99999px;
    display: inline-block;
    overflow: hidden;
}
ul.social_menu a i {
    font-size: 26px;
}
#subfooter ul {
    text-align: right;
}
#subfooter ul li,
#footer_legal .text-left span {
    display: inline-block;
    padding: 10px; 
}
#footer_legal .text-left span {
    padding-left: 0;
    padding-right: 0;
}
#subfooter ul li:last-child {
    padding-right: 0;
}
#legal_menu ul {
    margin-bottom: 0;
}

/* ===========================
    PAGE 404
=========================== */
main#page_404,
main#page_404 > section,
main#page_404 .row,
main#page_404 .container {
    min-height: calc(100vh - 72px); 
}
main#page_404 > section {
    padding: 0;
}
.error404 header,
.error404 footer,
.error404 #subfooter {
    display: none!important;
}
main#page_404 a.kensei_03 span,
main#page_404 a.kensei_03 i {
    display: inline-block;
    vertical-align: middle;
}
main#page_404 .naked_link {
    margin: auto;
    margin-top: 32px;
}

/* ===========================
    FC COOKIES
=========================== */
#fc_cookies_card {
    background-color: var(--grayscale-white);
}
#fc_cookies_full_content,
#cookie_icon > div {
    background-color: var(--grayscale-background);
}
#fc_cookies_cropped_content::-webkit-scrollbar-track {
    background-color: var(--grayscale-white);
}
fcc-cookie_type {
    border-bottom: 1px var(--grayscale-line);
}
.fcc-heading-1,
.fcc-heading-2,
.fcc-the_button {
    font-family: var(--family-title);
    font-weight: var(--weight-medium);
}
.fcc-heading-1,
.fcc-heading-2 {
    color: var(--grayscale-title);
}
.fcc-the_button {
    font-size: 14px;
}
.fcc-heading-1 {
    font-size: 17px;
}
.fcc-heading-2 {
    font-size: 15px;
}
#fc_cookies_card,
#fc_cookies_full_content,
.fcc-the_button {
    border-radius: 0;
}
#fc_cookies_card, #fc_cookies_cta {
    width: 100%;
    max-width: 480px;
}

/* ===========================
    MEDIAQUERIES
=========================== */

@media (max-width: 1200px) { 

    /* GENERAL STYLES */
    main { 
        min-height: auto;
    } 
    header {
        border-bottom: 0;
    }

}

@media (max-width: 1024px) {

    /* GENERAL STYLES */
    h1, .h1 {
        font-size: 1.6em;
    }
    h2, .h2 {
        font-size: 1.4em;
    }
    h3, .h3 {
        font-size: 1.2em;
    }
    h4, .h4 {
        font-size: 1.15em;
    }
    h5, .h5 {
        font-size: 1.05em;
    }
    h6, .h6 {
        font-size: 1em;
    }
    /* HEADER */
    #header_principal .row {
        text-align: center; 
    }
    header {
    overflow: visible;
    }
    #header_principal, nav#navigation {
        height: 72px;
    }
    nav#navigation {
        display: block;
        background-color: var(--grayscale-dark);
        background-color: var(--grayscale-background);
        position: fixed;
        left: 0;
        top: calc(-100vh + -40px);
        height: calc(100vh + 40px);
        width: 100%;
        color: var(--grayscale-white);
        z-index: -9;
        overflow: hidden;
        /* overflow-y: scroll; */
        padding: 120px 0 100px;
        margin-top: 0;
        -webkit-transition: all 0.3s ease-in-out;
                -o-transition: all 0.3s ease-in-out;
                transition: all 0.3s ease-in-out;
    }
    nav#navigation.open {
        top: 0;
    }
    nav#navigation > div {
        margin-right: auto;
        margin-left: auto; 
        padding-left: var(--bootstrap-padding);
        padding-right: var(--bootstrap-padding);
        width: 100%;
        max-width: 960px;
    }
    nav#navigation a:focus {
        color: var(--primary)!important;
    }
    nav#navigation > div > ul li a:before {
        display: none;
    }
    nav#navigation > div > ul {
        padding: 0;
        margin-top: 0;
        height: auto; 
        display: -webkit-box; 
        display: -ms-flexbox; 
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-align: start;
            -ms-flex-align: start;
                align-items: flex-start;
    }
    nav#navigation > div > ul li {
        text-align: left;
        padding: 0;
        position: relative; 
    }
    nav#navigation > div > ul li.current_page_parent > a,
    nav#navigation > div > ul li.current_page_item > a,
    nav#navigation > div > ul li > ul > li.current_page_item > a {
        color: var(--primary)!important;  
    }
    nav#navigation > div > ul > li a,
    nav#navigation .sub-menu li.ul-title a {
        font-size: 26px;
    }
    nav#navigation > div > ul > li a {
        padding: 12px 0;
        height: auto;
        color: var(--grayscale-title);
        position: relative;
    }
    nav#navigation > div > ul > li:first-child > a {
        padding-top: 0;
    }
    nav#navigation > div > ul > li a:hover {
        color: var(--primary);
    }
    nav#navigation > div > ul > li.menu-item-has-children > a {
        width: auto; 
        width: -webkit-fit-content; 
        width: -moz-fit-content; 
        width: fit-content; 
        padding-right: 46px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: start;
            -ms-flex-pack: start;
                justify-content: flex-start;
        -webkit-box-align: baseline;
            -ms-flex-align: baseline;
                align-items: baseline;
    }
    nav#navigation > div > ul > li.menu-item-has-children .sub-menu > li > .responsive_trigger {
        height: initial;
        opacity: 0.5;
    }
    nav#navigation > div > ul > li.menu-item-has-children > a .responsive_trigger,
    nav#navigation > div > ul > li.menu-item-has-children .sub-menu > li > .responsive_trigger {
        display: block;
        position: relative;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-size: 16px; 
    }
    nav#navigation > div > ul > li.menu-item-has-children > a .responsive_trigger {
        margin-left: 6px;
    }
    nav#navigation > div > ul > li.menu-item-has-children > a .responsive_trigger i {
        font-size: 22px;
        color: var(--primary);
    }
    nav#navigation > div > ul > li.current-menu-parent.menu-item-has-children ul {
        display: inline-block; 
    }
    nav#navigation > div > ul > li ul {
        display: block;
        visibility: visible;
        position: relative;
        opacity: 1;
        color: var(--grayscale-white);
        background-color: var(--grayscale-white); 
        width: -webkit-fit-content; 
        width: -moz-fit-content; 
        width: fit-content; 
        left: 0;
        margin: 0;
        padding: 0.8em 0;
        position: fixed;
        top: 0;
        left: 102vw;
        width: 60vw;
        height: 100vh;
        padding-top: 124px;
        z-index: 99;
    }
    nav#navigation.open > div > ul > li ul.open {
        left: 40vw;
    }
    nav#navigation > div > ul > li ul li {
        margin: 0;
        padding: 0;
    }
    nav#navigation > div > ul > li ul li a, 
    nav#navigation > div > ul > li ul li .responsive_trigger {
        padding: 10px 16px;
        line-height: 1;
        font-size: 1.15em;
        color: var(--grayscale-title);
    }
    nav#navigation .sub-menu li a, nav#navigation .sub-menu li .responsive_trigger {
        padding: 10px 40px;
    }
    nav#navigation > div > ul > li ul li > .responsive_trigger {
        display: -webkit-box!important;
        display: -ms-flexbox!important;
        display: flex!important;
        -webkit-box-align: end;
            -ms-flex-align: end;
                align-items: flex-end;
        margin-bottom: 8px;
    }
    nav#navigation > div > ul > li ul li > .responsive_trigger i {
        margin-right: 4px;
    }
    nav#navigation .back-button,
    nav#navigation .sub-menu li.ul-title {
        display: none;
    }
    /* APP BURGUER */
    header #menu-icon {
        width: 45px;
        height: 45px;
        margin-top: 0;
    }
    header #menu-icon .path {
        width: 100%;
        height: 4px;
        background-color: var(--grayscale-dark);
        top: calc(50% - 2px);
        position: relative;
        margin-top: -4px;
    }
    #app_burguer {
        all: unset;
        display: block;
        height: 45px;
        width: 45px;
        position: absolute;
        top: 16px;
        right: var(--bootstrap-padding);
        cursor: pointer;
    }
    header #app_burguer:hover {
        text-decoration: none;
        border-bottom: 0;
    }
    header #app_burguer #menu-icon .top {
        -webkit-transform:  rotate(0deg) translateY(-13px);
        -ms-transform:      rotate(0deg) translateY(-13px);
        transform:          rotate(0deg) translateY(-13px);
        -webkit-transition: all 0.2s ease-in-out;
        -o-transition:         all 0.2s ease-in-out;
        transition:         all 0.2s ease-in-out;
    }
    header #app_burguer #menu-icon .middle {
        -webkit-transform:  rotate(0deg);
        -ms-transform:      rotate(0deg);
        transform:          rotate(0deg);
        -webkit-transition: all 0.2s ease-in-out;
        -o-transition:         all 0.2s ease-in-out;
        transition:         all 0.2s ease-in-out;
    }
    header #app_burguer #menu-icon .bottom {
        -webkit-transform:  rotate(0deg) translateY(13px);
        -ms-transform:      rotate(0deg) translateY(13px);
        transform:          rotate(0deg) translateY(13px);
        -webkit-transition: all 0.2s ease-in-out;
        -o-transition:         all 0.2s ease-in-out;
        transition:         all 0.2s ease-in-out;
    }
    header #app_burguer.open #menu-icon .top {
        -webkit-transform-origin:   50% 50%;
        -ms-transform-origin:       50% 50%; 
        transform-origin:           50% 50%; 
        -webkit-transform:  rotate(-45deg);
        -ms-transform:      rotate(-45deg);
        transform:          rotate(-45deg);
        -webkit-transition: all 0.2s ease-in-out;
        -o-transition:         all 0.2s ease-in-out;
        transition:         all 0.2s ease-in-out;
    }
    header #app_burguer.open #menu-icon .middle {
        -moz-opacity: 0;
        -khtml-opacity: 0;
        opacity: 0;
        filter: alpha(opacity=0);
        -webkit-transition: all 0.2s ease-in-out;
        -o-transition:         all 0.2s ease-in-out;
        transition:         all 0.2s ease-in-out;
    }
    header #app_burguer.open #menu-icon .bottom {
        -webkit-transform-origin: 50% 50%;
        -ms-transform-origin:     50% 50%; 
        transform-origin:         50% 50%; 
        -webkit-transform:  rotate(45deg);
        -ms-transform:      rotate(45deg);
        transform:          rotate(45deg);
        -webkit-transition: all 0.2s ease-in-out;
        -o-transition:         all 0.2s ease-in-out;
        transition:         all 0.2s ease-in-out;
    }

    /* HEADER - Hero transparency */
    body.transparent_header header #menu-icon .path {
        background-color: var(--grayscale-white);
    }
    body.transparent_header header.sticky #menu-icon .path,
    body.transparent_header header #app_burguer.open #menu-icon .path {
        background-color: var(--grayscale-dark);
    }
    body.transparent_header header.sticky #header_principal,
    body.transparent_header header #header_principal.open {
        background-color: var(--grayscale-background);
    }
    #header_principal.open, 
    body.transparent_header header #header_principal.open {
        background-color: transparent;
    }
    body.transparent_header header #header_principal.open #logo_wrapper a img#logo_inverse,
    body.transparent_header header #logo_wrapper a img {
        opacity: 0;
    }
    body.transparent_header header #header_principal.open #logo_wrapper a img {
        opacity: 1;
    }
    body.transparent_header header nav#navigation > div > ul li a {
        color: var(--grayscale-title);
    }

    /* FLEXIBLE CONTENT */
    .flex_posts_and_pages .overlayed_text.landscape-panoramic {
        padding-top: 30px;
    }
    .flex_posts_and_pages .card_content {
        min-height: 270px;
    }
    .flex_posts_and_pages .card_content h3 {
        min-height: inherit;
    }
    .flex_background_content .text-right,
    .flex_background_content .text-left,
    .flex_background_content .text-center {
        text-align: left;
    }
}

@media (max-width: 992px) {
    /* HEADER */
    #header_principal .container {
        width: 100%;
    }
    /* FLEXIBLE CONTENT */
    .inverse.order-first {
        -webkit-box-ordinal-group: 3;
            -ms-flex-order: 2;
                order: 2;
    }
    .inverse.order-last {
        -webkit-box-ordinal-group: 2;
            -ms-flex-order: 1;
                order: 1;
    }
}

@media (max-width: 768px) {
    /* HEADER */ 
    #header_principal {
        padding: 0;
    }
    #app_burguer {
        top: 16px;
        right: var(--bootstrap-padding);
        height: 45px;
        width: 45px;
    }
    header #header_principal h1 {
        background-size: 230px;
        display: block;
        height: 100%;
    }
    /*
    nav#navigation{

    }
    */
    nav#navigation > div {
        max-width: 720px;
    }
    nav#navigation > div > ul > li ul li a {
        font-size: 1.1em;
    }
    nav#navigation > div > ul > li ul {
        width: 100vw;
    }
    nav#navigation.open > div > ul > li ul.open {
        left: 0;
    }
    nav#navigation > div > ul li > ul > li {
        margin-right: auto;
        margin-left: auto;
        --bs-gutter-x: 1.5rem;
        --bs-gutter-y: 0;
        width: 100%;
        max-width: 720px;
        padding-left: var(--bootstrap-padding);
        padding-right: var(--bootstrap-padding);
    }
    nav#navigation .sub-menu li a,
    nav#navigation .sub-menu > li > .responsive_trigger {
        display: block;
        width: 100%;
        padding: 10px 0;
    }
    nav#navigation .sub-menu li:not(.ul-title) a {
        font-family: var(--family-body);
        font-weight: var(--weight-regular);
        font-size: 18px;
    }
    nav#navigation .back-button,
    nav#navigation .sub-menu li.ul-title {
        display: flex;
    }
    nav#navigation .sub-menu li.ul-title a {
        border-top: 1.5px solid #c6d0d2;
        border-bottom: 1.5px solid #c6d0d2;
        padding-top: 14px;
        padding-bottom: 16px;
        margin-top: 4px;
        margin-bottom: 16px;
        justify-content: space-between;
        width: 100%;
        display: flex; 
    }
    nav#navigation .sub-menu li.ul-title a i {
        color: var(--primary);

    }
    nav#navigation > div > ul li > ul > li a:hover {
        color: var(--grayscale-title) !important;
    }
    
    /* FLEX CONTENT */
    #parallax_slider .swiper-slide,
    #generic_slider .swiper-slide,
    #home_slider .swiper-slide {
        padding: 20px 50px;
    } 
    .flex_posts_and_pages .card_content {
        min-height: auto;
    }
    /* Footer */
    ul.social_menu {
        text-align: left;
        margin-top: 20px;
    }
    #footer_legal .text-left,
    #subfooter ul {
        text-align: center;
    }
} 

@media (max-width: 480px) {

    /* GENERAL STYLES */
    h1, .h1 {
        font-size: 1.4em;
    }
    h2, .h2 {
        font-size: 1.3em;
    }
    h3, .h3 {
        font-size: 1.2em;
    }
    h4, .h4 {
        font-size: 1.1em;
    }
    h5, .h5 {
        font-size: 1em;
    }
    h6, .h6  {
        font-size: 0.9em;
    }

    /* HEADER */ 
    #header_principal .row {
        text-align: left;
    }
    nav#navigation {
        right: -110%;
        width: 100%;
    }
    nav#navigation,
    nav#navigation > div > ul > li ul {
        padding-top: 90px;
    }
    nav#navigation > div > ul > li a, 
    nav#navigation .sub-menu li.ul-title a {
        font-size: 23px;
    }
    nav#navigation > div > ul > li a {
        padding: 8px 0;
    }
    nav#navigation > div > ul > li:first-child > a {
        padding-top: 0;
    }
    #app_burguer {
        right: var(--bootstrap-padding);
    }

    /* HOME SLIDER */
    #home_slider {
        height: 100%;
    }
    .slide_content blockquote {
        border-left: 0;
        margin: auto;
    }
    .swiper-button-prev, 
    .swiper-button-next { 
        display: none;
    }
    #parallax_slider .swiper-slide, 
    #generic_slider .swiper-slide, 
    #home_slider .swiper-slide {
        padding: 20px 20px;
    }
    body.home #parallax_slider, 
    #home_slider {
        height: calc(100vh - 70px);
    }
    #parallax_slider, 
    #home_slider {
        height: calc(100vh - 100px);
    }
    /*
    #hero_effect {
        align-items: flex-end;
        padding-bottom: 120px;
    }
    */
    #mouse {
        bottom: 30px;
    }

    /* PAGE - DEFAULT */ 
    .table-wrapper {
        overflow-x:auto;
    }

    /* FLEXIBLE CONTENT */
    .flex_featured_columns .featured_icon {
        margin: auto;
        margin-bottom: 10px;
    }
    .flex_background_content {
        padding: 40px 0;
    }
    .flex_posts_and_pages .card_content {
        min-height: inherit;
        padding-bottom: 20px;
    }
    .flex_posts_and_pages .card_content .text-right, 
    .flex_posts_and_pages .card_content .text-center {
        position: relative;
        padding: 0;
    }
    .card_content .the_button {
        margin-top: 24px;
        display: block;
    }
    .flex_contact .data_content {
        margin-bottom: 15px;
    }
    .icon_text {
        padding-top: 12px;
    }
    .flex_space.add_15px {
        padding-top: 4px;
        padding-bottom: 4px;
    }
    .flex_space.add_30px {
        padding-top: 8px;
        padding-bottom: 8px;
    }
    .flex_space.add_40px {
        padding-top: 12px;
        padding-bottom: 12px;
    }
    .flex_toggle_card .responsive_image {
        margin-bottom: 10px;
    }
    .flex_featured_columns .col_icon {
        margin-bottom: 15px;
    }
    .flex_featured_columns.text-left .top {
        text-align: center; 
    }
    .flex_featured_cards .card.col-md-4.no_image .card_content {
        min-height: inherit;
    }
    .card_content .read_more {
        display: block;
        margin-top: 20px;
    }
    #gallery_slider .swiper-button-prev, 
    #gallery_slider .swiper-button-next {
        display: block;
    }
    .card {
        margin-bottom: 15px;
    }
    .flex_special_ul .special_ul.two_columns > li {
        width: 100%;
        padding: 0;
    }

    /* BLOG */
    .post_block {
        margin-bottom: 29px;
        border-bottom: 1px solid var(--grayscale-line);
        padding-bottom: 30px;
    }
    .post_block .responsive_image {
        margin-bottom: 10px;
    }
    .post_block .date {
        margin-top: 0;
    }
    .page-template-template-blog .date {
        margin-bottom: 0;
    }

    /* Footer */
    #footer_logo img {
        margin: auto;
        display: block;
        margin-bottom: 30px;
    }
    #footer_menu_list ul {
        text-align: center;
    }
    #footer_menu_list ul li {
        margin-bottom: 8px;
        line-height: 1.15;
    }
    ul.social_menu {
        text-align: center;
    }
    ul.social_menu a,
    ul.social_menu li:last-child a {
        padding: 0 8px;
    }

    /* FC Cookies */
    #fc_cookies_card {
        width: calc(100% - 40px);
    }
    .fcc-the_button {
        width: 100%;
    }
    .fcc-the_button.filled {
        margin-bottom: 12px;
    }
} 

