/*!
 * Bootstrap v3.0.3
 *
 * Copyright 2013 Twitter, Inc
 * Licensed under the Apache License v2.0
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Designed and built with all the love in the world @twitter by @mdo and @fat.
 */
.img-responsive {
  display: block;
  max-width: 100%;
  height: auto;
}
.img-rounded {
  border-radius: 6px;
}
.img-thumbnail {
  padding: 4px;
  line-height: 1.428571429;
  background-color: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 4px;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  display: inline-block;
  max-width: 100%;
  height: auto;
}
.img-circle {
  border-radius: 50%;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.modal-open {
  overflow: hidden;
}
.modal {
  display: none;
  overflow: auto;
  overflow-y: scroll;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
}

/*.modal.fade .modal-dialog {*/
.modal-backdrop.fade,
.modal.fade {
/*  -webkit-transform: translate(0, -25%);
  -ms-transform: translate(0, -25%);
  transform: translate(0, -25%); */
  -webkit-transition: opacity 0.3s ease-out;
  -moz-transition: opacity 0.3s ease-out;
  -o-transition: opacity 0.3s ease-out;
  transition: opacity 0.3s ease-out;
  opacity: 0;
}

.modal.fade.in {
  opacity: 1;
}
.modal-dialog {
  position: relative;
  width: auto;
  margin: 10px;
  z-index: 1050;

}
.modal-content {
  position: relative;
  border: 1px solid #999999;
  border: 1px solid rgba(0, 0, 0, 0.2);

  -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  background-clip: padding-box;
  outline: none;
}
.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1030;
  background-color: #000000;
}
.modal-backdrop.fade {
  opacity: 0;
  filter: alpha(opacity=0);
}
.modal-backdrop.in {
  opacity: 0.9;
  filter: alpha(opacity=90);
}
.modal-header {
  padding: 25px 50px 22px 35px;
  min-height: 16.428571429px;
}
.modal-vertical-centered {
  transform: translate(0, 50%) !important;
  -ms-transform: translate(0, 50%) !important; /* IE 9 */
  -webkit-transform: translate(0, 50%) !important; /* Safari and Chrome */
}
.modal-header .close {
  margin-top: -2px;
}
.modal-title {
  margin: 0;
  line-height: 21px;
  font-size: 20px;
}
.modal-header div.text {
  font-size: 14px;
  margin-top: 5px;
  line-height: 16px;
}
.modal-body {
  position: relative;
  padding: 25px 35px;
  font-size: 14px;
}
.modal-footer {
  padding: 13px 20px 14px 20px;
  text-align: right;
  border-radius: 0px 0px 6px 6px;
  font-size: 13px;
}
.modal-footer:before,
.modal-footer:after {
  content: " ";
  display: table;
}
.modal-footer:after {
  clear: both;
}
.modal-footer .btn + .btn {
  margin-left: 5px;
  margin-bottom: 0;
}
.modal-footer .btn-group .btn + .btn {
  margin-left: -1px;
}
.modal-footer .btn-block + .btn-block {
  margin-left: 0;
}

.wrap-modal .modal-dialog .loader,
.modal .modal-dialog .loader {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -100000;
  opacity: 0;
  display: block;
  border-radius: 4px;
  transition: all 0.5s;
  -moz-transition: all 0.5s;
  -webkit-transition: all 0.5s;
}

.modal .modal-dialog .loader .loader-gif {
  position: absolute;
  left: 50%;
  top: 50%;

  margin-left: -38px;
  margin-top: -3px;
}

.wrap-modal.loading .modal-dialog .loader,
.modal.loading .modal-dialog .loader {
  opacity: 0.9;
  z-index: 100000;
}
.wrap-modal.loading .modal-dialog .loader {
  opacity: 0.5;
}

@media screen and (min-width: 768px) {
  .modal-dialog {
    width: 480px;
    margin: 0px auto;
  }
  .modal-content {
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  }
}
