body, html { background-color: #e2dfd8; color: #463933; font-family: Century Gothic,CenturyGothic,AppleGothic,sans-serif; font-size: 16px; margin: 0px; min-height: 100%; overflow-x: hidden; padding: 0px; }
a:hover, a:focus { transition: .2s; text-decoration: none; }
.container { padding: 0; width: 91%; }
.row { margin: 0; }
.row > div { padding: 0 1.5% 12px; }

.sr-only {  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;}
.hide { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

table.pick-a-project { font-size: 12px; width: 80%; margin: 0px auto; margin-bottom: 0.5rem;  }
table.pick-a-project td { text-align: center; width: 50%; }
table.pick-a-project td strong { color: #fff; }
td.pick-e88 { background-color: #8a307b; border: 1px solid #fff; padding: 0.5rem; }
td.pick-rosemary { background-color: #036998; border: 1px solid #fff; border-left: none; padding: 0.5rem; }
table.pick-a-project a { color: #fff; display: block; font-weight: normal; text-decoration: none; }
table.pick-a-project a:hover { color: #fff; font-weight: bold; text-decoration: none; transition: font-weight .2s; }
table.pick-a-project td { text-align: center; width: 50%; }
td.not-e88 { background-color: #fff; border: 1px solid #fff; color: #8a307b; padding: 0.5rem; }
td.not-rosemary { background-color: #fff; border: 1px solid #fff; border-left: none; color: #036998; padding: 0.5rem; }

.pick-prompt { color: #fff; font-size: 12px; letter-spacing: 1px; margin: 0; padding: 0; padding-bottom: 0.5rem; text-align: center; text-transform: uppercase; }
.pick-reset { color: #fff; font-size: 12px; letter-spacing: 0px; margin: 0;  margin-bottom: 1.5rem; padding: 0; text-align: center; text-transform: none; }
.pick-reset a { color: #fff; font-size: 12px; }
.pick-reset a:hover { color: #fff; font-size: 12px; }

.e88-choice { background-color: #8a307b; padding: 2rem; font-size: 125%; color: #fff; text-align: center; margin: 1rem 0; }
.e88-choice a { color: #fff; text-decoration: none; }
.e88-choice a:hover { color: #fff; text-decoration: underline; }
.rosemary-choice { background-color: #036998; padding: 2rem; font-size: 125%; color: #fff; text-align: center; }
.rosemary-choice a { color: #fff; text-decoration: none; }
.rosemary-choice a:hover { color: #fff; text-decoration: underline; }

h1,h2,h3,h4,h5,h6 { margin: 0; }
h2 { color: #463933; font-size: 2.25rem; font-weight: bold; margin-bottom: 20px; padding-bottom: 0.75rem; padding-left: 1rem; position: relative; }
h2.tag-e88 { padding-top: 40px; }
h2.tag-e88:before { background-color: #8a307b; color: #fff; content: 'E. 88th Avenue'; display: block; font-size: 16px; padding: 0.35rem 0.65rem; position: absolute; top: 0; }
h2.tag-rosemary { padding-top: 40px; }
h2.tag-rosemary:before { background-color: #036998; color: #fff; content: 'Rosemary Street'; display: block; font-size: 16px; padding: 0.35rem 0.65rem; position: absolute; top: 0; }
h3 { color: #5b5d3f; font-size: 1.15rem; font-weight: bold; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid #8a9338; text-transform: uppercase; }
h4 { color: #5b5d3f; font-size: 20px; padding-bottom: 10px; }
.e88-schedule { color: #8a307b; font-size: 1.5rem; font-weight: bold; text-align: center; }
.e88-schedule span { display: block; font-size: 80%; font-weight: normal; }
.rosemary-schedule { color: #036998; font-size: 1.5rem; font-weight: bold; text-align: center; }
.rosemary-schedule span { display: block; font-size: 80%; font-weight: normal; }
.rosemary-goal { color: #036998; font-size: 100%; font-weight: normal; margin-top: 10px; text-align: center; }
.rosemary-goal span { display: block; font-size: 1.5rem; font-weight: bold; }
p { margin-bottom: 1.6rem; }
ul { margin-top: 0.5rem; margin-bottom: 1.5rem; padding-left: 15px; }
ul li { color: #463933; font-size: 0.95rem; line-height: 1.25 !important; margin-bottom: 0.5rem; }
hr.e88 { border-bottom: 2px solid #8a307b; transform: skewX(45deg); }
hr.rosemary { border-bottom: 2px solid #036998; transform: skewX(45deg); }
.highlight { color: #5b5d3f; font-weight: bold; }
.translate { text-align: center; margin-top: 1rem; }

a { color:#463933; text-decoration: underline; }
a:hover { color: #5a5d40; }
.button { background-color: #8a307b; border-radius: 14px; border: 0; color: #fff; display: inline-block; letter-spacing: .05em; margin-top: 12px; padding: 4px 16px; transition: background-color .2s; }
.button:hover { background-color: #036998; color: #fff; }
.button:focus { color: #fff; }

/* Forms */
form { margin: 18px 0; }
label { display: block; margin: 10px 0 8px; width: 100%; }
input[type="text"] { margin-bottom: 8px; padding-left: 3px; width: 100%; }
textarea { height: 80px; margin-bottom: 8px; padding: 3px 5px; resize: none; width: 100%; }
input[type="checkbox"],
input[type="radio"] { margin: 0 4px 0 2px; }
input[type="checkbox"] + label,
input[type="radio"] + label { display: inline-block; margin-right: 14px; position: relative; top: -1px; width: auto; }
input[type="submit"],
input[type="reset"] { background-color: #8a307b; border-radius: 14px; border: 0; color: #fff; letter-spacing: .05em; margin-top: 14px; padding: 4px 16px; transition: background-color .2s; }
.button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover { background-color: #036998; }

/* MAIN SCREEN */
div#screen { height: 100%; left: 0%; position: absolute; width: 100%; }
img.logo { display: block; width: 100%; max-width: 175px; margin:0px auto; padding: 45px 25px 25px; }

/* LEFT MENU */
#skipcontent { color: rgba(255,255,255,0.75); font-size:.7em; padding: 5px; position: absolute; left: 4% }
#menu { background-color: #757654; float: left; height: 100%; overflow: hidden; padding-bottom: 8px; width: 15%; }
#menu div { background-color: #5a5d40; height: 54%; overflow-y: scroll; margin-left: -28px; margin-right: -18px; position: relative; }
#menu ul { list-style-type: none; margin: 0; margin-right:0px; padding-left: 2%; position: absolute; width: 100%; }
#menu ul > li { margin-bottom: 5px; width: 100%; }
#menu ul > li > a { color: #fff; display: block; height: 45px; line-height: 45px; padding: 0 7%; position: relative; width: 100%; }
#menu ul > li > a > i { background-color: #5a5d40; color: #fff; font-size: 1em; height: 42px; line-height: 42px; margin-top: 4px; margin-right: 4%; padding-left: 4px; position: absolute; text-indent: 6px; transition: background-color .2s, width .15s; width: 32px; }
#menu ul > li > a > i.showing { background-color: #8a9338; }
#menu ul > li > a > span { display: inline-block; font-size: .7em; font-weight: 700; left: 40px; line-height: 12px; position: relative; vertical-align: middle; width: 62%; }
#menu ul > li > a:hover > i { background-color: #8a9338; width: 78%; }
#menu ul > li > a:hover > i.showing:after { border: 21px solid transparent; border-width: 21px 6px; border-top-color: #8a9338; border-left-color: #8a9338; content: ""; height: 0; position: absolute; left: 100%; transition: border-color .2s; width: 0; }
#menu ul > li > a:hover > i.showing:after { border-top-color: #8a9338; border-left-color: #8a9338; }
#menu ul > li > a:hover > span { color: #fff; }
.menuArrow { border: 40px solid transparent; border-top-width: 18px; border-bottom: 18px solid #8a9338; display: block; height: 0; margin: 0 auto; margin-bottom: 15px; transition: border-color .3s; width: 0; }
.menuArrow:hover { border-bottom-color: #fff; }
.menuArrow.bottom-arrow { border-top-color: #8a9338; border-bottom-color: transparent; margin: 0 auto; margin-top: 15px;}
.menuArrow.bottom-arrow:hover { border-top-color: #fff; }
.menuArrow.disabled { border-bottom-color: #ddd; }
.menuArrow.bottom-arrow.disabled { border-bottom-color: transparent; border-top-color: #ddd; }
#menuinner a:focus {outline: 0px auto white;}

/* MAIN AREA - RIGHT SIDE */
#mainArea { float: left; height: 100%; overflow: hidden; position: relative; width: 85%; }
#mainArea > img { height: 100%; left: -2%; margin-left: -12%; position: absolute; transition: left .6s, margin-left 1.1s ease-out .5s; width: auto; }
#topArea { margin-bottom: 18px; position: relative; text-align: center; top: 14px; }
#topArea h1 { color: #463933; font-weight: bold; font-size: 1.25em; margin-left: 10px; line-height: 1.1em; margin-bottom: 10px; }
#topArea ul { line-height: 14px; margin: 0 auto; width: 80%; }
#topArea li { background-color: #8a9338; border-radius: 8px; cursor: pointer; display: inline-block; height: 16px; margin: 0 3px; transition: background-color .2s, height .45s; vertical-align: middle; width: 16px; }
#topArea li:hover { background-color: #5b5d3f; transform: scale(1.3); }
#topArea li.showing { background-color: #5b5d3f; }

/* MAIN AREA - NAV ARROWS */
a.arrow { background-color: rgba(117,118,84,.5); color: #fff; font-size: 4em; height: 100%; left: -12px; position: absolute; text-align: center; top: 0; transition: left .275s, right .275s, box-shadow .275s, background-color .275s; width: 7%; z-index: 1; }
a.arrow:after { content: ""; display: inline-block; height: 98%; vertical-align: middle; }
a.arrow:hover { background-color: #222; background-color: rgba(138,147,56,.5); left: 0; }
a.right-arrow { left: auto; right: -12px; }
a.right-arrow:hover { left: auto; right: 0; }
a.arrow:hover ~ img { left: 0; transition: left 1.1s, margin-left 1.1s; }
a.right-arrow:hover ~ img { left: -4%; }

/* SLIDE AREA */
#slides { height: 90%; position: relative; top: 32px; transition: transform .65s; width: 100%; }
#slides > div { height: 90%; left: 0; position: absolute; transition: left 0.8s, transform 0.5s; }
.slide { color: #aaa; float: left; height: 100%; }
.slide > div { background-color: rgba(255,255,255,1); color: #463933; height: 100%; margin: 0 auto; overflow-x: hidden; overflow-y: auto; padding: 36px 2.5%; width: 80%; } 
.slide img { margin: 0 auto; display: block; width: 100%; transition: box-shadow .3s; }
.slide img.icon { width: 100%; max-width: 55px; float: left; margin: 0 10px 10px 0; border: 0; }
.slide img.large { box-shadow: 0 4px 8px 0 rgba(8,112,145, 0.2), 0 6px 20px 0 rgba(8,112,145,.19); max-width: 85px; float: left; margin: 0 15px 15px 0; }
.slide img.smallicon { float: left; padding-right: 10px; width: 100%; max-width: 35px; border: 0; }
table.icontable td { padding: 1em 0 1em 1em; }
.slide img { margin: 0 auto; display: block; width: 100%; transition: box-shadow .3s; }
.slide li { margin-left: 15px; line-height: 1.5; }
.listwrap { margin-left: 65px; }
.listitem { color: #003865; font-weight: bold; padding-top: 15px; }

/* Tabs */
.tabpanel { margin: 20px; padding: 0; }
.tablist { margin: 0 0px; padding: 0; list-style: none; }
.tab { margin: .2em 1px 0 0; padding: 10px; height: 3em; font-weight: bold; border: 1px solid black; background:#dddddd; border-top-left-radius:.5em; border-top-right-radius:.5em; float: left; display: inline; /* IE float bug fix */ }
.panel { clear: both; display: block; margin: 0 0 0 0; padding: 10px; background:#f2f2f2; border-bottom-left-radius:.5em; border-bottom-right-radius:.5em; }
ul.controlList { list-style-type: none;}
li[aria-selected='true'] { color: black; background-color: #fff; border-bottom: 1px solid white;}
div[aria-hidden='true'] { display: none; }
div[aria-hidden='false'] { display:block; }
.focus { margin-top: 0; height: 1.2em; }
.hidden { display:none; }

/* MOBILE MENU */
a#menu-toggle { background-color: #8a307b; color: #fff; display: none; font-size: .75em; height: 60px; left: 20px; overflow: hidden; position: absolute; text-align: center; top: 14px; transition: background-color .25s; width: 60px; }
a#menu-toggle:hover { background-color: #036998; }
a#menu-toggle span { background-color: #fff; display: block; height: 4px; margin: 7px auto; transition: margin .2s, transform .2s; width: 70%; }
a#menu-toggle.opened span:nth-of-type(1) { margin-top: 28px; transform: rotate(-45deg); }
a#menu-toggle.opened span:nth-of-type(2) { margin-left: 100px; }
a#menu-toggle.opened span:nth-of-type(3) { margin-top: -22px; margin-bottom: 40px; transform: rotate(45deg); }
#menuOffScreen { background-color: rgba(35,35,35,.3); cursor: pointer; display: none; height: 100%; left: 0; position: absolute; top: 0; width: 100%; z-index: 2; }

/* TRANSLATOR */
#google_translate_element2 {display:none;}
#langaugeselectcont select {margin-left:5%;width:90%}
#langaugeselectcont label {margin-left:5%;}

/* COMMENT BUTTON AND AREA*/
#contact { background-color: white; height: 100%; left: 100%; overflow-y: auto; padding: 12px; position: fixed; top: 0; width: 390px; }
.wrapper { width: 85%; margin: 0 auto;}
.wrapper h1 {color: #8a307b; font-weight: 300; font-family: Century Gothic,CenturyGothic,AppleGothic,sans-serif; }
a#menuOffScreen { background-color: rgba(35, 35, 35, 0.3); cursor: pointer; display: none; height: 100%; left: 0; position: absolute; top: 0; width: 100%; z-index: 2; }
.closebtn { position: absolute; top: 0; right: 10px; font-size: 40px; margin-left: 50px; color: #036998;}

.buttons button { background: white; border: 0; box-sizing: border-box; top: 15px; right: 175px; overflow: hidden; box-shadow: inset 0 0 0 2px #8a307b; color: #8a307b; font-size: .8em; text-align: center; position: absolute; vertical-align: middle; padding: 5px; }
.buttons button::before, .buttons button::after { box-sizing: inherit; content: ''; position: absolute; width: 60px; height: 60px;}
.buttons button .far {font-size: 3em; padding: 5px 0 2px; }
.draw { transition: color 0.25s;  }
.draw::before, .draw::after { border: 2px solid transparent; width: 0; height: 0;}
.draw::before { top: 0; left: 0;  }
.draw::after { bottom: 0; right: 0;  }
.draw:hover::before, .draw:hover::after { width: 100%; height: 100%;}
.draw:hover::before { transition: width 0.25s ease-out, height 0.25s ease-out 0.25s;}
.meet:hover { color: #036998; background-color: #fff; }
.meet::after { top: 0; left: 0;}
.meet:hover::before { border-top-color: #036998; border-right-color: #036998;}
.meet:hover::after { border-bottom-color: #036998; border-left-color: #036998; transition: height 0.25s ease-out, width 0.25s ease-out 0.25s;}

/* LIGHTBOX */
#lightbox { height: 100%; position: fixed; top: -100%; transition: top .85s; width: 100%; z-index: 3; }
#lightbox > span { background-color: rgba(35,35,35,.5); cursor: pointer; height: 100%; position: absolute; top: 0; width: 100%; }
#lightbox > span span { color: #fff; font-size: 3.6em; line-height: .4em; padding: 15px; position: absolute; right: 0; top: 0; z-index: 5; }
#lightbox div { height: 40%; margin: -120px auto 0; height: 80%; overflow-y: auto; position: relative; transform: rotateX(90deg) translateY(-160px); transition: .24s; width: 88%; }
#lightbox img { display: block; width: 100%; }
#lightbox.on { top: 0; }
#lightbox.on div { box-shadow: none; margin-top: 50px; transition: .8s ease-out .32s; transform: rotateX(0deg) translateY(0px); }
.slide img.lightbox { cursor: pointer; margin-bottom: 18px; }

/* MEDIA QUERIES */
@media screen and (max-width: 1310px) {
     #menu { width: 20%; }
     #mainArea { width: 80%; }
     .slide > div { width: 86%; margin: 0 auto; }
     a.arrow { font-size: 3em; left: -8px;}
     a.right-arrow { left: auto; right: -8px; }
     #contact-toggle { right: 80px; }
}

@media screen and (max-width: 1030px) {
     #menu { margin-left: -240px; width: 240px; }
     #menu div { height: 64%; }
     #mainArea { width: 100%; }
     img.logo { display: none; }
     #topArea { margin-left: 80px; margin-right: 80px; }
     #topArea h1 { font-size: 1.3em; }
     a#menu-toggle { display: block; }
     #contact-toggle { right: 20px; }
     .buttons button { right: 22px; }

     #slides { height: 84%; top: 36px; }
     .slide > div { width: 96%; }
     .slide p { line-height: 16px; }

     a.arrow { background-color: rgba(0,0,0,.5); bottom: 0; height: 8%; top: auto; width: 46%; }
     a.arrow:after { height: 108%; }
}

@media screen and (max-width: 960px) {
     #lightbox img { max-width: 8000%; width: 160%; }
}

@media screen and (max-width: 640px) {
     #slides { height: 75%; top: 85px; }
     .slide img { display:block; margin: 0 auto; }
     #topArea { margin-left: 0; margin-right: 0;  top: 60px; }
     #topArea h1 { font-size: 1.2em; line-height: 1em; margin: 8px auto; width: 94%; }
     #topArea ul { margin-top: 10px; }
     #topArea ul li { height: 14px; width: 14px;}
     #topArea ul li.showing { height: 18px; }

     img.logo { display: block; width: 50%; margin: 0 auto; padding-top: 15px;}
     a#menu-toggle { height: 32px; left: 16px; top: 16px; width: 32px; }
     a#menu-toggle span { margin: 5px auto; }
     a#menu-toggle.opened span:nth-of-type(1) { margin-top: 14px; }
     a#menu-toggle.opened span:nth-of-type(3) { margin-top: -18px; }
     #contact-toggle { font-size: .55em; height: 45px; right: 10px; top: 10px; width: 46px; }
     #contact-toggle .far { font-size: 2.3em; }
     #contact { width: 280px; }

     .buttons button { font-size: .7em; padding: 1px 6px 3px; right: 12px; top: 12px; }
     .buttons button .far { font-size: 2em; padding: 1px 0 0; }

     li { font-size: 14px; }
     .slide > div { padding: 12px 3%; }
     h2 { font-size: 1.5em; }
     #skipcontent { display: none; }
}

@media screen and (max-width: 530px) {
     a.arrow { height: 44px; line-height: 0px; }
     a.arrow span { font-size: .6em; }
     #slides { height: 74%; } 
     #lightbox img { width: 250%; }
}

@media screen and (max-height: 715px) {
     /* #slides { height: 76%; } */
}

@media screen and (max-height: 595px) {
     #topArea h1, div#topArea ul { display: inline-block; margin: 0 14px; vertical-align: middle; }
     #topArea h1 { margin-bottom: 4px; }
     
     a#menu-toggle { height: 32px; left: 16px; top: 16px; width: 32px; }
     a#menu-toggle span { margin: 5px auto; }
     a#menu-toggle.opened span:nth-of-type(1) { margin-top: 14px; }
     a#menu-toggle.opened span:nth-of-type(3) { margin-top: -18px; }
     #contact-toggle { font-size: .55em; height: 45px; top: 10px; width: 46px; }
     #contact-toggle i { font-size: 2.5em; }
     a.arrow { font-size: 2.5em; }
}

@media screen and (max-height: 560px) {
     #topArea h1 { font-size: 1.1em !important; font-weight: 700; margin-bottom: 6px; }
     /* #slides { height: 55%; } */
}
