.modal-open {
  overflow: hidden;
}
.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
}
.modal {
  display: none;
  overflow: hidden;
  position: fixed;
  text-align: center;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1050;
  -webkit-overflow-scrolling: touch;
  outline: 0;
}
.modal:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -4px;
}
.modal.fade .modal-dialog {
  transform: translate(0, -25%);
  transition: transform 0.3s ease-out;
}
.modal.in .modal-dialog {
  transform: translate(0, 0);
}
.modal .modal-dialog {
  position: relative;
  display: inline-block;
  text-align: left;
  width: auto;
  vertical-align: middle;
}
.modal .modal-content {
  position: relative;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.4);
  background-clip: padding-box;
  outline: 0;
}
.modal .modal-header {
  padding: 40px 20px 20px 20px;
}
.modal .modal-header .modal-title {
  color: #848484;
  text-transform: uppercase;
  text-align: center;
  margin: 0;
}
.modal .modal-header .close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 12px;
  height: 12px;
  background-image: url("../../images/delete_tag.png");
}
.modal .modal-header.tour-share-modal-header {
  padding-left: 60px;
  padding-right: 60px;
}
.modal .modal-header.tour-share-modal-header .modal-title {
  font-size: 30px;
}
.modal .modal-header.tour-translations span {
  text-transform: none;
  font-size: 20px;
}
.modal .modal-body {
  position: relative;
  color: #5e5e5e;
}
.modal .modal-body,
.modal .modal-body input,
.modal .modal-body textarea {
  font-size: 18px;
  font-weight: normal;
}
.modal .modal-body.confirmation-body {
  text-align: center;
  padding: 20px;
  font-weight: bold;
}
.modal .modal-body.contact-us-body {
  padding: 0 20px;
}
.modal .modal-body.contact-us-body .ng-dirty.ng-invalid {
  border-color: #f00;
}
.modal .modal-body.cropper-body {
  height: 300px;
  padding-bottom: 20px;
}
.modal .modal-body.tour-share-modal-body {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
}
.modal .modal-body.tour-share-modal-body p {
  padding: 0 60px;
  margin: 0 0 20px 0;
}
.modal .modal-body.tour-translations {
  text-align: center;
}
.modal .modal-body.tour-translations .icon-item.selected::before {
  border: 2px solid #95d704;
}
.modal .modal-footer.confirmation-footer,
.modal .modal-footer.cropper-footer {
  padding: 20px;
  text-align: right;
  border-top: 1px solid #e5e5e5;
}
.modal .modal-footer.contact-us-footer {
  padding: 0 20px 40px 20px;
  overflow: hidden;
}
.modal .modal-footer.contact-us-footer .captcha {
  float: left;
}
.modal .modal-footer.contact-us-footer .btn {
  float: right;
  width: auto;
}
.modal .modal-footer.cropper-footer .button-file {
  float: none;
}
.modal .modal-footer.tour-share-modal-footer {
  padding-bottom: 40px;
  text-align: center;
}
.modal .modal-footer.tour-share-modal-footer .social-buttons {
  display: inline-block;
  float: none;
}
.modal .modal-footer.tour-translations {
  text-align: center;
}
.modal .modal-footer.tour-translations .btn {
  margin: 20px auto;
  font-size: 20px;
  height: 40px;
}
.preloader .modal-content {
  box-shadow: none;
  background: none;
  text-align: center;
}
.preloader .modal-content .spinner {
  display: inline-block;
  width: 60px;
  height: 60px;
  float: none;
  margin: 0;
}
.preloader .modal-content .spinner .spinner-container > div {
  background-color: #fff;
}
.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  background-color: #000;
}
.modal-backdrop.fade {
  opacity: 0;
}
.modal-backdrop.in {
  opacity: 0.5;
}
@media (min-width: 768px) {
  .modal .modal-dialog {
    width: 500px;
  }
  .modal .modal-dialog.modal-sm {
    width: 300px;
  }
  .modal .modal-footer.contact-us-footer .btn {
    width: 33%;
  }
}
@media (min-width: 992px) {
  .modal .modal-dialog.modal-lg {
    width: 900px;
  }
}
