/* The Modal (background) */
.myModal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 3; /* Sit on top */
  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 */
}
@media only screen and (max-height: 480px) {
  .myModal {
    padding-top: 10px; /* Location of the box */
  }
}

@media only screen and (min-height: 481px) {
  .myModal {
    padding-top: 60px; /* Location of the box */
  }
}

/* Modal Content */
.myModalContent {
  background-color: #fefefe;
  margin: auto;
  border: 1px solid rgba(0,0,0,.2);
  border-radius: .3rem;
  width: 95%;
  max-width: 800px !important;
}

.myModalHeader {
  border-bottom: 1px solid #eceeef;
  padding: 10px;
}

.myModalTitle {
  max-width: 95%;
  font-size: 16px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* The Close Button */
.myModalClose, .myModalCloseCustom {
  color: #aaaaaa;
  float: right;
  font-size: 20px;
  font-weight: bold;
  padding: 0;
  position: relative;
  margin-top: -28px !important;
}

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

.myModalBody {
  max-width: 750px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.myModalFooter {
  border-top: 1px solid #eceeef;
  padding: 30px;
  display: block;
  background-color: #fefefe;
}

/*.myModalNextBtn{*/
  /*margin-top: -20px;*/
  /*margin-right: -15px;*/
/*}*/

/*.myModalCloseBtn{*/
  /*margin-top: -20px;*/
  /*margin-right: 10px;*/
/*}*/

.myModalCloseBtn, .myModalCloseBtnCustom{
  margin-top: -20px;
  margin-right: -15px;
}
