/**
 * Modals
 *
 * @module modal
 *
 * @license   GNU General Public License, version 2
 * @copyright 2013 OOO "ЛС-СОФТ" {@link http://livestreetcms.com}
 * @author    Denis Shakhov <denis.shakhov@gmail.com>
 */


/* Base class */
.ls-modal {
    display: none;
    margin: 50px auto;
    position: relative;
    min-width: 300px;
    max-width: 500px;
    min-height: 200px;
    max-height: 60%;
    overflow: hidden;
    border-radius: 16px;
    background-color: #fff;
    z-index: 1000;
    padding: 35px 40px 35px 40px;
}

.theme-night .ls-modal {
  background-color: #1F2326 !important;
}

@media screen and (max-width: 768px)  {
  .ls-modal {
    padding: 25px 15px 25px 15px;
    height: 100%;
    max-height: 100%;
    width: 100%;
    margin: 0 !important;
  }
  .ls-modal-overlay {
    padding: 0 !important;
  }
  .ls-modal-body {
    margin-bottom: 15px;
    height: 100%;
    padding-top: 80px;
  }
  .ls-modal .user-list-small {
    max-height: calc(100% - 90px);
    height: auto !important;
  }
}

/* Actionbar */
.ls-modal .ls-actionbar {
    /* background: #eef6ff; */
}
.ls-button-group {
  margin-bottom: 5px;
  margin-right: 10px;
  float: left;
}
/* Header */
.ls-modal-header {
    position: relative;
    float: none;
    font-family: 'Fira Sans',sans-serif;
}
.ls-modal-title {
    color: #000;
    font-size: 18px;
    margin-top: 0;
}

.ls-modal .ls-field-label {
  font-weight: 500;
}

/* Табы */
.ls-modal > .ls-tabs.ls-modal-tabs .ls-tab-list {
    padding: 20px 30px 0;
}

/* Навигация */
.ls-modal > .ls-tabs:not(:last-child) {
    margin-bottom: 10px;
}
.ls-modal > .ls-tabs .ls-tab-list {
    margin-bottom: 0;
    border: none;
    font-size: 11px;
    position: relative;
}
.ls-modal > .ls-tabs .ls-tab-pane-content {
    padding: 30px;
}
.ls-modal > .ls-tabs .ls-tab-list .ls-tab {
    margin-right: 10px;
}
.ls-modal > .ls-tabs .ls-tab-list .ls-tab .ls-tab-inner {
    border: 1px solid transparent;
    line-height: 13px;
    border-radius: 5px;
    padding: 3px 6px 4px;
    display: block;
    color: #727a90;
    text-decoration: none;
}

/* Hover */
.ls-modal .ls-tab-list .ls-tab .ls-tab-inner:hover,
.ls-modal .ls-tab-list .ls-tab:hover .ls-tab-inner {
    color: #333;
}

/* Active */
.ls-modal .ls-tab-list .ls-tab.active .ls-tab-inner {
    color: #628fa5;
    border-color: #ebf0f4;
    text-decoration: none;
}
.ls-modal .ls-tab-list .ls-tab.active .ls-tab-inner:hover {
    color: #333;
}


/* Lock */
.ls-modal-lock {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #000;
    opacity: .2;
    filter: alpha(opacity=20);
    -webkit-border-radius: 3px;
       -moz-border-radius: 3px;
            border-radius: 3px;
}


/* Footer */
.ls-modal-footer {
    text-align: right;
    margin-top: 15px;
}
.ls-modal-footer .ls-button {
  /* margin-bottom: 10px; */
}

/* Overlay */
.ls-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    overflow-y: scroll;
    visibility: visible;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    will-change: top;
    z-index: 999;
    overflow: auto;
    padding: 30px;
}

.ls-modal-body {
  margin-bottom: 15px;
  height: calc(100% - 130px);
}

.ls-modal .user-list-small {
  width: 100%;
  height: calc(100% - 15px);
  position: relative;
  overflow: auto;
}

.ls-modal--report {
  min-height: 350px;
}