@import "variables";

.tt_modal {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: hsla(0, 0%, 0%, 0.6);
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s linear 0.3s, opacity 0.3s;

  &.is-visible {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;

    .tt_modal_transition {
      transform: translateY(0);
      opacity: 1;
    }
  }

  .tt_modal_wrapper {
    position: absolute;
    z-index: 11;
    top: 20%;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    background: $white;
    box-shadow: 0 0 1.5em hsla(0, 0%, 0%, 0.35);
  }

  .tt_modal-body {
    background: $white;
  }

  .tt_modal_content {
    padding: 20px;
    display: block;
  }

  .tt_modal_header {
    padding: 0 15px;
    font-size: 16px;
    position: relative;
    background-color: $white;
    box-shadow: 0 1px 2px hsla(0, 0%, 0%, 0.06);
    border-bottom: 1px solid $grey;
  }

  .tt_modal_close {
    position: absolute;
    top: -20px;
    right: 10px;
    padding: 1em;
    color: $medium-grey;
    border: 0;
    opacity: 0.3;

    &:hover {
      opacity: 1;
    }

    &:before,
    &:after {
      position: absolute;
      left: 15px;
      content: ' ';
      height: 25px;
      width: 2px;
      background-color: $dark-gray
    }

    &:before {
      transform: rotate(45deg);
    }

    &:after {
      transform: rotate(-45deg);
    }
  }

  .form_item {
    width: 100%;
    max-width: 300px;
    margin: 20px auto;

    label {
      display: block;
    }

    select,
    input:not([type='checkbox']) {
      height: 35px;
      width: 100%;
    }

    input[type='checkbox'] {
      margin-right: 10px;
    }

  }

  .show_dep_shortcode,
  .show_loc_shortcode,
  .show_doc_shortcode,
  .show_doc_slider_shortcode{
    text-align: center;
    display: block;
    width: 150px;
    padding: 12px 0;
    margin: auto;
    background-color: $green;
    border: none;
    color: $white;
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;

    &:hover {
      box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    }
  }

  .result_shortcode {
    display: none;
    margin: 15px auto;
    border-radius: 8px;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    background-color: $wheat;
    border: none;
  }

  .tt_shortcode_message {
    display: none;
    text-align: center;
  }

  ul.tabs {
    margin: 0;
    padding: 0;
    list-style: none;

    li {
      background: none;
      color: $dark-gray;
      display: inline-block;
      padding: 10px;
      cursor: pointer;
      margin-bottom: 0;

      &.current {
        background: $blue;
        color: $white;
      }
    }

  }

  .tab-content {
    display: none;
    background: $white;

    &.current {
      display: inherit;
    }

  }
  .show_loc_limit_option,
  .show_loc_filter_option,
  .show_limit_option,
  .show_filter_option{
    display: none;
  }

}




