/*
  Copyright 2017 Red Hat Inc.

  Licensed under the Apache License, Version 2.0 (the "License"); you may
  not use this file except in compliance with the License. You may obtain
  a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  License for the specific language governing permissions and limitations
  under the License.
 */

@modal-xl: 1198px;

@media (min-width: @screen-sm-min) {
  .modal-xl {
    width: auto;
    padding: 0 20px;
  }
}

@media (min-width: @screen-lg-min) {
  .modal-xl { width: @modal-xl; }
}

.modal {
  &.modal-visible {
    display: block;
  }

  .modal-dialog {
    margin: 50px auto;
    .nav-tabs {
      font-size: 12px;
      padding: 15px 15px 0 15px;
    }
    .modal-body {
      .nav-tabs {
        padding: 0;
        margin-bottom: 15px;
      }
    }
    .modal-body.loader {
      padding: 30px 15px;
    }
  }

  .modal-header {
    border-bottom: 1px solid @modal-header-border-color ;
  }


  .modal-footer {
    margin-top: 0px;
    background-color: #f8f8f8;
    border-top: 1px solid @modal-footer-border-color ;
    padding: 10px 18px;
  }
}

.modal-form-error-list {
  &:extend(.modal-header, .modal .modal-header);
  .toast-pf.form-error-list {
    margin-bottom: 0;
  }
}
