/* CSS Document */

/* force footer section to bottom of page if there's not enough content */
html,
body {
    height: 100%;
    margin: 0;
}

body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-height: 100vh;
}

main {
    -webkit-box-flex: 1;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
    /* This makes the main content area grow to fill available space */
}

footer {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    /* Prevents the footer from shrinking */
}

#assoc_logos {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    overflow: hidden;
}

#assoc_logos .d-flex {
    -ms-flex-wrap: nowrap !important;
        flex-wrap: nowrap !important;
    width: 100%;
    overflow: hidden;
}

#assoc_logos img {
    max-height: 70px;
    height: auto;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    -o-object-fit: contain;
       object-fit: contain;
}

/* Logo link styling - remove the underline effect */
.logo-link::after,
#assoc_logos a::after {
    display: none !important;
    content: none !important;
    background: none !important;
}

@media (max-width: 992px) {
    #assoc_logos img {
        max-height: 60px;
    }
}

@media (max-width: 768px) {
    #assoc_logos img {
        max-height: 50px;
    }

    #assoc_logos .d-flex {
        -webkit-box-pack: center !important;
            -ms-flex-pack: center !important;
                justify-content: center !important;
    }
}

@media (max-width: 576px) {
    #assoc_logos img {
        max-height: 45px;
    }
}

body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-height: 100vh;
}


main a,
footer a {
    text-decoration: none;
    position: relative;
    -webkit-transition: color 0.3s ease;
    transition: color 0.3s ease;
}

main a::after,
footer a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    left: 0;
    -webkit-transition: background 0.3s ease;
    transition: background 0.3s ease;
}

/* main a {
    color: #850101;
} */

/* main a:not(:has(img))::after {
    background: rgba(133, 1, 1, 0.4);
    bottom: -1px;
} */

/* main a:hover::after {
    background: rgba(133, 1, 1, 1);
} */

footer a {
    color: #fff;
}

footer a::after {
    background: rgba(255, 255, 255, 0.4);
    bottom: -2px;
}

footer a:hover::after {
    background: rgba(255, 255, 255, 1);
}

/* Exception for logo links - no underline */
footer a.logo-link::after {
    display: none;
}

.banner-bg {
    background-image: url("../assets/images/banner.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 43px;
}

.content-link a:hover {
    color: #b93e40;
    text-decoration: none;
    border-bottom: 1px solid #b93e40 !important;
}

.content-link a {
    /* border-bottom: 3px solid transparent; */
    color: #6c757d;
    text-decoration: none;
    padding-bottom: 1px;
    border-bottom: 1px solid #990000 !important;
}

.req::after {
    content: "\00a0*";
    color: red;
}


.sticky-top {
    top: 36px;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    -webkit-transition: color 0.2s ease-in-out;
    transition: color 0.2s ease-in-out;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: #fff !important;
}

.navbar-nav .dropdown-toggle::after {
    opacity: 0.85;
    -webkit-transition: opacity 0.2s ease-in-out;
    transition: opacity 0.2s ease-in-out;
}

.navbar-nav .nav-link:hover .dropdown-toggle::after {
    opacity: 1;
}

.navbar .navbar-toggler {
    border-width: 1px;
    border-color: rgba(255, 255, 255, 0.8);
    padding: 0.25rem 0.5rem;
}

/* dropdown menu animation */
@media (min-width: 992px) {
    .dropdown-menu {
        animation-duration: 0.6s;
        -webkit-animation-duration: 0.6s;
        animation-fill-mode: both;
        -webkit-animation-fill-mode: both;
        -webkit-animation-name: slideIn;
        animation-name: slideIn;
    }
}

@-webkit-keyframes slideIn {
    0% {
        -webkit-transform: translateY(1rem);
        transform: translateY(1rem);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateY(0rem);
        transform: translateY(0rem);
        opacity: 1;
    }

    /* 0% {
    -webkit-transform: translateY(1rem);
    transform: translateY(1rem);
    opacity: 0;
} */
}

@keyframes slideIn {
    0% {
        -webkit-transform: translateY(1rem);
        transform: translateY(1rem);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateY(0rem);
        transform: translateY(0rem);
        opacity: 1;
    }
}

.text-bg {
    background-color: rgba(48, 43, 43, 0.69);
}

.swiper-wrapper {
    padding-bottom: 45px;
}

.swiper-pagination-bullet {
    width: 15px !important;
    height: 15px !important;
    display: inline-block;
    border-radius: 100%;
    background: #000;
    opacity: 0.2;
}

.photo-attrib {
    position: absolute;
    bottom: -45px;
    left: 35px;
}

a:hover {
    /* for menu links with href */
    cursor: pointer;
}


/* .hover-shadow:hover::after {
    opacity: 1;
} */

.page-link {
    color: gray;
}

.page-link:hover {
    color: black;
}



.cookies-notification-container {
    position: fixed;
    bottom: 16px;
    left: 0;
    width: 100%;
    z-index: 10000;
    display: none;
}

.cookies-notification {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    -webkit-box-shadow: 0 4px 16px 0 rgba(15, 16, 17, 0.15);
    box-shadow: 0 4px 16px 0 rgba(15, 16, 17, 0.15);
    background-color: #fff;
    border: 1px solid #b3c8e4;
    padding: 24px;
    display: table;
    color: #4a4a4a;
    text-align: right;
}

.cookies-notification>div {
    display: table-cell;
    vertical-align: middle;
}

.cookies-notification .learn-more {
    text-decoration: none;
    font-weight: 600;
}

#inpgrp_preferred,
#inpgrp_wntcode {
    position: fixed;
    left: 10000px;
}

@media screen and (max-width: 960px) {
    .cookies-notification-container {
        bottom: 0;
    }

    .cookies-notification {
        border: 0;
    }
}

@media screen and (max-width: 414px) {
    .cookies-notification {
        font-size: 14px;
        line-height: 16px;
        text-align: left;
    }

    .cookies-notification,
    .cookies-notification>div {
        display: block;
    }

    .cookies-notification .c {
        padding-right: 0;
        margin-bottom: 16px;
    }
}

/* -- */
/* ===== hover shadow ======= */
.hover-shadow {
    position: relative;
    -webkit-transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Shadow pseudo-element */
.hover-shadow::after {
    pointer-events: none;
    content: "";
    border-radius: 5px;
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-box-shadow: rgba(16, 16, 16, 0.7) 0 0 10px;
    box-shadow: rgba(16, 16, 16, 0.7) 0 0 10px;
    opacity: 0;
    -webkit-transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Hover effects */
.hover-shadow:hover {
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
}

.hover-shadow:hover::after {
    opacity: 1;
}