
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* 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 */
  -webkit-animation-name: fadeIn; /* Fade in the background */
  -webkit-animation-duration: 0.4s;
  animation-name: fadeIn;
  animation-duration: 0.4s;
  justify-content: center;
  align-items: center;
}

/* Modal Content */
.modal-content {
  /*position: fixed;
  bottom: 5%;*/
  background-color: transparent;/*#fefefe;*/
  width: 75%;/*50%;*/
  -webkit-animation-name: slideIn;
  -webkit-animation-duration: 0.4s;
  animation-name: slideIn;
  animation-duration: 0.4s;
  /*left: 25%;*/
  max-height: 75vh;/*500px;*/
  overflow: auto;
  padding-bottom: 15px;
}

/* The Close Button */
.close {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
  padding: 2px 16px;
  background-color: #08080a;
  color: white;
}

.modal-body {padding: 10px 16px;
             background: rgba(0,0,0,0.85);}
.modal-body p.moto-text_system_10
{
    color: #fff;
}
.modal-footer {
  padding: 10px 41px;
  background-color: #08080a;
  color: white;
}

/* Add Animation */
@-webkit-keyframes slideIn {
  from {bottom: -300px; opacity: 0} 
  to {bottom: 0; opacity: 1}
}

@keyframes slideIn {
  from {bottom: -300px; opacity: 0}
  to {bottom: 0; opacity: 1}
}

@-webkit-keyframes fadeIn {
  from {opacity: 0} 
  to {opacity: 1}
}

@keyframes fadeIn {
  from {opacity: 0} 
  to {opacity: 1}
}
/*****************/
.modal-header h2
{
    padding: 15px;
}
#myModal.modal, #myModal2.modal, #myModal3.modal,#myModal4.modal, #myModal5.modal, #myModal6.modal, #myModal7.modal, #myModal4.modal.hmemodalswap2
{
    background: url("../images/home31.jpg") no-repeat;
    background-size: cover;
}
/*#myModal2.modal, #myModal5.modal, #myModal8.modal
{
    background: url("../images/wbg2.jpg") no-repeat;
    background-size: cover;
}
#myModal3.modal, #myModal6.modal, #myModal9.modal, #myModal.modal.hmemodalswap1
{
    background: url("../images/wbg3.jpg") no-repeat;
    background-size: cover;
}*/
.pop-btn {
	background: transparent;/*#c00000;*/
	border: none;
	padding: 5px 15px;
	color: #13a62b;/*#fff;*/
	font-family: inherit;
	font-size: inherit;
	cursor: pointer;
	margin: 0 auto;
   text-align: center;
   display: block;
}
.pop-btn:hover
{
    background: transparent;/*#fff;*/
    color: #fff;/*#c00000;*/
}