/*
관리자 모드 CSS
  - 관리자 메뉴, 메일서버관리에서만 로딩됩니다.
*/

/* 도메인 관리 등에서 가로 스크롤리 생기는 경우 고려하여, 우측 박스 쉐도우 숨김 */
.layout-container.layout-sidebar-gray #affix_sidebar_divider + .affix-content {
    /*box-shadow: -1px 0px 0px rgba(0, 0, 0, 0.04),  -4px 0px 12px rgba(0, 0, 0, 0.04);*/
    box-shadow: -1px 0px 0px rgba(0, 0, 0, 0.04), -4px 0px 10px rgba(0, 0, 0, 0.04);
}

.l_status_MODP,
.l_status_SMTPS,
.l_status_POP3S,
.l_status_MODMA,
.l_status_MODMU {
    color: blue;
}

.l_status_ADD,
.l_status_DEL,
.l_status_WITHDRAWAL,
.l_status_SMTPUS,
.l_status_POP3US {
    color: red;
}

.l_status_FORWARDS,
.l_status_FORWARDUS {
    color: #009100;
}

.l_status_2FAS,
.l_status_2FAUS,
.l_status_2FARS,
.l_status_2FARUS {
    color: #8f6a00;
}

/*메일계정 관리 로그 - 결과*/
.log-setting {
    margin-bottom: 0;
}

.log-setting li div {
    padding-top: 3px;
    margin-right: 15px;

}

.log-setting li {
    /* display: flex;*/
    display: inline-block; /* IE에서 flex 적용이 안됨 */
    text-align: justify;
}

.log-setting li div {
    display: inline-block;
}

.log-setting li a {
    display: inline-block;
    padding: 3px 2px;
}

.log-setting .spot {
    color: rgb(138 142 160 / 40%);
    margin-right: 5px;
}

.log-label {
    background-color: #f6f7fa;
    color: #444;
    text-align: center;
    line-height: 1;
    white-space: nowrap;
    padding: .2em .5em .3em;
    vertical-align: baseline;
    border-radius: .25em;
}

/* 메일 서버관리 메뉴 목록 -  select 높이 개선 */
.contact-data select {
    height: 24px;
    /*vertical-align: middle;*/
    white-space: nowrap;
}

/*메일서버관리 메뉴 - IP관리 알림 박스 아래 여백 조정*/
.layout-container .np-sadmin_ip .alert.alert-info {
    margin-bottom: 8px;
}

/* 용량 정보 상태바 */
.size-info-table .progress {
    margin-bottom: -1px;
}

/* 관리자 모드, 상단 탭 하단마진*/
#basicTab {
    margin-bottom: 10px;
}

/* select 높이을 버튼과 같게 맞춤  */
.select-h23 {
    height: 23px;
    vertical-align: middle;
    white-space: nowrap;
    line-height: 1.5;
}

/* 메일서버관리 회원 목록 레이어 */
.mail-drop-list .dropdown-menu {
    margin: 0;
    padding: 0;
}

.mail-drop-list .dropdown-menu > li {
    border-bottom: 1px solid #eee;
}

.mail-drop-list .dropdown-menu > li > a {
    padding: 8px 15px;
}

.mail-drop-list .dropdown-menu > li > a > b {
    font-weight: 400;
}

.mail-drop-list.open .dropdown-menu li a {
    background-color: #fff;
}

.forward-address,
.froward-status {
    border-bottom: 1px solid #ddd;
}

.forward-address:last-child,
.froward-status:last-child {
    border-bottom: 0;
}

.email-status-UNAVAILABLE_WITHDRAWN,
.email-status-UNAVAILABLE_OVER_QUOTA,
.email-status-UNAVAILABLE_NOT_FOUND,
.email-status-UNAVAILABLE_PENDING {
    color: red;
}

/* 용량 추가 링크 */
.quota-wrap {
    display: inline-block;
    height: 26px;
    vertical-align: middle;
    margin-left: 15px;
}

.quota-wrap .quota-plus {
    display: inline-block;
    padding: 2px 4px;
    font-size: 12px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid #ccc;
    background-color: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 3px;
    margin-right: 8px;
}

/* 서버 설정 탭 메뉴 */
.nav-tabs-menu > li.active > a,
.nav-tabs-menu > li.active > a:focus,
.nav-tabs-menu > li.active > a:hover {
    cursor: pointer;
}

/* 2단계 인증 필수사용 */
.tfa-required {
    filter: hue-rotate(-60deg) saturate(200%);
}

/* 회원 관련 테이블 */
.table-member-list .d_name,
.table-member-list .m_id,
.table-member-list .m_name {
    text-align: left;
}

/** 계정 보안 관리 도움말 **/
.btn-mbr_security-help {
    display: inline-block;
    vertical-align: middle;
    background-color: #fff;
    border: 0;
    padding: 0;
    width: 18px;
    height: 18px;
    text-align: center;
    line-height: 16px;
    white-space: nowrap;
    margin-bottom: 4px;
}

.mbr_security-help {
    position: absolute;
    background-color: #fff;
    padding: 10px 5px 10px 10px;
    border-radius: 5px;
    display: none;
    font-size: 16px;
    z-index: 99999;
    border: 1px solid #ccc;
    max-width: 680px;
    text-align: left;
    line-height: 1.8;
}

.mbr_security-help .bi {
    font-size: 14px;
}

.mbr_security-help p {
    margin-bottom: 0;
    margin-right: 20px;
}

/* X 버튼 스타일 */
.mbr_security-help .btn-mbr_security-help-close {
    position: absolute;
    top: 2px;
    right: 2px;
    background: transparent;
    border: none;
    cursor: pointer;
}

/* 회원관리 서비스 아이콘 비활성화 표시 */
.fade5 {
    filter: alpha(opacity=40);
    opacity: 0.4;
}

/* 관리자 메뉴, 메일서버관리 왼쪽 메뉴 패딩 개선 */
.admin-sidebar .navbar-nav li.step-3 {
    padding-left: 15px;
}

.admin-sidebar .navbar-nav > li > a {
    padding-right: 0 !important;
}

/* 메일 로그 */
.table-mail-log > thead > tr > th {
    padding-left: 4px !important;
    padding-right: 4px !important;
}

.table-mail-log > tbody > tr > td {
    padding: 4px !important;
}

.table-mail-log .log-email {
    min-width: 150px;
    text-align: left;
}

.table-mail-log .log-email.log-email-authuser {
    min-width: auto;
    white-space: nowrap;
}

.table-mail-log .log-type {
    min-width: 75px;
    word-break: auto-phrase;
    text-align: left;
}

.table-mail-log .log-type .log-type-send-fail {
    min-width: 180px;
}


.table-mail-log .btn-xs {
    padding: 0 1px;
}

.table-mail-log .log-type-normal {
    /*color: #000;*/
}

.table-mail-log .log-type-danger,
.table-mail-log .log-type .smtp-error {
    color: red;
}

.table-mail-log .log-type-detail {
    text-align: left;
    font-size: 8pt
}

.table-mail-log .log-extra-info {
    color: blue;
}

/* 메일서버관리 - 자주찾는 메뉴 */
.sadmin-wrap .txt-shadow_g {
    position: relative;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    overflow: hidden;
}

.sadmin-wrap .txt-shadow_g .mail-server-icon {
    font-size: 40pt;
    position: absolute;
    top: 0;
    left: 40px;
    z-index: 1;
}

.sadmin-wrap ul.often-menu {
    list-style: none;
    display: flex;
    margin-top: 5px;
    margin-bottom: 20px;
    padding-left: 0;
}

.sadmin-wrap ul.often-menu li {
    margin-right: 10px;
}

.sadmin-wrap .server-title {
    color: #3f51b5;
    font-weight: bold;
    font-size: 14px;
}

.sadmin-wrap .bg-color {
    background-color: #F2F6FC;
}

.sadmin-wrap .bg-color a {
    font-weight: bold;
}

.sadmin-wrap .bg-color-w {
    background-color: #fff;
}

.sadmin-wrap .table > tbody > tr > td, .sadmin-wrap .table > tbody > tr > th,
.sadmin-wrap .table > tfoot > tr > td, .sadmin-wrap .table > tfoot > tr > th,
.sadmin-wrap .table > thead > tr > td, .sadmin-wrap .table > thead > tr > th {
    border: 1px solid #ddd;
}

/* 명령 실행 결과 */
.cmd-result {
    font-family: ui-monospace, 'Courier New', monospace;
    /*background-color: #202020;*/
    /*color: #fff;*/
    background-color: transparent;
    color: #1e1e23;
}

.cmd-result-list-result {
    width: 40vw;
    overflow: scroll;
    height: 50vw;
}

.cmd-result-list-df {
    width: 30vw;
    overflow: scroll;
    height: 50vw;
}

.monitor-show .cmd-result {
    width: calc(100vw - 128px);
}

.monitor-show tr th {
    background-color: #f4f9ff;
}

.monitor-show.table > tbody > tr > td {
    width: 95%;
}

/* 유지보수 서비스 정보 */
.alert-maintenance {
    margin-top: 10px;
    margin-bottom: 10px;
}

.premium-spam-lib-path {
    font-size: 12px;
}
