/* Table of Contents
==================================================
# Modal
# Media Queries */

/* # Modal
================================================== */
.modal-backdrop {
  background: rgba(85,94,113,0.9);
  bottom: 0;
  height: 100%;
  left: 0;
  min-height: 100%;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 1040;
}
.modal-backdrop.fade {
  filter: alpha(opacity=0);
  opacity: 0;
}
.modal-backdrop.fade.in {
  filter: alpha(opacity=100);
  opacity: 1;
}
.modal {
  background-clip: padding-box;
  background: rgba(255,255,255,1);
  box-shadow: 0 0 3px rgba(0,0,0,0.5);
  display: none;
  left: 50%;
  margin-left: -280px;
  outline: 0;
  position: fixed;
  top: 0;
  width: 560px;
  z-index: 1050;
}
.modal.fade {
  -webkit-transition: opacity 0.3s linear, top 0.3s ease-out;
  transition: opacity 0.3s linear, top 0.3s ease-out;
  top: -100%;
}
.modal.fade.in { top: 15%; }
.modal-header {
  background: rgba(91,146,250,1);
  padding: 22px 15px 18px 15px;
}
.modal-header h3 {
  color: rgba(255,255,255,1);
  font-size: 14px;
  letter-spacing: 1px;
  line-height: 14px;
  margin: 0;
  text-transform: uppercase;
  text-align: center;
}
.modal-body {
  border-bottom: 1px solid rgba(230,237,242,1);
  border-top: 4px solid rgba(86,131,235,1);
  max-height: 300px;
  overflow-y: scroll;
  padding: 15px 18px;
  position: relative;
}
.modal-body p:last-child { margin-bottom: 0; }
.modal-footer {
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
  margin-bottom: 0;
  padding: 0;
}
.modal-footer:after { clear: both; }
.modal-footer-btn,
button.modal-footer-btn,
input.modal-footer-btn {
  -webkit-appearance: none;
  -moz-appearance: none;
  background: rgba(255,255,255,1);
  border: 0;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  color: rgba(42,44,48,1) !important;
  cursor: pointer;
  float: left;
  -webkit-font-smoothing: antialiased;
  font-weight: bold;
  font-size: 11px;
  letter-spacing: 1px;
  line-height: 11px;
  margin: 0;
  padding: 22px 0;
  text-rendering: geometricPrecision;
  text-transform: uppercase;
  text-indent: 0;
  text-align: center;
  vertical-align: middle;
  width: 100%;
}
.modal-footer-btn[disabled],
button.modal-footer-btn[disabled],
input.modal-footer-btn[disabled] {
  color: rgba(136,153,166,1) !important;
  cursor: not-allowed;
}
.modal-footer-btn-group > .modal-footer-btn,
.modal-footer-btn-group > button.modal-footer-btn,
.modal-footer-btn-group > input.modal-footer-btn {
  border-right: 1px solid rgba(230,237,242,1);
  width: 50%;
}
.modal-footer-btn-group > .modal-footer-btn:last-child,
.modal-footer-btn-group > button.modal-footer-btn:last-child,
.modal-footer-btn-group > input.modal-footer-btn:last-child { border-right: none; }

/* # Media Queries
================================================== */
@media only screen and (max-width: 767px) {
  .modal {
    margin-left: -150px;
    width: 300px;
  }
  .modal-body { max-height: 180px; }
}
@media only screen and (min-width: 480px) and (max-width: 767px) {
  .modal {
    margin-left: -210px;
    width: 420px;
  }
}