
/* Cookie */

.switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 20px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 20px;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}
#cookie-wrapper {
    position: fixed;
    width: 58%;
    max-width: 700px;
    min-height: 135px;
    font-size: 16px;
    bottom: 2em;
    z-index: 100;
    box-shadow: 0 0 4px 0;
    -webkit-box-shadow: 0 0 4px 0 rgba(0,0,0,.35);
    -moz-box-shadow: 0 0 4px 0 rgba(0,0,0,.35);
    max-height: 90%;
    overflow-x: hidden;
    overflow-y: auto;
    left: 2em;
    right: auto;
    background-color: #fff;
    font-size: 14px;
}
@media (max-width: 920px) {
    #cookie-wrapper {
        left: 0;
        bottom: 0;
        width: 100%;

    }
}
.cookie-container {
    display: flex;
    padding: 20px 0;
}
.cookie-container .cookie-content {
    flex: 2;
    padding: 20px;
    line-height: 1.5;
    margin: 0;
}
.cookie-container .cookie-action {
    flex: 1;
    padding: 20px;
}
.cookie-container .cookie-action .btn{
    font-weight: 600;
    line-height: 1.5em;
    height: auto;
    white-space: normal;
    word-break: break-word;
    word-wrap: break-word;
    min-width: 175px;
    width: 100%;
    padding: 12px 10px;
    border-radius: 0;
    font-size: .9em;
}
.cookie-container .cookie-action .btn.accept{
    background-color: #40a1e8;
    border-color: #40a1e8;
    color: #FFFFFF;
}
.cookie-container .cookie-action .btn.do-not{
    text-decoration: underline;
    color: #234094;
    border-color: #234094;
    background-color: #FFFFFF;
    border: 0;
}
@media (max-width:576px) {
    .cookie-container {
        flex-direction: column;
    }
}

.modal.modal-cookie .modal-content{
    height: 610px;
}
@media (max-width:768px) {
    .modal.modal-cookie {
        padding: 0 !important;
    }
    .modal.modal-cookie .modal-dialog {
        max-width: 100%;
        min-height: 100%;
        height: 100vh !important;
        max-height: 100%;
        flex-direction: unset !important;
        z-index: 101;
        margin: 0 auto;
    }
    .modal.modal-cookie .modal-content{
        height: 100%;
    }
}
@media (min-width:768px) and (max-width: 1200px){
    .modal.modal-cookie .modal-dialog {
        max-width: 75vw;
    }
}
@media (min-width:1200px) {
    .modal.modal-cookie .modal-dialog {
        max-width: 65vw;
    }
}