main > .container {
    padding: 70px 15px 20px;
}
.fs-1 { font-size: 2.5rem !important; }
.fs-2 { font-size: 2rem !important; }
.fs-3 { font-size: 1.75rem !important; }
.fs-4 { font-size: 1.5rem !important; }
.fs-5 { font-size: 1.25rem !important; }
.fs-6 { font-size: 1rem !important; }

main img,
main video{
    max-width: 100%!important;
    max-height: fit-content;
    border: none;
}

#loader-web{
    width: 100vw;
    height: 100vh;
    background-color: white;
    padding: 100vh 100vw;
    position: absolute;
    z-index: 9999;
}

.intro-website{
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    position: absolute;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 0;
    flex-direction: column;
    right: 0;
    bottom: 0;
    z-index: 1000000;
    overflow-y: auto;
}
.indicators-splash {
    height: 30px !important;
    border-radius: 50%;
}
.carousel-item-description {
    overflow: auto;
    width: 100%;
    height: 90%;
    margin-left: auto;
    margin-right: auto;
    /* display: flex;
    justify-content: center; */
}
@media (max-width:767px) {
    .carousel-item-description {
        align-items: center;
    }
}
.carousel-item-description img{
    width: 100%;
    height: auto;
}
.carousel-control-prev-icon.custom,
.carousel-control-next-icon.custom {
  background-size: 100%, 100%;
  background-image: none;
}

.carousel-control-next-icon.custom:after
{
    content: "\f105";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #0057b3;
    font-size: 3rem;
    line-height: 0;
}

.carousel-control-prev-icon.custom:after {
    content: "\f104";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #0057b3;
    font-size: 3rem;
    line-height: 0;
}
.btn-welcome-block{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    margin-bottom: 2rem;
}
.img-intro{
    width: 100%;
    object-fit: contain;
    object-position: center;
}
.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.font-prompt{
    font-family: 'Prompt';
}
.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th,
.grid-view td:last-child {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}
.input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}
#carouselNewsControls .carousel-indicators li,
#carouselBannerControls .carousel-indicators [data-bs-target]{
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 7px;
    background-color: #0057b3;
}
a:hover{
    text-decoration: none!important;
}
.footer-copyright{
    background: #1c0f34;
    color: #fff;
    height: auto !important;
}
.btn-language.active{
    color: #a64000;
}
.btn-language{
    padding: 0 12px;
    color: #65697b;
    font-size: 18px;
    font-weight: 300;
}
.btn-language:first-child{
    border-right: 1px solid #e4e4e4;
}
/* cookie-consent vendor CSS inlined to ensure it loads even if asset publishing fails on PRD */
.cookie-consent-popup {
    animation-name: show;
    animation-duration: 1s;
    animation-timing-function: ease;
    display: none;
    position: static;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999999;
}
.cookie-consent-popup.open {
    display: block;
    opacity: 1;
    animation-name: show;
    animation-duration: 1s;
    animation-timing-function: ease;
}
.cookie-consent-controls {
    max-height: 0;
    overflow: hidden;
    -webkit-transition: max-height 0.5s ease-out;
    -moz-transition: max-height 0.5s ease-out;
    transition: max-height 0.5s ease-out;
}
.cookie-consent-controls.open {
    max-height: 600px;
}
.cookie-consent-details {
    max-height: 0;
    overflow: hidden;
    -webkit-transition: max-height 0.5s ease-out;
    -moz-transition: max-height 0.5s ease-out;
    transition: max-height 0.5s ease-out;
}
.cookie-consent-details.open {
    max-height: 600px;
}
@keyframes show {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes hide {
    from { opacity: 1; }
    to   { opacity: 0; }
}
/* end vendor CSS */

.cookie-consent-popup{
    padding: 1rem 2rem;
    width: 100%;
    margin: 0 auto;
    background-color: #363535;
    color: #fff;
    border: 0;
    overflow-y: auto;
    position: static !important;
}
.cookie-consent-popup .cookie-consent-link{
    color: #fff;
    text-decoration: underline;
}

.cookie-consent-popup .cookie-consent-top-wrapper{

    display: flex;
    display: -webkit-flex;
    width: 80%;
    margin: auto;
    flex-wrap: wrap;
    justify-content: center;
}
.cookie-consent-popup .cookie-consent-accept-all{
    width: fit-content;
    text-align: center;
    padding: 0.25rem 2rem;
    display: block;
    margin-bottom: 0;
    font-weight: 400;
    line-height: 1.42857143;
    white-space: nowrap;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    color: #fff;
    background-color: #c25706;
    border-color: #c25706;
    border-radius: 50px;
}
.cookie-consent-popup .cookie-consent-controls-toggle,
.cookie-consent-popup .cookie-consent-details-toggle{
    display: none;
}
.cookie-consent-popup .cookie-consent-message {
    display: block;
    float: left;
    padding: 10px 0;
    margin: 0;
}
@media (min-width: 992px){
    .cookie-consent-popup .cookie-consent-message {
        -ms-flex: 0 0 83.333333%;
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }
}
#display-font-size{
    padding: 0px 12px;
    background-color: rgb(255, 255, 255);
    color: rgb(106, 106, 106);
    border: 1px solid rgb(24, 67, 146);
    line-height: 20px;
    font-size: 16px;
}
.increase-font-size{
    padding: 7px 12px;
    background-color: #184392;
    color: #ffffff;
    font-size: 10px;
    font-weight: bold;
}
.decrease-font-size{
    padding: 7px 12px;
    background-color: #a64000;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
}
.accessibility-color{
    background-color: #d5d5d5;
    padding: 3px;
    margin: 0 15px;
    border-radius: 3px;
    border: 0;
}
.accessibility-color-btn:hover{
    border: 2px solid #0057b3 !important;
}
.accessibility-color .theme-gold{
    padding: 1px 8px;
    background-color: #000000;
    border: 2px solid #d5d5d5;
    color: #fafa34;
    border-radius: 3px;
    margin: 0 2px;
    font-size: 16px;
    position: relative;
}
.accessibility-color .theme-light{
    padding: 1px 8px;
    background-color: #184392;
    border: 2px solid #d5d5d5;
    color: #fff;
    border-radius: 3px;
    margin: 0 2px;
    font-size: 16px;
    position: relative;
}
.accessibility-color .theme-dark{
    padding: 1px 8px;
    background-color: #ffffff;
    border: 2px solid #d5d5d5;
    color: #6a6a6a;
    border-radius: 3px;
    margin: 0 2px;
    font-size: 16px;
    position: relative;
}

.accessibility-color .theme-light.active {
    border: 2px solid #0057b3;
}
.accessibility-color .theme-light.active::after {
    content: "";
    border: 2px solid #0057b3;
    border-radius: 50%;
    position: absolute;
    width: 10px;
    height: 10px;
    background: #0057b3;
    top: -20%;
    right: -15%;
}
.accessibility-color .theme-dark.active {
    border: 2px solid #000000;
}
.accessibility-color .theme-dark.active::after {
    content: "";
    border: 2px solid #000000;
    border-radius: 50%;
    position: absolute;
    width: 10px;
    height: 10px;
    background: #000000;
    top: -20%;
    right: -15%;
}
.accessibility-color .theme-gold.active {
    border: 2px solid #fafa34;
}
.accessibility-color .theme-gold.active::after {
    content: "";
    border: 2px solid #fafa34;
    border-radius: 50%;
    position: absolute;
    width: 10px;
    height: 10px;
    background: #fafa34;
    top: -20%;
    right: -15%;
}

.page-item span{
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    line-height: 1.25;
    color: #0057b3;
    background-color: #fff;
    border: 1px solid #dee2e6;
    text-decoration: none;
}
.page-item.first span{
    margin-left: 0;
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}
.page-item.prev span,
.page-item.next span{
    margin-left: -1px;
}
.page-item.last span{
    margin-left: -1px;
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}
.input_search{
    border-radius: 5px;
    border: 1px solid #aaa;
    width: calc(100% - 85px);
    padding: 0.65rem 0.75rem;
}
.form-date{
    border-radius: 5px;
    border: 1px solid #aaa;
    width: calc(100% - 85px);
    padding: 0.65rem 0.75rem;
}
.d-flex-center{
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-tab-btn{
    width: 100%;
    position: relative;
}
.search-tab-btn .btn-search{
    position: absolute;
    right: 2%;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    border: none;
}
.btn-webform-submit{
    width: 300px;
}
.block-rss-feed-icon{
    background-color: #a64000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.block-rss-feed-icon .fa-rss{
    color: #fff;
    margin: 11px 13px;
}
.help-block{
    color: red;
}
/* header.main-menu{
    z-index: 9999;
} */

.item-news .card img{
    height: 200px;
    object-fit: contain;
    object-position: center;
    max-height: 200px;
}

@media (max-width: 992px){

    .item-news .card img {
        height: 100px; 
        max-height: fit-content;
        object-fit: fill;
    }

    .item-news .card .thumbnail-news {
        height: auto ;
    }
}

@media (max-width: 767px){

    .item-news .card .thumbnail-news {
        height: auto;
    }
   
    .item-news .card img{
        height: 350px ;
    }
}

@media (max-width: 420){

    .item-news .card img{
        height: 250px; 
        max-height: fit-content !important;
    }

}

.label-search{
    width: 80px;
    white-space: nowrap;
}

/* WCAG-compliant background highlight classes */
.bg-color-yellow { background-color: #ffff99; }
.bg-color-green  { background-color: #c6efce; }
.bg-color-red    { background-color: #ffc7ce; }
.bg-color-blue   { background-color: #bdd7ee; }
.bg-color-gray   { background-color: #ededed; }

/* WCAG 2.4.7: visible focus indicator for keyboard navigation */
:focus-visible {
    outline: 3px solid #0057b3 !important;
    outline-offset: 2px;
}

/* WCAG-compliant text color classes (contrast ≥ 4.5:1 on white) */
.text-color-black    { color: #000000; } /* 21:1   */
.text-color-gray     { color: #595959; } /* 7.0:1  */
.text-color-lightgray{ color: #767676; } /* 4.5:1  */
.text-color-navy     { color: #003087; } /* 11.5:1 */
.text-color-blue     { color: #0057b3; } /* 4.6:1  */
.text-color-teal     { color: #005f73; } /* 6.8:1  */
.text-color-green    { color: #006400; } /* 7.6:1  */
.text-color-purple   { color: #4b0082; } /* 10.7:1 */
.text-color-magenta  { color: #9b1d7a; } /* 7.3:1  */
.text-color-red      { color: #c00000; } /* 5.9:1  */
.text-color-orange   { color: #b35900; } /* 4.8:1  */
.text-color-brown    { color: #7b3f00; } /* 5.7:1  */
.news-datetime{
    font-size: 14px;
    color: #686868;
    background-color: #fff;
}
.news-datetime .fa-clock{
    font-size: 14px;
    color: #56575B;
    background-color: #fff;
}
.news-datetime svg path {
    fill: #56575B;
    background-color: #fff;
}
.item-news > a {
    background-color: #fff;
}
.cookie-consent-popup td,
.cookie-consent-popup th,
.cookie-consent-popup label,
.cookie-consent-popup span {
    background-color: transparent;
}
body > div[style*="z-index: 2000000000"] {
    position: absolute !important;
    overflow-y: auto;
}
p[style*="color"],
h4[style*="color"],
span[style*="color"],
a[style*="color"] {
    background-color: #fff;
}
/* G145: override position:absolute from .visually-hidden so scanner can determine background */
legend.visually-hidden {
    position: static !important;
    background-color: #184392;
    color: #fff;
}
/* WCAG 1.4.10: cookie bar overlays at bottom, content area keeps full height */
#main-content-wrap {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
}
body#bwsepo {
    overflow: hidden;
    position: relative;
}
.overlay {
    position: absolute !important;
}
/* WCAG 1.4.10 Reflow (C32, C33, SCR34): cookie bar fixed at bottom of viewport */
.block-cookies {
    width: 100%;
    z-index: 200;
    max-height: 50vh;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
}
/* WCAG 1.4.10: at 400% zoom (320px viewport), reflow to normal flow to prevent 2D scrolling */
@media (max-width: 320px) {
    .block-cookies {
        position: relative;
        bottom: auto;
        left: auto;
        max-height: none;
    }
}

/* G18-link */
/* G18: Override Bootstrap default link color (#0d6efd, 3.98:1) with accessible blue (#0057b3, 4.6:1 on white) */
a:not([class]):not([role]) {
    color: #0057b3;
}
