/* Overlay section */
.overlay_background{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgb(0 0 0 / 60%);
    z-index: 1001;
}

.overlay_headline,
.overlay_settings_headline{
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 15px;
}

.overlay_description,
.overlay_settings_description{
    font-size: 14px;
    margin-bottom: 15px;
}

.overlay_container{
    background-color: rgb(255, 255, 255);
    color: rgb(51, 51, 51);
    font-family: inherit;
    position: fixed;
    width: 600px;
    height: auto;
    max-height: 50vh;
    top: 50%;
    left: 50%;
    margin-left: -250px;
    margin-top: -117.5px;
    overflow: auto;
    display: block;
    opacity: 1;
    padding: 15px;
}

.overlay_button_container,
.overlay_settings_button_container{
    display: flex;
}

.overlay_button_container .overlay_button:first-child,
.overlay_settings_button_container .overlay_settings_button:first-child{
    margin-left: 0px;
}

.overlay_button_container .overlay_button,
.overlay_settings_button_container .overlay_settings_button{
    margin: 0 15px;
    display: inline;
    padding: 5px 15px;
    cursor: pointer;
    color: #ffffff;
    background-color: #13a538;
    width: fit-content;
}

.overlay_button_container .overlay_button:hover,
.overlay_settings_button_container .overlay_settings_button:hover{
    background-color: #108f30;
}

.overlay_settings_container{
    background-color: rgb(255, 255, 255);
    color: rgb(51, 51, 51);
    font-family: inherit;
    position: fixed;
    width: 600px;
    height: auto;
    max-height: 50vh;
    top: 50%;
    left: 50%;
    margin-left: -250px;
    margin-top: -117.5px;
    overflow: auto;
    display: block;
    opacity: 1;
    padding: 15px;
}

.overlay_settings_groups_row{
    padding-bottom: 15px;
}

.overlay_settings_groups_head{
    cursor: pointer;
    background-color: #f2f2f2;
    padding: 7px 15px;
    display: flex;
    align-items: center;
}

.overlay_settings_groups_head .consent_switch{
    margin-right: 0px;
    margin-left: auto;
}

.overlay_settings_groups_body_description{
    padding: 7px 15px;
    font-size: 14px;
}

.toggled .overlay_settings_groups_body{
    display: none;
}

table.overlay_settings_groups_body_table {
    margin: 0 15px;
}

table.overlay_settings_groups_body_table th{
    background-color: #3A4856;
    padding: 7px 15px;
    text-align: left;
    color: #ffffff;
}

table.overlay_settings_groups_body_table tr td{
    padding: 7px 15px;
    background-color: #f2f2f2;
}

table.overlay_settings_groups_body_table tr td.duration{
    white-space: pre;
}

/* The consent_switch - the box around the consent_slider */
.consent_switch {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 15px;
}

/* Hide default HTML checkbox */
.consent_switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
  
/* The consent_slider */
.consent_slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.consent_slider:before {
    position: absolute;
    content: "";
    height: 13px;
    width: 13px;
    left: 2px;
    bottom: 1px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .consent_slider {
    background-color: #13a538;
}

input:checked:disabled + .consent_slider {
    background-color: #558861;
    cursor: not-allowed;
}


input:checked + .consent_slider:before {
    -webkit-transform: translateX(13px);
    -ms-transform: translateX(13px);
    transform: translateX(13px);
}

.overlay_bottom_button{
    background-color: #13a538;
    color: #fff;
    position: fixed;
    bottom: 0px;
    padding: 7px 15px;
    right:30px;
}

.overlay_bottom_button:hover{
    background-color: #108f30;
    cursor: pointer;
}

/* Rounded consent_sliders */
.consent_slider.round {
    border-radius: 17px;
}

.consent_slider.round:before {
    border-radius: 50%;
}

/* Placeholder section */
.external_content_container{ 
    display: flex;
    flex-direction: column;
    padding: 30px;
    margin-bottom: 15px;
    border: 10px solid #e3e3e3;
}

.external_content_container .external_content_button{
    margin: 10px 0;
    display: inline;
    padding: 5px 15px;
    cursor: pointer;
    color: #ffffff;
    background-color: #13a538;
    width: fit-content;
}


.external_content_container .external_content_link {
    color: #13a538;
}

.external_content_container .external_content_link:hover{
    color: #108f30;
}

.external_content_container .external_content_button:hover{
    background-color: #108f30;
}

.external_content_container .external_content_info_text{
    font-size: 14px;
    font-weight: 300;
}

/* button
link
text
info_text_holder
info_text */