#ext_advancedcookie_overlay {
  background: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5000;
}

#ext_advancedcookie_dialog {
  background: #fff;
  width: 800px;
  max-width: 90vw;
  position: absolute;
  top: calc(1vh * 50);
  left: 50%;
  transform: translate(-50%, -50%);
  transform: translate(-50%,-50%);
  transition: all .5s ease;
  transition-property: width,max-width,top,bottom,left,opacity;
  overflow: hidden;
  z-index: 33445001;
  padding: 0px;
  max-height: 90vh;
  max-height: calc(1vh * 90);
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  letter-spacing: normal;
  display: flex;
}

#ext_advancedcookie_dialog * {
  font-family: sans-serif;
  color: #141414;
  letter-spacing: normal;
  font-size: 15px;
}

#ext_advancedcookie_dialog h2 {
  font-weight: 600;
  letter-spacing: .25px;
  line-height: 1.6em;
}

#ext_advancedcookie_dialog_content_wrapper {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  width: 100%;
}

#ext_advancedcookie_dialog_header {
  border-bottom: 1px solid #d6d6d6;
  padding: 1em;
  width: 100%;
}

#ext_advancedcookie_dialog_nav {
  border-bottom: 1px solid #d6d6d6;
  width: 100%;
}

#ext_advancedcookie_dialog_nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0!important;
}

#ext_advancedcookie_dialog_nav ul li {
  text-align: center;
  flex: 1;
  margin: 0!important;
  padding: 0!important;
}

#ext_advancedcookie_dialog_nav ul li a {
  color: #141414!important;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  padding: 1em;
  display: block;
}

#ext_advancedcookie_dialog_nav ul li a.ext_advancedcookie_dialog_active {
  border-bottom: 1px solid #cc0000 ;
  color: #cc0000 ;
}

#ext_advancedcookie_dialog_tab_content {
  display: flex;
  flex-direction: column;
  height: auto;
  overflow: auto;
  width: 100%;
  border-bottom: 1px solid #d6d6d6;

}

#ext_advancedcookie_dialog_tab_content p {
  color: #141414;
}

.ext_advancedcookie_dialog_scroll_container {
  display: none;
  min-height: auto;
  padding: 0.375em;
  height: 100%;
  max-height: 18em;
  position: relative;
}

.ext_advancedcookie_dialog_scroll_container:after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.6em;
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
  content: ' ';
}

.ext_advancedcookie_dialog_scroll_area {
  flex: 1;
  overflow-x: hidden;
  overflow-y: auto;
  width: 100%;
  scrollbar-track-color: #f2f2f2;
  scrollbar-face-color: #141414;
  scrollbar-color: #141414 #f2f2f2;
  scrollbar-width: thin;
  letter-spacing: .5px;
  line-height: 1.6em;
  max-height: 100%;
  padding: 1.625em 0.625em;
}

.ext_advancedcookie_dialog_scroll_area_active {
  display: flex!important;
}

#ext_advancedcookie_dialog_tab_content_details ul {
    list-style-type: none;
}

#ext_advancedcookie_dialog_tab_content_details ul li {
  border-bottom: 1px solid #d6d6d6;
  padding: 1.5em 0;
}

#ext_advancedcookie_dialog_tab_content_details ul li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

#ext_advancedcookie_dialog_tab_content_details ul li:first-child {
  padding-top: 0;
}

.ext_advancedcookie_dialog_detail_header {  
  display: flex;
  justify-content: space-between;
}

.ext_advancedcookie_dialog_detail_header button {
  border: 1px solid transparent;
  font-weight: 700;
  line-height: 1.5em;
  padding-right: .75em;
  user-select: none;
  background: none;
  padding: 0;
}

.ext_advancedcookie_dialog_consent_switch {
  position: relative;
  display: flex;
}

.ext_advancedcookie_dialog_consent_switch_disabled span {
  cursor: not-allowed!important;
}

.ext_advancedcookie_dialog_detail_header input {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
}
.ext_advancedcookie_dialog_detail_header label {
  margin: 0;
}
.ext_advancedcookie_dialog_detail_header label span {
  cursor: pointer;
  background: #3b3b3b;
  display: block;
  width: 50px;
  height: 30px;
  -webkit-border-radius: 14px;
  -moz-border-radius: 14px;
  border-radius: 14px;
}
.ext_advancedcookie_dialog_detail_header label span:after {
  position: absolute;
  width: 26px;
  height:26px;
  background: #fff;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  content: ' ';
  left: 2px;
  top: 2px;
  transition: 0.5s;
}

.ext_advancedcookie_dialog_detail_header label input:checked + span {
  background: #cc0000;
}
.ext_advancedcookie_dialog_detail_header label input:disabled + span {
  background: #ECECEC;
}
.ext_advancedcookie_dialog_detail_header label input:checked + span:after {
  left: 22px;
}

#ext_advancedcookie_dialog_footer {
  width: 100%;
  padding: 1em;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  flex: 1;
  flex-direction: row;
  justify-content: flex-end;
  gap: 0.5em;
}

#ext_advancedcookie_dialog_footer button {
  background-color: #cc0000;
  border: 2px solid #ffffff;
  border-radius: 0.25em;
  color: #ffffff;
  display: block;
  font-weight: 600;
  padding: 1em;
  text-align: center;
  user-select: none;
  width: 100%;
  cursor: pointer;
}

#ext_advancedcookie_dialog_footer button:hover {
  opacity: 0.9;
}

.ext_advancedcookie_dialog_arrow {
  border-color: #ffffff;
  border-style: solid;
  border-width: 0.15em 0.15em 0 0;
  display: inline-block;
  height: 0.5em;
  margin-left: 1em;
  transform: rotate(45deg);
  vertical-align: baseline;
  width: 0.5em;
}

.ext_advancedcookie_dialog_hide {
  display: none!important;
}

@media (min-width: 602px) {  
  #ext_advancedcookie_dialog_footer {
	flex-wrap: nowrap;
  }
  
  #ext_advancedcookie_dialog_footer button {
	width: 33%;
  }
}