.cookie-footer {
    position: fixed;
    bottom: 0px;
    z-index: 999;
    width: 100%;
    height: 90px;
    background: #535353;
    color: white;
    padding-right: 30px;
    padding-left: 30px;
    display: none;
    align-items: center;
}

.cookie-footer .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-footer .close,
.cookie-modal .close {
    position: relative;
    width: 32px;
    height: 32px;
    opacity: 0.5;
}
.cookie-footer .close:hover,
.cookie-modal .close:hover {
    opacity: 1;
}
.cookie-footer .close:before, 
.cookie-footer .close:after,
.cookie-modal .close:before,
.cookie-modal .close:after {
    position: absolute;
    left: 15px;
    content: ' ';
    height: 33px;
    width: 2px;
    background-color: #fff;
}

.close::before.dark
.close::after.dark {
    background-color: black !important;
}
.cookie-footer .close:before,
.cookie-modal .close:before {
    transform: rotate(45deg);
}
.cookie-footer .close:after,
.cookie-modal .close:after {
    transform: rotate(-45deg);
}

.cookie-footer .max-width-60 {
    width: 55%;
}

.cookie-footer .width-400 {
    max-width: 400px;
}

.cookie-footer .close-div,
.cookie-modal .close-div {
    position: relative;
    height: 32px;
    width: 10%;
    display: flex;
    justify-content: flex-end;
}

#cookie_decline_all_button {
margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
    text-align: -webkit-center;
    border: 1px solid #C10B25;
    text-decoration: none;
    color: white;
    background: white;
    padding: 5px 15px;
    border-radius: 5px;
    /* margin-left: 10px; */
    white-space: nowrap;
    /* width: 60%; */
    right: 0px;
    /* position: absolute; */
    cursor: pointer;
}


#cookie_expand_button {
margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
    text-align: -webkit-center;
    border: 1px solid #C10B25;
    text-decoration: none;
    color: white;
    background: white;
    padding: 10px 15px;
    border-radius: 5px;
    /* margin-left: 10px; */
    white-space: nowrap;
    /* width: 60%; */
    right: 0px;
    /* position: absolute; */
    cursor: pointer;
}


#cookie_expand_button a {
    cursor:pointer;
}

.cookie-footer .allow-buttons,
.cookie-modal .allow-buttons {
    text-decoration: none;
    color: white;
    background: #C10B25;
    padding: 10px 15px;
    border-radius: 5px;
    margin-left: 10px;
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.buttons-div {
    display: flex;
    align-items: center;
}

.cookie-modal {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.3);
    display: none;
}


.cookie-content {
    left: 0 !important;
    right: auto;
    margin: 0 !important;
    height: 100%;
    border-radius: 0 !important;
}

.cookie-modal .cookie-content {
    background-color: white;
    border-radius: 10px;
    margin: 5% auto;
    padding: 10px;
    max-width: 500px;
    overflow: auto;
}

.cookie-modal .panel-title {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    position: relative;
    min-height: 32px;
}

.cookie-modal .panel-content {
    padding: 10px;
    line-height: 1.5;
}

.cookie-modal .panel-content p {
    padding-left: 15px;
}

.cookie-modal .panel-footer {
    display: flex;
    justify-content: flex-end;
    padding: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.cookie-modal .switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.cookie-modal .switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-modal .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.cookie-modal .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

.cookie-modal input:checked + .slider {
    background-color: #C10B25;
}

.cookie-modal input:focus + .slider {
    box-shadow: 0 0 1px #C10B25;
}

.cookie-modal input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.cookie-modal .slider.round {
    border-radius: 34px;
}

.cookie-modal .slider.round:before {
    border-radius: 50%;
}

.cookie-modal input:disabled + .slider {
    background-color: #c10b2663;
}

.cookie-modal input:disabled + .slider::before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.openable-title {
    display: flex;
    margin: 0px;
    align-items: center;
    padding: 5px;
    justify-content: space-between;
    cursor: pointer;
}

.panel-openable-text {
    margin-top: 10px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 5px
}

#panel-expanding-settings {
    display:none;
}

.panel-openable-div:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);;
}

.cookie-modal .toggle-class {
    padding: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.3);
}

.cookie-modal .toggle-class.hide-element {
    display: none;
}

#open-cookie-panel {
    color: white;
    font-weight: bold;
    text-decoration: revert;
}

.panel-content strong {
    font-weight: bold !important;
}

.panel-content em {
    font-style: italic !important;
}

.closed-cookie {
    color: white;
    text-decoration: underline;
    cursor: pointer;
    margin-left: 200px;
}

.ku-arrow {
    border: solid black;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    transition: .5s;
}

.ku-up {
    transform: rotate(-135deg) !important;
    -webkit-transform: rotate(-135deg) !important;
}
  
.ku-down {
    transform: rotate(45deg) ;
    -webkit-transform: rotate(45deg) ;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
}



@media only screen and (max-width: 1000px) {
    .cookie-footer {
        height: auto;
        padding: 20px 0px;
    }
    .cookie-footer .container {
        flex-direction: column;
    }

    .cookie-footer .container > .buttons-div {
        margin-top: 20px;
    }

    .close-div {
        position: absolute !important;
        right: 15px;
        top: 40%;
    }

    .cookie-modal .cookie-content {
        width: 95%;
    }

    .cookie-modal .panel-title {
        min-height: 50px !important;
    }
}
@media only screen and (max-width: 400px) {

    .cookie-footer .container > .buttons-div {
        flex-direction: column-reverse;
    }
    .buttons-div > button {
        margin-bottom: 5px;
    }
    .cookie-modal .panel-footer {
        flex-direction: column-reverse;
    }
    .cookie-modal .allow-buttons {
        margin-top: 5px;
    }
    .close-div {
        top: auto !important;
    }
}
