/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
* What follows is the result of much research on cross-browser styling.
* Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
* Kroc Camen, and the H5BP dev community and team.
*/

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

html {
	color: #222;
	font-size: 1em;
	line-height: 1.4;
}

/*
* Remove text-shadow in selection highlight:
* https://twitter.com/miketaylr/status/12228805301
*
* These selection rule sets have to be separate.
* Customize the background color to match your design.
*/

::-moz-selection {
	background: #b3d4fc;
	text-shadow: none;
}

::selection {
	background: #b3d4fc;
	text-shadow: none;
}

/*
* A better looking default horizontal rule
*/

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

/*
* Remove the gap between audio, canvas, iframes,
* images, videos and the bottom of their containers:
* https://github.com/h5bp/html5-boilerplate/issues/440
*/

audio,
canvas,
iframe,
img,
svg,
video {
	vertical-align: middle;
}

/*
* Remove default fieldset styles.
*/

fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

/*
* Allow only vertical resizing of textareas.
*/

textarea {
	resize: vertical;
}

/* ==========================================================================
Browser Upgrade Prompt
========================================================================== */

.browserupgrade {
	margin: 0.2em 0;
	background: #ccc;
	color: #000;
	padding: 0.2em 0;
}

/* ==========================================================================
Author's custom styles
========================================================================== */
body {
	font-size: 14px;
	color: #333;
	font-family: 'Roboto', sans-serif;    
	font-weight: 300;
	background-color: #FCFCFC;
}
#page {
	width: 1110px;
	margin: 70px auto;
	padding: 0 25px;
	box-sizing: border-box;
}
.last {
	margin-right: 0 !important
}
.clear {
	margin: 0;
	clear: both;
}
.button {
	display: inline-block;
	margin-top: 10px;
	padding: 10px 20px;
	box-sizing: border-box;
	background-color: #0066CC;
	color: #fff;
	text-decoration: none;
	cursor: pointer;
}
.page_heading {
	margin: 0;
	margin-bottom: 30px;
	font-size: 2.1em;
	font-weight: 800;
}
.opacity {
	opacity: 1 !important;
}

/* ===== Header ===== */
header {
	position: relative;
	width: 100%;
	top: 30px;
	background-color: #fff;
	box-shadow: 1px 1px 2px rgba(17, 17, 17, .2);
	z-index: 3;
}
nav ul {    
	list-style-type: none;
}

#nav_container {
	position: relative;
	max-width: 1110px;
	min-height: 110px;
	top: 0;
	margin: 0 auto;
	padding: 0 25px;
	box-sizing: border-box;
	background-color: #fff;
}
#nav_container h1 {
	float: left;
	margin: 0;
	margin-top: 13px;
}
#nav_container h1 img {
	width: 320px;
}
#main_menu {
	float: right;
	margin: 0;
	padding: 42px 0;
	box-sizing: border-box;
}
#main_menu li {
	float: left;
	padding-left: 40px;
}
#main_menu a {
	text-decoration: none;
	font-size: 1.3em;
	font-weight: 300;
	font-family: 'Roboto Condensed', sans-serif;    
	color: #333;
}
#main_menu a:hover {
	color: #7EB3E3;
}
#sub_menu {
	display: none;
	position: absolute;
	padding: 0;
	box-shadow: 1px 1px 2px rgba(17, 17, 17, .2);
	z-index: 2;
}
#sub_menu li {
	float: none;
	padding: 0;
	overflow: visible;
	background-color: #fff;
}
#sub_menu a {
	display: block;
	padding: 15px 20px;
	box-sizing: border-box;
	border-bottom: 1px solid #D3D3D3;
	font-family: 'Roboto', sans-serif;
}
#sub_menu li:last-child a {
	border-bottom: none;
}
#sub_menu a:hover {
	background-color: #EDEDED;
}
#main_menu li:hover #sub_menu {
	display: block;
}
.drop {
	cursor: pointer;
}
.drop::after {
	position: absolute;
	display: block;
	content: "";
	width: 7px;
	height: 7px;
	border-bottom: 1px solid #333;
	border-right: 1px solid #333;
	-webkit-transform: translate(32px, 10px) rotate(45deg);
	transform: translate(32px, 10px) rotate(45deg);
	z-index: 1;
}
#contact_header {
	position: absolute;
	width: 100%;
	height: 30px;
	top: -30px;
	background-color: #2079D2;
}
#contact_header .social {
	float: right;
	position: relative;
	width: 30px;
	height: 30px;
	margin-left: 10px;
	margin-top: -5px;
	padding: 0;
	background-color: #fff;
	color: #0066CC;
	cursor: pointer;
}
#contact_header .icon-facebook::before,
#contact_header .icon-linkedin::before {
	position: absolute;
	left: 6px;
	top: 10px;
	font-size: 1.5em;
	opacity: 1;
}
#contact_header p {
	display: block;
	max-width: 1110px;
	margin: 0 auto;
	padding: 5px 25px;
	box-sizing: border-box;
	color: #fff;
}
#contact_header a {
	color: #fff;
	padding-left: 10px;
	text-decoration: none;
	font-weight: 500;
	letter-spacing: .5px;
}

/* ===== Footer ===== */
footer {
	background-color: #2079D2;
	overflow: hidden;
}
#footer_container {
	position: relative;
	width: 1110px;
	margin: 0 auto;
	padding: 30px 25px 20px;
	box-sizing: border-box;
	color: #fff;
}
.footer_column {
	float: left;
	width: 200px;
	margin-right: 70px;
}
.footer_column:first-of-type {
	width: 520px;
}
.footer_column h2 {
	margin: 0;
	font-weight: 300;
}

#footer_services ul,
#footer_contact_us ul {
	padding: 0;
	list-style-type: none;
}
#footer_services li::before {
	content: "□";
	padding-right: 10px;
	color: #fff;
	text-decoration: none;
	opacity: .5;
}
#footer_services li:hover::before {
	content: "■";
	opacity: .5;
}
#footer_services li a {
	text-decoration: none;
	color: #fff;
}

#legal {
	padding: 10px 0;
	text-align: center;
	background-color: #0066CC;
	color: #fff;
}

/* Slider */
#slider {
	position: relative;
	width: 100%;
	height: 470px;
	top: 30px;
	background-color: #7EB3E3;
	z-index: 1;
	overflow: hidden;
}
.slides {
	position: absolute;
	width: 100%;
	height: 100%;
    background-size: cover !important;
}
#slider_content {
	position: relative;
	width: 1110px;
	height: 100%;
	margin: 0 auto;
	z-index: 301;
}
#slider_content p {
	position: absolute;
	width: 350px;
	right: 25px;
	bottom: 10px; 
	margin: 0;
	line-height: 1;
	text-align: right;
	font-size: 2.6em;
	font-weight: 100;
	color: #fff;
}
#slider_content a {
	display: inline-block;
	margin: 30px 0;
	padding: 15px 10px;
	box-sizing: border-box;
	background-color: #fff;
	text-decoration: none;
	font-size: .38em;
	font-weight: 500;
	color: rgba(0, 102, 204, .5);
}
.slider_controls {
	position: absolute;
	width: 50px;
	height: 50px;
	top: 210px;
	background-color: rgba(32, 121, 210, .5);
	cursor: pointer;
	z-index: 300;
}
.slider_controls:hover {
	background-color: rgba(32, 121, 210, 1);
}
#previous_slide {
	left: 0;
}
#next_slide {
	right: 0;
}
#previous_slide::after {
	position: absolute;
	content: "";
	width: 19px;
	height: 19px;
	border-left: 2px solid #FFF;
	border-bottom: 2px solid #FFF;
	-webkit-transform: translate(18px, 15px) rotate(45deg);
	transform: translate(18px, 15px) rotate(45deg);
	opacity: 1;
}
#next_slide::after {
	position: absolute;
	content: "";
	width: 19px;
	height: 19px;
	border-right: 2px solid #FFF;
	border-top: 2px solid #FFF;
	-webkit-transform: translate(11px, 15px) rotate(45deg);
	transform: translate(11px, 15px) rotate(45deg);
	opacity: 1;
}

/* Services */
#services_preview {
	position: relative;
	width: 1110px;
	top: 15px;
	margin: 70px auto;
	padding: 0 25px;
	box-sizing: border-box;
}
#services_preview .column {
	position: relative;
	float: left;
	width: 250px;
	height: 345px;
	margin-right: 20px;
}
#services_preview .column img {
	display: block;
	width: 100px;
	margin: 0 auto;
	margin-top: 10px;
	margin-bottom: 30px;
}
#services_preview h3 {
	margin: 10px 0;
	font-size: 1.4em;
	font-weight: 300;
	color: #0066CC;
}
#services_preview p {
	margin: 10px 0;
}
#services_preview .more_info_button {
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: 10;
}
#services_preview .more_info_button::before {
	position: absolute;
	content: " ";
	width: 10px;
	height: 4px;
	right: 0;
	top: 35px;
	background-color: #0066CC;
	transition: width .15s ease-out;
}
#services_preview .more_info_button:hover::before {
	width: 248px;
}
#services_preview .more_info {
	position: absolute;
	width: 250px;
	height: 0;
	bottom: 0;
	-webkit-transform: translateY(14px);
	transform: translateY(14px);
	padding: 0 20px;
	box-sizing: border-box;
	overflow: hidden;
	background-color: #0066CC;
	color: #fff;
	list-style-type: none;
	transition: all .5s .2s;
}
#services_preview .more_info_button:hover + .more_info,
#services_preview .more_info:hover {
	height: 345px;
	background-color: #0066CC;
	z-index: 11;
}
#services_preview .more_info li {
	padding-left: 10px;
}
#services_preview .more_info li::before {
	content: "□";
	padding-right: 10px;
	color: #fff;
	text-decoration: none;
}
#services_preview .more_info li:hover::before {
	content: "■";
}
#services_preview .more_info img {
	opacity: 0;
}
#services_preview .more_info_button:hover + .more_info img,
#services_preview .more_info:hover img {
	opacity: 1;
	transition: opacity .3s .5s;
}
#services_preview .more_info a {
	font-weight: 300;
	text-decoration: none;
	color: #fff;
	cursor: pointer;
}
#services_preview .more_info a:hover {
	text-decoration: underline;
}

/* Projects */
#projects_preview {
	margin: 70px 0;
	padding: 40px 0;
	box-sizing: border-box;
	background-color: #F2F2F2;
	box-shadow: inset 0 0 3px rgba(17, 17, 17, .15);
}
#projects_menu {
	width: 1060px;
	margin: 0 auto;
	padding: 0;
	padding-bottom: 20px;
	box-sizing: border-box;
	border-bottom: 2px solid #D3D3D3;
}
#projects_menu li {
	display: inline;
	margin-right: 40px;
}
#projects_menu li:hover {
	padding-bottom: 23px;
    border-bottom: 2px solid rgba(0, 102, 204, .5);
}
#projects_menu li:hover a {
	opacity: 1;
}
#projects_menu a {
	font-size: 1.3em;
	font-weight: 500;
	text-decoration: none;
	opacity: .5;
	color: #333;
}

#projects_container {
	width: 1110px;
	margin: 0 auto;
	padding: 0 25px;
	box-sizing: border-box;
}
.project_container {
	position: relative;
	float: left;
	width: 250px;
	height: 210px;
	margin-right: 20px;
	margin-top: 30px;
	background-color: #fff;
	cursor: pointer;
	box-shadow: 1px 1px 2px rgba(17, 17, 17, .2);
}
.project_container .thumbnail {
	width: 250px;
	height: 150px;
	background-color: #2079D2;
}
.project_container a {
	text-decoration: none;
	color: #333;
}
.project_container h4 {
	margin: 10px;
}
.project_container .more_dots {
	position: absolute;
	margin: 0;
	bottom: 0;
	right: 10px;
	font-weight: 900;
	font-size: 2em;
	color: #0066CC;
}
.summary {
	position: absolute;
	width: 250px;
	height: 150px;
	margin: 0;
	padding: 20px 10px;
	box-sizing: border-box;
	background-color: rgba(0, 102, 204, .5);
	color: #fff;
	opacity: 0;
}
.project_container:hover .summary {
	opacity: 1;
}
.project_container:hover h4 {
	color: #0066CC;
}
.project_container.more {
	width: 75px;
	height: 75px;
	margin: 0 92px;
	margin-top: 97px;
	background-color: #fff;
	box-shadow: 1px 1px 2px rgba(17, 17, 17, .2);
	font-size: 5em;
	font-weight: 500;
}
.project_container.more::before {
	position: absolute;
	left: 17px;
	top: -16px;
	content: "+";
	color: rgba(0, 102, 204, .5);
	font-size: 1.1em;
	font-weight: 400;
}
.project_container.more:hover::before {
	color: #0066CC;
}

/* About us */
#about_us_preview {
	position: relative;
	width: 560px;
	margin: 70px auto;
	padding: 20px;
	box-sizing: border-box;
	background-color: #0066CC;
	background: linear-gradient(-135deg, transparent 5%, #0066CC 0);
}
#about_us_preview p {
	margin: 0;
	margin-top: 20px;
	color: #fff;
}
#about_us_preview img {
	display: block;
	margin: 0 auto;

}

/* ===== Services Page ===== */
#content_wrapper {
	float: right;
}

/* Service description */
#service h3 {
	margin: 0 0 20px;
	font-size: 1.7em;
	font-weight: 500;
}
#service .featured_img {
	position: relative;
	width: 370px;
	height: 208px;
	margin: 0;
	overflow: hidden;
	background-color: rgba(0, 102, 204, .5);
	box-shadow: 1px 1px 2px rgba(17, 17, 17, .2);
}
#service .featured_img.float {
	float: left;
}
#service .featured_img figcaption {
	position: absolute;
	width: 100%;
	bottom: 0;
	padding: 10px;
	box-sizing: border-box;
	color: #fff;
	background-color: rgba(0, 102, 204, .5);
}
#service_summary {
	float: right;
	width: 370px;
}
#service_summary h4 {
	margin: 30px 0 20px;
	font-size: 1.3em;
	font-weight: 500;
}
#service_summary h4:first-of-type {
	margin-top: 0;
}
#software_skills span {
	margin-right: 5px;
	padding: 5px;
	box-sizing: border-box;
	line-height: 2.3;
	font-size: .9em;
	color: #fff;
	background-color: rgba(0, 102, 204, .5);
	border-radius: 15px;
}
#software_skills span:hover {
	background-color: rgba(0, 102, 204, .8);
	cursor: pointer;
}

/* Projects preview */
#services #projects_preview {
	margin: 0;
	background: none;
	box-shadow: none;
}
#services #projects_preview .project_container {
	margin-right: 10px;
}
#services #projects_preview.float {
	float: right;
}
#services #projects_preview h3 {
	margin: 0;
	padding-bottom: 20px;
	border-bottom: 2px solid #D3D3D3;
	font-size: 1.3em;
	font-weight: 500;
}

/* CTA */
#cta {
	float: right;
	clear: right;
}
#cta a {
	position: relative;
	top: -10px;
}
#cta p {
	display: inline-block;
	margin: 0;
	margin-top: 10px;
	margin-right: 20px;
}

/* Side Nav */
.side_nav {
	float: left;
}
#services_nav {
	width: 250px;
	margin: 0;
	padding: 0;
	box-shadow: 1px 1px 2px rgba(17, 17, 17, .2);
}
#services_nav li {
	float: none;
	padding: 0;
	overflow: visible;
	background-color: #fff;
}
#services_nav a {
	position: relative;
	display: block;
	padding: 20px 30px;
	box-sizing: border-box;
	border-bottom: 1px solid #D3D3D3;
	font-size: 1.4em;
	font-weight: 300;
	text-decoration: none;
	color: #333;
}
.service_bullets::before {
	content: "+";
	position: absolute;
	left: 10px;
	padding-right: 10px;
	color: rgba(51, 51, 51, .5);
	text-decoration: none;
}
.service_bullets:hover::before {
	color: rgba(0, 102, 204, .5);
}
.service_bullets_pressed::before {
	content: "–";
	position: absolute;
	left: 10px;
	color: rgba(51, 51, 51, .5);
	-webkit-transform: translateY(1px);
	transform: translateY(1px);
}
.service_bullets_pressed:hover::before {
	color: rgba(0, 102, 204, .5);
}
#services_nav li:hover > a {
	color: #0066CC;
}
#services_nav li:last-of-type {
	border-bottom: none;
}
.services_list {
	max-height: 0;
	overflow: hidden;
	padding: 0;
	background-color: #F7F7F7;
	transition: max-height .5s;
}
#services_nav .services_list li {
	background-color: #F7F7F7;
}
#services_nav .services_list li a::before {
	content: none;
}
#services_nav .services_list li:hover {
	background-color: #D3D3D3;
}
#services_nav .services_list li:hover > a {
	color: #333;
}
#services_nav .services_list a {
	display: block;
	padding: 20px 30px;
	box-sizing: border-box;
	border-bottom: none;
	font-size: 1.2em;
	text-decoration: none;
	color: #333;
}

/* ===== Projects ===== */
#architecture_section,
#engineering_section {	
	width: 1110px;
	margin: 0 auto;
	padding: 0 25px;
	box-sizing: border-box;
}
#architecture_section {
	margin-top: 70px;
	padding-bottom: 50px;
}
#engineering_section {
	padding-top: 10px;
	padding-bottom: 70px;
}
#architecture_section h2,
#engineering_section h2 {
	margin: 0 0 10px;
	font-size: 2.1em;
	font-weight: 800;
}
#projects_section {
	width: 100%;
	overflow: visible;
	background-color: #F2F2F2;
	box-shadow: inset 0 0 3px rgba(17, 17, 17, .15);
}
.project_container.break {
	margin-right: 0;
}

.featured_project  {
	width: 520px;
	height: 450px;
}
.featured_project .thumbnail {
	width: 520px;
	height: 390px;
	background-color: #2079D2;
}
.featured_project h4 {
	margin: 10px;
	font-size: 1.3em;
}
.featured_project .summary {
	width: 520px;
	height: 390px;
}
.featured_project .more_dots {
	-webkit-transform: translateX(485px);
	transform: translateX(485px);
}

/* ===== Single project ===== */
#project h2 {
	margin: 0 0 40px;
	font-size: 2.1em;
	font-weight: 800;
}

/* Project summary */
#project_summary {
	float: right;
}
#project_summary table {
	width: 530px;
	min-height: 390px;
	box-shadow: 1px 1px 2px rgba(17, 17, 17, .2);
}
#project_summary td {
	padding: 20px 10px;
	vertical-align: text-top;
}
#project_summary td:nth-of-type(2n+1) {
	width: 130px;
	border-bottom: 1px solid #D3D3D3;
	box-sizing: border-box;
	background-color: #F7F7F7;
	text-align: right;
}
#project_summary td:nth-of-type(2n) {
	padding-left: 30px;
	border-bottom: 1px solid #F7F7F7;
	box-sizing: border-box;
}
#project_summary tr:last-of-type td {
	border: none;
}
#project_summary a {
	text-decoration: none;
	color: #0066CC;
}
#project_summary a:hover {
	text-decoration: underline;
}

#summary_description {
	height: 170px;
}

/* Similar project gallery */
#project_gallery {
	float: left;
	position: relative;
	width: 500px;
}
#project_gallery .featured_img {
	position: relative;
	width: 100%;
	height: 280px;
	margin: 0;
	overflow: hidden;
	background-color: rgba(0, 102, 204, .5);
	box-shadow: 1px 1px 2px rgba(17, 17, 17, .2);
}
#project_gallery .featured_img figcaption {
	position: absolute;
	width: 100%;
	bottom: 0;
	padding: 10px;
	box-sizing: border-box;
	color: #fff;
	background-color: rgba(0, 102, 204, .5);
}
.project_img {
	position: relative;
	float: left;
	width: 92px;
	height: 92px;
	margin: 20px 7px 0 0;
	overflow: hidden;
	background-color: rgba(0, 102, 204, .5);
	box-shadow: 1px 1px 2px rgba(17, 17, 17, .2);
	cursor: pointer;
}
.project_img.first {
	margin-left: 2px;
}
.project_img figcaption {
	position: absolute;
	top: 0;
	width: 92px;
	height: 92px;
	padding-top: 20px;
	background-color: rgba(0, 102, 204, .5);
	text-align: center;
	color: #fff;
	opacity: 0;
}
.project_img:hover figcaption {
	opacity: 1;
}

#additional_img {
	position: absolute;
	right: 0;
	margin-top: 30px;
}
#additional_img p {
	display: inline-block;
	margin: 20px 20px 0 0;
}
#drawings_button {
	margin-right: 20px;
}

/* Similar projects preview */
#project #projects_preview {
	margin: 0;
	background: none;
	box-shadow: none;
}
#project #projects_preview h3 {
	margin: 0;
	padding-bottom: 20px;
	border-bottom: 2px solid #D3D3D3;
	font-size: 1.3em;
	font-weight: 500;
}
#project #projects_container {
	padding: 0;
}
#project .project_container.last {
	position: relative;
	box-shadow: none;
	background-color: rgba(0, 0, 0, 0);
}
#project .project_container.last .button {
	position: relative;
	width: 40px;
	height: 40px;
	top: 85px;
	left: 80px;
	margin-right: 10px;
	margin-top: 0;
	box-shadow: 1px 1px 2px rgba(17, 17, 17, .2);
}
#project .project_container.last #previous {
	background-color: #D3D3D3;
}
#project .project_container.last #next {
	background-color: rgba(0, 104, 208, .5);
}
#project .project_container.last #next:hover {
	background-color: #0066CC;
}
#project .project_container.last #previous::before {
	position: absolute;
	left: 10px;
	top: 8px;
	content: "◀︎";
	color: #fff;
	font-size: 1.5em;
	font-weight: 300;

}
#project .project_container.last #next::before {
	position: absolute;
	left: 12px;
	top: 8px;
	content: "►";
	color: #fff;
	font-size: 1.5em;
	font-weight: 300;

}

/* CTA */
#project #cta {
	margin-top: 30px;
	clear: right;
}

/* ===== Single project ===== */
#contacts {
	position: relative;
	float: left;
}
#contacts h2 {
	margin: 0;
	margin-bottom: 30px;
	font-size: 2.1em;
}
#contacts dl {
	width: 350px;
	margin: 0;
	background-color: #fff;
	box-shadow: 1px 1px 2px rgba(17, 17, 17, .2);	
}
#contacts dt {
	display: inline-block;
	min-width: 100px;
	padding: 20px 10px;
	box-sizing: border-box;
	background-color: #F7F7F7;
	text-align: right;
	border-bottom: 1px solid #D3D3D3;
}
#contacts dd {
	display: inline-block;
	width: calc(100% - 100px);
	margin: 0;
	padding: 20px 25px;
	box-sizing: border-box;
	border-bottom: 1px solid #F7F7F7;
}
#contacts .last {
	border: none;
}

#map {
	width: 350px;
	height: 300px;
	margin-top: 30px;
	background-color: rgba(0, 104, 208, .5);
}

/* Contact form */
#contact_form {
	position: relative;
	width: 700px;
	float: right;
}
#contact_form h3 {
	margin-left: 248px;
	margin-top: 25px;
	margin-bottom: 20px;
	font-size: 1.4em;
	font-weight: 400;
}
#contact_form p {
	margin: 0;
	margin-bottom: 25px;
}
#contact_form label {
	display: inline-block;
	width: 100px;
	text-align: right;
}
#contact_form label span {
	color: rgba(229, 0, 0, .5);
}
#contact_form input {
	display: inline-block;
	width: 250px;
	height: 40px;
	margin-left: 10px;
	padding: 10px;
	border: none;
	box-sizing: border-box;
	box-shadow: 1px 1px 2px rgba(17, 17, 17, .2);

	-webkit-appearance: none;
	-webkit-box-shadow: 1px 1px 2px rgba(17, 17, 17, .2);

}
#contact_form input:focus {
	outline: none;
	box-shadow: 3px 3px 10px rgba(17, 17, 17, .1) !important;

	-webkit-appearance: none;
	-webkit-box-shadow: 3px 3px 10px rgba(17, 17, 17, .1) !important;
}
#contact_form textarea {
	width: 250px;
	height: 160px;
	margin-left: 10px;
	padding: 10px;
	border: none;
	box-sizing: border-box;
	box-shadow: 1px 1px 2px rgba(17, 17, 17, .2);

	-webkit-appearance: none;
	-webkit-box-shadow: 1px 1px 2px rgba(17, 17, 17, .2);
}
#contact_form textarea:focus {
	outline: none;
	box-shadow: 3px 3px 10px rgba(17, 17, 17, .1);

	-webkit-appearance: none;
	-webkit-box-shadow: 3px 3px 10px rgba(17, 17, 17, .1) !important;
}
#message_label {
	display: inline-block;
	padding-top: 10px;
	vertical-align: top;
}
#contact_form .last {
	margin: 0;
	margin-left: 300px;
}
#contact_form #checkbox {
	width: auto;
	height: auto;
	margin-left: 115px;
	margin-right: 10px;
	box-shadow: none;

	-webkit-appearance: checkbox;
}
#contact_form #checkbox_label {
	width: auto;
	height: auto;
}
#contact_form #attachment,
#contact_form .last {
	width: auto;
	height: auto;
	margin-right: 10px;
	padding: 15px;
	box-shadow: none;
	background-color: #0066CC;
	color: #fff;
}
.error_message,
.tip_message {
	display: inline-block;
	position: absolute;
	width: 300px;
	right: 0px;
	margin-top: 1px;
	padding: 10px 20px;
	box-sizing: border-box;
	color: #fff;
}
.tip_message {
	background-color: rgba(0, 104, 208, .5);
}
.error_message {
	background-color: rgba(229, 0, 0, .5);
}
.tip_message:before,
.error_message:before {
	position: absolute;
	content: "";
	width: 10px;
	height: 10px;
	left: -10px;
	top: 0px;
}
.tip_message:before {
	background-color: rgba(0, 0, 0, 0);
	background: -moz-linear-gradient(45deg, 
		rgba(0,0,0,0) 0%,
		rgba(0,0,0,0) 49%,
		rgba(0, 104, 208, .5) 50%,
		rgba(0, 104, 208, .5) 100%);
	background: linear-gradient(45deg,
		rgba(0,0,0,0) 0%,rgba(0,0,0,0) 49%,
		rgba(0, 104, 208, .5) 50%,
		rgba(0, 104, 208, .5) 100%);	
}
.error_message:before {
	background-color: rgba(0, 0, 0, 0);
	background: -moz-linear-gradient(45deg,
		rgba(0,0,0,0) 0%,
		rgba(0,0,0,0) 49%,
		rgba(229, 0, 0, .5) 50%,
		rgba(229, 0, 0, .5) 100%);
	background: linear-gradient(45deg,
		rgba(0,0,0,0) 0%,
		rgba(0,0,0,0) 49%,
		rgba(229, 0, 0, .5) 50%,
		rgba(229, 0, 0, .5) 100%);
}

/* Mobile 1st step */
@media screen and (max-width: 1110px) {
	#page {
		width: 100%;
	}

	/* Nav */
	#nav_container {
		width: 100%;
	}

	/* Footer */
	#footer_container {
		width: 100%;
	}
	.footer_column {
		float: none;		
		display: inline-block;
		vertical-align: top;
	}

	/* ===== Home page Slider ===== */
	#slider_content {
		width: 100%;
	}

	/* ===== Home page Services ===== */
	#services_preview {
		width: 100%;
		text-align: center;
	}
	#services_preview .column {
		float: none;
		display: inline-block;
		vertical-align: top;
		margin: 0 20px 30px 0;
	}
	#services_preview .column h3,
	#services_preview .column p,
	#services_preview .more_info {
		text-align: left;
	}

	/* ===== Home page / Projects ===== */
	#projects_container {
		width: 100%;
		text-align: center;
	}
	#projects_menu {
		width: calc(100% - 50px);
		margin: 0 auto;
	}
	#projects_container .project_container {
		float: none;
		display: inline-block;
		vertical-align: top;
		margin: 30px 20px 0;
	}
	#projects_container .project_container .summary,
	#projects_container .project_container h4 {
		text-align: left;
	}
	.project_container.more.last {
		margin: 82px 106px !important;
	}

	/* ===== Projects ===== */
	#architecture_section,
	#engineering_section {
		width: 100%;
		text-align: center;
	}
	#architecture_section h2,
	#engineering_section h2 {
		text-align: left;
	}
	#architecture_section .project_container.break,
	#engineering_section .project_container.break {
		margin: 30px 20px 0 0;
	}
	.project_container {
		float: none;
		display: inline-block;
		text-align: left;
	}

	/* ===== Single Project ===== */
	#project_summary,
	#project_gallery,
	#project #cta {
		float: none;
	}
	#additional_img {
		position: initial;
	}
	#project_summary {
		margin-top: 30px;
	}

	/* ===== Single Project ===== */
	#project .project_container.last.mobile .button {
		position: relative;
		box-shadow: 1px 1px 2px rgba(17, 17, 17, .2);
		width: auto;
		height: auto;
		left: 0;
		top: 0;
		margin-top: 10px;
		color: #fff;
	}

	/* ===== Services Project ===== */
	#service_summary {
		float: none;
	}
	#services #projects_preview {
		width: 370px;
	}
	#content_wrapper {
		float: none;
		display: inline-block;
		margin-left: 50px;
	}

	/* ===== Contact Project ===== */
	#contact_form {
		float: none;
		display: inline-block;
		width: 350px;
		margin-left: 50px;
	}
	#contact_form h3 {
		margin-left: 0;
	}
	#contact_form label {
		width: 86px;
	}
	.error_message, .tip_message {
		position: relative;
		width: 250px;
		left: 99px;
		margin-top: 10px;
	}
}

/* Mobile 2nd step */
@media screen and (max-width: 820px) {
	/* Nav */
	#nav_container {
		padding: 0 10px;
		text-align: center;
	}
	#nav_container h1 {
		float: none;
		margin: 0;
		padding: 20px 0 5px;
	}
	#nav_container h1 img {
		width: 250px;
	}
	#main_menu {
		float: none;
		padding: 15px 0 20px;
	}
	#main_menu li {
		display: inline-block;
		float: none;
		padding-left: 10px;
	}
	#main_menu li:first-of-type {
		padding-left: 0;
	}
	#main_menu a {
		font-size: 1em;
	}

	.drop::after {
		-webkit-transform: translate(23px, 0px) rotate(45deg);
		transform: translate(23px, 0px) rotate(45deg);
	}
	#sub_menu {
		width: 100%;
		left: 0;
		margin-top: 20px;
		background-color: #fff;
		box-shadow: inset 0px 1px 2px rgba(17, 17, 17, .1),
		1px 1px 2px rgba(17, 17, 17, .2);
		z-index: 2;
	}
	#sub_menu li,
	#sub_menu a:hover {
		background: none;
	}
	#sub_menu a {
		display: block;
		padding: 10px 0;
		box-sizing: border-box;
		border-bottom: none;
	}
	#contact_header p {
		padding: 6px 10px;
	}
	#mail_cue {
		display: none;
	}

	/* Footer */
	.footer_column {
		width: 100% !important;
	}

	/* ===== Home page / Slider ===== */
	#slider {
		transition: height .5s;
	}
	#slider_content p {
		width: 300px;
		right: 10px;
		font-size: 2em;
	}
	.slider_controls:hover {
		background-color: rgba(32, 121, 210, .5);
	}

	/* ===== Home page / Services ===== */
	#services_preview {
		padding: 0 10px;
	}
	#services_preview .column,
	#services_preview .column.last {
		float: none;
		display: block;
		margin: 0 auto 20px !important;
		padding-top: 10px;
		border-top: 1px dotted rgba(17, 17, 17, .2)
	}
	#services_preview .column:first-of-type {
		border: none;
	}

	/* ===== Home page / Projects ===== */
	#projects_container {
		padding: 0 10px;
	}
	#projects_menu {
		width: calc(100% - 40px);
	}
	#projects_menu li {
		margin-right: 10px;
	}

	/* ===== Home page / About ===== */
	#about_us_preview {
		width: calc(100% - 20px);
	}

	/* ===== Projects ===== */
	.project_container.featured_project {
		width: 100%;
		height: 300px;
		margin: 30px 0;
	}
	.featured_project .summary,
	.featured_project .thumbnail {
		width: 100%;
		height: calc(100% - 60px);
	}
	.featured_project .more_dots {
		-webkit-transform: none;
		transform: none;
		right: 10px;
	}

	/* ===== Services Project ===== */
	#content_wrapper {
		margin-left: 30px;
	}
	#service h3 {
		margin-top: 40px;
	}
	#service h4:first-of-type {
		margin-top: 30px;
	}
	#service .featured_img.float {
		float: none;
	}

	/* ===== Contact Project ===== */
	#contact_form {
		margin-left: 0;
	}
}

@media screen and (max-width: 700px) {
	/* ===== Services Project ===== */
	#content_wrapper {
		margin-left: 0;
	}
}

/* Mobile 3th step */
@media screen and (max-width: 565px) {
	/* ===== Projects ===== */
	.project_container {
		margin: 30px 0 0 !important;
	}

	/* ===== Single Project ===== */
	#project_gallery,
	#project_summary table {
		width: 100%;
	}
	#project .project_container.last.mobile{
		height: auto;
	}
	#project .project_container.last.mobile p{
		margin: 0;
	}
	#project_summary td:nth-of-type(2n+1) {
    	width: 100px;
    }

	/* ===== Services Project ===== */
	#services_nav,
	#service .featured_img,
	#service #service_summary,
	#services #projects_preview {
		width: 100%;
	}
	#services #projects_preview {
		text-align: center;
	}

	/* ===== Contact Project ===== */
	#contacts,
	#contacts dl,
	#map {
		width: 100%;
	}
	#contacts dt {
		min-width: 80px;
	}
	#contacts dd {
		width: calc(100% - 80px);
	}
	#contact_form {
		width: 100%;
	}
	#contact_form input,
	#contact_form textarea {
		width: calc(100% - 84px);
	}
	.error_message, .tip_message {
		width: calc(100% - 100px);
	}
	#contact_form .last,
	#contact_form #checkbox {
		margin-left: 0;
	}
	#contact_form label {
		width: 70px;
	}
}

/* Mobile 3th step */
@media screen and (max-width: 560px) {
	#cta a {
		top: 0;
	}
}


/* ==========================================================================
Home page slider
========================================================================== */

#slide_1,
#slider_curtain {
	background: url(../img/home_slide_one-bridge.jpg) center;
}
#slide_2 {
	background: url(../img/home_slide_two-stairs.jpg) center;
}

/* ==========================================================================
Dynamically controlled elements
========================================================================== */

/* Contacts */
.error_message {
	display: none;
}

/* ==========================================================================
Helper classes
========================================================================== */

/*
* Hide visually and from screen readers
*/

.hidden {
	display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*/

.visuallyhidden {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 0;
}

/*
* Extends the .visuallyhidden class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
	clip: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	position: static;
	width: auto;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
	visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
	content: " "; /* 1 */
	display: table; /* 2 */
}

.clearfix:after {
	clear: both;
}

/* ==========================================================================
EXAMPLE Media Queries for Responsive Design.
These examples override the primary ('mobile first') styles.
Modify as content requires.
========================================================================== */

@media only screen and (min-width: 35em) {
	/* Style adjustments for viewports that meet the condition */
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
	/* Style adjustments for high resolution devices */
}

/* ==========================================================================
Print styles.
Inlined to avoid the additional HTTP request:
http://www.phpied.com/delay-loading-your-print-css/
========================================================================== */

@media print {
	*,
	*:before,
	*:after,
	*:first-letter,
	*:first-line {
		background: transparent !important;
color: #000 !important; /* Black prints faster:
http://www.sanbeiji.com/archives/953 */
box-shadow: none !important;
text-shadow: none !important;
}

a,
a:visited {
	text-decoration: underline;
}

a[href]:after {
	content: " (" attr(href) ")";
}

abbr[title]:after {
	content: " (" attr(title) ")";
}

/*
* Don't show links that are fragment identifiers,
* or use the `javascript:` pseudo protocol
*/

a[href^="#"]:after,
a[href^="javascript:"]:after {
	content: "";
}

pre,
blockquote {
	border: 1px solid #999;
	page-break-inside: avoid;
}

/*
* Printing Tables:
* http://css-discuss.incutio.com/wiki/Printing_Tables
*/

thead {
	display: table-header-group;
}

tr,
img {
	page-break-inside: avoid;
}

img {
	max-width: 100% !important;
}

p,
h2,
h3 {
	orphans: 3;
	widows: 3;
}

h2,
h3 {
	page-break-after: avoid;
}
}
