.custom-overlaybox-elem {
  display: none;
}
.custom-overlaybox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  padding: 50px 25%;
  background: rgba(0, 0, 0, 0.35);
}
.custom-overlaybox .loader {
  min-height: 200px;
  background: no-repeat center url(../images/loading.gif);
  background-size: 20px;
}
.custom-overlaybox .close-btn {
  position: absolute;
  top: 54px;
  right: 25%;
  width: 25px;
  height: 25px;
  text-align: center;
  color: #000;

  -webkit-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
  -ms-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}
.custom-overlaybox .close-btn:hover {
  color: #01c0c8;
}
.custom-overlaybox .main-box {
  background: #fff;
  padding: 15px 30px;
  border-radius: 5px;
  box-shadow: 0px 0px 5px 2px #73c595;
  overflow: auto;
  max-height: 100%;
}
/* width */
.custom-overlaybox .main-box::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

/* Track */
.custom-overlaybox .main-box::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
.custom-overlaybox .main-box::-webkit-scrollbar-thumb {
  background: #bbb;
}

/* Handle on hover */
.custom-overlaybox .main-box::-webkit-scrollbar-thumb:hover {
  background: #999;
}

.custom-overlaybox .main-box .title {
  margin: 0px;
}
.custom-overlaybox .main-box hr {
  margin: 5px 0;
  border-top: 1px solid #bbb;
}

@media (max-width: 1200px) {
  .custom-overlaybox {
    padding: 50px 15%;
  }
  .custom-overlaybox .close-btn {
    right: 15%;
  }
}

@media (max-width: 900px) {
  .custom-overlaybox {
    padding: 50px 5%;
  }
  .custom-overlaybox .close-btn {
    right: 5%;
  }
}

@media (max-width: 600px) {
  .custom-overlaybox {
    padding: 50px 10px;
  }
  .custom-overlaybox .close-btn {
    right: 10px;
  }
}
