#cookie-consent-modal-background {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999999;
}

#cookie-consent-modal-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 750px;
  max-height: 90%;
  background: #fff;
  border-radius: 5px;
  padding: 20px;
  z-index: 1000000;
}

#cookie-consent-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

@media only screen and (max-height: 500px) { 

  #cookie-consent-modal-header {
    display: none;
  }

}

#cookie-consent-modal-tabs {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-top: rgba(102, 102, 102, 0.322) solid 1px;
  border-bottom: rgba(102, 102, 102, 0.322) solid 1px;
}

#cookie-consent-modal-tabs .cookie-consent-tab {
  cursor: pointer;
  padding: 20px;
  width: 33.33%;
  text-align: center;
  font-size: 1em;
  font-weight: bold;
}

.cookie-consent-tab-content {
    max-height: 40vh;
    overflow-y: auto;
    overflow-x: hidden;
}

#cookie-consent-modal-tab-content-consent {
    
}

#cookie-consent-modal-tab-content-details {

}

#cookie-consent-modal-tab-content-about {

}

#cookie-consent-modal-tab-content-about > h2 {
    margin-top: 15px;
    margin-bottom: 20px;
}

#cookie-consent-modal-body {
  margin-bottom: 20px;
  max-height: 400px;
  overflow: scroll;
}

.cookie-consent-modal-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  margin-right: 10px;
}

#cookie-consent-modal-tab-content-consent-checkbox-container {

  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;

}

@media only screen and (max-width: 600px) {
  #cookie-consent-modal-tab-content-consent-checkbox-container {
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    grid-template-rows: 1fr 1fr; 
    gap: 10px 10px; 
    grid-template-areas: 
      ". ."
      ". ."; 
    justify-content: center; 
    align-content: center; 
    justify-items: center; 
    align-items: center; 
  }
}

#cookie-consent-modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

@media only screen and (max-width: 600px) {
  #cookie-consent-modal-footer {
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    grid-template-rows: 1fr 1fr; 
    gap: 10px 10px; 
    grid-template-areas: 
      "top-single-row top-single-row"
      ". ."; 
    justify-content: center; 
    align-content: center; 
    justify-items: center; 
    align-items: center; 
  }

  #cookie-consent-footer-button-allow-all {
    grid-area: top-single-row;
    width: 100%;
  }

  #cookie-consent-footer-button-deny {
    width: 100%;
  }

  #cookie-consent-footer-button-allow {
    width: 100%;
  }

}

.cookie-consent-footer-button {
  cursor: pointer;
  padding: 15px;
  width: 30%;
  font-weight: bold;
  font-size: 1em;
  border-width: 2.5px;
  border-radius: 8px;
  border-style: solid;
}

.cookie-consent-switch {

  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  padding: 15px;
  width: 25%;

}

.cookie-consent-switch p {
  margin: 0;
  font-size: 0.9em;
  font-weight: bold;
  margin-bottom: 4px;
}

.cookie-consent-accordion {

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    width: 100%;
    height: 50px;
    transition: 0.4s;
    cursor: pointer;
    padding-left: 15px;
    padding-right: 15px;
    font-weight: bold;

}

.cookie-consent-accordion-panel {
    padding: 18px;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
    margin-bottom: 15px;
}

.cookie-consent-accordion-panel > p {
    margin-top: 10px;
    margin-bottom: 10px;
}

