#cookiesOptions {
    cursor: pointer;
}

#cookiesOptions:hover {
    cursor: pointer;
    text-decoration: underline;
}

#cookie-bar {
    padding-top: 20px;
    padding-bottom: 20px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #FFFFFF;
    color: #333333;
    box-shadow: 10px 0 10px rgba(0, 0, 0, 0.4);
    z-index: 1000;
}

#cookie-bar .button {
    display: inherit;
    margin-top: unset;
    width: auto !important;
}

#cookie-bar .flex-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    align-content: stretch;
}

#cookie-bar .flex-container .flex-item:nth-child(1) {
    display: block;
    width: 60%;
    font-size: 14px;
    line-height: 20px;
}

#cookie-bar .flex-container .flex-item:nth-child(2) {
    width: 40%;
    display: block;
    text-align: right;
}

#cookie-bar .flex-container .flex-item:nth-child(2) .button {
    float: right;
    padding: 7px 20px;
    text-transform: uppercase;
    cursor: pointer;
    color: #333333 !important;
}

#cookie-bar .flex-container .flex-item:nth-child(2) .button#settings:hover {
    text-decoration: underline;
}

#cookie-bar .flex-container .flex-item:nth-child(2) .button#acceptAll {
    background-color: #89B544 !important;
    color: #FFFFFF !important;
    margin-left: 20px;
}

#cookie-bar .flex-container .flex-item:nth-child(2) .button#acceptSelect {
    background-color: #89B544 !important;
    color: #FFFFFF !important;
    margin-left: 20px;
    display: none;
}

#cookie-bar #cookies-settings {
    display: none;
    width: 100%;
    padding-top: 40px;
    padding-bottom: 20px;
}

#cookie-bar #cookies-settings .switch-element {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-content: flex-start;
    justify-items: baseline;
    margin-top: 0;
    margin-bottom: 20px;
    /* Rounded sliders */
}

#cookie-bar #cookies-settings .switch-element .item {
    margin-left: 20px;
    font-size: 16px;
    width: calc(100% - 50px);
}

#cookie-bar #cookies-settings .switch-element .item span {
    font-size: 12px;
}

#cookie-bar #cookies-settings .switch-element .switch {
    display: block;
    position: relative;
    width: 50px;
    height: 20px;
}

#cookie-bar #cookies-settings .switch-element .switch.disabled {
    opacity: 0.4;
}

#cookie-bar #cookies-settings .switch-element .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

#cookie-bar #cookies-settings .switch-element .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e1e1e1;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    width: 40px;
}

#cookie-bar #cookies-settings .switch-element .slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 0;
    bottom: 0;
    background-color: #e70000;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

#cookie-bar #cookies-settings .switch-element input:checked + .slider {
    background-color: #e1e1e1;
}

#cookie-bar #cookies-settings .switch-element input:focus + .slider {
    box-shadow: 0 0 1px #e1e1e1;
}

#cookie-bar #cookies-settings .switch-element input:checked + .slider:before {
    background-color: #4eb509;
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
}

#cookie-bar #cookies-settings .switch-element .slider.round {
    border-radius: 25px;
    width: 40px;
}

#cookie-bar #cookies-settings .switch-element .slider.round:before {
    border-radius: 100%;
}

@media screen and (max-width: 991px) {
    #cookie-bar .flex-container {
        display: flex;
        flex-direction: column-reverse;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        align-content: center;
    }

    #cookie-bar .flex-container .flex-item {
        display: block !important;
        width: 100% !important;
        font-size: 14px;
        line-height: 20px;
        text-align: center !important;
    }

    #cookie-bar .flex-container .flex-item:nth-child(2) {
        margin-bottom: 20px;
    }

    #cookie-bar .flex-container .flex-item:nth-child(2) .button {
        float: none;
        display: inline-block;
    }

    #cookie-bar .flex-container .flex-item:nth-child(2) .button#acceptSelect {
        width: 200px;
        margin-left: auto;
        margin-right: auto;
    }

    #cookie-bar .flex-container .flex-item:nth-child(2) .button#settings:hover {
        text-decoration: underline;
    }
}
