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

#myBtn {
  outline: none;
}
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 9999999999; /* Sit on top */
  padding-top: 0; /* 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 */
.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;
}
/* Add Animation */
@-webkit-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;
}
}
/* The Close Button */
.close {
  color: #b9b9b9;
  float: right;
  font-size: 40px;
  line-height: 4px;
  transition: all 0.25s ease-out 0s;
  position: absolute;
  top: 18px;
  right: 2%;
}
.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;
}

.modal.insta-extra .modal-content {
    width: 100%;
    max-width: 580px;
    max-height: 90vh;
    transform: translateY(-50%);
    top: 50%;
    /* overflow: hidden; */
}

.direction-modal .modal-content { border-radius: 14px; border: 2px solid #5daedb;}

.direction-modal .close {
    color: #5daedb;
    border: 1px solid #5daedb;
    width: 33px;
    height: 32px;
    line-height: 32px;
    font-weight: 300;
    top: 12px;
    right: 3%;
    display: flex;
     border-radius: 50%; 
    justify-content: center;
    align-items: center;
}
.direction-modal .close:hover{
     color: #ffff;
    border: 1px solid #5daedb;
    background-color: #5daedb;
}

.direction-modal .modal-body h2 {
      color: #5daedb;
}
.direction-modal .dir-contet p , .direction-modal .dir-contet li{
    color: #121212;
      text-align: left;
      font-size: 16px;
}

.direction-modal .dir-contet ul li{
  position:relative;
  text-align: left;
}

.direction-modal .dir-contet ul li::after{display:none}
 
.direction-modal .dir-contet ul li::before {
    content: "\2022 ";
    position: absolute;
    left: -2px;
    color: #373737;
    font-size: 20px;
    top: -3px;
    line-height: normal;
}
 
.direction-modal .modal-content ul {
    text-align: left;
}
 
.direction-modal .modal-content ul li {
    text-align: left;
    display: inline-block;
    width: 100%;
}
.direction-modal .dir-contet ul ol li:before{
position: relative;
    left: -5px;
}

.modal.insta-extra .modal-content .modal-body {
    height: 100%;
    overflow-y: auto;
}


/*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.insta-extra .modal-content {width:94%;}
.direction-modal .dir-contet p , .direction-modal .dir-contet li{font-size:14px;}
.direction-modal .dir-contet ul li::before{
    top: -4px;
}
}

@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.insta-extra .modal-content {width:94%;}
.direction-modal .dir-contet p , .direction-modal .dir-contet li{font-size:14px;}
.direction-modal .dir-contet ul li::before{
    top: -4px;
}
}

@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.insta-extra .modal-content {width:94%;}
.direction-modal .dir-contet p , .direction-modal .dir-contet li{font-size:14px;}
.direction-modal .dir-contet ul li::before{
    top: -4px;
}
}

@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;}
.direction-modal .dir-contet p , .direction-modal .dir-contet li{font-size:14px;}
.direction-modal .dir-contet ul li::before{
    top: -4px;
}
}

@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;}
.direction-modal .dir-contet p , .direction-modal .dir-contet li{font-size:15px;}
.direction-modal .dir-contet ul li::before {
    top: -3px;
}

}

@media screen and (min-width:1025px) and (max-width:1240px) {
.direction-modal .dir-contet ul li::before {
    top: -3px;
}
}