﻿/* Light Carousel v1.0.0 | (c) 2015 Taisuke J | This project is released under the MIT license. */

/*-------------------------------------------------------------------------------------------*/
/* Settings (tweek it for your use) */
/*-------------------------------------------------------------------------------------------*/
.card-box-header{
	background-color: #fff;
}
.caption {
	background: #003580;
	/*background: rgba(0, 0, 0, 0.6);*/
	background-color: rgba(0, 44, 97, 0.6);
	color: #fff;
	/*font-family: 'Raleway', sans-serif;*/
    overflow: hidden;
    border-bottom: 1px solid #ddd;
}

@media screen and (max-width: 770px) {
	.thumbnails li {
		width: 100%;
		padding: 3px;
	}
}
.thumbnails .selected div:before {
	border-color: #e57649;
	/*background: #e57649;*/
}

@media screen and (min-width: 768px) {
	.sample1 .thumbnails li {
		width: calc(50% - 2px);
	    margin-right: 2px;
	    margin-bottom: 2px;
	    height:220px;
	    float: left;
    	overflow: hidden;
	}
	.child_news_small, .child_news_small .a_href_smail1{
		height:100%;
		position:relative;
	}
	.child_news_small img{
		transition: transform .3s ease,opacity .3s;
	    -webkit-transition: -webkit-transform .3s ease,opacity .3s;
	    transition-timing-function: ease, ease;
	}
	.a_href_smail1 img{
		height:100% !important;
	}
	.a_href_smail1 .bs-meta-info{
		position: absolute;
	    z-index: 10;
	    width: 100%;
	    padding: 0;
	   /* margin: 0 0 5px 10px;*/
	    left: 0;
	    bottom: 0;
	    background: rgba(0, 0, 0, 0.4);
	}
	.a_href_smail1 .bs-meta-info .bs-category{
		color: #fff;
	    padding: 3px 7px;
	    margin-bottom: 5px;
	    text-transform: uppercase;
	    background-color: rgba(0, 146, 63, 0.6);
	    display: inline-block;
	    font-size: 10px;
	    /*font-family: roboto,arial,sans-serif;*/
	}
	.a_href_smail1 .bs-meta-info .bs-title{
		margin: 0 0 5px 0;
	    /*font-family: roboto,arial,sans-serif;*/
	    font-size: 12px;
	    color: #fff;
	    text-shadow: 1px 1px 3px rgba(0,0,0,.3);
	    font-weight: 500;
	    padding: 5px;
    	text-align: justify;
	}
	.thumbnails li.selected{
		background-color:#f8d792;
		
	}
	.thumbnails .selected .bs-meta-info{
		/*background-color: rgba(0, 44, 97, 0.6);*/
		background-color: rgba(0, 44, 97, 0.6);
	}
	.thumbnails .selected img, .thumbnails .selected img:hover, .thumbnails img:hover {
		-ms-transform: scale(1.1); /* IE 9 */
		  -webkit-transform: scale(1.1); /* Safari 3-8 */
		  transform: scale(1.1);
	}
}

/*-------------------------------------------------------------------------------------------*/
/* Core CSS */
/*-------------------------------------------------------------------------------------------*/
@font-face {
	font-family: 'Font Awesome';
	src: url('fonts/fontawesome/fontawesome-webfont.eot');
	src: url('fonts/fontawesome/fontawesome-webfont.eot?#iefix') format('embedded-opentype'),
		url('fonts/fontawesome/fontawesome-webfont.woff') format('woff'),
		url('fonts/fontawesome/fontawesome-webfont.ttf') format('truetype'),
		url('fonts/fontawesome/fontawesome-webfont.svg#svgFontName') format('svg');
}

.carousel {
	position: relative;
	overflow: hidden;
	-webkit-transition: 0.3s;
	transition: 0.3s;
}
.carousel ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
/*.carousel li {
	opacity: 0;
	filter: alpha(opacity=0);
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	-webkit-transition: 0.4s linear;
	transition: 0.4s linear;
}*/
.carousel li {
	opacity: 0;
	filter: alpha(opacity=0);
	position: absolute;
	left: 0;
	top: 0;
	-webkit-transition: 0.4s linear;
	transition: 0.4s linear;
	width: calc(100% - 4px);
    margin-right: 4px;
    float: left;
    overflow: hidden;
}
.carousel li:first-child {
	opacity: 1;
	filter: alpha(opacity=100);
}
.carousel li.current {
	opacity: 1;
	filter: alpha(opacity=100);
}
.carousel img {
	display: block;
	width: 100%;
	height: 100% !important;
	border: none;
	vertical-align: bottom;
}
.caption {
	opacity: 0;
	-webkit-transform: translate3d(30px, 0, 0);
	transform: translate3d(30px, 0, 0);
	position: absolute;
	right: 0;
	bottom: 0px;
	width: 100%;
	padding: 10px 15px;
	font-size: 14px;
	-webkit-transition: 0.6s 0.8s;
	transition: 0.6s 0.8s;
}
@media screen and (max-width: 992px) {
	.carousel{
		width:100%;
	}
	.thumbnails{
	width:100%;
	top:0px;
	}
	.caption {
	height:75px;
}
}
@media screen and (min-width: 992px) {
	/*.sample1 .carousel{
		/*width:59%;
		width:49%;
		float:left;
	}*/
	.carousel li {
		height: 444px;
	}
	.sample1 .carousel{
		/*width: calc(50% - 4px);*/
		width:50%;
	    height: 444px;
	    margin-right: 0px;
	    float: left;
	    overflow: hidden;
	}
	.thumbnails{
	/*width:40%;*/
	width:50%;
	position: relative;
	/*top: 35px;*/
	/*margin-top: 35px;
    margin-left: 451px;*/
    float:right;
	}
	.caption {
	height:55px;
	}
	.card-box-header{
		position: relative;
	    width: 39.2%;
	    right: 0;
	    /*top:0;*/
	    margin-right: 3px;
	    float:right;
	}
}
@media screen and (max-width: 768px) {
	.caption {
		bottom: 0;
		width: 100%;
		padding: 15px 15px;
		font-size: 14px;
		height:70px;
	}
	.thumbnails{
	width:100%;
	position: relative;
	top:0px;
	}
}
@media screen and (max-width: 400px) {
	.caption {
		padding: 10px 15px;
		font-size: 14px;
		height:55px;
	}
}
.caption span {
	display: block;
	opacity: 0;
	-webkit-transform: translate3d(0, -5px, 0);
	transform: translate3d(0, -5px, 0);
	-webkit-transition: 0.6s 1.2s;
	transition: 0.6s 1.2s;
	text-align:justify;
}
.current .caption,
.current .caption span {
	opacity: 1;
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}

.mobile .controls {
	display: none;
}
.carousel:hover .prev,
.carousel:hover .next {
	opacity: 0.8;
	filter: alpha(opacity=80);
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}
.carousel:hover .prev:hover,
.carousel:hover .next:hover {
	opacity: 0.5;
	filter: alpha(opacity=50);
}
.prev {
	opacity: 0;
	filter: alpha(opacity=0);
	position: absolute;
	left: 10px;
	top: 50%;
	line-height: 1;
	margin-top: -35px;
	font-size: 70px;
	text-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
	cursor: pointer;
	-webkit-transform: translate3d(-10px, 0, 0);
	transform: translate3d(-10px, 0, 0);
	-webkit-transition: 0.3s;
	transition: 0.3s;
}
.prev:before {
	display: block;
	color: #fff;
	font-family: Font Awesome, sans-serif;
	content: "\f104";
}
.next {
	opacity: 0;
	filter: alpha(opacity=0);
	position: absolute;
	right: 10px;
	top: 50%;
	line-height: 1;
	margin-top: -35px;
	font-size: 70px;
	text-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
	cursor: pointer;
	-webkit-transform: translate3d(10px, 0, 0);
	transform: translate3d(10px, 0, 0);
	-webkit-transition: 0.3s;
	transition: 0.3s;
}
.next:before {
	display: block;
	color: #fff;
	font-family: Font Awesome, sans-serif;
	content: "\f105";
}

.thumbnails {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
    right: 0;
}
.thumbnails ul {
	overflow: hidden;
	list-style: none;
	margin: 0;
	padding: 0px 3px 3px 3px;
}
/*.thumbnails li {
	float: left;
	height: 170px;
    overflow: hidden;
   /* border-bottom: 1px solid #ddd;*/
    padding-left:5px;
}*/
.thumbnails div {
	position: relative;
}
.thumbnails p{
	margin-bottom: 1px;
	padding: 5px;
}
.thumbnails .selected div:before {
	display: block;
	position: absolute;
	left: -6px;
	top: -6px;
	width: 100%;
	height: 100%;
	border-width: 0px;
	border-style: solid;
	content: "";
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}

.thumbnails img {
	display: block;
	position: relative;
	z-index: 10;
	width: 100%;
	height: 100%;
	border: none;
	vertical-align: bottom;
	cursor: pointer;
	/*-webkit-transform: translateZ(0); /* bug fix for chrome */
	/*-webkit-transition: 0.4s;
	transition: 0.4s;*/
}
.thumbnails img:hover {
	opacity: 0.7;
	filter: alpha(opacity=70);
}
.thumbnails .selected img {
	cursor: default;
}
.thumbnails .selected img:hover {
	opacity: 1;
	filter: alpha(opacity=100);
}