#splash-page #cookie-consent-banner,
#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    right: 0;
    padding: 0;

    display: flex;
    flex-direction: column;

    opacity: 0.975;
    z-index: 1000;

    box-sizing: border-box;
    width: 100%;
    max-width: 700px;
    max-height: calc(100vh - 70px);

    background: #fff;
    box-shadow: 0 3px 30px #00000064;
    border-radius: 0;

    border: none;
}

@media (min-width: 576px) {
    #splash-page #cookie-consent-banner,
    #cookie-consent-banner {
        bottom: 20px;
        right: 20px;
        border-radius: 10px;
        width: calc(100% - 40px);
        max-height: calc(100vh - 40px);
    }
}

#splash-page #cookie-consent-banner h3,
#cookie-consent-banner h3,
#splash-page #cookie-consent-banner p,
#cookie-consent-banner p {
    color: #321a33;
    text-align: left !important;
}

#splash-page #cookie-consent-banner p:last-child,
#cookie-consent-banner p:last-child {
    margin-bottom: 0;
}

#splash-page #cookie-consent-banner p,
#cookie-consent-banner p {
    font-size: .95rem;
    margin-bottom: .9rem;
}

#splash-page #cookie-consent-banner .card-header,
#cookie-consent-banner .card-header {
    color: #145148;
    background-color: #145148;

    border-width: 1px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

@media (min-width: 576px) {
    #cookie-consent-banner .card-header:first-child, #splash-page #cookie-consent-banner .card-header:first-child {
        border-radius: 10px 10px 0 0;
    }
}

@media (min-width: 576px) {
    #cookie-consent-banner .card-footer:last-child, #splash-page #cookie-consent-banner .card-footer:last-child {
        border-radius: 0 0 10px 10px;
    }
}

#splash-page #cookie-consent-banner .card-header h3,
#cookie-consent-banner .card-header h3 {
    font-size: 1.2rem;
    line-height: 1.2em;
    color: #fff;
    margin-bottom: 0;
    margin-top: .1rem;
    margin-right: 1rem;
}

#cookie-consent-logo {
    display: none;
}

@media (min-width: 576px) {
    #cookie-consent-logo {
        display: block;
        width: 50%;
        max-width: 200px;
    }

    #splash-page #cookie-consent-banner .card-header h3,
    #cookie-consent-banner .card-header h3 {
        font-size: 1.3rem;
    }
}

@media (min-width: 768px) {
    #splash-page #cookie-consent-banner .card-header h3,
    #cookie-consent-banner .card-header h3 {
        font-size: 1.4rem;
    }
}

#splash-page #cookie-consent-banner .card-body,
#cookie-consent-banner .card-body {
    overflow: auto;
    padding: 1rem;
}

#splash-page #cookie-consent-banner .card-footer:last-child,
#cookie-consent-banner .card-footer:last-child {
    padding: 1rem;
    border-width: 1px;
}

.cookie-consent-options {
    padding: .5rem 0;
}

.custom-switch {
    display: inline-block;
    margin-top: 0;
    margin-bottom: 1rem;
    padding-left: 2.35rem;
}

.custom-switch .custom-control-label {
    cursor: pointer;
}

.custom-switch .custom-control-label::before {
    background-color: #fff;
    border-color: #adb5bd;
    box-shadow: inset 0 0.2rem 0.2rem rgba(0, 0, 0, 0.1);
}

.custom-switch .custom-control-input {
    cursor: pointer;
}

.custom-switch .custom-control-input ~ .custom-control-label::after {
    background-color: #adb5bd;
}

.custom-switch .custom-control-input:disabled ~ .custom-control-label {
    cursor: not-allowed;
}

.custom-switch .custom-control-input:disabled ~ .custom-control-label::before {
    background-color: #eee;
    border-color: #adb5bd;
}

.custom-switch .custom-control-input:disabled ~ .custom-control-label::after {
    background-color: #666;
}

.custom-switch .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #145148;
    border-color: #145148;
}

.custom-switch .custom-control-input:checked ~ .custom-control-label::after {
    background-color: #fff;
    transform: translateX(calc(1.5rem - 0.25rem));
}

.custom-switch.custom-switch-md .custom-control-label {
    font-size: 1.1em;
    padding-top: .4rem;
    margin: 0 1rem;
}

.custom-switch.custom-switch-md .custom-control-label::before {
    height: 1.5rem;
    width: calc(2rem + 0.75rem);
    border-radius: 3rem;
}

.custom-switch.custom-switch-md .custom-control-label::after {
    width: calc(1.5rem - 4px);
    height: calc(1.5rem - 4px);
    border-radius: calc(2rem - (1.5rem / 2));
}

.cookie-consent-buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-consent-buttons button {
    display: block;
    width: 150px;
    border: 0;
    border-radius: 10px;
    box-sizing: border-box;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    padding: 6px 5px;
}

@media (min-width: 576px) {
    .cookie-consent-buttons button {
        width: 175px;
        font-size: 1.1rem;
    }
}

@media (min-width: 768px) {
    .cookie-consent-buttons button {
        width: 200px;
        font-size: 1.2rem;
    }
}

.cookie-consent-buttons button:nth-of-type(1) {
    background-color: #145148;
}

.cookie-consent-buttons button:nth-of-type(2) {
    background-color: #999;
}

.cookie-consent-buttons button:nth-of-type(3) {
    background-color: #4E38C7;
}

#cookie-consent-banner .custom-switch .custom-control-input:checked:disabled~.custom-control-label, #splash-page #cookie-consent-banner .custom-switch .custom-control-input:checked:disabled~.custom-control-label {
    opacity: .5;
}

.custom-control {
   position: relative;
   z-index: 1;
   min-height: 1.8rem;
   padding-left: 2.5rem;
   print-color-adjust: exact;
}

.custom-control-input {
    position: absolute;
    left: 0;
    z-index: -1;
    width: 1rem;
    height: 1.4rem;
    opacity: 0;
}

.custom-control-label {
    position: relative;
    margin-bottom: 0;
    vertical-align: top;
}

.custom-control-input:checked~.custom-control-label::before {
    color: #fff;
    border-color: #007bff;
    background-color: #988650;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.custom-switch .custom-control-label::before {
    left: -3.25rem;
    width: 1.75rem;
    pointer-events: all;
    border-radius:
            .5rem;
}
.custom-control-label::before {
    -webkit-transition:
            background-color .15s
            ease-in-out, border-color .15s
            ease-in-out, -webkit-box-shadow .15s
            ease-in-out;
    transition:
            background-color .15s
            ease-in-out, border-color .15s
            ease-in-out, -webkit-box-shadow .15s
            ease-in-out;
    transition:
            background-color .15s
            ease-in-out, border-color .15s
            ease-in-out, box-shadow .15s
            ease-in-out;
    transition:
            background-color .15s
            ease-in-out, border-color .15s
            ease-in-out, box-shadow .15s
            ease-in-out, -webkit-box-shadow .15s
            ease-in-out;
}
.custom-control-label::before {
    position: absolute;
    top: .4rem;
    left: -2.5rem;
    display: block;
    width: 1rem;
    height: 1rem;
    pointer-events: none;
    content: "";
    background-color: #ececec;
    border: 1px solid #adb5bd;
    -webkit-box-shadow: inset 0 .25rem .25rem rgba(0, 0, 0, .1);
    box-shadow: inset 0 .25rem .25rem rgba(0, 0, 0, .1);
}

.custom-switch .custom-control-input:checked~.custom-control-label::after {
    background-color: #ececec;
    -webkit-transform: translateX(1,25rem);
    -ms-transform: translateX(1.25rem);
    transform: translateX(1.25rem);
}

.custom-switch .custom-control-label::after {
    top: calc(.4rem + 2px);
    left: calc(-3.25rem + 2px);
    width: calc(1rem - 4px);
    height: calc(1rem - 4px);
    background-color: #adb5bd;
    border-radius: .5rem;
    -webkit-transition:
            background-color .15s
            ease-in-out, border-color .15s
            ease-in-out, -webkit-transform .15s
            ease-in-out, -webkit-box-shadow .15s
            ease-in-out;
    transition:
            background-color .15s
            ease-in-out, border-color .15s
            ease-in-out, -webkit-transform .15s
            ease-in-out, -webkit-box-shadow .15s
            ease-in-out;
    transition:
            transform .15s
            ease-in-out, background-color .15s
            ease-in-out, border-color .15s
            ease-in-out, box-shadow .15s
            ease-in-out;
    transition:
            transform .15s
            ease-in-out, background-color .15s
            ease-in-out, border-color .15s
            ease-in-out, box-shadow .15s
            ease-in-out, -webkit-transform .15s
            ease-in-out, -webkit-box-shadow .15s
            ease-in-out;
}

.custom-control-label::after {
    position: absolute;
    top: .4rem;
    left: -2.5rem;
    display: block;
    width: 1rem;
    height: 1rem;
    content: "";
    background: 50% / 50% 50% no-repeat;
}

.text-nowrap {
    white-space: nowrap;
}

.cookie-consent-banner-open {
    color: #fff;
    background-color: #145148
}