/* -------------------------
	Modal module
------------------------- */
body{
  background-color: #eff1f5;
}
.contentWrap{
  padding-bottom: 0;
}

.df-modal {
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  overflow: auto;
  width: 100%;
  z-index: 1000;
  -webkit-overflow-scrolling: touch;
}

.modalInner {
  height: 100%;
  position: relative;
  z-index: 1100;
}
.modalBodyWrap {
  border-radius: 15px;
  overflow: hidden;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 40px);
}
@media print, screen and (min-width: 769px) {
  .modalBodyWrap {
    max-width: 500px;
    width: 100%;
  }
}
.df-modal .modalBody {
  background-color: #fff;
  border-radius: 15px;
  max-height: 100%;
  opacity: 0;
  position: relative;
  padding: 30px 20px;
  transition: opacity 0.7s ease-in-out;
  z-index: 2000;
}
.df-modal .modalBody iframe {
  height: 267px !important;
  margin: 0 auto;
  width: 400px !important;
}
@media print, screen and (max-width: 768px) {
  .df-modal .modalBody iframe {
    height: 133px !important;
    width: 200px !important;
  }
}

.modal-title.error-title {
  background-color: #ff4b3c;
  border-radius: 5px;
  color: #fff;
}
.modalOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#55ffffff,EndColorStr=#55ffffff);
}
.modalOverlayForMinchalle{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: rgba(0, 0, 0, 0);
  filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#55ffffff,EndColorStr=#55ffffff);
}

.df-modal.open {
  display: block;
}

.df-modal.in .modalBody {
  opacity: 1;
  transition: opacity 0.7s ease-in-out;
}

.df-modal.modal1 .modalClose {
  background-color: #fff;
  color: #222;
  cursor: pointer;
  height: 35px;
  position: absolute;
  top: 10px;
  right: 10px;
  width: 35px;
  z-index: 100;
}
.df-modal.modal1 .modalClose::before {
  content: "";
  display: block;
  background-color: #000;
  height: 2px;
  margin-left: -10px;
  position: absolute;
  top: 10px;
  left: 50%;
  width: 20px;
}
.df-modal.modal1 .modalClose .icon {
  background-color: #fff;
  color: #222;
  display: block;
  font-size: 10px;
  padding-top: 20px;
  text-align: -webkit-right;
}

.noscroll,
.noscroll body {
  height: 100%;
  width: 100%;
  overflow: hidden;
}

/* modal content  */
.df-modal .modal-wrap {
  padding: 14px;
  text-align: center;
  font-size: 12px;
}

.df-modal .modal-wrap header {
  font-size: 14px;
  font-size: 1rem;
  color: #fff;
  border-bottom: 1px solid #bbbbbb;
  margin: 0 -14px;
  padding: 0 14px;
}

.modal-wrap p,
.modal-wrap li {
  margin-top: 1em;
}

.modal-wrap p:first-child,
.modal-wrap li:first-child {
  margin-top: 0;
}

.df-modal .box-white {
  background-color: #fff;
  padding: 12px 6px;
  color: #5c5c5c;
  text-align: left;
}

.df-modal .modal-title,
.df-modal .error-title {
  margin-top: 0;
  font-size: 1.28571rem;
}

.df-modal.modal2 .modal-title {
  margin-left: -4px;
  margin-right: -4px;
}

.df-modal.modal2 .buttonSet {
  margin: 20px 0 0;
}

.df-modal.modal2 .modalClose {
  display: none;
}

.df-modal.modal1.modal3 .modalInner {
  width: 90%;
  max-width: 500px;
}

.df-modal.modal1.modal3 .addressSelect {
  padding: 10px;
}

.df-modal.modal1.modal3 .addressSelect_inner {
  padding-bottom: 1px;
  background: #FFF;
  color: #333;
  font-size: 16px;
}

.df-modal.modal1.modal3 .addressSelect_inner p {
  margin: 0;
}

.df-modal.modal1.modal3 .input {
  text-align: right;
  margin-top: 5px !important;
}

.df-modal.modal1.modal3 .input button {
  padding: 6px 25px;
  background: #ddd;
  font-size: 14px;
}

.df-modal.modal1.modal3 .postcode {
  font-size: 22px;
  padding: 10px 20px;
  background: #ddd;
}

.df-modal.modal1.modal3 .addressblock {
  border-bottom: 1px solid #ddd;
  padding: 15px 10px 10px;
  margin: 10px;
}

.df-modal.modal1.modal3 .addressblock:last-child {
  border-bottom: none;
}

.df-modal .btn {
  outline: none;
  border: 0;
}

button.btn,
input[type=button].btn,
input[type=submit].btn {
  background-color: #3eadf0;
  border: 1px solid transparent;
  border-radius: 999px;
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin: 0 auto;
  max-width: 250px;
  padding: 0px;
  text-align: center;
  width: 100%;
}
