/* Cookies */
div.cookie-consent {
  background-color: rgba(40, 40, 40, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  display: flex;
  align-items: center;
  justify-content: center;

  position: fixed;
  left: 0;
  bottom: 0;

  padding: 24px 32px;

  z-index: 506;
}

div.cookie-modal div.button {
  display: flex;
  align-items: center;
  justify-content: center;

  background-color: #afca0b;

  color: #ffffff;

  font-size: 18px;
  font-weight: 600;

  width: 100%;
  height: 42px;

  cursor: pointer;
}

div.cookie-consent p:first-of-type {
  color: #ffffff;

  font-size: 15px;
  font-weight: 500;

  letter-spacing: 0.3px;

  margin: 0 0 6px 0;
}
div.cookie-consent p:first-of-type b {
  color: #afca0b;
}

div.cookie-consent p:last-of-type {
  color: #ffffff;

  font-size: 13px;
  font-weight: 400;

  line-height: 21px;

  margin: 0 42px 0 0;

  width: auto;
}

div.cookie-consent a:hover {
  text-decoration: underline !important;
}

div.cookie-consent div.buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;

  width: auto;
}

div.cookie-consent div.buttons div.button {
  color: #ffffff;

  background-color: #003770;

  font-size: 18px;
  font-weight: 500;

  padding: 4px 24px;

  width: max-content;

  cursor: pointer;
}

div.cookie-consent a {
  color: #afca0b !important;
}

div.cookie-consent div.buttons a.manage {
  text-align: center;

  margin: 0 14px;

  width: max-content;
}

div.cookie-overlay {
  background-color: rgba(40, 40, 40, 0.35);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);

  position: fixed;
  top: 0;
  left: 0;

  width: 100vw;
  height: 100vh;

  z-index: 506;
}

div.cookie-modal {
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  background-color: rgba(40, 40, 40, 0.99);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;

  padding: 42px 32px;
  margin: auto;

  height: 700px;
  width: 700px;

  z-index: 507;
}

div.cookie-modal img.logo {
  width: 100%;

  border-right: 2px solid #ffffff;

  padding: 0 12px 0 0;
}

div.cookie-modal p.title {
  color: #ffffff;

  font-size: 22px;
  font-weight: 500;

  margin: 0;
}

div.cookie-modal p.text {
  color: #ffffff;

  font-size: 14px;
  font-weight: 400;

  text-align: justify;

  line-height: 24px;

  margin: 24px 0 0 0;

  padding: 0 0 24px 0;

  border-bottom: 2px solid #ffffff;
}

div.cookie-modal div.tabs {
  background-color: #444444;

  display: flex;
  flex-direction: column;

  width: 100%;

  margin: 32px 0 0 0;
}

div.cookie-modal div.tabs div {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: max-content;

  padding: 16px 0;

  cursor: pointer;

  transition: 0.2s;
}
div.cookie-modal div.tabs div.active {
  background-color: #afca0b;
}

div.cookie-modal div.tabs div p {
  color: #ffffff;

  font-size: 16px;
  font-weight: 600;

  margin: 0;

  transition: 0.2s;
}

div.cookie-modal div.tabs div:not(.active):hover p {
  text-decoration: underline;
}

div.cookie-modal div.tabs div {
  border-bottom: 1px solid rgba(124, 124, 124, 0.5);
}
div.cookie-modal div.tabs div:last-child {
  border-bottom: 0;
}

div.cookie-modal div.page p.title {
  font-size: 20px;

  text-transform: uppercase;
}

div.cookie-modal div.button.cancel {
  background-color: #444444;
}

div.cookie-modal img.close-icon {
  position: absolute;
  right: 18px;
  top: 18px;

  cursor: pointer;
}

div.cookie-modal div.page p.description {
  color: #ffffff;

  font-size: 14px;
  font-weight: 400;

  text-align: justify;

  line-height: 24px;

  margin: 24px 0 0 0;
}

div.cookie-modal div.page p.description b {
  font-weight: 600;
}

div.cookie-modal .switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 26px;
}

/* Hide default HTML checkbox */
div.cookie-modal .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
div.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

div.cookie-modal .slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

div.cookie-modal input:checked + .slider {
  background-color: #afca0b;
}

div.cookie-modal input:focus + .slider {
  box-shadow: 0 0 1px #afca0b;
}

div.cookie-modal input:checked + .slider:before {
  -webkit-transform: translateX(24px);
  -ms-transform: translateX(24px);
  transform: translateX(24px);
}

div.cookie-modal .slider.round {
  border-radius: 34px;
}

div.cookie-modal .slider.round:before {
  border-radius: 50%;
}

@media (max-width: 1200px) {
  div.cookie-consent div.buttons {
    flex-direction: column;
  }

  div.cookie-consent div.buttons div.button {
    width: 100%;
  }

  div.cookie-consent div.buttons a.manage:nth-child(2) {
    margin: 8px 14px;
  }
}

@media (max-width: 768px) {
  div.cookie-consent {
    flex-direction: column;
  }

  div.cookie-consent p {
    text-align: justify;

    width: auto;
  }

  div.cookie-consent div.buttons {
    flex-direction: row;

    justify-content: start;

    width: 100%;

    margin: 24px 0 0 0;
  }

  div.cookie-consent div.buttons div.button {
    width: max-content;
  }

  div.cookie-consent div.buttons a.manage:nth-child(2) {
    margin: 0 14px;
  }

  div.cookie-consent p {
    margin: 0 !important;
  }

  div.cookie-consent div.buttons a.manage:nth-child(3) {
    margin: 0 0 0 14px;
  }

  div.cookie-consent p:first-of-type {
    text-align: justify;
  }

  div.cookie-modal {
    width: calc(100vw - 24px);
    height: calc(100vh - 24px);

    overflow-y: scroll;
  }

  div.cookie-modal img.logo {
    width: 250px;

    border: 0;

    margin: 0 0 32px 0;
  }

  .justify-content-center-768px {
    display: flex;
    justify-content: center;
  }

  div.cookie-modal p.title {
    font-size: 18px;
  }

  div.cookie-modal p.text {
    font-size: 13px;

    line-height: 23px;

    margin: 12px 0 0 0;
  }

  div.cookie-modal div.tabs div p {
    font-size: 13px;
  }

  div.cookie-modal div.page p.title {
    font-size: 18px;
  }

  div.button {
    font-size: 16px;
  }
}

@media (max-width: 459px) {
  div.cookie-consent div.buttons {
    flex-direction: column;
    align-items: start;
  }

  div.cookie-consent div.buttons a.manage:nth-child(2) {
    margin: 12px 0;
  }

  div.cookie-consent div.buttons a.manage:nth-child(3) {
    margin: 0;
  }

  div.cookie-consent div.buttons div.button {
    width: 100%;
  }
}
/* ----- */
