/*
Theme Name: New Narrative
Theme URI: http://www.newnarrative.media
Author: Ernst Jansen
Author URI: https://www.linkedin.com/in/ernstjansen/
Description: The theme for the New Narrative website
Version: 2.1.4
*/

/* Generic */
body {
	background-color: #FFF;
	color:#565656;
	font-family: 'Lato', sans-serif;
	font-size:15px;
}

textarea {
	resize: vertical;
}

a {
	color:#FFD80D;
}

a:hover {
	color:#FFD80D;
}

a:active, a:focus, button:active, button:focus {
	outline:none;
	color:#FFD80D;
}

.scroll-progress {
	height: 2px;
	background:#FFF;
}

#progress-bar {
	background:#FFD80D;
	height: 2px;
}

#sticky-wrapper {
	z-index: 10000;
	position: relative;
}

.pull-left {
	float:left;
}

img.alignleft {
	float:left;
	margin-right:15px;
	margin-bottom:10px;
}

img.alignright {
	float:right;
	margin-left:15px;
	margin-bottom:10px;
}

.content-wrap img {
	height:auto;
	max-width:100%;
}

.bck-cover.showing-video {
	background:#000 !important;
}

.bck-cover {
	background-attachment: scroll;
	background-position: center center;
	background-repeat: no-repeat;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

.bck-cover.fixed {
	background-attachment: fixed;
}

.parallax {
    background-color: #F9F9F9;
    background-position: 50% center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
	margin-top:0;
	text-transform:uppercase;
	font-weight:900;
}

h1, h2, h3 {
	font-size:20px;
	line-height:26px;
}

h3 {
	font-size:16px;
	line-height:20px;
}

h4, h5, h6 {
	font-size:14px;
	line-height:18px;
}

.text-right { text-align:right; }
.text-nowrap { white-space:nowrap; }
.text-center { text-align: center; }

img {
	max-width:100%;
	height:auto;
}

.embed-container {
	position: relative;
	padding-bottom: 38.0%;
	height: 0;
	overflow: hidden;
	max-width: 100%;
}

.embed-container.ar_2_35x1 {
	padding-bottom: 42.5%;
}

.embed-container.ar_16x9 {
	padding-bottom: 56.2%;
}

.embed-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.header-section {
	position: relative;
}

.header-section .arrow-down {
	position: absolute;
	bottom:20px;
	left:0;
	right:0;
	background-repeat: no-repeat;
	background-position: center center;
	background-image: url(img/arrow-down.png);
	height: 14px;
}

.postdate {
	color:#C0C0C0;
}

.glyphicons {
	vertical-align:baseline;
}

.content-wrap .entry-content .padding-top-0 {
	padding-top:0;
}

.content-wrap .entry-content .padding-bottom-0 {
	padding-bottom:0;
}
.form-control {
	padding:9px 12px;
	background-color:#0A0A0A;
	color:#FFF;
	border-color:#DEDEDE;
	border-radius: 0;
	height: auto;
}

.form-control:focus {
    border-color: #E1BF00;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(225, 191, 0, 0.6);
    outline: 0 none;
}

.form-control::-webkit-input-placeholder {
   color: #444444;
}

.form-control:-moz-placeholder { /* Firefox 18- */
   color: #444444;  
}

.form-control::-moz-placeholder {  /* Firefox 19+ */
   color: #444444;  
}

.form-control:-ms-input-placeholder {  
   color: #444444;  
}

ul.icon {
	list-style:none;
	padding:0;
	margin-bottom:20px;
}

ul.icon li {
	padding-left:30px;
	position:relative;
	margin-bottom:10px;
}

ul.icon li .glyphicons {
	position:absolute;
	display:block;
	left:0;
	top:0;
	font-size:22px;
	line-height:22px;
}

.row-xs {
    margin-left: -5px;
    margin-right: -5px;
}

.row-xs .col-xs-1, .row-xs .col-sm-1, .row-xs .col-md-1, .row-xs .col-lg-1, .row-xs .col-xs-2, .row-xs .col-sm-2, .row-xs .col-md-2, .row-xs .col-lg-2, .row-xs .col-xs-3, .row-xs .col-sm-3, .row-xs .col-md-3, .row-xs .col-lg-3, .row-xs .col-xs-4, .row-xs .col-sm-4, .row-xs .col-md-4, .row-xs .col-lg-4, .row-xs .col-xs-5, .row-xs .col-sm-5, .row-xs .col-md-5, .row-xs .col-lg-5, .row-xs .col-xs-6, .row-xs .col-sm-6, .row-xs .col-md-6, .row-xs .col-lg-6, .row-xs .col-xs-7, .row-xs .col-sm-7, .row-xs .col-md-7, .row-xs .col-lg-7, .row-xs .col-xs-8, .row-xs .col-sm-8, .row-xs .col-md-8, .row-xs .col-lg-8, .row-xs .col-xs-9, .row-xs .col-sm-9, .row-xs .col-md-9, .row-xs .col-lg-9, .row-xs .col-xs-10, .row-xs .col-sm-10, .row-xs .col-md-10, .row-xs .col-lg-10, .row-xs .col-xs-11, .row-xs .col-sm-11, .row-xs .col-md-11, .row-xs .col-lg-11, .row-xs .col-xs-12, .row-xs .col-sm-12, .row-xs .col-md-12, .row-xs .col-lg-12 {
	padding-left: 5px;
    padding-right: 5px;
}

.the-line {
	text-align: center;
	vertical-align: middle;
    font-size: 1px;
    line-height: 1px;
	margin-top:4px;
	margin-bottom:4px;
}

.the-line span {
	display: inline-block;
	width:100%;
	max-width: 226px;
	border-bottom:2px solid #FFD80D;
	vertical-align: middle;
    font-size: 1px;
    line-height: 1px;
}

.container.absolute-container {
	position: absolute;
	top:0;
	right:0;
	bottom:0;
	left:0;
}

.header-title {
	position: absolute;
	bottom:0;
	left:0;
	right:0;
	padding-bottom:70px;
}

@media (min-width:768px) and (max-width:991px) {
	body .header-title {
		padding-bottom:70px;
	}
}
@media (min-width:992px) and (max-width:1199px) {
	body .header-title {
		padding-bottom:80px;
	}
}
@media (min-width:1200px) {
	body .header-title {
		padding-bottom:90px;
	}
}

body .title-lg {
	text-align:center;
	font-size: 32px;
	line-height: 32px;
	font-weight: normal;
	text-transform: uppercase;
	vertical-align: middle;
	color:#FFF;
	margin-bottom:0;
	font-family: "ff-good-headline-web-pro-con";
}

body .title-lg a:hover,
body .title-lg a:active,
body .title-lg a:focus {
	text-decoration: none;
}

body .title-lg span {
	color:#FFD80D;
	font-weight: bold;
}

body .title-sm {
	font-size: 18px;
	line-height: 18px;
	font-weight: normal;
	font-family: "ff-good-headline-web-pro-con";
}

.home-contact .title {
	font-family: "ff-good-headline-web-pro-con";
	color:#FFD80D;
	font-weight: bold;
}

@media (min-width:768px) and (max-width:991px) {
	body .title-lg {
		font-size: 34px;
		line-height: 34px;
	}
	body .title-sm {
		font-size: 18px;
		line-height: 18px;
	}
}
@media (min-width:992px) and (max-width:1199px) {
	body .title-lg {
		font-size: 36px;
		line-height: 36px;
	}
	body .title-sm {
		font-size: 18px;
		line-height: 18px;
	}
}
@media (min-width:1200px) {
	body .title-lg {
		font-size: 38px;
		line-height: 38px;
	}
	body .title-sm {
		font-size: 20px;
		line-height: 20px;
	}
}

.container {
	position: relative;
}

.project-home {
	--project-home-min-height: 300px;
	position: relative;
	margin-bottom:-1px;
	overflow: hidden;
	min-height: var(--project-home-min-height);
}

.project-home.project-video .embed-container {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding-bottom: 0;
	overflow: hidden;
}

.project-home.project-video .embed-container iframe {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100vw;
	height: 56.25vw;
	min-height: 100%;
	min-width: 177.78vh;
	transform: translate(-50%, -50%);
}

.project-home .container {
	position: absolute;
	top:0;
	bottom:0;
	left:0;
	right:0;
}

.no-video .project-home .container {
	position: relative;
	top:auto;
	bottom: auto;
	left:auto;
	right: auto;
	min-height: 400px;
}

.project-home.project-no-video .container {
	min-height: 300px;
	position: relative;
}

@media (min-width:768px) {
	.project-home {
		--project-home-min-height: 490px;
	}

	.project-home.project-no-video .container {
		min-height: 490px;
	}
}

.project-home .row {
	position: absolute;
	bottom: 20px;
	left:15px;
	right:15px;
}

.project-home .project-permalink {
	z-index: 100;
	position: absolute;
	top:0;
	left:0;
	bottom:0;
	right:0;
}

.project-home .project-title {
	border-left:2px solid #FFD80D;
	padding-left:20px;
	color:#FFF;
}

.project-home .title-project {
	font-size:22px;
	line-height: 20px;
	margin-bottom:0;
	font-family: "ff-good-headline-web-pro-con";
}

.project-home .subtitle-project {
	font-size:18px;
	line-height: 16px;
	font-weight: normal;
	margin-bottom:0;
	font-family: "ff-good-headline-web-pro-con";
}

@media (min-width:768px) and (max-width:991px) {
	.project-home .row {
		bottom:40px;
	}
	.project-home .title-project {
		font-size:28px;
		line-height: 26px;
	}
	.project-home .subtitle-project {
		font-size:20px;
		line-height: 20px;
	}
}
@media (min-width:992px) and (max-width:1199px) {
	.project-home .row {
		bottom:60px;
	}
	.project-home .title-project {
		font-size:34px;
		line-height: 34px;
		margin-bottom:2px;
	}
	.project-home .subtitle-project {
		font-size:24px;
		line-height: 22px;
	}
}
@media (min-width:1200px) {
	.project-home .row {
		bottom:80px;
	}
	.project-home .title-project {
		font-size:38px;
		line-height: 36px;
		margin-bottom:2px;
	}
	.project-home .subtitle-project {
		font-size:24px;
		line-height: 24px;
	}
}

.home-contact a {
	color:#565656;
}

.home-contact .title {
	font-family: "ff-good-headline-web-pro-con";
	color:#FFD80D;
	font-weight: bold;
	font-size:18px;
	line-height:18px;
}

.home-contact .ultra-large {
	font-size: 38px;
	line-height: 38px;
	letter-spacing: 4px;
	font-weight: normal;
	text-transform: uppercase;
	vertical-align: middle;
	color:#FFF;
	margin-bottom:0;
	font-family: "ff-good-headline-web-pro-con";
	text-align:center;
	margin-bottom:30px;
}

.home-contact .ultra-large span {
	color:#FFD80D;
	font-weight: bold;
}

@media (min-width:768px) {
	.home-contact .ultra-large {
		text-align:center;
		margin-bottom:0px;
	}
}
@media (min-width:768px) and (max-width:991px) {
	.home-contact .ultra-large {
		font-size: 43px;
		line-height: 43px;
		letter-spacing: 3px;
		margin-top:-2px;
	}
}
@media (min-width:992px) and (max-width:1199px) {
	.home-contact .ultra-large {
		font-size: 56px;
		line-height: 56px;
		letter-spacing: 4px;
		margin-top:-6px;
	}
}
@media (min-width:1200px) {
	.home-contact .ultra-large {
		font-size: 60px;
		line-height: 60px;
		letter-spacing: 5px;
		margin-top:-10px;
	}
}

.about {
	padding-top:80px;
	padding-bottom:80px;
	color:#FFF;
}

.about .title-sm,
.more-projects .the-line,
.home-contact .the-line {
	margin-bottom:30px;
}

.more-projects {
	padding-top:80px;
	padding-bottom:80px;
}

body .more-projects .title-lg,
body .more-projects .title-lg a,
body .home-contact .title-lg,
body .home-contact .ultra-large {
	color:#000;
}
/* Slides header */
.rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
  }

.rslides li {
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
  }

.rslides li:first-child {
  position: relative;
  display: block;
  float: left;
  }

.rslides img {
  display: block;
  height: auto;
  float: left;
  width: 100%;
  border: 0;
  }
/* Project Archive */
#projects-archive {
	padding-top:30px;
	padding-bottom:40px;
}

#projects-archive a h3 {
	color:#565656;
	font-family: "ff-good-headline-web-pro-con";
	font-size:22px;
	line-height: 26px;
}

#projects-archive a {
	display: block;
}

#projects-archive a:hover,
#projects-archive a:active,
#projects-archive a:focus {
	text-decoration:none;
}

#projects-archive .item {
	float:left;
	padding-left:8px;
	padding-right:8px;
	height: auto;
}

#projects-archive .item img {
	margin-bottom:8px;
	margin-top:8px;
}
@media (min-width:630px) and (max-width:767px) {
	#projects-archive .item {
		padding-left:8px;
		padding-right:8px;
	}
}
@media (min-width:768px) and (max-width:991px) {
	#projects-archive .item {
		padding-left:8px;
		padding-right:8px;
	}
	#projects-archive a h3 {
		font-size:22px;
		line-height: 24px;
	}
}
@media (min-width:992px) and (max-width:1199px) {
	#projects-archive .item {
		padding-left:8px;
		padding-right:8px;
	}
	#projects-archive a h3 {
		font-size:22px;
		line-height: 24px;
	}
}
@media (min-width:1200px) {
	#projects-archive .item {
		padding-left:8px;
		padding-right:8px;
	}
	#projects-archive a h3 {
		font-size:24px;
		line-height: 26px;
	}
}

/* Project Detail */
.project-details {
	padding-top:70px;
	padding-bottom:60px;
}

.project-details .project-title {
	border-left:2px solid #FFD80D;
	padding-left:20px;
	margin-bottom:40px;
}

.project-details .title-project {
	font-size:42px;
	line-height: 38px;
	margin-bottom:0;
	font-family: "ff-good-headline-web-pro-con";
}

.project-details .subtitle-project {
	font-size:22px;
	line-height: 30px;
	font-weight: normal;
	margin-bottom:0;
	font-family: "ff-good-headline-web-pro-con";
}

.social-sharing {
	list-style: none;
	margin:0 0 40px 0;
	padding:0;
	display: block;
}

.social-sharing li {
	display: inline-block;
	margin:0 15px 15px 0;
}

.social-sharing.social-sharing-footer {
	margin-left:-10px;
	margin-right:-10px;
}

.social-sharing.social-sharing-footer li {
	margin:0 0 10px 10px;
}

.social-sharing li a {
	width:46px;
	height: 46px;
	overflow: hidden;
	background-position: center top;
	background-repeat: no-repeat;
	display: inline-block;
}

.social-sharing li a:hover,
.social-sharing li a:active,
.social-sharing li a:focus {
	background-position: center bottom;
}

.social-sharing li a.mail { background-image: url(img/sharing-mail.png); }
.social-sharing li a.facebook { background-image: url(img/sharing-facebook.png); }
.social-sharing li a.twitter { background-image: url(img/sharing-twitter.png); }
.social-sharing li a.linkedin { background-image: url(img/sharing-linkedin.png); }

.single .project-details .social-sharing li a.mail { background-image: url(img/sharing-mail-black.png); }
.single .project-details .social-sharing li a.facebook { background-image: url(img/sharing-facebook-black.png); }
.single .project-details .social-sharing li a.twitter { background-image: url(img/sharing-twitter-black.png); }
.single .project-details .social-sharing li a.linkedin { background-image: url(img/sharing-linkedin-black.png); }

/* Header */
.navbar-default {
	background:#FFF;
	border:none;
	margin-bottom:0;
}

.navbar-default .navbar-toggle {
	margin-top: 17px;
	margin-bottom: 17px;
}

.navbar-default .navbar-toggle .icon-bar {
	background:#000;
}

.navbar-default .navbar-toggle:hover .icon-bar,
.navbar-default .navbar-toggle:focus .icon-bar{
	background:#000;
}

.navbar-default .navbar-toggle {
    background-color: #FFD80D;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: #FFE250;
}

body .navbar #menu-main-menu>li>a {
	text-transform: uppercase;
	font-weight: bold;
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	color:#565656;
	background-color: #FFF;
}

body .navbar #menu-main-menu>li>a:hover,
body .navbar #menu-main-menu>li>a:active,
body .navbar #menu-main-menu>li>a:focus {
	color:#FFD80D;
}

body .navbar #menu-main-menu>li.lightgrey>a {
	color:#7A7A7A;
}

body .navbar #menu-main-menu>li.lightgrey>a:hover,
body .navbar #menu-main-menu>li.lightgrey>a:active,
body .navbar #menu-main-menu>li.lightgrey>a:focus {
	color:#FFD80D;
}

.navbar-brand {
	height:auto;
	padding: 10px 15px;
}

.navbar-brand img {
	max-height: 50px;
	width:auto;
}

@media (min-width:768px) {
	.navbar-brand {
		float:none;
		display:block;
		padding: 15px 15px;
	}
	
	.navbar-brand img {
		max-height: none;
	}
	
	.navbar-nav>li>a {
		padding-top: 34px;
		padding-bottom: 34px;
	}
}

/* Footer */
.footer-wrap {
	padding-top:40px;
	background:#5D6367;
	color:#FFF;
}

.footer .col {
	margin-bottom:20px;
}

.footer .menu-list {
	list-style: none;
	padding:0;
	margin:0;
}

.footer .menu-list li {
	margin-bottom:18px;
}

.footer .menu-list a {
	text-decoration: none;
	text-transform: uppercase;
	color:#FFF;
	font-weight: bold;
	font-size: 14px;
}

.footer .menu-list a:hover,
.footer .menu-list a:active,
.footer .menu-list a:focus {
	color:#FFD80D;
}

.footer .footer-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer .footer-list li {
    margin-bottom: 10px;
    line-height: 1.1;
}

.footer .footer-list a {
	text-decoration: none;
	color: #D2D2D2;
	font-size: 16px;
}

.footer .footer-list a::after {
	content: '\00BB';
	margin-left: 6px;
	font-size: 18px;
	color: #D2D2D2;
	font-weight: bold;
}

.footer .footer-list a:hover,
.footer .footer-list a:active,
.footer .footer-list a:focus {
	color: #E8E8E8;
}

/* Page Content */
.page .entry-title {
	margin-top:30px;
	margin-bottom:30px;
}

/* Form */
.fv-form-bootstrap .fv-bootstrap-icon-input-group {
	position:absolute;
    right: -10px;
    top: 10px;
}

.select-inline .input-group select#applydateofbirthd {
    width: 32%;
}

.select-inline .input-group select#applydateofbirthm {
    width: 36%;
}

.select-inline .input-group select#applydateofbirthy {
    width: 32%;
}

.btn-group .form-control-feedback {
	position:absolute;
	right:-35px;
	top:9px;
}

input[type="submit"], button[type="submit"] {
	text-transform:none;
	white-space: normal;
	padding:10px 15px;
	border:none;
	border-radius:0;
	font-weight:bold;
    background: #FFD80D;
    color: #000;
}

#nncform button[type="submit"] {
	width:100%;
}

input[type="submit"]:hover, button[type="submit"]:hover,
input[type="submit"]:active, button[type="submit"]:active,
input[type="submit"]:focus, button[type="submit"]:focus {
	background:#E1BF00;
	color:#000;
}

.btn-group>.btn,
.btn-group-vertical>.btn {
	text-transform: none;
	border: 1px solid #ccc;
	padding: 6px 12px;
	border-radius:4px;
	font-weight:normal;
}

.form-group label {
	padding-top:8px;
}

body .has-feedback .form-control {
	top:12px;
}

body .has-feedback .form-control {
    padding-right: 20px;
}

.has-error .form-control {
	border-color:#F00;
}

.has-error .form-control:focus {
	border-color:#F00;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 6px #F00;
}

body form.form-wrap .row .has-feedback .form-control-feedback.glyphicons {
	top:12px;
	right:10px;
}

body form.form-wrap .row.row-xs .has-feedback .form-control-feedback.glyphicons {
	top:12px;
	right: 0;
}

body form .has-error .form-control-feedback.form-control-feedback.glyphicons {
	color:#F00;
}

.fv-form-bootstrap .help-block {
	color:#F00;
}

#formbuilder .form-control-feedback {
	line-height: 34px;
	right: -26px;
}

#formbuilder .form-group {
    margin-bottom: 8px;
}

@media (min-width: 768px) {
	.fv-form-bootstrap .fv-bootstrap-icon-input-group {
		right: -15px;
	}
}

/* Page Block: Content Columns */
.content-columns .col {
	padding-top:30px;
	padding-bottom:30px;
}

.content-columns .col-orange {
	background: rgb(240, 126, 0);
	background: rgba(240, 126, 0, 0.8);
	color:#FFF;
}

.content-columns .col-orange.col-orange-solid {
	background: rgb(240, 126, 0);
}

.content-columns .col-orange a {
	color:#FFF;
	text-decoration:underline;
}

.content-columns .col-orange a.btn {
	text-decoration:none;
}

.content-columns .col-orange a:hover,
.content-columns .col-orange a:active,
.content-columns .col-orange a:focus {
	text-decoration:underline;
}

.content-columns .col-orange a.btn:hover,
.content-columns .col-orange a.btn:active,
.content-columns .col-orange a.btn:focus {
	text-decoration:none;
}

/* Carousel */
.home-img-carousel {
	padding-top: 80px;
    padding-bottom: 80px;
}

.prevItem {
	position: absolute;
	left:0;
	top:0;
	bottom:0;
	width:30px;
	background-image: url(img/item-prev-inactive.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.prevItem:hover {
	background-image: url(img/item-prev-active.png);
}

.nextItem {
	position: absolute;
	right:0;
	top:0;
	bottom:0;
	width:30px;
	background-image: url(img/item-next-inactive.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.nextItem:hover {
	background-image: url(img/item-next-active.png);
}

@media (min-width:860px) and (max-width:991px) {
	.prevItem {	left:-45px; }
	.nextItem { right:-45px; }
}

@media (min-width:1080px) and (max-width:1199px) {
	.prevItem {	left:-45px; }
	.nextItem { right:-45px; }
}

@media (min-width:1280px) {
	.prevItem {	left:-45px; }
	.nextItem { right:-45px; }
}

/* Carousel Team */
#carousel-team .carousel-item {
	float:left;
	width:250px;
	padding-left:8px;
	padding-right:8px;
	height: auto;
}

#carousel-team .carousel-item img {
	margin-bottom:8px;
	margin-top:8px;
}

@media (min-width:768px) and (max-width:991px) {
	#carousel-team .carousel-item {
		width:240px;
		padding-left:8px;
		padding-right:8px;
	}
}
@media (min-width:992px) and (max-width:1199px) {
	#carousel-team .carousel-item {
		width:235px;
		padding-left:8px;
		padding-right:8px;
	}
}
@media (min-width:1200px) {
	#carousel-team .carousel-item {
		width:285px;
		padding-left:8px;
		padding-right:8px;
	}
}

/* Carousel Projects */
#carousel-projects a h3 {
	color:#565656;
	font-family: "ff-good-headline-web-pro-con";
	font-size:22px;
	line-height: 26px;
}

#carousel-projects a {
	display: block;
}

#carousel-projects a:hover,
#carousel-projects a:active,
#carousel-projects a:focus {
	text-decoration:none;
}

#carousel-projects .carousel-item {
	float:left;
	width:300px;
	padding-left:8px;
	padding-right:8px;
	height: auto;
}

#carousel-projects .carousel-item img {
	margin-bottom:8px;
	margin-top:8px;
}
@media (min-width:630px) and (max-width:767px) {
	#carousel-projects .carousel-item {
		width:290px;
		padding-left:8px;
		padding-right:8px;
	}
}
@media (min-width:768px) and (max-width:991px) {
	#carousel-projects .carousel-item {
		width:360px;
		padding-left:8px;
		padding-right:8px;
	}
	#carousel-projects a h3 {
		font-size:22px;
		line-height: 24px;
	}
}
@media (min-width:992px) and (max-width:1199px) {
	#carousel-projects .carousel-item {
		width:313px;
		padding-left:8px;
		padding-right:8px;
	}
	#carousel-projects a h3 {
		font-size:22px;
		line-height: 24px;
	}
}
@media (min-width:1200px) {
	#carousel-projects .carousel-item {
		width:380px;
		padding-left:8px;
		padding-right:8px;
	}
	#carousel-projects a h3 {
		font-size:24px;
		line-height: 26px;
	}
}

/* Carousel Project */
.carousel-wrapper {
	position: relative;
	margin-bottom:40px;
}

.project-gallery-nav {
	text-align:center;
	margin-top:10px;
}

.prevItemProject {
	width:21px;
	height:21px;
	background-image: url(img/item-prev-inactive.png);
	background-repeat: no-repeat;
	background-position: center center;
	background-size:21px 21px;
	display: inline-block;
	margin-right:10px;
}

.prevItemProject:hover {
	background-image: url(img/item-prev-active.png);
}

.nextItemProject {
	width:21px;
	height: 21px;
	background-image: url(img/item-next-inactive.png);
	background-repeat: no-repeat;
	background-position: center center;
	background-size:21px 21px;
	display: inline-block;
	margin-left:10px;
}

.nextItemProject:hover {
	background-image: url(img/item-next-active.png);
}

#carousel-project .carousel-item {
	float:left;
	width:146px;
	padding-left:4px;
	padding-right:4px;
	height: auto;
}

#carousel-project .carousel-item img {
	margin-bottom:4px;
	margin-top:4px;
}

@media (min-width:768px) and (max-width:991px) {
	#carousel-project .carousel-item {
		width:172px;
		padding-left:4px;
		padding-right:4px;
	}
}
@media (min-width:992px) and (max-width:1199px) {
	#carousel-project .carousel-item {
		width:124px;
		padding-left:4px;
		padding-right:4px;
	}
}
@media (min-width:1200px) {
	#carousel-project .carousel-item {
		width:152px;
		padding-left:4px;
		padding-right:4px;
	}
}

@media (min-width:768px) {}
@media (min-width:768px) and (max-width:991px) {}
@media (min-width:992px) and (max-width:1199px) {}
@media (min-width:1200px) {}

/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */
.fancybox-wrap,
.fancybox-skin,
.fancybox-outer,
.fancybox-inner,
.fancybox-image,
.fancybox-wrap iframe,
.fancybox-wrap object,
.fancybox-nav,
.fancybox-nav span,
.fancybox-tmp
{
	padding: 0;
	margin: 0;
	border: 0;
	outline: none;
	vertical-align: top;
}

.fancybox-wrap {
	position: absolute;
	top: 0;
	left: 0;
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
	z-index: 8020;
}

.fancybox-skin {
	position: relative;
	background: #f9f9f9;
	color: #444;
	text-shadow: none;
	-webkit-border-radius: 4px;
	   -moz-border-radius: 4px;
	        border-radius: 4px;
}

.fancybox-opened {
	z-index: 8030;
}

.fancybox-opened .fancybox-skin {
	-webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	   -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.fancybox-outer, .fancybox-inner {
	position: relative;
}

.fancybox-inner {
	overflow: hidden;
}

.fancybox-type-iframe .fancybox-inner {
	-webkit-overflow-scrolling: touch;
}

.fancybox-error {
	color: #444;
	font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
	margin: 0;
	padding: 15px;
	white-space: nowrap;
}

.fancybox-image, .fancybox-iframe {
	display: block;
	width: 100%;
	height: 100%;
}

.fancybox-image {
	max-width: 100%;
	max-height: 100%;
}

#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
	background-image: url(img/fancybox_sprite.png);
}

#fancybox-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	margin-top: -22px;
	margin-left: -22px;
	background-position: 0 -108px;
	opacity: 0.8;
	cursor: pointer;
	z-index: 8060;
}

#fancybox-loading div {
	width: 44px;
	height: 44px;
	background: url(img/fancybox_loading.gif) center center no-repeat;
}

.fancybox-close {
	position: absolute;
	top: -18px;
	right: -18px;
	width: 36px;
	height: 36px;
	cursor: pointer;
	z-index: 8040;
}

.fancybox-nav {
	position: absolute;
	top: 0;
	width: 40%;
	height: 100%;
	cursor: pointer;
	text-decoration: none;
	background: transparent url(img/blank.gif); /* helps IE */
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	z-index: 8040;
}

.fancybox-prev {
	left: 0;
}

.fancybox-next {
	right: 0;
}

.fancybox-nav span {
	position: absolute;
	top: 50%;
	width: 36px;
	height: 34px;
	margin-top: -18px;
	cursor: pointer;
	z-index: 8040;
	visibility: hidden;
}

.fancybox-prev span {
	left: 10px;
	background-position: 0 -36px;
}

.fancybox-next span {
	right: 10px;
	background-position: 0 -72px;
}

.fancybox-nav:hover span {
	visibility: visible;
}

.fancybox-tmp {
	position: absolute;
	top: -99999px;
	left: -99999px;
	max-width: 99999px;
	max-height: 99999px;
	overflow: visible !important;
}

/* Overlay helper */

.fancybox-lock {
    overflow: visible !important;
    width: auto;
}

.fancybox-lock body {
    overflow: hidden !important;
}

.fancybox-lock-test {
    overflow-y: hidden !important;
}

.fancybox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	display: none;
	z-index: 10010;
	background: url(img/fancybox_overlay.png);
}

.fancybox-overlay-fixed {
	position: fixed;
	bottom: 0;
	right: 0;
}

.fancybox-lock .fancybox-overlay {
	overflow: auto;
	overflow-y: scroll;
}

/* Title helper */

.fancybox-title {
	visibility: hidden;
	font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
	position: relative;
	text-shadow: none;
	z-index: 8050;
}

.fancybox-opened .fancybox-title {
	visibility: visible;
}

.fancybox-title-float-wrap {
	position: absolute;
	bottom: 0;
	right: 50%;
	margin-bottom: -35px;
	z-index: 8050;
	text-align: center;
}

.fancybox-title-float-wrap .child {
	display: inline-block;
	margin-right: -100%;
	padding: 2px 20px;
	background: transparent; /* Fallback for web browsers that doesn't support RGBa */
	background: rgba(0, 0, 0, 0.8);
	-webkit-border-radius: 15px;
	   -moz-border-radius: 15px;
	        border-radius: 15px;
	text-shadow: 0 1px 2px #222;
	color: #FFF;
	font-weight: bold;
	line-height: 24px;
	white-space: nowrap;
}

.fancybox-title-outside-wrap {
	position: relative;
	margin-top: 10px;
	color: #fff;
}

.fancybox-title-inside-wrap {
	padding-top: 10px;
}

.fancybox-title-over-wrap {
	position: absolute;
	bottom: 0;
	left: 0;
	color: #fff;
	padding: 10px;
	background: #000;
	background: rgba(0, 0, 0, .8);
}

/*Retina graphics!*/
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
	   only screen and (min--moz-device-pixel-ratio: 1.5),
	   only screen and (min-device-pixel-ratio: 1.5){

	#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
		background-image: url(img/fancybox_sprite@2x.png);
		background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/
	}

	#fancybox-loading div {
		background-image: url(img/fancybox_loading@2x.gif);
		background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/
	}
}

/* Single blog post */
.single .content-wrap .container {
	max-width: 720px;
}

.single .the-image {
	margin-bottom: 2.5rem;
}

.single .content-wrap h1 {
	font-size: 30px;
	line-height: 1.2;
	margin-bottom: 3rem;
}

.single .content-wrap .postdate {
	font-size: 14px;
	line-height: 20px;
}

.single .content-wrap .the-content {
	font-size: 18px;
	line-height: 1.75;
}

.single .content-wrap .the-content p,
.single .content-wrap .the-content li {
	font-size: 18px;
	line-height: 1.75;
}

.single .content-wrap .the-content p:last-child {
	margin: 0;
}

.single .content-wrap .the-content h2 {
	font-size: 28px;
	line-height: 1.3;
	margin-top: 3rem;
}

.single .content-wrap .the-content h3 {
	font-size: 24px;
	line-height: 1.35;
	margin-top: 3rem;
}

.single .content-wrap .the-content h4 {
	font-size: 20px;
	line-height: 1.4;
	margin-top: 3rem;
}

.single .content-wrap {
	padding-top: 3rem;
	padding-bottom: 5rem;
}

@media (max-width: 767px) {
	.single .content-wrap h1 {
		font-size: 28px;
		margin-bottom: 3rem;
	}

	.single .content-wrap .the-content p,
	.single .content-wrap .the-content li {
		font-size: 17px;
	}

	.single .content-wrap .the-content h2 {
		font-size: 24px;
		margin-top: 2rem;
	}

	.single .content-wrap .the-content h3 {
		font-size: 21px;
		margin-top: 2rem;
	}

	.single .content-wrap .the-content h4 {
		font-size: 19px;
		margin-top: 2rem;
	}
}

/* Yoast FAQ accordion */
.schema-faq {
	margin-top: 3rem;
	border-top: 1px solid #E5E5E5;
}

.schema-faq-section {
	border-bottom: 1px solid #E5E5E5;
}

.schema-faq-question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
	padding: 10px 0;
	font-weight: 700;
	font-size: 18px;
	line-height: 1.4;
	color: #0A0A0A;
	transition: color 0.2s ease;
}

.schema-faq-question strong {
	flex: 1;
	text-align: left;
}

.schema-faq-question:hover {
	color: #C5A700;
}

.schema-faq-question::after {
	content: '+';
	flex-shrink: 0;
	margin-left: 16px;
	font-size: 24px;
	font-weight: 300;
	line-height: 1;
	color: #FFD80D;
	transition: transform 0.3s ease;
}

.schema-faq-section.faq-open .schema-faq-question::after {
	content: '\2013';
}

.schema-faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.35s ease, padding 0.35s ease;
	padding: 0 0 0 0;
	font-size: 17px;
	line-height: 1.75;
	color: #565656;
}

.schema-faq-section.faq-open .schema-faq-answer {
	max-height: 600px;
	padding: 0 0 20px 0;
}

@media (max-width: 767px) {
	.schema-faq-question {
		font-size: 16px;
		padding: 16px 0;
	}

	.schema-faq-answer {
		font-size: 16px;
	}
}