@import "./../../../../template/assets/scss/all-var-fns-mix";

#template-set-theme-page {
  /* Page level styles go here */
  $border-type: solid;
  $version-modal-dialog-border-width: 1px;

  div.ch5-modal-dialog {
    // border: $version-modal-dialog-border-width $border-type $black;
    max-height: calc(100vh - 50px);
    border: $version-modal-dialog-border-width $border-type var(--theme-shell--remote-logger-modal-border);
    color: var(--theme-colors--theme-body-font-color);
    background-color:  var(--theme-shell--remote-logger-modal-background-color);

    .ch5-modal-dialog-close-icon-btn {
      color: var(--theme-colors--theme-body-font-color);
      background-color: transparent;
    }

    p {
      color: var(--theme-colors--theme-body-font-color);
    }

    .ch5-modal-dialog-close-icon-btn {
      padding: 0;
      margin: 0;
      position: absolute;
      top: 15px;
      right: 20px;
      z-index: 999999;

      @include size(auto);

      span.ch5-modal-dialog-close-icon {
        display: block;
        font-size: rem-calc(24px);
      }
    }

    .ch5-modal-dialog-contents {
      font-size: calc(12px + 6 * ((100vw - 320px) / 680)); //14px;
      padding: 0;

      &>p:last-child {
        margin-bottom: 0;
      }
    }
  }

  @media (max-width: 768px) and (orientation: portrait) {
    div.ch5-modal-dialog {
      width: 80%;
    }
  }

  @media (max-height: 640px) and (orientation: landscape) {
    hr {
      margin-top: 0.75rem;
      margin-bottom: 0.75rem;
    }
  }
  
}
