/*
Zerotheme.com | Free Html5 Responsive Templates
Author URI: https://www.zerotheme.com/
*/
@import url(https://fonts.googleapis.com/css?family=Dancing+Script);
@import url(https://fonts.googleapis.com/css?family=Cabin);
@import url(https://fonts.googleapis.com/css?family=Crimson+Text);
@import url(https://fonts.googleapis.com/css?family=Archivo+Narrow);
@import url(https://fonts.googleapis.com/css?family=Oswald);
@import url('https://fonts.googleapis.com/css2?family=Sarabun:ital@0;1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Thai:wght@300;400;700&display=swap');
/* ---------------------------------------------------------------------------- */
/* ------------------------------------Reset----------------------------------- */
/* ---------------------------------------------------------------------------- */
a,abbr,acronym,address,applet,article,aside,audio,b,blockquote,big,body,center,canvas,caption,
cite,code,command,datalist,dd,del,details,dfn,dl,div,dt,em,embed,fieldset,figcaption,figure,font,
footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,keygen,label,legend,li,meter,
nav,object,ol,output,p,pre,progress,q,s,samp,section,small,span,source,strike,strong,sub,sup,table,
tbody,tfoot,thead,th,tr,tdvideo,tt,u,ul,var{
	/* background:transparent; */
	border:0 none;
	font-size:100%;
	margin:0;
	padding:0;
	border:0;
	outline:0;
	vertical-align:top;
}ol, ul {
	list-style:none;
}blockquote, q {
	quotes:none;
}
table, table td {
	padding:0;
	border:none;
	border-collapse:collapse;
}
img {
	vertical-align:top;
}embed {
	vertical-align:top;
}
article, aside, audio, canvas, command, datalist, details, embed, figcaption, figure, footer, 
header, hgroup, keygen, meter, nav, output, progress, section, source, video {
	display:block;
}
mark, rp, rt, ruby, summary, time {
	display:inline;
}
input, textarea {
	border:0; 
	padding:0; 
	margin:0; 
	outline: 0;
}
iframe {
	border:0; 
	margin:0; 
	padding:0;
}
input, textarea, select {
	margin:0; 
	padding:0px;
}
strong{
	font-weight: bold;
}

/* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
::-moz-selection{
	background: #000 none repeat scroll 0 0;
	color: #fff;
	text-shadow:none
}
::selection{
	background: #000 none repeat scroll 0 0;
	color: #fff;
	text-shadow:none
}

/* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */

html {
	 -webkit-text-size-adjust: none;
}
.video embed,.video object,.video iframe {
	 width: 100%;  height: auto;
}
img{
	max-width:100%;	
	height: auto;
	width: auto\9; /* ie8 */
}

.top-header a{
	color: #FFF !important;
}
a{
	color: #000;
	text-decoration: none;
	-moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
	transition-duration: 0.3s;
	line-height: 1.5;
}
a:hover {
	color: #628d7c; 
	text-decoration: none;
}

h1, h2 	{
	font-size: 25px;
	line-height: 30px;
}
h3	{
	font-size: 20px;
	line-height: 20px;
}
h4	{
	font-size: 18px;
	line-height: 18px;
}
h5, h6	{
	font-size: 16px;
	line-height: 16px;
}

h1, h2, h3, h4, h5, h6{
	clear: both;
	hyphens: auto; 
	color: #000;
	line-height: 1.2;
	font-family: inherit;
	letter-spacing: 1px;
}

p{
	margin: 10px 0;
}

label {
	cursor:pointer;
	margin:5px 0;
	display:block;
	font-weight:bold;
}
input {
	display:block;
	width:100%;
	color:#222;
	border:1px solid #d1d1d1;
	padding:23px;
	margin: 5px 0 20px 0;
	font-size: 16px;
}
input[type="submit"]{
	padding: 15px;
}
textarea {
	display:block;
	width:100%;
	height:250px;
	background-color:#fff; 
	color:#222;
	border:1px solid #d1d1d1;
	padding:10px;
	margin: 5px 0 20px 0;
}

.t-center{
	text-align: center !important;
}
.t-left{
	text-align: left;
}
.t-right{
	text-align: right;
}
.f-right{
	float: right;
}
.f-left{
	float: left;
}

.post{}
.post:after, .post:before, article:after, article:before, section:after, section:before{
	clear: both; 
	content: '\0020'; 
	display: block; 
	visibility: hidden; 
	width: 0; height: 0;
}
.post img{
	margin: 30px 0;
}


.clear{
	content: "\0020"; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden; 
}
.clearfix:after, .clearfix:before{
	clear: both; 
	content: '\0020'; 
	display: block; 
	visibility: hidden; 
	width: 0; 
	height: 0;
}

hr{
	border: 0;
	height: 1px;
	margin: 15px auto;
	background: #3196a5;
}
hr.line-1{
	background: #fff;
	max-width: 50%;
	background: #3196a5;
}
hr.line-2{
	background: #333;
	max-width: 40px;
	height: 4px;
	background: #3196a5;
}

.widget-title {
	font-family: inherit; 
	position: relative;
	letter-spacing: 1px;
	font-weight: bold;
	text-transform: uppercase;
	text-shadow: 1px 1px black;
	line-height: 1.38;
	font-size: inherit;
	color: #eee;
	padding-left: 13px;
	margin-bottom: 10px;
}
.widget-li{
	font-family: inherit;
	font-size: 12px !important;
	margin: 0;
	padding-left: 20px;
}
.widget-contact{
	font-family: inherit;
	font-size: 12px !important;
	margin: 0;
	padding: 5px 0 5px 20px;
}
.widget-title:before {
	background-color: #9BB70D;
	content: "";
	height: 1em;
	left: 0;
	margin-top: -0.5em;
	position: absolute;
	top: 50%;
	width: 3px;
}
/* ---------------------------------------------------------------------------- */
/* ------------------------------------Html-Body------------------------------- */
/* ---------------------------------------------------------------------------- */
html, body {
	width:100%; 
	padding:0; 
	margin:0;
}
body {
	font-size: 15px !important;
	/* font-family: 'Sarabun', sans-serif; */
	font-family: 'IBM Plex Sans Thai', sans-serif;
	background: #fff;
}
body .wrap-body{}

/* ---------------------------------------------------------------------------- */
/* -------------------------------------Header--------------------------------- */
/* ---------------------------------------------------------------------------- */
header{
	text-align: center;
	background: #fff;
}
header .top-header{ 
	background: #057d8e; /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(#057d8e, #07b0c8); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#057d8e, #07b0c8); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#057d8e, #07b0c8); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#057d8e, #07b0c8); /* Standard syntax */
	color: #fff;
	line-height: 1.5;
}
header .top-header i.fa{
	margin: 5px 2px 0;
}

 .logo a{
 	font-family: 'Dancing Script', cursive;
 	color: #333;
 	font-weight: bold;
 	display: block;
 	line-height: 1.3;
 }
 .logo span{
 	font-size: 16px;
 	letter-spacing: 1px;
 }
@media(max-width:767px){
	 .top-header ,body{font-size: 10px !important; }

}

/* Carousel Header Styles */
.header-text {
	position: absolute;
	top: 25%;
	left: 10%;
	right: auto;
	color: #555; 
	background: rgba(0, 0, 0, .5);
	display: inline-block;
	padding: 30px;
	border-left: 5px solid #9BB70D;
	text-align: left;
}
.header-text h1{
	margin: 0;
	font-family: inherit;
	text-transform: uppercase;
	font-weight: 700;
	color: #fff;
	font-size: 44px;
	letter-spacing: 2px;
}
.header-text p{
	font-size: 24px;
	color: #ccc;
	font-family: inherit;
	text-shadow: 1px 1px #222;
}
.header-text .btn-primary{
	border:none;
	padding: 12px 24px;
	margin-right: 7px;
	border-radius: 0;
	font-size: 18px;
}
.header-text .btn-primary.btn-header{
	background: #fff; 
	color: #222;
	border: 2px solid #222;
}
.header-text .btn-primary.btn-header:hover{
	background: #111; 
	color: #fff;
	border: 2px solid #111;
}

/* ---------------------------------------------------------------------------- */
/* -------------------------------------Container------------------------------ */
/* ---------------------------------------------------------------------------- */
.home-page{}
.single-page{}
.gallery-page{}
.archive-page{}
.contact-page{}

#container {}
#container .wrap-container{}

/* ---content-box--- */
.content-box {}
.content-box .wrap-box {
	padding: 10px 10px; 
	position: relative;
}
.content-box .wrap-box2 {
	text-align: center;
}
.content-box .box-header { 
	margin: 0 0 30px;
	text-align: center;
}
.content-box .box-header h2{
	font-size: 22px;
	display: block;
	text-transform: uppercase;
	font-weight: 500;
}
.content-box .box-content{}



.content-box.box-about {
	text-align: center;
}

.content-box.box-main {
	 background: #dcefef; 
}
.content-box.box-main2 {
	background: linear-gradient(180deg, #dcefef, #ffffff);
}
.date-box {
	background: #000080;
	color: white;
	margin-top: 15px;
	padding: 5px ;
	border-radius: 5px;
	font-size: 13px;
	font-weight: bold;
	text-align: center;
	display: inline-block;
	/* width: 100%; */
}
.info-box {
	clear: both; 
	color: white;
	padding: 15px;
	font-size: 14px;
	font-weight: 300;
	text-align:left;
	
}

.view-more {
    text-align: right;
    margin-top: 20px;
    margin-right:5px;
}

.btn-view {
    display: inline-block;
    background: #4682B4;
    color: white;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
}
.view-more2 {
    text-align: right;
    margin-top: 20px;
    margin-right:5px;
}

.btn-view2 {
    display: inline-block;
    background: #4682B4;
    color: white;
    padding: 5px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 400;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
}

/* ทำให้ปุ่มเปลี่ยนสี และเด้งขึ้นเมื่อชี้เมาส์ */
.btn-view:hover {
    background: #2E5A85;
	color: white;
    transform: translateY(-3px);
}

.title {
    font-size: 24px;
    font-weight: bold;
    padding-bottom: 10px;
    position: relative;
    display: inline-block;
}

.title::after {
    content: "";
    display: block;
    width: 70%;
    height: 2px;
    background-color: gold;
    margin: 5px auto 0;
    border-radius: 2px;
}

.title2 {
    font-size: 20px;
    /* font-weight: bold; */
    padding-bottom: 10px;
    position: relative;
    display: inline-block;
}

/* ---MainContent-Article--- */
#main-content{background: #dcefef;}
#main-content .wrap-content{
	padding: 20px 0;
}

.single-post{}
.single-post .wrap-post, .comments-are {
	background: #fff;
	padding:10px 20px; 
	position: relative;
}
.single-post .wrap-post {
}
article{
	background: #ffffff; 
	color: #000; 
	margin-bottom: 40px;
	padding-bottom: 10px;
}
article:after, article:before{
	clear: both; 
	content: '\0020'; 
	display: block; 
	visibility: hidden; 
	width: 0; 
	height: 0;
}
article .post-thumbnail-wrap {
	text-align: center;
	width: 100%;
	margin-bottom: 10px;
}
article .post-thumbnail-wrap img {}
article h3.entry-title{
	font-size: 20px;
	margin: 10px 0 5px;
	font-weight: 500;
	letter-spacing: 1px;
	color: #222;
}
article .l-tags{
	text-align: center;
	font-size: 12px; 
	font-family: 'Crimson Text', serif;
	text-transform: uppercase;
	letter-spacing: .9px;
}
article .l-tags a{
	color: #333;
}
article .l-tags a:hover{
	color: #628d7c;
}

article .entry-header{
	text-align: center;
}
article.single-post .entry-header{
	padding: 20px 0;
}
article.single-post .entry-header h2.entry-title{
	font-family: inherit;
	font-size: 30px;
	font-weight: bold;
	line-height: 30px;
	color: #111;
	letter-spacing: 2px;
	margin: 0;
	text-transform: uppercase;
	line-height: 1.2;
}
article.single-post .entry-header h2.entry-title a {
	color: #111;
	margin: 0;
}
article .entry-title-blog a:hover {
	color: #628d7c;
}
article .entry-header .time {
	font-family: inherit;
	color: #888;
	font-size: 17px;
	padding-bottom: 10px;
	display: block;
}
article .entry-header .cat-links {
	font-size: 15px;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 2px;
	padding-top: 10px;
	display: block;
}

article .entry-content{ 
	padding: 20px 50px; 
	text-align: left;
}

.textdetail{
	font-size: 14px;
	color: #000;
}


@media only screen and (max-width: 767px) {
	article .entry-content{ padding: 30px 10px;}
}
@media only screen and (max-width: 480px) {
	article .entry-content{ padding: 30px 10px;}
	article .entry-content p{font-size: 12px;}
	article .entry-content .details{
		font-size: 12px !important;
		padding: 0 !important;
	}
	.single-post .wrap-post, .comments-are {
		padding: 0 !important;
	}
	article.single-post .entry-header h2.entry-title ,h3{font-size: 14px;}

}
article .entry-content p{
	font-size: 16px;
	color: #000;
}
article .entry-content .details{
	text-indent: 5em;
	text-align: justify;
	font-size: 14px;
	line-height: 1.5em;
}
article .entry-content blockquote {
	border-left: 3px solid #1c7791;
	font-size: 18px;
	margin: 0 50px;
	font-style: italic;
	color: #666;
	padding-left: 20px;
}
article .entry-content ol {
	float: left;
	text-align: justify;
	margin: 10px 50px;
	font-size: 16px;
	list-style-type: circle;
}

/* ---------------------------------------------------------------------------- */
/* -------------------------------------Footer--------------------------------- */
/* ---------------------------------------------------------------------------- */
footer{
	background: #057d8e; /* For browsers that do not support gradients */
	background: -webkit-linear-gradient(#057d8e, #07b0c8); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(#057d8e, #07b0c8); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(#057d8e, #07b0c8); /* For Firefox 3.6 to 15 */
	background: linear-gradient(#057d8e, #07b0c8); /* Standard syntax */
	color: #fff}
footer a{
	color:#fff;
	text-shadow: 1px 1px black;
}
footer a:hover{
	color:#fff;
}

footer .wrap-footer{
	padding: 30px 0;
}
footer .wrap-footer ul li {
	margin-bottom: 5px;
	padding: 10px 0 15px;
}
footer .logo img{
	max-width: 170px;
	margin-top: 30px;
}
footer .col-footer-1 {}

footer .col-footer-2{}
footer .col-footer-2 ul {
	padding: 0;
}
footer .col-footer-2 ul li {
	list-style: none;
	margin-bottom: 5px; 
	border-bottom: 1px solid #444;
	padding-bottom: 10px;
}
footer .col-footer-2 ul li:last-child{
	border-bottom: none;
}
footer .col-footer-2 ul li a{
	color: #fff;
	font-size: 12px;
}
footer .col-footer-2 ul li a:hover{
	color: #eee;
}

footer .col-footer-3 a{
	color: #fff; 
	background: #191919; 
	padding: 5px 10px;
	line-height: 2.3;
	font-size: 14px;
	text-transform: capitalize;
	margin-right: 1px;
}
footer .col-footer-3 a:hover{
	color: #fff;
	background: #9BB70D;
}

footer .col-footer-4 img{
	margin-bottom: 20px;
}

.copyright{
	background: #057d8e;
	color: #fff;
}
.copyright .wrapper{
	padding: 20px;
}
.copyright ul.quick-link li {
	display: inline-block;
	margin: 0 5px;
}
.copyright a{}

@media all and (max-width: 768px){
	.copyright{
		text-align: center;
	}
	.copyright ul.quick-link{
		float: none;
		margin-top: 10px;
	}
}

/* ---------------------------------------------------------------------------- */
/* -------------------------------------Contact-------------------------------- */
/* ---------------------------------------------------------------------------- */
#contact_form{
	background: #f7f7f7;
}
#contact_form, #comment {
	padding:20px 30px;
}

#contact_form .sendButton , #comment_form .sendButton {
	cursor:pointer;
	background-color:#575756;
	-webkit-border-radius:3px;
	-moz-border-radius:3px;
	border-radius:3px;
	width:20%;
	color:#ffffff;
	margin-top: 50px;
}
#contact_form .sendButton:hover , #comment_form .sendButton:hover{
	opacity: 0.8;
}

/* ---------------------------------------------------------------------------- */
/* -------------------------------------Button--------------------------------- */
/* ---------------------------------------------------------------------------- */
a.button{
	background-color: #0a7b8f;
	padding: 7px 18px;
	color: #fff;
	margin: 10px auto 10px;
	display:inline-block;
	font-size: inherit;
	border-radius: 4px;
}
a.recruit{
	background-color: #2C5963;
	padding: 5px 5px;
	color: #fff !important;
	display:inline-block;
	font-size: inherit;
	border-radius: 4px;
}

a.jobo{
	background-color: #2C5963;
	padding: 5px 5px;
	color: #fff !important;
	display:inline-block;
	font-size: inherit;
	border-radius: 4px;
}


a.button:hover{
	background-color: #18525c;
}

/* ---------------------------------------------------------------------------- */
/* ----------------------------------Carousel---------------------------------- */
/* ---------------------------------------------------------------------------- */
.owl-controls .owl-buttons div {
	position: absolute;
	color:#777;
	opacity: 0.7;
}
.owl-carousel:hover .owl-buttons div {
	color:#fff;
}
.owl-controls .owl-buttons .owl-prev {
	left: 10px;
	top: 50%;
}
.owl-controls .owl-buttons .owl-next {
	right: 10px;
	top: 50%;
}
.owl-carousel .owl-buttons div i {
	font-size: 40px;
	margin: -20px 0 0;
}
.owl-carousel .item{
	position: relative;
}

.owl-prev-icon, .owl-next-icon {
    font-size: 2rem;
    color: #333;
    padding: 5px 10px;
    background-color: rgba(255,255,255,0.7);
    border-radius: 50%;
    cursor: pointer;
}
.owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}
.owl-dots {
    text-align: center;
    margin-top: 10px;
}


/* ---------------------------------------------------------------------------- */
/* --------------------------------Entry-box----------------------------------- */
/* ---------------------------------------------------------------------------- */
.box-entry {
	color: #000; 
	margin-bottom: 5px;
	border-bottom: 1px solid #c7c5c5;
	background: #fff;
	border-top: 1px solid #ddd;
	border-right: 1px solid #ddd;
	border-left: 1px solid #ddd;
}
.box-entry .activities{
	float: left;
	font-size: 13px;
	padding: 10px;
	line-height: 1.5;
	text-align: left;
}
.box-entry .activities img{
	height: 125px !important;
}
.box-entry img{
	border: none; 
	width: 100%;
}
.entry-details{
	padding: 10px 10px;
}
.box-entry .entry-details p{
	line-height: 1.2;
}
.box-entry .entry-meta {
	letter-spacing: 0.25px;
	margin: 0 0 10px;
	padding: 10px 0;
	position: relative;
	text-transform: uppercase;
	border-bottom: 1px solid #ddd;
	color: #000;
}
.box-entry .entry-meta a{
	color: #000;
}
.box-entry .entry-meta img.news{
	width: 80%;
}
.box-entry .entry-meta i.fa{
	margin: 7px 2px 0;
}
.box-entry .entry-des {
	/*padding: 0 0 15px;
	border-bottom: 1px solid #ddd;
	font-size: inherit;
	line-height: 1.2em;*/
}
.box-entry .entry-des i{
	vertical-align: middle;
	font-size: 15px;
}
.box-entry .entry-des .entry-des-item{
	margin: 5px 0;
}
.box-entry .entry-des h3{
	margin: 0 0 20px;
	font-size: 19px;
	font-weight: 700;
	text-transform: uppercase;
}
@media only screen and (max-width: 767px) {
	.box-entry{text-align: left;}
	.box-entry .activities{
		width: 100%;
	}
	.crumbs {display: none;}
	.box-entry .entry-des{
		font-size: 12px !important;
	}
}
@media only screen and (max-width: 890px) {
	.box-entry .entry-des,a.button{
		font-size: 10px !important;
	}
	.box-entry .entry-meta img.news{
		width: 100% !important;
	}
}

/* ---------------------------------------------------------------------------- */
/* ------------------------------------Crumbs---------------------------------- */
/* ---------------------------------------------------------------------------- */
.crumbs {
	/* -webkit-box-shadow: 0px 25px 18px -26px rgba(0,0,0,0.75); */
	 -moz-box-shadow: 0px 25px 18px -26px rgba(0,0,0,0.75); 
	 /* box-shadow: 0px 25px 18px -26px rgba(0,0,0,0.75);  */
	padding:20px 0 10px 30px;
}
.crumbs ul {
	list-style: none;
	display: inline-table;
}
.crumbs ul li {
	display: inline;
}
.crumbs ul li a {
	display: block;
	float: left;
	background: #065A65;
	text-align: center;
	padding: 7px 30px 8px 40px;
	position: relative;
	margin: 0 20px 0 0; 
	font-size: 14px;
	text-decoration: none;
	color: #fff;
}
.crumbs ul li a:after {
	content: "";  
	border-top: 15px solid transparent;
	border-bottom: 20px solid transparent;
	border-left: 20px solid #065A65;
	position: absolute; 
	right: -20px; 
	top: 0;
	z-index: 1;
	-webkit-transition: border 0.3s, -webkit-transform 0.3s;
	-moz-transition: border 0.3s, -moz-transform 0.3s;
	-o-transition: border 0.3s, -o-transform 0.3s;
	transition: border 0.3s, transform 0.3s;
}
.crumbs ul li a:before {
	content: "";  
	border-top: 20px solid transparent;
	border-bottom: 20px solid transparent;
	border-left: 20px solid #fff;
	position: absolute; 
	left: 0; 
	top: 0;
}
.crumbs ul li:first-child a {
	border-top-left-radius: 6px; 
	border-bottom-left-radius: 6px;
}
.crumbs ul li:first-child a:before {
	display: none; 
}
.crumbs ul li:last-child a {
	padding-right: 40px;
	padding-left: 50px;
	border-top-right-radius: 6px; 
	border-bottom-right-radius: 6px;
}
.crumbs ul li:last-child a:after {
	display: none; 
}		
.crumbs ul li a:hover {
	background: #333;
	color: #fff;
}
.crumbs ul li a:hover:after {
	border-left-color: #333;
}

.mySlides {
	display: none;
}
img {
	vertical-align: middle;
}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  height: 10px;
  width: 10px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

/* IMG */

IMG.img-displayed {
    display: block;
    margin-left: auto;
    margin-right: auto }

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 250px) {
  .text {font-size: 11px}
  .crumbs {visibility: hidden;}
  table.historyDoctor{
	font-size: 12px;
	}
	#boxThis {display: none;}
}

#backToTopbtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #42a7b6;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 15px;
  box-shadow: 2px 2px 2px black;
}

#backToTopbtn:hover {
  background-color: #107e91;
}

table.historyDoctor{
	margin-top:30px auto ;
}

table.historyDoctor tr:hover{
	background: #dcefef;
}

table.historyDoctor td{
	padding: 5px;
}
table.item {
	width: 100%;
	font-size: 14px;
}
table.item th{
	text-align: center;
    font-size: 16px;
    padding: 10px;
    background-color: #07b0c8;
    border: 1px solid black;
    text-shadow: 2px 2px 2px black;
    color: white;
}
table.item td{
	padding: 10px;
    border-bottom: 1px solid black;
    border: 1px solid;
}


/*----------------------boxThis---------------------------------*/
#boxThis {
	padding: 5px;
    background-color:#3196a5;
    line-height: 1.5;
    text-align: left;
    font-weight: bold;
    border: 1px solid #666;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    width: 300px;
    margin: 0 20px;
}
#boxThis.box {
    margin-top: 0;
    position: fixed;
    top: 0;
    z-index: 9999;
    -webkit-border-radius: 0 0 10px 10px;
    border-radius: 0 0 10px 10px;
}
#boxThis a{
	color: white;
}

.pl-15{
	padding-left: 15px;
}

/*.textdetail table td {
	padding: 5px;
}*/

.highlight{
	background: #FCF6B8;
	text-align: center;
}
.logo-workgroup img{
	border: 1px solid black;
	height: 114px !important;
	width: 114px !important;
}

.logo-workgroup{
	height: 150px !important;
	margin-bottom: 40px;
}

#pagination_controls{
	font-size: 16px;
	font-family: inherit;
}

#pagination_controls a.btn-info{
	background: #0698ad;
	padding: 5px 10px;
	color: white;
}

#pagination_controls a.btn-primary{
	background: #0698ad;
	padding: 5px;
	border-radius: 10px;
	color: white;
}

.card-news{
	margin-bottom: 15px;
}

.ita img{
	width: 80px;
	margin: 10px 0;
}

.ita{
	background-color: #d6f1c0;
	text-align: center;
	padding: 5px;
	border: 1px solid #000;
	box-shadow: 3px 2px 2px #000;
	margin:15px; 
	height: 190px;
}

.ita:hover{
	box-shadow: 5px 5px 5px #0eda6a;
}
.t-indent-tab{
	text-indent: 5%;
}

table.training-doctor td{
	padding: 5px;
	line-height: 1.7;
}

.pagenum{
  background: #73dceb;
  padding: 5px 10px;
  color: black !important;
  border-radius: 20px;
}
.pagination_controls{
  text-align: center;
  font: inherit;
  font-size: 20px;
  font-weight: bold;
  padding: 10px;
  width: auto;
  margin: 15px auto;
}

.prenext{
  background: #057d8e;
  color: white;
  padding: 5px 10px;
}

.filter input{
	margin: 0 !important;
	padding: 0 !important;
}


/* login */
/* .modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.4);
}


.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 300px;
    border-radius: 10px;
}

.close {
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
} */
/* ให้ modal ครอบเต็มหน้าจอและอยู่ด้านบนสุด */
.modal {
    display: none; /* ซ่อนในตอนแรก */
    position: fixed;
    z-index: 10000; /* สูงมาก เพื่ออยู่บนสุด */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* เผื่อมีเนื้อหาเกิน */
    background-color: rgba(0, 0, 0, 0.6); /* พื้นหลังโปร่งใส */
}

/* กล่องเนื้อหาของ modal */
.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 10000; /* ด้านในสุด */
}

/* ปุ่มปิด */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #000;
}
