@keyframes fade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* modal style */
.cookie-consent-container.cookie-consent-modal {
    position: fixed;
    top: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    left: 0;
    justify-content: center;
    background: #9f9f9f4a;
    -webkit-animation: fade 0.2s linear forwards;
    animation: fade 0.2s linear forwards;
}

.cookie-consent-container.cookie-consent-modal .cookie-consent-body {
    display: flex;
    flex-direction: column;
    box-shadow: 0px 0 2px 2px #b3b3b3;
    background: #ffffff;
    width: 1000px;
    border-radius: 5px;
}

.cookie-consent-container.cookie-consent-modal .cookie-consent-body .cookie-consent-logo {
    height: 100px;
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
    text-align: center;
}

.cookie-consent-container.cookie-consent-modal .cookie-consent-body .cookie-consent-logo img {
    height: 100%
}

.cookie-consent-container.cookie-consent-modal .cookie-consent-body .cookie-consent-content-modal {
    padding: 15px 20px;
}

.cookie-consent-container.cookie-consent-modal .cookie-consent-body .cookie-consent-content-modal .cookie-consent-text {
    
}

.cookie-consent-container.cookie-consent-modal .cookie-consent-body .cookie-consent-content-modal .cookie-consent-options {
}

.cookie-consent-container.cookie-consent-modal .cookie-consent-body .cookie-consent-content-modal .cookie-consent-options .cookie-consent-switch {
    margin: auto 0 auto auto;
}

.cookie-consent-container.cookie-consent-modal .cookie-consent-body .cookie-consent-content-modal .cookie-consent-options .cookie-consent-option-item:first-child {
    border-top: 0;
    padding-top: 0;
}

.cookie-consent-container.cookie-consent-modal .cookie-consent-body .cookie-consent-content-modal .cookie-consent-options .cookie-consent-option-item:last-child {
    padding-bottom: 0;
}

.cookie-consent-container.cookie-consent-modal .cookie-consent-body .cookie-consent-content-modal .cookie-consent-options .cookie-consent-option-item {
    border-top: 1px solid #ddd;
    padding: 20px 0;
}

.cookie-consent-container.cookie-consent-modal .cookie-consent-body .cookie-consent-content-modal .cookie-consent-options .cookie-consent-option-item .cookie-consent-option-item-header {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.cookie-consent-container.cookie-consent-modal .cookie-consent-body .cookie-consent-content-modal .cookie-consent-options .cookie-consent-option-item .cookie-consent-option-item-header:before {
    border: solid #333;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 5px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    margin-right: 15px;
    content: '';
}

.cookie-consent-container.cookie-consent-modal .cookie-consent-body .cookie-consent-content-modal .cookie-consent-options .cookie-consent-option-item .cookie-consent-option-item-header.expanded:before {
    border-width: 0 0 3px 3px;
}

.cookie-consent-container.cookie-consent-modal .cookie-consent-body .cookie-consent-content-modal .cookie-consent-options .cookie-consent-option-item .cookie-consent-option-item-content {
    text-align: justify;
    display: none;
    margin-top: 15px;
     -webkit-animation: fade 0.2s linear forwards;
    animation: fade 0.2s linear forwards;
}

.cookie-consent-container.cookie-consent-modal .cookie-consent-body .cookie-consent-content-modal .cookie-consent-options .cookie-consent-option-item .cookie-consent-option-item-content.expanded {
    display: block;
}

.cookie-consent-container.cookie-consent-modal .cookie-consent-body .cookie-consent-buttons {
    display: flex;
    column-gap: 20px;
    padding: 15px 20px;
    border-top: 1px solid #ddd;
}

/* fixed style */
.cookie-consent-container.cookie-consent-fixed {
    background: #ffffff;
    padding: 20px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    box-shadow: 0px 0 4px 2px #e7e7e7;
    z-index: 99999;
}

.cookie-consent-container.cookie-consent-fixed .cookie-consent-body {
    display: flex;
    width: 100%;
    margin: auto;
    column-gap: 50px;
}

.cookie-consent-container.cookie-consent-fixed .cookie-consent-body .cookie-consent-logo {
    width: 150px;
}

.cookie-consent-container.cookie-consent-fixed .cookie-consent-body .cookie-consent-content-fixed {
    flex: 1;
}

.cookie-consent-container.cookie-consent-fixed .cookie-consent-body .cookie-consent-content-fixed .cookie-consent-text {
    margin-bottom: 15px;
    text-align: justify;
}

.cookie-consent-container.cookie-consent-fixed .cookie-consent-body .cookie-consent-content-fixed .cookie-consent-options {
    display: flex;
    align-items: center;
    column-gap: 50px;
}

.cookie-consent-container.cookie-consent-fixed .cookie-consent-body .cookie-consent-content-fixed .cookie-consent-options .cookie-consent-option-item .cookie-consent-option-item-content{
    display: flex;
    align-items: center;
    column-gap: 10px;
}

.cookie-consent-container.cookie-consent-fixed .cookie-consent-body .cookie-consent-buttons {
    flex-direction: column;
    width: 300px;
    display: flex;
    align-items: center;
    row-gap: 10px;
}

/* Actions */
.cookie-consent-button {
    padding: 12px;
    border: 1px solid #f09000;
    cursor: pointer;
    text-align: center;
    width: 100%;
    border-radius: 5px;
}

.cookie-consent-button.allow-everyone,
.cookie-consent-button:hover {
    background: #f09000;
    color: #ffffff;
}

.cookie-consent-switch {
    border-radius: 34px;
    margin-bottom: 0px;
}
.cookie-consent-switch:before {
    border-radius: 50%;
}

.cookie-consent-link {
    text-decoration: underline;
    color: #000000;
    cursor: pointer;
}

.cookie-consent-arrow {
    border: solid #333;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 5px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    margin-left: 5px;
}

.cookie-consent-container .cookie-consent-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.cookie-consent-container .cookie-consent-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-consent-container .cookie-consent-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.cookie-consent-container .cookie-consent-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: #ffffff;
    -webkit-transition: .4s;
    transition: .4s;
}

.cookie-consent-container .cookie-consent-switch input:checked:not([disabled]) + .cookie-consent-slider {
    background-color: #f09000;
}

.cookie-consent-container input:focus + .cookie-consent-slider {
    box-shadow: 0 0 1px #f09000;
}

.cookie-consent-container input:checked + .cookie-consent-slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.cookie-consent-container .cookie-consent-slider.round {
    border-radius: 34px;
}

.cookie-consent-container .cookie-consent-slider.round:before {
    border-radius: 50%;
}

@media (max-width: 1200px) {
    .cookie-consent-container.cookie-consent-modal .cookie-consent-body {
        width: 95% !important;
        max-height: 95% !important;
    }

    .cookie-consent-container.cookie-consent-modal .cookie-consent-body .cookie-consent-content-modal {
        flex: 1;
        overflow-y: auto;
    }

    .cookie-consent-container.cookie-consent-modal .cookie-consent-body .cookie-consent-content-modal::-webkit-scrollbar {
        width: 10px;
    }

    .cookie-consent-container.cookie-consent-modal .cookie-consent-body .cookie-consent-content-modal::-webkit-scrollbar-track {
        background: #ddd;
    }

    .cookie-consent-container.cookie-consent-modal .cookie-consent-body .cookie-consent-content-modal::-webkit-scrollbar-thumb {
        background-color: #333;
        border-radius: 20px;
        border: 5px solid #333;
    }

    .cookie-consent-button {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}