/* Imports
----------------------------------------*/
@import url("reset.css");

/* Posissible colors: blue, orange, red, yellow, green */
@import url("green.css");

@import url(https://fonts.googleapis.com/css?family=Lato:400,300,300italic,400italic);
@import url(https://fonts.googleapis.com/css?family=Playfair+Display:400,400italic,700,700italic);

/* General
----------------------------------------*/
#wrapper {
	width: 90%;
	min-width: 240px;
	max-width: 990px;
	margin: 0 auto;
	position: relative;
}

/* Layout
----------------------------------------*/
#header {
	height: 53px;
	float: left;
	width: 100%;
	min-width: 240px;
}
#header img{
	width: 188px;
	max-width: 50%;
	vertical-align: middle;
}

#logo {
	float: left;
	margin: 21px 0 0 0;
}
#number {
	float: right;
	margin: 15px 0 0 0;
}
#nav-home {
	list-style-type: none;
	position: absolute;
	top: 53px;
	left: 0;
	width: 100%;
	min-width: 240px;
	height: 37px;
}
#nav-home li, #nav li {
	float: left;
}
#nav-home li a, #nav li a {
	display: block;
	height: 37px;
	padding: 0 20px;
}
#nav {
	list-style-type: none;
	float: left;
	width: 100%;
	min-width: 240px;
	height: 37px;
}
#featured {
	float: left;
	position: relative;
	z-index: -1;
	max-height: 50%;
}
#featured span {
	position: relative;
    display: inline-block;
	white-space: pre-wrap;
	bottom: 0;
	left: 0;
	padding: 20px 20px 20px 20px;
	font-size: 1rem;
}
#featured img {
	width: 100%;
	margin-bottom: -5px;
}
.column {
	float: left;
	width: 601px;
	padding: 20px;
	height: auto !important;
}
.full-column {
	float: left;
	width: 90%;
	min-width: 240px;
	padding: 20px;
}
.full-width {
	width: 100%;
	padding: 10px 0;
}
#col1 {
	padding-left: 40px;
	border-radius: 0 0 0 5px;
}
#col2 .service {
	margin: 0 0 20px 0;
}
#content {
	width: calc(100% - 80px);
	min-width: 240px;
	padding: 20px 40px;
	border-radius: 0 0 0 5px;
}
.textcolumn {
	-moz-column-count: 2;
	-webkit-column-count: 2;
	-moz-column-gap: 40px;
	-webkit-column-gap: 40px;
}
#sidebar {
	width: 289px;
	border-radius: 0 0 5px 0;
}
#sidebar li {
	list-style-type: none;
	margin: 0;
	padding: 10px 0 10px 0;
}
#sidebar li a {
	display: block;
}
#sidebar li:hover {
	padding-left: 15px;
	margin-left: -20px;
}
#footer {
	clear: both;
	float: left;
	margin: 10px 0 10px 0;
	width: 100%;
}

/* Typography
----------------------------------------*/
a {
	color: #2d2d2d;
	text-decoration: none;
}
p, li, h1, h2, h3, h4, h5, h6 {
	font: 0.9em/1.4 'Playfair Display', serif;
	margin: 0 0 10px 0;
}
p, li {
	color: #666;
}
h1 {
	color: #222;
}
h2, h3, h4, h5, h6 {
	color: #444;
}
blockquote {
	font-style: italic;
	font-size: 1.2em;
	border-top: 4px solid #fff;
	border-bottom: 5px solid #fff;
	padding: 10px 0;
	margin: 15px 0;
	color: #444;
}
blockquote:first-letter {
	float: left;
	margin: 0 0 0 0;
	font-size: 500%;
}
h1 {
	font-size: 1.65em;
}
#sidebar h2 {
	margin: 20px 0 0 0;
}
#sidebar h2:first-child {
	margin: 0 0 0 0;
}
h2, h3, h4, h5, h6 {
	margin: 20px 0 0 0;
	font-style: italic;
}
h2 {
	font-size: 1.4em;
}
h3 {
	font-size: 1.2em;
}
h4, h5, h6 {
	font-weight: 800;
}
#nav-home li a {
	font: .85em/37px sans-serif;
	color: #555;
	text-transform: uppercase;
}
#nav-home li a:hover {
	color: white;
	cursor: pointer;
}
#nav li a {
	font: .85em/37px sans-serif;
	color: #fff;
	text-transform: uppercase;
}
#nav li a:hover {
	color: #000;
}
#number {
	font: 100 1.375em Lato, sans-serif;
	color: #808080;
}
#featured span {
	font: 100 1.5em/1.5 Lato, sans-serif;
	color: #fff;
}
#sidebar li {
	color: #333;
}
#sidebar li a {
	text-decoration: none;
	color: #333;
}
#sidebar li a:hover {
	color: #111;
}
#footer p {
	font: .75em sans-serif;
	color: #ccc;
	text-align: center;
}
#footer a {
	color: #ccc;
}

/* Contact Form
----------------------------------------*/
#contact-form {
	float: left;
	height: 400px;
	font-size: 1em;
	color: #333;
}
.notification_error {
	height: auto;
	width: 90%;
	padding: 10px 20px;
	margin: 0 0 20px 0;
	background: #fff;
	color: #d40000;
	text-align: left;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}
.notification_ok {
	height: auto;
	width: 90%;
	padding: 10px 20px;
	margin: 0 0 20px 0;
	background: #fff;
	color: #00d4aa;
	text-align: left;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}
.button {
	margin-left: 105px;
	border: none;
	padding: 7px;
	font: .9em sans-serif;
	text-transform: uppercase;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	width: 60px;
	cursor: pointer;
}

/* Label */
#ajax-contact-form p {
	width: 100px;
	margin: 5px 0;
	float: left;
	text-align: left;
	font-size: 1em;
}

input, textarea {
	margin: 5px;
	padding: 5px;
	float: left;
	background: #fdfdfd;
	border: none;
	border-top: 1px solid #b3b3b3;
	border-left: 1px solid #b3b3b3;
	font: .85em/1.5 'Playfair Display', serif;
	color: #999;
}
input {
	width: 300px;
}
textarea {
	width: 400px;
	height: 150px;
}

br {
	clear: left;
}

@media(max-width: 1280px) {
	#wrapper{
		width: 100%;
	}
	#header, #nav-home li, #nav li, #featured span {
		margin: 0 20px;
	}
	#header {
		width: 90%;
	}
}
@media(max-width: 768px) {
	#header, #nav-home li, #nav li, #featured span {
		margin: 0 10px;
	}
	#nav-home li a, #nav li a {
    	padding: 0 0px;
	}
	#nav-home a {
		font-size: 1rem;
	}
	p {
		font-size: 1.2rem;
	}
	.textcolumn {
		-moz-column-count: 1;
		-webkit-column-count: 1;
	}
	#number {
		margin: 15.5px 0 0 0;
		font: 100 1.33em Lato, sans-serif;
		color: #808080;
	}
}
