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

#myBtn {
  outline: none;
}
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 99999999; /* 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(101,55,59,0.98);*/ /* Black w/ opacity */
}
/* Modal Content */
.modal-content {
  position: absolute;
  background-color: #000000;
  margin: 0 auto;
  padding: 0;
  overflow: auto;
  width: 58%;
  /*box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);*/
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s;
  border-radius: 0;
  max-width: 700px;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);

}
/* 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: #000000;
  float: right;
  font-size: 40px;
  line-height: 4px;
  transition: all 0.25s ease-out 0s;
  position: absolute;
  top: 4%;
  right: 2%;
  font-family: auto;
}
.close:hover,
.close:focus {
  color: #b9b9b9;
  text-decoration: none;
  cursor: pointer;
}
.modal-body { 
  width: 100%;
  float: left;
  text-align: center;
  margin: 0 0 0;
  position: relative;
    z-index: 9;
  /*padding: 35px 5% 30px;*/
  /*border: 4px solid #d4aa9c;*/
  /*border-radius: 20px;*/
}
.modal-body p {
    font-size: 14px;
    color: #9c9c9c;
    line-height: 26px;
    margin: 0 0 16px;
    text-align: left;
}
.modal-body h2 {
    font-size: 24px;
    color: #a4bde4;
    line-height: 33px;
    margin: 0 0 26px;
}

/*.modal.videoiframe .modal-content { width: 70%;}*/
.modal.videoiframe .modal-content .modal-body.iframe-style iframe { width: 100%; height: 474px;}
.modal.videoiframe .modal-content .close.closer { top: 6%; right: 2%; z-index: 99999999;}

.modal-body video.modal-video.mdv-1 { width: 100%; height: 100%; max-height: 80vh; position: relative;}


/*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: 0 0 0;}
.modal.videoiframe .modal-content .modal-body.iframe-style iframe { height: 46vw; }
.modal.videoiframe .modal-content { width: 90%;}
.modal.videoiframe .modal-content .close.closer { top: 6%; right: 3%; font-size: 30px;}
.modal { padding-top: 10%;}

.modal-body video.modal-video.mdv-1 { max-height: 500px;}

}

@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: 0 0 0;}
.modal.videoiframe .modal-content .modal-body.iframe-style iframe { height: 44vw; }
.modal.videoiframe .modal-content { width: 90%;}
.modal.videoiframe .modal-content .close.closer { top: 7%; right: 2%;}
.modal-body video.modal-video.mdv-1 { max-height: 500px;}
}

@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: 0 0 0;}
.modal.videoiframe .modal-content .modal-body.iframe-style iframe { height: 46vw; }
.modal.videoiframe .modal-content { width: 90%;}
}

@media screen and (min-width:768px) and (max-width:900px) {
.modal-content { width:85%;}
.modal-body p { margin:0 0 10px;}
.modal-body h2 { font-size:20px; line-height:29px; margin:0 0 20px;}
.modal.videoiframe .modal-content .modal-body.iframe-style iframe { height: 25vw; }
.modal.videoiframe .modal-content .modal-body { padding: 0 0 0;}
.modal.videoiframe .modal-content .close.closer { font-size: 33px; }
}

@media screen and (min-width:901px) and (max-width:1024px) {
.modal-content { width:90%;}
.modal-body p { margin:0 0 13px;}
.modal-body h2 { font-size:22px; line-height:31px; margin:0 0 23px;}
.modal.videoiframe .modal-content .modal-body.iframe-style iframe { height: 25vw; }
.modal.videoiframe .modal-content .modal-body { padding: 0 0 0;}
.modal { padding-top: 40px; }
}

@media screen and (min-width:1025px) and (max-width:1240px) {
.modal-content { width:75%}
.modal.videoiframe .modal-content .modal-body.iframe-style iframe { height: 25vw; }
.modal.videoiframe .modal-content .modal-body { padding: 0 0 0;}
}

@media screen and (min-width:1241px) and (max-width:1440px) {
.modal-content { width:65%}
.modal.videoiframe .modal-content .modal-body.iframe-style iframe { height: 25vw; }
}

@media screen and (min-width:1441px) and (max-width:1600px) {
.modal-content { width:60%}
.modal { padding-top: 62px; padding-top: 140px;}
.modal.videoiframe .modal-content .modal-body.iframe-style iframe { height: 25vw; }
}

@media screen and (min-width:1601px) and (max-width:1900px) {

}

@media screen and (min-width:1601px) {
.modal-content { width: 700px !important;}
.modal.videoiframe .modal-content .modal-body.iframe-style iframe { height: 350px }
}