.modal-box {
  display: none;
  position: absolute;
  z-index: 1000;
  width: 95%;
  background: white;
  border-bottom: 1px solid #aaa;
  border-radius: 4px;
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.1);
  background-clip: padding-box;
}

@media (min-width: 32em) {
	.modal-box { width: 70%; }
}

.modal-box header,
.modal-box .modal-header {
  padding: 1.5em;
  border-bottom: 1px solid #ddd;
  background:#9EB3EB;
  color:#000;
}

.modal-box header h3,
.modal-box header h4,
.modal-box .modal-header h3,
.modal-box .modal-header h4 { margin: 0; text-shadow:none; }

.modal-box header h3 { font-size:18px; }
.modal-box header .close { opacity:1 !important; }
.modal-box .modal-body { padding:0; }

.modal-body p { 	
	border-bottom: 1px solid #ddd;
	text-align:left;
	font-size:14px;
	padding:0 1em;
}

.modal-body p:last-child { border-bottom:none; }

.modal-box footer,
.modal-box .modal-footer {
  padding: 0.7em;
  border-top: 1px solid #ddd;
  background:#9EB3EB;
  color:#FFF;
  text-align: right;
}

.modal-box footer a { 
	color:#000 !important;
	font-weight:bold;
}

.modal-overlay {
  opacity: 0;
  filter: alpha(opacity=0);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 900;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 1) !important;
}

a.close {
  line-height: 1;
  font-size: 2em;
  position: absolute;
  top: 3%;
  right: 2%;
  text-decoration: none;
  color: #000;
}

a.close:hover {
  color: #000;
  -webkit-transition: color 1s ease;
  -moz-transition: color 1s ease;
  transition: color 1s ease;
}