/* Copyright CloudLinux Zug GmbH 2010-2017 All Rights Reserved
 *
 * Licensed under CLOUD LINUX LICENSE AGREEMENT
 * http://cloudlinux.com/docs/LICENSE.TXT
 */
@import "colors";
@import "variables";

th {
  background-color: #f8f8f8;
  vertical-align: middle!important;
  height: 40px;
  border-bottom: none;
}

.modal-body  {
  padding: 25px 0;

  .main_btn {
    width: 120px;
  }

  th {
    border-bottom: 0px solid #ddd;
    border-top: 1px solid #ddd!important;
  }

  td {
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 200px;
    border-bottom: 1px solid #ddd!important;
  }

  td>input {
    width: 70px;
    text-align: center;
  }

  tr>td:nth-child(2) {
    width: 65%;
  }

  & > * {
    padding: 0 27px;
  }
}


.buttons {
  text-align: right;

  .main_btn {
    margin-left: 10px;
  }
}

.material-switch {
  & > input[type="checkbox"] {
    display: none;

    &:checked {
      & + label {
        &::before {
          background-color: #badeff;
        }

        &:after {
          background-color: #2b98f0;
          box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
          left: 20px;
        }
      }
    }
  }

  & > label {
    cursor: pointer;
    height: 0px;
    position: relative;
    width: 40px;
    margin-left: 8px;

    &::before {
      background: #b0afaf;
      border-radius: 8px;
      content: '';
      height: 13px;
      margin-top: -8px;
      position:absolute;
      transition: all 0.4s ease-in-out;
      width: 30px;
    }

    &::after {
      background-color: #f1f1f1;
      border-radius: 16px;
      box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
      content: '';
      height: 18px;
      left: -8px;
      margin-top: -8px;
      position: absolute;
      top: -3px;
      transition: all 0.3s ease-in-out;
      width: 18px;
    }
  }

}

.functional_table {
  table-layout: fixed;

  tr {
    td {
      border-bottom: none!important;
      vertical-align: middle;
      padding: 10px 27px 10px 0;
      font-family: @notoFont;
      font-size: 13px;

      &:first-child {
        color: #1d1d1d;
        font-weight: bold;
        width: 214px;
        padding-left: 27px;
      }
    }
  }
}

.limits_table {
  tr {
    td {
      // border-bottom: none!important;
      vertical-align: middle;
      padding: 3px 0px;
      font-family: @notoFont;
      font-size: 13px;

      &:first-child {
        color: #1d1d1d;
        width: 205px;
        padding-left: 27px;
      }
    }

    th {
      font-family: @notoFont;
      font-size: 11px;
      font-weight: bold;
      &:first-child {
        padding-left: 27px;
      }
    }
  }
}

.limits_table td {

}

.pointer {
  cursor: pointer;
  color: #299aed;
}



.status_confirm {
  background: rgba(255, 255, 255, 0.8);
  bottom: 0px;
  display: flex;
  position: absolute;
  top: 0px;
  left: 0;
  width: 100%;
  z-index: 9999;
}
.row.status_confirm_wraper {
  background: white;
  box-shadow: 2px 0px 20px rgba(77, 74, 74, 0.7);
  margin: 0 auto;
  padding: 24px 24px 16px 24px;
  text-align: center;
  position: absolute;
  width: 75%;
  height: auto;
  left: 0;
  right: 0;
  margin-top: 70px;
}
.status_confirm_wraper {
  p {
    line-height: 25px;
    padding-bottom: 24px;
    color: #4d4d4e;
    font-size: 15px;
    font-weight: bold;
  }
  .save_status {
    display: block;
    float: right;
  }
  .cancel_status {
    display: block;
    float: right;
  }
}
.Cpanel_ {
  .status_confirm_wraper {
    button {
      margin:0px 4px!important;
    }
  }
}

.cancel_status {
  button {
    color: #68696d !important;
    background: transparent !important;
    height: 42px;
    border: none;
  }
}

.cancel_status, .save_status {
  height: 36px;
  margin-bottom: 16px;

  button {
    outline: none;
  }

  &:hover, &:active {
    background-color: transparent !important;
    outline: none;
  }
}

.save_status {
  button {
    color: @mainColor;
    background: transparent !important;
    border: none;
    box-shadow: none;
    height: 42px;
  }
}

.modal.Cpanel_ {
  margin-top: 100px;
}

