@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;
            }
/* Flexbox를 사용하여 내부 요소를 수평으로 배치 */
.wrapper_promotion {
    display: flex;
}

.left-content {
    flex: 6; /* 왼쪽 콘텐츠 영역이 전체의 60%를 차지하도록 설정 */
    padding-right: 10px;
}

.right-content {
    flex: 4; /* 오른쪽 콘텐츠 영역이 전체의 40%를 차지하도록 설정 */
    padding-left: 10px;
    background-color: none;
    border-radius: 8px;
    margin: 0px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bo_v_tit {
    display: block;
    font-size: 26px;
    margin-top: 0px;
    margin-bottom: 20px;
    color: #555;
}

.company-details {
    list-style: none;
    padding: 10;
    margin: 0 0 20px 0;
}

.company-details li {
    font-size: 16px;
    margin-bottom: 10px;
}

.company-details li strong {
    color: #333;
    width: 100px;
    display: inline-block;
}

.company-details a {
    color: #007bff;
    text-decoration: none;
}

.company-details a:hover {
    text-decoration: underline;
}

.btn {
    display: inline-block;
    width: 100%;
    margin-bottom: 10px;
    color: #292929;
    text-align: center;
    vertical-align: middle;
    background-color: #ffc400;
    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: #ffd902;
    border-color: #dfbd00;
}

.btn:focus, .btn:active {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(255, 233, 38, 0.5);
}

/* 슬라이드 제목 */
.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: #ffd400;
}
/* 탭메뉴 */
.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: #ffd400;
    width: auto;
    padding: 15px 0; /* 상하 패딩 5px, 좌우 패딩 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: #ffd400 }
.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; }
