html {
    font-size: 100%;
}

* {
    word-break: keep-all;
}

.wrap {
    margin-top: 4rem;
}

/* [공통] 테이블 아래 스크롤 UI */

#test_table{

    /* .gradient-overlay { */
        position: absolute;
        color: red;
        bottom: 0;
        left: 0;
        width: 100%;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(136, 60, 60, 0.8) 100%);
        /* background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 100%); */
        pointer-events: none; /* 오버레이가 클릭을 방해하지 않도록 설정 */
    /* } */
}

.pull-up-indicator {
    
    height: 40px;
    text-align: center;
    line-height: 10px;
    font-weight: 700;

    /* margin: 1rem auto 0 auto;
    height: 24px;
    background: url('../image/icon/chevron-double-down.svg') no-repeat center center;
    background-size: contain;
    opacity: 50%;
    animation: pullUp 2s infinite; */

}

@keyframes pullUp {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}


/* [공통] 헤더 */


#header #header_drop {
    font-size: 0.7rem;
}

#header #header_btn1,
#header #header_btn2 {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---------------------- */


/* 3차 고도화 수정#1*/
#check-text{
    display: flex;
    width: 10rem;
    top: 10%;
    position: fixed;
    background: #d2d2d28f;
    height: 3rem;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 0.5px solid #bababa8a;
    color: #333e4b;
}

/* [공통] 메인 콘텐츠 */

.listContent,
.normalContent {

    min-width: 300px;
    max-width: 1156px;
    min-height: 600px;
    margin: auto;
    padding: 5vh 0;
    word-break: keep-all;
}

/* ---------------------- */



/* [공통] 공통 컨텐츠 */

/* 
    1. DIV
*/

/* 가로 꽉찬 이미지 넣을 div */
.full {
    width: 100%;
    padding: 1.5rem 0;
    margin: 1.5rem 0;
    text-align: center;
}

/* 가로 꽉찬 회색 div (이미지 없이 텍스트만 있는 경우) */
.full_background {
    background-color: #F4F5FA;
    padding: 3rem 0;
    /* padding: 3rem 0.3rem; */
    margin: 3rem 0;
}

/* 가로 꽉찬 파란색 div (이미지 없이 텍스트만 있는 경우) */
.full_background_blue {
    background-color: #EDF2FA;
    padding: 3rem 0;
    margin: 3rem 0;

}

.introContent {
    max-width: 1156px;
    min-width: 300px;
    margin: auto;
    padding: 5vh 0;
    word-break: keep-all;
}


/* 
    2. TEXT
    텍스트 크기 : index-text-md > index-text-header > index-text-index > index-text-blue
*/

/* 파란색 컨텐츠 제목 */
.index-text-header {
    color: #428EFF;
    font-size: 1.6rem;
    font-weight: 500;
    padding: 1rem 0;
    line-height: 2.5rem;
    margin: 0;
}

/* 검정색 컨첸츠 헤더 텍스트 */
.index-text-md {
    /* color: #000; */
    color: #404954;
    font-size: 1.7rem;
    font-weight: 600;
    padding: 1rem 0;
    letter-spacing: 1px;
    line-height: 2.5rem;
    margin: 0;

}

/* 파란색 컨첸츠 소제목 */
.index-text-index {
    color: #428EFF;
    font-size: 1.2rem;
    line-height: 3rem;
    font-weight: 600;
}

/* 파란색 컨첸츠 기본 텍스트 */
.index-text-blue {
    color: #428EFF;
    font-size: 1.0rem;
    font-weight: 600;
    line-height: 3rem;
}

/* 컨텐츠 속 아이콘 이미지 */
.icon-sm {
    width: 1.7rem;

}


/* ---------------------- */


/* [공통] 아이콘+텍스트 버튼 */

.defaultBtn {
    border-radius: 30px;
    background-color: white;
    border: 0.7px solid #428EFF;
    color: #428EFF;
    background-color: white;
    padding: 4px 10px;
    height: 33px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 130px;
}

.defaultBtn_ {
    border-radius: 30px;
    background-color: white;
    border: 0.7px solid rgb(148, 146, 146);
    padding: 4px 10px;
    height: 33px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 130px;
}

.disabled .btn-inner-text {
    color: #333D4B;
}

.disabled img {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
}

.defaultBtn .active span {
    filter: none;
}

.defaultBtn .active span {
    color: #428EFF;
}

#anomalyDateDiv{
    font-size: 0.8rem;
}
.defaultBtn:hover img{
    filter: brightness(0) invert(1);
    -webkit-filter: brightness(0) invert(1);
}

.defaultBtn:hover {
    background-color: #428EFF;
}

.defaultBtn:hover .btn-inner-text {
    color: white;
    font-weight: 700;
}

.btn-inner-text {
    color: #428EFF;
    /* color: gray; */
    margin-left: 5px;
    font-size: 0.7rem;
}

/* ---------------------- */



/* [공통] 페이지 타이틀 

1. 제목 + 버튼

            <div class="title">
                <div class="row justify-content-between">
                    <div class="col-sm" id="mainTitle">
                        <h4 style="font-weight: 600;">성능 분석</h4>
                        <p class="title_text">항목별 성능 통계 차트를 확인할 수 있습니다.</p>
                    </div>
                    <div class="col-sm-4 d-flex justify-content-end align-items-center">
                        <button type="button" class="btn defaultBtn disabled" id="syncBtn">
                            <img src="../image/icon/sync.png" width="18rem">
                            <span class="btn-inner-text">데이터 동기화</span>
                        </button>
                    </div>
                </div>
            </div>



2. 제목

            <div class="title">
                <div class="row justify-content-between">
                    <h4 style="font-weight: 600;">운영 관리</h4>
                    <p class="title_text">운영 정책, 이상감지 기준, 운영 관리자를 설정할 수 있습니다.</p>
                </div>
            </div>


3. 헤더, 푸터 제외 모든 컨텐츠를
    <div class="wrap">

    </div>
    안에 넣기
*/

.title {
    margin: 30px 0;
}

.title::after {
    content: "";
    display: block;
    border-bottom: 1px solid rgba(192, 201, 218, 1);
    margin: 5px 0;
}

.smallTitle {
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
}

.underLine::after {
    content: "";
    display: block;
    border-bottom: 0.5px solid gray;
    margin: 30px 0;
}

.title_text {
    font-size: 0.8rem;
}

table thead th {
    font-weight: 700;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    font-size: 0.8rem;
}

/* ---------------------- */


/* [공통] 마진 */
.margin-top-15vh {
    margin: 15vh auto;
}

.margin-top-10vh {
    margin: 10vh auto;
}


.margin-30px-0 {
    margin: 30px 0;
}


.margin-top-10px {
    margin: 10px auto;
}

/* ---------------------- */



/* [공통] 텍스트 버튼 */
.normalBtn-primary {
    width: 160px;
    padding: 0.4rem 0.3rem;
    color: white;
    background-color: #428EFF;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
}

.shortBtn-primary {
    width: 100px;
    padding: 0.4rem 0.3rem;
    /* padding: 0.25rem; */
    color: white;
    background-color: #428EFF;
    font-size: 0.9rem;

}

.normalBtn-secondary {
    width: 160px;
    /* padding: 0.25rem; */
    padding: 0.4rem 0.3rem;
    color: black;
    background-color: rgba(192, 201, 218, 1);
    font-size: 0.9rem;

}

.shortBtn-secondary {
    width: 100px;
    color: black;
    padding: 0.4rem 0.3rem;
    /* padding: 0.25rem; */
    background-color: rgba(192, 201, 218, 1);
    border: 1px solid rgba(125, 143, 155, 1);
    font-size: 0.9rem;
}

/* 테이블용 작은 버튼 */
.listBtn-primary {
    width: 60px;
    padding: 0.25rem;
    color: white;
    background-color: #428EFF;
    font-size: 0.9rem;
}

.listBtn-secondary {
    background-color: rgba(192, 201, 218, 1);
    width: 60px;
    color: black;
    padding: 0.25rem;
    border: 1px solid rgba(125, 143, 155, 1);
    font-size: 0.9rem;
}

.list-icon {
    width: 30px;
    cursor: pointer;
}

/* ---------------------- */



/* [공통] 푸터 */

/* 
    1. 최하단 푸터 (모든 페이지 공통)
*/


#footer footer {
    width: 100%;
    padding: 4rem 0;
    font-size: 0.9rem;
    background-color: white;
    /* border-top: 0.5px solid #333D4B; */

}

#footer footer #footer_logo {
    width: 16rem;
    margin: 1rem 0;
}

footer #footer_row {
    max-width: 1156px;
    min-width: 300px;
    margin: auto;
    padding: 1rem 0;
    border-top: 1px solid #C0C9DA;
    border-bottom: 1px solid #C0C9DA;

}

footer #footer_row .col-sm {
    padding-top: 5px;
    padding-bottom: 5px;
}

/* 
    2. 광고성 푸터
*/

.full_footer {
    background-color: #333D4B;
    color: white;
    padding: 5rem 2rem;
    text-align: center;
}

.text-color-white {
    color: white;
}

.index-text-mute {
    color: #B0B8C1;
    font-size: 0.8rem;
}

#serviceBtnContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 40px auto;
}

#productBtnContainer {
    margin: 40px auto;
    text-align: end;

}

#productBtnContainer button,
#serviceBtnContainer button {
    margin: 5px;
}


/* [공통] 로딩 */

body.loading {
    overflow: hidden;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

#loading-spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #428EFF;
    /* border-top: 8px solid #3498db; */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ---------------------- */

/* 모달 */
.modal-content {
    background-color: #EDF2FA;
    padding: 1rem;
}

/* 
.modal-content-sm {
    background-color: white;
    padding: 1rem;
    margin: 0.5rem;
    border: 1px solid #B0B8C1;
    border-radius: 10px;
} */


.modal-top {
    background-color: white;
    border-radius: 10px;
    padding: 1rem;
    margin: auto;

}


.modal-bottom label {
    font-size: 0.8rem;
    display: flex;
    align-items: center;

}

.modal-form textarea {

    border: none;
    resize: none;
}

.modal-form input[type='text'] {
    border: 0;
    height: 2.5rem;
}

.modal-body{
    margin: 0.5rem;
}


.modal-body .row,
.modal-form .row {
    margin: 1.2rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
}


.modal-logo {
    width: 5rem;
    margin-bottom: 17px;
}

.modal-img {
    width: 100%;
    max-width: 130px;
    margin: auto;
}


/* 약관 모달 */

.modal-consent .modal-content {
    background-color: white;
    margin: 0 1rem 1rem 1rem;
}

.modal-content .index-text-md {
    color: #000;
    font-size: 1.7rem;
    font-weight: 600;
    padding: 1rem 0;
    letter-spacing: 1px;
    line-height: 1.5rem;
    margin: 0;

}

.modal-consent .modal-title {
    color: #428EFF;
    font-size: 1.3rem;
    font-weight: 500;
}

.modal-consent .modal-text {
    color: #6B7684;
    padding: 2rem 0;
}

.modal-consent .modal-terms-title {
    /* color: #6B7684; */
    font-size: 1.2rem;
    font-weight: 500;
}

.modal-consent .modal-terms-text {
    color: #6B7684;
    font-size: 0.9rem;
    font-weight: 500;
}

.modal-consent .modal-terms-annotation {
    color: #6B7684;
    font-size: 0.8rem;
    /* font-weight: 100; */
}

/* 고도화 수정-5 618까지*/
.modal {
    z-index: 9000;
}

#privacyModal{
    z-index: 9999;
}

/* 마퀴 */
@keyframes scrollText {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}



.scrolling-text-container {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
    margin: 0;
    /* margin: 0 0 1rem 0; */
    background-color:  rgba(0, 0, 0, 0.8);
    /* background-color: #000; */
    color: #ffffff;
    text-align: right;
    overflow: hidden;
    font-size: 1rem;
    padding: 1rem 0;

}

#scrollingDiv1 {
    display: inline-block;
    white-space: nowrap;
    animation: scrollText 170s linear 1s infinite;
    letter-spacing: 1px;
    animation-delay:  -82s;
    -webkit-animation-delay: -82s;
}

/* 240919 수정 */
#scrollingDiv { 
    display: inline-block;
    white-space: nowrap;
    animation: scrollText 290s linear 1s infinite;
    letter-spacing: 1px;
    animation-delay: -143s;
    -webkit-animation-delay: -143s;
}


/* 반응형 */

@media (max-width: 767px) {
    html {
        /* font-size: 80%; */
        font-size: 90%;
    }

    .modal-content {
        padding: 0;
    }

    .modal-dialog-scrollable .modal-content {
        max-height: 95%;
    }
    
    .normalContent,
    .listContent {
        width: 90vw;
    }

    .defaultBtn {
        margin: 1rem 0;
    }

    .wrap {
        margin-top: 4.6rem;
    }

}

@media (max-width: 1156px) {

    /* @media (max-width: 1024px) { */
    .introContent,
    .normalContent,
    .listContent {
        width: 90vw;
    }


    #footer footer {
        margin: auto;
        padding: 5rem 2rem;
        /* width: 90vw; */
    }

    #footer footer #footer_logo {
        width: 15rem;
    }


    /* .listContent {
        width: 95vw;
    } */

    .listContent table {
        font-size: 0.8rem;
    }


    #serviceBtnContainer {
        width: 300px;
    }

    .full_background_blue {
        text-align: center;
    }

    #productBtnContainer {
        text-align: center;
    }
}