.contents{
    min-height: 500px;
    margin-left: auto;
    width: 1000px;
    margin-right: auto;
    padding-top: 40px;
}
.contents_header{
    background: #aebaff12;
    padding: 10px;
    border-radius: 5px 5px 0px 0px;
}
.contents .content_list_area{
    min-height: 515px;
}
.contents .content_list_area table{
    border-top: 2px solid #0046af;
    width: 100%;
}
.contents .content_list_area table tr{
    border-bottom: 1px dashed #cfcfcf;
}
.contents .content_list_area table th{
    text-align: center;
    font-weight: 600;
    font-size: 18px;
    padding: 22px 0px 22px 0px;
    vertical-align: middle;
}
.contents .content_list_area table td{
    text-align: center;
    font-size: 16px;
    padding: 22px 0px 22px 0px;
    vertical-align: middle;
}
.contents .content_list_area table tbody th,td{
    padding: 15px 0px 14px 0px;
    font-size: 15px;
}
.contents .content_list_area table tbody{
    border-top: 1px solid #0046af;
}
.contents .content_list_area table tbody tr:hover{
    cursor: pointer;
    background: #bbc6ff2e;
    color: #0046af;
}
.contents .content_list_area table tbody tr img{
    width: 27%;
}
.contents .content_list_area table tbody tr span{
    text-align: left;
    font-size: 15px;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
    padding-left: 30px;
}
.contents .content_list_area table tbody tr b{
    margin-right: 10px;
    font-weight: 600;
    color: #e51d1d;
    border-radius: 5px;
}
.search_area{
    display: flex;
    padding-top: 20px;
}
.search_select{
    margin-left: auto;
    height: 50px;
    width: 130px;
    padding: 5px 10px;
}
.search_select select{
    width: 100%;
    height: 100%;
    border-radius: 17px;
    padding: 0px 5px;
    border-color: #b3b3b3;
    cursor: pointer;
}
.search_input{
    height: 50px;
    width: 650px;
    padding: 5px 10px;
}
.search_input input{
    width: 100%;
    height: 100%;
    border-radius: 17px;
    padding: 0px 5px;
    border: 1px solid #b3b3b3;
}
.search_btn{
    margin-right: auto;
    height: 50px;
    padding: 6px 10px;
}
.search_btn img{
    cursor: pointer;
    height: 100%;
}
#paging_div #page_num:hover{
    padding: 4px 9px !important;
    background: #0046af30;
}
.contents_view_title{
    font-size: 28px;
    color: black;
    font-weight: bold;
    padding: 10px 0px;
}
.contents_view_date{
    padding: 20px 0px;
}
.contents_view_date span{
    font-size: 17px;
    font-weight: bold;
    color: #454545;
}
.contents_view_file{
    padding-bottom: 20px;
    border-top: 1px solid #c5c5c5;
    border-bottom: 1px solid #c5c5c5;
}
.contents_view_file_list{
    display:flex;
    margin-top: 20px;
}
.contents_view_file_list div{
    width: 65px;
    font-size: 16px;
    color: #454545;
    font-weight: bold;
}
.contents_view_file span,.contents_view_file a{
    font-size: 16px;
    color: rgb(0 0 0 / 62%);
    margin-left:10px;
}
.contents_view_file a:hover{
    cursor: pointer;
    color: #0046af;
}
.contents_view_contents{
    line-height: 30px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #dbdbdb;
    border-top: unset;
    min-height: 100px;
}
.contents_view_none{
    margin-top: 30px;
    font-size: 20px;
    color: #4b4b4b;
    text-align: center;
    letter-spacing: 5px;
}

.contents_view_title input{
    height: 40px;
    width: 92.8%;
    border-radius: 5px;
    border: 1px solid #0d037a;
}
.contents_view_date input{
    width: 150px;
    height: 30px;
    border-radius: 5px;
    border: 1px solid #0d037a;
}
.contents_view_file input{
    cursor: pointer;
    width: 100%;
    border-radius: 5px;
    border: 1px solid #0d037a;
    text-indent: unset;
}

.contents_admin_add_btn{
    text-align: center;
    cursor: pointer;
    position: absolute;
    top: 3px;
    right: 10px;
    padding: 0px 10px;
    height: 35px;
    background: #0d037a;
    border-radius: 3px;
    box-shadow: 0px 0px 2px 0px #858585;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 35px;
}
.contents_admin_add_btn:hover{
    background: #0b026d;
    color: #e2dfff;
}
.contents_admin_del_btn{
    width: 45px;
    height: 30px;
    background: #e51d1d;
    border-radius: 3px;
    box-shadow: 0px 0px 2px 0px #858585;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 30px;
}
.contents_admin_del_btn:hover{
    background: #c11111;
    color: #ffe2e2;
}

.write-btn{
    line-height: 32px;
    padding: 10px 15px;
    background-color: #0046af;
    color: #fff;
    border-radius: 5px;
    margin-top: 15px;
    cursor: pointer;
    font-size: 18px;
    position: fixed;
    right: 2%;
    bottom: 3%;
    z-index: 9999;
}
.write-btn i{
    font-size: 17px;
}
.write-btn:hover{
    background-color: #246ad3;
}

.contents-write th{
    text-align: left !important;
}
.contents .content_list_area table th input,.contents .content_list_area table th select{
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    outline: unset;
    background-color: #fdfdff;
    height: 40px;
    padding: 0px 6px;
    width: 100%;
    font-size: 14px;
}
.contents .content_list_area table th textarea{
    resize: none;
    height: 280px;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    outline: unset;
    background-color: #fdfdff;
    padding: 0px 6px;
    width: 100%;
    font-size: 14px;
}
.contents h4{
    margin-top: 55px;
    font-weight: 600;
}
.contents-row label{
    margin-left: 8px;
    margin-right: 20px;
    margin-top: 6px;
}
.contents-row{
    display: flex;
    margin-top: 25px;
}
.contents-div{
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    background-color: #fdfdff;
    padding: 15px;
}
.contents-write-btn{
    cursor: pointer;
    margin-top: 45px;
    width: 150px;
    text-align: center;
    background-color: #0046af;
    color: #fff;
    border-radius: 5px;
    padding: 12px;
    float: right;
    margin-left: 20px;
}
.contents-write-btn:hover{
    background-color: #246ad3;
}
.contents-cancel-btn{
    cursor: pointer;
    margin-top: 45px;
    width: 150px;
    text-align: center;
    background-color: #5c5c5c;
    color: #fff;
    border-radius: 5px;
    padding: 12px;
    float: right;
}
.contents-cancel-btn:hover{
    background-color: #252525;
}

/* 뷰 페이지 css */
.contents-view td,.contents-view th{
    text-align: left !important;
}
.contents-view tr:nth-child(5) th{
    display: table-cell;
}
.contents-view tr:nth-child(6) th{
    display: table-cell;
}
.contents-view tr:nth-child(6){
    border-bottom: unset !important;
}
.contents-view #file_name{
    color: #a1a1a1;
}
.contents-btn{
    cursor: pointer;
    margin-top: 45px;
    width: 90px;
    text-align: center;
    background-color: #5c5c5c;
    color: #fff;
    border-radius: 5px;
    padding: 10px;
    float: right;
    font-size: 13px;
}
.contents-btn-cancel{
    background-color: red;
}
.contents-btn-update{
    background-color: #0046af;
}

.contents-btn-back:hover{
    background-color: #252525;
}
.contents-btn-cancel:hover{
    background-color: #aa0000;
}
.contents-btn-update:hover{
    background-color: #246ad3;
}

@media all and (max-width:1000px){
    .contents{
        padding: 40px 0px 0px 0px !important;
    }

    .home-contents{
        display:block;
        overflow-y: scroll;
    }
    .home-contents-box{
        width: unset;
    }
    .contents{
        width: 93% !important;
    }
    .contents .content_list_area table th{
        font-size:13px;
    }
    .contents .content_list_area table tbody tr span{
        font-size:12px;
    }
    .contents .content_list_area table tbody th,td,
    .contents .content_list_area table td{
        font-size:12px;
    }
}

@media all and (max-width:680px){
    .contents .content_list_area table thead tr th:nth-child(3){
        width: 20%;
    }
    .contents .content_list_area .contents-write thead tr th:nth-child(3){
        width: unset !important;
    }
}

@media all and (max-width:580px){
    .contents .content_list_area table thead tr th:nth-child(3){
        width: 15%;
    }
    .contents .contents-view thead tr th:nth-child(1){
        width: 27%;
    }
    .contents .content_list_area .contents-write thead tr th:nth-child(3){
        width: unset !important;
    }
}

@media all and (max-width:499px){
    .contents .content_list_area table tbody tr span,
    .contents .content_list_area table tbody th, td, .contents .content_list_area table td{
        font-size:11px;
    }
    .search_input{
        width:400px;
    }
}