.material-switch>input[type="checkbox"] {
    display: none;
}

.material-switch>label {
    cursor: pointer;
    height: 0px;
    position: relative;
    width: 40px;
}

.material-switch>label::before {
    background: rgb(0, 0, 0);
    box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    content: '';
    height: 16px;
    margin-top: -8px;
    position: absolute;
    opacity: 0.3;
    transition: all 0.4s ease-in-out;
    width: 40px;
}

.material-switch>label::after {
    background: inherit;
    border-radius: 16px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    content: '';
    height: 24px;
    left: -4px;
    margin-top: -8px;
    position: absolute;
    top: -4px;
    transition: all 0.3s ease-in-out;
    width: 24px;
}

.material-switch>input[type="checkbox"]:checked+label::before {
    background: inherit;
    opacity: 0.5;
}

.material-switch>input[type="checkbox"]:checked+label::after {
    background: rgb(255 204 51);
    left: 20px;
}

#cookies_notice .btn-cookies-small {
    line-height: 25px;
    font-size: 16px;
    background-color: #333333;
    color: #fff !important;
    vertical-align: bottom;
}

#cookiesconfig {
    position: fixed;
    bottom: 0;
    left: 22px;
    background: white;
    border: 1px solid #000;
    line-height: 11px;
    font-size: 0.8rem;
    padding: 2px 2px;
    cursor: pointer;
    z-index: 201;
}

#cookiesModal.modal.in{
    z-index: 9999;
}

#cookiesModal.modal .modal-footer{
    display: flex;
    gap: 4px 8px;
}

/*fix boostrab*/
#cookiesModal .modal-footer .btn+.btn {
    margin-bottom: 5px;
    margin-left: 5px;
}

#cookiesModal .modal-footer{
    padding: 5px;
}

#cookiesModal .nav>li>a:focus,#cookiesModal .nav>li>a{
    color: #000;
}

#cookiesModal .nav>li>a:focus{
    color: #fff;
    background-color: #000;
}

#cookiesModal .nav>li>a:hover{
    color: #000;
    background-color: #eee;
}

#cookiesModal .nav-pills>li.active>a, 
#cookiesModal .nav-pills>li.active>a:focus, 
#cookiesModal .nav-pills>li.active>a:hover {
    color: #fff;
    background-color: #000;
}


#cookies_notice {
    position: fixed;
    bottom: 20px;
    left: 0;
    width: 100%;
    z-index: 9999;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

#cookies_notice .container {
    max-width: 1100px;
    width: calc(100% - 40px);
}

.cookies-notice-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #111;
    color: #fff;
    padding: 18px 22px;
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.25);
    font-size: 14px;
    line-height: 1.5;
    pointer-events: all;
}

.cookies-notice-body small:first-child {
    flex: 1;
    opacity: .9;
}

.cookies-notice-body small:last-child {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.cookies-notice-body a {
    text-decoration: none;
}

.cookies-btn-form {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    transition: all .2s ease;
    cursor: pointer;
    border: none;
}

.cookies-btn-primary {
    background: rgb(224, 0, 8);
    color: #fff;
}

.cookies-btn-primary:hover {
    background: rgb(224, 0, 8, .8);
    transform: translateY(-1px);
}

.cookies-btn-primary:active {
    transform: translateY(0);
}

@media (max-width: 768px) {

    #cookies_notice {
        bottom: 0;
        padding: 0;
    }

    #cookies_notice .container {
        width: 100%;
        max-width: none;
    }

    .cookies-notice-body {
        flex-direction: column;
        align-items: flex-start;
        border-radius: 16px 16px 0 0;
        gap: 14px;
        padding: 18px;
    }

    .cookies-notice-body small:last-child {
        width: 100%;
        justify-content: space-between;
    }

    .cookies-btn-form {
        flex: 1;
        text-align: center;
    }

}