/* ------------------ START : CUSTOM THAI FONTS AND CUSTOM TEMPLATE ------------------- */

@import url(https://fonts.googleapis.com/css?family=Prompt:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i&amp;subset=thai);
/* Set font style for body */
body {
	font-family: 'Prompt', 'Open Sans', Verdana, Geneva, sans-serif;
	font-size: 90%;
}

/* Set font style for heading */
h1,
h2,
h3,
h4,
h5,
h6,
#jsn-gotoplink,
.page-header,
.subheading-category,
.componentheading,
.contentheading {
	font-family: 'Prompt', 'Open Sans', Verdana, Geneva, sans-serif;
}

/* Set font style for menu */
body #jsn-menu ul.menu-mainmenu a,
body #jsn-menu ul.menu-mainmenu li a span {
	font-family: 'Prompt', 'Open Sans', Verdana, Geneva, sans-serif;
}

#k2Container h2.itemTitle,
#k2Container h2.latestItemTitle,
#k2Container h2.tagItemTitle,
#k2Container h3.catItemTitle,
#k2Container h3.userItemTitle {
	font-size: 1.4em;
	line-height: 1.5;
	padding: 0;
	margin-bottom: 0.5em;
	font-family: 'Prompt', 'Open Sans', 'Source Sans Pro',Verdana,Geneva,Arial,Helvetica,sans-serif;
	font-weight: 300;
}

#jsn-article a.readmore, .k2ReadMore {
	background: url(../images/icons/narrow8.png) top left no-repeat;
	height:35px;
	width:35px;
	display: inline-block;
	text-indent: -999em;
	float:right;
	margin: 0px 20px 0 0;
}

div.catItemView {
	padding: 10px; 	
}

div.catItemView_bak {
	/*width: 100%;*/
	position: relative;
	/*overflow: hidden;*/
	background: #243b4a;
	color: #FFFFFF;
	/*height: 320px;	*/
}
div.catItemView {
	/*width: 100%;*/
	position: relative;
	/*overflow: hidden;*/
	background: #006dbc;
	color: #FFFFFF;
	/*height: 320px;	*/
	overflow: hidden;
}
div.catItemView .catItemBody a {
	color: #ffffff;
	cursor: pointer; 
}
div.itemContainer {
	padding: 5px;	
	display: flex;
}

div.itemContainer {
	background: #006dbc;
	overflow: hidden;
}
.catItemTitle > a {
	color: #ffffff;	
}
.catItemHeader {
	border-bottom: 1px solid #4D99D0;
}
.itemList .row-fluid > div {
	display: flex;
}
.jsn-com-k2 div.catItemBody img{
	text-align:center;
	max-width:100%;	
	margin-bottom: 15px;
}
.jsn-com-k2 .catItemView div.catItemBody img{
	max-height:213px;
}
#k2Container.itemListView {
	max-width: 100%;
}
@media only screen and (min-width: 960px) {
	.itemList .row-fluid {
		display: flex;
        flex-wrap: wrap;
	}
}
@media only screen and (max-width: 960px) {
	.itemList .row-fluid > div {
		width: 100%;
	}
	.itemList .row-fluid [class*="span"] {
		margin-left: 0;	
	}
}
@media (min-width: 1200px){
	.itemList .row-fluid [class*="span"]:first-child {
		/*float:left;*/
	}
}

.itemList .row-fluid [class*="span"] {
	/*float:right;*/
	/*width: 80%;*/
}

body.jsn-homepage .jsn-gallery .container_skitter .label_skitter {
	float: left;
	width: 70% !important;
	max-width: 80%;
	background: none;
	top: auto;
	left: 0;
	opacity: 1;
	filter: alpha(opacity=100);
	vertical-align:bottom;
}


#jsn-pos-mainbody-bottom div.jsn-modulecontainer {
	background:none;	
}

#jsn-pos-mainbody-bottom div.jsn-modulecontainer .jsn-modulecontent {
    padding: 0;
}

.nspArts {
	padding: 0;	
}

body.jsn-view-item #jsn-centercol #jsn-mainbody-content {
	background-color: white;
	border:none;
	padding:10px;
	width: -moz-calc(100% - 20px);
	width: -webkit-calc(100% - 20px);
	width: -o-calc(100% - 20px);
	width: calc(100% - 20px);
}
body.jsn-view-item #jsn-centercol #jsn-mainbody {
	padding: 10px;
}

/* ------------------ END : CUSTOM THAI FONTS & CUSTOM TEMPLATE ------------------- */

/*-----GENERAL LAYOUT-----*/
body.jsn-homepage #jsn-mainbody-content {
	background:none;
	border:none;
	padding:0;
}
body.jsn-homepage #jsn-mainbody {
	padding: 0;
}
/*======== RIGHT MODULE =========*/
.jsn-homepage #jsn-rightsidecontent.span4 {
	margin-left: 1.83%;
}
#jsn-content .custom .jsn-modulecontent {
	padding: 0;
}
#jsn-content #jsn-rightsidecontent div.jsn-modulecontainer.custom div.jsn-modulecontainer_inner {
	background: none;
	border: none;
}
.col-left {
	float: left;
	width: 65.7%;
}
.col-right {
	float: right;
	width: 31%;
}
#time img {
	float: left;
}
#time {
	text-align: right;
	font-size: 16px;
	text-align: right;
	padding: 21px 21px 22px;
	font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
	margin-bottom: 10px;
	color: #fefefe;
	background-image:-moz-linear-gradient(2% 98% 21deg,rgb(123,0,70) 0%,rgb(157,0,89) 100%);
	background-image:-webkit-gradient(linear,2% 98%,100% 1%,color-stop(0, rgb(123,0,70)),color-stop(1, rgb(157,0,89)));
	background-image:-webkit-linear-gradient(21deg,rgb(123,0,70) 0%,rgb(157,0,89) 100%);
	background-image:-o-linear-gradient(21deg,rgb(123,0,70) 0%,rgb(157,0,89) 100%);
	background-image:-ms-linear-gradient(21deg,rgb(123,0,70) 0%,rgb(157,0,89) 100%);
	background-image:linear-gradient(21deg,rgb(123,0,70) 0%,rgb(157,0,89) 100%);
	-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#ff7b0046,endColorstr=#ff9d0059,GradientType=1)";
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#ff7b0046,endColorstr=#ff9d0059,GradientType=1);
}
#time span {
	font-size: 22px;
	display: block;
}
body.jsn-homepage #jsn-mainbody-content.jsn-hasmainbody {
	background: none;
	border: none;
}
div.galery {
	position: relative;
	overflow: hidden;
}
div.galery .caption {
	background: rgba(0,0,0,0.4);
	color: #fff;
	bottom: -150px;
	height: 70px;
	left: 0;
	width: 100%;
	display: inline-block;
	position: absolute;
	transition: all 0.3s;
	-moz-transition: all 0.3s;
	-webkit-transition: all 0.3s;
}
div.galery .caption h3,
div.galery .caption p {
	padding: 0 5px;
	margin: 0 0 5px;
	color: #fff;
}
div.galery:hover .caption {
	bottom: 0;
}
/*======== CONTENT =========*/
body.jsn-homepage #jsn-pos-content-top,
body.jsn-homepage #jsn-pos-content-top .jsn-modulecontainer {
	background: none;
}
body.jsn-homepage #jsn-pos-content-top div.jsn-modulecontent {
	padding: 0;
}
body.jsn-homepage #jsn-content-top #jsn-pos-content-top div.jsn-modulecontainer div.jsn-modulecontainer_inner {
	text-align: center;
	margin: 0 10px 0 0;
}
body.jsn-homepage #jsn-content-top #jsn-pos-content-top div.jsn-modulecontainer:first-child + div + div + div div.jsn-modulecontainer_inner {
	margin-right: 0;
}
body.jsn-homepage #jsn-content-top div.jsn-modulecontainer div.jsn-modulecontainer_inner div div p a {
	height:140px;
	display:block;
	text-align:center;
	position:inherit;
}
body.jsn-homepage #jsn-content-top div.jsn-modulecontainer div.jsn-modulecontainer_inner div div p a:hover {
	text-decoration: none;
}
body.jsn-homepage #jsn-content-top div.jsn-modulecontainer div.jsn-modulecontainer_inner div div p a img {
	display:inline-block;
	/* margin:20px 0; */
	margin:5px 0;
}
body.jsn-homepage #jsn-content-top div.jsn-modulecontainer div.jsn-modulecontainer_inner div div p span {
	display:block;
	text-align:left;
	position:absolute;
	bottom: 15px;
	padding: 0 15px;
	float:left;
	color:#FFF;
	font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
	font-size:16px;
	font-weight:300;
}
body.jsn-homepage #jsn-content-top div.jsn-modulecontainer div.jsn-modulecontainer_inner #content-user:hover {
	background:#1e63a2;
	border:1px solid #2b85d7;
}
body.jsn-homepage #jsn-content-top div.jsn-modulecontainer div.jsn-modulecontainer_inner #content-weather:hover {
	background:#7ea300;
	border:1px solid #9cca00;
}
body.jsn-homepage #jsn-content-top div.jsn-modulecontainer div.jsn-modulecontainer_inner #content-setting:hover {
	background:#e89e00;
	border:1px solid #ffc600;
}
body.jsn-homepage #jsn-content-top div.jsn-modulecontainer div.jsn-modulecontainer_inner #content-support:hover {
	background:#0096a9;
	border:1px solid #00b5cc;
}
body.jsn-homepage #jsn-content-top div.jsn-modulecontainer div.jsn-modulecontainer_inner:hover img {
	/* margin: 20px 0 20px -30px; */
	margin: 5px 0 5px -30px;
}
body.jsn-homepage #jsn-content-top div.jsn-modulecontainer div.jsn-modulecontainer_inner:hover span {
	padding-left:35px
}
body.jsn-homepage #jsn-content.jsn-hasright #jsn-maincontent_inner {
	margin-right: -8px;
}
#jsn-article-demo {
	width: 100%;
	position: relative;
	overflow: hidden;
	background:#243b4a;
	height:320px;
	overflow:hidden;
}
#jsn-article-demo img {
	float:left;
}
#jsn-article-demo .demo-caption {
	width: 300px;
	float: right;
	padding: 10px 0;
	color: #fefefe;
	transition: all .3s;
	-moz-transition: all .3s;
	-webkit-transition: all .3s;
}
#jsn-article-demo a {
	text-decoration:none;
}
#jsn-article-demo:hover .demo-caption {
	bottom: 0
}
#jsn-article-demo .demo-caption h2,
#jsn-article-demo .demo-caption p {
	padding: 0 10px;
	margin: 5px 0 0;
}
#jsn-article-demo a {
	color: #fff;
}
#jsn-article-demo a.readmore {
	background: url(../images/icons/narrow8.png) top left no-repeat;
	height: 35px;
	width: 35px;
	display: inline-block;
    text-indent: -999em;
	float: right;
	margin: 20px 20px 0 0;
}
body.jsn-direction-rtl #jsn-article-demo a.readmore {
	left: 16px;
	right: auto;
	background-position: 0 -104px;
}
/**SLIDER**/
body.jsn-homepage #jsn-promo-inner,
body.jsn-homepage #jsn-promo-inner div.jsn-modulecontainer,
body.jsn-homepage #jsn-pos-content-top,
body.jsn-homepage .label_skitter,
body.jsn-homepage .box_skitter {
	background:none !important;
}
body.jsn-homepage .jsn-themeslider-caption-title,
body.jsn-homepage .jsn-themeslider-caption-description {
	display:inline-block;
}
/* ==== CASPER COMMENT ==============
body.jsn-homepage .jsn-gallery .container_skitter .label_skitter {
	float: left;
	width: 40% !important;
	max-width: 50%;
	background: none;
	top: 10%;
	left: 0;
	opacity: 1;
	filter: alpha(opacity=100);
}
*/
body.jsn-homepage .box_skitter .next_button {
	right:0;
}
body.jsn-homepage .box_skitter .prev_button {
	left:0;
}
body.jsn-homepage .box_skitter .info_slide_dots {
	background: none !important;
}
body.jsn-homepage .box_skitter .info_slide_dots .image_number {
	width: 15px !important;
	height: 15px !important;
}
/************************************************************************************
 mobile layout (240 - 1023): common settings for both smartphone and tablet
*************************************************************************************/
@media only screen and (max-width: 960px), (max-device-width: 960px) {
	#jsn-article-demo {
		width: 100%;
		position: relative;
	}
	#nsp-home-news-gk5 .nspLinks .nspLinkScroll1 li > div p{
		display: none;
	}
}
/************************************************************************************
 tablet layout (481 - 1023): arrange modules in 2 columns and 1 side bar
*************************************************************************************/
@media only screen and (min-width: 481px) and (max-width: 960px), (min-device-width: 481px) and (max-device-width: 960px) {
	#jsn-article-demo .demo-caption {
		width: 48%;
	}
	.col-left,
	.col-right {
		width: 49%;
	}
	.jsn-desktop .col-left{
		width: 65.7%;
	}
	.jsn-desktop .col-right {
		width:31%;
	}
	.tiles .live-tile {
		margin-right: 10px;
	}
}
@media only screen and (max-width: 440px), (max-device-width: 440px) {

	.jsn-themeslider-gallery .info_slide {
		top: 170px !important;
		z-index: 250 !important;
	}

}
@media only screen and (max-width: 960px), (max-device-width: 960px) {
	.jsn-themeslider-caption-description {
		display: none !important;
	}
	.play_pause_button {
		display: none !important;
	}
}
/************************************************************************************
smartphone layout (320 - 480): everything is layout in single column
*************************************************************************************/
@media only screen and (max-width: 480px), (max-device-width: 480px) {
	div.galery {
		width: auto;
		height: auto;
	}
	.col-left {
		max-width: 60%;
		margin-right: 10px;
	}
	.col-right {
		margin-right: 8px;
	}
	#jsn-article-demo .demo-caption {
		width: 290px;
	}
	body.jsn-desktop-on-mobile:not(.jsn-responsive) #jsn-article-demo .demo-caption {
		width: 45%;
	}
	div.galery img {
		max-width: 100%;
	}
	#jsn-article-demo {
		height: auto;
	}
	body.jsn-homepage .label_skitter p.jsn-themeslider-caption-title,
	body.jsn-homepage .label_skitter p.jsn-themeslider-caption-description {
		font-size: 12px !important;
	}
	body.jsn-homepage .jsn-gallery .container_skitter .label_skitter {
		max-width: 100%;
		width: 100% !important;
		bottom: 0px;
	}
	.box_skitter .container_skitter {
		/* height: 220px !important; */
	}
	body.jsn-homepage .box_skitter {
		height: 200px !important;
	}
	body.jsn-homepage .label_skitter p {
		font-size: 14px;
	}
}
@media only screen and (min-width: 719px) and (max-width: 960px), (min-device-width: 719px) and (max-device-width: 960px) and (orientation:portrait) {
	body.jsn-desktop-on-mobile:not(.jsn-responsive) #jsn-article-demo .demo-caption {
		width: 43%;
	}
}
@media only screen and (min-width: 721px) and (max-width: 960px), (min-device-width: 721px) and (max-device-width: 960px) and (orientation:portrait) {
	body.jsn-desktop-on-mobile:not(.jsn-responsive) #jsn-article-demo .demo-caption {
		width: 44%;
		padding: 0;
	}
}

/* K2 Custom */
ul.itemTags li{
	display: inline-block;
}

div.itemBody div.itemFullText{
	display: inline-block;
}

#k2Container ul li{
	margin: 0.3em 0 0.3em 1.6em;
	list-style: circle;
}
#k2Container .itemNavigation ul li{
	list-style: none;
}
div.itemBody div.itemFullText img{
	float: initial;
}
div.itemBody img {
        float: initial;
}
#jsn-page .itemBody .itemImageBlock {
	text-align: center;
}

/* for body.jsn-homepage */
body.jsn-homepage #jsn-mainbody-content.jsn-hasmainbody ,
body.jsn-homepage #jsn-pos-mainbody-top,
body.jsn-homepage #jsn-pos-user-bottom {
	background: none;
	border: none;
}

body.jsn-homepage #jsn-mainbody-content div.jsn-modulecontainer,
body.jsn-homepage #jsn-pos-mainbody-top div.jsn-modulecontainer{
	background: none;
}

#nsp-home-news-gk5 .nspCol2{
	background: #006dbc;
	color: #FFFFFF;
	padding: 5px;
    margin-bottom: 5px;
	margin-top: 5px;
}

@media only screen and (min-width: 800px) {
	#nsp-home-news-gk5 .nspCol2{
		width: 48.717948717948715%;
	}
	#nsp-home-news-gk5 .nspCol2:first-child{
		margin-right: 2.564102564102564%;
	}
	.nspArtPage {
		display: flex;
	}
	#nsp-home-news-gk5 .nspLinks .nspLinkScroll1 ul li{
		display: inline-block;
	}
	#nsp-home-news-gk5 .nspLinks .nspLinkScroll1 ul li{
		width: 100%;
	}
	#nsp-home-news-gk5 .nspLinks .nspLinkScroll1 li > div{
		padding-right: 15px;
	}
	#nsp-home-news-gk5 .nspLinks .nspLinkScroll1 a.readon{
		display: none;
	}
	#nsp-home-news-gk5 .readon {
		margin: 15px;
	}
}	
@media only screen and (max-width: 800px) {
	#nsp-home-news-gk5 .nspCol2{
		width: 100%;
		display: grid;
	}
	#nsp-home-news-gk5 .nspCol2:first-child{
		margin-right: 0%;
	}
	.nspArtPage {
		display: block;
	}
	#nsp-home-news-gk5 .nspLinks .nspLinkScroll1 ul li{
		display: grid;
	}
	#nsp-home-news-gk5 .nspLinks .nspLinkScroll1 ul li{
		width: auto;
	}
	#nsp-home-news-gk5 .nspLinks .nspLinkScroll1 li > div{
		padding-right: 0;
	}
	#nsp-home-news-gk5 .readon {
		margin: 0px;
	}
	#nsp-home-news-gk5 .nspArts, #nsp-home-news-gk5 .nspLinksWrap {
		padding: 0;	
	}
}	
@media only screen and (min-width: 1200px) {
	.box_skitter .container_skitter, 
	body.jsn-homepage .box_skitter,
	.box_skitter .image img {
		/* height: 470px !important;
		width: 1170px !important; */
	}
}

@media only screen and (min-width: 800px)  and (max-width: 1200px) {
	.box_skitter .container_skitter, 
	body.jsn-homepage .box_skitter,
	.box_skitter .image img {
		/* height: 314px !important;
		width: 780px !important; */
	}
}
#nsp-home-news-gk5 .nspCol2 a {
	color: #FFFFFF;
}
div.jsn-modulecontent {
	padding: 0px;
}

#nsp-home-news-gk5 .nspHeader{
	border-bottom: 1px solid #4D99D0;
	padding-top: 0px;
}
#nsp-home-news-gk5 .nspArt img.nspImage {
	margin-top: 15px;
	margin-bottom: 15px;
}

#nsp-home-news-gk5 .nspLinks .nspLinkScroll1 ul li{
	background: #006dbc;
	color: #FFFFFF;
	padding: 10px 10px;
}

#nsp-home-news-gk5 .nspLinks .nspLinkScroll1 a{
	color: #FFFFFF;
	font-weight: bold;
	font-style: oblique;
	text-align: center;
}

#nsp-home-news-gk5 .nspLinks .nspLinkScroll1 h4{
	line-height: 1.2;
	font-size: 1.2em;
}

#nsp-home-news-gk5 .nspLinks .nspLinkScroll1 li > div p{
	text-align: justify;
	padding-right: 15px;
}
.nspArtScroll1, 
.nspLinkScroll1{
	overflow: hidden;
}



#nsp-home-news-gk5 .readon{
	/* background: url(../images/icons/narrow8.png) top left no-repeat; */
	background: url(../images/icons/narrow8.png) top right no-repeat;
    height: 35px;
	/* width: 35px; */
	width: 100%;
    display: inline-block;
    text-indent: -999em;
    float: right;
	/* margin: 0px 20px 0 0; */
	border: none;
	/* margin-top: 15px; */
	padding: 0px;
}

#nsp-home-news-gk5 .nspText{
	text-align: justify;
	max-width: 100%;
	overflow: hidden;
}
#nsp-home-news-gk5 .nspArt h4.nspHeader {
	font-size: 0.8;
	line-height: 1.5;
}

div.itemNavigation li a.itemNext {
	background: url("../images/icons/icon-arrow-black-rtl.png") no-repeat scroll left center;
	padding-left: 20px;
}

div.itemNavigation .itemNavigationTitle{
	display: none;
}

.jsn-homepage .nspPagination li {
	width: 20px;
	height: 20px;
	text-align: center;
}