@charset "utf-8";

/*
 * OnDemandBio - Material Board
 * 적용 게시판 : 030101 / 030102 / 030103
 * skin       : /mobile/skin/board/material
 *
 * Brand Color는 사이트 공통 CSS에 선언된 값을 그대로 사용합니다.
 * --color-primary: #e4177d;
 * --color-navy:    #002060;
 *
 * 구성
 * 01. Common
 * 02. List
 * 03. View
 * 04. Write
 * 05. Responsive
 */


/* =========================================================
   01. COMMON
========================================================= */

.material_list,
.material_view,
.material_write {
    --material-text: #222;
    --material-sub: #777;
    --material-line: #e5e5e5;
    --material-gray: #f7f7f7;
    --material-light: #fafafa;
}

.material_list *,
.material_view *,
.material_write * {
    box-sizing: border-box;
}

.material_list a,
.material_view a,
.material_write a {
    text-decoration: none;
}

/* =========================================================
   02. LIST
========================================================= */

.material_list {
    position: relative;
}


/* ---------------------------------------------------------
   SEARCH
--------------------------------------------------------- */

.material_search {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 70px;
}

.material_search_form {
    display: flex;
    align-items: stretch;
    width: 100%;
    height: 64px;
    border: 1px solid #d8d8d8;
    background: #fff;
}

.material_search_type {
    display: flex;
    align-items: center;
    flex: 0 0 130px;
    padding: 0 28px;
    border-right: 1px solid #e5e5e5;
}

.material_search_type span {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.material_search_input {
    flex: 1;
    min-width: 0;
}

.material_search_input input {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0 24px;
    border: 0;
    outline: 0;
    background: transparent;
    font-family: inherit;
    font-size: 16px;
    color: #222;
}

.material_search_input input::placeholder {
    color: #aaa;
}

.material_search_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 70px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.material_search_btn svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: #222;
    stroke-width: 1.6;
    stroke-linecap: round;
}

.material_search_btn:hover svg {
    stroke: var(--color-primary);
}


/* ---------------------------------------------------------
   LIST TOP / ADMIN
--------------------------------------------------------- */

.material_list_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.material_list_admin {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.material_all_check {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 14px;
    color: #555;
    cursor: pointer;
}

.material_list_admin button,
.material_list_admin > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #ddd;
    background: #fff;
    font-family: inherit;
    font-size: 14px;
    color: #555;
    text-decoration: none;
    cursor: pointer;
}

.material_list_admin button:hover,
.material_list_admin > a:hover {
    border-color: #999;
    color: #222;
}

.material_list_write {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    height: 42px;
    padding: 0 20px;
    background: #222;
    font-size: 14px;
    font-weight: 600;
    color: #fff !important;
    text-decoration: none;
}

.material_list_write:hover {
    background: var(--color-primary);
}


/* ---------------------------------------------------------
   GRID
--------------------------------------------------------- */

.material_list_grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 28px;
    row-gap: 65px;
}

.material_list_item {
    position: relative;
    min-width: 0;
}


/* 관리자 체크 */

.material_list_check {
    position: absolute;
    z-index: 5;
    top: 48px;
    left: 12px;
}

.material_list_check input {
    width: 18px;
    height: 18px;
}


/* ---------------------------------------------------------
   BADGES
--------------------------------------------------------- */

.material_list_badges {
    display: flex;
    justify-content:center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 35px;
    margin-bottom: 10px;
}

.material_badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 5px 11px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    word-break: keep-all;
}


/* ---------------------------------------------------------
   IMAGE
--------------------------------------------------------- */

.material_list_link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.material_list_image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    background: #f6f6f6;
}

.material_list_image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .5s ease;
}

.material_list_link:hover .material_list_image img {
    transform: scale(1.035);
}

.material_list_noimage {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 250px;
    background: #f5f5f5;
}

.material_list_noimage span {
    font-size: 14px;
    letter-spacing: .08em;
    color: #aaa;
}


/* ---------------------------------------------------------
   PRODUCT NAME
--------------------------------------------------------- */

.material_list_info {
    padding-top: 20px;
}

.material_list_name {
    margin: 0;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.45;
    color: #222;
    text-align:center;
    word-break: keep-all;
    transition: color .25s ease;
}

.material_list_link:hover .material_list_name {
    color: var(--color-primary);
}

.material_list_name .sch_word {
    color: var(--color-white);
    font-weight: 700;
}


/* ---------------------------------------------------------
   EMPTY
--------------------------------------------------------- */

.material_list_empty {
    padding: 120px 20px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    text-align: center;
    font-size: 16px;
    color: #888;
}


/* ---------------------------------------------------------
   PAGING
--------------------------------------------------------- */

.material_list_paging {
    margin-top: 80px;
    text-align: center;
}


/* =========================================================
   03. VIEW
========================================================= */

.material_view {
    position: relative;
}


/* ---------------------------------------------------------
   TOP
--------------------------------------------------------- */

.material_view_top {
    padding: 10px 0 100px;
}

.material_view_top_inner {
    display: grid;
    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(360px, .92fr);
    gap: 80px;
    align-items: start;
}


/* =========================================================
   VIEW GALLERY
========================================================= */

.material_view_gallery {
    min-width: 0;
}


/* ---------------------------------------------------------
   MAIN IMAGE
--------------------------------------------------------- */

.material_gallery_main {
    position: relative;
    overflow: hidden;
    background: #f7f7f7;
}

.material_gallery_main_item {
    outline: 0;
}

.material_gallery_image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    background: #f7f7f7;
}

.material_gallery_image > img,
.material_gallery_image > a {
    display: block;
    width: 100%;
    height: 100%;
}

.material_gallery_image > a img,
.material_gallery_image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    object-position: center;
}


/* Slick arrows */

.material_gallery_main .slick-arrow {
    position: absolute;
    z-index: 10;
    top: 50%;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    box-shadow: 0 3px 15px rgba(0,0,0,.08);
    font-size: 0;
    cursor: pointer;
    transform: translateY(-50%);
}

.material_gallery_main .slick-prev {
    left: 20px;
}

.material_gallery_main .slick-next {
    right: 20px;
}

.material_gallery_main .slick-prev::after,
.material_gallery_main .slick-next::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 10px;
    height: 10px;
    border-top: 1.5px solid #222;
    border-right: 1.5px solid #222;
}

.material_gallery_main .slick-prev::after {
    left: 20px;
    transform: translateY(-50%) rotate(-135deg);
}

.material_gallery_main .slick-next::after {
    right: 20px;
    transform: translateY(-50%) rotate(45deg);
}


/* ---------------------------------------------------------
   THUMBNAILS
--------------------------------------------------------- */

.material_gallery_thumb {
    margin-top: 12px;
}

.material_gallery_thumb .slick-list {
    margin: 0 -4px;
}

.material_gallery_thumb_item {
    padding: 0 4px;
    outline: 0;
    cursor: pointer;
}

.material_gallery_thumb_image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 20px;
    background: #f7f7f7;
    transition: border-color .25s ease;
}

.material_gallery_thumb_image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.material_gallery_thumb_item.slick-current
.material_gallery_thumb_image {
    border-color:var(--color-primary);
}


/* no image */

.material_gallery_empty {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f6f6f6;
}

.material_gallery_empty span {
    font-size: 14px;
    letter-spacing: .1em;
    color: #aaa;
}


/* =========================================================
   VIEW INFORMATION
========================================================= */

.material_view_info {
    position: relative;
    padding-top: 5px;
}


/* ---------------------------------------------------------
   ADMIN
--------------------------------------------------------- */

.material_admin_buttons {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 25px;
}

.material_admin_buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 14px;
    color: #666;
    text-decoration: none;
}

.material_admin_buttons a:hover {
    border-color: #999;
    color: #222;
}

.material_admin_buttons .material_admin_write {
    border-color: #222;
    background: #222;
    color: #fff;
}


/* ---------------------------------------------------------
   BADGES
--------------------------------------------------------- */

.material_view_badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    min-height: 30px;
    margin-bottom: 26px;
}


/* ---------------------------------------------------------
   TITLE
--------------------------------------------------------- */

.material_view_title {
    padding-bottom: 30px;
    border-bottom: 1px solid var(--material-line);
}

.material_view_label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .12em;
    color: var(--color-primary);
}

.material_view_name {
    margin: 0;
    font-size: clamp(30px, 2.7vw, 46px);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -.035em;
    color: #202020;
    word-break: keep-all;
}


/* ---------------------------------------------------------
   DESCRIPTION
--------------------------------------------------------- */

.material_view_description {
    padding: 30px 0;
    font-size: 16px;
    line-height: 1.9;
    color: #666;
    word-break: keep-all;
}


/* ---------------------------------------------------------
   INQUIRY BUTTON
--------------------------------------------------------- */

.material_view_inquiry {
    margin-top: 15px;
}

.material_view_inquiry a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 64px;
    padding: 0 26px;
    background: var(--color-navy);
    color: #fff;
    text-decoration: none;
    transition:
        background .25s ease,
        padding .25s ease;
}

.material_view_inquiry a span {
    font-size: 16px;
    font-weight: 600;
}

.material_view_inquiry a i {
    font-style: normal;
    font-size: 23px;
    font-weight: 300;
}

.material_view_inquiry a:hover {
    padding-right: 22px;
    background: var(--color-primary);
}


/* =========================================================
   DETAIL
========================================================= */

.material_view_detail {
    padding: 90px 0 80px;
    border-top: 1px solid #e8e8e8;
}

.material_view_detail_head {
    margin-bottom: 55px;
    text-align: center;
}

.material_view_detail_head > span {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--color-primary);
}

.material_view_detail_head h2 {
    margin: 0;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.35;
    color: #222;
}

.material_view_content {
    width: 100%;
    min-height: 100px;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.material_view_content img {
    max-width: 100% !important;
    height: auto !important;
}


/* =========================================================
   VIEW CONTROL
========================================================= */

.material_view_control {
    padding: 40px 0 20px;
    border-top: 1px solid #e5e5e5;
}

.material_view_buttons {
    display: flex;
    justify-content: center;
}

.material_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 130px;
    height: 48px;
    padding: 0 24px;
    border: 1px solid #222;
    background: #fff;
    font-size: 15px;
    font-weight: 600;
    color: #222;
    text-decoration: none;
}

.material_btn:hover {
    background: #222;
    color: #fff;
}


/* ---------------------------------------------------------
   PREV / NEXT
--------------------------------------------------------- */

.material_view_navigation {
    margin-top: 50px;
    border-top: 1px solid #ddd;
}

.material_view_navigation_item {
    display: grid;
    grid-template-columns: 90px 1fr;
    align-items: center;
    min-height: 70px;
    border-bottom: 1px solid #e5e5e5;
    color: #333;
    text-decoration: none;
}

.material_navigation_label {
    font-size: 14px;
    color: #888;
}

.material_view_navigation_item strong {
    overflow: hidden;
    font-size: 15px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.material_view_navigation_item:hover strong {
    color: var(--color-primary);
}


/* =========================================================
   04. WRITE
========================================================= */

.material_write {
    position: relative;
}


/* ---------------------------------------------------------
   SECTION
--------------------------------------------------------- */

.material_write_section {
    padding: 45px 0;
    border-bottom: 1px solid #e5e5e5;
}

.material_write_section:first-child {
    padding-top: 10px;
}

.material_write_section_title {
    margin-bottom: 25px;
}

.material_write_section_title h2 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
    color: #222;
}

.material_write_section_title p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #888;
}


/* ---------------------------------------------------------
   FIELDS
--------------------------------------------------------- */

.material_write_fields {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.material_write_field > label,
.material_write_label {
    display: block;
    margin-bottom: 9px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.material_write_field > label strong {
    margin-left: 3px;
    font-size: 14px;
    color: var(--color-primary);
}

.material_write .frm_input {
    border: 1px solid #ddd;
    border-radius: 0;
    background: #fff;
    font-family: inherit;
    font-size: 15px;
    color: #333;
}

.material_write input.frm_input {
    height: 52px;
    padding: 0 16px;
}

.material_write textarea.frm_input {
    padding: 15px 16px;
}

.material_write .frm_input:focus {
    border-color: #999;
    outline: 0;
}

.material_description {
    display: block;
    width: 100%;
    min-height: 150px;
    resize: vertical;
    line-height: 1.7;
}

.material_write_help {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.6;
    color: #999;
}


/* =========================================================
   WRITE - CERTIFICATION
========================================================= */

.material_cert_list {
    border-top: 1px solid #ddd;
}

.material_cert_item {
    display: grid;
    grid-template-columns: 150px 1fr;
    border-bottom: 1px solid #e5e5e5;
}

.material_cert_label {
    display: flex;
    align-items: center;
    padding: 25px 20px;
    background: #fafafa;
}

.material_cert_label strong {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.material_cert_input {
    display: grid;
    grid-template-columns:
        minmax(200px, 1fr)
        190px
        180px;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.material_cert_name .frm_input {
    width: 100%;
}

.material_cert_color > label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: #777;
}

.material_color_picker {
    display: flex;
    align-items: center;
    gap: 10px;
}

.material_color_input {
    width: 46px;
    height: 38px;
    padding: 2px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
}

.material_color_hex {
    font-size: 14px;
    color: #666;
}

.material_cert_preview {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
}

.material_cert_preview_label {
    font-size: 14px;
    color: #999;
}

.material_cert_preview .material_cert_badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 5px 12px;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 600;
}


/* =========================================================
   WRITE - FILE
========================================================= */

.material_write_files {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #ddd;
}

.material_write_file {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.material_write_file_label {
    margin-bottom: 9px;
}

.material_write_file_label strong {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.material_write .filebox {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 10px;
}

.material_write .filebox .fileName {
    flex: 1;
    width: auto;
    height: 52px;
    padding: 0 16px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 15px;
    color: #777;
}

.material_write .filebox label {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 110px;
    height: 52px;
    margin: 0;
    cursor: pointer;
}

.material_write .filebox .btn_file {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--color-navy);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.material_write .filebox label:hover .btn_file {
    background: var(--color-primary);
}

.material_write .filebox .uploadBtn {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

.material_file_description {
    width: 100%;
    margin-top: 8px;
}

.material_existing_file {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 10px;
    padding: 12px 15px;
    background: #f7f7f7;
    font-size: 14px;
}

.material_existing_file .existing_file_name {
    color: #777;
}

.material_existing_file .existing_file_name strong {
    color: #333;
    font-weight: 500;
}


/* =========================================================
   WRITE - EDITOR
========================================================= */

.material_write_editor {
    width: 100%;
}

.material_write_editor iframe {
    max-width: 100%;
}

#char_count_desc,
#char_count_wrap {
    font-size: 14px;
    color: #888;
}


/* =========================================================
   WRITE BUTTONS
========================================================= */

.material_write_buttons {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding-top: 45px;
}

.material_write_buttons .btn_cancel,
.material_write_buttons .btn_submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 130px;
    height: 50px;
    padding: 0 25px;
    border-radius: 0;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.material_write_buttons .btn_cancel {
    border: 1px solid #ccc;
    background: #fff;
    color: #555;
}

.material_write_buttons .btn_submit {
    border: 1px solid var(--color-navy);
    background: var(--color-navy);
    color: #fff;
}

.material_write_buttons .btn_submit:hover {
    border-color: var(--color-primary);
    background: var(--color-primary);
}


/* =========================================================
   05. RESPONSIVE - TABLET
========================================================= */

@media all and (max-width: 1100px) {

    .material_list_grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 50px 22px;
    }

    .material_view_top_inner {
        gap: 45px;
        grid-template-columns:
            minmax(0, 1fr)
            minmax(320px, .85fr);
    }

    .material_cert_input {
        grid-template-columns: 1fr 170px;
    }

    .material_cert_preview {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
    }

}


/* =========================================================
   05. RESPONSIVE - MOBILE
========================================================= */

@media all and (max-width: 768px) {

    /* SEARCH */

    .material_search {
        margin-bottom: 45px;
    }

    .material_search_form {
        height: 56px;
    }

    .material_search_type {
        flex-basis: 82px;
        padding: 0 16px;
    }

    .material_search_type span {
        font-size: 14px;
    }

    .material_search_input input {
        padding: 0 14px;
        font-size: 14px;
    }

    .material_search_btn {
        flex-basis: 55px;
    }

    .material_search_btn svg {
        width: 22px;
        height: 22px;
    }


    /* LIST */

    .material_list_top {
        align-items: flex-end;
        flex-direction: column-reverse;
    }

    .material_list_admin {
        width: 100%;
    }

    .material_list_write {
        align-self: flex-end;
    }

    .material_list_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 12px;
        row-gap: 42px;
    }

    .material_list_badges {
        align-content: flex-end;
        min-height: 61px;
        margin-bottom: 8px;
        gap: 4px;
    }

    .material_badge {
        min-height: 25px;
        padding: 4px 7px;
        font-size: 14px;
    }

    .material_list_info {
        padding-top: 14px;
    }

    .material_list_name {
        font-size: 16px;
    }

    .material_list_paging {
        margin-top: 55px;
    }


    /* VIEW */

    .material_view_top {
        padding: 0 0 65px;
    }

    .material_view_top_inner {
        display: block;
    }

    .material_view_gallery {
        margin-bottom: 45px;
    }

    .material_gallery_main .slick-arrow {
        width: 40px;
        height: 40px;
    }

    .material_gallery_main .slick-prev {
        left: 12px;
    }

    .material_gallery_main .slick-next {
        right: 12px;
    }

    .material_gallery_main .slick-prev::after {
        left: 17px;
    }

    .material_gallery_main .slick-next::after {
        right: 17px;
    }

    .material_admin_buttons {
        justify-content: flex-start;
        margin-bottom: 20px;
    }

    .material_view_badges {
        margin-bottom: 20px;
    }

    .material_view_title {
        padding-bottom: 23px;
    }

    .material_view_name {
        font-size: 30px;
    }

    .material_view_description {
        padding: 23px 0;
        font-size: 15px;
        line-height: 1.8;
    }

    .material_view_inquiry {
        margin-top: 5px;
    }

    .material_view_inquiry a {
        min-height: 58px;
        padding: 0 20px;
    }

    .material_view_detail {
        padding: 65px 0 55px;
    }

    .material_view_detail_head {
        margin-bottom: 35px;
    }

    .material_view_detail_head h2 {
        font-size: 25px;
    }

    .material_view_content {
        font-size: 15px;
    }

    .material_view_control {
        padding-top: 30px;
    }

    .material_view_navigation {
        margin-top: 35px;
    }

    .material_view_navigation_item {
        grid-template-columns: 65px 1fr;
        min-height: 62px;
    }


    /* WRITE */

    .material_write_section {
        padding: 35px 0;
    }

    .material_write_section_title h2 {
        font-size: 20px;
    }

    .material_cert_item {
        display: block;
    }

    .material_cert_label {
        padding: 15px;
    }

    .material_cert_input {
        display: block;
        padding: 15px;
    }

    .material_cert_name {
        margin-bottom: 15px;
    }

    .material_cert_color {
        margin-bottom: 15px;
    }

    .material_cert_preview {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .material_write .filebox {
        gap: 6px;
    }

    .material_write .filebox label {
        flex-basis: 90px;
    }

    .material_write .filebox .fileName,
    .material_write .filebox label {
        height: 48px;
    }

    .material_existing_file {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

}


/* =========================================================
   05. RESPONSIVE - SMALL MOBILE
========================================================= */

@media all and (max-width: 480px) {

    .material_search_type {
        flex-basis: 72px;
        padding: 0 12px;
    }

    .material_search_input input {
        padding: 0 10px;
    }

    .material_search_btn {
        flex-basis: 48px;
    }

    .material_list_grid {
        grid-template-columns:1fr;
        column-gap: 10px;
    }

    .material_list_name {
        font-size: 15px;
    }

    .material_view_name {
        font-size: 27px;
    }

}
