.cookie-banner {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    position: fixed;
    bottom: 0;
    margin-left: 10%;
    width: 80%;
    color: #0A3E5C;
    text-align: center;
    z-index: 101;
    -webkit-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    transition: all 300ms ease;
    background: rgba(243, 245, 247, 0.95);
    box-shadow: 0 4px 8px -2px rgba(16, 24, 40, 0.10), 0 2px 4px -2px rgba(16, 24, 40, 0.06);
    border-radius: var(--Values-m, 14px);
    padding: 20px 0;
}
.cookie-banner > p, .cookie-banner > h3{
    padding: 1rem 1rem 0.5rem;
    font-size: 1.4rem;
    margin: 0 24px;
    line-height: 1.4em;
    margin-bottom: 20px;
}
.cookie-banner > h3{
    width: 100%;
    text-align: start;
    font-weight: 900;
}
.cookie-banner > span{
    width: 100%;
    padding: 0 16px;
    margin: 0 24px;
    font-size: 1rem;
    text-align: start;
    display: block;
}
.cookie-banner .buttons{
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 1100px;
    margin-bottom: 20px;
    gap: 32px;
}
.cookie-button{
    cursor: pointer;
    display: flex;
    padding: 12px 16px;
    align-items: center;
    gap: 5px;
    border-radius: 14px;
    background: radial-gradient(105.43% 152.51% at 35.42% 14.58%, rgba(93, 150, 147, 0.55) 0%, rgba(93, 150, 147, 0) 100%), linear-gradient(87deg, rgba(57, 131, 145, 0.92) -25.14%, rgba(46, 106, 127, 0.92) 55.43%, rgba(68, 112, 135, 0.92) 137.56%);
    color: var(--white, #FFF);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.cookie-button:hover{
    background: linear-gradient(219deg, #DDC497 -29.73%, #AD8D5B 55.35%, #AF8755 103.41%) !important;
}
.cookie-button span{
    /*display: block;*/
    font-size: 0.7rem;
    display: inline;
}
.cookie-settings-link,
.cookie-link-doc{
    color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));

}
.cookie-link-doc a,
.cookie-settings-link a{

    color: #0A3E5C;
    text-decoration: none;
}

.cookie-link-doc a:hover,
.cookie-settings-link a:hover{
    color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));
}

.cookie-banner h3, .cookie-banner span, .cookie-banner .checboxes{
    text-align: center;
    max-width: 1100px;
}
.checboxes{
    width: 100%;
    padding: 10px 16px;
    margin: 0 24px;
    font-size: 1.2rem;
}
.checbox-row{
    text-align: start;
}
.large-button{
    padding: 10px;
}
#close{
    display: flex;
    padding: 12px 16px;
    align-items: center;
    gap: 5px;
    border-radius: 14px;
    color: #2e6b80;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    border: 2px solid #2e6b80;
    background: none;
}
#close:hover{
    background: none!important;
    color: #AF8755;

    border: 2px solid #AF8755;
}
#reject-all{
    display: flex;
    padding: 12px 16px;
    align-items: center;
    gap: 5px;
    border-radius: 14px;
    color: #2e6b80;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    border: 2px solid #2e6b80;
    background: none;
}
#reject-all:hover{
    background: none!important;
    color: #AF8755;

    border: 2px solid #AF8755;
}

/*---------Custom-checkbox---------------*/
.checboxes{
    display: flex;
    justify-content: center;
    flex-direction: row;
}
.customCheckbox {
    display: none;
}
.customCheckbox + label {
    font-size: 1rem;
    position: relative;
    padding-left: 25px;
    margin-right: 30px;
    height: 1.5em;
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}
.customCheckbox + label:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 1.4em;
    height: 1.4em;
    border: 1px solid #407A86;
    border-radius: 3px;
}
.customCheckbox:checked + label::before {
    border-color: #407A86;
    background-image: url('./img/checkmark.png');
    background-size: contain;
}
.customCheckbox:not(:disabled):not(:checked) + label:hover::before {
    border-color: #407A86;
}
.customCheckbox:focus + label::before {
    box-shadow: 0 0 3px 3px rgba(0, 136, 204, 0.4);
}
.customCheckbox:not(:disabled) + label:active::before {
    box-shadow: 0 0 3px 3px rgba(0, 136, 204, 0.4);
}
.customCheckbox:disabled + label {
    color: #687b84;
    cursor: not-allowed;
}
.customCheckbox:disabled + label::before {
    border-color: #687b84;
}
.customCheckbox:disabled:checked + label::before {
    background-image: url('./img/checkmark-disabled.png');
}
/*---------------END-Custom-checkbox----------------------*/
#settings-form{
    display: none;
}
@media screen and (max-width: 991px){
    .cookie-banner h3,.cookie-banner span,.cookie-banner .checboxes, .cookie-banner > p{
        margin-right: 0;
        margin-left: 0;
    }
    .cookie-banner > p, .cookie-banner h3{
        line-height: 0.8em;
        font-size: 1rem;
        margin-bottom: 10px;
    }
    .cookie-banner > span{
        line-height: 1.1em;
        font-size: 1rem;
    }
    .cookie-button {
        font-size: 0.8rem;
        max-width: none;
        margin: 5px 16px;
        padding: 7px;
    }
    .cookie-button span{
        display: inline;
    }
    .buttons{
        flex-direction: column;
    }
    .large-button{
        padding: 7px;
    }
    .checboxes{
        flex-direction: column;
    }
    .customCheckbox + label {
        padding-left: 45px;
    }
}