/*one page report */
.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0 5px 0;
}

.select2-container .select2-selection--multiple {
    min-height: 38px !important;
    border: 1px solid #ced4da !important;
}

.section-title::before,
.section-title::after {
    content: '';
    flex: 1;
    border-bottom: 2px solid #009688;
    /* สีเดียวกับเส้น */
    margin: 0 10px;
}

.section-title span {
    font-size: 1.2rem;
    font-weight: 500;
    color: #009688;
    /* สีเดียวกับข้อความ */
    white-space: nowrap;
}

.bg-gray {
    background-color: #F1F5FA;
}

/* Section 2 */
#map_to_see {
    width: 100%;
    height: 570px;
    margin-bottom: 20px;
    position: relative;
    background-color: aliceblue;
    background-image: url(../images/map_to_see.png);
    background-size: cover;
}

.worship {
    left: -198px !important;
}

.worship::after {
    left: 199px !important;
}

.notification-box {
    display: flex;
    align-items: center;
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 8px 12px;
    width: 200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: -50px;
    left: -15px;
    text-align: right;
}

.notification-box::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 25px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid white;
}

.notification-box-fit {
    display: flex;
    align-items: center;
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 3px 5px;
    width: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: -30px;
    left: 0px;
    text-align: right;
}

.notification-box-fit::after {
    content: '';
    position: absolute;
    bottom: -9px;
    left: 8px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid white;
}

.circle {
    width: 43px;
    height: 40px;
    background-color: #1abc9c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: bold;
    margin-right: 10px;
}

.text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: calc(100% - 40px);
    text-align: right;
}

.text-content .title {
    font-size: 13px;
    font-weight: bold;
    color: #333;
}

.text-content .count {
    font-size: 14px;
    color: #666;
}

.custom-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
}

.custom-header {
    color: #ff5722;
    font-size: 1.2rem;
    font-weight: 500;
}

.custom-line-heading {
    display: flex;
    align-items: center;
    justify-content: end;
    margin-top: 10px;
    margin-bottom: 10px;
}

.custom-line-heading::after {
    content: '';
    flex-grow: 1;
    height: 2px;
    background-color: #ff5722;
    margin-right: 18px;
}

.arrow-icon {
    font-size: 20px;
    color: #ff5722;
    margin-right: 2px;
    position: absolute;
}

/* Section 2 */

/* Section 3 */
#map3_to_see {
    width: 100%;
    height: 530px;
    margin-bottom: 20px;
    position: relative;
    background-color: aliceblue;
    background-image: url(../images/map3_to_see.png);
    background-size: cover;
}

/* Section 3 */

/* Section 4 */
#map4_low_income {
    width: 100%;
    height: 600px;
    margin-bottom: 20px;
    position: relative;
    background-color: aliceblue;
    background-image: url(../images/map-low-income.png);
    background-size: cover;
}

/* Section 4 */

/* Section 5 */
.highlight {
    color: #FF8800;
}

.info-box {
    background-color: #FFFCED;
    padding: 15px;
    border-radius: 10px;
    font-weight: bold;
    color: #FF8800;
    text-align: center;
}

.info-box-blue {
    background-color: #E8F8FF;
    padding: 15px;
    border-radius: 10px;
    font-weight: bold;
    color: #0076E3;
    text-align: center;
}

.custom-header-blue {
    color: #0076E3;
    font-size: 1.2rem;
    font-weight: 500;
}

.custom-header-blue .custom-line-heading::after {
    background-color: #0076E3;
}

.custom-header-blue .arrow-icon {
    color: #0076E3;
}

/* Section 5 */

/* Section 6 */
#map6_violence {
    width: 100%;
    height: 380px;
    /* 515px */
    margin-bottom: 20px;
    position: relative;
    background-color: aliceblue;
    background-image: url(../images/map-low-income.png);
    background-size: cover;
}

/* Section 4 */
.highcharts-title,
.highcharts-axis-title,
.highcharts-axis-labels {
    font-family: 'Noto Sans Thai', sans-serif;
}

.card-body {
    padding: 10px;
}

@media print {

    .header,
    aside,
    .hide_print {
        display: none !important;
    }

    .section_for_print {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;

        /* ให้มีความสูงเท่าหน้า A4 */
        min-height: 260mm;
        /* ปรับตาม margin */
        height: auto;

        page-break-before: always;
        page-break-after: always;
        page-break-inside: avoid;
        break-before: page;
        break-after: page;
    }

    body {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    body #main-content,
    #main-content,
    body.is-sidebar-nav-open #main-content {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    @page {
        size: A4 landscape;
        margin: 5mm;
    }
}