/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
	font-size: 14px;
	line-height: 1.4;
}

*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;

	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}

body {
	font-family: 'Fira Sans', sans-serif;
	font-weight: 400;

	color: #282828;
	background-color: #888888;

	position: relative;
	padding: 0;
}

p {
	margin: 1.3em 0;
	line-height: 1.67em;
}


ul, ol {
	padding-left: 2em;
	margin: 1.3em 0;
	line-height: 1.67em;
}

/*
li {
	margin: 7px 0;
}
*/

/*
 * A better looking default horizontal rule
 */

hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #ccc;
	margin: 1em 0;
	padding: 0;
}

/* ==========================================================================
   Post edit link
   ========================================================================== */

.post-edit-link {
	position: fixed;
	top: 0;
	right: 25px;
	border-radius: 0 0 5px 5px;
	background-color: #000;
	color: #FFF;
	padding: 5px 10px;
	text-decoration: none;
}

/* ==========================================================================
   Wrappers
   ========================================================================== */

.container {
	max-width: 980px;
	padding: 0 20px;
	margin: 0 auto;
	position: relative;
}

.container-large {
	max-width: 1280px;
	padding: 0 20px;
	margin: 0 auto;
	position: relative;
}


@media screen and (min-width: 980px) {

	.container,
	.container-large {
		padding: 0 30px;
	}

}

/* ==========================================================================
   HEADER
   ========================================================================== */

#header-site {
	font-weight: 300;
	width: 100%;
	height: 70px;
	background-color: #f7f7f7;
	position: fixed;
	z-index: 9999;
	top: 0;
	left: 0;
}

@media screen and (min-width: 980px) {

	#header-site {
		height: 100px;
	}

}

/* Logo
 ************************************/

#header-logo {
	display: block;
	position: relative;
	margin: 0;
	width: 210px;
	min-height: 70px;
	line-height: 70px;
	text-align: center;
}

#header-logo-top {
	display: block;
	float: right;

	width: 150px;
	margin-top: 18px;
}

#header-logo-bottom {
	display: block;
	float: left;

	width: 50px;
	margin-top: 10px;
}

@media screen and (min-width: 980px) {

	#header-logo {
		float: left;
		width: 200px;
		height: 100px;
		line-height: 100px;
	}

	#header-logo-top {
		float: none;
		width: 100%;
		max-width: 100%;

		margin-top: 0;

		display: inline-block;
		vertical-align: middle;
	}

	#header-logo-bottom {
		float: none;
		display: block;
		position: relative;
		margin: 0 auto;

		z-index: -1;

		width: 140px;
		padding: 40px 30px 20px 30px;

		top: -48px;

		border-radius: 100%;
		background-color: #f7f7f7;
	}

}

/* Navigation handler
 ************************************/

#header-nav-handler {
	display: block;
	float: right;
	padding: 25px 0 0 24px;
	width: 70px;
	height: 70px;
	margin-right: -20px;

	-webkit-transition: all 400ms ease;
	-ms-transition: all 400ms ease;
	transition: all 400ms ease;
}

#header-nav-handler .lay {
	display: block;
	width: 22px;
	height: 3px;
	border-radius: 1px;
	background-color: #282828;

	-webkit-transition: all 400ms ease;
	-ms-transition: all 400ms ease;
	transition: all 400ms ease;
}

#header-nav-handler .lay + .lay {
	margin-top: 5px;
}

#header-nav-handler.active {
	-webkit-transform: translateX(9px);
	-ms-transform: translateX(9px);
	transform: translateX(9px);
}

#header-nav-handler.active .lay {
	opacity: 0;
}

#header-nav-handler.active .lay:first-child {
	opacity: 1;
	-webkit-transform: rotate(45deg) translateY(11px);
	-ms-transform: rotate(45deg) translateY(11px);
	transform: rotate(45deg) translateY(11px);
}

#header-nav-handler.active .lay:last-child {
	opacity: 1;
	-webkit-transform: rotate(-45deg) translateY(-11px);
	-ms-transform: rotate(-45deg) translateY(-11px);
	transform: rotate(-45deg) translateY(-11px);
}


/* Navigation
 ************************************/

#header-nav {
	display: none;
}

#header-nav.active {
	display: block;
	margin: 0 -20px;
}

#header-nav ul {
	display: block;
	text-align: center;
	border-bottom: 1px solid #bbafbe;
	list-style-type: none;
	margin: 0;
	padding: 0;
	background-color: #f7f7f7;
}

#header-nav ul li {
	display: block;
	margin: 0;
	padding: 0;
	position: relative;
	top: 1px;
}

#header-nav ul li a {
	display: block;

	font-size: 14px;
	line-height: 3em;
	height: 3em;
	vertical-align: middle;
	color: #282828;

	text-transform: uppercase;
	text-decoration: none;
	border-top: 1px solid #bbafbe;
}

@media screen and (min-width: 980px) {

	#header-nav-handler {
		display: none;
	}

	#header-nav {
		display: block;
		margin: 0 0 0 230px;
		padding: 18px 0 0 0;
	}

	#header-nav ul li {
		display: inline-block;
		margin: 0 30px;
	}

	#header-nav ul li:first-child {
		margin-left: 0;
	}

	#header-nav ul li:last-child {
		margin-right: 0;
	}

	#header-nav ul li a {
		display: block;

		font-size: 14px;
		line-height: 4em;
		height: 4em;
		vertical-align: middle;
		color: #282828;

		text-transform: uppercase;
		text-decoration: none;
		border-top: 0;
		border-bottom: 1px solid transparent;

		-webkit-transition: border-bottom-color 250ms ease;
		-ms-transition: border-bottom-color 250ms ease;
		transition: border-bottom-color 250ms ease;
	}

	#header-nav ul li.current-page-ancestor a,
	#header-nav ul li.current-menu-item a,
	#header-nav ul li a:hover,
	#header-nav ul li a:focus,
	#header-nav ul li a:active {
		color: #282828;
		text-decoration: none;
		border-bottom-color: #27a2d8;
	}

}

@media screen and (min-width: 1120px) {

	#header-nav {
		margin: 0 0 0 250px;
	}

	#header-nav ul li {
		margin-left: 0 35px;
	}

}

/* ==========================================================================
   MAIN
   ========================================================================== */


#main-site section {
	padding-top: 70px;
	background-color: #DDDDDD;

	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
	background-position: 50% 50%;
}

@media screen and (min-width: 980px) {

	#main-site section {
		background-position: 50% 50%;
		padding-top: 100px;
		padding-bottom: 106px;
	}

}

#main-site .container {
	max-width: 680px;
	padding: 0 20px;
	margin: 0 auto;
	position: relative;
}

#main-site section {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	min-height: 100vh;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
}

#main-site section .layer {
	-webkit-box-flex: 0;
	-webkit-flex: none;
	-ms-flex: none;
	flex: none;

	width: 100%;

	padding-top: 30px;
	padding-bottom: 30px;
}

#main-site section .layer a,
#main-site section .layer a:active,
#main-site section .layer a:visited,
#main-site section .layer a:hover {
	color: #27a2d8;
}

@media screen and (min-width: 980px) {

	#main-site section .layer {
		padding-left: 220px;
	}

}

#main-site section .layer .container {
	padding: 10px 30px;
	background-color: rgba(255,255,255, 0.70);
}


#main-site section img {
	height: auto;
	max-width: 100%;
}

#main-site section h1 {
	font-size: 20px;
	text-transform: uppercase;
	font-weight: 400;
	color: #27a2d8;

	/*text-shadow: 0 0 3px #FFFFFF;*/

	margin: 20px 0;
	padding: 0;
	letter-spacing: 0.1em;
}


/*
h1 {
	font-size: 30px;
	line-height: 26px;
	font-weight: 300;

	text-align: center;
	padding: 0;
	margin: 50px 0 15px 0;
	letter-spacing: 1px;
}

h2 {
	font-size: 20px;
	font-weight: 300;
	line-height: 26px;
	margin: 35px 0 25px 0;
	padding: 0;
	color: #D22958;

	text-transform: uppercase;
}

h3 {
	font-size: 16px;
	font-weight: 600;
	line-height: 26px;
	margin: 35px 0 25px 0;
	padding: 0;
	color: #D22958;
}
*/

/* ==========================================================================
   FOOTER
   ========================================================================== */

#footer-site {
	display: block;
	width: 100%;

	background-color: #FFF;
	padding: 15px 0;
}

#footer-nav {
	display: block;
	padding: 0;
	margin: 0;
}

#footer-nav ul {
	display: block;
	text-align: center;
	margin: 0;
	padding: 0;
	list-style-type: none;
}

#footer-nav ul li {
	display: inline-block;
	margin: 0 15px;
	padding: 0;
}

#footer-nav ul li a {
	display: block;

	font-size: 14px;
	line-height: 3em;
	height: 3em;
	vertical-align: middle;
	color: #666666;
	font-weight: 300;

	text-transform: uppercase;
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

#footer-nav ul li.current-page-ancestor a,
#footer-nav ul li.current-menu-item a,
#footer-nav ul li a:hover,
#footer-nav ul li a:focus,
#footer-nav ul li a:active {
	color: #333333;
	text-decoration: none;
	border-bottom-color: #27a2d8;
}

#footer-copyright {
	font-size: 14px;
	font-weight: 300;

	display: block;
	text-align: center;
	margin-top: 10px;
}

#footer-copyright a {
	text-transform: none;
	text-decoration: none;
	color: #9578a0;
}


@media screen and (min-width: 980px) {

	#footer-site {
		position: fixed;
		bottom: 0;
		left: 0;
	}

	#footer-nav ul li {
		margin: 0 25px;
	}

	#footer-copyright {
		margin-top: 15px;
	}

}

@media screen and (min-width: 1120px) {

	#footer-nav ul li {
		margin: 0 30px;
	}

}

/* ==========================================================================
   FORMS
   ========================================================================== */

.form-input {
	
}

/* ==========================================================================
   FORM CONTROLS
   ========================================================================== */

.form-control {
	padding-bottom: 0.8em;
}

.form-control-submit {
	margin: 0 0 0 0;
	padding: 0;
}

.form-control-submit .wpcf7-submit {
	border: none;
	color: #FFF;
	background-color: rgb(149, 120, 160);
	line-height: 1em;
	padding: 1em 1em 0.8em 1em;
	margin-bottom: 15px;
}


/* ==========================================================================
   FORM LABELS
   ========================================================================== */

.form-control .form-label {
	display: inline-block;
	font-size: 1em;
	text-align: left;
	padding-bottom: 0.4em;
}

.form-control .form-label small {
	color: #777777;
}

.form-control.form-required .form-label::after {
	content: ' *';
	color: red;
}

/* ==========================================================================
   FORM INPUTS
   ========================================================================== */

.form-input {
	display: block;
}

.form-input textarea,
.form-input input[type='text'],
.form-input input[type='tel'],
.form-input input[type='email'] {
	padding: 1em 0.8em 0.8em 0.8em;
	width: 100%;
	border: 1px solid #f7f7f7;
	background-color: #ffffff;
}

.form-input textarea {
	resize: vertical;
	min-height: 100px;
}

.form-input select {
	background: #ffffff none repeat scroll 0 0;
	border: 1px solid #cccccc;
	height: 30px;
	line-height: 30px;
	text-transform: none;

	padding-left: 0.35em;
	padding-right: 0.35em;
}

.form-input label {
	display: block;
	line-height: 30px;
}

.form-input label input[type='checkbox'],
.form-input label input[type='radio'] {
	position: relative;
	top: 2px;
	margin-right: 3px;
}

::-webkit-input-placeholder {
   color: #282828;
   opacity: 0.75;
}

:-moz-placeholder {
   color: #282828;
   opacity: 0.75;  
}

::-moz-placeholder {
   color: #282828;
   opacity: 0.75;  
}

:-ms-input-placeholder {  
   color: #282828;
   opacity: 0.75;  
}

/* ==========================================================================
   INPUTS ERROR
   ========================================================================== */

.form-input span.wpcf7-not-valid-tip,
.form-input .form-error {
	color: #ec6459;
	margin-top: 0.3em;
	text-align: left;
	font-size: 0.9em;
}

.form-input span.wpcf7-not-valid-tip:empty,
.form-input .form-error:empty {
	display: none;
}

.form-input span.wpcf7-not-valid-tip::before,
.form-input .form-error::before {
	content: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAAS0lEQVR42mN8kxLJgAQqgDgZiB2A+ClIgAlJUhaIw4BYBYjrYIIwBSJAPAOIDaH8NCAORFbgDsReDKigDYilQArMgbicARNogKwCAHGTCOG2VN4TAAAAAElFTkSuQmCC");
	padding-left: 0.4em;
	padding-right: 0.4em;
	position: relative;  
	top: -0.1em;
}

div.wpcf7-response-output {
	margin-left: 0;
	margin-right: 0;
	padding: 0.8em 1em 0.6em 1em;
	font-weight: 600;
}

div.wpcf7-validation-errors {
	border-color: #ec6459;
}

/* ==========================================================================
   INPUTS ERROR
   ========================================================================== */

span.wpcf7-list-item {
	margin-left: 0;
	margin-right: 1em;
	display: inline-block;
}

form.wpcf7-form .column {
	width: 50%;
}

form.wpcf7-form .column-1 {
	padding-right: 5px;
}
form.wpcf7-form .column-2 {
	padding-left: 5px;
}