@media screen and (max-width: 741px) {
    #cookie_container {
        font-size: 1em;
    }
    .custom-control.custom-switch {
        text-align: left;
    }
    
    #cookie_settings .control {
	padding: 0;
    }

}

@media screen and (min-width: 742px) {
    #cookie_container {
        font-size: 1.3em;
        width: 100%;
    }
    #cookie_banner {
        width: 80%;
        padding: 1em;
    }
    
    #cookie_settings .control {
	padding: 0.5em 1em;
    }
    
    .custom-control.custom-switch {
        text-align: center;
    }
    .control {
        display: inline-block;
    }
}

#cookie_container {
    padding: 0.2em;
    max-width: 100%;
    margin: auto;
    text-align: center;
    position: fixed;
    bottom: 0;
    font-family: sans-serif;
    display: none;
    z-index:100;
}

#cookie_container h3 {
    color: var(--logo-purple);
}
    
#cookie_settings_container {
    font-size: 1.3em;
    padding: 0.2em 0.2em 0 0.2em;    
    width: 100%;    
    margin: auto;
    text-align: center;
    position: fixed;
    bottom: 0;
    font-family: sans-serif;
    z-index:99;
}

#cookie_banner,
#cookie_settings_tab {
    border: 3px solid #858585;
    background-color: #f1f1f1;
}

#cookie_banner {
    margin: auto;
    border-radius: 10px;
    padding: 0.6em 0.3em 1.5em 0.3em;
}

#cookie_settings_tab {
    margin-bottom: 0;
    border-radius: 10px 10px 0 0;
    padding: 0.1em 0.3em 0em 0.3em;
    border: 3px solid #858585;    
    border-bottom: none;
    width: fit-content;
    width: -moz-fit-content;
    margin-left: auto;
    margin-right: 1em;
    font-size: smaller;
}


#cookie_settings_tab:hover {
    border-color: #fdbaba;
    background-color: #000000;
    color: #ffd2d2;
}

.custom-control-input {
    margin-right: 1em;
}

.custom-control.custom-switch {
    width: 70%;
    margin: auto;
}

.control label, .control input {
    vertical-align: middle;
}

#cookie_settings {
    text-align: left;
    padding: 1em;
}

#cookie_settings .control {
    padding: 0.5em 1em;
}

#cookie_action {
    height: 3em;
}

.control label {
    display:inline;
}

#cookie_action button {
    width: 43%;
    height: 100%;
    border-radius: 5px;
    background: #525252;
    border: none;
    color: white;
    padding: 0.2em;
}

div#cookie_action_wrapper {
    height: 3em;
}

#cookie_action button:focus, #cookie_action button:hover {
    background: #f0681a;
}

blocked {
    width: 100%;
}

.block-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    border: 2px solid black;
    border-radius: 10px;
    width: 100%;
    height: 100%;
    z-index: 10;
    background: aliceblue;
}

.block-inner {
    position: absolute;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}