/*.modal,
.modal-box {
  z-index: 900;
}*/

.modal-sandbox {
  display: none; 
  position: fixed;
  width: 100%;
  height: 100%;
 top: 50%;
  left: 50%;
    transform: translate(-50%, -50%);
  background: #516f90
  background: rgba(0,0,0,.8);
  overflow: auto;
   z-index: 1;
}

.modal {
  display: none; 
  position: fixed;
  width: 100%;
  height: 100%;
 top: 50%;
  left: 50%;
    transform: translate(-50%, -50%);
  background: rgb(0,0,0);
  background: rgba(0,0,0,.8);
  overflow: auto;
   z-index: 1;
  
  

  
  
}

.modal-box {
  position: relative;
  width: 80%;
  max-width: 920px;
  margin: 100px auto;
  animation-name: modalbox;
  animation-duration: .4s;
  animation-timing-function: cubic-bezier(0,0,.3,1.6);
}

.modal-header {
  padding: 20px 40px;
  background: #0078C1;
  color: #ffffff;
}
.modal-heading , h3 {
 color: #ffffff; 
}

.modal-body {
  background: #Efefef;
  padding: 60px 40px;
}

/* Close Button */
.close-modal {
  text-align: right;
  cursor: pointer;
}

/* Animation */
@-webkit-keyframes modalbox {
  0% {
    top: -250px; 
    opacity: 0;
  }
  100% {
    top: 0; 
    opacity: 1;
  }
}

@keyframes modalbox {
  0% {
    top: -250px; 
    opacity: 0;
  }
  100% {
    top: 0; 
    opacity: 1;
  }
}

/* Aditional Styles */
* {
  font-family: "Roboto", sans-serif;
  font-weight: normal;
}

p {
  line-height: 1.4em;
}

/*body {
  background: #B0BEC5;
}*/

.modal-trigger, button {
  top: 50%;
  left: 50%;
  padding: 20px 40px;
  background: #0078C1;
  color: #ffffff;
  border: 1px solid #0078c1;
  text-decoration: none;
}

.modal-trigger {
 /* position: absolute; */
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  transition: ease .2s;
}

button {
  border: 1px solid #0078c1;
  outline: none;
  color: #fff;
}

.modal-trigger:hover {
  padding: 20px 60px;
}

/* video popup */
.reveal {
  padding: 2em;
  background: transparent;
  border: 0;
  outline: none;
}

.close-button {
  position: absolute;
  top: -0.2em;
  color: rgb(255,255,255);
  text-shadow: 2px 2px 8px rgb(0,0,0);
  display: block;
  outline: none;
  :hover {
    color: rgb(142, 216, 248);
    text-shadow: 2px 2px 5px rgb(0,0,0);
  }
}



/* Modal AI Code */
/* Modal AI Popup */

.modalai {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* 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 */
}

.modalai-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}


/* Modal AI Code END  */

/* Modal AI Code END  */