/*----COOKIE BANNER-----------------------------------*/

.cookieBar {position: fixed; right: 0; bottom: 0; left: 0; z-index: 99998; width: 100%; margin: 0; padding: 0; background: #101b40; box-shadow: 0 -4px 18px rgba(0,0,0,.2); border-top: 2px solid #ffd102;}
.cookieBar-content {width: 1180px; max-width: 100%; margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 28px; box-sizing: border-box;}
.cookieBar-copy {max-width: 720px;}
.cookieBar h2 {color: #fff; margin: 0 0 7px; font-size: 20px; line-height: 1.2;}
.cookieBar p {color: #fff; padding: 0; margin: 0; text-align: left; font-size: 15px; line-height: 1.5em;}
.cookieBar p a {color:#fff; font-weight: 700;}
.cookieBar p a:hover {text-decoration: underline;}
.cookie-buttons {display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; flex-shrink: 0;}
.cookie-buttons .cookie-btn {appearance: none; min-height: 42px; margin: 0; padding: 10px 16px; border: 2px solid #ffd100; border-radius: 0; background: #ffd100; color: #101b40; font: inherit; font-size: 15px; font-weight: 700; line-height: 18px; text-decoration: none; cursor: pointer; transition: background-color .2s ease-out, color .2s ease-out; box-sizing: border-box;}
.cookie-buttons .accept, .cookie-buttons .reject {min-width: 112px;}
.cookie-buttons .manage {display: inline-flex; align-items: center; background: transparent; color: #fff;}
.cookie-buttons .cookie-btn:hover, .cookie-buttons .cookie-btn:focus {background: #fff; border-color: #fff; color: #101b40;}
.cookie-buttons .cookie-btn:focus {outline: 3px solid #8bbfff; outline-offset: 2px;}

/*----COOKIE PREFERENCES------------------------------*/

.close-cookies {width: 22px; height: 22px; position: absolute; right: 20px; top: 20px;}
.close-cookies img {width:100%;}

.cookie-popup-outer {background-color: rgba(0,20,56,.5); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); position: fixed; left: 0; top: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; z-index: 99999; padding: 40px; opacity: 0; visibility: hidden; transform: translateY(30px); transition: 0.2s ease-out; box-sizing: border-box;}
.cookie-popup-outer.active {opacity: 1; visibility: visible; transform: translateY(0);}
.cookie-popup-container {width:730px; height: 590px; background-color:#ffffff; min-height: 20px; box-shadow: 0 7px 24px rgba(16,27,64,.22); color:#333; border: 1px solid #d7d7d7; border-radius: 2px;}

.cookie-popup-container-top {padding: 20px; display: flex; align-items: center; border-bottom: 1px solid #d8d8d8; position: relative;}
.cookie-popup-container-top h2 {font-size: 24px; margin: 0;}

.cookie-middle-container {height: calc(100% - 196px);}
.cookie-middle-content {position: relative; height: 100%; overflow-y: auto; overflow-x: hidden;}

.cookie-text-box {word-break: break-word; word-wrap: break-word; padding-top: 20px; padding-right: 16px; padding-bottom: 15px; position: absolute; top:0; left: 30%; width: 65.3333333333%; margin-left: 4%;}
.cookie-text-box h3 {margin-bottom: 1em; font-size: 15px;}
.cookie-text-box p {font-size: 13px; line-height: 1.4em; margin-bottom: 1em;}
.cookie-text-box p a {color:#333333; font-weight: 600;}

.cookie-tab-btn {display: block; width: 30.6666666667%; cursor: pointer; border: 0; border-left: 10px solid transparent; border-bottom: 1px solid #d7d7d7; border-radius: 0; background-color: #f4f4f4; color: #333; padding-top: 16px; padding-right: 5px; padding-bottom: 16px; padding-left: 12px; font: inherit; font-weight: 700; line-height: 1.3em; text-align: left;}
.cookie-tab-btn.active {background-color:#ffffff; border-left-color:#8bbfff;}
.cookie-tab-btn:focus {outline: 2px solid #101b40; outline-offset: -2px;}
.cookie-always-on {position: absolute; right: 20px; top: 10px; padding: 5px 9px; border-radius: 20px; background: #e8eef8; color: #101b40; font-size: 12px; font-weight: 700;}

.bottom-container {padding: 30px; border-top: 1px solid #d8d8d8; display: flex; justify-content: flex-end;}
.save-settings {padding: 12px 30px; border: 0; border-radius: 2px; background-color:#101b40; color: #ffffff; text-decoration: none; font-size: 14px; font-weight: 700; cursor: pointer; transition: 0.2s ease-out;}
.save-settings:hover, .save-settings:focus {background-color: #30426f;}
.save-settings:focus {outline: 3px solid #8bbfff; outline-offset: 2px;}

/* SWITCH */
.cookie-popup-container .switcher {display: inline-block; width: 40px; height: 24px; position: absolute; right: 20px; top:10px;}
.cookie-popup-container .switcher input {opacity: 0; width: 0; height: 0;}
.cookie-popup-container .slider {position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #767676; -webkit-transition: .4s; transition: .4s; height: 24px;}
.cookie-popup-container .slider:before {position: absolute; content: ""; height: 16px; width: 16px; left: 4px; bottom: 4px; background-color: white; -webkit-transition: .4s; transition: .4s;}
.cookie-popup-container input:checked + .slider {background-color: #101b40;}
.cookie-popup-container input:focus + .slider {box-shadow: 0 0 0 3px #8bbfff;}
.cookie-popup-container input:checked + .slider:before {-webkit-transform: translateX(16px); -ms-transform: translateX(16px); transform: translateX(16px);}
.cookie-popup-container .slider.round {border-radius: 24px;}
.cookie-popup-container .slider.round:before {border-radius: 50%;}
.visually-hidden {position: absolute!important; width: 1px!important; height: 1px!important; padding: 0!important; margin: -1px!important; overflow: hidden!important; clip: rect(0,0,0,0)!important; white-space: nowrap!important; border: 0!important;}

@media (max-width:700px) {
    .cookieBar-content {padding: 16px; display: block;}
    .cookieBar-copy {max-width: none;}
    .cookieBar h2 {font-size: 18px;}
    .cookieBar p {font-size: 14px;}
    .cookie-buttons {justify-content: stretch; margin-top: 14px; gap: 8px;}
    .cookie-buttons .cookie-btn {flex: 1 1 calc(50% - 4px); text-align: center;}
    .cookie-buttons .manage {justify-content: center; flex-basis: 100%;}
    .cookie-popup-outer {padding: 0;}
    .cookie-popup-container {width: 100%; height: 100%; border: 0;}
    .cookie-tab-btn {width:100%;}
    .cookie-text-box {position: relative; width:100%; margin: 0; padding: 20px 16px 20px 22px; left: auto; box-sizing: border-box;}
    .cookie-popup-container-top h2 {font-size: 20px;}
    .save-settings {width:100%; text-align: center;}
}
