/* @override 
	http://tdri.or.th/wp-content/themes/tdri-2017/css/body.css?ver=4.7.3
	http://www0.tdri.or.th/wp-content/themes/tdri-2017/css/body.css?ver=4.7.3
	http://www0.tdri.or.th/wp-content/themes/tdri-2017/css/body.css?ver=4.7.4
	http://www0.tdri.or.th/wp-content/themes/tdri-2017/css/body.css?ver=4.8 */
#page .site-banner {
	margin-bottom: 0;
}

.site-content {
	overflow: hidden;
}
.home-blog-space {
	height: 15px;
}
.main-header {
	background-color: #7bb6db;
	margin-bottom: 15px;
}
.main-title {
	padding: 10px 0 8px;
	margin: 0;
	color: #fff;
	font-size: 20px;
}
.main-title a{
	color: #fff;
}
.site-main.-hide-title h1.entry-title,
.site-main.-hide-title h1.page-title{
	display: none;
}
.site-banner {
	margin-bottom: 30px;
}

.content-area {
	margin-bottom: 30px;
	min-height: 400px;
}

.content-item {
	margin-bottom: 15px;
}
.content-item .pic {
	line-height: 0;
}
.content-item .pic img {
	width: 100%;
}
.content-item .cat-links {
	display: none;
}

.content-item.-list {
	margin-left: -15px;
	margin-right: -15px;
}

.content-item.-list:before, .content-item.-list:after {content: "";display: table}  .content-item.-list:after {clear: both;}
.content-item.-archive:before, .content-item.-archive:after {content: "";display: table}  .content-item.-archive:after {clear: both;}

.content-item.-list .pic {
	float: left;
	width: 33.3333%;
	padding-left: 15px;
	padding-right: 15px;
}
.content-item.-list .info {
	float: left;
	width: 66.6666%;
	padding-left: 0;
	padding-right: 15px;
}

.content-item.-card .info {
	padding-top: 15px;
}

.content-item.-archive .pic {
	float: right;
	width: 33.3333%;
	margin: 5px 0 10px 10px;
} 

.content-item.-caption {
	position: relative;
}
.content-item.-caption .pic {
	line-height: 0;
}
.content-item.-caption .info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 15px 10px;
  color: #fff;
  opacity: 0.8;
  transition: 400ms;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
.content-item.-caption .info:hover {
  opacity: 1;
}
.content-item.-caption .info a {
  color: #fff;
}
.content-item.-caption .entry-title {
	margin-bottom: 2px;
}
body.archive .content-item .entry-summary,
.content-item.-caption .entry-meta {
  display: none;
}


.content-item .entry-title {
	margin: 0 0 7px;
	font-size: 1.2em;
	line-height: 1.3;
}
.widget .content-item .entry-title {
	font-size: 1.3em;
}
.content-item .entry-meta {
	margin-bottom: 0;
}
.content-item .tags-links {
	display: none;
}
.content-item .entry-footer {
	display: none;
}
.content-item .entry-summary p {
	margin-top: 5px;
	margin-bottom: 0;
	font-size: 14px;
}

.content-table-date {
	width: 140px;
}

.entry-meta {
	font-size: 0.93em;
	margin-bottom: 20px;
	opacity: 0.8;
}
.entry-meta a{
	color: #666;
}
.entry-meta a:hover{
	opacity: 1;
}
.entry-meta a:hover{
	opacity: 0.6;
}
.entry-meta > span {
	margin-right: 10px;
}
.entry-meta i {
	margin-right: 4px;
}

.content-pagination a,
.content-pagination span{
	display: inline-block;
	border: 1px solid #ddd;
	padding: 4px 8px;
	min-width: 36px;
	text-align: center;
}
.content-pagination a i {
	vertical-align: -1px;	
}

.content-pagination span {
	font-weight: bold;
}

.sec-people .info,
.sec-people .pic {text-align: center;}
.sec-people .pic img {
	width: 150px;
	height: 150px;
	border-radius: 50%;
}
.sec-people .info .entry-title {
	font-size: 1.1em;
}



body.home{
	
}
	h2.head-line{
		font-size: 22px;
		font-weight: bold;
		text-align: center;
	}
	hr.line-head {
	    width: 40px;
	    margin: 2px auto 20px;
	    border-top: 2px solid #333;
	}
	h4.readmore{
		font-size: 18px;
	}
	span.dot{
		display: inline-block;
	    margin-right: 8px;
	    height: 10px;
	    width: 10px;
	    border-radius: 100px;
	    background-color: #e97d6b;
	}
	
	.home-section{
		padding: 40px 0;
	}
	
	.sec-issue {
		background-color: #f0f7fb;		
	}
		.sec-issue h3{
			font-size: 20px;
			line-height: 1.3 !important;
		}
		.sec-issue a{
			color: #333 !important;
			transition: .3s ease-in-out !important;
		}
		.sec-issue .et_pb_column:hover a {
			color: #4cbcf1 !important;
			transition: .3s ease-in-out !important;
		}
		.sec-issue .readmore a:hover{
			color: #4cbcf1 !important;
			
		}
		
	.sec-tabs .content-item{
		
	}	
		.sec-tabs .tab-content{
			padding: 10px 0;
		    background-color: #9ec2d9;
		}
		.sec-tabs .content-item .entry-title {
			font-size: 1.2em;
			line-height: 1.4;
		}
		.sec-tabs .r-tabs .r-tabs-accordion-title{
			font-size: 21px;
		    padding: 10px 15px;
		    font-weight: bold;
		}
		.sec-tabs .r-tabs .r-tabs-accordion-title.r-tabs-state-active a{
			color: #fff;
		}
		.sec-tabs .r-tabs .r-tabs-accordion-title i{
		    font-size: 1.4em;
		    vertical-align: -7px;
		    margin-right: 10px;
		}
		.sec-tabs .r-tabs .r-tabs-panel {
		    margin: 0 0 15px;
		    background-color: #c0d9e9;
		}
		.sec-tabs .post{
			margin-bottom: 5px;
		}
		
	.sec-research {
		background-color: #f0f7fb;
	    padding: 40px 0px 40px 0px;
	    text-align: center;
	}
		.sec-research h3{
			margin-top: -17px;
			font-size: 20px;
		}
		.sec-research a{
			color: #333 !important;
		}
		.sec-research a:hover{
			color: #4cbcf1 !important;
		}
		
		.et_divi_builder .sec-research #et_builder_outer_content .et_pb_module img{
			margin: 0 auto 15px;
			display: block;
		}
		.et_divi_builder .sec-research #et_builder_outer_content .et_pb_row,
		.et_divi_builder .sec-research #et_builder_outer_content .et_pb_section{
			padding: 0;
			max-width: 1170px;
		}
		.et_divi_builder .sec-research #et_builder_outer_content .et_pb_module h3{
			min-height: 60px;
			line-height: 1.3;
		}
		.et_divi_builder .sec-research #et_builder_outer_content .et_pb_module h3 a{
			padding: 0;
		}
		.et_divi_builder .sec-research #et_builder_outer_content .et_pb_gutters3 .et_pb_column_1_4 .et_pb_module{
			margin-bottom: 15px;
		}
		
		
		#page .home-icons .panel-grid-cell {
			float: left;
			width: 50%;
		}
		#page .home-icons .panel-grid-cell:nth-child(2n+1) {
			clear: left;
		}
		
		
		
				
	.sec-activity{
		background-color: #7aa2bc;
	}
		.sec-activity h2{
			color: #fff;
		}
		.sec-activity a{
			color: #333;
		}
		.sec-activity a:hover{
			color: #4cbcf1;
		}
		.sec-activity hr.line-head {
		    border-top: 2px solid #fff;
		}
		.sec-activity .content-item .entry-meta,
		.sec-activity .content-item .entry-summary{
			display: none;
		}
		.sec-activity .content-item.-list {
		    margin: 0;
		    background-color: #fff;
		}
			.sec-activity .content-item.-list .info {
				padding: 0;
				float: none;
				width: 100%;
			}
			.sec-activity .content-item .date{
				float: left;
				width: 30%;
				padding: 30px 0 0;
				text-align: center;
			}
				.sec-activity .content-item .day{
					font-size: 48px;
					font-weight: bold;
				}
				.sec-activity .content-item .month{
					margin-top: 20px;
					font-size: 22px;
				}
			.sec-activity .content-item .entry-header {
			    float: right;
			    width: 70%;
			    padding: 25px;
			    border-left: 1px solid #cbd9e3;
			}
				.sec-activity .content-item h2.entry-title {
				    font-size: 18px;
			        margin: 0;
			        height: 70px;
			        overflow: hidden;			    
				}
			.sec-activity .entry-location{
				clear: both;
			    width: 100%;
			    padding: 2px 10px;
			    font-size: 13px;
			    color: #333;
			    background-color: #cbd9e3;
			}
			.sec-activity .readmore a{
				color: #fff;
			}
			.sec-activity .readmore a:hover{
				color: #b0e5ff;
			}
		
	.sec-article {
		
	}
		
	.sec-book{
		
	}
		.sec-book .content-item .cat-links,
		.sec-book .content-item .tags-links{
			display: none;
		}		

/* STAFF */
.menu-staff-container {
	padding-right: 10px;
}
.menu-staff-container a {
	font-size: 16px;
	display: block;
	padding-left: 5px;
	line-height: 1.2;
	margin-bottom: 20px;
}
.menu-staff-container a > b{
	font-size: 18px;
	display: inline-block;
	letter-spacing: 1px;
	padding-right: 4px;
}

body.page-template-page-staff .site-main > h2{
	font-weight: bold;
	border-bottom: 2px dotted #7bb6db;
	padding-bottom: 5px;
	color: #7bb6db;
	font-size: 30px;
}
body.page-template-page-staff .site-main > h3 {
	padding-left: 22px;
	position: relative;
	margin: 20px 0 30px;
}

body.page-template-page-staff .site-main > h3:before {
	content: "";
	position: absolute;
	left: 0;
	top: 10px;
	width: 10px;
	height: 10px;
	background-color: #7bb6db;
	border-radius: 50%;
}

body.page-template-page-staff .site-main > h4 {
	font-size: 19px;
	font-style: italic;
	margin: 20px 0 30px;
	color: #777;
	padding-left: 22px;
	position: relative;
}

body.page-template-page-staff .site-main > h4:before {
	content: "";
	position: absolute;
	left: 3px;
	top: 11px;
	width: 6px;
	height: 6px;
	background-color: #7bb6db;
}


body.single-staff{
	
}
	body.single-staff .sec-people .pic {
		margin-bottom: 20px;		
	}
	body.single-staff .entry-header {
	    padding: 10px 20px;
	    background-color: #183a4f;
	}
	body.single-staff .entry-header h1{
	    color: #fff;
	    margin: 0;
	}
	body.single-staff table{
		width: 100%;
		font-size: 14px;
	}
		body.single-staff table tr{
			border: 1px solid #bac4ca;
		}
		body.single-staff table tr:nth-child(even) {
		    background-color: #f7f7f7;
		}
		body.single-staff table td, 
		body.single-staff table th {
		    padding: 10px 20px;
		}
		body.single-staff table th {
		    font-size: 1.1em;
		    font-weight: normal;
		}
	
body.single-post {
	
}
	body.single-post .main-title{
		font-size: 40px;
		text-align: center;
		padding: 36px 0 48px;
	}
	body.page .main-title {
		font-size: 36px;
		text-align: center;
		padding: 20px 0;
	}
	body.single-post .entry-meta{
		margin: -48px auto 30px;
		max-width: 640px;
		background-color: #044d7a;
		padding: 5px 10px;
		color: #bac3ca;
		opacity: 1;
	}
	body.single-post .entry-meta .tags-links{
		display: block;
	}
	body.single-post .entry-meta a{
		color: #fff;
	}
	body.single-post .entry-meta .byline {
		display: none;
	}
	body.single-post .entry-content,
	body.page .entry-content {
		margin: 0 auto;
		max-width: 640px;
		font-size: 18px;
		line-height: 1.6;
	}
	body.page .entry-content.-full {
		margin: 0;
		max-width: 100%;
		font-size: 16px;
		line-height: 1.6;
	}

	body.single-post .entry-content th,
	body.page .entry-content th {
		padding-right: 10px;
		white-space: nowrap;
		vertical-align: baseline;
	}
	body.single-post .entry-content td,
	body.page .entry-content td {
		vertical-align: baseline;
	}
.seed-social {
	text-align: center;
}
	.seed-social>div {
		display: inline-block;
		float: none;
	}

@media (min-width:768px) {
	/* .container{width:750px} */
	.content-item {
		margin-bottom: 30px;
	}
	.widget .content-item {
		margin-bottom: 20px;
	}
	.content-item.-list .pic {
		max-width: 320px;
	}
	.content-item.-list .info {
		padding-left: 5px;
	}
	.content-item.-archive {
		margin-left: -15px;
		margin-right: -15px;
	}
	.content-item.-archive .pic {
		float: left;
		width: 33.3333%;
		margin: 0;
		padding-left: 15px;
		padding-right: 15px;
	}
	.content-item.-archive .info {
		padding-left: 5px;
		float: left;
		width: 66.6666%;
		padding-right: 15px;
	}
	
	.content-item .cat-links {
		display: inline;
	}
	.content-item .tags-links {
		display: inline;
	}
	body.tag .content-item .tags-links,
	body.category .content-item .cat-links,
	.widget .content-item .cat-links,
	.widget .content-item .tags-links {
		display: none;
	}
	
	
	
	
	
	
	.sec-tabs{
			position: relative;
			padding: 0;
			background: linear-gradient(90deg, #9ec2d9 50%, #c0d9e9 50%);
		}
		.sec-tabs .nav-tabs {		   
		    float: left;
		    width: 25%;
		    padding: 30px 0;
		    font-size: 22px;
		    background-color: #9ec2d9;
		    border-bottom: none;
		}
			.sec-tabs .nav-tabs i{
				display: none;
			}
			.sec-tabs .nav-tabs .nav-item{
			    float: none;
			    margin-bottom: 0;
			}
			.sec-tabs .nav-tabs .nav-item.open .nav-link, 
			.sec-tabs .nav-tabs .nav-item.open .nav-link:focus, 
			.sec-tabs .nav-tabs .nav-item.open .nav-link:hover, 
			.sec-tabs .nav-tabs .nav-item.r-tabs-state-active .nav-link, 
			.sec-tabs .nav-tabs .nav-item.r-tabs-state-active .nav-link:focus, 
			.sec-tabs .nav-tabs .nav-item.r-tabs-state-active .nav-link:hover{
				color: #fff;
			    background: transparent;
			    border: none;
			}
			.sec-tabs .nav-tabs .nav-link:focus, 
			.sec-tabs .nav-tabs .nav-link:hover {
			    border: none;
			}
			.sec-tabs .nav>li>a:focus, .nav>li>a:hover {
				color: #254655;
				opacity: 0.8;
			    background: transparent;
			}
			.sec-tabs .nav-tabs .nav-link {
			    padding: 10px 30px 10px 0;
			   	border: none;
			}	
			
		.sec-tabs .tab-content {
		    float: right;
		    width: 75%;
		    padding: 30px;
		    background-color: #c0d9e9;
		}
			.sec-tabs .post{
				margin-bottom: 20px;
			}
			.sec-tabs .content-item .pic img {
			    border-radius: 3px;
			    border: 2px solid #fff;
			}
			.sec-tabs .content-item .pic img:hover {
				opacity: 0.8;
			}
			
		.sec-tabs .r-tabs .r-tabs-panel{
			padding: 0;
		}

	
	
	
	
	
	
	
	
	
}

@media (min-width:992px){
	/*.container{width:970px} */
	.site-canvas {
		transform: none !important;
	}
	.main-header {
		margin-bottom: 30px;
	}
	.main-title {
		padding: 12px 0 10px;
		font-size: 25px;
	}
	.home-blog-space {
		height: 30px;
	}
	#page .home-icons .panel-grid-cell {
		float: left;
		width: 25%;
	}
	#page .home-icons .panel-grid-cell:nth-child(2n+1) {
		clear: none;
	}
	
	.content-area.-rightbar {
		float: left;
		width: 610px;
	}
	.widget-area.-rightbar{
		float: right;
		width: 300px;
	}
	.content-area.-leftbar{
		float: right;
		width: 730px;
	}
	.widget-area.-leftbar{
		float: left;
		width: 210px;
	}
	.site.-shop-layout-leftbar .content-area.-shopbar {
		float: right;
		width: 80.3419%;
	}
	.site.-shop-layout-leftbar .widget-area.-shopbar{
		float: left;
		width: 19.6581%;
		padding-right: 30px;
	}
	.site.-shop-layout-rightbar .content-area.-shopbar {
		float: left;
		width: 80.3419%;
	}
	.site.-shop-layout-rightbar .widget-area.-shopbar {
		float: right;
		width: 19.6581%;
		padding-left: 30px;
	}
	.site.-layout-boxed .content-area.-leftbar{
		float: right;
		width: 76.6%;
	}
	.site.-layout-boxed .widget-area.-leftbar{
		float: left;
		width: 23.4%;
		padding-right: 30px;
	}
	.site.-layout-boxed .content-area.-rightbar  {
		float: left;
		width: 76.6%;
	}
	.site.-layout-boxed .widget-area.-rightbar{
		float: right;
		width: 23.4%;
		padding-left: 30px;
	}
	.content-area.-full {
		margin-bottom: 0;
	}
	
	
	.seed-social {
		position: fixed;
		left: 0;
		top: 50%;
		margin-top: -100px;
	}
		.seed-social:before{
			content: "Share";
			display: block;
			width: 44px;
		}
		.seed-social>div {
			display: block;
			float: none;
			
		}
		.seed-social > div > a{
			border-radius: 0;
			display: block;
			width: 44px;
			height: 44px;
			padding: 4px;
			line-height: 42px;
			text-align: center;
			position: relative;
		}
		.seed-social > div.google-plus > a > i{
			font-size: 22px;
			display: block;
			padding-left: 2px;
		}
		.seed-social .facebook a {
			float: none;
		}
		.seed-social > div > a:hover {
			width: 80px;
		}
		.seed-social > div > a > i{
			font-size: 20px;
		}
		
		.seed-social .count {
			position: absolute;
			display: block;
			width: 0;
			overflow: hidden;
			right: 10px;
			top: 2px;
			margin: 0;
			opacity: 0;
			transition: opacity 0.3s ease;
		}
		.seed-social > div > a:hover .count {
			width: auto;
			opacity: 1;
		}
		.seed-social .text {
			display: none;
		}
		
		.seed-social > div.google-plus > a:hover,
		.seed-social > div.facebook > a:hover{
			padding-right: 24px;
		}
		
		
		
}

@media (min-width:1200px){
	/*.container{width:1170px} */
	.content-area.-rightbar  {
		width: 840px;
	}
	.content-area.-leftbar {
		width: 930px;
	}
	.content-area.-shopbar {
		width: 938px;
	}
	.site.-shop-layout-full-width .content-area.-shopbar {
		width: 100%;
	}
	
}