/*
 * art-culture css  2019-11-20
 * Copyright (c) 2019 Nonthakan Yodkaew - Computer Technical Officer
 * Copyright (c) 2019 The Center for the Promotion of Arts and Culture, Chiang Mai University.
*/
body{
	font-family: 'Sarabun', sans-serif;
	font-weight: 100;
	font-size: 1.05em;
}
.main-font-color{
	color: #AF76BD;
}
.second-font-color{
	color: #38b78b;
}
.text-indent{
	text-indent: 35px;
}
.bold{
	font-weight: 700;
	color: #38b78b;
}
header{
	background-color: #914C9D;
}
.navbar-light{
	padding-top: 2px;
	padding-bottom: 2px;
	color: #FFFFFF;
	float: left;
	width: 100%;
}
.navbar-light .navbar-brand,.navbar-light .navbar-text{
	color: #FFFFFF;
}
.navbar-light .navbar-brand:hover{
	color: #FFE484;
}
.navbar-text{
	float: left;
	padding: 0;
	line-height: 18px;
	color: #6b087c !important;
	font-size: 0.9em;
    font-weight: 600;
}
.navbar-text-mobile{
	padding-top: 12px;
	padding-left: 10px;
}
.navbar-text-small{
	font-size: 0.7em;

	color: #914C9D;
}
.navbar-hr{
	border-color: #01b3a7;
	margin: 5px 0;
}
.navbar-brand img{
	float: left;
	margin-right: 7px;
	max-height: 70px;
}
#rainbow-progress-bar {
	height: 3px;
	background: #27c4f5 -webkit-gradient(linear, left top, right top, from(#27c4f5), color-stop(#a307ba), color-stop(#fd8d32), color-stop(#70c050), to(#27c4f5));
	background: #27c4f5 -webkit-linear-gradient(left, #27c4f5, #a307ba, #fd8d32, #70c050, #27c4f5);
	background: #27c4f5 linear-gradient(to right, #27c4f5, #a307ba, #fd8d32, #70c050, #27c4f5);
	background-size: 500%;
	-webkit-animation: 2s linear infinite LoadingBarProgress, .5s ease-out LoadingBarEnter;
	animation: 2s linear infinite LoadingBarProgress, .5s ease-out LoadingBarEnter;
	-webkit-transform-origin: left;
	transform-origin: left;
	width: 100%;
	left: 0;
	position: fixed;
	right: 0;
	top: 0;
	z-index: 12;
}

@keyframes LoadingBarProgress {
	0% {
		background-position: 0% 0
	}
	to {
		background-position: 100% 0
	}
}
@keyframes LoadingBarEnter {
	0% {
		-webkit-transform: scaleX(0);
		transform: scaleX(0)
	}
	to {
		-webkit-transform: scaleX(1);
		transform: scaleX(1)
	}
}
.nav-menu{
	padding: 0;
}
.nav-menu .nav-link{
	color: #FFF !important;
	padding: 6px 15px 12px 12px !important;
	transition-duration: 0.3s;
	border-top: 3px solid transparent;
	margin-right: 20px;
}
@media(min-width:992px) and (max-width:1199px){
	.nav-menu .nav-link{
	color: #FFF !important;
	padding: 6px 15px 12px 12px !important;
	transition-duration: 0.3s;
	border-top: 3px solid transparent;
	margin-right: 10px;
}
}
.nav-menu .nav-link:hover{
	color: #FFE484 !important;
	background-color: #af4fad;
	transition-duration: 0.3s;
	border-color: #01b3a7;
}

.nav-menu .active  .nav-link{
	background-color: #af4fad;
	transition-duration: 0.3s;
	border-color: #01b3a7;
}
.nav-menu .active  .nav-link:hover{
	background-color: #af4fad;
	transition-duration: 0.3s;
}
.dropdown-menu{
	margin-top: 0px;

}
.dropdown-menu .dropdown-item:hover{
	background-color: #af4fad;
	color: #FFF;
}
a:hover{
	text-decoration: none !important;
}
.round.hollow.purple {
    color: #1ab1e3;
    -webkit-box-shadow: 0px 0px 0px 1px #1ab1e3;
    -moz-box-shadow: 0px 0px 0px 1px #1ab1e3;
    box-shadow: 0px 0px 0px 1px #1ab1e3;
	background-color: transparent;
    transition: all .5s;
	
}
.no-padding{
	padding: 0;
}
#background{
	height: 600px; position: relative;
}
.carousel-caption{
	display: block !important;
	background-color: rgba(0, 0, 0, 0.4);


	-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}

.carousel-caption a:link{
	color: #FFE484 !important;
}
.carousel-caption a:hover{
	text-decoration: underline !important;
}
.carousel-caption a:visited{
	color: #FFE484 !important;
}
.navbar-facebook{
	margin-right: 7px;
}
.navbar-youtube{
	color: #FF0000;
	margin-right: 7px;
}
.round{
		width: 30px;
	height: 30px;
padding-left: 5px;
padding-top: 2px;
	color: #1AB1E3;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
}
.round:hover{
	background-color: #01b3a7 !important;
	color: #FFF !important;
}

section{
	padding-top: 30px;
	padding-bottom: 40px;
}
.heading-text-border{
	border: 0;
	border-bottom: 1px solid  #b1e2d1;
}
.heading-text-border-nospace{
	border: 0;
	border-bottom: 1px solid #b1e2d1;
	margin: 0;
}
.inline{
	display:inline;
}
.museum-card{
	min-height: 270px !important;
	max-height: 270px !important;
	text-align: center;
	border: 0;
}
.emag-card{
	min-height: 430px !important;
	max-height: 430px !important;
	text-align: center;
}
.architecture-card{
	min-height: 250px !important;
	max-height: 250px !important;
	text-align: center;
}
.element-card{
	min-height: 220px !important;
	max-height: 220px !important;
	text-align: center;
}
.card{
	min-height: 290px;
	max-height: 290px;
	-webkit-border-radius: 0px;
-moz-border-radius: 0px;
border-radius: 0px;
overflow: hidden;
padding-bottom: 5px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;

}
.architecture-card-body{
	padding: 5px !important;

	
}
.emag-card .card-text span{
	font-weight: 700;
}
.architecture-card .card-text span{
	font-weight: 700;
}
.element-card .card-text span{
	font-weight: 700;
}
.card-body{
	padding: 10px;
	padding-top: 6px;
	
}
.card-link{
	float: left;
	color: #01b3a7;
	-webkit-box-shadow: 0px 0px 10px -6px rgba(1,179,167,1);
-moz-box-shadow: 0px 0px 10px -6px rgba(1,179,167,1);
box-shadow: 0px 0px 10px -6px rgba(1,179,167,1);
margin-bottom: 25px;
transition-duration: 0.2s;
}
.card-link:hover{
	color: #914C9D;
-webkit-box-shadow: 0px 0px 10px -3px rgba(145,76,157,1);
-moz-box-shadow: 0px 0px 10px -3px rgba(145,76,157,1);
box-shadow: 0px 0px 10px -3px rgba(145,76,157,1);
transition-duration: 0.2s;
}
.card-link:hover img{
	opacity: 0.9;
	transition-duration: 0.2s;
}

.external-link img{
	margin-bottom: 30px;
}
.external-link a:hover img{
	opacity: 0.9;
}
footer{
	padding-top: 50px;
	padding-bottom: 50px;
	background-color: #343A40;
	color: #8D97AD;
	font-weight: 100 !important;
	
}
.footer-content-hover{

	transition-duration: 0.3s;
	margin-left: 0px;
}
.footer-content-hover:hover{
	color: #FFF !important;
	transition-duration: 0.3s;
	margin-left: 5px;
}
footer h5,strong{
	letter-spacing: 1px;
}
.yellow{
	color: #FFE484  !important;
}
@media(max-width:403px){
	.navbar-brand {
		font-size: 0.9em;
		margin-top: -8px;
	}
	.navbar-brand img{
		display: none;
	}
	.card{
	min-height: 320px;
	max-height: 320px;
	}
	
	.architecture-card{
		min-height: 300px !important;
	max-height: 300px !important;
	}
}
@media(max-width:575px){
	.card{
	min-height: 380px;
	max-height: 380px;
	}
	.architecture-card{
		min-height: 380px !important;
	max-height: 380px !important;
	}
	
	.element-card{
		min-height: 380px !important;
	max-height: 380px !important;
	}
	
	.emag-card{
		min-height: 300px !important;
	max-height: 3000px !important;
	}
	.navbar-brand img{
		max-width:70px;
		margin-top: 8px;
	}
	.navbar-brand {
		font-size: 0.9em;
		margin-top: -8px;
	}

}
.emag-card .card-text span{
	font-weight: 700;
}
@media(min-width:768px) and (max-width:1199px){
	.card{
	min-height: 300px;
	max-height: 300px;
	font-size: 0.85em;
	}
	.emag-card{
		min-height: 300px !important;
	max-height: 3000px !important;
	}
	
	.emag-card .card-text span{
	font-weight: 700;
	}
}
@media(min-width:576px) and (max-width:991px){
	.card{
	min-height: 300px;
	max-height: 300px;
	}
	.architecture-card{
		min-height: 220px !important;
	max-height: 220px !important;
	}
	
	.element-card{
		min-height: 230px !important;
	max-height: 230px !important;
	}
}

@media(max-width:991px){
	.carousel-caption h3,h4{
		font-size: 1.1em !important;
	}
}
.footer-small{
	color: #8D97AD;
}
.footerList{
	padding: 0;
	padding-left: 15px;
}
.footerList li{
	margin-left: 0px;
	transition-duration: 0.3s;
}
.footerList li:hover{
	transition-duration: 0.3s;
	margin-left: 5px;
	color: #FFF !important;
}
.footerList li a:link{
	color: #8D97AD !important;
	
}
.footerList li a:visited{
	color: #8D97AD !important;
	
}
.footerList li a:hover{
	color: #FFF !important;
	
}
footer strong{
	font-weight: 700;
}




.round-social a {
	font-size: 1.4em;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  display: inline-block;
  border-radius: 100%;
  margin: 0 5px;
  -webkit-transition: 0.2s ease-in;
  -o-transition: 0.2s ease-in;
  transition: 0.2s ease-in; }
  .round-social a:hover {
    -webkit-transform: translate3d(0px, -5px, 0px);
    transform: translate3d(0px, -5px, 0px); }

.round-social.light a {
  color: #263238;
  background: #f4f8fa; }

.round-social.light a:hover {
  background: #263238;
  color: #ffffff; }
.footer-facebook:hover{
	background-color: #1874EC !important;
}
.footer-line:hover{
	background-color: #00B900 !important;
}
.footer-youtube:hover{
	background-color: #FF0000 !important;
}
.footer-email:hover{
	background-color: #C04B48 !important;
}
.marginbot10{
	margin-bottom: 10px;
}
.heading-title-text{
	color: #38b78b;
}
.boardList{
		padding-top:15px;
		padding-bottom: 15px;
		border-bottom:1px solid #f2f2f2;
		padding-right: 0;

}
.boardImg{
	max-width: 250px;
	width: 100%;
	float: left;
	margin-right: 10px;
	opacity: 1;
	transition-duration: 0.2s;

}

.boardImg:hover{
	opacity: 0.8;
	transition-duration: 0.2s;
}
.board-right-btn{

	width: 100%;
	float: left;
	text-align: left;
}
.board-right-btn-sub{
	font-size: .83em;
	padding-left: 30px;
	text-align: left;
	width: 100%;
}
.board-right-btn-sub:hover{
	background-color: #D1ECF1;
}
.boardTitleName{
	font-size: 1.1em;
	font-weight: 700;
}
.boardTitleLink{
	font-size: 0.9em;
}
.boardTitleStrong{
	font-weight: 700;
	font-size: 0.9em;
}
.doksak{
	max-width: 36px;
	float: left;
	margin-right: 5px;
}
.alert-success{
	border-right: 0 !important;
}
.departmentFileList{
	width:100%;
	margin-bottom: 40px;
}
.departmentFileList li{
	width: 100%;
	margin: 0 0 15px -15px;
	list-style: none;
}
.departmentFileList li a:link{
	font-size: 0.9em;
	width: 100%;
	padding: 3px 10px;
}
.departmentFileList li a:hover{
	background-color: #D1ECF1;
}

.scrollTop {
  position: fixed;
  right: 20px;
  bottom: 10px;

  padding: 20px;
  opacity: 0;
  transition: all 0.4s ease-in-out 0s;
}

.scrollTop a {
  font-size: 18px;
  color: #fff;
}

#myTable .alert{
	margin-bottom: 0px;
	padding: 5px 15px;
}
#myTable .alert a:hover{
	text-decoration: underline !important;
}
.hidden{display: none;}
.tooltip-arrow,
.red-tooltip + .tooltip > .tooltip-inner {background-color: #f00;}
.btn-outline-success{
	color: #28A745 !important;
}
.btn-outline-success:hover{
	color: #FFF !important;
}

 .jssorb031 {position:absolute;}
                .jssorb031 .i {position:absolute;cursor:pointer;}
                .jssorb031 .i .b {fill:#000;fill-opacity:0.5;stroke:#fff;stroke-width:1200;stroke-miterlimit:10;stroke-opacity:0.3;}
                .jssorb031 .i:hover .b {fill:#fff;fill-opacity:.7;stroke:#000;stroke-opacity:.5;}
                .jssorb031 .iav .b {fill:#fff;stroke:#000;fill-opacity:1;}
                .jssorb031 .i.idn {opacity:.3;}
				
				 .jssora051 {display:block;position:absolute;cursor:pointer;}
                .jssora051 .a {fill:none;stroke:#fff;stroke-width:360;stroke-miterlimit:10;}
                .jssora051:hover {opacity:.8;}
                .jssora051.jssora051dn {opacity:.5;}
                .jssora051.jssora051ds {opacity:.3;pointer-events:none;}
				
				   /* jssor slider loading skin spin css */
            .jssorl-009-spin img {
                animation-name: jssorl-009-spin;
                animation-duration: 1.6s;
                animation-iteration-count: infinite;
                animation-timing-function: linear;
            }

            @keyframes jssorl-009-spin {
                from {
                    transform: rotate(0deg);
                }

                to {
                    transform: rotate(360deg);
                }
            }
			
			
			

.museum-list-img{
	width: 100%;
	float: left;
	max-width: 100%;
	max-height: 230px;
	overflow: hidden;
}
.gallery-detail-img{
	margin-bottom:25px;
}
.formShadow{
	padding-top: 15px;
	padding-bottom: 15px;
	transition-duration: 0.3s;
	border: 1px solid #FFF;
	-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}
.formShadow:hover{

-webkit-box-shadow: 0px 0px 33px -10px rgba(175,118,189,0.77);
-moz-box-shadow: 0px 0px 33px -10px rgba(175,118,189,0.77);
box-shadow: 0px 0px 33px -10px rgba(175,118,189,0.77);
transition-duration: 0.3s;
border: 1px solid #AF76BD;
}
.formShadow h5{
	color: #AF76BD;
}


.custom-checkbox .custom-control-input:checked~.custom-control-label::before{
  background-color:#914C9D;
  border: #914C9D;
  box-shadow: inset 0px 0px 0px 0px #fff;
}
.custom-radio .custom-control-input:checked~.custom-control-label::before{
  background-color:#914C9D;
  border: #914C9D;
  box-shadow: inset 0px 0px 0px 0px #fff;
}
.form-control{
	border-color: #914C9D;
	 box-shadow: inset 0px 0px 0px 0px #fff;
}
.custom-control:hover,.custom-control-label:hover{
	cursor: pointer;
}
.list-group-item:hover{
	background-color: #F2f2f2;
}
.contact-content{
	padding-left: 20px;
	margin-bottom: 20px;
	float: left;
	width: 100%;
}

.news-list{
	margin: 5px 0;
	float: left;
	padding: 0;
	-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;

	
}

.news-list img{
	max-width: 210px;
	margin-right: 10px;
	float: left;
	-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}
.news-list h6{
	font-size: 1.2em;
	display: inline;
}
.news-list p{
	margin: 0;
}
.news-list a:link{
	width: 100%;
	float: left;
	padding: 10px;
	
	-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
transition-duration: 0.2s;
}

.news-list a:hover{
	background-color: #F0F1F2;
	transition-duration: 0.2s;
}
.news-list em{
	color: #777;
}
.news-list-content{
	max-height: 140px;
	overflow: hidden;
	
}



.news-list-index{
	margin: 5px 0;
	float: left;
	padding: 0;
	-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;

	
}

.news-list-index img{
	max-width: 210px;
	margin-right: 10px;
	float: left;
	-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}
@media(max-width:767px){
	.external-link{
		display: none;
	}
	.news-list-index img{
width: 100%;
max-width: 100%;
	float: left;
	-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;

}
.news-list img{
width: 100%;
max-width: 100%;
	float: left;
	-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}
}
.news-list-index h6{
	font-size: 1.2em;
	display: inline;
}
.news-list-index p{
	margin: 0;
}
.news-list-index a:link{
	width: 100%;
	float: left;
	padding: 10px;
	
	-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
transition-duration: 0.2s;
}

.news-list-index a:hover{
	background-color: #F0F1F2;
	transition-duration: 0.2s;
}
.news-list-index em{
	color: #777;
}
.news-list-content-index{
	max-height: 140px;
	overflow: hidden;
	
}


.newsDetailImg{
	margin-bottom: 30px;
}
.increse12{
	font-size:1.2em;
}
.index-card-img-element{
	float: left;
	height:auto;
	max-height: 170px !important;
	overflow: hidden;
}
.decrese09{
	font-size: 0.9em;
}