	

.consent {
    position: fixed;
    background-color: #0007;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 999999;
}
.consent .wrapper {
    position: absolute;
    width: 40%;
    height: 60%;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    border: ;
    bottom: 0;
}
.consent .consent-content {
    background-color: #fff;
    width: ;
    width: 100%;
    height: 100%;
    border-radius: 1em;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    box-shadow: #0006 12px 12px 16px;
}
.consent-content .header {
    height:  0.5em ;
   
}
.consent-content .body {
    height: calc( 100% - 4em );
    padding:2em;
    overflow:auto;
}
.consent-content .footer {
   text-align: center;
   padding-top: 0.5em;
}
.consent-content .footer button, .consent-content .footer label {
    background-color: #48769f;
    border: none;
    padding: 0.5em 1em;
    color: #fff;
    border-radius: 0.3em;
    font-size: 0.9em;
}
.consent-content .body div:nth-of-type(1){
    display:block;
}
.consent-content .body div:nth-of-type(2){
    display:none;
}
#switch-consent-content:checked + div .consent-content .body div:nth-of-type(1){
    display:none;
}
#switch-consent-content:checked + div .consent-content .body div:nth-of-type(2){
    display:block;
}
#safe-consent{
    display:none;
    background-color:#44dd66;
}
#switch-consent-content:checked + div #safe-consent{
    display:inline-block;
}
#switch-consent-content:checked + div label[for="switch-consent-content"]{
    display:none;
}
@media(max-width: 800px){
    .consent .wrapper {
        position: absolute;
        width: 90%;
        height: 90%;
        margin: auto;
        top: 0;
        left: 0;
        right: 0;
        border: ;
        bottom: 0;
    }
    .consent-content .footer button, .consent-content .footer label {
        background-color: #48769f;
        border: none;
        padding: 0.7em 0.7em;
        color: #fff;
        border-radius: 0.3em;
        font-size: 0.7em;
    }
}

