#file_template_,
#file_product_{
    min-width: 1280px;
}

#folder_site3_section_item{
    padding: 5px 15px 5px 5px;
    border: 1px solid #999999;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    overflow: auto;
}

#folder_site3_section_item::-webkit-scrollbar {
    width: 10px;
}

#folder_site3_section_item::-webkit-scrollbar-thumb {
    background-color: #a1cbfa;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    border-radius: 8px;
}

.template_search {
    border: 2px solid #999999;
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    -ms-border-radius: 1px;
    -o-border-radius: 1px;
    border-radius: 1px;
    width: 100%;
    text-align: center;
}
.template_search_label {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -moz-justify-content: space-between;
    -ms-justify-content: space-between;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    background-color: #999999;
    -webkit-border-radius: 1px 1px 0 0;
    -moz-border-radius: 1px 1px 0 0;
    -ms-border-radius: 1px 1px 0 0;
    -o-border-radius: 1px 1px 0 0;
    border-radius: 1px 1px 0 0;
    color: white;
}
.template_lists{
    border: 1px solid #999999;
    overflow: auto;
}

#folder_site2_section_item{
    border-bottom: 1px solid #999999;
    border-left: 1px solid #999999;
    border-right: 1px solid #999999;
}

#folder_site2_paperlist_header{
    width: 100%;
    height: 10%;
}

#folder_site2_paperlist_header_type, #folder_site2_paperlist_header_sort,
 .folder_site2_paperlist_content_code_show, .folder_site2_paperlist_content_type_size{
    width: 15%;
    height: 100%;
}

#folder_site2_paperlist_header_size, .folder_site2_paperlist_content_size{
    width: 15%;
    height: 100%;
}

.folder_site2_paperlist_header_style{
    background-color: #999999;
    color: white;
    cursor: default;
    border-right: 1px solid #CCCCCC;
    border-bottom: 1px solid #CCCCCC;
}

#folder_site2_paperlist_header_size_name, #folder_site2_paperlist_header_size_body{
    width: 100%;
    height: 50%;
}

#folder_site2_paperlist_header_size_body_height, #folder_site2_paperlist_header_size_body_width,
 .folder_site2_paperlist_content_size_height, .folder_site2_paperlist_content_size_width{
    width: 50%;
    height: 100%;
}

.folder_site2_paperlist{
    width: 100%;    
}

.folder_site2_paperlist:hover{
    background-color: #DAEAFD;
}

.folder_site2_paperlist_body_style{    
    color: black;
    cursor: default;
    border-right: 1px solid #e6e6e6;
    -moz-justify-content: flex-start;
    -ms-justify-content: flex-start;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    padding: 0.3% 1%;
}

.hover{
    background-color: #81b1ac;
}

#folder_site2_paperlist_select0{
    background-color: #a7ffdb;    
}

.template_paper_name{    
    font-weight: bold;
}

.template_good_image{
    text-align: center;
}

.filebox_thumbnail {
    display: inline-table;
    cursor: pointer;
}

#folder_site2_paperlist_body > div > .mCSB_scrollTools_vertical, .template_lists > div > .mCSB_scrollTools_vertical{
    right: 10px !important;
}

/* ------------------------- */

#product_search_title{
    position: relative;    
    background: #999999;
}

#product_search_mode {
    width: 100%;
    color: white;
    padding: 1.5% 3%;
}

#btn_product_search_mode_switch {
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
    text-align: center;
    color: white;
    background: #6D8AB5;
    -webkit-border-radius: 0.25rem;
    -moz-border-radius: 0.25rem;
    -ms-border-radius: 0.25rem;
    -o-border-radius: 0.25rem;
    border-radius: 0.25rem;
    cursor: pointer;
    height: 80%;
    padding: 0px;
}

#product_search_box {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    width: 100%;    
    border: 2px solid #999999;
}

#product_search_area .product_search_input {
    width: 17%;
    color: black;
    -webkit-border-radius: 0.25rem;
    -moz-border-radius: 0.25rem;
    -ms-border-radius: 0.25rem;
    -o-border-radius: 0.25rem;
    border-radius: 0.25rem;
    outline: none;
    border: 2px solid #999999;
}

#btn_product_search_size {
    margin: 0 2%;
    cursor: pointer;
}

#btn_product_search_clear {
    text-align: center;
    color: white;
    background: #6D8AB5;
    -webkit-border-radius: 0.25rem;
    -moz-border-radius: 0.25rem;
    -ms-border-radius: 0.25rem;
    -o-border-radius: 0.25rem;
    border-radius: 0.25rem;
    cursor: pointer;
    width: 15%;
    height: 90%;
    padding: 0px;
}

#product_search_size span{
    margin-left: 1%;
    margin-right: 1%;
}

/* ------------------------- */

/***********by mjh************/

.contentRow:hover{
    background-color: #DAEAFD;
}

.contentRow{
    display: flex;
    cursor: pointer;
}

.contentRow_, .contentRow1{
    display: flex;
}

.filebox_thumbnail:hover{
    background-color: #EEEEEE;
}

#product_search+div span{
    color: #FFFFFF;
}

#product_search + div{
    background-color: #999999;
}

.filebox_thumbnail_active{
    background-color: #CEE0F5 !important;
}

#fileWizard_paper_items{
    width: 100%;
}

.t_itemsShow{
    display: block;
}
.t_itemsHide{
    display: none;
}

.dd_div:hover{
    background-color: #CCCCCC;
}

summary:hover{
    background-color: #FFFFFF !important;
    cursor: pointer;
}

.dd_div{
    border-bottom: 1px solid #999999 !important;
}

.contentRow_>div:first-child, .contentRow_>div:nth-child(2), .contentRow_>div:nth-child(3){
    border-right: 1px solid #CCCCCC;
}

.contentRow>div:first-child, .contentRow>div:nth-child(2), .contentRow>div:nth-child(3){
    border-right: 1px solid #CCCCCC;
}

.contentRow1>div:first-child, .contentRow1>div:nth-child(2), .contentRow1>div:nth-child(3){
    border-right: 1px solid #CCCCCC;
}

#product_search + div span{
    margin-left: 3%;
}

#btn_product_search_clear{
    margin-right: 2%;
}

#product_item_select{
    width: 100%;
    height: 100%; 
    font-weight: bold;
}

@media (max-width: 1609px){
    #file_product_{
        padding-top: 76px;
    }

    #product_search_box{
        height: 40px;
    }

    #product_search + div{
        margin-top: 7px;
        height: 35px;
    }

    #product_search{
        margin-top: 8px;
    }

    #btn_product_search_mode_switch{
        right: 15px;
        width: 128px;
        font-size: 10px;
    }

    #product_search_area{
        width: calc(100% - 64px);
    }

    #product_search_title{
        height: 30px;
    }

    #template_lists{
        height: calc(100vh - 205px);
        min-height: 361px;
    }

    #folder_site2_paperlist_header_body{
        height: 28px;
    }

    #folder_site2_paperlist_body{
        height: calc(100vh - 203px);
        min-height: 361px;
    }

    #folder_site2_section_item + div{
        height: 56px;
    }

    #sel_countArea, #folder_site2_section_item, #folder_site2_section_item + div{
        margin-top: 5px;
    }

    #folder_site3_section_item{
        margin-top: 40px;
    }
}

@media (min-width: 1610px) and (max-width: 1930px){
    #file_product_{
        padding-top: 95px;
    }

    #product_search_box{
        height: 50px;
    }

    #product_search + div{
        margin-top: 8.75px;
        height: 45px;
    }

    #product_search{
        margin-top: 10px;
    }

    #btn_product_search_mode_switch{
        right: 18.75px;
        width: 160px;
        font-size: 12.5px;
    }

    #product_search_area{
        width: calc(100% - 80px);
    }

    #product_search_title{
        height: 37.5px;
    }

    #template_lists{
        height: calc(100vh - 256px);
        min-height: 310px;
    }

    #folder_site2_paperlist_header_body{
        height: 35px;
    }

    #folder_site2_paperlist_body{
        height: calc(100vh - 254px);
        min-height: 310px;
    }

    #folder_site2_section_item + div{
        height: 70px;
    }

    #sel_countArea, #folder_site2_section_item, #folder_site2_section_item + div{
        margin-top: 6.25px;
    }

    #folder_site3_section_item{
        margin-top: 50px;
    }
    
}

@media (min-width: 1931px) and (max-width: 2570px){
    #file_product_{
        padding-top: 114px;
    }

    #product_search_box{
        height: 60px;
    }

    #product_search + div{
        margin-top: 10.5px;
        height: 52.5px;
    }

    #product_search{
        margin-top: 12px;
    }

    #btn_product_search_mode_switch{
        right: 22.5px;
        width: 192px;
        font-size: 15px;
    }

    #product_search_area{
        width: calc(100% - 96px);
    }

    #product_search_title{
        height: 45px;
    }

    #template_lists{
        height: calc(100vh - 307.5px);
    }

    #folder_site2_paperlist_header_body{
        height: 42px;
    }

    #folder_site2_paperlist_body{
        height: calc(100vh - 304.5px);
    }

    #folder_site2_section_item + div{
        height: 84px;
    }

    #sel_countArea, #folder_site2_section_item, #folder_site2_section_item + div{
        margin-top: 7.5px;
    }

    #folder_site3_section_item{
        margin-top: 60px;
    }
}

@media (min-width: 2571px) and (max-width: 3199px){
    #file_product_{
        padding-top: 152px;
    }

    #product_search_box{
        height: 80px;
    }

    #product_search + div{
        margin-top: 14px;
        height: 70px;
    }

    #product_search{
        margin-top: 16px;
    }

    #btn_product_search_mode_switch{
        right: 30px;
        width: 256px;
        font-size: 20px;
    }

    #product_search_area{
        width: calc(100% - 128px);
    }

    #product_search_title{
        height: 60px;
    }

    #template_lists{
        height: calc(100vh - 410px);
    }

    #folder_site2_paperlist_header_body{
        height: 56px;
    }

    #folder_site2_paperlist_body{
        height: calc(100vh - 406px);
    }

    #folder_site2_section_item + div{
        height: 112px;
    }

    #sel_countArea, #folder_site2_section_item, #folder_site2_section_item + div{
        margin-top: 10px;
    }

    #folder_site3_section_item{
        margin-top: 80px;
    }

}

@media (min-width: 3200px) and (max-width: 3839px){
    #file_product_{
        padding-top: 190px;
    }

    #product_search_box{
        height: 100px;
    }

    #product_search + div{
        margin-top: 17.5px;
        height: 87.5px;
    }

    #product_search{
        margin-top: 20px;
    }

    #btn_product_search_mode_switch{
        right: 37.5px;
        width: 320px;
        font-size: 25px;
    }

    #product_search_area{
        width: calc(100% - 160px);
    }

    #product_search_title{
        height: 75px;
    }

    #template_lists{
        height: calc(100vh - 512.5px);
    }

    #folder_site2_paperlist_header_body{
        height: 70px;
    }

    #folder_site2_paperlist_body{
        height: calc(100vh - 507.5px);
    }

    #folder_site2_section_item + div{
        height: 140px;
    }

    #sel_countArea, #folder_site2_section_item, #folder_site2_section_item + div{
        margin-top: 12.5px;
    }

    #folder_site3_section_item{
        margin-top: 100px;
    }
}

@media (min-width: 3840px){
    #file_product_{
        padding-top: 228px;
    }

    #product_search_box{
        height: 120px;
    }

    #product_search + div{
        margin-top: 21px;
        height: 105px;
    }

    #product_search{
        margin-top: 24px;
    }

    #btn_product_search_mode_switch{
        right: 45px;
        width: 384px;
        font-size: 30px;
    }

    #product_search_area{
        width: calc(100% - 192px);
    }

    #product_search_title{
        height: 90px;
    }

    #template_lists{
        height: calc(100vh - 615px);
    }

    #folder_site2_paperlist_header_body{
        height: 84px;
    }

    #folder_site2_paperlist_body{
        height: calc(100vh - 609px);
    }

    #folder_site2_section_item + div{
        height: 168px;
    }

    #sel_countArea, #folder_site2_section_item, #folder_site2_section_item + div{
        margin-top: 15px;
    }

    #folder_site3_section_item{
        margin-top: 120px;
    }
}