/* ======================================================================
  Modal
======================================================================== */

.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  background-color: #000000;
}

.modal-backdrop.fade {
  opacity: 0;
}

.modal-backdrop,
.modal-backdrop.fade.in {
  opacity: 0.8;
  filter: alpha(opacity=80);
}

.modal {
  position: fixed;
  top: 10%;
  left: 50%;
  z-index: 1050;
  width: 560px;
  margin-left: -280px;
  background-color: #ffffff;
  border: 1px solid #999;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  outline: none;
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
}

.modal.fade {
  top: -50%;
  -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.fade.in {
  top: 10%;
}

.modal-header {
  padding: 30px 15px;
  border-bottom: 1px solid #ddd;
  position: relative;
  text-align: center;
}


.modal-header h3 {
  margin: 0;
  font-size: 36px;
}

.modal-body {
  position: relative;
  max-height: 400px;
  padding: 30px;
  overflow-y: auto;
}

.modal-body p {
  font-size: 18px;
  line-height: 1.5;
}

.modal-form {
  margin-bottom: 0;
}

.modal-footer {
  padding: 30px;
  border-radius: 0 0 6px 6px;
}

.modal-footer:before,
.modal-footer:after {
  display: table;
  line-height: 0;
  content: "";
}

.modal-footer:after {
  clear: both;
}

@media (max-width: 767px) {
  .modal {
    left: 5%;
    right: 5%;
    width: 90%;
    margin: 0;
  }
}

