@charset "utf-8";
/* CSS Document */

#myBtn {
  outline: none;
}


/* @-webkit-keyframes animatetop {
0% {
    transform: translateY(-100%);
    opacity: 0;
}
100% {
    transform: translateY(-50%);
    opacity: 1;
}
} */
@keyframes animatetop {
0% {
    transform: translateY(-50%);
    opacity: 0;
}
100% {
    transform: translateY(0%);
    opacity: 1;
}
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 999999; /* Sit on top */
  /* padding-top: 100px; */
left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  margin: auto;
    z-index: 99999999;
}
@keyframes slideToCenter {
  0% {
    top: 0%;
    opacity: 0;
  }
  100% {
    top: 50%;
    opacity: 1;
  }
}

/* Modal Content */
.modal-content {
  position: absolute;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  overflow: auto;
  width: 50%;
  left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  /* -webkit-animation: animatetop 1.25s ease-in-out;
    animation: animatetop 1.25s ease-in-out;
    will-change: transform, opacity; */
   -webkit-animation: slideToCenter 1.25s 
ease-in-out;
    animation: slideToCenter 1.25s 
ease-in-out;
    will-change: transform, opacity;

}
/* Add Animation */
/* @-webkit-keyframes animatetop {
  from {top:-300px; opacity:0} 
  to {top:0; opacity:1}
}
@keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
} */
/* The Close Button */
.close {
  color: #b9b9b9;
  float: right;
  font-size: 40px;
  line-height: 4px;
  transition: all 0.25s ease-out 0s;
  position: absolute;
  top: 15px;
  right: 1%;
}
.close:hover,
.close:focus {
  color: #a4bde4;
  text-decoration: none;
  cursor: pointer;
}
.modal-body { 
  width: 100%;
  float: left;
  text-align: center;
  margin: 0 0 0;
  padding: 45px 8% 30px;
}
.modal-body p {
    font-size: 16px;
    color: #706f6f;
    line-height: 26px;
    margin: 0 0 16px;
}
.modal-body h2 {
    font-size: 24px;
    color: #a4bde4;
    line-height: 33px;
    margin: 0 0 22px;
}


.direction-modal .modal-body {padding: 36px 7% 32px;}
.direction-modal .modal-body h2{font-size:30px;font-weight:400;color:#000;letter-spacing:normal;line-height:1.17;margin:0 0 30px;font-family:"DM Serif Display",serif}
.direction-modal .modal-content{background:#fff;border-radius:12px;border:3px solid #ffd167;border-width:2px 2px 2px}
/* .direction-modal .close.closeaddapt{top:17px;right:17px;border-radius:50%;border:1px solid #003b3d;height:27px;width:27px;display:flex;align-items:center;padding: 11px 4px 5px;line-height:1; font-size: 31px;color:#edefe9;padding-bottom:11px;padding-left: 5px;} */
.direction-modal .dir-contet p{color:#000000}
.direction-modal .close.closeaddapt:hover{color:#ffd167;border-color:#ffd167;background:transparent}
.direction-modal .dir-contet ul li {font-size: 17px;color: #000000;margin: 0 0 6px;font-weight: 400;font-size: 16px;}
.direction-modal .dir-contet ul li:before {top: 3px;color: #000000; position: relative; left: -9px;}
.direction-modal .dir-contet ol li{color: #000000; font-weight: 400;font-size: 16px;}
.direction-modal .dir-contet p a{color:#ffd167;font-weight:600}
.direction-modal .dir-contet p a:hover{color:#000000}
.direction-modal .close.closeaddapt{top:17px;right:17px;z-index:99;border-radius:50%;border:1px solid #ffd167;height:27px;width:27px;display:flex;align-items:center;padding:11px 4px 5px;line-height:1;color:#edefe9;padding-bottom:11px;padding-left:5px;background:#ffd167;justify-content:center;font-size:31px}
.direction-modal .dir-contet>*:last-child{margin-bottom:8px}
.direction-modal .dir-contet ol li:before {position: relative;top: 0;}
.direction-modal .modal-content {width: 100%; max-width: 900px; margin: 0 auto 0;}

/* 
@keyframes animatetop {
0% {

    transform: translateY(-100%);

    opacity: 0;

}
 
100% {

    transform: translateY(-50%);

    opacity: 1;

}
} */
 




/* {    -webkit-animation: animatetop 1.25s 
ease-in-out;
    animation: animatetop 1.25s 
ease-in-out;
    will-change: transform, opacity;} */




.direction-modal .modal-body-webkit-scrollbar {width: 8px;border-radius: 12px;margin-left: 12px;}


/*Smartphone css*/
@media screen and (max-width: 480px) {
/*.close { top: 3%; right: 5%;}*/
.modal-content { width: 90%;}
.modal-body p { margin: 0 0 14px;}
.modal-body h2 { font-size: 20px; line-height: 29px; margin: 0 0 16px;}
.modal-body { padding: 45px 5% 30px;}
.modal-content{transform: translate(-50%, -46%);}
.modal-body p {font-size: 14px;}
.direction-modal .dir-contet ul li{font-size: 14px;}
.direction-modal .dir-contet ol li{font-size: 14px;}
.direction-modal .dir-contet p a{font-size: 14px;}

.direction-modal .modal-content {width: 94%;}
}

@media screen and (min-width:481px) and (max-width:600px) {
/*.close { top: 3%; right: 5%;}*/
.modal-content { width: 90%;}
.modal-body p { margin: 0 0 14px;}
.modal-body h2 { font-size: 20px; line-height: 29px; margin: 0 0 16px;}
.modal-body { padding: 45px 5% 30px;}

.modal-body p {font-size: 14px;}
.direction-modal .dir-contet ul li{font-size: 14px;}
.direction-modal .dir-contet ol li{font-size: 14px;}
.direction-modal .dir-contet p a{font-size: 14px;}

.direction-modal .modal-content {width: 94%;}

}

@media screen and (min-width:601px) and (max-width:767px) {
/*.close { top: 3%; right: 5%;}*/
.modal-content { width: 90%;}
.modal-body p { margin: 0 0 14px;}
.modal-body h2 { font-size: 20px; line-height: 29px; margin: 0 0 16px;}
.modal-body { padding: 45px 5% 30px;}
.modal-body p {font-size: 15px;}
.direction-modal .dir-contet ul li{font-size: 15px;}
.direction-modal .dir-contet ol li{font-size: 15px;}
.direction-modal .dir-contet p a{font-size: 15px;}

.direction-modal .modal-content {width: 94%;}
}

@media(max-width:767px){
  .direction-modal .modal-body{ max-height: 400px; overflow-y: auto;}
}


@media screen and (min-width:768px) and (max-width:900px) {
.modal-content { width:60%;}
.modal-body p { margin:0 0 10px;}
.modal-body h2 { font-size:20px; line-height:29px; margin:0 0 20px;}
.modal-body p {font-size: 15px;}
.direction-modal .dir-contet ul li{font-size: 15px;}
.direction-modal .dir-contet ol li{font-size: 15px;}
.direction-modal .dir-contet p a{font-size: 15px;}
.direction-modal .modal-content {width: 94%;}

}

@media screen and (min-width:901px) and (max-width:1024px) {
.modal-content { width:55%;}
.modal-body p { margin:0 0 13px;}
.modal-body h2 { font-size:22px; line-height:31px; margin:0 0 23px;}
.modal-body p {font-size: 15px;}
.direction-modal .dir-contet ul li{font-size: 15px;}
.direction-modal .dir-contet ol li{font-size: 15px;}
.direction-modal .dir-contet p a{font-size: 15px;}

.direction-modal .modal-content {width: 94%;}

}

@media screen and (min-width:1025px) and (max-width:1240px) {
.modal-body p {font-size: 15px;}
.direction-modal .dir-contet ul li{font-size: 15px;}
.direction-modal .dir-contet ol li{font-size: 15px;}
.direction-modal .dir-contet p a{font-size: 15px;}
}