#cookiebanner {
    background-color: #2c4047;
    height: 80px;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 10;
    padding: 0 20px 0 32px;
}

.cookie__container {
    max-width: 1280px;
    margin: auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hidden {
    display: none;
}

.cookie__accept {
    font-size: 1.25rem;
    padding: 0 1.5625rem;
    height: 3rem;
    background: #00f0ff;
    border: none;
    border-radius: 5.5rem;
    color: #2c4047;
    margin: 2rem 0;
    min-width: 282px;
}

.cookie__manage {
    font-family: 'Omnes-regular', sans-serif;
    font-size: 1.125rem;
    cursor: pointer;
    height: 2rem;
    display: inline-block;
    border: none;
    border-bottom: 0.125rem solid #00f0ff;
    background-color: transparent;
    padding: 0;
    color: #ffffff;
}

.cookie__manage img {
    padding-left: 24px;
}

.cookie__banner_text span {
    color: #fff;
    margin-right: 1.5rem;
    font-family: 'Omnes-regular', sans-serif;
    font-size: 1.125rem;
}

.save_and_reject_buttons {
    font-family: 'Omnes-medium';
    font-size: 1.125rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid #2c404766;
}

.save__all,
.reject__all {
    background: none;
    border: none;
    border-bottom: 2px solid #00f0ff;
    padding: 0;
}

.save__all {
    margin-right: 2rem;
}

/* Banner css end */

/* Modal css start */
.cookie__modal {
    z-index: 20;
    position: fixed;
    overflow: auto;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.cookie__modal-content {
    border-radius: 0.625rem;
    background-color: #fff;
    margin: auto;
    max-width: 1007px;
}

.cookie__close-button {
    position: absolute;
    top: 0;
    right: 0;
    width: 3rem;
    height: 3rem;
    display: flex;
    font-size: 1.5rem;
    justify-content: center;
    align-items: center;
    padding-bottom: 6px;
    cursor: pointer;
    border-radius: 50%;
    border: 1.5px solid #2c4047;
    margin: 1.5rem 1.5rem 0 0;
}

.cookie__modal-title {
    position: relative;
    display: flex;
    justify-content: space-between;
    height: 153px;
    background: #f1f1f4;
}

.cookie__modal-title-name {
    font-family: 'Oswald-medium', sans-serif;
    font-size: 2.75rem;
    color: #2c4047;
    text-transform: uppercase;
    line-height: 1;
    display: flex;
    align-self: center;
    margin: auto !important;
    width: 100%;
    max-width: 700px;
}

.cookie__modal-container {
    letter-spacing: 0.015em;
    font-family: 'Omnes-medium', sans-serif;
    font-size: 1.5rem;
    margin: 1.5rem 0 0;
    border-bottom: 1px solid #2c404766;
    padding-bottom: 2rem;
}

.cookie__modal-container:not(:first-of-type) {
    border-bottom: 1px solid #2c404766;
    padding-bottom: 2rem;
}

.cookie__modal-text {
    font-family: 'Omnes-regular', sans-serif;
    font-size: 1.125rem;
    margin-top: 1rem;
}

.cookie__modal-text p {
    line-height: 1.563rem;
    margin-bottom: 0;
    color: #000000;
    font-size: 1.125rem;
}

.cookie__modal-text-space {
    width: 34.938rem;
}

.cookie__modal-body {
    margin: auto;
    max-width: 700px;
}

.cookie__modal-text a {
    font-family: 'Omnes-medium', sans-serif;
    color: #000000;
    text-decoration: underline !important;
    cursor: pointer;
    font-size: 1.125rem;
}

.cookie__modal-option {
    float: right;
    font-size: 1rem;
    letter-spacing: 0.015em;
}

/* Modal css start */

/* Toggle switch start */

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

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #2c4047;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

.slider:before {
    position: absolute;
    content: '';
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: #ffffff;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

input:checked + .slider {
    background-color: #2c4047;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(55px);
    -ms-transform: translateX(55px);
    transform: translateX(55px);
    background-color: #00ff94;
}

/*------ ADDED CSS ---------*/
.on {
    display: none;
}

.on,
.off {
    color: white;
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    font-size: 10px;
    font-family: Verdana, sans-serif;
}

input:checked + .slider .on {
    display: block;
}

input:checked + .slider .off {
    display: none;
}

/*--------- END --------*/

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

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

/* Media queries */
@media (min-width: 768px) {
    .cookie__modal {
        padding-top: 80px;
    }
}

@media (max-width: 767px) {
    #cookiebanner {
        height: 218px;
    }

    .cookie__container {
        font-size: 1.125rem;
        flex-direction: column;
        justify-content: center;
    }

    .cookie__modal-title {
        width: 100%;
        position: sticky;
        top: 0;
        z-index: 100;
    }

    .cookie__modal-title-name,
    .cookie__modal-body {
        width: 80%;
    }

    .save_and_reject_buttons {
        position: sticky;
        top: 153px;
        width: 100%;
        background: #fff;
        z-index: 100;
    }

    .cookie__modal-footer {
        position: sticky;
        bottom: 0;
        background: #fff;
    }
}
