@font-face {
    font-family: 'draftsmanregular';
    src: url('draftsman.eot');
    src: url('draftsman.eot?#iefix') format('embedded-opentype'),
         url('draftsman.woff') format('woff'),
         url('draftsman.ttf') format('truetype'),
         url('draftsman.svg#LTBanjomanRomanRegular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'LTBanjomanRomanRegular';
    src: url('linotype-banjoman-roman.eot');
    src: url('linotype-banjoman-roman.eot') format('embedded-opentype'),
         url('linotype-banjoman-roman.woff') format('woff'),
         url('linotype-banjoman-roman.ttf') format('truetype'),
         url('linotype-banjoman-roman.svg#LTBanjomanRomanRegular') format('svg');
}

body, html	{ 
	width: 100%;
	min-height: 100%;
	padding: 0 !important; 
	margin: 0 !important; 

	}


body	{ 
	font-family:'LTBanjomanRomanRegular'; 
	color: #555; 
	background-color: #D6E1F8;
	}

.home {
	background: #eee url('../images/office.jpg') repeat-x left top ;
	background-size: 100% 95%;
	}
	


	
header {
	display: block;
	padding: 0;
	margin: 0;
	width: 100%;
	height:81px;
	background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHZpZXdCb3g9IjAgMCAxIDEiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPgo8bGluZWFyR3JhZGllbnQgaWQ9Imc0OTQiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4MT0iMCUiIHkxPSIwJSIgeDI9IjEwMCUiIHkyPSIwJSI+CjxzdG9wIHN0b3AtY29sb3I9IiM2QzkzQ0YiIG9mZnNldD0iMCIvPjxzdG9wIHN0b3AtY29sb3I9IiMyNDVFOUUiIG9mZnNldD0iMSIvPgo8L2xpbmVhckdyYWRpZW50Pgo8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2c0OTQpIiAvPgo8L3N2Zz4=);
/*	border-bottom: 1px solid #245e9e;   */
	background-repeat: no-repeat;
	background-size: cover; 
	}
	
header h2 {
	color: #D6E1F8;
	color: #E7E4E4;
	color: #fff;
	float: left;
	clear: none;
	width: 350px;
	margin: 26px 0 0 20%;
	text-shadow: 2px 2px 3px #000;
	font-size: 32px;
}

.ie7 header h2:before,.ie8 header h2:before {
	content:"Your browser is not supported. Please consider upgrading to a more modern browser. Thank you";
	margin-bottom: 30px;
	color:  #245e9e;
	display: block;
	font-family: arial;
}
	
img[src="images/logo.gif"] {
	float: left;
	height: 84px;
	padding: 0;
	margin: -2px 0px 10px -3px !important;
	border: 0;
	background-color: #D6E1F8;
	border-radius: 0;
	}
	
.logoTri {
	width: 0px;
	height: 0px;
	border-style: solid;
	border-width: 84px 0 0 62px;
	border-color: transparent transparent transparent #D6E1F8;
	position: absolute;
	top: -2px;
	left:246px;
}



[src="images/JG_Office.png"] {
	float: right;
	width: 150px;
	box-shadow: none !important;
	}

@media (max-width: 948px) {
[src="images/JG_Office.png"] {
	display: none;
	}
}



.home nav > ul > li:nth-child(1):after,.profile nav > ul > li:nth-child(2):after, .projects nav > ul > li:nth-child(3):after, 
.contact nav > ul > li:nth-child(4):after, .awards nav > ul > li:nth-child(5):after, .pro nav > ul > li:nth-child(6):after	
	{  
	font-family: arial;
	content: "  "; 
	color: #245e9e; 
	background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHZpZXdCb3g9IjAgMCAxIDEiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPgo8bGluZWFyR3JhZGllbnQgaWQ9Imc0OTQiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4MT0iMCUiIHkxPSIwJSIgeDI9IjEwMCUiIHkyPSIwJSI+CjxzdG9wIHN0b3AtY29sb3I9IiM2QzkzQ0YiIG9mZnNldD0iMCIvPjxzdG9wIHN0b3AtY29sb3I9IiMyNDVFOUUiIG9mZnNldD0iMSIvPgo8L2xpbmVhckdyYWRpZW50Pgo8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2c0OTQpIiAvPgo8L3N2Zz4=);
	clear: both; 
	display: block; 
	width: 98%;
	height: 6px;
	background-size: cover; 
	}



h2 {
	color: #245e9e;
	margin: 0 auto;
	text-align: center;
	clear: left;
}
	
ul li {
	list-style-type: none;
	}
	


.popup {
	position: absolute;
	top: -117px;
	left: 148px;
	display: none;
	margin: 0;
	padding: 0;
	width: 102px;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
	.popup {
		left: 163px;
	}
}

ul.popup li {
	text-align: left;
	float: none;
	padding: 0;
	width: 108px;
	margin: 0 !important;
	background-color: black;
	color: white;
	height: auto;
	text-shadow: none;
	border-bottom: 1px solid #ddd;
}

ul.popup li a {
	display: block;
	padding: 12px 0 5px 10px !important;
	width: 98px ;
	height: 20px;
	border: none;
	color: white;
	text-align: left;
}

ul.popup li a:hover {
	background: #666;
	}

ul.popup li:first-child, ul.popup li:first-child a{
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

ul.popup li:nth-child(3),ul.popup li:nth-child(3) a {
	border-bottom: none;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}

ul.popup li:last-child {
	background-color:transparent;
	display: block;
	border: none;
	padding: 0;
	margin:0;
	height: 30px;
	}
	
.tri {
	margin: 0 auto;
	width: 0px;
	height: 0px;
	border-style: solid;
	border-width: 15px 12.5px 0 12.5px;
	border-color: #000000 transparent transparent transparent;
}

nav > ul li:nth-child(3):hover .popup  {
	display: block;
}

	
.home img[src="images/logo.gif"] {
	position: absolute;
	top: 19%;
	left: 0%;
	height: auto;
	padding: 0;
	float: left;
	background:none;
	}

#social {
	position: absolute;
	width: 40px;
	height: 150px;
	top: 12px;
	right: 12px;
	margin: 0;
	padding: 0;
	}
	
#social li {
	display: block;
	margin: 0;
	padding: 0;
	height: 55px;
	width: 40px;
	}
	

	
#social li a {
	height: 55px;
	width: 40px;
	}

#social img[src="images/linkedin.png"] {
	width: 42px;
	height: 44px;
	margin: -2px 0 0 -3px;
}

img[src$=".jpg"],.projects img[src$=".png"]	{
	box-shadow: 1px 6px 10px #555;
	border-radius: 5px;
	}

	
/*	
img[src="images/logo.gif"]
	{
	float: left;
	height: 84px;
	padding: 0 8px 0 0 ;
	margin: -2px 10px 10px -3px !important;
	border: 0;
	background-color: #D6E1F8;
	border-bottom-right-radius: 42px; 
	border-top-right-radius: 81px;
	}
*/	

	
figure img {
	margin: 2% 0 2% 5%;
	}

	
a, a:visited	{
	text-decoration: none;
	color: #666;
	outline: none;
	}
	
nav a, nav a:visited	{
	font: bold 10px draftsmanregular;
}
	
a:hover
	{
	color: #999;
	}
	
h1	{
	/*font-size: 16px;
	font-weight: normal;*/
	margin: 20px auto 0;
	text-align: center;
	font-family: arial;
	}
	

nav > ul li {
	float: left;
	display: inline;
	margin: 10px 10px 0 10px;
	text-align: center;
}

ul li ul  {
	height: 300px;
	width: 156px;
	float: right;
	margin:0 0 0 30px ;
	padding:0;
	
	list-style-type:none;
	
}
ul li ul li {
	margin:5px 0;
	padding:5px 0 ;
	display: block;
	float: none;
	clear:both;
	height: 70px;
	width: 156px;
	text-align: left ;
	font-size: 20px;
	color: #245e9e; 
	}

ul li ul li a span{
	margin:0;
	padding:0;
	line-height: 110%;
	float: right;
	display: inline;
	text-align: left ;
	width:136px ;
	text-align: left;
	}

li a img
	{ 
	border: none;
	}

li a img:hover,figure img:hover
	{ 
	-webkit-transition: all .4s ease-in-out;
	-moz-transition: all .4s ease-in-out;
	-ms-transition: all .4s ease-in-out;
	-o-transition: all .4s ease-in-out;
	transition: all .4s ease-in-out;
	transform: scale(1.2,1.2);
	 -ms-transform: scale(1.2,1.2); 
	 -webkit-transform: scale(1.2,1.2); 
	 -o-transform: scale(1.2,1.2); 
	 -moz-transform: scale(1.2,1.2);
	 z-index:2;
	}

nav	{
	position: fixed;
	bottom: 0;
	width: 100%;
	background-color: #eee;
	height: 42px;
	box-shadow: 0 -2px 7px #888;
}

.home nav {
	box-shadow: none;
}
	

nav > ul:first-child {
	margin: 0 0 20px 0;
	padding: 0;
	}
	
nav > ul li {
	padding: 0;
	list-style-type: none;
	text-shadow: 2px 2px 2px #fff;
	letter-spacing:1px;
	}

small {
	float: right;
	margin: 10px 20px 10px 10px;
	text-shadow: 2px 2px 2px #fff;
	}
	
/* Commercial Projects */

figure.projects {
	clear: left;
	margin: 25px auto 60px;
}

figure.projects img {
	position: static;
	clear: none;
	max-height: 266px;
}

.portrait {
	height: 266px;
	}
	
.landscape {
	width: 301px;
	}
	
/* Residential Projects */

.projects.resProjects figure.projects{
	margin: 2% auto 0;
}

article {
	width: 80%;
	height: 100%;
	margin: 30px auto 70px;
	clear: left;
	overflow: auto;
	padding: 10px 5px 21px 10px;
	font-family: arial;
	font-size: 14px;
	text-shadow: 1px 1px 0px #000;
	color: white;
	background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHZpZXdCb3g9IjAgMCAxIDEiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPgo8bGluZWFyR3JhZGllbnQgaWQ9Imc0OTQiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4MT0iMCUiIHkxPSIwJSIgeDI9IjEwMCUiIHkyPSIwJSI+CjxzdG9wIHN0b3AtY29sb3I9IiM2QzkzQ0YiIG9mZnNldD0iMCIvPjxzdG9wIHN0b3AtY29sb3I9IiMyNDVFOUUiIG9mZnNldD0iMSIvPgo8L2xpbmVhckdyYWRpZW50Pgo8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2c0OTQpIiAvPgo8L3N2Zz4=);
	border-radius: 10px;
	background-size: cover; 
	box-shadow: 0px 4px 16px #000;
	}
	
h3	{
	margin: 0;
	padding:0;
	font-size: 14px;
	}
	
p	{
	
	padding:0;
	margin: 15px 35px 20px 27px;
	text-align: justify;
	
	}
	
hr {
	display: block;
	clear: left;
	width: 95%;
	margin: 0 auto;
	margin-bottom: 20px;
	}
	
ul.services {
	margin-top: 0;
	}
	
.services li{
/*	float: left;*/
	list-style-type: disc;
	margin: 5px 13px 3px;
	text-align: left;
	}
	
div.sep {
	width: 50%;
	float: left;

	}
	
small {
	font-size: 10px;
	margin: -5px 20px 5px 10px;
	color: #666;
	}
	


.show span, .hide span	{
	float: right;
	clear: none;
	margin-top: -25px;
	cursor: pointer;
	}

.bottomlink {
	font-size: 16px;
	font-weight:normal;
	position: absolute;
	top: 520px;
	left: 360px; 
	}
	
/* Renderings */

.projects.renderings figure.projects {
	margin: 25px 0 30px 48px;
}

.projects img[src="images/renderingofranchhouse.jpg"] {
	max-height: 657px;
	height: 657px;
}
	
	
/* Contact us */

.wrapper  {
	width: 90%;
	min-height: 571px;
	margin: 30px auto;
	border-radius: 10px;
	background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHZpZXdCb3g9IjAgMCAxIDEiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPgo8bGluZWFyR3JhZGllbnQgaWQ9Imc3NjciIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4MT0iMCUiIHkxPSIwJSIgeDI9IjEwMCUiIHkyPSIwJSI+CjxzdG9wIHN0b3AtY29sb3I9IiNENkUxRjgiIG9mZnNldD0iMCIvPjxzdG9wIHN0b3AtY29sb3I9IiMyNDVFOUUiIG9mZnNldD0iMSIvPgo8L2xpbmVhckdyYWRpZW50Pgo8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2c3NjcpIiAvPgo8L3N2Zz4=);
	box-shadow: 0px 4px 16px #000;
	background-size: cover; 
}

.contact .wrapper > div {
	width: 44%;
	min-width: 350px;
	float: left;
	clear: left;
	margin: 0 0 0 20px;
	}

h2#thanks {
	color: #fff;
	float: right;
	clear: none;
	width: 36%;
	margin: 145px 9% 0 0;
	text-shadow: 2px 2px 3px #000;
	font-size: 32px;
}

h4 {
	color: #3D6591;
	font-size: 12px;
	font-weight: 900;
	margin:69px 30px 10px;
	text-shadow: 1px 1px 1px #fff;
	}
	
address {
	width: 291px;
	}
	
.contact address, .contact email a, a[href="tel:+6316480880"] {
	display: block;
	margin-left: 74px;
	padding-left: 10px;
	line-height: 66px;
	font: 600 18px optima, arial;
	color: #3D6591;
	text-shadow: 1px 1px 1px #fff;
	border-left: 3px solid #245e9e;
	}
	
.contact email a, a[href="tel:+6316480880"] {
	padding-top: 20px;
	padding-bottom: 20px;
	}
	
form {
	float: left;
	clear: none;
	margin: 5px 0 0 0;
	width: 50%;
	min-width: 320px;
	}
	
.wrapper:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

fieldset {
	border: none;
	margin: 0;
	}
	
legend {
	color: #fff;
	text-shadow: 2px -1px 1px #333;
	}

label {
	display: block;
	font: normal 300 18px optima, arial;
	color: #fff;
	text-shadow: 2px -1px 1px #333;
	}

form input, fieldset, textarea {

	font: normal 300 18px optima, arial;
	color: #666;	
	}
	
input {
	margin-bottom: 5px;
	width: 250px;
	padding: 3px 10px;
}
	
input, textarea {
	border: 1px solid;
	box-shadow: 2px 2px 7px #333 inset;
	border-radius: 20px;
}

	
textarea {
	width: 98%;
	height: 213px; 
	} 
	
button {
	margin: 5px;
	padding: 5px 10px;
	color: #fff;
	background:#245e9e;
	border-radius: 21px;
	text-shadow: 2px -1px 1px #333;
	}

/* mozilla corrections */
@-moz-document url-prefix() {
    fieldset * {
       border: none;
    }

	.popup {
		left: 152px;
	}
}
	
/* Awards */	

.awards figure {
	float: left;
	width: 19%;
	margin: 1% 5% 0 6%;
	}
	
.awards img {
	display: block;
	margin: 0 auto;
}
.awards figcaption {
	margin: 10px 0 0 5px;
	text-align: center;
}

.awards p {
	clear: both;
	}
	

.awards h3 {
	clear: both;
	}
	
.awards figure.landscape {
	width: 25%;
	}
	
.awards figure.landscape img {
	width: 255px;
	}