/*! 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.5;
    overflow-x: hidden; 
}

/*
 * 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
   ========================================================================== */

body{
    min-width: 850px;
    font-family: "lato";
    max-width: 100% !important;
    overflow-x: hidden !important;
}

h1,h2{
    font-family: "Amaranth"
}

#siteHeader{
    margin-top: 2em;
       margin-left: auto;
    margin-right: auto;
    width: 50%;

}

#logo {
    background-image: url("../img/SYF_Logo.gif");
    width:256px;
    height: 118px;
    background-repeat: no-repeat;
    display:inline-block;
    margin-bottom: -15px;
    margin-left: -155px;
    position: relative;
    z-index: 10;
}

/* ==========================================================================
   Secondary Navigation
   ========================================================================== */

#secondNav a{
    font-size: .75em;
    color: #004712;
    text-decoration: none;
}
#secondNav ul{
    margin:0;
    padding:0;
}
#secondNav li{
    margin:0;
    line-height:1;
    float:left;
    padding:0px;
    border-right-style: solid;
    border-right-width: 1px;
    border-right-color: #8DC63F;
    margin-left: 5px;
    padding-right:5px;
}
#secondNav li.donate_link a{
    background-color: #FFFFFF;
}
#secondNav{
    clear:right;
    float:right;
    margin-right:50px;
}
#secondNav li.newsletter_header{
    float:right;
    background-color: #8DC63F;
    padding:5px;
    line-height:.8em;

}
#secondNav li.newsletter_header a{
    background-color: #8DC63F;
    font-weight:bold;
    color: #fff;
    font-size:.8em;
}
#newsletterSignUp label{
    display:none;
}
#newsletterSignUp {
    width:285px;
    float:right;
    font-size:.85em;
    clear:right;
    margin-right:50px;
    padding-top:3px;
    padding-bottom:5px;
    padding-right:5px;
    padding-left:5px;
    background-color:#8DC63F;
    margin-top:-1px;
    margin-bottom:-10px;
}

#newsletterSignUp input{
    width:190px;
    margin-top:3px;
    border-style: none;
    border-width:0;
    padding:5px;
    color:#004712;
    display:block;
}
#newsletterSignUp input.button {
    background-color: #fff;
    border-radius: 10px;
    width:75px;
    float:right;
    color:#8DC63F;
    font-weight: bold;
    font-size: .8em;
    margin: 2px;
}
#secondNav{
    margin-top: 2em;
}
#secondNav .donate_link a{
    color: #F15625;
}
#secondNav li.donate_link {
    border-right:none;
}
#secondNav ul{
    list-style: outside none none;
}

/* ==========================================================================
   Main Navigation
   ========================================================================== */

#siteNav{
    margin-left: 25%;
    min-width: 20%;
    position: relative;
    z-index: 20;
    padding-top: 10px;

}
#siteNav ul{
    margin:0;
    padding:0;
}
#siteNav li{
        display: inline-block;
        margin: 0 -0.25em 0 0;
        padding:0px;
}
#siteNav li a{
    color: #FFFFFF;
    font-size: 0.9em;
    margin: 0 0 -4px;
    padding: 8px;
    position: relative;
    text-decoration: none;
    top: -4px;
    z-index: 98;
}
.summer_camp_link a{
    background-color: #0054A4;
}
.CSA_link a{
    background-color: #A30134;
}
.field_trip_link a{
   background-color: #009ADD;
}
.about_us_link a{
    background-color: #8DC63F;
}
.events_link a{
    background-color: #278f3a;
}
.get_involved_link a{
    background-color: #F7921D;
}
.donate_link a{
    background-color: #F15625;
}
.color_bar{
    height:10px;
    background-color:#F15625;
    width: 100%;
    top:-1px;
    position: relative;
    z-index: 99;
    margin-bottom:-1px;
}
.summer_camp_page .color_bar{
    background-color:#0054A4;
}
.csa_page .color_bar{
    background-color:#A30134;
}
.get_involved_page .color_bar{
    background-color:#F7921D;
}
.donate_page .color_bar{
    background-color:#F15625;
}
.about_us_page .color_bar{
    background-color: #8DC63F;
}
.events_page .color_bar{
    background-color: #278f3a;
}
.field_trips_page .color_bar{
    background-color: #009ADD;
}
/* ==========================================================================
   Main Content
   ========================================================================== */

#siteContainer{
    float:left;
    width:100%;
}

/* ==========================================================================
   Featured Banner
   ========================================================================== */


#featuredBanner{
    background-image: url("../img/Bean.jpg");
    height:350px;
    width:100%;
    background-size: 100%, auto;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    z-index: 99;
}
.you_caring_page #featuredBanner{
    background-image: url("../img/Bean.jpg");
}
.summer_camp_page #featuredBanner{
    background-image: url("../img/Summer_camp_main.jpg");
}
.about_us_page #featuredBanner{
    background-image: url("../img/About_us_main.jpg");
}
.csa_page #featuredBanner{
    background-image: url("../img/CSA_Homepage.jpg");
}
.about_us_page #featuredBanner{
    background-image: url("../img/About_us_main.jpg");
}
.get_involved_page #featuredBanner{
    background-image: url("../img/Get_involved_main.jpg");
}
.field_trips_page #featuredBanner{
     background-image: url("../img/Circle.jpg");
}

.home_page #featuredBanner{
    background-image: url("../img/Bean.jpg");
}
.sth_page #featuredBanner{
    background-image: url("../img/Bean.jpg");
}
.quicklink{
    float:right;
    color: #FFFFFF;
    margin-right:50px;
    background-color: #F15625;
    padding:5px;
    text-decoration: none;
    font-size: 0.9em;

}
.get_involved .quicklink{
    background-color: #F15625;
}
.donate .quicklink{
    background-color: #F15625;
}
.csa .quicklink{
    background-color: #A30134;
}
.flag{
    height:200px;
    width:210px;
    position: absolute;
    top:-20px;
    left:70%;
    z-index: 100;
}
.YC_widget{
    height:325px;
    width:190px;
    position: absolute;
    top:17px;
    left:70%;
    z-index: 100;
    background-color: #FFFFFF; 
}
.get_involved_ad{
    background-image: url("../img/orangeFlag.png");
    background-repeat: no-repeat;
    color:#FFFFFF;
}
.summer_camp_ad {
    background-image: url("../img/BlueFlag.png");
    background-repeat: no-repeat;
    color:#FFFFFF;
}
.csa_ad {
    background-image: url("../img/RedFlag.png");
    background-repeat: no-repeat;
    color:#FFFFFF;
}
.about_us_ad{
    background-image: url("../img/greenFlag.png");
    background-repeat: no-repeat;
    color:#FFFFFF;
}
.flag h3, .flag h4, .flag hr,.flag p{
    margin:0;
    margin-left:60px;
    text-align: center;
    margin-right:20px;
}
.flag h3{
    margin-top:50px;

}
.flag p{
    font-size: .75em;
}

/* ==========================================================================
   About Us Widget
   ========================================================== */

#aboutUsFBWrapper{
    width:1000px;
    margin:50px;
    margin-top:15px;
    margin-left: auto;
    margin-right:auto;
    height:270px;

}

#aboutUsWidget{
    margin:80px;
    margin-top:15px;
    max-width:700px;
    margin-right:auto;
    margin-left:auto;
}

#aboutUsWidgetHome{
    max-width:700px;
    float:left;

}

#aboutUsTxtHome{
    margin:15px;
    padding-left:15px;
    color: #004712;
    display: inline-block;
    width: 175px;
    margin-top:25px;
}

#FBWidget{
    float: left;
    width: 300px;
    margin-left:25px;
    margin-top:5px;
}
#aboutUsWidgetHeader{
    border-bottom: solid;
    border-bottom-color: #8DC63F;
    border-bottom-width: 10px;
}
#aboutUsWidgetHeader h2{
    color: #FFFFFF;
    background-color: #8DC63F;
    margin-bottom:0;
    display: inline;
    padding:5px;
    font-size:.9em;
    font-weight: normal;
}
#aboutUsVid{
    margin-right: 15px;
    float:left;
}
#aboutUsTxt{
    margin:15px;
    padding-left:15px;
    color: #004712;
    display: inline-block;
    width: 275px;
    margin-top:50px;
}

/* ==========================================================================
   Footer
   ========================================================== */

#footerBar{
    height:5px;
    background-image: url("../img/colorBar.gif");
}
#sponsorsContainer{
    padding-left:50px;
    padding-top:15px;
    padding-bottom:15px;
    float:left;
}
#sponsorsTxt{
    float: left;
}
#sponsorsLogos{
    float: left;
    width: 320px;
    height: 75px;
    background-image: url("../img/SYFSponsors.jpg");
}
#footerText{
        float: right;
        text-align: right;
        padding-right:50px;
        padding-top:15px;
        padding-bottom:15px;
}
#footerText a{
    color: #004712;
    text-decoration: none;
}
#footerText ul{
    margin:0;
    padding:0;
}
#footerText li{
    margin:0;
    line-height:1;
}
.donate_link a{
    font-weight: bold;
    color: #F15625;
}
#footerText .donate_link a{
    font-weight: bold;
    color: #F15625;
    background-color: #fff;
}



.fineprint {
    font-size: 0.75em;
}


/* ==========================================================================
    Internal Pages 
    ========================================================== */

img.event_header{
    width: 550px;
}
.page_header {
    width:600px;
    height:200px;
    margin-right: auto;
    margin-left: auto;
    margin-top:30px;
    background-position: center;
    position: relative;
}
.summer_camp_page .page_header{
    background-image: url("../img/SummerCamp.jpg");
}
.csa_page .page_header{
    background-image: url("../img/CSA.jpg");
}
.get_involved .page_header{
    background-image: url("../img/GetInvolved.jpg");
}
.about_us .page_header{
    background-image: url("../img/AboutUs.jpg");
}
.page_header h1{
    bottom: -18px;
    color: #FFFFFF;
    font-size: 3em;
    margin: 0;
    padding: 0;
    position: absolute;
    right: -5px;
    text-transform: uppercase;
    display:none;
}
#pictureContainerLeft{
    margin-left:-200px;
    float:left;
    height: 100px;
    display: inline-block;

}
#pictureContainerLeft img{
    float:right;
    margin-top:5px;
    margin-left:5px;
}
#pageContent {
    margin-top:-100px;
    width:550px;
    display: inline-block;
    padding: 50px; 
    position: relative;
    background:#fff;
    z-index: 100;

}

.events_page #pageContent {
    margin: 15px auto 80px;
    max-width: 550px;
    display: block;
    padding:0px;
}

.donate #pageContent{
    margin-top:0px;
    width:100%;
    margin-right:50px;
    padding:0px;
    padding-top:25px;
}


#pictureContainerRight{
    width: 200px;
    float: right;
    height: 100px;
    display: inline-block;
    margin-right:-200px;
}
#pictureContainerRight img{
    float:left;
    margin-top:5px;
    margin-right:5px;
}
#pageContent h2{
    padding-bottom:0px;
    margin-bottom:0px;
    margin-left:-5px;

}
.summer_camp_page #pageContent h2 {
        color:#0054A4;
}
.field_trips_page #pageContent h2 {
        color:#0054A4;
}
.csa_page #pageContent h2 {
        color:#A30134;
}
.get_involved_page #pageContent h2 {
        color:#F15625;
}
.donate_page #pageContent h2 {
        color:#F15625;
}
.about_us_page #pageContent h2 {
        color:#8DC63F;
}
.events_page #pageContent h2 {
        color:#278f3a;
}
#pageContent p{
    padding-top:0px;
    margin-top:0px;
}
#pageContent h3{
    padding-top:0px;
    margin-top:0px;
    margin-left:-5px;
}
.descriptive {
    font-weight: lighter;
    font-size:.75em;
    color:black;
}
a.button {

    border-bottom: 0 none;
    border-image: none;
    border-radius: 10px;
    border-top: 0 none;
    clear: both;
    color: #FFFFFF;
    cursor: pointer;
    display: inline-block;
    font-size: 1.5em;
    font-weight: bold;
    line-height: 32px;
    padding: 20px;
    padding-top:15px;
    text-align: center;
    text-decoration: none;
    vertical-align: top;
    white-space: nowrap;
    width: auto;
}
button.button {

    border: 0 none;
    border-image: none;
    border-radius: 10px;
    clear: both;
    color: #FFFFFF;
    cursor: pointer;
    display: inline-block;
    font-size: 1.5em;
    font-weight: bold;
    line-height: 32px;
    padding: 20px;
    padding-top:15px;
    padding-bottom :12px;
    text-align: center;
    text-decoration: none;
    vertical-align: top;
    white-space: nowrap;
    width: auto;
}

.summer_camp_page a.button{
    background-color:#0054A4;
}
.field_trips_page a.button{
    background-color:#0054A4;
}
.csa_page a.button{
    background-color: #A30134;
}
.get_involved_page a.button{
    background-color: #F15625;
    color: #FFFFFF;
}
.about_us_page a.button{
    background-color: #8DC63F;
    color: #FFFFFF;
}
.events_page a.button{
    background-color: #278f3a;
    color: #FFFFFF;
}
.sth_page a.button{
    background-color: #e23d49;
    color:#FFFFFF;
}

.csa_demo{
    height:285px;
    background-image: url("../img/RED_veggies.gif");
}
.events_page a {
    color:#278f3a;
}
.get_involved_page a {
    color:#F15625;
}
.donate_page a {
    color:#F15625;
}
.about_us_page a {
    color:#8DC63F;
}
.contact_info_widget {
    float:right;
    display: inline-block;
    margin-left:25px;
    margin-bottom:25px;
}
.contact_info_widget h2{
    padding-top:0px;
    margin-top:0px;
}
.contact_info_widget p{
    font-size: .75em;
}
.cat_nav a{
    font-size: .9em;
    color: #FFFFFF;
    text-decoration: none;
    text-align: center;
}
.cat_nav li.active a{
    color:#8DC63F;;
}
.cat_nav li.active{
    font-weight: bold;
    background-color: #fff;
}
.cat_nav ul{
    margin: 0;
    padding: 0;
}
.cat_nav li{
    float: left;
    line-height: 1;
    margin: 5px 0 0;
    padding: 8px 15px;

}
.cat_nav {
    background-color: #8DC63F;
    height: 35px;
    margin-left: -50px;
    margin-right: -100px;
    position: relative;
    top: -50px;
    width: 650px;
}



.events_cat_nav a{
    font-size: .9em;
    color: #FFFFFF;
    text-decoration: none;
    text-align: center;
}
.events_cat_nav li.active a{
    color:#278f3a;;
}
.events_cat_nav li.active{
    font-weight: bold;
    background-color: #fff;
}
.events_cat_nav ul{
    margin: auto;
    padding: 0;
    width: 400px;
}
.events_cat_nav li{
    float: left;
    line-height: 1;
    margin: 5px 0 0;
    padding: 8px 15px;

}
.events_cat_nav {
    background-color: #278f3a;
    height: 35px;
    width: 100%;
}

.board_images {
    float: right;
    margin:15px;
}
.our_team_h2 {
    margin-top:60px;
}
#aboutUsWidget a{
    color:#8DC63F;
}

/* ==========================================================================
    Calendar
    ========================================================== */

#events {
    list-style: outside none none;
}
#events h3{
    margin-top:20px;
    margin-bottom:0;
    padding-bottom:0;
}

/* ==========================================================================
    Donate Page
    ========================================================== */
#donateHeader, #donateQuote{
    text-align: center;
    padding-right:25px;
    padding-left:25px;
}
.donate_page #giveMonthly h2,.donate_page #giveOnce h2,.donate_page #giveMonthly p,.donate_page #giveOnce p{
    text-align: center;
    color: black;
    padding:0;
    margin: 0;
}

.qoute_source{
    font-size: .9em;
    font-style: italic;
}

.donate a.button{
    background-color: #F15625;
    color: #FFFFFF;
}
.donate button.button{
    background-color: #F15625;
    color: #FFFFFF;
}

.button_container{
    float:left;
    margin-left:10px;
    width: 100px;
}
.button_container a.button{
    padding:8px;
    padding-bottom:6px;
    width:60px;
    font-weight: lighter;
    margin-top:7px;
    margin-left: auto;
    margin-right: auto;
    display:block;
}
.donate_page #giveMonthly .button_container p{
    font-size: .8em;
    line-height: 1;
    color:#404041;
    padding-top:5px;
}
.donate_page #giveOnce .button_container p{
    font-size: .8em;
    line-height: 1;
    color:#404041;
    padding-top:5px;
}
.own_amount_button_container a.button{
    padding:8px;
    padding-left:12px;
    padding-right:12px;
    margin-left: auto;
    margin-right: auto;
    width:auto;
    font-weight: lighter;
    margin-top: 20px;

}
#pageContent .own_amount_button_container p{
    text-align: center;
    padding-top: 10px;
    margin-bottom:-10px;
    font-size: .8em;
}

#giveOptionContainer{
    width:100%;
    margin-left: auto;
    margin-right:auto;
}
#giveMonthlyContainer, #giveOnceContainer{
    width: 50%;
    display: inline-block;
    margin-right:-5px;
    background-image: url("../img/light_orange.png");
    background-position: center;
    background-repeat: horizontal;
    padding-top: 55px;
    padding-bottom: 60px;
}
#giveOnceContainer{
    background-image: url("../img/dark_orange.png");

}

#giveMonthly{
    display: block;
    margin-right:90px;
    float:right;

}
#giveOnce{
    display: block;
    margin-left:85px;
    float:left;
}

.button_container a.lighter{
    background-color: #F37947;
}

.super_script{
    font-size: .7em;
    position: relative;
    bottom:.2em;
}

/* Placeholder */

.placeholder { color: #666; }
.placeholderFocus { color: #000; }

/* ==========================================================================
   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;
    }
}