/*
 * Search Jumbotron
 * --------------------------------------------------
 */
.search-jumbotron {
	margin: 0 -15px;
	background-color: #dedede;
	background-repeat: no-repeat;
	background-position: center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

.search-jumbotron h1, .search-jumbotron p {
	color: white;
	text-shadow: #444 1px 1px 5px;
	text-align: center;
}

.full-search-bar {
	width: 72%;
	margin: 0 auto;
	position: relative;
	background-color: #f5f5f5;
	background-color:rgba(240,240,240,.6);
	border: 1px solid #d8d8d8;
}
.full-search-bar form {
	padding: 0;
	margin: 8px;
	position: relative;
	overflow: hidden;
}
.full-search-bar input[type=text] {
	float: left;
	height: 40px;
	font-size: 20px;
	line-height: 24px;
	border-right: 0;
	width: 100%;
	margin-bottom: 0;
	padding-right:45px;
	padding-left:10px;
	border: 1px solid #ccc;
}
/* media-query 1200 */
.full-search-bar input[type=text] {
	height: 45px;
}
.full-search-bar button[type=submit] {
	position: absolute;
	right: 0;
	top: 0;
	width: 46px;
	height: 40px;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
}
/* media-query 1200 */
.full-search-bar button[type=submit] {
	height: 45px;
}

/*
 * Registration Jumbotron
 * --------------------------------------------------
 */
.register-jumbotron {
	margin: 0 -15px;
	background-color: #dedede;
	background-repeat: no-repeat;
	background-position: center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

.register-block {
	background-color:#000; /* fallback for browser that not support rgba */
	background-color:rgb(5,5,5); 
	background-color:rgba(5,5,5,.6); /* Works on all modern browsers */
}

.register-jumbotron h1, .register-jumbotron p, .register-jumbotron label {
	color: white;
	text-shadow: #444 1px 1px 5px;
}

.register-jumbotron p.small { font-size:14px; }
.register-jumbotron p.notice { font-size:16px; margin: 10px 0; text-align:center;}
.register-jumbotron .label { font-size:90%;font-weight:normal; }
.register-jumbotron p a { color:#93C6F1; }
.register-image { margin: 20px auto; }

/*
 * Banner Jumbotron
 * --------------------------------------------------
 */
.banner-jumbotron.dark h1, .banner-jumbotron.dark p {
	color: #fff;
	text-shadow: 0 1px 1px rgba(0,0,0,.4);
}

.banner-jumbotron {
	margin: 0 -15px;
}

.banner-jumbotron, .cover-image {
	background-repeat: no-repeat;
	background-position: center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

/*
 * Owl Carousel
 * --------------------------------------------------
 */
.owl-carousel {
	clear:both;
}
.owl-controls .owl-nav {
	position: absolute;
	top: -36px;
	right: 5px;
}
.owl-prev span, .owl-next span {
	font-size: 25px;
	color: #B4B4B3;
}
.owl-prev, .owl-next {
	display: inline-block;
}
.owl-prev {
	margin-right: 5px;
}
.owl-theme .owl-controls .owl-nav div {
	border-radius: 0px;
	background: transparent;
}

/*
 * Category Carousel
 * --------------------------------------------------
 */
.category-carousel {
	margin: 20px 0 5px 0;
}
.category-carousel .carousel-control {
	color:#777;
	z-index: 50;
	line-height: 38px;
	height: 38px;
	width: 38px;
	border:1px solid #ccc;
}
.category-carousel .carousel-control.left {
	left: auto;
	right: 46px;
	background-image: none;
	background-color:#fff;
	flter: none;
}
.category-carousel .carousel-control.right {
	background-image: none;
	background-color:#fff;
	flter: none;
}
.category-carousel .carousel-control .glyphicon-chevron-right,
.category-carousel .carousel-control .glyphicon-chevron-left {
	position:relative;
	top:3px;
	right:auto;
	left:auto;
	font-size: 25px;
	line-height: 30px;
	margin: 0;
}
.category-view-all {
	position: absolute;
	right: 85px;
	top: 0;
}
.category-view-all a {
	font-size:16px;
	line-height:40px;
}
.old-category-carousel h2 {
	margin: 0 0 10px 0;
}
.old-category-carousel .panel {
	position: relative;
	height: 200px;
	margin-bottom:15px;
}
.old-category-carousel .panel.has-thumb {
	border: none;
}
.old-category-carousel .excerpt-thumb {
	height: 200px;
	text-align:center;
	overflow:hidden;
}
.old-category-carousel .has-thumb .excerpt-thumb {
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-position: 50% 50%;
}
.old-category-carousel .excerpt-wrapper .excerpt-thumb {
	opacity:1;
    transition: opacity .35s ease-in-out;
    -webkit-transition: opacity .35s ease-in-out;
    -moz-transition: opacity .35s ease-in-out;
}
.old-category-carousel .excerpt-wrapper:hover .excerpt-thumb {
	opacity:0.7;
}
.old-category-carousel .excerpt-wrapper h3 {
	color:#333;
	position:absolute;
	top:0;
	bottom:0;
	left:0;
	right:0;
	margin: 0;
	padding: 50px 15px 10px 15px;
	text-align: left;
}
.old-category-carousel .excerpt-wrapper .has-thumb h3 {
	top:auto;
	color: #fff;
	padding-top:10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
	background-color:#000; /* fallback for browser that not support rgba */
	background-color:rgb(5,5,5); 
	background-color:rgba(5,5,5,.6); /* Works on all modern browsers */
	/*background: transparent url(./images/black50.png) repeat 0 0;*/
}
.old-category-carousel .excerpt-wrapper, .category-carousel .excerpt-wrapper h3 {
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-ms-transition: 0.3s;
	-o-transition: 0.3s;
	transition: 0.3s;     
}
.old-category-carousel .excerpt-wrapper:hover h3 {
	white-space: normal;
	text-overflow:none;
	padding-bottom:50px;
}
.old-category-carousel .status-private .excerpt-wrapper h3 {
	color: #CC0000;
}
.old-category-carousel .excerpt-wrapper a:hover {
	text-decoration:none;
}
.old-category-carousel article .wp-caption {
	position:relative;
	padding:0;
	margin: 0 0 10px 0;
	border-width: 0 0 1px 0;
}
.old-category-carousel article .wp-caption-text {
	position: absolute;
	margin: 0;
	top: 0;
	left: 0;
	right: 0;
	background-color: #fff;
	opacity:0.7;
	filter: alpha(opacity=70);
}

/*
 * Header Carousel
 * --------------------------------------------------
 */
/* Carousel base class */
.maga-carousel {
	width:auto;
	height: 500px;
	margin-bottom: 60px;
}
/* Since positioning the image, we need to help out the caption */
.maga-carousel h1 {
	font-size: 63px;
	color:#fff;
	z-index: 10;
}

.maga-carousel p {
	font-size: 20px;
}

/* Declare heights because of positioning of img element */
.maga-carousel .item {
	height: 500px;
	background-color: #777;
}
.maga-carousel .carousel-inner > .item {
  /*position: absolute;
  top: 0;
  left: 0;
  height: 500px;
  */
  height:500px;
  margin:0 auto;
}

/*
 * Featured Carousel
 * --------------------------------------------------
 */
.featured-carousel {
	background-color: #555;
	border: 1px solid #dedede;
	padding: 0 25px;
	margin: 0;
}

.featured-carousel h2 {
	color: #fff;
	margin: 15px 0;
}

.featured-carousel .panel {
	border:none;
}

.featured-carousel .excerpt-wrapper {
	overflow:hidden;
}

.featured-carousel .carousel-control {
	z-index: 50;
	line-height: 38px;
	height: 38px;
	width: 38px;
	background-image: none;
	background-color: transparent;
	flter: none;
	top:12px;
}

.featured-carousel .carousel-control.right {
	left: auto;
	right: 25px;
}

.featured-carousel .carousel-control.left {
	left: auto;
	right: 63px;
}

.featured-carousel .carousel-control.right:hover, .featured-carousel .carousel-control.left:hover {
	background-color:#777;
}

.featured-carousel .topic-bar:after {
	display:none;
}

/*
 * Grid View
 * --------------------------------------------------
 */
.grid-view .panel {
	height: 400px;
	position: relative;
}

.grid-view .panel-heading {
	min-height:90px;
}

/* panel - panel-heading - panel-footer */
.grid-view .panel-content {
	overflow:hidden;
	height:269px;
}

.grid-view .has-thumb .panel-heading {
	min-height:170px;
}

/* panel - panel-heading - panel-footer */
.grid-view .has-thumb .panel-content {
	height:189px;
}

.grid-view .panel h3 {
	margin-top:10px;
}

.grid-view .panel h3 a {
	color:#333;
}

.grid-view .panel h3 a:hover {
	text-decoration:none;
}

.grid-view .panel-body {
	margin-bottom:30px;
}

.grid-view .panel-footer {
	position:absolute;
	bottom:0;
	left:0;
	right:0;
	white-space: nowrap;
	overflow:hidden;
    text-overflow: ellipsis;
	height:41px;
	-webkit-box-shadow: 0px -20px 30px 0px rgba(255, 255, 255, 1);
	-moz-box-shadow: 0px -20px 30px 0px rgba(255, 255, 255, 1);
	box-shadow: 0px -20px 30px 0px rgba(255, 255, 255, 1);
}

.grid-view .excerpt-toolbar {
	bottom:50px;
}

/*
 * List View
 * --------------------------------------------------
 */
.list-view .excerpt-thumb {
	margin-bottom:-15px;
}

.list-view .topic-bar {
	left: 15px;
}

.list-view .panel-body .topic-bar {
	position: relative;
	top: auto;
	left: auto;
	margin-top: 15px;
}

.list-view .panel-body {
	padding: 0 15px;
	margin-left:30px;
}

.list-view .has-thumb .panel-body {
	margin-left:450px;
	height: 300px;
}

.list-view .panel {
	height: 300px;
	overflow:hidden;
}

.list-view h3 {
	clear:none;
}

.list-view h3 a {
	color: #333;
}

.list-view .excerpt-thumb {
	height:298px;
	float:left;
	min-width:30px;
	margin-right:20px;
	background-color:#f5f5f5;
	border-right:1px solid #ddd;
}

.list-view .has-thumb .excerpt-thumb {
	width:450px;
}

.list-view .entry-meta {
	margin: 10px 0;
	clear:none;
}

/*
 * Tile View
 * --------------------------------------------------
 */
.tile-view .excerpt-wrapper {
	margin: 15px 0;
}
.tile-view .panel {
	position: relative;
	height: 240px;
}
.tile-view .panel.has-thumb {
	border: none;
}

.tile-view .excerpt-thumb {
	height: 240px;
	text-align:center;
	overflow:hidden;
}

.tile-view .excerpt-wrapper h3 {
	color:#333;
	position:absolute;
	top:0;
	bottom:0;
	left:0;
	right:0;
	margin: 0;
	padding: 70px 15px 10px 15px;
	text-align: left;
}

.tile-view .excerpt-wrapper .has-thumb h3 {
	top:auto;
	color: #fff;
	padding-top:10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
	background-color:#000; /* fallback for browser that not support rgba */
	background-color:rgb(5,5,5); 
	background-color:rgba(5,5,5,.6); /* Works on all modern browsers */
	/*background: transparent url(./images/black50.png) repeat 0 0;*/
}

.tile-view .excerpt-wrapper, .tile-view .excerpt-wrapper h3 {
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-ms-transition: 0.3s;
	-o-transition: 0.3s;
	transition: 0.3s;     
}

.tile-view .excerpt-wrapper:hover h3 {
	white-space: normal;
	text-overflow:none;
	padding-bottom:50px;
}

.tile-view .status-private .excerpt-wrapper h3 {
	color: #CC0000;
}

.tile-view .excerpt-wrapper a:hover {
	text-decoration:none;
}

/*
 * Mini View
 * --------------------------------------------------
 */
.mini-view.row {
	margin-right:0;
	margin-left:0;
}
.mini-view .entry {
  overflow: hidden;
  padding: 0px 15px;
  border: 1px solid #d9d9d9;
  margin-bottom:-1px;
  margin-left:-1px;
  background-color:#fff;
}
.mini-view a {
  display: block;
}
.mini-view .entry-meta {
  padding-top: 15px;
  margin-bottom: 5px;
  text-transform: uppercase;
  font-size: 12px;
  line-height: 16px;
}
.mini-view .entry-title {
  font-size: 14px;
  line-height: 19px;
  margin: 15px 0;
  font-weight: normal;
}

.colheight-sm-1,
.colheight-sm-2,
.colheight-sm-3 {
  height: 155px;
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -ms-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
}

/*
 * Spotlight View
 * --------------------------------------------------
 */
.spotlight-view .cover-image {
	height:250px;
	width:250px;
	margin: 0 auto 10px auto;
}
.spotlight-view .col {
	margin-top: 20px;
	margin-bottom: 20px;
	text-align: center;
}
.spotlight-view h3 {
 	font-weight: normal;
}
.spotlight-view .col p {
	margin-right: 10px;
	margin-left: 10px;
}
.spotlight-container {
	position:relative;
	overflow:hidden;
	height:550px;
}
.spotlight-view .spotlight-footer {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	height: 50px;
	-webkit-box-shadow: 0px -20px 30px 0px rgba(255, 255, 255, 1);
	-moz-box-shadow: 0px -20px 30px 0px rgba(255, 255, 255, 1);
	box-shadow: 0px -20px 30px 0px rgba(255, 255, 255, 1);
	background-color:#fff;
}
.spotlight-view .spotlight-footer .btn {
	margin-top:10px;
}

/*
 * Featurette View
 * --------------------------------------------------
 */
.featurette-view .entry {
	margin-top:0;
	margin-bottom:0;
	overflow: hidden;
}

.featurette-view h2, .featurette-view h2 a {
	color: #5a5a5a;
	margin-top:0;
	font-weight: 300;
	line-height: 1.3em;
	letter-spacing: -1px;
}

.featurette-view p {
	margin-bottom: 20px;
	font-size: 20px;
	font-weight: 200;
	line-height: 30px;
}

.featurette-view .featurette-divider {
	margin: 40px 0;
	clear:both;
	border-top: 1px solid #dedede;
}

.featurette-view .excerpt-thumb {
	min-height:300px;
	width:450px;
}

.featurette-view .img-right, .featurette-view .img-right .excerpt-thumb {
	float:right;
}

/*
 * Responsive CSS
 * --------------------------------------------------
 */
@media screen and (max-width: 600px) {
	.grid-view .panel {
		height:500px;
	}
	.grid-view .panel-content {
		height:369px;
	}
	.grid-view .has-thumb .panel-content {
		height:289px;
	}
}

@media (min-width: 768px) {
	/* Bump up size of carousel content */
	.container-fluid .mega-carousel .carousel-caption p {
		margin-bottom: 20px;
		font-size: 21px;
		line-height: 1.4;
	}
	.tile-view .panel, .tile-view .excerpt-thumb, .tile-view .excerpt-thumb img {
		height:300px;
	}
	.featurette-view h2 {
		font-size: 35px;
	}
}

@media (max-width: 992px) {
	.container-fluid .mega-carousel,
	.container-fluid .mega-carousel .item,
	.container-fluid .mega-carousel .carousel-inner > .item > img {
		height:300px;
	}
    .colheight-sm-1 {
      height: 175px;
    }
    .colheight-sm-2 {
      height: 350px;
    }
    .colheight-sm-3 {
      height: 525px;
    }
    .colheight-md-1 {
      height: 175px;
    }
    .colheight-md-2 {
      height: 350px;
    }
    .colheight-md-3 {
      height: 525px;
    }
	.pull-left .featurette-image, .pull-right .featurette-image {
		display: block;
		float: none;
		max-width: 60%;
		margin: 0 auto 20px;
	}
	.list-view .panel {
		height:400px;
	}
	.list-view .excerpt-thumb {
		height:398px;
	}
	.list-view .topic-bar a {
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none;
	}
	.list-view .has-thumb .panel-body {
		margin-left: 300px;
		height:400px;
	}
	.list-view .has-thumb .excerpt-thumb {
		width:300px;
		height:398px;
		/*background-size:auto 100%;*/
	}
	.list-view h3 {
		font-size: 26px;
	}
	.list-view p {
		font-size: 18px;
	}
	.featurette-view .img-right, .featurette-view .img-right .excerpt-thumb {
		float:none;
	}
	.featurette-view .excerpt-thumb {
		width:600px;
		margin: 0 auto 30px auto;
	}
}

@media (min-width: 1200px) {
	.category-carousel .has-thumb .excerpt-thumb {
		background-size: auto 100%;
	}
    .colheight-sm-1,
    .colheight-md-1 {
      height: 200px;
    }
    .colheight-sm-2,
    .colheight-md-2 {
      height: 400px;
    }
    .colheight-sm-3,
    .colheight-md-3 {
      height: 600px;
    }
    .colheight-lg-1 {
      height: 200px;
    }
    .colheight-lg-2 {
      height: 400px;
    }
    .colheight-lg-3 {
      height: 600px;
    }
	.grid-view .action-toolbar {
		left: -2px;
		right: -2px;
	}
	.grid-view .action-toolbar.btn-toolbar>.btn-group {
		margin-left:2px;
	}
}

@media (max-width: 992px) {
	.tile-view .has-thumb .excerpt-thumb {
		background-size: auto 100%;
	}
}

@media (max-width: 767px) {
	.tile-view .has-thumb .excerpt-thumb {
		background-size: 100% auto;
	}
	.list-view .panel-body {
		margin-left: 0;
		padding-left:15px;
	}
	.list-view .has-thumb .panel-body {
		margin-left:0;
		padding-left:15px;
	}
	.list-view .excerpt-thumb {
		height:30px;
		margin:0;
		float:none;
		margin-bottom: 0;
		border-right:none;
		border-bottom:1px solid #ddd;
	}
	.list-view .has-thumb .excerpt-thumb {
		width: 100%;
		height: 300px;
	}
	.list-view h3 {
		margin-top:20px;
	}
	.list-view .post-format {
		top: -20px;
		margin-left: -20px;
		left: 50%;
	}
}

@media screen and (max-width: 600px) {
	.list-view .has-thumb .excerpt-thumb {
		height: 200px;
	}
	.tile-view .has-thumb .excerpt-thumb {
		background-size: auto 100%;
	}
	.featurette-view .img-right, .featurette-view .img-right .excerpt-thumb {
		float:none;
	}
	.featurette-view .excerpt-thumb {
		width:100%;
		margin-bottom:30px;
	}
}