:root {
  --accent-color: #720c0c;
  --accent-hover: #b43939;
}

.cookie-popup-container {
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  position: fixed;
  left: 0px;
  top: 0px;
  z-index: 9999999;
  padding: 20px;
}

.cookie-popup-container .cookie-popup {
  max-width: 700px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0px;
  box-shadow: 0px 5px 80px 0px rgb(62 49 86);
  overflow: visible;
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
  border-radius: 0;
  color: #000;
}

.cookie-category {
  padding: 10px;

  margin: 0 0 20px;
  position: relative;
  z-index: 3;

  padding-left: 20px;
  padding-bottom: 20px;
  position: relative;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.6509803922);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(78, 214, 255, 0.1490196078);
  box-shadow: 0 8px 32px rgba(2, 12, 27, 0.3490196078);

}

.cookie-category::before {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  bottom: -1px;
  left: -1px;
  background: linear-gradient(135deg, rgba(78, 214, 255, 0.4), rgba(78, 214, 255, 0.1019607843) 25%, rgba(107, 33, 168, 0.1019607843) 75%, rgba(145, 70, 255, 0.4));
  opacity: 0.4;
  border-radius: inherit;
  z-index: -1;
  pointer-events: none;
}




.cookie-popup-container .cookie-popup .cookie-popup-content-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  position: static;
  top: 0;
  left: 0;
  width: 100%;
  height: 0px;
  overflow: hidden;
  overflow-y: scroll;
  color: #fff;
  transition: all 0.1s;
  background: rgba(39, 102, 116, 0.76);
}

.cookie-popup-container .cookie-popup .cookie-popup-content-container.open {
  height: auto !important;
  max-height: calc(100vh - 100px);
}

.cookie-popup {
  position: relative;
}

.cookie-popup .line1 {
  position: absolute;
  top: -20px;
  left: -20px;
  height: 5px;
  width: 50px;
  background: #4DB5FF;
}

.cookie-popup .line2 {
  position: absolute;
  top: -20px;
  left: -20px;
  height: 50px;
  width: 5px;
  background: #4DB5FF;
}

.cookie-popup .line3 {
  position: absolute;
  top: -20px;
  right: -20px;
  height: 5px;
  width: 50px;
  background: #4DB5FF;
}

.cookie-popup .line4 {
  position: absolute;
  top: -20px;
  right: -20px;
  height: 50px;
  width: 5px;
  background: #4DB5FF;
}

.cookie-popup .line5 {
  position: absolute;
  top: -5px;
  transform: translateX(-50%);
  left: 50%;
  height: 5px;
  width: 30%;
  border-radius: 2px;
  /* background: linear-gradient(to right, rgb(123, 33, 226), rgb(38, 175, 238)); */
}

.cookie-popup .line6 {
  position: absolute;
  top: -5px;
  right: -5px;
  height: 100%;
  width: 5px;
  /* background: linear-gradient(to bottom, #346EF7, transparent); */
}

.cookie-popup .line7 {
  position: absolute;
  top: -5px;
  left: -5px;
  height: 100%;
  width: 5px;
  /* background: linear-gradient(to bottom, #22DABC, transparent); */
}

.cookie-popup .cookie-panel {
  display: none;
}

.cookie-popup .cookie-panel ul {
  list-style-type: none;
  display: flex;
  padding-left: 0 !important;
  margin: 0 !important;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
}

.cookie-cookies-display {
  padding: 20px;
  background: linear-gradient(to bottom, #000, #000);

}

.cookie-cookies-display h3 {
  color: #fff;
  display: inline-block;
  font-size: 32px;
}

.cookie-popup .cookie-panel ul li {
  width: 100%;
  text-align: center;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  line-height: 18px;
  padding-bottom: 15px;
  padding-top: 15px;
  /*    background-color: rgb(0, 0, 0);*/
  margin-bottom: 0;
}

.cookie-popup .cookie-panel ul li.active {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}




.cookie-cookies-display .cookie-category .choose {
  font-size: 14px;
  width: 20px;
  height: 20px;
  border-radius: 1px;
  border: 1px solid #ffffff;
  margin-right: 10px;
  cursor: pointer;
  position: relative;
}

.cookie-cookies-display .cookie-category .choose.active {
  border-color: rgba(255, 255, 255, 0.2);
  background: #F89C42;
}

.cookie-cookies-display .cookie-category .choose.active::before {
  content: "\2713";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(15deg);
  color: #ffffff;
}

/*.cookie-cookies-display .cookie-category .choose.active + .cookie-cat-name{
    color:#04383d;
}*/

.cookie-cookies-display .cookie-category .choose.always-on {
  border-color: rgba(255, 255, 255, 0.1);
  background: #F89C42;
  cursor: auto;
  opacity: 0.5;
}

.cookie-cookies-display .cookie-category .choose.always-on::before {
  content: "\2713";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(15deg);
}

/*.cookie-cookies-display .cookie-category .choose.always-on + .cookie-cat-name {
    color: #04383d;
}*/
.cookie-cookies-display .cookie-category .data .data-resume .cat-main,
.cookie-cookies-display .cookie-category .data .data-resume .cat-main>div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-cookies-display .cookie-category .data .data-resume .cat-main {
  margin-bottom: 10px;
}

.data-resume .cookie-cat-name {
  font-weight: bold;
  cursor: pointer;
  transition: 300ms;
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
}

.cookie-cookies-display .cookie-category .data .data-resume .cat-describe {
  font-size: 14px;
  line-height: 18px;
}

.cookie-decide {
  position: relative;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0px 0px;
  background: #000;
  display: flex;
  justify-content: space-between;
  transition: all 0.3s ease;
  /* box-shadow: 0 5px 30px 0px rgba(255, 255, 255, 0.2); */
  flex-direction: column;
  color: #fff;

  text-align: center;
}

/* .cookie-decide::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to bottom, rgb(56, 86, 167), transparent);
} */

.pre-cookie-box-thumb {
  padding-top: 45%;
  background: red;
  background: url(media/img1.jpg) no-repeat center center;
  background-size: cover;
  position: relative;
  margin-left: 0px;
  margin-right: 0px;
  margin-top: 0px;
  overflow: hidden;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: -40px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;

}

.pre-cookie-box-thumb::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgb(0, 0, 0), transparent);
}

.pre-cookie-box-thumb::after {
  content: "";
  inset: 0;
  position: absolute;
  background: url(media/deco.png) no-repeat bottom center/contain;
}

.pre-cookie-box-thumb h5 {
  margin-bottom: 10px !important;
  z-index: 2;
  position: relative;
  margin-top: -40px;
}

.pre-cookie-box-p {
  padding: 10px 20px;
  margin-left: auto;
  margin-right: auto;
  max-width: 500px;

}

.pre-cookie-box-p a {
  display: inline-block;
  color: rgb(227, 166, 60) !important;
}


.cookie-decide h5 {
  font-size: 24px;
  line-height: 28px;
  text-align: center;
  margin-top: 0px;
  margin-bottom: 0px;
  color: #fff;
  display: inline-block;
}


.cookie-decide .pre-cookie-box {
  padding: 0px 0px;
  flex-grow: 1;
}

.cookie-decide .pre-cookie-box a {
  color: #ab31dc;
}


.cookie-decide ul {
  list-style-type: none;
  justify-content: flex-end;
  gap: 10px;
  align-items: center;
  padding: 0 20px;
  padding-bottom: 20px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.cookie-decide ul li {
  flex: 1;
  width: auto;
  text-align: center;
  cursor: pointer;
  transition: 300ms;
  color: #000;
  padding: 14px 20px;
  font-weight: bold;
  margin-bottom: 0 !important;

}

.cookie-decide ul li span {
  font-size: 14px;
  font-weight: 300;
}

.cookie-decide ul li.btn:after,
.cookie-decide ul li.btn:before {
  border-color: #000;
}

.cookie-decide ul li.btn:hover {
  /* color: #000; */
}

.cookie-decide ul li.allow-selection {
  display: none;
  background: none;
  margin-bottom: 10px;
  color: #fff;
  border: 1px solid #F89C42;

}

.cookie-decide ul li.customize {

  background: none;
  margin-bottom: 10px;
  color: #fff;
  border: 1px solid #F89C42;
}

.cookie-decide ul li.allow {

  background: #F89C42;
  color: #fff;
  border: 1px solid #F89C42;
}

@media (max-width: 768px) {
  .cookie-decide .pre-cookie-box {
    font-size: 14px;
    line-height: 20px;
  }

  .cookie-decide ul {
    display: block;
  }

  .cookie-decide ul li.allow {
    margin-bottom: 10px !important;
  }

  .cookie-decide ul li {
    padding: 10 15px;
  }

  .cookie-decide ul li span {
    display: block;
  }

  .cookie-popup-container .cookie-popup {
    bottom: 0;
    top: auto;
  }

  .cookie-decide {
    border-radius: 3px;
    bottom: 0;
    padding: 0px;
  }

  .cookie-decide ul li {
    font-size: 14px;
  }

  .cookie-decide ul li span {
    display: none;
  }

  .cookie-popup-container .cookie-popup .cookie-popup-content-container.open {
    max-height: calc(100vh - 200px);
  }

  .pre-cookie-box-thumb h5 {
    font-size: 24px !important;
    line-height: 28px;
  }
}