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

#myBtn {
  outline: none;
}
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 999999; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  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 */
}

.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  overflow: auto;
  width: 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;
}


#myModal{
  display: none;
  position: fixed;
  z-index: 99999999;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4);
}

#myModal .modal-content {
    width: 100%;
    max-width: 870px;
    border-radius: 12px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
     background: #f8fbfa;
    border: 3px solid #79c8ba;
    border-radius: 18px;

    border-radius: 18px;
}
#myModal .modal-content h2 {
    font-size: 30px;
    font-weight: 400;
    color: #056872;
    letter-spacing: normal;
    line-height: 1.43;
    margin: 0 0 20px;
}

#myModal .modal-content p {
    float: none;
    font-size: 16px;
    font-weight: 400;
    color: #2b2926;
    letter-spacing: normal;
    line-height: 1.75;
    margin: 0 0 20px;
}

#myModal .modal-content .close.closeaddapt {
    color: #79c8ba;
    top: 26px;
    right: 2%;
}



#myModal.direction-modal.insta-extra .closeaddapt {
    width: 20px;
    height: 20px;
    font-size: 40px;
    line-height: 0.4;
    top: 20px;
    right: 20px;
}


/* Add Animation */

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

}

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

} */


/* #myModal .modal-content {width: 100%;max-width: 900px;border-radius: 12px;    position: absolute;top: 50%;    transform: translateY(-50%);left: 0;    right: 0;background: #271935;border: 3px solid #b9976d;border-radius: 18px;}
#myModal .modal-content h2 {float: none;font-size: 14px;font-weight: 600;    color: #b9976d;letter-spacing: 6.72px;line-height: 1.18;text-transform: uppercase;margin: 12px 0 16px;}
#myModal .modal-content p {float: none;font-size: 15px;font-weight: 400;color: #ffffff;    letter-spacing: 0.15px;line-height: 1.93;margin: 0 0 24px;}
#myModal .modal-content span.close.closeaddapt {color: #b8956b;padding: 12px 17px 0 0;}
#myModal .modal-content {width:98%} */



/* 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: 14px;
    color: #706f6f;
    line-height: 26px;
    margin: 0 0 16px;
}
.modal-body h2 {
    font-size: 24px;
    color: #a4bde4;
    line-height: 33px;
    margin: 0 0 26px;
}

@keyframes animatetop {
0% {

    transform: translateY(-100%);

    opacity: 0;

}

100% {

    transform: translateY(-50%);

    opacity: 1;

}
}




/*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: 22px 5% 13px;}
#myModal .modal-content  {width: 94%;}
#myModal .modal-content p {  float: none;  font-size: 14px;}
#myModal .modal-content h2 { font-size:24px;}

#myModal.direction-modal.insta-extra .closeaddapt {top: 14px;right: 14px;font-size: 34px;width: 16px;height: 16px;}



}

@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: 22px 5% 13px;}
#myModal .modal-content  {width: 94%;}
#myModal .modal-content p {  float: none;  font-size: 14px;}
#myModal .modal-content h2 { font-size:24px;
}

#myModal.direction-modal.insta-extra .closeaddapt {top: 14px;right: 14px;font-size: 34px;width: 16px;height: 16px;}

}

@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: 2px; margin: 0 0 16px;}
 .modal-body { padding: 30px 5% 17px;}
 #myModal .modal-content  {width: 94%;}
#myModal .modal-content p {  float: none;  font-size: 14px;}
#myModal .modal-content h2 { font-size:24px;
}

#myModal.direction-modal.insta-extra .closeaddapt {top: 14px;right: 14px;font-size: 34px;width: 16px;height: 16px;}

}

@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;}
#myModal .modal-content  {width: 94%;}
#myModal .modal-content p {  float: none;  font-size: 15px;}
#myModal .modal-content h2 { font-size:28px;}
}

@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;}
}

@media screen and (min-width:1025px) and (max-width:1240px) {

}