/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.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,
button,
input,
select,
textarea {
    color: #222;
}

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

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * 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 images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
html,body { height: 100%; }
body { background: #EFEAE4; text-align: center; font: 15px/20px TradeGothicLTPro-Light, Helvetica, Helvetica Neue, Arial; color: #000; }
nav ul { margin: 0; padding: 0!important; list-style-type: none;  text-align: left; }

#splash { 
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
	/*background: red;*/
}

#splash img { width: 100%; height: auto; position: absolute;  left: 0px; top: 0px; }
#splash-1 {  z-index: 1; }
#splash-2 { z-index: 0; display: hidden; }
#splash a { position: absolute; display: none; left: 0px; top: 0px; z-index: 100; color: #fff; text-transform: uppercase; cursor:pointer; 
padding-top: 10px; width: 105px; height: 57px; background: transparent url(./bg/enter-site-small.png) 0px 0px no-repeat; font: 14px/15px TradeGothicLTPro-Cn18, Helvetica, Helvetica Neue, Arial;
}


.outer-white { background: #fff; }
.outer-white img { width: 100%; height: auto; }

.inner { 	padding: 16px 20px 16px 20px; }
.content { width: 100%; margin: 0 auto; padding: 0; text-align: left; }

#site {  position: relative; width: 100%; } 
#header { width: 100%; background: #EFEAE4; z-index: 1000; }


#header-padding { padding: 20px; }
 
#header nav { position: relative; text-align: left; }
#header nav > a { display: block; }
#header nav > a img {width: 100px; height: auto; }
#header nav > span { display: block; position: absolute; right: 0px; top: 0px;  width: 30px; height: 19px; background: transparent url(./bg/menu-icon.gif);} 
#header nav ul { display: none; margin-top: 20px; }
#header nav ul li { }
#header nav ul li a { display: block; color: #000; padding: 6px; letter-spacing: 2px; font: 15px/17px TradeGothicLTPro-Cn18, Helvetica, Helvetica Neue, Arial;  text-transform: uppercase; text-decoration: none;  }
#header nav ul li.current a { color: #fff; background: #369040; }
#header nav ul li a:hover { color: #fff; background: #95d600; }


h1,h2 { max-width: 1024px; margin: 0; letter-spacing: 0.75px; padding: 20px 0; font: 20px/25px TradeGothicLTPro-Cn18, Helvetica, Helvetica Neue, Arial; color: #008656; font-weight: normal; text-transform: uppercase; }


h3 { margin-top: 0px;  font: 17px/20px TradeGothicLTPro-Bd2, Helvetica, Helvetica Neue, Arial; color: #008656; font-weight: normal; text-transform: uppercase; color: #369040; }


a.button { display: inline-block; padding: 10px 9px; letter-spacing: 1.5px; color: #fff; background: #008656; font: 15px/15px TradeGothicLTPro-Cn18, Helvetica, Helvetica Neue, Arial;  text-transform: uppercase; text-decoration: none; }

a.button:hover { background: #369040; }
a.dark {	background: #369040; }
a.medium {	background: #63A70A; }
a.light { background: #95D600; }

hr { border: 0; height: 10px; background: #000; margin: 0 0 20px 0; }
hr.dark {	background: #369040; }
hr.medium {	background: #63A70A; }
hr.light { background: #95D600; }

a.button + hr { margin-top: 50px; }


.content img { width: 100%; height: auto; margin: 0 0 15px 0; }

table { font: 15px/15px TradeGothicLTPro-Light, Helvetica, Helvetica Neue, Arial; margin-bottom: 20px; }
.content td img { margin: 0; }

body.location tr { border-bottom: 1px solid #CCC; }
body.location td { vertical-align: center; height: 30px; padding: 5px 10px; }
body.location td img.walk { width: 19px; height: 33px; }
body.location td img.bus { width: 28px; height: 30px; }
body.location td img.underground { width: 28px; height: 30px; }

body.description table { border-top: 1px solid #000; }
body.description td, body.description th { padding: 5px; font-weight: normal; border-bottom: 1px solid #CCC; }
body.description tr.lined td, body.description tr.lined th { border-bottom: 1px solid #000; }
body.description th { padding-right: 50px; }
body.description ul { padding: 0px 0 0 18px; }
body.description ul li { padding-bottom: 5px; }
body.description h3 { padding-top: 17px; }


figcaption { padding-bottom: 20px;}

.agents {  margin: 50px 0 75px 0; }
.agents img {  margin-bottom: 15px; }
.agents a {  text-decoration: none; color: #369040; font: 15px/17px TradeGothicLTPro-Bd2, Helvetica, Helvetica Neue, Arial; }

img.antonpage { width: 236px; height: auto; }
img.gryphon { width: 280px; height: auto; margin-top: 20px; }
img.apperly { width: 280px; height: auto; }


.columns:before,
.columns:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}
.columns:after { clear: both; }
.columns {
    *zoom: 1;
}

.columns > div.text > p:first-child { color: #369040; font-family: TradeGothicLTPro-Bd2, Helvetica, Helvetica Neue, Arial;  }

.columns > div.image img { width: 100%; height: auto; }

.columns > ul.list { min-width: 210px; margin: 0; list-style-type:none; padding: 0; }
.columns > ul.list li:before { content: "- \00a0 \00a0 \00a0"; }
.columns > ul.list li { font: 17px/21px TradeGothicLTPro-Light, Helvetica, Helvetica Neue, Arial; }
.columns > ul.list li:first-child:before { content: ""; }
.columns > ul.list li:first-child { margin: 20px;  color: #369040; font-weight: normal; font: 17px/21px TradeGothicLTPro-Bd2, Helvetica, Helvetica Neue, Arial; }

.columns > ul.empty li:first-child { display:none; }



#gmap {
	width: 100%;
	height: 600px;
}

#footer nav ul { margin-bottom: 25px; }
#footer nav ul li { float: left; }

#footer nav ul li a { color: #000; padding: 10px 6px; font: 15px/15px TradeGothicLTPro-Cn18, Helvetica, Helvetica Neue, Arial;  text-transform: uppercase; text-decoration: none; }




@media only screen and (min-width: 767px) {
	body { font: 17px/23px TradeGothicLTPro-Light, Helvetica, Helvetica Neue, Arial; }

	#splash a { padding-top: 15px; width: 153px; height: 83px;  background-image: url(./bg/enter-site-medium.png); font: 21px/21px TradeGothicLTPro-Cn18, Helvetica, Helvetica Neue, Arial; }

	.inner { 	padding: 3.25443% 55px 2.60355% 55px; }
	#header { max-height: 250px; }
	#header-padding { padding: 35px; }
	#header nav > a img { width: 110px; }
	#header nav > a { float: left; }
	#header nav > span { display: none; }
	#header nav ul { display: block; float: right; margin: 34px 0 0 0; }
	#header nav ul li { float: left; }
	
	h1,h2 { letter-spacing: 2px; padding: 20px 0; font: 20px/30px TradeGothicLTPro-Cn18, Helvetica, Helvetica Neue, Arial; }
	/*h1,h2 { letter-spacing: 0.75px; padding: 20px 0; font: 20px/25px TradeGothicLTPro-Cn18, Helvetica, Helvetica Neue, Arial; }*/
	
	h3 { font: 23px/30px TradeGothicLTPro-Bd2, Helvetica, Helvetica Neue, Arial;}
	
	hr { height: 30px; margin: 0 0 50px 0; }

	.agents > div {  float: left; }
	.agents > div:first-child {  margin-right: 50px; }
	.agents img {  margin-bottom: 25px; }
	img.gryphon { width: 326px; height: auto; margin-top: 0;}
	img.apperly { width: 400px; height: auto; }

	.columns > div.image { float: left; width: 48.38235%; }
	.columns > div.image:first-child { margin-right: 3.23529%; }
	.columns > div.text { float: left; min-width: 260px; width: 33%; margin-right: 5%; }

	
	.content img { margin: 0 0 25px 0; }

	a.button { display: inline-block; padding: 14px 12px; letter-spacing: 2px; color: #fff; font: 19px/21px TradeGothicLTPro-Cn18, Helvetica, Helvetica Neue, Arial;  text-transform: uppercase; text-decoration: none; }

	.columns > ul.list { float: left; width: 30%; }
	.columns > ul.empty li:first-child { display: block; }
	
	
	
	#footer nav ul li a { color: #000; padding: 10px 6px; font: 19px/21px TradeGothicLTPro-Cn18, Helvetica, Helvetica Neue, Arial;  text-transform: uppercase; text-decoration: none; }
}





@media only screen and (min-width: 1279px) {
	#splash a { padding-top: 20px; width: 211px; height: 114px;  background-image: url(./bg/enter-site.png); font: 28px/28px TradeGothicLTPro-Cn18, Helvetica, Helvetica Neue, Arial; }


	#header-padding { padding: 45px 55px; }
	#header nav > a img { width: 159px; }
	#header nav ul { margin: 62px 0 0 0; }
	#header nav ul li a { padding: 14px 12px; letter-spacing: 2px; font: 19px/21px TradeGothicLTPro-Cn18, Helvetica, Helvetica Neue, Arial; }
	h1,h2 { letter-spacing: 3px; padding: 50px 0; font: 48px/60px TradeGothicLTPro-Cn18, Helvetica, Helvetica Neue, Arial; }
	hr { height: 48px; }


	.content img { margin: 0 0 50px 0; }
	table { font: 17px/19px TradeGothicLTPro-Light, Helvetica, Helvetica Neue, Arial; }
	
	figure { width: 55.22058%; }
}









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

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

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

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

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

/*
 * Hide visually and from screenreaders, 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;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   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,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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 for images, or javascript/internal links
     */

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

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

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

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

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

    @page {
        margin: 0.5cm;
    }

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

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

.map {
	width: 100%;
	padding-bottom: 40%;
	position: relative;
}

.map iframe {
	position: absolute;
	top:0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
