@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;
            } */
/* 모달기본 오버레이 시작 */
#bo_v_info .modal-overlay {display: none;
    position: fixed;top: 0;left: 0;width: 100%;height: 100%;background: rgba(0, 0, 0, 0.5);z-index: 999;}
/* 신고사유 모달 */
#bo_v_info .modal {
    display: none;position: fixed;top: 50%;left: 50%;transform: translate(-50%, -50%);width: 100%;max-width: 400px;
    background: #fff;padding: 10px;border-radius: 8px;box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);z-index: 1000;}

/* 신고사유 모달 콘텐츠 */
#bo_v_info .modal-content h3 {margin-top: 0;font-size: 18px;font-weight: bold;color: #333;text-align: center;}
#bo_v_info .modal-content textarea {width: 100%;height: 100px;padding: 10px;margin-top: 10px;
    border: 1px solid #ccc;border-radius: 4px;resize: none;box-sizing: border-box;}

#bo_v_info .modal-buttons {display: flex;justify-content: flex-end;gap: 10px;align-items: center;}
/* #bo_v_info .modal-buttons .btn {padding: 8px 1px;font-size: 14px;border: none;border-radius: 4px;cursor: pointer;} */
#bo_v_info .modal-buttons .btn-primary {background: #dc3545;color: #fff;}
#bo_v_info .modal-buttons .btn-primary:hover {background: #ff0096;}
#bo_v_info .modal-buttons .btn-secondary {background: #6c757d;color: #fff;}
#bo_v_info .modal-buttons .btn-secondary:hover {background: #565e64;}
/* 모달기본 오버레이 종료 */

@media (max-width: 768px) {
#bo_v_info .modal {width: 95%;}
#bo_v_info .modal-content h3 {font-size: 16px;}
#bo_v_info .modal-buttons .btn {font-size: 13px;padding: 7px 12px;}}


/* Flexbox를 사용하여 내부 요소를 수평으로 배치 */
.wrapper_promotion {display: flex;margin-bottom:20px;}
.left-content {flex: 2; /* 왼쪽 영역설정 */padding-right: 20px;}
.right-content {flex: 4; /* 오른쪽 콘텐츠 영역 */padding-left: 10px;background-color: none;border-radius: 8px;
    margin: 10px 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;
}
/* 등록수정기타 상아이콘섹션 버튼 */
#sections .btn {
    display: inline-block;
    width: 100%;
    margin-bottom: 10px;
    color: #ffffff;
    text-align: center;
    vertical-align: middle;
    background-color: #dbdbdb;
    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;
}

#sections .btn:hover {
    background-color: #ff0096;
    border-color: #ffffff;
}

#sections .btn:focus, .btn:active {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(255, 38, 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: 0px 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: #ec3538;}
/* 탭메뉴 */
.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: #ff0096;
    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: #ff0096;
    border: 2px solid #ff0096;
}

@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: #ff0096;
    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: #ff0096;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: #ff0096 }
.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; }
