.di-z-modal,
.di-z-overlay,
.di-z-extra-high,
.di-z-high,
.di-z-mid,
.di-z-low,
.di-z-half,
.di-z-impact,
.di-z-buried {
  position: relative; }

.di-z-modal {
  z-index: 1050; }

.di-z-overlay {
  z-index: 1000; }

.di-z-mobile-overlay {
  z-index: 1030; }

.di-z-extra-top {
  z-index: 500; }

.di-z-extra-high {
  z-index: 400; }

.di-z-high {
  z-index: 300; }

.di-z-mid {
  z-index: 200; }

.di-z-low {
  z-index: 100; }

.di-z-half {
  z-index: 50; }

.di-z-impact {
  z-index: 1; }

.di-z-buried {
  z-index: -1; }

/***** VARIABLES *****/
/***** BASIC POSITIONING *****/
body.di-modal-open {
  overflow: hidden; }

#di-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  background: none;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1220001;
  overflow-x: hidden;
  overflow-y: auto;
  visibility: hidden;
  transition: visibility 0s, opacity 0.3s linear; }
  #di-modal .di-modal-box {
    margin: 80px auto 80px;
    background: #fff;
    max-width: 600px;
    position: relative;
    transition: margin 0.3s ease; }
  #di-modal .di-modal-box-inner {
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scroll: touch; }
  #di-modal .di-modal-close {
    width: 40px;
    height: 40px;
    position: absolute;
    top: -20px;
    right: -20px;
    background: #fff;
    cursor: pointer;
    z-index: 500;
    border-radius: 50%;
    background-clip: padding-box;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3); }
    #di-modal .di-modal-close:after, #di-modal .di-modal-close:before {
      content: '';
      width: 2px;
      height: 20px;
      display: block;
      background: #111;
      position: absolute;
      top: 10px;
      left: 19px; }
    #di-modal .di-modal-close:after {
      -ms-transform: rotate(45deg);
      -webkit-transform: rotate(45deg);
      transform: rotate(45deg); }
    #di-modal .di-modal-close:before {
      -ms-transform: rotate(-45deg);
      -webkit-transform: rotate(-45deg);
      transform: rotate(-45deg); }
  #di-modal.faded-in {
    opacity: 1;
    visibility: visible; }
    #di-modal.faded-in .di-modal-box {
      margin-top: 100px; }
  #di-modal.iframe-open .di-modal-box {
    max-width: 80%;
    height: 70vh; }
    #di-modal.iframe-open .di-modal-box .di-modal-box-inner {
      height: 100%;
      overflow: hidden; }

.di-modal-content {
  display: none;
  -webkit-box-direction: normal;
  -webkit-box-orient: vertical;
  -webkit-flex-direction: column;
  -moz-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column; }

/***** MOBILE *****/
@media (max-width: 767px) {
  #di-modal.faded-in .modal-wrap {
    padding: 30px; }
  #di-modal.faded-in .di-modal-box {
    margin: 30px auto; }
  #di-modal.faded-in .di-modal-box-inner {
    max-height: 60vh; }
  #di-modal.faded-in .di-modal-close {
    top: initial;
    bottom: -20px;
    left: 0;
    right: 0;
    margin: 0 auto; }
  #di-modal.faded-in .di-modal-head,
  #di-modal.faded-in .di-modal-body,
  #di-modal.faded-in .di-modal-footer {
    padding: 15px; } }

/***** BASIC STYLING *****/
.di-modal {
  cursor: pointer; }

#di-modal .di-modal-head {
  background: #f5f5f5;
  padding: 30px; }

#di-modal .di-modal-body {
  background: #fff;
  padding: 30px; }

#di-modal .di-modal-footer {
  padding: 30px;
  background: #f5f5f5; }

#di-modal .lightbox-info {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  justify-content: center;
  height: 100%; }
  #di-modal .lightbox-info .info-left {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 60%;
    -moz-box-flex: 1;
    -moz-flex: 1 1 60%;
    flex: 1 1 60%;
    -ms-flex: 1 1 60%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    align-items: center;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap; }
  #di-modal .lightbox-info .info-right {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 40%;
    -moz-box-flex: 1;
    -moz-flex: 1 1 40%;
    flex: 1 1 40%;
    -ms-flex: 1 1 40%;
    -ms-flex: 1 1 35%; }

#di-modal iframe {
  width: 100%;
  height: 100%;
  border: none; }

/***** ALTERNATE SIZES *****/
@media (max-width: 767px) {
  #di-modal.modal-size--mobile-full {
    background: none; }
    #di-modal.modal-size--mobile-full .modal-wrap {
      padding: 0; }
    #di-modal.modal-size--mobile-full .di-modal-flex-wrapper {
      display: flex;
      flex-direction: column;
      height: 100vh; }
    #di-modal.modal-size--mobile-full .di-modal-box {
      margin: 0;
      max-width: none; }
    #di-modal.modal-size--mobile-full .di-modal-box-inner {
      max-height: none; }
    #di-modal.modal-size--mobile-full .di-modal-flex-wrapper {
      display: flex;
      flex-direction: column;
      min-height: 100vh; }
      #di-modal.modal-size--mobile-full .di-modal-flex-wrapper .di-modal-body {
        flex-grow: 1; }
    #di-modal.modal-size--mobile-full .di-modal-content {
      min-height: 100vh; }
    #di-modal.modal-size--mobile-full .di-modal-head {
      background: #fff;
      padding-right: 50px; }
      #di-modal.modal-size--mobile-full .di-modal-head h1, #di-modal.modal-size--mobile-full .di-modal-head h2, #di-modal.modal-size--mobile-full .di-modal-head h3, #di-modal.modal-size--mobile-full .di-modal-head h4, #di-modal.modal-size--mobile-full .di-modal-head h5 {
        margin: 0;
        font-size: 16px; }
    #di-modal.modal-size--mobile-full .di-modal-body {
      -webkit-box-flex: 1;
      -webkit-flex-grow: 1;
      -moz-flex-grow: 1;
      -ms-flex-positive: 1;
      flex-grow: 1;
      background: #f5f5f5; }
    #di-modal.modal-size--mobile-full .di-modal-footer {
      background: #fff; }
    #di-modal.modal-size--mobile-full .di-modal-close {
      box-shadow: none;
      top: 3px;
      margin: 0 0 0 auto;
      background: transparent; } }

#di-modal.modal-size--full .di-modal-box {
  transition: none;
  max-width: 100%;
  margin: 0;
  min-height: 100vh; }

#di-modal.modal-size--full .di-modal-close {
  top: 20px;
  right: 20px;
  position: fixed; }

@media (max-width: 767px) {
  #di-modal.modal-size--full .modal-wrap {
    padding: 0; }
  #di-modal.modal-size--full .di-modal-box-inner {
    max-height: none; }
  #di-modal.modal-size--full .di-modal-close {
    left: inherit;
    bottom: inherit; } }

@media (max-width: 767px) {
  #di-modal.modal--action-bar {
    background: none; }
    #di-modal.modal--action-bar .modal-wrap {
      padding: 0; }
    #di-modal.modal--action-bar .di-modal-flex-wrapper {
      display: flex;
      flex-direction: column;
      height: 100vh; }
    #di-modal.modal--action-bar .di-modal-box {
      margin: 0;
      max-width: none; }
    #di-modal.modal--action-bar .di-modal-box-inner {
      max-height: none; }
    #di-modal.modal--action-bar .di-modal-flex-wrapper {
      display: flex;
      flex-direction: column;
      min-height: 100vh; }
      #di-modal.modal--action-bar .di-modal-flex-wrapper .di-modal-body {
        flex-grow: 1; }
    #di-modal.modal--action-bar .di-modal-content {
      min-height: 100vh; }
    #di-modal.modal--action-bar .di-modal-head {
      background: #fff;
      padding-right: 50px; }
      #di-modal.modal--action-bar .di-modal-head h1, #di-modal.modal--action-bar .di-modal-head h2, #di-modal.modal--action-bar .di-modal-head h3, #di-modal.modal--action-bar .di-modal-head h4, #di-modal.modal--action-bar .di-modal-head h5 {
        margin: 0;
        font-size: 16px; }
    #di-modal.modal--action-bar .di-modal-body {
      -webkit-box-flex: 1;
      -webkit-flex-grow: 1;
      -moz-flex-grow: 1;
      -ms-flex-positive: 1;
      flex-grow: 1;
      background: #f5f5f5; }
    #di-modal.modal--action-bar .di-modal-footer {
      background: #fff; }
    #di-modal.modal--action-bar .di-modal-close {
      box-shadow: none;
      top: 3px;
      margin: 0 0 0 auto;
      background: transparent; } }

@media (min-width: 768px) {
  #di-modal.modal--action-bar .di-modal-head {
    background: #fff;
    text-align: center; }
    #di-modal.modal--action-bar .di-modal-head h2 {
      margin: 0; }
  #di-modal.modal--action-bar .di-modal-body {
    background: #f5f5f5; } }

#di-modal .gform_wrapper {
  font-family: unset; }
  #di-modal .gform_wrapper .gfield_label {
    margin-bottom: 0;
    font-weight: 400;
    color: #999; }
  #di-modal .gform_wrapper input:not([type="button"]):not([type="submit"]),
  #di-modal .gform_wrapper textarea {
    border-radius: 0;
    background-clip: padding-box;
    border: none;
    border-bottom: 1px solid #ccc;
    padding-left: 0;
    margin-bottom: 15px; }
    #di-modal .gform_wrapper input:not([type="button"]):not([type="submit"]):focus,
    #di-modal .gform_wrapper textarea:focus {
      outline: none;
      background: #fafafa; }

#di-modal .gform_footer, #di-modal .gform_page_footer {
  clear: both;
  text-align: center;
  padding: 1rem 0 0 0; }
  #di-modal .gform_footer:after, #di-modal .gform_page_footer:after {
    display: table;
    clear: both;
    content: ""; }

#di-modal img.gform_ajax_spinner {
  position: absolute;
  left: 50%;
  width: 16px;
  height: 16px;
  bottom: 10px;
  margin-left: -8px;
  filter: grayscale(1); }

#di-modal .gform_button.button {
  margin: 0 auto;
  float: right; }

#di-modal .gform_next_button, #di-modal .gform_submit_button {
  float: right; }

#di-modal .button--primary, #di-modal .gform_previous_button {
  display: inline-block;
  background: #ccc;
  border: none;
  border-radius: 0px;
  box-shadow: none;
  padding: 1rem 2rem;
  font-weight: 700;
  font-size: 0.8rem;
  line-height: 1;
  color: #393839;
  position: relative;
  text-transform: none;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.5s ease; }

#di-modal .gform_previous_button {
  float: left;
  border: 1px solid #ccc;
  background: #f2f2f2; }
