/* ---------- Foundation ---------- */

html {  height:100%; min-height: 100%; width:100%; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { height:100%; min-height: 100%; margin: 0; font-size: 62.5%; font-family: raleway, sans-serif; }
h1, h2, h3, h4, p, blockquote, figure, ol, ul { margin: 0; padding: 0; }
h1, h2, h3, h4 { font-size: inherit; }
a, header, header.scrolled .logo, .cta .details, .cta .icon, .pagination ul li, .btn, .member, .member .details, .amenity::after, .building, .featureImg::before, .building.large .close, .buildingContent .twelve-12 .twelve-6 { text-decoration: none; color: inherit; -webkit-transition: .3s; -moz-transition: .3s; transition: .3s; outline:none !important; }
* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }

/* ======   Lists   ====== */ 

dl, menu, ol, ul {margin: 1em 0; } 
menu, ol, ul, dd  { padding: 0 0 0 40px; }
li { display: block; }
nav ul, nav ol { list-style: none; list-style-image: none; } 

/* ====== Forms ====== */

fieldset { border: 1px solid #c0c0c0; margin: 0 2px; padding: 0.35em 0.625em 0.75em; } 
legend { border: 0; padding: 0; white-space: normal; *margin-left: -7px; }
button,input,select,textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; } 
button,input { line-height: normal; }
button,html input[type="button"], input[type="reset"],input[type="submit"] { -webkit-appearance: button; cursor: pointer; }
button[disabled],input[disabled] { cursor: default;} 
input[type="checkbox"],input[type="radio"] { box-sizing: border-box; padding: 0; *height: 13px; *width: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
button::-moz-focus-inner,input::-moz-focus-inner { border: 0; padding: 0; }
textarea {  vertical-align: top; } 

/* ====== Tables ====== */

table { border-collapse: collapse; border-spacing: 0; }


/* ---------- Theme ---------- */

.paddingtop { padding-top: 100px; }
.paddingbottom { padding-bottom: 100px; }
.margintop { margin-top: 100px; }

.stonebkgrd { background-color: #E4E1DD; }
.greybkgrd { background-color: #8C8984; }
.redbkgrd { background-color: #CD001A; }

.btn { cursor: pointer; border: 2px solid #FFFFFF; display: inline-block; padding: 15px 20px; margin-top: 30px; }
.btn h5 { margin: 0; } 

/* ====== Structure ====== */

.container { max-width: 1440px; margin: 0 auto; }


#header { min-height: 75%; height: auto; background-repeat: no-repeat; background-size: cover; background-position: center; position: relative; }
#header-bar { background-color: rgba(140, 137, 132, 0.50); position: relative; display: block; height: 100px; }
#header-bar #logo { background-image: url('../img/common/logo.png'); background-size: contain; background-repeat: no-repeat; background-position: center; width: 200px; height: 200px; display: block; margin-top: 20px;}
#header-bar #navigation { text-align: right; padding: 30px 0; }
#header-bar #navigation ul {  }
#header-bar #navigation ul li { font-size: 2.4em; font-weight: 500; line-height: 29px; display: inline-block; padding-left: 80px; color: #FFFFFF; }
#policy-header { height: auto; background-repeat: no-repeat; background-size: cover; background-position: center; }

.application-description.open { display: block !important;} 

#welcome .twelve-5 span { height: 650px; display: block; background-size: cover; background-position: top -250px center; background-repeat: no-repeat;}
#headline { position: absolute; bottom: 60px; color: #FFFFFF; }
#about-section { color: #FFFFFF; }
#about-section .twelve-12 { columns: 1; column-gap: 75px; }
#ground-testing .twelve-5 span { height: 750px; display: block; background-size: cover; background-position: center; background-repeat: no-repeat;}
#testimonal-section .twelve-6 { padding-right: 8.333%; }
#testimonal-section .twelve-6.right span { height: 650px; display: block; background-size: cover; background-position: center; background-repeat: no-repeat;}
#work-with ul { columns: 2; }
#work-with ul li { display: block; }

#contact-section { color: #FFFFFF; }

ul { padding: 0 0 0 10px; margin: 0 0 1em 0; }
ul li { display: list-item; list-style-type: disc; font-size: 1.6em; font-weight: 500; line-height: 24px; margin-bottom: 0.2em; }

#footer { background-color: #000000; color: #FFFFFF; }
#footer .twelve-2.right { text-align: right; }
#footer span { background-size: contain; background-repeat: no-repeat; display: inline-block;  }
#footer span#facebook { background-image: url('../img/common/facebook.png'); width: 43px; height: 43px; }
#footer span#linkedin { background-image: url('../img/common/linkedin.png'); width: 37px; height: 40px; }
#footer ul { padding: 0 0 0 0; }
#footer li { display: block; }

/* .application-wrapper {  } */
.application-child { margin: 25px auto; position: relative; min-height: 450px;}
.application-content { float: left; padding: 50px 100px 50px 50px; color: #FFFFFF; }
.application-img { background-size: cover; background-repeat: no-repeat; background-position: center; display: block; position: absolute; top: 0; right: 0; bottom: 0; }
.app-wrap:nth-child(odd) .application-child .application-img { float: left; }
.app-wrap:nth-child(even) .application-child .application-img { left: 0; right: unset; }
.app-wrap:nth-child(even) .application-child .application-content { float: right; }
.application-description { margin-top: -25px; }
.application-description-content { columns: 2; padding: 50px 0;}
.application-description-content p { padding: 0 50px; }

#contact-details h3 { margin-top: 1em; }
.contact-form { padding-left: 50px; padding-right: 50px; color: #FFFFFF; }
.contact-form p { margin-bottom: 1em; }
.contact-form input { width: 100%; margin: 10px 0; padding: 15px 20px; border: none;}
.contact-form input[type="submit"] { cursor: pointer; border: 2px solid #FFFFFF !important; display: inline-block; padding: 15px 20px; margin-top: 30px; width: auto !important; background-color: unset !important; color: #FFFFFF; float: right; }

/* == Type == */

h1 { font-size: 5.0em; font-weight: 900; line-height: 71px; } 
h2 { font-size: 4.0em; font-weight: 900; line-height: 49px; margin-bottom: 1em;}
h3 { font-size: 2.4em; font-weight: 700; line-height: 31px; margin-bottom: 1em; }
h4 { font-size: 2.0em; font-weight: 500; line-height: 28px; }
h5 { font-size: 1.8em; font-weight: 500; line-height: 28px; }
p { font-size: 1.6em; font-weight: 500; line-height: 28px; margin-bottom: 1.25em; }
p a {  }
p a:hover { }
ul {  }
li {  }
small {  }


/* ====== Common Classes ====== */

.section:before, .section:after { content: ""; display: table; }
.section:after { clear: both; }
.section { zoom: 1; }

.left { float: left; }
.right { float: right; }
.block { display: block; }
.inline-block { display: inline-block; *zoom: 1; *display: inline; }
.inline { display: inline; }
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; padding: 0; position: absolute; width: 1px; left: -9999em; }
.visuallyvisible { clip: auto; width: auto; height: auto; left: 0; }
.strong { font-weight: bold; }
.alert { background-color: #ffffcc; display: block; padding: 4px 8px; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; -moz-background-clip: padding; -webkit-background-clip: padding-box; background-clip: padding-box; }
.nolist { list-style: none; }
.nopadding { padding: 0; }
.nomargin { margin: 0; }
.none, .nodesktop, .showmobile, .showtablet, #mobileMap { display: none; }
.showdesktop { display: block; }

/* --- Columns --- */

.twelve-1 { width: 8.333%; } .twelve-2 { width: 16.667%; } .twelve-3 { width: 25.0%; } .twelve-4 { width: 33.333%; } .twelve-5 { width: 41.667%; } .twelve-6 { width: 50.0%; } .twelve-7 { width: 58.333%; } .twelve-8 { width: 66.667%; } .twelve-9 { width: 75.0%; } .twelve-10 { width: 83.333%; } .twelve-11 { width: 91.667%; } .twelve-12 { width: 100%; }
.half { width: 50.0%; } .one-third { width: 33.333%; } .one-fourth { width: 25%; } .one-fifth { width: 20%; }

/* ====== Medium desktops, less than 90em ====== */

@media (max-width: 93em) {

 .container { max-width: 1200px; }

}

/* ====== Small desktops, less than 75em ====== */

@media (max-width: 74.99em) {

	.container { max-width: 960px; }

	#work-with ul { columns: 1; }
	.application-description-content { columns: 1;}
	.application-description-content p { padding: 0 0; }
	#contact-details .twelve-5 { padding-right: 30px; }
	
}

/* ====== Portrait tablets, less than 60em ====== */

@media (max-width: 59.9em) {

	.container { max-width: 720px;   }

	#header-bar #navigation ul li { padding-left: 40px; }
	.paddingtop { padding-top: 50px; }
	.paddingbottom { padding-bottom: 50px; }
	.margintop { margin-top: 50px; }
	
	#about-section .twelve-12 { columns: 1; }
	#ground-testing .twelve-5 { margin-bottom: 20px;  }

	.nine-1 { width: 11.111% } .nine-2 { width: 22.222% } .nine-3 { width: 33.333% } .nine-4 { width: 44.444% } .nine-5 { width: 55.556% } .nine-6 { width: 66.666% } .nine-7 { width: 77.778% } .nine-8 { width: 88.888% } .nine-9 { width: 100% }
	.notablet { display: none; }
	.showtablet, #mobileMap { display: block; }

}

/* ====== Portrait phones, less than 34em ====== */

@media (max-width: 47.9em) {

	.container { max-width: 100%; padding: 0 20px; }

	.application-img { position: relative; height: 300px; }
	.application-child { background-color: #FFFFFF !important; }
	.application-content { background-color: #8C8984; padding: 30px 20px; }
	
	#footer div { margin-bottom: 1em; }
	.contact-form { padding: 30px 20px; }

	/* MOBILE MENU  */

	#mobileMenu {width: 37px; height: 27px; position: absolute; margin: 0; float: right; top: 20px; right: 20px; -webkit-transform: rotate(0deg); -moz-transform: rotate(0deg); -o-transform: rotate(0deg); transform: rotate(0deg); -webkit-transition: .3s ease-in-out; -moz-transition: .3s ease-in-out; -o-transition: .3s ease-in-out; transition: .3s ease-in-out; cursor: pointer; display: inline-block !important; z-index: 13; }
	#mobileMenu span {display: block; position: absolute; height: 4px; width: 100%; border-radius:0px; background: #FFFFFF; opacity: 1; left: 0; -webkit-transform: rotate(0deg); -moz-transform: rotate(0deg); -o-transform: rotate(0deg); transform: rotate(0deg); background-color: #FFFFFF; -webkit-transition: .25s ease-in-out; -moz-transition: .25s ease-in-out; -o-transition: .25s ease-in-out; transition: .25s ease-in-out; }
	#news #mobileMenu span, .post #mobileMenu span, #contact #mobileMenu span, #privacy-policy #mobileMenu span, #cookie-policy #mobileMenu span { background: #2E323A;  background-color: #2E323A; }
	#mobileMenu span:nth-child(1) {top: 0px; }
	#mobileMenu span:nth-child(2),#mobileMenu span:nth-child(3) {top: 11px; }
	#mobileMenu span:nth-child(4) {top: 23px; }
	#mobileMenu.open span:nth-child(1) {top: 7px; width: 0%; left: 50%; }
	#mobileMenu.open span:nth-child(2) {-webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -o-transform: rotate(45deg); transform: rotate(45deg); }
	#mobileMenu.open span:nth-child(3) {-webkit-transform: rotate(-45deg); -moz-transform: rotate(-45deg); -o-transform: rotate(-45deg); transform: rotate(-45deg); }
	#mobileMenu.open span:nth-child(4) {top: 7px; width: 0%; left: 50%; }
#header.mobileOpen #logo { background-image: url('../img/common/logo.png'); width: 114px; height: 60px; }

/* MOBILE NAV */
.mobileNav { position: fixed; top: 0; right: 0; bottom: 0; left: 0; background-color: #E4E1DD; z-index: 4; padding: 100px 0 0; display: none;}
.mobileNav > div { height: 100%; }
.mobileNav ul.menu { padding: 20px 11.111% 0; margin: 0; height: 100%; display: table; border-collapse: collapse;  width: 100%; }
.mobileNav ul.menu li { list-style: none; text-align: center; display: table-row; }
.mobileNav ul.menu li a { vertical-align: middle; color: #000000; text-transform: uppercase; font-size: 3.2em; position: relative; font-weight: 300;  }
.mobileNav li:last-child a { border-bottom: none; }
.menu { padding: 0; margin: 0; }
.mobileOpen { box-shadow: unset !important; padding: 15px 20px !important; }

h1 { font-size: 3.0em; line-height: 41px; }
	.four-1 { width: 25%; } .four-2 { width: 50%; } .four-3 { width: 75%; } .four-4 { width: 100%; }
	.nomobile { display: none; }
	.showmobile { display: block; }

}
