.contents{
    position: relative;
    min-height: 500px;
    margin-left: auto;
    width: 1000px;
    margin-right: auto;
}
.contents .content_list_area{
    min-height: 515px;
}
#content_list_data{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.contents_box{
    position: relative;
    width: 32%;
    padding: 10px;
    margin: 0.65%;
    border-radius: 10px;
    box-shadow: 0px 0px 2px 0px #858585;
}
.contents_box_category{
    position: absolute;
    z-index: 9999;
    color: #000000;
    background-color: #0066ff;
    color: #fff;
    font-size: 11px;
    border-radius: 7px 0px 7px 0px;
    padding: 4px 10px;
    top: 10px;
    left: 10px;
}
.contents_box .gallery{
    background-color: #3db12f !important;
}
.contents_box .video{
    background-color: #db9937 !important;
}
.contents_box:hover{
    cursor: pointer;
    background: #bbc6ff2e;
    color: #0046af;
}
.contents_box img{
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 7px;
}
.contents_box_img{
    height: 180px;
    background-image: url(/img/logo/kta_logo.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position-y: center;
}
.contents_box_title span{
    font-size: 16px;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
    padding: 10px 5px 0px 5px;
    font-weight: bold;
}
.contents_box_title b{
    margin-right: 10px;
    font-size: 20px;
    font-weight: 600;
    color: #e51d1d;
    border-radius: 5px;
}
.contents_box_date{
    display: flex;
    justify-content: space-between;
    padding: 10px 5px 0px 5px;
}
.contents_box_date span{
    font-size: 15px;
    color: #5f5f5f;
}
.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: #0D037A30;
}
.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: #0D037A;
}
.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_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{
    position: absolute;
    top: 4px;
    right: 4px;
    border-radius: 50%;
    text-align: center;
    width: 25px;
    height: 25px;
    background: #e51d1d;
    box-shadow: 0px 0px 2px 0px #858585;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 25px;
}
.contents_admin_del_btn:hover{
    background: #c11111;
    color: #ffe2e2;
}

.content_empty{
    width: 100%;
    text-align: center;
    font-size: 20px;
    border: 1px solid #f7f7f7;
    color: #5f5f5f;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 515px;
}

/* 뷰 페이지 css */
.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;
}
.contents-view td,.contents-view th{
    text-align: left !important;
}
.contents-view tr:nth-child(4) th{
    display: block;
}
.contents-view tr:nth-child(4){
    border-bottom: unset !important;
}
.contents-view #file_name{
    color: #a1a1a1;
}
#a_notice_view_count{
    position: absolute;
    right: 10px;
    top: 13px;
    font-size: 13px;
    font-weight: 600;
}
.contents-back-btn{
    cursor: pointer;
    margin-top: 45px;
    width: 150px;
    text-align: center;
    background-color: #5c5c5c;
    color: #fff;
    border-radius: 5px;
    padding: 12px;
    float: right;
}
.contents-back-btn:hover{
    background-color: #252525;
}

@media all and (max-width:1010px){
    .home-contents{
        display: block;
    }
    .home-contents-box{
        width: unset;
    }
    .contents{
        width: 93% !important;
    }
}
@media all and (max-width:860px){
    .contents_box{
        width:32%;
    }
}
@media all and (max-width:670px){
    .contents_box{
        width:48.5%;
    }
}
@media all and (max-width:499px){
    .contents_box_img{
        height: 145px;
    }
    .contents_box img{
        height: 145px;
    }
    .search_input{
        width:400px;
    }
}
@media all and (max-width:420px){
    .contents_box_title span{
        font-size: 14px;
    }
    .contents_box_img{
        height: 130px;
    }
    .contents_box img{
        height: 130px;
    }
    .contents_box_date span{
        font-size: 13px;
    }
}