.modal-mainPage {
  position: fixed;
  bottom: -300px; /* Hidden below the viewport */
  left: 10px;
  background: linear-gradient(180deg, #2e58a4 0%, #002568 100%);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
  transition: bottom 0.5s ease-in-out;
  z-index: 1000;
  /* background-image: url('background.jpg'); Replace with your background image */
  background-size: cover;
  background-position: center;
  max-width: 320px;
  width: 100%;
}
.modal-mainPage h3 {
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 4px !important;
  line-height: normal;
  padding-right: 2px;
}
.modal-mainPage .modal-mainPage_descr {
  color: #ffffff;
  font-size: 12px;
  margin-bottom: 0;
}
.modal-mainPage img {
  position: absolute;
  bottom: 0;
  right: 0;
}
.modal_content-wrapper {
  position: relative;
}

.modal-content-mainPage {
  position: relative;
  padding: 24px;
}

.mainPage-close {
  position: absolute;
  top: 35px;
  right: 40px;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
}
.mainPage-close::before {
  content: "";
  position: absolute;
  height: 4px;
  width: 20px;
  top: 50%;
  left: 0;
  margin-top: -1px;
  background: #ffffff;
  border-radius: 5px;
  opacity: 1 !important;
  transform: rotate(45deg);
}
.mainPage-close::after {
  content: "";
  position: absolute;
  height: 4px;
  width: 20px;
  top: 50%;
  left: 0;
  margin-top: -1px;
  background: #ffffff;
  border-radius: 5px;
  opacity: 1 !important;
  transform: rotate(-45deg);
}

.modal-button {
  background-color: #ffffff;
  color: #003d64;
  padding: 12px 16px;
  text-align: center;
  border: none;
  border-radius: 90px;
  cursor: pointer;
  display: block;
  margin-top: 24px;
  font-size: 14px;
  font-weight: 500;
}

.modal-button:hover {
  text-decoration: none;
}

.modal.show {
  bottom: 10px; /* Position to be shown */
}

@media (max-width: 765px) {
  .modal-mainPage {
    margin-bottom: 60px;
  }
}

.dropcontainer .drop:first-child .container .wrap ul.first li:first-child a,
.dropcontainer .drop:nth-child(2) .container .wrap ul.first li:first-child a,
.dropcontainer .drop:nth-child(3) .container .wrap ul.first li:first-child a,
.dropcontainer .drop:nth-child(4) .container .wrap ul.first li:first-child a,
.dropcontainer .drop:nth-child(5) .container .wrap ul.first li:first-child a,
.dropcontainer .drop:nth-child(6) .container .wrap ul.first li:first-child a {
  font-weight: 700;
}

.popupbookchellenge .box {
  border-radius: 15px;
  background: #f2f5f8;
  width: 300px;
  z-index: 101;
  position: fixed;
  bottom: 40px;
  left: 25px;
  border: 1px solid rgba(29, 52, 72, 0.1);
}

.popupbookchellenge .box .pop-up-content {
  text-align: center;
  padding: 10px;
  align-items: center;
}

.popupbookchellenge .box .pop-up-content p {
  color: #3f4767;
  font-weight: 700;
  font-size: 13px;
}

.popupbookchellenge .box .pop-up-content span {
  color: #928989;
  font-weight: 400;
  font-size: 12px;
  padding: 20px 0px;
}

.popupbookchellenge .box .pop-up-content a {
  background-color: #c22424;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 14px;
  margin-top: 10px;
}

.popupbookchellenge .box .pop-up-img img {
  width: 230px;
}

.popupbookchellenge .box .pop-up-img {
  text-align: center;
}

.caret {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-left: 2px;
    background: url(/local/templates/sqb/images/icons/expand_arrow.svg) no-repeat right center;
}


#closeIcon{
    right: 10px;
    top: 10px;
    position: absolute;
    cursor: pointer;
    border-radius: 50%;
}