/*
 Style for cookie bar
*/
.cookie-bar-wrap * {
    box-sizing: content-box;
}

.cookie-bar-wrap {
    position: fixed;
    display: flex;
    bottom: 20px;
    left: 50%; 
    transform: translate(-50%, 0);
    z-index: 999999999999999999999;
    width: 100%;
    max-width: 1100px;
    min-height: 100px;

    margin-bottom: 20px;
    box-shadow: rgba(99, 99, 99, 0.584) 0px 0px 8px 2px;

    transition: margin-bottom 1s;
}
.cookie-bar-wrap.hidden {
    margin-bottom: -4000px;
    transition: none;
}
.cookie-bar-wrap.hidden.enable-transition {
    transition: margin-bottom 2s;
    transition-delay: .3s;
}


/* Rotated text */
.cookie-bar-wrap .rotated-text {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #000000;
}
.cookie-bar-wrap .rotated-text p {
    margin: 0;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    transform: rotate(270deg);
    transform-origin: center;
}


/* Cookie bar */
.cookie-bar-wrap .cookie-bar {
    width: 100%;
    padding: 15px;
    background-color: white;
}

/* Proposal */
.cookie-bar-wrap .cookie-bar .proposal {
    display: flex;
    flex-direction: column;
}
.cookie-bar-wrap .cookie-bar .proposal .inputs {
    display: flex;
    flex-wrap: wrap;
}
.cookie-bar-wrap .cookie-bar .proposal .inputs .input-wrap {
    display: flex;
    /* justify-content: center; */
    align-items: center;
    margin-bottom: 2px;
    transition: .5s;width: 50%;
}
.cookie-bar-wrap .cookie-bar .proposal .inputs .input-wrap input[type="checkbox"] {
    margin-right: 5px;
}
.cookie-bar-wrap .cookie-bar .proposal .inputs .input-wrap label {
    margin-right: 40px;
    margin-bottom: 0;
}
.cookie-bar-wrap .cookie-bar .proposal .mobile-other-cookies {
    display: none;
}
.cookie-bar-wrap .cookie-bar .proposal .buttons {
    display: flex;
    margin-left: auto;
    flex-wrap: wrap;
}
.cookie-bar-wrap .cookie-bar .proposal .buttons .btn-accept-cookies {
    background-color: transparent;
    border-radius: 2px;
    border: 1px solid black;
    padding: 3px 15px;
    margin: 0 5px;
    font-weight: 500;
    text-transform: uppercase;
    white-space: nowrap;
    transition: .3s;
}
.cookie-bar-wrap .cookie-bar .proposal .buttons .btn-accept-cookies#accept-selected:hover,
.cookie-bar-wrap .cookie-bar .proposal .buttons .btn-accept-cookies#reject-optional:hover {
    background-color: black;
    color: white
}
.cookie-bar-wrap .cookie-bar .proposal .buttons .btn-accept-cookies#accept-all {
    background-color: #000000;
    color: white;
    border: 1px solid #000000;
}
.cookie-bar-wrap .cookie-bar .proposal .buttons .btn-accept-cookies#accept-all:hover {
    background-color: white;
    color: black;
	border: 1px solid black;
}



@media (max-width: 1199.98px) {
    .cookie-bar-wrap {
        max-width: 85vw;
    }
    .cookie-bar-wrap .cookie-bar .proposal {
        justify-content: flex-start;
    }
    .cookie-bar-wrap .cookie-bar .proposal .inputs .input-wrap {
        width: 40%;
    }
}
@media (max-width: 991.98px) {
    .cookie-bar-wrap {
        max-width: 90vw;
    }

    .cookie-bar-wrap .cookie-bar .proposal .inputs .input-wrap {
        margin-bottom: 2px;
        justify-content: flex-start;
        width: 100%;
    }
    .cookie-bar-wrap .cookie-bar .proposal .mobile-other-cookies {
        display: block;
    }
    .cookie-bar-wrap .cookie-bar .proposal .buttons {
        margin-top: 15px;
        justify-content: end;
        flex-wrap: wrap;
    }
    .cookie-bar-wrap .cookie-bar .proposal .buttons .btn-accept-cookies {
        margin: 3px;
    }
    .cookie-bar-wrap .cookie-bar .proposal .mobile-other-cookies .arrow-down {
        border: solid black;
        border-width: 0 1px 1px 0;
        display: inline-block;
        padding: 4px;
        margin-left: 5px;
        margin-bottom: 3px;
        transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
    }
    .cookie-bar-wrap .cookie-bar .proposal .inputs .input-wrap.not-essential {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
    }
}
@media (max-width: 575.98px) {
    .cookie-bar-wrap {
        max-width: 90vw;
    }
    .cookie-bar-wrap * {
        font-size: 14px;
    }
    .cookie-bar-wrap .rotated-text {
        width: 65px;
    }
    .cookie-bar-wrap .rotated-text p {
        white-space: nowrap;
        letter-spacing: 1px;
    }
    .cookie-bar-wrap .rotated-text p br {
        display: none;
    }
    .cookie-bar-wrap .cookie-bar .proposal .inputs {
        display: flex;
        flex-wrap: nowrap;
        flex-direction: column;
    }
    .cookie-bar-wrap .cookie-bar .proposal .buttons {
        margin-left: 0;
    }
    .cookie-bar-wrap .cookie-bar .proposal .buttons .btn-accept-cookies {
        font-size: 12px;
        color: black;
    }
}
@media (max-width: 460px) {
    .cookie-bar-wrap .cookie-bar .proposal .buttons .btn-accept-cookies {
        margin: 3px 0;
        width: 100%;
    }
}