/*------------------------------------*\
	Modal
\*------------------------------------*/

.ticket-tailor-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100000;
  height: 100%;
  width: 100%;
  background-color: #000000;
  color: #ffffff;
  opacity: 0.8;
}

.ticket-tailor-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  overflow: scroll;
  z-index: 100001;
  height: 100%;
  width: 100%;
  padding: 20px 30px;
  background-color: #ffffff;
  color: #333333;
  border: solid 4px #333333;
  font-size: 12px;
}

.ticket-tailor-modal-overlay.opened,
.ticket-tailor-modal.opened {
  display: block;
}

.ticket-tailor-modal a {
  vertical-align: middle;
  background-color: #ffffff;
  color: #333333;
}

.ticket-tailor-modal h2 {
  padding: 0;
  background-color: #ffffff;
  color: #333333;
}

.ticket-tailor-modal .form-group,
.ticket-tailor-widget .form-group {
  padding-bottom: 20px;
}

.ticket-tailor-modal label {
  background-color: #ffffff;
  color: #333333;
}

.ticket-tailor-modal input[type="email"],
.ticket-tailor-modal input[type="text"] {
  border: solid 2px #bbbbbb;
}

.ticket-tailor-modal input[type="email"]:focus,
.ticket-tailor-modal input[type="text"]:focus {
  border: solid 2px #333333;
}

.ticket-tailor-modal .spinner {
  background: url('/wp-admin/images/spinner.gif') no-repeat;
  background-size: 20px 20px;
  display: inline-block;
  visibility: hidden;
  opacity: 0.7;
  width: 20px;
  height: 20px;
  float: none;
  margin: 1rem;
  vertical-align: middle;
}

@media (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
  .spinner {
    background-image: url('/wp-admin/images/spinner-2x.gif');
  }
}

.ticket-tailor-modal .spinner.is-active {
  visibility: visible;
}

.ticket-tailor-failure,
.ticket-tailor-success {
  padding: 20px;
  border: solid 2px #333333;
}

@media only screen and (min-height: 800px) and (min-width: 1024px) {

  .ticket-tailor-modal {
    top: 10vh;
    left: 10vw;
    height: 80vh;
    width: 80vw;
    overflow: visible;
    font-size: 1em;
  }

}
