.modal-open-pop {
  overflow: hidden;
  /* padding-right: 17px; */
  padding-right: 0;
}

.tb_modal {
  border: 0;
  padding: 10px 25px;
  cursor: pointer;
  background: #000;
  color: #fff;
  display: inline-block;
  margin-bottom: 5px;
}
.popup-overlay {
  width: 100%;
  height: 100%;
  position: fixed;
  background: rgba(0, 0, 0, 0.7);
  -moz-background: rgba(0, 0, 0, 0.7);
  -ms-background: rgba(0, 0, 0, 0.7);
  -o-background: rgba(0, 0, 0, 0.7);
  -webkit-background: rgba(0, 0, 0, 0.7);
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
  z-index: 9;
}

.popup-overlay.garage-overlay {
  -webkit-transition: all 0.8s;
  -moz-transition: all 0.8s;
  transition: all 0.8s;
  background: rgba(0, 0, 0, 0.4);
  -moz-background: rgba(0, 0, 0, 0.4);
  -ms-background: rgba(0, 0, 0, 0.4);
  -o-background: rgba(0, 0, 0, 0.4);
  -webkit-background: rgba(0, 0, 0, 0.4);
}

.modal-open-pop .popup-overlay {
  opacity: 1;
  visibility: visible;
}
.popup {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
  z-index: 99;
}
.popup.visible {
  z-index: 1050;
  overflow-x: hidden;
  overflow-y: auto;
  opacity: 1;
  visibility: visible;
}

#modal_slide_bottom.popup {
  opacity: 1;
  visibility: visible;
  position: absolute;
  width: 100%;
  transition: bottom 0.7s ease, top 0.7s ease;
  -webkit-transition: bottom 0.7s ease, top 0.7s ease;
  -webkit-backface-visibility: hidden;
  top: auto;
  bottom: -250px;
  height: 320px;
}

.popup .popup-body {
  opacity: 0;
  background: #ededed;
  min-height: 150px;
  max-width: 600px;
  padding: 20px;
  margin: 50px auto;
  position: relative;
}

/* #modal_slide_bottom.popup .popup-body
{
    background: #ededed;
    max-width: 1000px;
    padding: 20px;
    margin: 0 auto;
    position: relative;
    height: auto;
} */

.popup.visible .popup-body {
  opacity: 1;
}
.popup .popup-exit {
  position: absolute;
  top: -37px;
  right: 0;
  width: auto;
  height: auto;
  background: transparent;
  cursor: pointer;
  border: 0;
  display: block;
  font-family: Helvetica;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 23px;
  text-align: center;
  color: #fff;
}
.popup .popup-content {
  overflow-y: auto;
}
.popup-content .popup-title {
  font-size: 24px;
  border-bottom: 1px solid #e9e9e9;
  padding-bottom: 10px;
}
.popup-content p {
  font-size: 13px;
  text-align: justify;
}

/** slide in bottom **/
.slide_in_bottom {
  -webkit-transform: translateY(20%);
  -moz-transform: translateY(20%);
  -ms-transform: translateY(20%);
  transform: translateY(20%);
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

#modal_slide_bottom .slide_in_bottom {
  background-color: #192541;
  z-index: 998;
  height: 375px;
  transition: bottom 0.7s ease, top 0.7s ease;
  -webkit-transition: bottom 0.7s ease, top 0.7s ease;
  -webkit-backface-visibility: hidden;
  margin: 0 auto;
  opacity: 1;
  visibility: visible;
  transform: none;
  width: 100%;
  padding: 10px;
  max-width: 100%;
  padding: 0 60px;
  /* max-height: 0; */
}

.popup.visible .slide_in_bottom {
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
  opacity: 1;
}

/* #modal_slide_bottom.popup.visible .slide_in_bottom
{
    max-height: none;
} */

#modal_slide_bottom.popup.visible {
  -webkit-transform: none;
  -moz-transform: none;
  -ms-transform: none;
  transform: none;
  bottom: 0;
  overflow: hidden;
  height: auto;
  /* height: 680px; */
}

#modal_slide_bottom.popup.visible .garage_btn_dt {
  background-image: url(../images/poly_arow_bottom.png);
}

/** /////slide in bottom **/

@media (max-width: 767px) {
  .popup .popup-body {
    max-width: 90%;
  }

  #modal_slide_bottom.popup {
    bottom: -250px;
  }
  #modal_slide_bottom .slide_in_bottom {
    padding: 0 40px;
  }
}

@media (max-width: 575px) {
  #modal_slide_bottom.popup {
    bottom: -257px;
    height: 316px;
  }
 
}

/******** Form Modal *********/

body.no-scroll {
  overflow: hidden !important;
  -ms-overflow-style: none; /* for Internet Explorer, Edge */
  scrollbar-width: none; /* for Firefox */
}
body.no-scroll::-webkit-scrollbar {
  display: none; /* for Chrome, Safari, and Opera */
}
.my-modal {
  position: fixed;
  background-color: rgba(0, 0, 0, 0.89);
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  overflow: auto;
  z-index: 999;
  /* margin: 6px; */
  padding: 15px;
}

.my-modal-content {
  position: absolute;
  width: 450px;
  max-width: 100%;
  height: 580px;
  text-align: center;
  padding: 2em 20px;
  background-color: transparent;
  left: 0;
  right: 0;
  margin: auto;
}

@media only screen and (min-height: 580px) {
  .my-modal-content {
    top: 50%;
    margin-top: -290px;
  }
}

.my-modal input[type="text"],
.my-modal input[type="tel"],
.my-modal input[type="number"],
.my-modal input[type="email"] {
  background-color: #d9d9d9 !important;
  height: 45px;
  padding: 5px 15px;
  color: #000 !important;
  text-transform: uppercase;
  font-family: "chakra_petchregular";
  font-size: 16px !important;
  width: 100%;
  margin-bottom: 15px;
}

.my-modal input[type="submit"],
.my-modal button[type="submit"],
.my-modal button {
  background: #b50c09;
  height: auto;
  border-radius: 5px;
  color: #fff;
  text-transform: uppercase;
  font-family: "chakra_petchbold";
  border: 0;
  font-size: 30px;
  padding: 5px 50px;
  width: 100%;
  line-height: 50px;
  cursor: pointer;
  margin-top: 20px;
  margin-bottom: 20px;
}

.my-modal-content .btn {
  background-image: url(../images/modal_clse1.png);
  background-repeat: no-repeat;
  width: 30px;
  height: 30px;
  background-size: contain;
  text-indent: -9999px !important;
  display: block;
  position: absolute;
  top: 0px;
  cursor: pointer;
  right: 0;
}

.form_heading {
  font-family: "chakra_petchbold";
  font-style: normal;
  font-weight: 700;
  font-size: 44px;
  line-height: 46px;
  text-align: center;
  text-transform: uppercase;
  color: #ffffff;
  margin-top: 20px;
}

.form_heading span {
  display: block;
  font-size: 19px;
  line-height: 25px;
  margin-top: 20px;
}

.form_sbscrb {
  margin-top: 20px;
}

.my-modal-content p {
  font-family: "chakra_petchbold";
  font-style: normal;
  font-weight: 700;
  font-size: 17px;
  line-height: 21px;
  text-align: center;
  text-transform: uppercase;

  color: #ffffff;
}


@media (max-width: 767px){
  .my-modal-content .btn {
    right: 20px;
  }
}



/****** third *****/

.cont_checkarea {
  padding: 20px 50px 0;
}

.container_check {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-family: "chakra_petchbold";
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  line-height: 32px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  text-align: left;
  user-select: none;
}

/* Hide the browser's default checkbox */
.container_check input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.container_check .checkmark {
  position: absolute;
  top: 4px;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #d9d9d9;
}

/* On mouse-over, add a grey background color */
.container_check:hover input ~ .checkmark {
  background-color: #d9d9d9;
}

/* When the checkbox is checked, add a blue background */
.container_check input:checked ~ .checkmark {
  background-color: #b50c09;
}

/* Create the checkmark/indicator (hidden when not checked) */
.container_check .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.container_check input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.container_check .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/******** ////////Form Modal END *********/


/* .my-modal
{
  display: none !important;
}

body.no-scroll {
  overflow: visible !important;
} */






