/* MyDesk_page CSS */
.my_desk {text-align: center;}
.my_desk_txt_div span { font-size: 3vw; font-weight: bold; font-family: 'Song Myung'; margin-bottom: 3vw; display: block; }
.my_desk_txt_div span > p {display: inline-block; color: #6c9ae9; margin: 0;}
.my_desk_txt_div p:nth-child(2) {font-size: 2vw; color: #013082; font-weight: bold; margin: 0;}
.my_desk_txt_div p:nth-child(3) {font-size: 1.3vw; color: #888;}
.my_desk_login_div {margin-top: 5vw;}

.kind {display: flex; width: 30%; margin: 0 auto; text-align: left;}
.kind label {font-size: 1.5vw; width: 50%; color: #013082;}
.kind input[type=radio] {width: 2vw; height: 2vw; vertical-align: middle; margin-right: 10px; border-radius: 50%;}

.login_box {display: flex; margin: 0 auto; width: 50%; height: 9vw;}
.login_box > div:first-child {display: flex; flex-direction: column; width: 70%;}
.login_box > div:first-child > input {border: 1px solid #6c9ae9; height: 40%; margin-top: 4.5%; font-weight: bold; color: #013082;}
.login_box > div:nth-child(2) {width: 30%;}
.login_box > div:nth-child(2) > button { background-color: #6c9ae9; width: 90%; height: 90%; margin-top: 10%; color: white; font-size: 1.2vw; font-weight: bold;}
.login_box > div:nth-child(2) > button:hover {background-color: #013082;}

input::placeholder {color:#6c9ae9; opacity: 0.6; font-size: 1.2vw;}
input::-webkit-input-placeholder {color:#6c9ae9; opacity: 0.6; font-size: 1.2vw;}
input:-ms-input-placeholder {color:#6c9ae9; opacity: 0.6; font-size: 1.2vw;}


.my_desk_gnb_div {margin-top: 6vw;}
/* 모바일 해상도 대응 */
@media (max-width: 767px) {  
    .my_desk_gnb_div {
      margin-top: 130px;
    }
}
.my_desk_gnb_div > table {width: 100%; text-align: center; font-size: 0.85vw; margin-bottom: 5vw;}
.my_desk_gnb_div > table tr {height: 2vw; width: 100%;}
.my_desk_gnb_div > table tr > th {color: #013082; font-weight: bold; width: 10%; border-right: 2px solid #013082; vertical-align: middle;}
.my_desk_gnb_div > table tr > td {vertical-align: middle;}

.my_desk_gnb_div > table tr > td.on a {color: #b39a1e; font-weight: bold;}

.mydesk_table{ text-align: center; margin: 0 auto; border: 2px solid #9b9887; margin-bottom: 5vw;}
.mydesk_table tr {height: 2vw;}
.mydesk_table th {background-color: #9b9887; color: #fff; vertical-align: middle; font-size: 0.85vw;}
.mydesk_table td {vertical-align: middle; font-size: 0.85vw; border: 1px solid #9b9887;}

.w45_input {width: 45%;}
.w90 {width: 90%;}
.mydesk_table input, .mydesk_table select {border: 1px solid #aaa;}
.mydesk_table select {white-space: nowrap;}
.mydesk_table button {width: 45%; padding: 3%; margin: 1%; background-color: #b7b29b;}
.mydesk_table button:hover {font-weight: bold;}

.search_box {width: 100%; height: 5vw; display: flex;}
.search_box > select {border-bottom: 1px solid #333; width: 10%; text-align: center; height: 1.9vw; font-size: 0.9vw; appearance: auto;}
.search_box > input[type=text] {height: 1.9vw; width: 40%; text-align: center; font-size: 0.9vw; margin: 0 1% 0 1%; background-color: #ccc;}
.search_box > input[type=text]::placeholder {color: #666;}
.search_box > button {background-color: #9b9887; width: 8%; height: 1.9vw; text-align: center; font-size: 0.9vw; color: white;}
.search_box > button:hover {background-color: #b39a1e;}

.board_box, .board_box > table {width: 100%;}
.board_box > table tr {text-align: center; height: 2.5vw; border-bottom: 1px solid #9b9887;}
.board_box > table th {vertical-align: middle; background-color: #9b9887; color: #fff;}
.board_box > table td {vertical-align: middle;}

.view_box {padding-bottom: 8vw;}
.view_box > table {width: 100%;}
.view_box > table thead { height: 3vw; width: 100%; background-color: #9b9887;}
.view_box > table th {vertical-align: middle; text-align: center; font-size: 0.9vw; font-weight: 300; color: white; border: 1px solid #fff;}
.view_box > table td {padding: 2vw; border: 1px solid #333;}

.write_box > table {width: 100%; border: 1px solid #9b9887;}
.write_box > table > * {font-size: 0.8vw;}
.write_box > table tr {height: 3vw;}
.write_box > table th {text-align: center; vertical-align: middle; font-weight: bold; background-color: #9b9887; border-bottom: 1px solid #ccc;}
.write_box > table td > input {border: 1px solid #999; width: 90%; margin: 0.5vw 5%; height: 2vw;}
.write_box > table td > textarea {border: 1px solid #999; width: 90%; margin: 0 5%;}
.write_box > table td > button {float: right; margin: 1vw; width: 5vw; height: 2vw; text-align: center; font-size: 0.9vw; background-color: #9b9887; color: white;}



#write_btn {float: right; margin: 1vw 0vw; width: 5vw; height: 2.5vw; text-align: center; background-color: #9b9887; font-size: 0.9vw; color: white;}
#write_btn:hover {background-color: #b39a1e;}
#edit_btn {background-color: #6c9ae9; color: white;}
#del_btn {background-color: #e58282; color: white;}
#cancel_btn {background-color: #9b9887; color: white;}

.btn_box {float: right;}
.btn_box > button { width: 5vw; height: 2vw; text-align: center; border-radius: 10px; margin: 0.5vw; font-size: 0.9vw;}

.table_btn {background-color: #0f5132; color: white; width: 90%; height: 40px;}
.table_btn:hover{background-color: #198754;}

.red_dot {color: red;}

#bidding_cust_tb { width: 100%;}
#bidding_cust_tb td {height: 50px; line-height: 50px;}
#bidding_cust_tb tr td:first-child { width: 40%; font-weight: bold; text-align: right;}
#bidding_cust_tb td input {background-color: #eee; width: 90%; height: 80%; border-bottom: 1px solid #333; border-right: 1px solid #333;}
#bidding_cust_tb td input[type=file] { background-color: #fff;}

#cust_detail_tb {width: 100%;}
#cust_detail_tb tr {border-bottom: 1px solid #333; border-left: 2px solid #333;}
#cust_detail_tb tr td {height: 50px; line-height: 50px;}
#cust_detail_tb tr td:nth-child(1) {font-weight: bold;}
#cust_detail_tb tr td:nth-child(2) {text-align: left;}
#cust_detail_tb td input {width: 100%; text-align: center; height: 80%; font-size: 1rem; box-shadow: -2px -2px 4px 0 #bbb;}
#cust_detail_tb td input:disabled {background-color: #999; box-shadow: none;}
#cust_detail_tb td input[type=button] { background-color: #6c9ae9; box-shadow: none; line-height: 10%; color: white; font-weight: bold;}
#cust_detail_tb td input[type=button]:hover{background-color: #013082;}

.file_del_btn { background-color: #df614f; width: 10%; text-align: center; height: 80%; color: white; line-height: 10%;}
.file_del_btn:hover {background-color: #e93418;}
.file_down_btn {margin-right: 5%;}

#cust_score {display: flex; width: 100%; }
#cust_score_tb { width: 100%; }
#cust_score_tb thead { font-weight: bold; background-color: #ddd;}
#cust_score_tb tr {border: 1px solid #333; height: 50px; line-height: 50px;}
#cust_score_tb td { border: 1px solid #333;}

#bidding_tb {width: 100%;}
#bidding_tb td {height: 70px; line-height: 70px;}
#bidding_tb tr td:first-child {width: 40%; font-weight: bold; text-align: right;}
#bidding_tb td input[type=text] {width: 90%; height: 80%; border-bottom: 1px solid #333; border-right: 1px solid #333;}
#bidding_tb td #enter_cust {width: 75%;}
#bidding_tb td input[type=text]::placeholder {color: #333; font-size: 0.9rem; font-weight: bold;}
#bidding_tb td textarea {border: 1px solid #333; width: 90%; text-align: left; line-height: 150%; height: 200px;}
#bidding_tb td input[type=datetime-local] {position: relative;line-height: 30px; justify-content: center; align-items: center; font-size: 1rem;}
::-webkit-calendar-picker-indicator {position: absolute; width: 80%; height: 100%; line-height: 30px; border-bottom: 1px solid #333; left: 0;}
#bidding_tb td input[type=file] { width: 90%; border-bottom: 1px solid #333;}
#bidding_tb td input[type=file]::file-selector-button {width: 20%; border: 1px solid #333; height: 50px; line-height: 50px; margin-right: 25%; border-radius: 15px; background-color: white;}
#bidding_tb td input[type=file]::file-selector-button:hover {background-color: #ddd;}
input:disabled {background-color: #999; box-shadow: none;}
#enter_cust::placeholder{color: #333; font-size: 0.9rem; font-weight: bold;}

#find_cust {width: 15%; height: 80%; line-height: 0; margin: 0 auto;}
#charge_dept {border-right: 1px solid #333; border-bottom: 1px solid #333; width: 90%; height: 80%;}
#ft {height: 0px;}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
    display: flex;
    flex-direction: column;
}

.closeBtn {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
}

.closeBtn:hover,
.closeBtn:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

#custList {
    list-style-type: none;
    padding: 0;
    margin: 20px 0 0 0;
    height: 550px;
    overflow: auto;
}

#custList li {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
}

#custList li:hover{
    font-weight: 600;
}

/* 기본적으로 체크박스가 체크되지 않았을 때 v 표시가 숨겨집니다. */
.custCheckbox + .checkmark {
    display: none;
    color: red;
    font-size: 16px;
}

/* 체크박스가 체크되었을 때 v 표시가 나타납니다. */
.custCheckbox:checked + .checkmark {
    display: inline;
}

.w90_select{ width: 90%;}

/* MyDesk_page CSS */

/* 반응형 부분 Start*/
@media (max-width: 768px) {

    /* 로그인 페이지 */
    .my_desk{
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 450px;
    }

    .my_desk_txt_div span { font-size: 30px; }
    .my_desk_txt_div p:nth-child(2) { font-size: 14px; }
    .my_desk_txt_div p:nth-child(3) { font-size: 12px; }
    .my_desk_login_div {margin-top: 0px;}
    .kind { width: 300px; text-align: center; margin-bottom: 20px;}
    .kind label { font-size: 16px; }
    .kind input[type=radio] {width: 20px; height: 20px;}
    .login_box {width: 300px; height: 100px;}
    .login_box > div:first-child > input::placeholder{ font-size: 12px;}
    .login_box > div:nth-child(2) > button {font-size: 14px;}
}

/* 반응형 부분 End */