:root {
  --accent-color: #00a99d;
  --accent-hover: #4d99e0;
}

.cookie-popup-container {
  width: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  display: none;
  font-family: "Barlow Condensed", sans-serif;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  position: fixed;
  left: 0px;
  top: 0px;
  z-index: 9999999;
}

.cookie-consent b.heading {
  font-weight: bold;
  font-size: 24px;
  margin-bottom: 20px;
  display: block;
}

.cookie-popup-container * {
}
.cookie-popup-container a {
  color: #00a99d !important;
}
.cookie-popup-container .cookie-popup {
  width: 90%;
  max-width: 600px;
  box-sizing: border-box;
  padding: 0px;
  /* box-shadow: 0px 5px 60px -3px rgb(53 18 72 / 50%); */
  color: #000;
  overflow: visible;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */

  /*backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);*/
  position: fixed;
  z-index: 99999;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  /* box-shadow: 0px 0px 150px #000; */
  border-radius: 8px;
}

.cookie-popup-container .cookie-popup .cookie-image {
  display: flex;
  justify-content: center;
  padding-top: 10px;
  padding-bottom: 20px;
  position: relative;
}

.cookie-popup-container .cookie-popup::-webkit-scrollbar {
  display: none !important;
}

.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%;
  /*    transform: translateY(calc(-100%));*/
  background-color: #e3fefd;
  background-image: url(..images/data-analysis.png);

  height: 0px;
  overflow: hidden;
  color: #fff;
  transition: all 0.1s;
  border-radius: 12px 12px 0 0;
  /*  background:linear-gradient(to right,#4039a9,#5bc9e8);*/

  /* You can adjust the direction and colors of the gradient as needed */
}

.cookie-popup-container .cookie-popup .cookie-popup-content-container.open {
  height: 285px !important;
  position: relative;
  top: 10px;
}

.cookie-popup .cookie-panel ul {
  list-style-type: none;
  display: flex;
  padding-left: 0 !important;
  margin: 0 !important;
  /*border-top: 3px solid rgba(255,255,255,0.3);
    box-shadow: 0px 0px 30px rgba(0,0,0,0.7);*/
}

.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: #004D4C;
  /*    background-color:#00a99d;*/
  border-bottom: 1px solid #00a99d;
}

.cookie-popup-container
  .cookie-popup
  .cookie-popup-content-container
  .cookie-mid {
  height: 100%;
  padding: 15px 20px;
}

.cookie-popup-container
  .cookie-popup
  .cookie-popup-content-container
  .cookie-mid
  p {
  font-size: 14px;
  line-height: 1.3;
  margin-top: 0px;
  margin-bottom: 10px;

  color: #004D4C;
}

.cookie-popup-container
  .cookie-popup
  .cookie-popup-content-container
  .cookie-mid
  b {
  font-size: 14px;
  line-height: 18px;
}

.cookie-popup-container
  .cookie-popup
  .cookie-popup-content-container
  .cookie-mid
  .cookie-consent,
.cookie-popup-container
  .cookie-popup
  .cookie-popup-content-container
  .cookie-mid
  .cookie-cookies-display {
  display: none;
  padding-bottom: 15px;
  padding-top: 15px;
}
.cookie-content {
  overflow-y: scroll;
}
/* width */

.cookie-cookies-display .cookie-category {
  margin-bottom: 15px;
  border: 1px solid #004D4C;
  padding: 10px;
  border-radius: 3px;
  color: #004D4C;
}

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

.cookie-cookies-display .cookie-category .choose.active {
  border-color: #004D4C;
  
  color: #fff;
}
.cookie-cookies-display .cookie-category .choose.active::before {
  content: "\2713";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(15deg);
  color: #004D4C;
}
/*.cookie-cookies-display .cookie-category .choose.active + .cookie-cat-name{
    color:#04383d;
}*/

.cookie-cookies-display .cookie-category .choose.always-on {
  border-color: #004D4C;
 
  cursor: auto;
  color: #004D4C;
}
.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: 18px;
  background-color: #e3fefd;
  background-image: url(..images/data-analysis.png);
  box-shadow: 0px 0px 40px rgba(65, 65, 65, 0.396);
  display: flex;
  justify-content: space-between;
  border-radius:12px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  flex-direction: column;
}


.cookie-decide .pre-cookie-box {
  text-align: center;
  padding-top: 7px;
  color: #000000;
  flex-grow: 1;
}
.cookie-decide .pre-cookie-box strong {
  color: #004D4C;
  font-size: 20px;
  font-weight: normal;
  margin-bottom: 12px;
  font-family: "Barlow Condensed", sans-serif;
  display: block;
}
.cookie-decide .pre-cookie-box p {
  margin-bottom: 2px;
  font-size: 14px;
  font-weight: 500;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 400;
  color: #004D4C;
}
.cookie-decide .pre-cookie-box .cookie-box-toggle {
  color: #04383d;
  margin-bottom: 5px;
  border-bottom: 1px solid #70b4f3;
  display: inline-block;
  cursor: pointer;
  font-size: 14px;
}
.cookie-decide .pre-cookie-box .cookie-box-toggle:hover {
  color: #00a99d;
  border-bottom: 1px solid #00a99d;
}
.cookie-decide ul {
  list-style-type: none;
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
  padding-left: 0 !important;
  margin: 0 !important;
  padding-top: 10px;
  flex-grow: 1;
}

.cookie-decide ul li {
  width: auto;
  text-align: center;
  border-radius: 0px;
  font-weight: bold;
  cursor: pointer;
  transition: 300ms;
  font-size: 14px;
  color: #fff;
  padding: 10px 40px 10px 40px;
  background: #004D4C;
  line-height: 1.5;
  font-weight: 400;
  font-family: "Urbanist", sans-serif;
  border-radius: 15px 0 15px 0;
}

.cookie-decide ul li:hover {
  background-color: #00a99d;
  color: #fff;
  /*    color: #000;*/
}

.cookie-decide ul li.allow {
  background-color: #00a99d;
  color: #fff;
  /*    color: #000;*/
}

.cookie-decide ul li.allow:hover {
  color: #fff;
  background-color: #004D4C;
}

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

a.privacy-policy-href {
  text-decoration: none;
  color: var(--accent-color) !important;
  font-size: 16px !important;
  line-height: 18px;
  font-weight: 600 !important;
}

/* @media screen and (max-width: 991px) {

    .cookie-popup-container .cookie-popup{
        width: 100%;
        max-height: min(450px, 90vh);
        top: calc(50% - min(225px, 45vh));
    }

    .cookie-decide {
        background-color: #fff;
        padding-bottom: 10px;
        
    }

    .cookie-popup-container .cookie-popup .cookie-popup-content-container .cookie-decide ul{
        display: flex;
        flex-direction: column;
      
        
    }

    .cookie-popup-container .cookie-popup .cookie-popup-content-container .cookie-decide ul li{
        width: auto;
    }

    .cookie-popup-container .cookie-popup .cookie-popup-content-container .cookie-mid{
       
        padding-top: 8px;
    }

    .cookie-decide ul li{
        padding: 8px;
        font-size: 14px;
        margin: 3px;
    }

    .cookie-popup-container .cookie-popup{
      
    }

    .cookie-popup .cookie-panel ul li{
        font-size: 14px;
        padding-bottom: 10px !important;
        
    }

    .cookie-popup-container .cookie-popup .cookie-popup-content-container .cookie-mid p,
    .cookie-popup-container .cookie-popup .cookie-popup-content-container .cookie-mid b,
    .data-resume .cookie-cat-name,
    a.privacy-policy-href{
        font-size: 14px;
        line-height: 18px;
    }

    .cookie-cookies-display .cookie-category .data .data-describe ul li{
        font-size: 10px;
        line-height: 12px;
        padding: 8px;
    }
} */

/* Small Devices, Tablets */
/*@media only screen and (max-width : 900px) {
    .cookie-popup-container .cookie-popup{
        bottom: 20px;
        right: 50%;
        transform: translateX(50%);
    }
    
    .cookie-decide{
        display: block;
        
    }
    .cookie-decide .pre-cookie-box{
        margin-left: auto;
        margin-right: auto;
    }
    .cookie-decide ul{
        justify-content: center;
    }
    .cookie-decide ul li{
        margin-bottom: 10px;
    }
}
*/
@media (max-width: 768px) {
  .cookie-decide ul li {
    padding: 10px 15px;
  }
  .cookie-popup-container .cookie-popup {
    bottom: 10px;
    top: auto;
    transform: translate(-50%, 0px);
  }
  .cookie-decide {
    border-radius: 3px;
  }
  .cookie-decide ul li {
    font-size: 14px;
  }
}
