@import '../core/mixins.scss';
@import "../colors/colors";
@import "../variables";

.fx-modal {
  position: relative;
  box-shadow: $box-shadow;

  .form-group {
    text-align: left;
  }
  .icon-close {
    top: 14px;
    right: 20px;
    font-size: 24px;
  }
  .fx-modal-header {
    border-bottom: 1px solid $gray-20;
    padding: 16px;

    h1 {
      font-size: 20px;
      color: $gray-80;
      margin: 0;
    }

    p {
      margin: 8px 0 0 0;
      color: $gray-50;
    }
  }
  .fx-modal-body {
    padding: 16px;
    overflow: hidden;

    &.pendency {
      button {
        float: right;
      }
    }
  }
  .fx-modal-footer {
    overflow: hidden;
    padding: 16px;

    .btn-group {
      float: right;
    }
  }

  .input-info {
    padding-bottom: 12px;
  }

  &.with-overflow {
    .fx-modal-body, .fx-modal-footer {
      overflow: visible;
    }
  }
  .icon-close {
    position: absolute;
    @include transform(rotate(45deg));
    @include transition(0.3s all);
    color: $gray-20;

    fx-icon {
      font-size: 24px;
    }
    &:hover {
      cursor: pointer;
      @include transform(rotate(135deg));
    }
  }
  .tooltip.in {
    opacity: 1;
    max-width: 280px;
    max-height: 350px;
    overflow: auto;
    z-index:9999999;
  }
  .tooltip .tooltip-inner{
    max-width: 280px;
    max-height: 350px;
  }
}
