@charset "utf-8";
/* CSS Document */
:root {
    --primary: #7AB730;
    --secondary: #FFD33C;
    --light: #F3F3F3;
    --dark: #212121;
}
body, html{
	font-family: 'IBM Plex Sans Thai', sans-serif;
    background-color: #FFFFFF;
}
a:link {
	text-decoration: none;
  }
table tr{
		font-size: 14px;
	}
.font14{
	font-size: 14px;
}
.font15{
	font-size: 15px;
}
.font16{
	font-size: 16px;
}
.font17{
	font-size: 17px;
}
.font18{
	font-size: 18px;
}
.font19{
	font-size: 19px;
}
.font20{
	font-size: 20px;
}
.font21{
	font-size: 21px;
}
.font22{
	font-size: 22px;
}
.font23{
	font-size: 23px;
}
.font24{
	font-size: 24px;
}
.font25{
	font-size: 25px;
}
.font30{
	font-size: 30px;
}
.font40{
	font-size: 40px;
}
.font50{
	font-size: 50px;
}
.text-blue{
	color: #0676E8;
}
.text-green{
	color: #00B900;
}
.text-gray{
    color: #6c757d;
}
.color1{
    color: #003D86;
}
.color2{
    color: #712879;
}
.color3{
    color: #B9E2B6;
}
.color4{
    color: #F3DA94;
}
.bg1{
    background-color: #B9E2B6;
    color: #155724;
    font-weight: bold;
}
.bg2{
    background-color: #F3DA94;
    color: #155724;
    font-weight: bold;
}
.bg3{
    background-color: #FFC4C4;
    color: #155724;
    font-weight: bold;
}
.bg4{
    background-color: #E1C4FF;
    color: #155724;
    font-weight: bold;
}
.hide {
    display: none;
}
.fc .fc-daygrid-body table {
    border-collapse: separate !important;
    border-spacing: 5px; /* ระยะห่างระหว่างวัน */
}

.fc .fc-daygrid-day {
    background: #fff;
    border-radius: 6px;
}
.fc-event-title-custom{
    height:100%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-weight:600;
    text-align:center;
    color:#155724;
    font-size:16px;   /* ขนาดปกติ */
}


.fc-unavailable-label{
    position:absolute;
    inset:0;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#999;
    font-weight:500;
    pointer-events:none;
    font-size:14px;
}

/* มือถือ */
@media (max-width:768px){
    .fc-event-title-custom{
        font-size:12px;
    }
    .fc-unavailable-label{
        font-size:11px;
    }
    .navbar-brand h3{
        font-size: 20px;
    }
}
/* .fc .fc-daygrid-day-frame{
    position: relative;
}

.my-center-text{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    pointer-events: none;
} */

.fc .fc-event {
    opacity: 1 !important;
    /* overflow: hidden; */
}
.selected-day{
    outline: 3px solid #007bff;
    /* outline-offset: -5px;
    border-radius: 6px; */
    /* border: 5px solid #007bff; */
}
/* .option-badge {
    position: absolute;
    top: -15px;
    left: 15px;
    background: linear-gradient(45deg, #0d6efd, #3d8bfd);
    color: #fff;
    padding: 6px 16px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(13,110,253,0.4);
} */
#saveBtn:disabled {
    cursor: not-allowed !important;
    pointer-events: auto !important; /* 🔥 สำคัญ */
    background-color: #C4CBD8;
    color: #FFFFFF;
    opacity: 1;
    border: none;
}
#map {
    height: 500px;
    margin-top: 10px;
}

.pin-marker {
    position: relative;
    width: 40px;
    height: 40px;
    background: #2563eb;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    border: 3px solid #fff;

    /* 🔥 เพิ่ม flex */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ตัวอักษร */
.pin-marker span {
    transform: rotate(45deg); /* หมุนกลับ */
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    line-height: 1;
}

/* เมื่อเลือก */
.pin-marker.selected {
    background: #dc2626;
    transform: rotate(-45deg) scale(1.2);
    box-shadow: 0 0 15px rgba(220,38,38,0.9);
}
.directions-btn {
    display: inline-block;
    margin-top: 5px;
    padding: 5px 10px;
    background: #28a745;
    color: white !important;
    text-decoration: none;
    border-radius: 5px;
    font-size: 13px;
}
.option-card {
    display: block;
    cursor: pointer;
}

/* card */
.pricing-card {
    position: relative;
    border-radius: 14px;
    transition: 0.25s ease;
    overflow: hidden;
}

/* radio มุมบนขวา */
.option-input {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* hover */
.option-card:hover .pricing-card {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* ✅ เมื่อเลือก (เปลี่ยนกรอบ) */
.option-card:has(input:checked) .pricing-card {
    border: 2px solid #0d6efd;
    box-shadow: 0 10px 25px rgba(13,110,253,0.25);
}

/* กล่องราคา */
.price-box {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #dff0ea;
    padding: 12px 18px;
    border-top-left-radius: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.new-price {
    font-weight: bold;
    color: #0b5ed7;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
}

.early-bird {
    background: #f6c667;
    color: #000;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 10px;
    font-weight: 600;
}
.loading{
	height: 100%;
 	 width: 100%;
 	 position: fixed;
 	 z-index: 1;
 	 top: 0;
 	 left: 0;
 	 background-color: rgb(0,0,0);
  	background-color: rgba(0,0,0, 0.8);
}
.loading-content {
  	position: relative;
  	top: 50%;
	left: 0;
  	width: 100%;
  	text-align: center;
	font-size: 50px;
	color: #ffffff;
}
.overflow{
  	width: 100%;
  	overflow-x: auto;
}.nowrap {
	white-space: nowrap;
 }.bold{
	 font-weight: bold;
 }.red{
	 color: red;
 }.green{
	 color: green;
 }.blue{
	 color: blue;
 }
 .radius-10 {
	border-radius: 10px
}


.btn {
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    transition: .5s;
}

.btn-primary {
    color: #FFFFFF;
	background-color: var(--primary);
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 0;
    border-radius: 0;
    z-index: 99;
}

.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-left: 30px;
    padding: 30px 0;
    font-size: 18px;
    font-weight: 300;
    color: #000000;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: #000000;
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 7px;
        top: -4px;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        width: 100%;
        height: 1px;
        top: -1px;
        left: 0;
    }
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }
}

.service-item a i {
    position: relative;
    padding-left: 20px;
    transition: .3s;
}

.service-item a:hover i {
    padding-left: 50px;
}

.service-item a i::after {
    position: absolute;
    content: "";
    width: 20px;
    height: 2px;
    top: 50%;
    left: 10px;
    margin-top: -1px;
    background: var(--primary);
    transition: .3s;
}

.service-item a:hover i::after {
    width: 50px;
}


.section-title::before {
    position: absolute;
    content: "";
    width: 60px;
    height: 10px;
    left: 50%;
    bottom: 0;
    margin-left: -30px;
    background: var(--primary);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 180px;
    height: 2px;
    left: 50%;
    bottom: 4px;
    margin-left: -90px;
    background: var(--primary);
}
.fc-event{
    cursor: pointer;
}
/* กำลังบันทึกข้อมูล */
#overlay {
	position: fixed;
	top: 0;
	z-index: 100;
	width: 100%;
	height: 100%;
	display: none;
	background: rgba(0, 0, 0, 0.6);
}

.cv-spinner {
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.spinner {
	width: 200px;
	height: 200px;
	border: 10px #ddd solid;
	border-top: 10px #2e93e6 solid;
	border-radius: 50%;
	animation: sp-anime 0.8s infinite linear;
}

@keyframes sp-anime {
	100% {
		transform: rotate(360deg);
	}
}

.is-hide {
	display: none;
}


/*** testimonial Start ***/
.testimonial .owl-carousel.testimonial-carousel {
    position: relative;
}

.testimonial .owl-carousel.testimonial-carousel .testimonial-item .testimonial-content {
    position: relative;
    border-radius: 10px;
    background: var(--bs-light);
}

.testimonial .owl-carousel.testimonial-carousel .testimonial-item .testimonial-content::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 45px;
    bottom: -20px;
    left: 30px;
    transform: rotate(45deg);
    background: var(--bs-light);
    z-index: -1;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav {
    position: absolute;
    top: -60px;
    right: 0;
    display: flex;
    font-size: 40px;
    color: var(--bs-primary);
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev {
    margin-right: 40px;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev,
.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-next {
    transition: 0.5s;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--bs-secondary);
}
/*** testimonial end ***/

/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background: var(--primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 5px;
    left: -60px;
    background: var(--primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}

.gradient-text {
    background: linear-gradient(90deg, #0D2547, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.editor-pro2 {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border: 1px solid #eef2f7;
    transition: 0.3s;
}

.editor-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0D2547, #3b82f6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* roles */
.role-editor {
    background: #0D2547;
    color: white;
}

.role-committee {
    background: #e0f2fe;
    color: #0369a1;
}

.role-secretary {
    background: #ede9fe;
    color: #6d28d9;
}

.editor-name {
    font-size: 16px;
    font-weight: 600;
}

.editor-org {
    font-size: 13px;
    color: #6b7280;
}

.editor-pro2:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(13,37,71,0.15);
}




