/*Cookie popup defaults*/
.cookie-popup {
    position: fixed;
    bottom: 0;
    right: 0;
    width: auto;
    z-index: 900;
    max-width: 100%;
    min-height: 80px;
    padding: 30px;
    background: #FFF;
    box-shadow: 0 0 25px rgba(0,0,0,0.16);
    left: 0;
}

.cookie-popup .title {
    font-size: 24px;
    font-family: inherit;
}

.cookie-popup p {
    font-weight: 100;
    font-size: inherit;
    line-height: 1.2;
}

.cookie-popup a.cookie-link {
    font-size: inherit;
}

.main-cookies {
    max-width: 70%;
    margin: 0 auto;
}

/*---------------------------------------------------------*/

/*Main cookie window*/

.main-cookie-window {
    display: block;
}

.main-cookie-window .link-preferences {
    text-align: center;
    font-size: 12px;
    padding: 5px 0;

    display: block;
}

.main-cookie-window p {
    margin: 0;
}

.main-cookie-window .custom-link {
    display: block !important;
    text-align: center;
}

.main-cookie-window.vb-hidden {
    visibility: hidden;
    opacity: 0;
    -webkit-transition: all .3s ease-in-out;

    height: 0;
}

.main-cookie-window.h-0 {
    height: 0;
    -webkit-transition: all .3s ease-in-out;
}

/*---------------------------------------------------------*/

/*Cookie preferences*/
.cookie-preferences {
    /*visibility: hidden;*/
    /*opacity: 0;*/
    -webkit-transition: all .3s ease-in-out;

    /*height: 0;*/
    overflow: auto;

}

.cookie-preferences.vb-show {
    visibility: visible;
    opacity: 1;
    -webkit-transition: all 1s ease-in-out;

    height: auto;
}

.cookie-preferences .content ul {
    list-style: none;
    display: flex;
    justify-content: space-evenly;
    padding: 10px;
    border: 2px solid #9c2d48;
}

.cookie-preferences .content ul li a {
    text-decoration: underline;
}

/*.cookie-preferences .content ul li:before {*/
/*    content: '-';*/
/*    display: inline-block;*/
/*    padding-right: 5px;*/
/*}*/

.cookie-preferences .custom-link {
    display: block !important;
    text-align: center;
}

.cookie-preferences .preferences p {
    text-align: center;
    font-size: 12px;
    padding: 5px 0;

    display: block;
    margin: 0;
}

.cookie-preferences .input-type {
    display: inline-block;
    float: right;
    margin-left: 10px;
}

.cookie-preferences .css-checkbox {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    width: 40px;
    height: 20px;
    background: #c7cad2;

    border-radius: 3em;
    position: relative;
    cursor: pointer;

    border: initial;
    padding: initial;
    transition: background .3s ease-in-out;
}

.cookie-preferences .css-checkbox:checked {
    background: #eeeeee;
}

.cookie-preferences .css-checkbox:after {
    position: absolute;
    content: "";
    width: 20px;

    height: 20px;
    border-radius: 50%;
    background: #000000;

    box-shadow: 0 0 0.25em rgba(0,0,0,.3);
    transform: scale(.8);
    left: 0;

    transition: all .3s ease-in-out;
}

.cookie-preferences .css-checkbox:checked:after {
    left: calc(100% - 1.4em);
}

.cookie-preferences .css-checkbox#functional {
    cursor: default;
}

/*---------------------------------------------------------*/