:root {
    --s-15-35: clamp(15px, calc(15px + (35 - 15) * ((100vw - 800px) / (1320 - 800))), 35px);
    --s-15-70: clamp(15px, calc(15px + (70 - 15) * ((100vw - 800px) / (1320 - 800))), 70px);
}

.gap-15 { gap: 15px; }
.gap-15-35 { gap: var(--s-15-35); }
.row-gap-15-35 { row-gap: var(--s-15-35); }

.col-gap-15-70 { column-gap: var(--s-15-70); }

.max-w-100ch { 
    max-width: 100ch; 
    margin-left: auto;
    margin-right: auto;
}

/* ~~~ ACCESSIBILITY ~~~ */
*:focus-visible {
    outline: 2px solid !important;
    outline-offset: 1px !important;
}

.skip-link {
    
    position: fixed;
    transform: translateY(-100%);
    z-index: -1; left: 30px; top: 30px;

    white-space: nowrap; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%);

    width: 1px; height: 1px; margin: -1px;
    background-color: #000 !important;
    color: #fff !important;
      
    padding: 10px;
    border: 3px solid;
}

.skip-link:focus {
    transform: translateY(0%);
    z-index: calc(Infinity);
    overflow: unset;
    clip: unset; clip-path: unset;
    width: auto; height: auto;
}


.block-link a::after { content: ""; }
.block-link:hover a::after {
    width: 100%; height: 100%; z-index: 10;
    position: absolute; top: 0; left: 0;
}

/* ~~~ MINI LAYOUT COMPONENTS ~~~ */ 
[class*="autogrid-"] { display: grid }

.autogrid-fill-200px { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)) }  
.autogrid-fill-250px { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)) }  
.autogrid-fill-300px { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)) }  
.autogrid-fill-350px { grid-template-columns: repeat(auto-fill, minmax(min(100%, 350px), 1fr)) }  
.autogrid-fill-400px { grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr)) }

.autogrid-fit-200px { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)) }  
.autogrid-fit-250px { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)) }  
.autogrid-fit-300px { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)) }  
.autogrid-fit-350px { grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr)) }  
.autogrid-fit-400px { grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)) }



.flow {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;							
}

.flow-c {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;	
    align-items: center;
}

.flow-c-c {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;	
    align-items: center;
    justify-content: center;
}

.flow-c-sb {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;	
    align-items: center;
    justify-content: space-between;
}

.flow-s-sb {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;	
    align-items: flex-start;
    justify-content: space-between;
}

.stack {
    display: flex;
    flex-direction: column;
}

.stack-c-c {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.main-with-sidebar { 
    display: flex; 
    flex-wrap: wrap; 
    align-items: flex-start;
}

.main-with-sidebar > *:not(.main, .sidebar) {
    flex-grow: 999; 
}
        
.main-with-sidebar > .main {  
    flex-grow: 999;
    flex-basis: 50ch;
}  
    
.main-with-sidebar > .sidebar { 
    flex-grow: 1; 
    flex-basis: 280px;
    align-self: flex-start; 
}

.flow-2col {
    display: flex; 
    flex-wrap: wrap; 
    align-items: flex-start;
}

.flow-2col > .main-col {  
    flex-grow: 999;
    flex-basis: 50ch;
}  

.flow-2col > .secondary-col {  
    flex-grow: 1; 
    flex-basis: 280px;
    align-self: flex-start; 
}  

.flow-2col > .secondary-col[data-width="450"] { flex-basis: 450px; }
.flow-2col > .secondary-col[data-width="800"] { flex-basis: 800px; }

.layer-absolute {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;  
}


/* SPACINGS */
.p-content {
    padding: 2.8rem 3rem 2.8rem;
}
        

/* ~~~ SOCIALS LIST GENERAL SIZE FIX ~~~ */
.socials-list a {
    display: inline-block;
    min-width: 24px;
    min-height: 24px;
    text-align: center;
}

/* ~~~ SEARCH BTN SIZING FIX ~~~ */
.search-button {
    min-width: 35px;
    min-height: 35px;
    text-align: center;
}

.search-button em {
    font-size: 22px;
}


/* ~~~~~~~~~~~~~~~~~~~~~ */
/* GENERAL DETAILS STUFF */
/* ~~~~~~~~~~~~~~~~~~~~~ */
:root {
    interpolate-size: allow-keywords;
    --top-bar-height: 0px;
    --duration-fast: 0.15s; 
    --timing-bezier: cubic-bezier(0.4, 0, 0.2, 1); 
    --20-40: clamp(20px, calc(20px + (40 - 20) * ((100vw - 992px) / (1280 - 992))), 40px);
}

@supports (transition-behavior: allow-discrete) and (interpolate-size: allow-keywords) {
    details {

        &::details-content {      
            height: 0;
            opacity: 0;
            transition: 
                height var(--duration-fast) var(--timing-bezier),
                opacity var(--duration-fast) var(--timing-bezier),
                content-visibility var(--duration-fast) var(--timing-bezier);
            transition-behavior: allow-discrete;
        }

        &[open]::details-content { 
            opacity: 1;      
            height: auto;
        }

    }
}

summary { list-style: none; }
summary::marker,
summary::-webkit-details-marker { display: none }

details summary::after {
    content: "";
    text-align: center;
    font-family: "Unicons";
    color: var(--bs-primary);
    font-weight: 700 !important;

    margin-left: auto;
    display: inline-flex;
    /* width: 30px; height: 30px; */
    min-width: 24px; min-height: 24px;
    align-items: center; justify-content: center;	
    transform: rotate(0deg);
    transition: transform 0.15s ease;	
}


/* ~~~~~~~~~~~~~ */
/* STICKY HEADER */
/* ~~~~~~~~~~~~~ */
.header { position: sticky; top: 0; z-index: 100; }

.new-navbar-nav,
.centered-menu { 
    will-change: padding; 
    transition: padding 0.3s ease !important; 
}
                                               
.header .header-logo { 
    transform-origin: left top; 
    transition: transform 0.3s ease;
}

.header .split-menu-logo .header-logo {
     transform-origin: center center; 
}

@media (min-width: 992px) {
    .header.is-sticky .centered-menu,
    .header.is-sticky .new-navbar-nav { padding: 0; }
    .header.is-sticky .header-logo { transform: scale(0.8); }
}



/* ~~~~~~~~~~~~~~ */
/* DETAILS NAVBAR */
/* ~~~~~~~~~~~~~~ */
.new-navbar-nav {
    width: 100%;

    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;

    row-gap: 12px;
    column-gap: clamp(20px, calc(20px + (40 - 20) * ((100vw - 992px) / (1920 - 992))), 40px);

    padding-top: var(--20-40);
    padding-bottom: var(--20-40);
}




/* .new-navbar-nav button.nav-link, 
.new-navbar-nav summary.nav-link, 
.new-navbar-nav a {
    padding: 0 !important;
} */

.new-navbar-nav li {
    position: relative;
    display: grid;
    align-items: center;
}

.new-navbar-nav li:has(details:only-child) {
    grid-template-columns: 1fr;
}

.new-navbar-nav li:has(a + details) {
    grid-template-columns: 1fr auto;
}

.new-navbar-nav details {
    display: contents;
}

.new-navbar-nav details summary {
    padding: 0 !important;
    color: var(--bs-nav-link-color);
    min-width: 30px;
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.new-navbar-nav details[open] summary::after {
    transform: rotate(-180deg);
}

.new-navbar-nav li:has(details:only-child) summary {
    display: flex; 
    justify-content: space-between;
    align-items: center;	
}

/* .new-navbar-nav details summary {
    color: currentColor;
} */

.new-navbar-nav details summary + * {
    --bs-dropdown-min-width: 10rem;
    --bs-dropdown-padding-x: 0;
    --bs-dropdown-padding-y: 1rem;
    --bs-dropdown-font-size: 0.75rem;
    --bs-dropdown-color: #343f52;
    --bs-dropdown-bg: var(--bs-white);
    --bs-dropdown-border-color: transparent;
    --bs-dropdown-border-radius: 0.4rem;
    --bs-dropdown-border-width: var(--bs-border-width);
    --bs-dropdown-inner-border-radius: calc(0.4rem - var(--bs-border-width));
    --bs-dropdown-box-shadow: 0rem 0rem 1.25rem rgba(30, 34, 40, 0.06);
    --bs-dropdown-link-color: #343f52;
    --bs-dropdown-link-hover-color: var(--bs-primary);
    --bs-dropdown-link-hover-bg: inherit;
    --bs-dropdown-link-active-color: var(--bs-primary);
    --bs-dropdown-link-active-bg: inherit;
    --bs-dropdown-link-disabled-color: #60697b;
    --bs-dropdown-item-padding-x: 1.5rem;
    --bs-dropdown-item-padding-y: 0.2rem;
    --bs-dropdown-header-color: var(--bs-primary);
    --bs-dropdown-header-padding-x: 1.5rem;
    --bs-dropdown-header-padding-y: 0.5rem;

    position: absolute;
    left: 0;
    top: calc(100% + var(--bs-dropdown-padding-y));
    z-index: calc(Infinity);

    padding: 0;

    gap: 10px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;

    min-width: var(--bs-dropdown-min-width);
    padding: var(--bs-dropdown-padding-y) var(--bs-dropdown-padding-y);
    margin: 0;
    font-size: var(--bs-dropdown-font-size);
    color: var(--bs-dropdown-color);
    text-align: left;
    list-style: none;
    background-color: var(--bs-dropdown-bg);
    background-clip: padding-box;
    border: var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);
    border-radius: var(--bs-dropdown-border-radius);
    box-shadow: var(--bs-dropdown-box-shadow);
}

.new-navbar-nav li > details:not([data-level="0"]) summary::after {
    transform: rotate(-90deg);
}

.new-navbar-nav li > details:not([data-level="0"]) summary + * {
    top: 0;
    left: calc(100% + var(--bs-dropdown-padding-y));
}

.new-navbar-nav .extra-link a {
    background: var(--bs-primary);
    padding-top: 0.3rem !important;
    padding-bottom: 0.3rem !important;
}

@media (max-width: 992px) {

    .new-navbar-nav {
        align-items: flex-start;
    }

    .new-navbar-nav li {
        width: 100%;
    }

    .new-navbar-nav details summary + * {
        position: relative;
        background: inherit;
        width: 100%;
        left: unset !important;
        top: unset;
        padding: 10px;
        padding-right: 0;
        min-width: unset !important;
    }

}

/* ~~~ LANGUAGE SELECTOR ~~~ */
details.language-dropdown {
    position: relative;
    padding: 0 5px; 
    font-size: 0.8rem;
}

.the-main-navbar.navbar-dark details.language-dropdown {
    color: #ffffff;
}

.the-main-navbar.navbar-light details.language-dropdown {
    color: #343f52;
}



details.language-dropdown summary {
    display: flex;   
}

details.language-dropdown summary::after {
    width: auto;
    height: auto;
}

details.language-dropdown summary + * {
    position: absolute;
    left: 0; top: 100%;
    z-index: calc(Infinity);
    width: 100%;
    margin: 0; padding: 0 5px;
}


/* ~~~~~~~~~~~ */
/* BURGER MODE */
/* ~~~~~~~~~~~ */
.desktop-burger .new-navbar-nav {	
    align-items: flex-start;
}

.desktop-burger .new-navbar-nav li {
    width: 100%;
}

.desktop-burger .new-navbar-nav details summary + * {
    position: relative;
    background: inherit;
    width: 100%;
    left: unset !important;
    top: unset;
    padding: 10px;
    padding-right: 0;
    min-width: unset !important;
}


/* ~~~~~~~~~~ */
/* SPLIT MODE */
/* ~~~~~~~~~~ */
.split-menu .navbar-collapse {
    padding-top: 25px;
    padding-bottom: 25px;
    row-gap: 12px;
    column-gap: clamp(20px, calc(20px + (40 - 20) * ((100vw - 992px) / (1920 - 992))), 40px);
}

.split-menu .new-navbar-nav {
    padding-top: 0;
    padding-bottom: 0;
    width: auto;
}

.split-menu .split-menu-left .new-navbar-nav {
    justify-content: flex-start;
}

.split-menu .split-menu-left, 
.split-menu .split-menu-right {
    /* height: 100%; */
    row-gap: 12px;
    column-gap: clamp(20px, calc(20px + (40 - 20) * ((100vw - 992px) / (1920 - 992))), 40px);
}

.split-menu .split-menu-right .new-navbar-nav {
    justify-content: flex-end;
}

@media (max-width: 992px) {

    .split-menu .split-menu-right {
        align-items: flex-start;
    }

    .split-menu .split-menu-right .new-navbar-nav {
        width: 100%;
    }
}


/* ~~~~~~~~~~~~~ */
/* MEDIA PRESETS */
/* ~~~~~~~~~~~~~ */
.media-cover { 
    object-fit: cover; 
    object-position: center;
    width: 100%; height: 100%; 
}

.media-contain { 
    object-fit: contain; 
    object-position: center;
    width: 100%; height: 100%; 
}

.object-fit-contain {
    object-fit: contain; 
}

.media-square {
    aspect-ratio: 1 / 1;
}

.map-full iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.font-reset {
    font-style: initial;
    font-size: initial;
    font-weight: initial;
}


/* ~~~~~~~~~~ */
/* PAGINATION */
/* ~~~~~~~~~~ */
.the-pagination {
    gap: 15px;
    margin-bottom: 30px;

    display: grid;
    place-items: center;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas: 
        "indx"
        "cntrls";
}

.the-pagination .pagination-index {
    grid-area: indx;
}

.the-pagination .controls {
    grid-area: cntrls;
}

.the-pagination .controls > ul {
    gap: 10px;
    margin: 0;
    display: flex;
    flex-wrap: wrap; 
}

.the-pagination .controls > ul li {
    min-width: 30px;
    min-height: 30px;
}

.pagination-item > * {
    width: 100%;
    height: 100%;
    
    display: inline-flex;
    align-items: center;
    justify-content: center;

    line-height: 1;
    font-size: 18px;
    text-align: center;
}

.pagination-item.control > * {
    font-size: 20px;
}

.pagination-item > *.ellipsis,
.pagination-item > *.current {
    cursor: not-allowed;
}   

.pagination-item > *.current {
    background: rgb(240 240 240 / 0.5);
    border: 1px dashed rgba(0, 0, 0, 0.5);
}


/* ~~~~~~~~~~~~~~~~~ */
/* SINGLE POST STUFF */ 
/* ~~~~~~~~~~~~~~~~~ */
.single .post-content > * + * {
    margin-bottom: 1rem;
}

.card.no-bottom-shadow {
    box-shadow: 
        0 -1px 0 0.05rem rgba(8, 60, 130, 0.06),
        0 -0.5rem 1.25rem rgba(30, 34, 40, 0.04);
}

.card.no-top-shadow {
    box-shadow: 
        -0.5rem 0 1.25rem rgba(30, 34, 40, 0.04), 
        0.5rem 0 1.25rem rgba(30, 34, 40, 0.04);
}

.card.no-shadow {
    box-shadow: unset;
}

.card-shadow {
    box-shadow: 0 0 0 0.05rem rgba(8, 60, 130, 0.06), 0rem 0rem 1.25rem rgba(30, 34, 40, 0.04);
}

.nav-link {
    display: block;
    padding: 0 !important;
    /* font-size: 1rem; */
    font-weight: var(--bs-nav-link-font-weight);
    color: var(--bs-nav-link-color);
    background: none;
    border: 0;
    transition: color 0.2s ease-in-out;
}


/* ~~~~~ */
/* LOGOS */
/* ~~~~~ */
.navbar-brand {
    width: clamp(100px, calc(100px + (175 - 100) * ((100vw - 992px) / (1920 - 992))), 175px);
    max-height: clamp(50px, calc(50px + (100 - 50) * ((100vw - 992px) / (1920 - 992))), 100px);
    display: flex;
}

/* Firefox snafu when logo is an SVG */
.navbar-brand a {
    display: flex;
    width: 100%;
}


.footer-logo {
    width: clamp(100px, calc(100px + (175 - 100) * ((100vw - 992px) / (1920 - 992))), 175px);
    max-height: clamp(50px, calc(50px + (100 - 50) * ((100vw - 992px) / (1920 - 992))), 100px);
    height: 100%;
    object-fit: contain;
    object-position: left;
}

.header-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left;
}

.split-menu-logo {
    width: clamp(100px, calc(100px + (200 - 100) * ((100vw - 992px) / (1920 - 992))), 200px);
    max-height: clamp(50px, calc(50px + (100 - 50) * ((100vw - 992px) / (1920 - 992))), 100px);
    flex-shrink: 0;
}

.split-menu-logo .header-logo {
    object-position: center;
}

.btn-reset {
    background: transparent;
    border: 0;
    padding: 0;
}

@media only screen and (max-width: 768px) {
    /* .header-logo {
        max-height: 50px;
    } */

	.mobile-animated-text {
		font-size: 22px;
	}
}

.navbar-clone .social-white .uil {
    color: #343f52 !important;
}

.navbar-expand-lg {
    padding: 0.4rem 0 !important;
}

.next::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    content: "";
}

.prev::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    content: "";
}

/* .product-box {
    position: relative !important;
	top: 0 !important;
	left: 0 !important;
} */

.sw-footer-widget ul {
    list-style: none;
    padding-left: 0;
}

.copyright-section.text-center {
	font-size: 0.6rem;
}

/* Wave Fixes */
/* .text-muted, .text-ash, .post-meta a, .post-meta .uil , .post-meta li a{
	color:#60697b; !important;
} */

.post-meta, .post-category{
	color:#434343 !important;
}

#form_name::placeholder,#form_lastname::placeholder,#form_email::placeholder,#form_phone::placeholder,#form_message::placeholder {
	color:#434343 !important;
}

.form-floating label {
	color:#434343 !important;
}

.nav-tabs.nav-tabs-basic .nav-link.active {
	color: #343f52;
	border-color: #343f52;
}

.nav-tabs .nav-link:hover {
    border-color: #343f52 !important;
}

.underline-3.style-2::after,
.underline-3.style-3::after {
    mask-repeat: no-repeat;
    mask-size: 100% 100%;
    background-color: var(--bs-primary);
}

.underline-3.style-2::after {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 208.01 8.3'%3E%3Cpath fill='var(--bs-primary)' d='M64.42,2.42Q42.78,1.46,21.19,0c-2.8-.19-4.09.89-3.87,2L3.92,1.87c-5.13-.05-5.28,3.87-.12,3.92l60.49.55c46.63,2.08,93.34,2.51,139.81,1.27,5-.13,5.39-3.87.13-3.92Z'/%3E%3C/svg%3E");
}

.underline-3.style-3::after {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 205 9.37'%3E%3Cpath fill='var(--bs-primary)' d='M202.47,9.37A1191.26,1191.26,0,0,0,1.79,7.48,1.67,1.67,0,0,1,0,5.92H0A1.76,1.76,0,0,1,1.63,4.21c67-5.71,133.83-5.43,200.8-.27A2.75,2.75,0,0,1,205,6.88h0A2.6,2.6,0,0,1,202.47,9.37Z'/%3E%3C/svg%3E");
}


/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* ~~~ TYPING EFFECT FIXES ~~~ */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.typing-text-wrapper {
    position: relative;
}

.typing-text-wrapper .text-normal {
    opacity: 0;
}

.typing-text-wrapper .text-typing {
    position: absolute;
    top: 0;
    left: 0;
    width:100%;
}


/* ~~~~~~~~~~~~~~~~~~~~~~~ */
/* ~~~ ACCORDION STUFF ~~~ */
/* ~~~~~~~~~~~~~~~~~~~~~~~ */
.accordion-wrapper .card-header {
    position: sticky;
    top: var(--header-height); 
    background: #ffffff;
}





