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

.cookie-bar-wrap {
    position: fixed;
    display: flex;
    bottom: 20px;
    left: 50%; 
    transform: translate(-50%, 0);
    z-index: 99999;
    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;
    font-size: 0.8rem;
}
.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: #0070C0;
    border-radius: 5px 0 0 5px;
}
.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;
}

.cookie-bar-wrap .cookie-bar .desc a {
    color: #0070C0;
    text-decoration: underline;
}

/* Proposal */
.cookie-bar-wrap .cookie-bar .proposal {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}
.cookie-bar-wrap .cookie-bar .proposal .inputs {
    display: column;
    flex-grow: 1;
}

.cookie-bar-wrap .cookie-bar .proposal .inputs .type-wrap {
    width: 100%
}

.cookie-bar-wrap .cookie-bar .proposal .inputs .input-wrap {
    display: flex;
    align-items: center;
    transition: .5s;
    padding: 0.25rem 0.5rem;
    margin-bottom: 2px;
    justify-content: flex-start;
}
.cookie-bar-wrap .cookie-bar .proposal .inputs .input-wrap * {
    margin-right: 0.25rem;
}

.cookie-bar-wrap .cookie-bar .proposal .inputs .input-wrap label {
    margin-top: 0;
    margin-bottom: 0;
}
.cookie-bar-wrap .cookie-bar .proposal .other-consent-options {
    padding: 0.25rem 0.5rem;
}
.cookie-bar-wrap .cookie-bar .proposal .other-consent-options .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;   
}
.cookie-bar-wrap .cookie-bar .proposal .inputs .input-wrap.not-essential.hidden {
    display: none;
}
.cookie-bar-wrap .cookie-bar .proposal .inputs .description {
    display: none;
    transition: 300ms ease all;
    margin-bottom: 0.5rem;
    padding: 0.25rem 1.5rem;
}
.cookie-bar-wrap .cookie-bar .proposal .buttons {
    display: flex;
    align-content: flex-end;
    margin-top: 1rem;
    margin-left: 0px;
}
.cookie-bar-wrap .cookie-bar .proposal .buttons .button {
    border-radius: 4px;
    border: 1px solid;
    padding: 2px 15px;
    margin: 0 5px;
    font-weight: 500;
    text-transform: uppercase;
    white-space: nowrap;
    transition: .3s;
    color: #0070C0;
}

.cookie-bar-wrap .cookie-bar .proposal .buttons .button-light {
    background-color: transparent;
    border-color: #0070C0;
    color: #0070C0;
}
.cookie-bar-wrap .cookie-bar .proposal .buttons .button-dark {
    background-color: #0070C0;
    border-color: #0070C0;
    color: white;
}
.cookie-bar-wrap .cookie-bar .proposal .buttons .button-light:active,
.cookie-bar-wrap .cookie-bar .proposal .buttons .button-light:focus,
.cookie-bar-wrap .cookie-bar .proposal .buttons .button-light:hover,
.cookie-bar-wrap .cookie-bar .proposal .buttons .button-dark:active,
.cookie-bar-wrap .cookie-bar .proposal .buttons .button-dark:focus,
.cookie-bar-wrap .cookie-bar .proposal .buttons .button-dark:hover {
    background-color: #2090E0;
    color: white;
}


.cookie-bar-wrap .arrow-down {
    border: solid black;
    border-width: 0 1px 1px 0;
    display: inline-block;
    padding: 4px;
    margin-left: 0.5rem;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    cursor: pointer;
    transition: 300ms ease all;
}

.cookie-bar-wrap .arrow-down.active {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.cookie-bar-wrap .cookie-bar .proposal {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}
.cookie-bar-wrap .cookie-bar .proposal .inputs {
    flex-direction: column;
}

.cookie-bar-wrap .cookie-bar .proposal .inputs .type-wrap {
    width: 100%
}
.cookie-bar-wrap .cookie-bar .proposal .inputs .input-wrap {
    margin-bottom: 2px;
    justify-content: flex-start;
}
.cookie-bar-wrap .cookie-bar .proposal .buttons {
    margin-top: 1rem;
    margin-left: 0px;
}

@media (max-width: 1199.98px) {
    .cookie-bar-wrap {
        max-width: 85vw;
    }
}
@media (max-width: 991.98px) {
    .cookie-bar-wrap {
        max-width: 90vw;
    }
}
@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 .buttons {
        flex-direction: column;
    }
    .cookie-bar-wrap .cookie-bar .proposal .buttons #accept-selected {
        margin: 4px 5px;
    }
}
