.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
}

.modal-backdrop.fade {
  opacity: 0;
  z-index:50000;
  overflow:hidden;
}

/* .hide {display: none!important;} */

.modal-backdrop,
.modal-backdrop.fade.in {
  opacity: 0.8;
  filter: alpha(opacity=8);
}

.modal {
  position: fixed;
  top: 10%;
  left:43%;
  z-index: 1050;
  width:730px;
  margin-left: -280px;
}

.modal.fade {
  top: -100%;
  -webkit-transition: opacity 0.3s linear, top 0.3s ease-out;
     -moz-transition: opacity 0.3s linear, top 0.3s ease-out;
       -o-transition: opacity 0.3s linear, top 0.3s ease-out;
          transition: opacity 0.3s linear, top 0.3s ease-out;
}
.modal:focus{
	outline:none;
	}
	
.modal.fade.in {
  top:0%;
  z-index:60000;
-webkit-box-shadow: 0px 6px 26px rgba(50, 50, 50, 0.75);
-moz-box-shadow:    0px 6px 26px rgba(50, 50, 50, 0.75);
box-shadow:         0px 6px 26px rgba(50, 50, 50, 0.75);
width:730px;
overflow:hidden;
}

.modal-header {
  padding:35px;
  border-bottom: 1px solid #eee;
  background:#0079c1;
}

.modal-header .close {
  margin-top: 2px;
  padding-right:25px;
   font-size:12px;
  color:#e6847f;
  box-shadow:none;
}

.modal-header h3 {
  margin: 0;
  line-height: 30px;
  text-align:center;
  color:#FFF;
  font-family: 'Open Sans', sans-serif ;
}

.modal-body {
  position: relative;
  padding:30px 30px 40px 42px;
    background-color: #ffffff;
}

.modal-form {
  margin-bottom: 0;
}

.modal-footer {
  padding:0px 15px 6px;
  margin-bottom: 0;
  text-align: right;
  background-color: #0079c1;
}

.modal-footer:before,
.modal-footer:after {
  display: table;
  line-height: 0;
  content: "";
  background:#0079c1 !important;   
}

.modal-footer:after {
  clear: both;
}

.modal-footer .btn + .btn {
  margin-bottom: 0;
  margin-left: 5px;
}

.modal-footer .btn-group .btn + .btn {
  margin-left: -1px;
}

.modal-footer .btn-block + .btn-block {
  margin-left: 0;
}



@media (min-width:992px) {
    .modal-lg {width: 900px;}
}

@media (min-width:768px) {
    .modal-dialog {width: 600px; margin: 30px auto;}
    .modal-content {-webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5); box-shadow: 0 5px 15px rgba(0, 0, 0, .5)}
    .modal-sm {width: 300px;}
}

@media (min-width:480px) and (max-width:767px) {
	.modal.fade.in {width:100%;}
	.modal {left:47%;}
	.modal-header {padding: 10px; border-bottom: 1px solid #eee; background: #0079c1;}
	.modal-header h3 {font-size:18px; line-height: 20px;}
	.modal-body { position: relative; padding: 10px;}
	#myModalLabel span {font-family: 'Open Sans', sans-serif; font-size: 16px; font-weight: 300; TEXT-TRANSFORM: none;}
	#myModal p, li {font-size:13px;}
}	

@media (max-width:480px) {
	.modal.fade.in {width:100%; }
	.modal {left: 0px; margin: 0px;}
	.modal-header {padding: 10px; border-bottom: 1px solid #eee; background: #0079c1;}
	.modal-header h3 {font-size:18px; line-height: 20px;}
	.modal-body { position: relative; padding: 10px;}
	#myModalLabel span {font-family: 'Open Sans', sans-serif; font-size: 16px; font-weight: 300; TEXT-TRANSFORM: none;}
	#myModal p, li {font-size:13px;}
}