
/* ~~~ 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-fit-350px { grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr)) }
.autogrid-fill-350px { grid-template-columns: repeat(auto-fill, minmax(min(100%, 350px), 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; 
}


/* 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: 24px;
    min-height: 24px;
    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 { transition: padding 0.3s ease; }
.header .header-logo { transition: transform 0.3s ease; }
.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 + * {
    --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 summary {
    display: flex;
}

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

details.language-dropdown summary + * {
    position: absolute;
    left: 0;
    top: calc(100% + var(--bs-dropdown-padding-y));
    z-index: calc(Infinity);
}


/* ~~~~~~~~~~~ */
/* 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%; 
}

.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: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x); */
    padding: 0 !important;
    font-size: var(--bs-nav-link-font-size);
    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;
}


/* ~~~~~~ */
/* HEADER */
/* ~~~~~~ */
.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;
}


/* ~~~~~ */
/* LOGOS */
/* ~~~~~ */
.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 .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;
}
