@charset "utf-8";
/* =========================== Font Face ============================= */
/*
font-family: 'Raleway', 'prompt', sans-serif;
font-weight: 300, 500, 700;
font-family: 'Prompt';
font-weight: 300, 400, 500;
*/
/* =================================================================== */

/* =========== Fixed Bootstrap / iHover / Animate.css ================ */
/*Bootstrap*/

.navbar-light .navbar-toggler {
    color: rgba(203,148,17,.8) !important;
    border-color: rgba(203,148,17,.5) !important;
}

.card {
	/*border: 2px #ebd29b solid !important;*/
	border: 2px #dbbb74 solid !important;
	background-color: rgba(255,255,255,.95);
}

.card-header {
    border-bottom: none;
}

/*animate.css fix*/
.animate__animated.animate__delay-025s {
	-webkit-animation-delay:.25s;
	animation-delay:.25s;
	-webkit-animation-delay:calc(var(--animate-delay)*0.25);
	animation-delay:calc(var(--animate-delay)*0.25);
}

.animate__animated.animate__delay-05s {
	-webkit-animation-delay:.5s;
	animation-delay:.5s;
	-webkit-animation-delay:calc(var(--animate-delay)*0.5);
	animation-delay:calc(var(--animate-delay)*0.5)
}

.animate__animated.animate__delay-075s {
	-webkit-animation-delay:.75s;
	animation-delay:.75s;
	-webkit-animation-delay:calc(var(--animate-delay)*0.75);
	animation-delay:calc(var(--animate-delay)*0.75);
}

.animate__animated.animate__delay-125s {
	-webkit-animation-delay:1.25s;
	animation-delay:1.25s;
	-webkit-animation-delay:calc(var(--animate-delay)*1.25);
	animation-delay:calc(var(--animate-delay)*1.25);
}

.animate__animated.animate__delay-15s {
	-webkit-animation-delay:1.5s;
	animation-delay:1.5s;
	-webkit-animation-delay:calc(var(--animate-delay)*1.5);
	animation-delay:calc(var(--animate-delay)*1.5);
}

.ih-item.square {
    width: 100%;
    height: 165px;
}
/* =================================================================== */



/* =========================== Parallax ============================== */
.parallax-window {
    min-height: 60vh;
    background: transparent;
}
/* =================================================================== */

/* =========================== Custom CSS ============================ */
html {
	scroll-behavior: smooth;
}

body {
	background-color: #fff;
	
	font-family: 'prompt', Tahoma;
    font-weight: 300;
    color: #444;
    font-size: 17px;
	
	background-image: url("../images_main/main_bg.png");
	background-repeat: repeat;
	background-attachment: fixed;
	overflow-x: hidden;
}

.bg_head {
    min-height: 55vh;
}


/* =========================== Theme ============================ */
.bg_spring {
	background: url("../images_main/top_bg_spring.jpg") no-repeat;	
	background-position: center bottom;
}

.leaf_left_spring {
	position: absolute;
	top: 0;
	left: 0;
}

.leaf_right_spring {
	position: absolute;
	top: 0;
	right: 0;
}
.bg_summer {
	background: url("../images_main/top_bg_summer.jpg") no-repeat;	
	background-position: center bottom;
}

.leaf_left_summer {
	position: absolute;
	top: 0;
	left: 0;
}

.leaf_right_summer {
	position: absolute;
	top: 0;
	right: 0;
}
.bg_autumn {
	background: url("../images_main/top_bg_autumn.jpg") no-repeat;	
	background-position: center bottom;
}

.leaf_left_autumn {
	position: absolute;
	top: 0;
	left: 0;
}

.leaf_right_autumn {
	position: absolute;
	top: 0;
	right: 0;
}
.bg_winter {
	background: url("../images_main/top_bg_winter.jpg") no-repeat;	
	background-position: center bottom;
}

.leaf_left_winter {
	position: absolute;
	top: 0;
	left: 0;
}

.leaf_right_winter {
	position: absolute;
	top: 0;
	right: 0;
}
/* =================================================================== */

a, a:link, a:active, a:visited {
	color: #0456a0;
	text-decoration: none;
	transition: .25s ease-in-out;
	-webkit-transition: .25s ease-in-out;
	font-weight: 500;
}

a:hover {
	color: #ff8a00;
	text-decoration: none;
	transition: .25s ease-in-out;
	-webkit-transition: .25s ease-in-out;
	font-weight: 500;
}

input, select, .btn, select option {
	font-family: 'Prompt' !important;
	font-weight: 400 !important;
	font-size: 17px !important;	
}

.btn-warning {
	/*font-size: 20px !important;*/
	font-size: 18px !important;
	color: #482b01 !important;
	/*width: 222px;
	height: 72px;*/
	width: 212px;
	height: 59px;
	background-color: transparent;
	border: 0;
	background-image: url("../images_main/btn_bg.png");
	background-repeat: no-repeat;
}

.btn-warning:hover {
	color: #901414 !important;
	/*width: 222px;
	height: 72px;*/
	width: 212px;
	height: 59px;
	background-color: transparent;
	border: 0;
	background-image: url("../images_main/btn_bg.png");
	background-repeat: no-repeat;
}

.btn-warning span{
	position: relative;
    top: 8px;
	left: -9px;
}

.space {
	text-indent: 24px;
}

.icon_orange {
	color: #ff8a00;
}

.font_header_orange {
	font-family: 'prompt', Tahoma;
	font-weight: 400;
	font-size: 30px;
	color: #ff8a00;
	text-shadow: 1px 1px 2px #fff, 0 0 25px #fff, 0 0 5px #fff;
}

.font_sub_header_brown {
	font-family: 'prompt', Tahoma;
	font-weight: 400;
	font-size: 17px;
	color: #482b01;
}


.font_header_blue {
	font-family: 'prompt', Tahoma;
	font-weight: 400;
	font-size: 22px;
	color: #0256a2;
}

.font_header_orange_calendar {
	font-family: 'prompt', Tahoma;
	font-weight: 400;
	font-size: 22px;
	color: #ff8a00;
}

.font_quote_big {
	font-family: 'prompt', Tahoma;
	font-weight: 400;
	font-size: 40px;
	color: #482b01;
	line-height: 150%;
}

.font_nav_links {
	font-family: 'prompt', Tahoma;
	color: rgba(0,0,0,.55) !important;
	font-weight: 500 !important;
	font-size: 16px;
}

.font_nav_links:hover {
	font-family: 'prompt', Tahoma;
	color: rgba(0,0,0,.9) !important;
	font-weight: 500 !important;
	font-size: 16px;
}

#bg_gradient {
	background: url("../images_main/bg_gradient.png") repeat-x;
	height: 45px;
}

#bg_facebook, #bg_article, #bg_calendar, #bg_gallery, #bg_gallery02, #bg_doctrine {
	background-position: top right !important;
	min-height: 182px;
}

#bg_facebook {
	background: url("../images_main/bg_header_facebook.jpg") no-repeat;
}

#bg_footer_facebook {
	background: url("../images_main/bg_footer_facebook.jpg") no-repeat;
	background-position: bottom center;
	height: 680px;
}

#bg_doctrine {
	background: url("../images_main/bg_header_doctrine.jpg") no-repeat;
}

#bg_article {
	background: url("../images_main/bg_header_article.jpg") no-repeat;
}

#bg_calendar {
	background: url("../images_main/bg_header_calendar.jpg") no-repeat;
}


#bg_gallery {
	background: url("../images_main/bg_header_gallery.jpg") no-repeat;
    border: 2px #dbbb74 solid !important;
    background-color: rgba(255,255,255,.95);
	position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: .25rem;
	overflow:hidden;
}

#bg_gallery02 {
	background: url("../images_main/bg_header_gallery.jpg") no-repeat;
}

#calendar_first_top {
	background: url("../images_main/bg_calendar_first_top.jpg") no-repeat;
	background-size: 100%;
	background-position: top center;
}

#calendar_first_middle {
	background: url("../images_main/bg_calendar_first_middle.jpg") repeat-y;
	background-size: 100%;
	background-position: center center;
}

#calendar_first_bottom {
	background: url("../images_main/bg_calendar_first_bottom.jpg") no-repeat;
	background-size: 100%;
	background-position: bottom center;
	min-height: 150px;
}

.border_dot {
	border-bottom: 1px dashed #666;
}

.img_fit {
	/*width: 481px;
	height: 316px;*/
	width: 375px;
	height: 281px;
}

.img_fit02 {
	max-height: 150px;
	object-fit: cover;
}

.footer_golden_line {
	background: url("../images_main/golden_line.jpg") repeat-x;
	height: 13px;
}

.icon_orange {
	color: #ff8a00;
}
.wrap-data {
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}
/* =================================================================== */


/* =========================== View Point ============================ */
/* For Screen */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 1px) {
	.leaf {
		max-width: 30vw;
	}
	#logo {
		max-width: 50vw;
	}
	#logo_txt01 {
		max-width: 70vw;
	}
	#logo_txt02 {
		max-width: 70vw;
	}
	.font_header_orange {
		font-size: 26px;
	}
	.font_header_orange_calendar {
		font-size: 19px;
	}
} /* close media */

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
	.leaf {
		max-width: 16vw;
	}
	#logo {
		max-width: 100%;
	}
	#logo_txt01 {
		max-width: 100%;
	}
	#logo_txt02 {
		max-width: 100%;
	}
	.bg_head {
		min-height: 25vh;
	}
	.font_header_orange {
		font-size: 30px;
	}
	.font_header_orange_calendar {
		font-size: 19px;
	}
} /* close media */

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
	.navbar-expand-lg .navbar-nav .nav-link {
		padding-right: 1.5rem;
	}
} /* close media */

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

} /* close media */

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
	.leaf {
		max-width: 100%;
	}
	.bg_head {
		min-height: 30vh;
	}
} /* close media */



/* For Print */
@media print {
	
	.noprint {
		display: none !important;
	}
	a, a:visited {
    	text-decoration: underline;
	}

	/*แก้ปัญหา มีตัว Link URL หลังจุด Link*/
	a[href]:after {
		content: none;
	}
	
	/*การแสดงผล Table*/
	.table {
		border-collapse: collapse !important;
	}
	.table td,
	.table th {
		background-color: #fff !important;
	}
	.table-bordered th,
	.table-bordered td {
		border: 1px solid #ddd !important;
	}
	
	.col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6,
    .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
           float: left;               
      }

      .col-sm-12 {
           width: 100%;
      }

      .col-sm-11 {
           width: 91.66666666666666%;
      }

      .col-sm-10 {
           width: 83.33333333333334%;
      }

      .col-sm-9 {
            width: 75%;
      }

      .col-sm-8 {
            width: 66.66666666666666%;
      }

       .col-sm-7 {
            width: 58.333333333333336%;
       }

       .col-sm-6 {
            width: 50%;
       }

       .col-sm-5 {
            width: 41.66666666666667%;
       }

       .col-sm-4 {
            width: 33.33333333333333%;
       }

       .col-sm-3 {
            width: 25%;
       }

       .col-sm-2 {
              width: 16.666666666666664%;
       }

       .col-sm-1 {
              width: 8.333333333333332%;
        }


	
} /* close media print */



/* =================================================================== */
