/* --------------- LOGGED NAVBAR --------------- */
body {
    padding-top: 0 !important;
}


/* --------------- BORDER BOTTOM NAVLINK DROPDOWN ICON --------------- */
@media (max-width: 991px) {
    .nav-item.dropdown.active .active + .active {
        border-left: 3px solid rgba(0, 0, 0, 0) !important;
    }
}

/* --------------- SPLIDE SHADOW ALIGNMENT ADJUST --------------- */
/* .splide__track {
    width: calc(100% + 1rem); 
    left: -.5rem;
}
.splide__slide {
    height: 500px;
}
.splide__slide .card-bg {
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.1);
} */


/* --------------- SPLIDE CAROUSEL ARROWS POSITION FOR RESPONSIVE --------------- */
@media (max-width: 1299px) {
    .splide__arrows {
        left: -36px !important;
        right: -36px !important;
    }
}

@media (max-width: 1240px) {
    .splide__arrows {
        left: -24px !important;
        right: -24px !important;
    }
}

@media (max-width: 991px) {
    .splide__arrows {
        width: 100%;
        left: unset !important;
        right: unset !important;
    }
}


/* --------------- BOOTSTRAP CHIPS --------------- */
.chip.chip-simple {
    border: none !important;
}

span.chip-label {
    transform: none !important;
    line-height: 1.5em !important;
}

span.chip-label a {
    line-height: 1.5em !important;
}

span.chip-label:hover a {
    color: white;
}


/* --------------- WYSIWYG QUOTE --------------- */
blockquote {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem !important;
    margin: 1rem 2rem !important;
    border-color: var(--bs-primary) !important;
    font-style: italic;
    background: var(--bs-100);
}

blockquote p:last-child {
    margin-bottom: 0;
}

blockquote p:first-child {
    margin-top: 0;
}


/* --------------- PRE WYSIWYG --------------- */
pre {
    padding: 1rem;
    background: var(--bs-200);
}


/* --------------- SLIM INTERFASE BLOCK STYLE --------------- */
.slim-block-interfase {
    min-height: unset !important;
    max-height: 300px;
}


/* --------------- REGION HERO PAGINATION CENTER --------------- */
@media (min-width: 992px) {
    .interfase-carousel .splide__pagination {
        translate: -50% 0;
        right: unset !important;
        margin-left: 0 !important;
        margin-bottom: 1rem !important;
    }
}


@media(max-width: 991px) {
    .grid-nav-link {
        display: grid !important;
        grid-template-areas: 
            'link arrow'
            'submenu submenu';
    }

    .grid-nav-link .nav-link { grid-area: link; }
    .grid-nav-link .nav-link.dropdown-toggle { grid-area: arrow; }
    .grid-nav-link .dropdown-menu { grid-area: submenu; }

}

/* --------------- BASIC PAGE RELATED MARGIN --------------- */
.margin-top-related {
    margin-top: 10rem;
}
.custom-card-teaser::after {
    display: none !important;
}



/* CARD QUADRATE */
.quad-card {
    aspect-ratio: 1;
}
.custom-organization-hover:hover {
    border-color: var(--bs-primary) !important;
    box-shadow: unset !important;
    border: 1px solid var(--bs-primary) !important;
}
.custom-organization-hover:hover .card-title {
    color: var(--bs-primary) !important;
}


/* ATTACHMENTS SPACING */
.custom-attachments-margin {
    margin-top: 6rem;
}

/* .view-attachments .view-rows */

/*ambita login*/
.simplelogin-form .form-group .form-item{
    width: 100%;
    max-width: none;
}

.simplelogin-form input.form-submit,
.simplelogin-form button.form-submit, 
.simplelogin-form input.form-submit:hover,
.simplelogin-form input.form-submit:active,
.simplelogin-form input.form-submit:focus,
.simplelogin .link:hover, .simplelogin .link:focus {
    background-color: #53911F;
}


/* --------------- phantom gallery fix position --------------- */
.phantom-preview-gallery {
  position: fixed !important;
}