﻿/* The Modal (background) */
.modal {
  display: none; /* Hidden by default   none; */
  position: fixed; /* Stay in place */
  z-index: 4; /* Sit on top */
  padding-top: 60px; /* Location of the box 100px */
  
  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.5); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #E6E6E6;
  margin: auto;   /* keep on auto for box to centre*/
  margin-top: 0px;
  margin-bottom: 50px;
  border-radius: 25px; 

  padding: 0;
  
  width: 90%;
  min-width:370px;	  max-width:430px;
  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
}

/* 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 {
margin-top: -2px;
  color: red;
  float: right;
  font-size: 32px;
  font-weight: bold;
}
.close:hover,
.close:focus {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
     opacity: 0.3;
  /*background-color: #FFCC33;*/
transition: .3s ease;

}



/* The Close Button */
.logo {
margin-top: -2px;
  /*color: red;*/
  float: left;
  font-size: 32px;
  font-weight: bold;
}






.modal-header {
   /*padding: 2px 2px;*/ 
  margin-top: 0px;
  height:40px;
  text-align:center;
  /*background-color: #E6E6E6;*/
    /*background-image: url('images/Template/b5.gif');*/
    


}

.modal-body {padding: 0px 0px 0px 0px;}
