@charset "UTF-8";

/* 로고 */
.montserrat {
    color: #fff !important;
    letter-spacing: 0.225em !important;
    font-family: 'Montserrat', serif !important;
    font-style: normal !important;
    font-weight: 400 !important;
    font-optical-sizing: auto !important;
    text-transform: none !important;
}

/* Board List */
.board-container {
    max-width: 100%;
    font-size: 14px;
    /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);*/
    /*border-top: solid 1px #CED4DB;*/
    /*letter-spacing: 0.225em !important;*/
    word-spacing: 0.425em;
    margin: 0 0 3em 0;
}

.board-header {
    display: flex;
    color: #2B3748;
    padding: 12px;
    font-family: 'Montserrat', serif;
    font-weight: 400 !important;
    font-size: 13px;
    text-align: center; /* 헤더 중앙 정렬 */
    border-bottom: solid 1px #CED4DB;
    height: 50px; /* 고정 높이 설정 */
}

/* 각 항목의 넓이 설정 */
.header-item {
    flex: 0 0 20%;
}

.header-item:nth-child(1) {
    flex: 0 0 60%;
}

.board-item {
    display: flex;
    padding: 1.6em;
    border-bottom: 1px solid #dfdfdf;
    height: 70px; /* 고정 높이 설정 */
}

/* 사건, 제목, 분류 넓이 설정 */
.item-title {
    flex: 0 0 60%;
    text-align: left; /* 개별 항목 제목만 왼쪽 정렬 */
}

.item-author,
.item-date {
    flex: 0 0 20%;
    text-align: center; /* 작성자와 날짜 중앙 정렬 */
}

/* 마우스 오버 시 색상 변경 */
.board-item:hover {
    background-color: #FAFBFD;
}

/* 모바일 버전 */
@media (max-width: 768px) {
    .board-header .header-item:nth-child(2),
    .board-header .header-item:nth-child(3) {
        display: none;
    }

    .header-item:nth-child(1) {
    flex: 0 0 100%;
}

    .board-item {
        flex-direction: column;
        text-align: left;
    }

    .item-title {
        width: 100%;
    }

    .item-author, .item-date {
        margin-top: 5px;
        display: none;
    }
    .subject {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 1 !important;
    overflow: hidden !important;
    }
}

/* 게시판 제목 텍스트 링크 */
.subject { 
    font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    letter-spacing: 0.180em;
    word-spacing: 0.1em !important;
    transition: 0.5s !important;
    border-bottom: 0px solid #fff !important;
}

a.subject:link, a.subject:visited, a.subject:active {
   color:#5C6067 !important;
   text-decoration: none !important;
}

a.subject:hover {
   color:#F56A6A !important;
   border-bottom: solid 1px #F56A6A !important;
}

/* Board List Box */
.additional {
    margin: 0 5px;
    font-family: 'Montserrat', serif;
    font-weight: 400 !important;
    color: #303030 !important;
    font-size: 0.8em !important;
}





/* -------------------------------------
         반응형 테이블 코드
-------------------------------------- */
/* Titles box */
.title-container {
    position: relative;
    width: 100%;
}

.title-box {
    display: inline-block;
    /*background-color: #64C7BA;*/
    color: #64C7BA;
    padding: 0em 0em 1.33em 1em;
    font-weight: bold;
    position: relative;
    margin-left: 12px; /* 세로 라인과 여백 조절 */
}
.title-box h3 {
    margin: 0;
    color:#343939 !important;
    font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    font-size: 1.8em !important;
    font-weight: 200 !important;
    text-align: left;
}
/* 모바일에서 폰트 크기 조절 */
@media (max-width: 768px) {
    .title-box h3 {
        font-size: 1.33em !important;
    }
}

.title-box::before {
    content: "";
    position: absolute;
    left: -12px;
    top: 0;
    width: 0.5em;
    height: 70%;
    background-color: #1ABC9C;
    border-radius: 0.3em;
}

.title-box::after {
    content: "";
    position: absolute;
    left: -8px;
    top: 0;
    width: 0;
    height: 100%;
    background-color: #FFA800;
}

.summary-box {
    background-color: #FBFDFD;
    /*color: #444;*/
    padding: 1em;
    width: 100%;
    position: relative;
    margin-top: 0.5em;
    /* box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3); */
    border-radius: 0.3em;
    border: 0.3em solid #eee;
}

.summary-box::before {
    content: "";
    position: absolute;
    left: 0;
    top: -4px;
    width: 100%;
    height: 4px;
    /*background-color: #57B8AC;*/
}

.summary-box p {
    font-size: 1.11rem;
    font-family: 'Noto Serif KR', sans-serif;
    line-height: 180%;
    font-weight: 400;
    letter-spacing: 0.05em;
    word-spacing: 0.1em;
    margin-bottom: 0 !important; 
    margin-top: 0em !important;
}
@media screen and (max-width: 768px) {
    .summary-box p {
        font-size: 1em;
    }
}

/* Contents box */
        .box-container {
            display: flex;
            flex-direction: column;
            width: 100%;
            max-width: 100%;
            margin: 1em 0 5em 0;
        }
        .box-row {
            display: flex;
            align-items: center;
            border-top: 1px solid #D9E2E1;
        }
        .box-row:first-child {
            border-top: none;
        }
        .box-title {
            color:#2E2C2A;
            width: 25%;
            padding: 2em 0 2em 0.5em;
            font-size: 1.11rem;
            font-weight: bold;
            text-align: left;
            position: relative;
            font-family: 'Noto Serif KR', sans-serif;
            letter-spacing: 0.05em;
            word-spacing: 0.1em;
            }
        .box-title::after {
            content: "";
            position: absolute;
            right: -0.2em;
            top: 10%;
            bottom: 10%;
            width: 1px;
            background-color: #D9E2E1;
        }
@media (max-width: 768px) { /* 모바일 화면 크기 설정 */
        .box-title {
                font-size: 1rem; /* 모바일에서 폰트 사이즈 조정 */
    }
}
        .box-content {
            color: #555C5D;
            width: 75%;
            font-size: 1.06rem;
            padding: 1em 1em;
            font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
            font-weight: 300;
            line-height: 200%;
            letter-spacing: 0.05em;
            word-spacing: 0.1em;
        }
@media (max-width: 768px) { /* 모바일 화면 크기 설정 */
        .box-content {
                font-size: 1rem; /* 모바일에서 폰트 사이즈 조정 */
    }
}
        @media (max-width: 600px) {
            .box-row {
                flex-direction: column;
                border-top: none;
                border-bottom: 1px solid #D9E2E1;
            }
            .box-title {
                width: 100%;
                text-align: left;
                padding: 0;
                margin: 1rem 0;
            }
            .box-title::after {
                display: none;
            }
            .box-content {
                width: 100%;
                padding: 0;
                line-height: 180%;
                margin-bottom: 1em;
            }
        }

            .box-content ul li {
                display: list-item;
                list-style: outside;
                margin-left: 1rem;
            }
            .box-content ol li {
                display: list-item;
                list-style: decimal;
                margin-left: 0rem;
            }



/* a 링크 속성 */
            .box-row .box-content a {
                color: #1a73e8; 
                text-decoration: none;
                transition: color 0.3s;
            }

/* 링크 호버 시 스타일 */
            .box-row .box-content a:hover {
                color: #0b59d1;
            }


/* 국제이혼 페이지 베너 섹션 */
/* banner section start */

.banner_section {
    width: 100%;
    float: left;
    background-image: url(https://tistory1.daumcdn.net/tistory/7530337/skin/images/nseo5-banner-bg.jpg);
    height: auto;
    background-size: 100%, auto, 100% auto;
    padding: 10px 0px 25px 0px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
@media (max-width: 768px) {
        .banner_section {
 background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(https://tistory1.daumcdn.net/tistory/7530337/skin/images/nseo5-banner-bg.jpg);
   
        background-size: cover;
        background-position: center;
    }
}

.banner_taital {
    width: 100%;
    float: left;
    padding: 100px 0px;
}

.outstanding_text {
    width: 100%;
    float: left;
    color: rgba(0, 0, 0, 0.5);
    font-size: 3.33rem;
    font-weight: 900;
    line-height: 130%;
    padding-bottom: 0px;
}
@media (max-width: 768px) {
    .outstanding_text {
        color: rgba(255, 255, 255, 0.6); /* 0.8 = 80% 불투명 */
        font-size: 2rem;
    }
}

/* 서브 페이지 텍스트 */
.outstanding_texts {
    width: 100%;
    float: left;
    color: rgba(0, 0, 0, 0.5);
    font-size: 2.33rem;
    font-weight: 900;
    padding-bottom: 0px;
}
@media (max-width: 768px) {
    .outstanding_texts {
        color: rgba(255, 255, 255, 0.6); /* 0.8 = 80% 불투명 */
        font-size: 2rem;
    }
}

.outstanding_fonts {
    width: 100%;
    float: left;
    color: rgba(255, 255, 255, 0.5);
    font-size: 2.33rem;
    font-weight: 900;
    padding-bottom: 0px;
}
@media (max-width: 768px) {
    .outstanding_fonts {
        color: rgba(255, 255, 255, 0.6); /* 0.8 = 80% 불투명 */
        font-size: 2rem;
    }
}

.coffee_text {
    width: 100%;
    float: left;
    color: #fdfcfa;
    font-size: 3rem;
    font-weight: 900;
    padding-bottom: 0px;
}
@media (max-width: 768px) {
    .coffee_text {
        color: rgba(255, 255, 255, 0.6); /* 0.8 = 80% 불투명 */
        font-size: 1.88rem;
    }
}

.there_text {
    width: 50%;
    float: left;
    font-size: 1rem;
    color: #303030;
    margin: 0px;
    padding-bottom: 30px;
}
@media (max-width: 575px) {
    .there_text {
        color: #fff;
        width: 100% !important;
        font-size: 0.9rem !important;
    }
}

/* 서브 텍스트 */
.there_texts {
    width: 50%;
    float: left;
    font-size: 1rem;
    color: #fff;
    margin: 0px;
    padding-bottom: 30px;
}
@media (max-width: 575px) {
    .there_texts {
        color: #fff;
        width: 100% !important;
        font-size: 0.9rem !important;
    }
}

.learnmore_bt {
    width: 12rem;
}

.learnmore_bt a {
    width: 100%;
    float: left;
    padding-right: 0;
    background-color: #252525;
    color: #fff;
    text-align: center;
    margin-right: 12px;
    height: 53px;
    padding: 15px 10px;
    font-size: 14px;
    text-transform: uppercase;
}

.learnmore_bt a:hover {
    background-color: #f76d37;
    color: #fff;
}
@media (max-width: 768px) {
    .learnmore_bt a {
        background-color: #fff;
        color: #252525;
    }
}

#main_slider a.carousel-control-next {
    left: 0px;
    right: -60px;
    top: 440px;
}

#main_slider a.carousel-control-prev {
    left: -60px;
    right: 0px;
    top: 440px;
}

#main_slider .carousel-control-next,
#main_slider .carousel-control-prev {
    width: 45px;
    height: 45px;
    background: #fff;
    opacity: 1;
    font-size: 30px;
    color: #333333;
    margin: 0 auto;
    z-index: 1;
    margin: 0 auto;
    text-align: center;
}

#main_slider .carousel-control-next:focus,
#main_slider .carousel-control-next:hover,
#main_slider .carousel-control-prev:focus,
#main_slider .carousel-control-prev:hover {
    color: #ffffff;
    background-color: #f76d37;
}

/* 서브 페이지 베너 이미지 */
.banner_section_serve {
    width: 100%;
    float: left;
    background-image: url(https://imagehub.mycafe24.com/dachstore/images/International-divorced.jpg);
    height: auto;
    background-size: 100%, auto, 100% auto;
    padding: 10px 0px 25px 0px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
@media (max-width: 768px) {
    .banner_section_serve {
        background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(https://imagehub.mycafe24.com/dachstore/images/International-divorced.jpg);
        background-size: cover;
        background-position: center;
    }
}

.banner_section_serve_1 {
    width: 100%;
    float: left;
    background-image: url(https://imagehub.mycafe24.com/dachstore/images/International-divorced-1.jpg);
    height: auto;
    background-size: 100%, auto, 100% auto;
    padding: 10px 0px 25px 0px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
@media (max-width: 768px) {
    .banner_section_serve_1 {
        background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(https://imagehub.mycafe24.com/dachstore/images/International-divorced-1.jpg);
        background-size: cover;
        background-position: center;
    }
}

.banner_section_serve_2 {
    width: 100%;
    float: left;
    background-image: url(https://imagehub.mycafe24.com/dachstore/images/International-divorced-2.jpg);
    height: auto;
    background-size: 100%, auto, 100% auto;
    padding: 10px 0px 25px 0px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
@media (max-width: 768px) {
    .banner_section_serve_2 {
        background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(https://imagehub.mycafe24.com/dachstore/images/International-divorced-2.jpg);
        background-size: cover;
        background-position: center;
    }
}

.banner_section_serve_3 {
    width: 100%;
    float: left;
    background-image: url(https://imagehub.mycafe24.com/dachstore/images/International-divorced-3.jpg);
    height: auto;
    background-size: 100%, auto, 100% auto;
    padding: 10px 0px 25px 0px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
@media (max-width: 768px) {
    .banner_section_serve_3 {
        background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(https://imagehub.mycafe24.com/dachstore/images/International-divorced-3.jpg);
        background-size: cover;
        background-position: center;
    }
}

.banner_section_serve_4 {
    width: 100%;
    float: left;
    background-image: url(https://imagehub.mycafe24.com/dachstore/images/International-divorced-4.jpg);
    height: auto;
    background-size: 100%, auto, 100% auto;
    padding: 10px 0px 25px 0px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
@media (max-width: 768px) {
    .banner_section_serve_4 {
        background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(https://imagehub.mycafe24.com/dachstore/images/International-divorced-4.jpg);
        background-size: cover;
        background-position: center;
    }
}

.banner_section_serve_5 {
    width: 100%;
    float: left;
    background-image: url(https://imagehub.mycafe24.com/dachstore/images/International-divorced-5.jpg);
    height: auto;
    background-size: 100%, auto, 100% auto;
    padding: 10px 0px 25px 0px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
@media (max-width: 768px) {
    .banner_section_serve_5 {
        background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(https://imagehub.mycafe24.com/dachstore/images/International-divorced-5.jpg);
        background-size: cover;
        background-position: center;
    }
}

.banner_section_serve_6 {
    width: 100%;
    float: left;
    background-image: url(https://imagehub.mycafe24.com/dachstore/images/International-divorced-6.jpg);
    height: auto;
    background-size: 100%, auto, 100% auto;
    padding: 10px 0px 25px 0px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
@media (max-width: 768px) {
    .banner_section_serve_6 {
        background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(https://imagehub.mycafe24.com/dachstore/images/International-divorced-6.jpg);
        background-size: cover;
        background-position: center;
    }
}

.banner_section_serve_7 {
    width: 100%;
    float: left;
    background-image: url(https://imagehub.mycafe24.com/dachstore/images/International-divorced-7.jpg);
    height: auto;
    background-size: 100%, auto, 100% auto;
    padding: 10px 0px 25px 0px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
@media (max-width: 768px) {
    .banner_section_serve_7 {
        background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(https://imagehub.mycafe24.com/dachstore/images/International-divorced-7.jpg);
        background-size: cover;
        background-position: center;
    }
}

.banner_section_serve_8 {
    width: 100%;
    float: left;
    background-image: url(https://imagehub.mycafe24.com/dachstore/images/International-divorced-8.jpg);
    height: auto;
    background-size: 100%, auto, 100% auto;
    padding: 10px 0px 25px 0px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
@media (max-width: 768px) {
    .banner_section_serve_8 {
        background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(https://imagehub.mycafe24.com/dachstore/images/International-divorced-8.jpg);
        background-size: cover;
        background-position: center;
    }
}

.banner_section_serve_9 {
    width: 100%;
    float: left;
    background-image: url(https://imagehub.mycafe24.com/dachstore/images/International-divorced-9.jpg);
    height: auto;
    background-size: 100%, auto, 100% auto;
    padding: 10px 0px 25px 0px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
@media (max-width: 768px) {
    .banner_section_serve_9 {
        background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(https://imagehub.mycafe24.com/dachstore/images/International-divorced-9.jpg);
        background-size: cover;
        background-position: center;
    }
}

.banner_section_serve_10 {
    width: 100%;
    float: left;
    background-image: url(https://imagehub.mycafe24.com/dachstore/images/International-divorced-10.jpg);
    height: auto;
    background-size: 100%, auto, 100% auto;
    padding: 10px 0px 25px 0px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
@media (max-width: 768px) {
    .banner_section_serve_10 {
        background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(https://imagehub.mycafe24.com/dachstore/images/International-divorced-10.jpg);
        background-size: cover;
        background-position: center;
    }
}

/* banner section end */

/* Divorce Consultation section background color */
.consultation_bgc {
    background-color: #8E959B;
}

/* Google map Margin bottom - */
.mmb {
    margin-bottom: -0.3rem;
}

.id_text {
    color: rgba(0, 0, 0, 0.5);
    /*float: left;*/
    font-size: 3rem;
    font-weight: 900;
    padding-bottom: 0.1px;
}
@media (max-width: 768px) {
    .id_text {
        color: rgba(255, 255, 255, 0.6); /* 0.8 = 80% 불투명 */
        font-size: 1.88rem;
    }
}


/* 가정폭력 베너 섹션 */
.domestic_violence_section_1 {
    width: 100%;
    float: left;
    background-image: url(https://imagehub.mycafe24.com/dachstore/images/domestic-violence-1.jpg);
    height: auto;
    background-size: 100%, auto, 100% auto;
    padding: 10px 0px 25px 0px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.domestic_violence_section_2 {
    width: 100%;
    float: left;
    background-image: url(https://imagehub.mycafe24.com/dachstore/images/domestic-violence-2.jpg);
    height: auto;
    background-size: 100%, auto, 100% auto;
    padding: 10px 0px 25px 0px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* 컨텐츠 관련 법률 서비스 게시판 이미지 */
.services_section {
    width: 100%;
    background-image: url(https://imagehub.mycafe24.com/dachstore/images/services.jpg);
    height: auto;
    padding: 1rem;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}