/*!
 * Bootstrap v3.3.7 (http://getbootstrap.com)
 * Copyright 2011-2017 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */

/*!
 * Generated using the Bootstrap Customizer (http://getbootstrap.com/docs/3.3/customize/?id=5d7ce1c386359d62dfe3f1b5343fc70e)
 * Config saved to config.json and https://gist.github.com/5d7ce1c386359d62dfe3f1b5343fc70e
 */
/*!
 * Bootstrap v3.3.7 (http://getbootstrap.com)
 * Copyright 2011-2016 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */

/*SolaDev Frequent Use Classes*/

.bg-img /*In order to work properly, the parent element needs to be set to position: relative*/ {
	-o-object-fit: cover;
	object-fit: cover;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: -1;
}

.dark-overlay /*Optional - Only required if text over bg-img*/ {
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: rgba(0,0,0,0.35);
	content: '';
	position: absolute;
	z-index: -1;
}

.cover-link /**/ {
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	content: '';
	position: absolute;
}

/* Carousel Header */

#related-posts > header {
	background: #fff;
	height: 66px;
	/*Flex*/
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-moz-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: justify;
	-webkit-justify-content: center;
	-ms-flex-pack: justify;
	-moz-box-pack: center;
	justify-content: center;
}

#related-posts > header > h1 {
	font-family: 'Crimson Text', serif;
	font-style: italic;
	color: #AFB1B3;
	font-weight: 600;
	font-size: 16px;
	line-height: 1;
	margin: 0;
}

@media (min-width: 768px) {
	
	#related-posts > header {
		height: 80px;
		background: #4C4C4C;
	}
	
	#related-posts > header > h1 {
		font-size: 22px;
		color: #fff;
	}
	
}

@media (min-width: 992px) {
	
	#related-posts > header {
		height: 90px;
	}
	
	#related-posts > header > h1 {
		font-size: 23px;
	}
	
}

/* Carousel */

.carousel {
  position: relative;
}
.carousel-inner {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.carousel-inner > .item {
  display: none;
  position: relative;
  -webkit-transition: 0.6s ease-in-out left;
  -o-transition: 0.6s ease-in-out left;
  transition: 0.6s ease-in-out left;
	padding-bottom: 300px;
}

.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
  line-height: 1;
}

@media all and (transform-3d), (-webkit-transform-3d) {
  .carousel-inner > .item {
    -webkit-transition: -webkit-transform 0.6s ease-in-out;
    -o-transition: -o-transform 0.6s ease-in-out;
    transition: transform 0.6s ease-in-out;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000px;
    perspective: 1000px;
  }
  .carousel-inner > .item.next,
  .carousel-inner > .item.active.right {
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
    left: 0;
  }
  .carousel-inner > .item.prev,
  .carousel-inner > .item.active.left {
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
    left: 0;
  }
  .carousel-inner > .item.next.left,
  .carousel-inner > .item.prev.right,
  .carousel-inner > .item.active {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    left: 0;
  }
}
.carousel-inner > .active,
.carousel-inner > .next,
.carousel-inner > .prev {
  display: block;
}
.carousel-inner > .active {
  left: 0;
}
.carousel-inner > .next,
.carousel-inner > .prev {
  position: absolute;
  top: 0;
  width: 100%;
}
.carousel-inner > .next {
  left: 100%;
}
.carousel-inner > .prev {
  left: -100%;
}
.carousel-inner > .next.left,
.carousel-inner > .prev.right {
  left: 0;
}
.carousel-inner > .active.left {
  left: -100%;
}
.carousel-inner > .active.right {
  left: 100%;
}

.carousel-control {
	position: absolute;
	top: calc(50% - 15px);
	filter: alpha(opacity=50);
	color: #ffffff;
	font-size: 13px;
	width: 30px;
	height: 30px;
	text-decoration: none;
	-webkit-border-radius: 50px;
	-moz-border-radius: 50px;
	border-radius: 50px;
	background: rgba(0,0,0,.5);
	line-height: 1;
	/*Flex*/
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-moz-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: justify;
	-webkit-justify-content: center;
	-ms-flex-pack: justify;
	-moz-box-pack: center;
	justify-content: center;
}
.carousel-control.left {
  padding-right: 3px;
	margin-left: calc(10% - 15px);
}
.carousel-control.right {
	padding-left: 3px;
	left: auto;
	right: 0;
	margin-right: calc(10% - 15px);
}
.carousel-control:hover,
.carousel-control:focus {
  outline: 0;
  color: #ffffff;
  text-decoration: none;
  opacity: 0.9;
  filter: alpha(opacity=90);
}

/*Carousel*/

.carousel-caption {
	background: rgba(255,255,255,.9);
	color: #36342F;
	text-align: center;
	position: absolute;
	top: 25%;
	right: 20%;
	left: 20%;
	bottom: 25%;
	/*Flex*/
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	padding: 20px;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-moz-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: justify;
	-webkit-justify-content: center;
	-ms-flex-pack: justify;
	-moz-box-pack: center;
	justify-content: center;
	-moz-box-direction: column;
	-webkit-box-direction: column;
	-webkit-box-orient: virtical;
	-webkit-flex-direction: column;
	-ms-flexbox-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
}

.carousel-caption h1 {
	-ms-order: 2;
	-webkit-order: 2;
	order: 2;
	margin: 10px 0 0;
	font-weight: 700;
	font-size: 22px;
	font-family: Montserrat, Helvetica, sans-serif;
	-webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
	line-height: 1.6;
}

.carousel-caption time {
	font-size: 12px;
	font-family: Roboto, Helvetica, sans-serif;
	font-weight: 400;
	color: rgba(0,0,0,.3);
}

@media (min-width: 768px) {
	
	.carousel-inner > .item {
		padding-bottom: 350px;
	}
	
	.carousel-caption {
		top: 20%;
		right: 10%;
		left: 10%;
		bottom: 20%;
		padding: 30px;
	}
	
	.carousel-caption h1 {
		font-size: 40px;
	}
	
	.carousel-caption time {
		font-size: 15px;
	}
	
	.carousel-control {
		font-size: 20px;
		width: 40px;
		height: 40px;
	}
	
	.carousel-control.left {
		margin-left: calc(5% - 20px);
	}
	
	.carousel-control.right {
		margin-right: calc(5% - 20px);
	}
	
}

@media (min-width: 992px) {
	
	.carousel-inner > .item {
		padding-bottom: 405px;
	}
	
	.carousel-caption {
		top: 20%;
		bottom: 20%;
		margin-left: auto;
		margin-right: auto;
		padding: 30px;
		width: 660px;
	}
	
	.carousel-caption h1 {
		font-size: 45px;
	}
	
	.carousel-caption time {
		font-size: 16px;
	}
	
	.carousel-control.left {
		margin-left: 30px;
	}
	
	.carousel-control.right {
		margin-right: 40px;
	}
	
}

@media (min-width: 1200px) {

	.controls {
	  position: absolute;
	  margin: 0 auto;
	  max-width: 1170px;
	  top: 0;
	  left: 0;
	  right: 0;
	  bottom: 0;
	}

	.controls .left.carousel-control,
	.controls .right.carousel-control {
		margin: 0px;
	}

}