@import url('https://fonts.googleapis.com/css?family=Kanit:300,400,700,900');
body {
	font-family: 'Kanit', sans-serif;
	font-size: 16px;
	line-height: 1.5em;
	color: #333;
	font-weight: 400;
}
h1,h2,h3,h4,h5,h6 {
	margin: 0 0 1em;
	font-weight: 700;
}
h1 { font-size: 2em; }
h2 { font-size: 1.8em; }
h3 { font-size: 1.5em; }
h4 { font-size: 1em; }
a,a:visited {
	color: #333;
	transition: all .5s ease;
}
a:hover, a:active {
	color: #25aae1;
	text-decoration: none;
	transition: all .5s ease;
}
ul, ol {
	margin: 0 0 1em 20px;
	padding: 0;
}
/* Header */
.site-header {
	padding: 15px 0;
}
.site-header .container {
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	align-items: center;
}
/* Navigation */
.main-navigation {
	clear: none;
	float: none;
	width: auto;
	display: flex;
}
.main-navigation li {
	margin-left: 10px;
}
.main-navigation li a {
	display: block;
	padding: 5px 15px;
	background: #fff;
	border-radius: 5px;
}
.main-navigation li:hover > a, .main-navigation li.current-menu-item > a {
	background: #25aae1;
	color: #fff;
}
.socials {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	justify-content: center;
	margin-left: 20px;
}
.socials a {
	width: 30px;
	background: #25aae1;
	height: 30px;
	text-align: center;
	line-height: 35px;
	color: #fff;
	border-radius: 100%;
	margin: 0 5px;
}
.socials a.line { background: #00c300; }
.socials a.facebook { background: #3b5998; }
/* Content */
.page-content, .entry-content, .entry-summary {
	margin: 0;
}
.page-header {
	background-image: url(images/banner.jpg);
	background-position: center center;
	background-repeat: no-repeat;
	color: #fff;
	padding: 50px 0;
	position: relative;
}
.page-header:before {
	content: '';
	background: rgba(0, 0, 0, 0.25);
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}
.page-header .container {
	position: relative;
}
.page-header h1 {
	margin: 0;
	font-size: 50px;
}
.section {
	padding: 50px 0;
}
.hentry {
	margin: 0;
}
/* Home */
.slideshow .item {
	height: 450px;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
}
.owl-dots {
	bottom: 0;
	position: absolute;
	width: 100%;
	text-align: center;
	padding: 20px 0;
}
.owl-dot {
	width: 15px;
	height: 15px;
	display: inline-block;
	border-radius: 100%;
	background: rgba(255,255,255,0.5);
	margin: 0 5px;
}
.owl-dot.active {
	background: rgba(255,255,255,1);	
}
.home-banner {
	height: 450px;
	align-items: center !important;
	color: #fff;
}
.home-banner h1 {
	font-size: 50px;
	margin: 0;
}
.home-content ul li {
	margin-bottom: 20px;
}
.cta .panel-grid-cell {
	display: flex;
	flex-flow: row wrap;
	margin: 0 -15px;
}
.cta .panel-grid-cell .widget_sow-editor {
	flex-basis: 33.33%;
	padding: 0 15px;
	margin-bottom: 0 !important;
}
.cta .panel-grid-cell .widget_sow-editor .so-widget-sow-editor {
	padding: 30px;
	text-align: center;
	box-shadow: 0 3px 10px 1px #eee;	
	transition: all .5s ease;
}
.cta .panel-grid-cell .widget_sow-editor:hover .so-widget-sow-editor {
	box-shadow: 0 3px 10px 1px #eee;	
	transition: all .5s ease;
}
.blog .image {
	margin-bottom: 20px;
}
.blog .image a {
	width: 100%;
	height: 0;
	padding-top: 70%;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	display: block;
}
.blog .text {
	margin-bottom: 50px;
}
.blog .text .title {
	font-weight: 700;
}
.blog .text .meta {
	font-size: 12px;
	font-style: italic;
}
/* Footer */
.site-footer {
	background-color: #F5F5F5;
	border-top: 2px solid rgba(0,0,0,0.06);
	padding: 50px 0;
	font-weight: 300;
}
.site-toggle {
	display: none;
}
@media screen and (max-width: 1024px) {
	.cta .panel-grid-cell .widget_sow-editor {
		flex-basis: 100%;
		margin-bottom: 30px !important;
	}	
	.cta .panel-grid-cell {
		margin: 0;
	}
}
@media screen and (max-width: 991px) {
	.site-header {
		position: relative;
	}
	.site-header .container {
		max-width: 100%;
	}
	.site-title {
		max-width: 100px;
	}
	.site-toggle {
		position: absolute;
		width: 30px;
		height: 30px;
		display: flex;
		flex-flow: column nowrap;
		justify-content: center;
		align-items: center;
		right: 15px;
		cursor: pointer;
	}
	.site-toggle span {
		position: relative;
		background: #000;
		height: 1px;
		width: 100%;
	}
	.site-toggle span:before {
		content: '';
		position: relative;
		background: #000;
		height: 1px;
		width: 100%;
		top: -6px;	
		display: block;
	}
	.site-toggle span:after {
		content: '';
		position: relative;
		background: #000;
		height: 1px;
		width: 100%;
		bottom: -6px;	
		display: block;
	}
	.main-navigation {
		position: absolute;
		top: 100%;
		width: 100%;
		left: 0;
		background: #fff;
		display: none;
		z-index: 10;
	}
	.main-navigation ul {
		display: block;
		width: 100%;
		padding: 10px;
	}
	.main-navigation ul li {
		display: block;
		width: 100%;
		margin: 0;
		float: none;
	}
	.socials {
		padding: 0 20px 10px;
		justify-content: flex-start;
		margin-left: 0;
	}
	.home-banner h1, .page-header h1 {
		font-size: 40px;
	}
	.home-banner {
		justify-content: center !important;
	}
	.site-bottom {
		font-size: 12px;
		text-align: center;
	}
}
@media screen and (max-width: 480px) {
	.slideshow .item {
		height: 120px;
	}
	.owl-dots {
		padding: 10px 0;
	}
	.owl-dot {
		width: 10px;
		height: 10px;
	}
	.site-bottom {
		font-size: 10px;
	}
}