@charset "utf-8";
            /* 우측 안내 모달  */
            .modal {
                display: none; /* 기본적으로 숨김 */
                position: fixed;
                z-index: 1000;
                left: 0;
                top: 0;
                width: 100%;
                height: 100%;
                overflow: hidden;
                background-color: rgb(0,0,0);
                background-color: rgba(0,0,0,0.4);
            }
            .modal-content {
                background-color: rgba(0,0,0,0.4);
                margin: 5% auto; /* 중앙 정렬 */
                padding: 0px;
                border: 1px solid #888;
                width: 70%;
                max-width: 800px; /* 최대 너비 */
                height: auto;
                max-height: 80%;
                overflow-y: hidden;
            }
            .close {
                color: #aaa;
                float: right;
                font-size: 28px;
                font-weight: bold;
            }
            .close:hover,
            .close:focus {
                color: black;
                text-decoration: none;
                cursor: pointer;
            }
/* 뷰 기본정보 */
.wrapper_promotion {display: flex;}
.left-content {flex: 3;padding-right: 10px;}
.right-content {
    flex: 7; /* 오른쪽 영역이 전체의% */
    padding-left: 10px;
    background-color: none;
    /* border-radius: 8px; */
    margin: 0px 0px;
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
}
.right-content .bo_v_tit {display: block;font-size: 26px;margin-top: 0px;margin-bottom: 20px;color: #555;}
.right-content .company-details {list-style: none;padding: 0;margin: 0;width: 100%;}
.right-content .company-details li {display: flex;align-items: center;font-size: 1.3em;padding: 5px 0;border-bottom: 1px solid #ddd;}
.right-content .company-details li:last-child {border-bottom: none; /* 마지막 줄 제거 */}
.right-content .company-details li strong {width: 120px;flex-shrink: 0; text-align: left;}
.right-content .company-details li span {flex-grow: 1; /* 남은 공간을 모두 차지 */text-align: left;}
.btn {
    display: inline-block;
    width: 100%;
    margin-bottom: 10px;
    color: #ffffff;
    text-align: center;
    vertical-align: middle;
    background-color: #991212;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn:hover {
    background-color: #c04a4a;
    border-color: #ffffff;
    
}

.btn:focus, .btn:active {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(255, 233, 38, 0.5);
}
/* 작품사진 시작 */
.image-gallery {display: grid;grid-template-columns: repeat(4, 1fr);gap: 20px;margin-top: 20px;}
/* 각 이미지를 링크로 */
.image-gallery a {display: block;position: relative;}
/* 이미지 */
.image-gallery img {width: 100%;height: 300px;transition: transform 0.3s ease, opacity 0.3s ease;}
.image-gallery a:hover img {transform: scale(1.0);opacity: 0.8;}

@media (max-width: 1024px) {.image-gallery {grid-template-columns: repeat(2, 1fr);}}
@media (max-width: 468px) {.image-gallery {grid-template-columns: 1fr;}}
/* 작품사진 종료 */

/* 슬라이드 제목 */
.fancybox-caption-title {
    font-size: 16px;font-weight: bold;padding: 20px;background-color: rgba(0, 0, 0, 0.3);
    color: #fff;position: absolute;top: 0;left: 0;right: 0;text-align: center;z-index: 1;}
#bigimg { width: 100%; height: auto; overflow: hidden; z-index: 1; text-align: center; cursor: pointer; background:none; position: relative;}
.file-description { font-size: 14px; color: #666; margin-top: 5px; }

/* 슬라이드이미지 view_img_contents.php */
.table-container {overflow: hidden;border-radius: 10px;box-shadow: 0 0 1px rgba(0, 0, 0, 0.1);background-color: none;border: 1px solid #cdcdcd;}
/* 큰 이미지 테이블 */
.img-table {border-collapse: collapse;border-radius: 0px;overflow: hidden;width: 100%;}
.img-table td {padding: 0;}
/* 썸네일 테이블 */
.thumb-table {border-collapse: collapse;border-radius: 0px;width: 100%;}
/* 썸네일 이미지 */
.thumb {padding: 0px;border: 0px solid #ccc;cursor: pointer;border-radius: 0px;}
.thumb img {padding: 0px;border: 1px solid #ccc;cursor: pointer;border-radius: 10px;transition: transform 0.3s ease;}
.thumb img:hover {transform: scale(1.3);}
.table-container table {width: 100%;margin: 0 auto;}
.thumbpre_next {color: #0067CE;cursor: pointer;}
.thumbpre_next:hover {color: #991212;}
/* 탭메뉴 */
.promotion_tabs {
    position: relative;
    margin: 0 auto;
    /* background-color: #fff; */
    display: flex;
    justify-content: flex-start; /* 좌측 정렬 */
    padding: 0px 0;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
    transition: all 0.3s ease; /* 부드러운 전환 효과 */
}

.promotion_tabs.fixeddd {
    position: fixed;
    top: 35px;
    width: 100%;
    z-index: 2;
    /* background-color: rgba(255, 255, 255, 0.95); */
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
}

.promotion_tab {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 10px 10px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    margin: 1px 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 5px;
}

.promotion_tab:hover {
    background-color: white;
    color: #4CAF50;
    border: 2px solid #4CAF50;
}

@media screen and (max-width: 768px) {
    /* 탭메뉴 */
    .promotion_tabs.fixeddd {
        top: 0px;
    }

    /* 모바일 환경에서 이미지의 너비를 100%로 설정 */
    .table-container {
        width:100% !important;
    }
    .img-table,
    .thumb-table {
        width: 100% !important;
    }
    .img-table td {
        padding: 0;
    }
    /* 썸네일 컨테이너 너비 조정 */
    .thumb img {
        width: 100%;
    }
    /* 썸네일 컨테이너 너비 조정 */
    .thumb-table {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }
    .thumb {
        width: calc(20% - 4px); /* 썸네일 너비를 5개 컬럼으로 설정 */
        margin-bottom: 4px;
    }
        #bigimg img{
        width: 100%;
    }
    .file-description {
        font-size: 12px;
    }
}

/* 펼침 상세보기 */
.content-preview {
    overflow: hidden;
    max-height: 200px; /* 초기 표시 높이 설정 */
    transition: max-height 0.3s ease; /* 부드러운 전환 효과 */
    position: relative;
}

.content-full {
    display: none; /* 초기 상태에서 숨김 */
}

#toggle-button {
    width: 100%;
    margin-top: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 0;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease; /* 부드러운 전환 효과 */
    border-radius: 5px; /* 버튼 모서리 둥글게 */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#toggle-button:hover {
    background-color: #45a049;
}

@media (max-width: 768px) {
    .modal-content {
        width: 100%;
        max-width: 100%;
        margin: 0;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
    }

    .modal-content {
        padding: 0px;
    }
    .wrapper_promotion {
        flex-direction: column; /* 세로로 배치 */
    }

    .left-content,
    .right-content {
        flex: 1; /* 각 콘텐츠 영역이 동일한 크기를 차지하도록 설정 */
        padding-right: 0;
        padding-left: 0;
        margin-bottom: 10px; /* 각 콘텐츠 사이에 여백 추가 */
    }
}


/* 커멘트 및 뷰페이지 별점 */
.star-list_top {color: #991212;width: auto;padding: 15px 0; /* 상하좌우 패딩 0 */text-align: center;}
.star-list_top .fa-star-o::before { font-weight: 500; }
.overall-rating {color: #000;font-size: 16px;margin-left: 10px;font-weight: bold;}
.overall-rating_cmt {color: rgb(80, 80, 80);font-size: 14px;margin-left: 10px;font-weight: bold;}
.star-list { color: #991212 }
.star-list .fa-star-o::before { font-weight: 500; }
.star-list {display: flex;justify-content: space-between; /* 고르게 배분 */align-items: left;padding: 0;margin: 0;}
.star-item {display: flex;align-items: left;margin: 0 1px;}
.star-item input {display: none;  /* 라디오 버튼 숨기기 */}
.star-icon {display: flex;}
.bo_cnt .fa-star-o::before { font-weight: 500; }
