.loading-overlay {
    display: none;
    background: rgba( 26, 26, 26, 0.7 );
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 5;
    top: 0;
    left: 0;
}
.loading-overlay-image-container {
    display: block;
    position: fixed;
    z-index: 7;
    top: 50%;
    left: 50%;
    transform: translate( -50%, -50% );
}


.afr-modal h1{
  margin:80px 0
}
.afr-modal .btn {
  background: #428bca;
  border: #357ebd solid 0px;
  border-radius: 3px;
  color: #fff;
  display: inline-block;
  font-size: 14px;
  padding: 8px 15px;
  text-decoration: none;
  text-align: center;
  min-width: 60px;
  position: relative;
  transition: color .1s ease;
}


.afr-modal .btn-close {
  color: #aaaaaa;
  font-size: 30px;
  text-decoration: none;
  padding:10px;
  position: absolute;
  right: 7px;
  top: -8px;
}
.afr-modal .btn-close:hover {
  color: #919191;
}
.afr-modal .modale:before {
  content: "";
  display: none;
  background: rgba(0, 0, 0, 0.6);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
}
.afr-modal .opened:before {
  display: block;
}
.afr-modal .opened .modal-dialog {
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
  top: 20%;
}
.afr-modal .modal-dialog {
  background: #fefefe;
  border: #333333 solid 0px;
  border-radius: 5px;
 
  text-align:center;
  
 
  z-index: 11;
  width: 1000px;
  box-shadow:0 5px 10px rgba(0,0,0,0.3);
  -webkit-transform: translate(0, -500%);
  -ms-transform: translate(0, -500%);
  transform: translate(0, -500%);
  -webkit-transition: -webkit-transform 0.3s ease-out;
  -moz-transition: -moz-transform 0.3s ease-out;
  -o-transition: -o-transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
  
  
  height: 100%;
    position:relative;
    margin:0 auto;
    padding:3em;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    @media (min-width: 60em) {
      height:75%;
  	 margin:5% auto;
  	 max-height: 57em;
      max-width:66em;
      width:85%;
  	}
  
  
}
.afr-modal .modal-body {
  padding: 20px;
}
.afr-modal .modal-body input{
  width:200px;
  padding:8px;
  border:1px solid #ddd;
  color:#888;
  outline:0;
  font-size:14px;
  font-weight:bold
}
.afr-modal .modal-header,
.afr-modal .modal-footer {
  padding: 10px 20px;
}
.afr-modal .modal-header {
  border-bottom: #eeeeee solid 1px;
}
.afr-modal .modal-header h2 {
  font-size: 20px;
}
.afr-modal .frameobjetivo{
    width: 100%;
    height: 600px;
}





.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 */
  z-index:1000000;
  

}
@media (max-width: 45em) {
  .modal-content {
    height: 65%;
    margin: 8% auto;
    max-height: 57em;
    max-width: 66em;
    width: 80%;
  }
  .modal .frameobjetivo{
    width: 100%;
    height: 100%;
}
}
@media (max-width: 40em) {
	.modal-content {
    height: 75%;
    margin: 5% auto;
    max-height: 57em;
    max-width: 66em;
    width: 90%;
  }
  .modal .frameobjetivo{
    width: 100%;
    height: 100%;
}
}
/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 10% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 60%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.cerrar {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.cerrar:hover,
.cerrar:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
.modal .frameobjetivo{
    width: 100%;
    height: 600px;
}