.cookie-modal.show {
  display: flex !important;
  align-items: end;
  background-color: rgb(0 0 0 / 3%);
}

.cookie-modal .modal-bottom {
  width: 100%;
  height: min-content;
}

.cookie-modal .modal-content {
  padding: 16.5px 24px;
  border-radius: 0;
  color: #212121;
}

.cookie-modal--header__title,
.cookie-modal--customize-block__title {
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  margin: 0 0 15px 0;
}

.cookie-modal--body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  grid-gap: 8px;
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
}

.cookie-modal--body p {
  max-width: 70%;
}

.cookie-modal--body p a {
  color: #1863dc;
  text-decoration: underline;
}

.cookie-modal--body__btn-block {
  display: flex;
  flex-wrap: nowrap;
}

.cookie-modal .btn {
  height: 58px;
  color: #FFFFFF;
  background-color: #00A82D;
  border-width: 2px;
  border-radius: 50px 50px 50px 50px;
  padding: 15px 35px 15px 35px;
  margin-left: 8px;
  text-transform: none;
}

.cookie-modal .btn-outline {
  color: #00A82D;
  border-color: #00A82D;
  background-color: transparent;
}

.cookie-modal .btn:hover {
  opacity: 0.8;
  transition: all .3s;
}

.cookie-modal .btn:hover {
  color: #FFFFFF;
}

.cookie-modal .btn-outline:hover {
  color: #00A82D;
}

@media only screen and (max-width: 785px){
  .cookie-modal--body {
    flex-flow: wrap;
  }

  .cookie-modal--body p { 
    max-width: 100%;
  }

  .cookie-modal--body__btn-block {
    width: 100%;
    justify-content: space-between;
  }

  .cookie-modal .btn {
    width: 30vw;
  }
}

@media only screen and (max-width: 500px){
  .cookie-modal .modal-content {
    max-height: 95vh;
    overflow: scroll;
  }

  .cookie-modal .cookie-modal--customize-block {
    overflow-y: visible;
    max-height: 100%;
  }

  .cookie-modal--body__btn-block {
    flex-wrap: wrap;
    justify-content: center;
  }

  .cookie-modal .btn {
    width: 100vw;
    margin-bottom: 10px;
  }

  .cookie-modal--customize-block__types .footer-shadow {
    display: none;
  }
}

/* cookie modal customize section */
.cookie-modal--customize-section {
  display: none;
  margin-top: 15px;
}

.cookie-modal--customize-block {
  overflow-y: scroll;
  max-height: 48vh;
  padding-right: 20px;
  padding-bottom: 20px;
  margin: 0 -20px 30px 0;
}

.cookie-modal--customize-block__types {
  margin-top: 20px;
  position: relative;
}

.cookie-modal--customize-block__type {
  border-top: 1px solid #E9E9E9;
}

.cookie-modal--customize-block__type-manage {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-modal--customize-block__type-title {
  font-size: 16px;
  font-weight: 600;
}

.cookie-modal--customize-section__btn-block{
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.cookie-modal .show-btn {
  padding: 0;
  color: #1863dc;
  background: transparent;
  border: none;
  font-weight: 600;
}

.cookie-modal .btn.active.focus,
.cookie-modal .btn.active:focus,
.cookie-modal .btn.focus,
.cookie-modal .btn:active.focus,
.cookie-modal .btn:active:focus,
.cookie-modal .btn:focus,
.cookie-modal input[type=checkbox]:focus {
  outline: 0;
  color: #00A82D;
}

/* scrollbar */
.cookie-modal ::-webkit-scrollbar {
  width: 6px;
  background: transparent;
}

.cookie-modal ::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3);
}

/* switch checkbox*/
.switch {
  display: flex;
}

.switch input[type="checkbox"] {
  position: relative;
  width: 44px;
  height: 24px;
  margin: 0;
  background: #d0d5d2;
  background-color: rgb(208, 213, 210);
  border-radius: 50px;
  cursor: pointer;
  outline: 0;
  border: none;
  top: 0;
  -webkit-appearance: none;
}

.switch input[type="checkbox"]:checked {
  background-color: rgb(0, 168, 45);
}

.switch input[type="checkbox"]:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 2px;
  bottom: 2px;
  border-radius: 50%;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  margin: 0;
}

.switch input[type="checkbox"]:checked:before {
  -webkit-transform: translateX(20px);
  -ms-transform: translateX(20px);
  transform: translateX(20px);
}

/* common styles*/
.weight-6 {
  font-weight: 600
}

.hide-block {
  display: none;
  transition: all .3s;
}

.show-block {
  display: block;
  transition: height .3s;
}

.footer-shadow {
  display: block;
  width: 100%;
  height: 40px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 100%);
  position: fixed;
  bottom: 100px;
}

.consent-bar-expand {
  animation: classic-expand 1s;
}

@keyframes classic-expand {
  0% {
    transform: translateY(50%);
  }

  100% {
    transform: translateY(0%);
  }
}