/** Modal */
#modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 300;
}

.welcome10{
    margin-top: 15px;
    font-weight: 800;
    border: dashed #cec8c8;
    font-size: 15px;
	font-family: "Source Sans Pro", sans-serif;
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: #f6f6f6;
}

.modal_shortcode{
    font-size: 12px;
	margin-bottom: 10px;
	font-family: "Source Sans Pro", sans-serif;
}

.close-this-modal{
	font-family: "Source Sans Pro", sans-serif;
}

.modal-message {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  background-color: #fff;
  max-width: 94vw;
  width: 780px;
  margin: 0;
  z-index: 400;
  box-sizing: border-box;
}
.modal-message .message-wrapper {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
.modal-message .modal-image {
  width: 50%;
  position: relative;
  -webkit-flex-shrink: 0;
      -ms-flex-negative: 0;
          flex-shrink: 0;
}
.modal-message .modal-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
.modal-message .modal-image img.mobile-modal-image {
  display: none;
}
.modal-message .content-wrapper {
  padding: 2em 3em;
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
          text-align: center;
}
.modal-message .content-wrapper .close-x {
  cursor: pointer;
  position: absolute;
  right: 10px;
  top: 8px;
  width: 18px;
  height: 22px;
}
.modal-message .content-wrapper .close-x:before, .modal-message .content-wrapper .close-x:after {
  position: absolute;
  left: 8px;
  content: " ";
  height: 22px;
  width: 3px;
  background-color: red;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.close-this-modal{
  text-decoration: underline;
  color: gray;
}
.modal-message .content-wrapper .close-this-modal:before:hover, .modal-message .content-wrapper .close-this-modal:after:hover {
  background-color: red;
}
.modal-message .content-wrapper .close-this-modal:before {
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
}
.modal-message .content-wrapper .close-this-modal:before:hover {
  -webkit-transform: rotate(90deg);
      -ms-transform: rotate(90deg);
          transform: rotate(90deg);
}
.modal-message .content-wrapper .close-this-modal:after {
  -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
          transform: rotate(-45deg);
}
.modal-message .content-wrapper .close-this-modal:after:hover {
  -webkit-transform: rotate(-90deg);
      -ms-transform: rotate(-90deg);
          transform: rotate(-90deg);
}
.modal-message .content-wrapper .modal_heading {
  font-weight: 600;
  font-family: "brandon-grotesque", helvetica, arial, sans-serif;
  color: #215693;
  margin-bottom: 4vh;
  padding-top: 2vh;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  font-size: 3em;
}
.modal-message .content-wrapper .modal_subheading {
  font-family: "playfair-display", helvetica, arial, sans-serif;
  font-style: italic;
  width: 100%;
  margin: auto;
  font-size: 2em;
  margin-bottom: 2vh;
}
input[type=email]{

  padding: .6180469716em;
  background-color: white;
  color: #43454b;
  border: 0;
  -webkit-appearance: none;
  box-sizing: border-box;
  font-weight: 400;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.125);
  width: 100%;
  margin-bottom: 1em;
  border: 1px solid lightgray;

}

input[type="submit"]{
  background-color: #215693;
  color: white;
  width: 100%;
  padding: 1.5em;
  font-size: 0.75em;
}

.modal_content {
  width: 100%;
  margin: auto;
  margin-bottom: 1vh;
  font-size: 14px;
  font-family: "Source Sans Pro", sans-serif;
}

.modal_content > p {
  font-size: 0.75em;
  margin-bottom: 2vh;
  color: gray;
}

.modal-message form p {
  margin: 0;
}

.close-this-modal {

}
@media only screen and (max-width: 599.98px) {
  .modal-message .message-wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .modal-message .modal-image {
    width: 100%;
    height: 20vh;
  }
  .modal-message .modal-image.use-mob-image img.desktop-modal-image {
    display: none;
  }
  .modal-message .modal-image.use-mob-image img.mobile-modal-image {
    display: block;
  }
  .modal-message .content-wrapper {
    position: relative;
  }
}