@charset "utf-8";

* { font-family: 'Open Sans', sans-serif; }

html {
	width: 100%;
	height: 100%;
	display: -webkit-flex;
	display: flex;
	overflow: auto;
	overflow-x: hidden;
	background-image: url('../img/bg.png');
}

body {
	-webkit-flex: 1;
	flex: 1;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
}

svg {
	fill: currentColor;
	width: 100%;
	height: 100%;
}

body > .social {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: row;
	flex-direction: row;
	-webkit-align-self: flex-end;
	align-self: flex-end;
	margin: .5em 1em;
}

body > .social a {
	display: block;
	width: 2.5em;
	height: 2.5em;
	margin-left: .5em;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	border: solid .15em rgba(158, 113, 56, 0.7);
	border-radius: .5em;
}

/* INTRO */

.intro {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 50;
	padding: 2em;
	box-sizing: border-box;
	background-color: #FFF;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: row;
	flex-direction: row;
}

.intro .column {
	-webkit-flex: 1;
	flex: 1;
}

.intro .center {
	background-image: url('../img/intro/intro.png');
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	max-width: 25em;
}

.intro .enter {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: row;
	flex-direction: row;
	-webkit-align-items: center;
	align-items: center;
}

.intro .enter .button {
	width: 6em;
	height: 6em;
	background-color: #E5E8EA;
	border: solid 2px #b89978;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: row;
	flex-direction: row;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: center;
	justify-content: center;
	cursor: pointer;
	position: relative;
	margin-left: 2em;
}

.intro .enter .button p {
	color: #b09162;
	font-size: 1.5em;
}


/* HEADER */

.header {
	position: fixed;
	z-index: 10;
	width: calc(100% - 3em);
	height: 100%;
	max-width: 18em;
	background-color: #D3C189;
	border-right: solid 2px #9E7138;
	overflow: auto;
	left: 0;

	-webkit-transition: left .5s ease-out;
	transition: left .5s ease-out;
}

.header.hidden {
	left: -19em;
	-webkit-transition: left .5s ease-in;
	transition: left .5s ease-in;
}

.header .logo {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	height: 8em;
	background-image: url('../img/header/logo.png');
	background-size: 6em;
	background-repeat: no-repeat;
	background-color: #FFF;
	background-position: 1em 1em;
	border-bottom: solid 2px #9E7138;
}

.header .logo .menu-hide {
	color: #9E7138;
	width: 2.5em;
	height: 2.5em;
	-webkit-align-self: flex-end;
	align-self: flex-end;
	margin: .5em 1em;
	cursor: pointer;
}

.header .menu a {
	font-size: 1em;
	padding: .5em;
	padding-left: 1em;
	display: block;
	cursor: pointer;
	color: #000;

	-webkit-transition: all .3s ease-out;
	transition: all .3s ease-out;
}

.header .menu a:hover {
	background-color: rgba(255, 255, 255, 0.9);
}

.header .menu a.active {
	background-color: rgba(255, 255, 255, 0.9);
	font-weight: 600;
}

.header .menu .submenu {
	max-height: 0em;
	overflow: hidden;

	-webkit-transition: all .5s linear;
	transition: all .5s linear;
}

.header .menu li.active .submenu {
	max-height: 20em;

	-webkit-transition: all .5s linear;
	transition: all .5s linear;
}

.header .menu .submenu a {
	padding: .5em 1em;
	padding-left: 3em;
	font-size: .8em;
}

.header .social {
	display: none;
}

.menu-show {
	color: #9E7138;
	background-color: #FFF;
	width: 2.5em;
	height: 2.5em;
	-webkit-align-self: flex-start;
	align-self: flex-start;
	padding: .5em;
	cursor: pointer;
	border: solid 2px #9E7138;
	border-top: none;
	border-left: none;
	position: fixed;
	z-index: 9;
	opacity: .6;
	top: 0;
	left: 0;
}

/* MAIN */

.main {
	width: 100%;
	max-width: 1000px !important;
	display: block;
	-webkit-flex: 0 0 auto;
	flex: 0 0 auto;
	background: #EEE;
	padding: .5em;
	border: solid .2em #CCC;
	margin: 1em auto;
	box-sizing: border-box;
}

/* TEMPLATE 1 */

.template-1 {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	background: #FFF;
	padding: .5em;
}

.template-1 a {
	display: -webkit-flex;
	display: flex;
	height: 15em;
}

.template-1 a .img {
	background-image: url(/eldesign2/img/about/design-philosophy/001.jpg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	-webkit-flex: 1;
	flex: 1;
}

.template-1 h3 {
	font-size: 1em;
	font-weight: 600;
	color: #FFFFFF;
	background: #D3C189;
	border: solid 2px #9E7138;
	-webkit-align-self: flex-start;
	align-self: flex-start;
	padding: .3em .5em;
}

.template-1 p {
	padding: 1em 0;
	font-size: .9em;
	line-height: 1.8em;
	text-align: justify;
	font-weight: 600;
}


.template-1 .text {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	margin-top: 1em;
}

.template-1 .gallery a {
	margin-bottom: 1em;
}

.template-1 .gallery a:nth-last-child(1) {
	margin-bottom: 0;
}

.template-1 .gallery a .img {
	background-size: cover;
}

/* TEMPLATE 2 */

.template-2 {
	display: -webkit-flex;
	display: flex;
	background: #FFF;
	padding: .5em;
	-webkit-flex-direction: row;
	flex-direction: row;
	flex-wrap: wrap;
	-webkit-justify-content: space-between;
	justify-content: space-between;
}

.template-2 a {
	width: 100%;
	margin-bottom: 1em;
	display: block;
}

.template-2 a.w25 {
	width: calc(100% / 4 - .5em);
}

.template-2 a.w33 {
	width: calc(100% / 3 - .5em);
}


.template-2 a.w50 {
	width: calc(100% / 2 - .5em);
}

.template-2 a .img {
	width: 100%;
	height: auto;
}


/* TEMPLATE 3 */

.template-3 {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	flex-wrap: wrap;
	-webkit-flex: 1;
	flex: 1;
	background-color: #FFF;
	padding: .5em 1em;
}

.template-3 .img {
	width: 100%;
	margin: 1em 0;
	border: solid .1em #CCC;
	box-sizing: border-box;

	-webkit-transition: all .3s ease-out;
	transition: all .3s ease-out;
}

.template-3 .img:hover {
	border-color: #9E7138;
}

.template-3 a {
	width: 100%;
	height: 0;
	padding-bottom: 60%;
	display: block;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	border: solid .5em #EEE;
	box-sizing: border-box;
}


/* HOME */

.home {
	position: relative;
	width: calc(95% - 1.4em);
	max-width: 1000px;
}

.home .img {
	position: absolute;
	width: calc(100% - 1em);
	height: calc(100% - 1em);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.home .img:nth-child(1) {
	opacity: 1;
}

/* ABOUT */

.varieties-of-design {
	-webkit-flex-direction: row;
	flex-direction: row;
	display: -webkit-flex;
	display: flex;
}

.varieties-of-design .slider {
	-webkit-flex: 1;
	flex: 1;
	background-color: #CCC;
	height: 15em;
	position: relative;
}

.varieties-of-design .slider:nth-child(2n) {
	margin: 0 .5em;
}


.varieties-of-design .slider .img {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background-position: center;
	background-size: cover;
}


/* SERVICES */

.services .template-3 .img {
	margin-bottom: 1em;
	position: relative;
}

.services .template-3 .img p {
	position: absolute;
	padding: .7em;
	opacity: 1;
	overflow: hidden;
	background: #FFF;
	width: 100%;
	box-sizing: border-box;
	text-align: center;
	font-weight: 600;

	-webkit-transition: all .3s ease-out;
	transition: all .3s ease-out;

}

.services .gallery a {
}

/* ACCOLADES */

.publications a:nth-last-child(1) {
	margin-bottom: 0;
}

.client-recognition h3 {
	margin-bottom: 1em;
}

.client-recognition p {
	font-style: italic;
}

.client-recognition p span {
	width: 100%;
	display: block;
	text-align: right;
	margin: 1em 0;
	border-bottom: solid 1px #EEE;
	padding-bottom: 1em;
	font-style: normal;
	font-size: .9em;
}

.client-recognition article:nth-last-child(1) p span {
	border: none;
	margin-bottom: 0;
	padding-bottom: 0;
}


/* BLOG */

.inspiration a:nth-last-child(1),
.inspiration a:nth-last-child(2),
.inspiration a:nth-last-child(3) {
	margin-bottom: 0;
}

.copy-from-the-nature a:nth-last-child(1),
.copy-from-the-nature a:nth-last-child(2) {
	margin-bottom: 0;
}

.color .text .row {
	display: -webkit-flex;
	display: flex;
}

.color .template-2 a {
	margin: 0;
}

.color .template-2 .img {
	border-bottom: solid .3em #CCC;
	border-top: solid .3em #CCC;
}

.color .template-2 hr {
	height: .2em;
	border: 0;
	width: 100%;
	background: #CCC;
	margin: 2em 0;
}


.stress-less h3 {
	text-shadow: none;
	white-space: pre-wrap;
	color: #F00;
	margin-bottom: 1em;
	margin-left: 1em;
	font-size: 1.5em;
	background: none;
	padding: 0;
	border: none;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
}

.stress-less h3 span {
	color: #7B5233;
}

.stress-less ul li {
	list-style-type: disc;
	margin-left: 4em;
    text-align: justify;
	padding: .5em 0;
	line-height: 1.3em;
	font-size: .9em;
	font-weight: 700;
	color: #683D32;
}


/* CONTACT */

.contact .img {
}

.contact h3 {
	font-size: 2em;
	margin-bottom: .5em;
	text-shadow: none;
	color: #855722;
}

.contact p {
	padding: .5em 0;
	font-weight: 500;
}

.contact p strong {
	font-weight: 700;
}

.contact .form {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
}

.contact .info {
	font-weight: 700;
	color: #0CC925;
}

.contact .info.error {
	color: #F00;
}

.contact .form input,
.contact .form textarea {
	font-size: .9em;
	padding: .5em;
	margin-top: 1em;
	border: solid 1px #855722;
}

.contact .form textarea {
	min-height: 12em;
}

.contact .submit {
	-webkit-align-self: flex-end;
	align-self: flex-end;
	background: #D3C189;
	color: #441000;
	padding: .8em 2.4em;
	font-size: .9em;
	margin-top: 1em;
	cursor: pointer;
	border: solid 1px #855722;
}


/* FOOTER */

.footer {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	-webkit-align-self: stretch;
	align-self: stretch;
	-webkit-flex: 1;
	flex: 1;
	-webkit-justify-content: flex-end;
	justify-content: flex-end;
	box-sizing: border-box;
	margin-top: 1em;
}

.footer .top {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-align-items: center;
	align-items: center;
	padding: .5em;

	background-image: url('../img/footer/background.png');
	background-repeat-y: no-repeat;
	background-size: contain;
}

.footer p {
	color: #FFF;
	margin: .5em 1em;
	font-size: .9em;
	font-weight: 400;
}

.footer .bottom {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: center;
	justify-content: center;
	background: #2a1b01;
	padding: 0 1em;
}

.footer .bottom .img {
	width: 100%;
	height: 3em;
	margin: -.5em 1em;
	background-image: url('../img/footer/texts.png');
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
}

.footer .bottom .copyrights {
	color: #999;
	font-size: .6em;
	padding: .5em;
	margin-top: 1em;
}

@media all and (min-width: 500px) {
	.main {
		width: calc(100% - 1em);
	}
}

@media all and (min-width: 600px) {

	.template-3 {
		-webkit-flex-direction: row;
		flex-direction: row;
		-webkit-justify-content: flex-start;
		justify-content: flex-start;
	}

	.template-3 .img {
		width: calc(100% / 2 - 1em);
		margin: 1em .5em;
	}

	.varieties-of-design .slider {
		height: 20em;
	}
}

@media all and (min-width: 700px) {
	
	.main {
		width: calc(100% - 2em);
		margin: 1em auto;
		box-sizing: border-box;
	}

	.template-1 .gallery {
		display: -webkit-flex;
		display: flex;
		-webkit-flex-direction: row;
		flex-direction: row;
		-webkit-justify-content: space-between;
		justify-content: space-between;
	}

	.template-1 .gallery a {
		width: calc(100% / 3 - .5em);
		height: 10em;
		margin-bottom: 0;
	}

	.template-1 .gallery .img {
		background-size: cover;
	}

	.varieties-of-design .slider {
		height: 25em;
	}

}

@media all and (min-width: 800px) {

	.varieties-of-design .slider {
		height: 30em;
	}

	.template-1 {
		-webkit-flex-direction: row;
		flex-direction: row;
		flex-wrap: wrap;
	}

	.template-1 > a {
		-webkit-flex: 1;
		flex: 1;
	    height: auto;
	    margin-right: 2em;
	}

	.template-1 > a .img {
		background-size: cover;
	}

	.template-1 .text {
		-webkit-flex: 2;
		flex: 2;
	}

	.template-1 .gallery {
		width: 100%;
		margin-top: 1em;
	}

	.template-3 .img {
		width: calc(100% / 3 - 1.01em);
	}

	.footer .top {
		-webkit-flex-direction: row;
		flex-direction: row;
	}
}


@media all and (min-width: 900px) {

	/* HEADER */

	.menu-show,
	.menu-hide {
		display: none;
	}

	body > .social {
	}

	.header {
		margin: 1em auto;
		margin-bottom: 0;
		-webkit-flex: 0 0 auto;
		flex: 0 0 auto;
		left: 0 !important;
	    position: relative;
	    overflow: visible;
	    max-width: 1000px !important;
	    display: -webkit-flex;
		display: flex;
	    -webkit-flex-direction: row;
		flex-direction: row;
	    -webkit-align-items: center;
	    align-items: center;
	    background: none;
	    border: none;
	    height: 8em;

	    -webkit-transition: all 0s !important;
	    transition: all 0s !important;
	}

	.header .logo {
		min-height: 8em;
	    min-width: 8em;
	    background-color: inherit;
	    border: none;
	    background-size: contain;
	    background-position: center;
	}

	.header .menu {
		position: relative;
		-webkit-flex: 1;
		flex: 1;
    	margin-left: 1em;
    	background: #D3C189;
		border: solid 2px #9E7138;
		color: #FFF;
	}	

	.header .menu ul {
		display: -webkit-flex;
		display: flex;
	    -webkit-flex-direction: row;
		flex-direction: row;
	}

	.header .menu ul li {
		-webkit-transition: background-color .3s ease-out;
		transition: background-color .3s ease-out;
	}

	.header .menu > ul > li {
		-webkit-flex-grow: 1;
		flex-grow: 1;
    	text-align: center;
    	position: relative;
	}

	.header .menu .submenu {
		position: absolute;
		display: -webkit-flex;
		display: flex;
		-webkit-flex-direction: column;
		flex-direction: column;
		white-space: nowrap;
		background: #D3C189;
		border: solid 2px #9E7138;
		color: #FFF;
		left: 50%;
		transform: translate(-50%, 0);
		overflow: hidden;
		visibility: hidden;
		opacity: 0;
		max-height: inherit;

		-webkit-transition: all 0s !important;
		transition: all 0s !important;

	}

	.header .menu > ul > li:hover > .submenu {
		opacity: 1;
		visibility: visible;
		-webkit-transition: opacity .5s ease-out, visibility .5s ease-out;
		transition: opacity .5s ease-out, visibility .5s ease-out;
	}

	.header .menu .submenu a {
		font-size: .8em;
		padding: .5em;
	}

	.header .menu a {
		color: #FFF;
		padding-left: .5em;

		-webkit-transition: all 0s !important;
		transition: all 0s !important;
	}

	.header .menu a:hover {
		background: none;

		-webkit-transition: all .3s;
		transition: all .3s;
	}

	.header .menu a.active,
	.header .menu li:hover {
		background-color: #9E7138 !important;
		-webkit-transition: background-color .3s;
		transition: background-color .3s;
	}

	.header .social {
	    display: -webkit-flex;
		display: flex;
	    -webkit-flex-direction: row;
		flex-direction: row;
	    position: absolute;
	    right: 0;
	    top: 0;
	}

	.header .social a {
		display: block;
	    width: 2em;
	    height: 2em;
	    margin-left: .5em;
	    background-position: center;
	    background-repeat: no-repeat;
	    background-size: contain;
	    border: solid .15em rgba(158, 113, 56, 0.7);
	    border-radius: .5em;
	}

	body > .social {
		display: none;
	}

	.main {
		width: calc(100% - 3em);
	}

	.template-1 .gallery a {
		height: 15em;
	}

}