@charset "UTF-8";

html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

a,
article,
aside,
body,
div,
em,
footer,
form,
h1,
h2,
h3,
header,
html,
img,
input,
li,
main,
nav,
p,
section,
span,
table,
ul {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font: inherit;
    vertical-align: baseline;
}

article,
aside,
footer,
header,
main,
nav,
section {
    display: block;
}


/** GENERAL STYLES **/

body {
    background-color: #FFFFFF;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.0em;
    font-weight: 300;
    color: #777;
}

h1,
h2,
h3 {
    color: #777777;
}

h1 {
    font-family: 'Cantata One', serif;
    font-weight: normal;
}

h2 {
    font-size: 1.0em;
    background-color: transparent;
    text-transform: uppercase;
    line-height: 1.5em;
}

h3 {
    line-height: 1.4em;
    font-weight: 700;
    text-transform: uppercase;
}

p {
    padding: 0px 0px 36px 0px;
    line-height: 1.6em;
}

p.antispam {
    display: none;
}

a {
    text-decoration: none;
}


/** LINKS IN BODY ONLY **/

main a,
main a:link,
main a:visited,
main a:hover,
main a:active {
    color: #7BB7D9;
    font-weight: 400;
}

main a:hover {
    color: #FFAB35;
}


/** NAV LINKS ONLY **/

nav a,
nav a:link,
nav a:visited,
nav a:hover,
nav a:active {
    color: #777;
}

nav a:hover {
    color: #FFAB35;
}

ul,
ol {
    list-style-type: none;
}


/** List Styles **/

main li {
    padding-bottom: 7px;
}

/** FOR LISTS ON RESOURCES PAGE ONLY **/
#resources main li {
    padding-bottom: 14px;
}

main ul {
    padding-bottom: 20px;
}

em {
    font-style: italic;
}

/** For Long images that span the entire paragraph size **/
img.long {
    width: 100%;
    height: auto;
}

/** FOR IMAGES AT BEGINNING OF PARAGRAPHS **/
img.left {
    width: 280px;
    height: auto;
    border-radius: 5px;
    float: left;
    margin: 4px 12px 5px 0px;
}


/** DIV for 3 to 4 images in Horizontal orientation such as on CHILD/FAMILY workshop page **/
.imagerow {
    overflow: auto;
    margin-bottom: 20px;
}


/********************************/


/***  320 px MOBILE STYLES        ****/


/********************************/

@media only screen and (min-width:320px) {

    /** HIDE items on MOBILE ONLY **/
    .hidemobile {
        display: none;
    }

    #container,
    header,
    nav,
    main,
    footer {
        width: 100%;
    }

    /** This takes care of padding for all elements **/
    /** MUST BE REMOVED AT LARGER SCREEN SIZES **/
    #container {
        padding: 0px 20px 0px 20px;
    }

    header {
        position: relative;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
        grid-auto-rows: 50px;
        background-color: #FFFFFF;
        margin-bottom: 40px;

    }

    #logo {
        width: 150px;
        height: auto;
        grid-column: 1 / span 1;
        grid-row: 1 / span 3;
        padding: 20px 10px 0px 20px;
    }

    h1 {
        padding: 15px 0px 0px 0px;
        grid-column: 2 / span 5;
        grid-row: 2 / span 1;
        font-size: 1.2em;

    }

    .spacing {
        letter-spacing: 0.1em;
    }

    /** NAV MENU FOR MOBILE ONLY **/
    a#menu-icon {
        color: #7BB7D9;
        background-color: transparent;
        text-decoration: none;
        grid-column: 6 / span 1;
        grid-row: 4 / span 1;
        font-size: 2.0em;
        font-weight: 700;
    }

    a#menu-icon:hover {
        color: #FFAB35;
        transition: all 0.5s ease;
    }

    /** MOBILE ONLY STYLES **/
    nav ul {
        display: none;
        border-top: 1px solid #E6E6E6;
        margin: 0px 0px 0px 0px;
        padding-bottom: 26px;
    }

    nav li {
        padding: 8px 0px;
        border-bottom: 1px solid #E6E6E6;
    }

    nav a {
        display: block;
        padding: 6px 0px 6px 12px;
    }

    /** SET COLOR OF CURRENT PAGE **/
    nav li#thispage a {
        color: #FFAB35;
        font-weight: 400;
    }

    main {
        position: relative;
        overflow: auto;
        padding-top: 30px;
    }

    /** FACEBOOK BUTTON ABSOLUTELY POSITIONED IN MAIN DIV **/
    #fbButton {
        position: absolute;
        top: 10px;
        right: 0px;
    }


    /** FEATURE DIVS ON INDEX ONLY **/
    #left-feature,
    #mid-feature,
    #right-feature {
        position: relative;
        margin: 0px 0px 30px 0px;
    }

    /** FEATURE IMAGES ON INDEX ONLY **/
    #feature img {
        width: 100%;
        height: auto;
        border-radius: 5px;
    }

    /** MAIN AREA HEADINGS **/
    h2 {
        font-size: 1.3em;
        letter-spacing: 0.05em;
        padding-bottom: 4px;
    }

    h3 {
        font-size: 0.9em;
    }

    /**  FEATURE ONLY H2 **/
    #feature h2 {
        padding: 0px 0px 8px 0px;

    }

    /** MOBILE CONTACT FORM Styles **/
    .inputfield,
    textarea {
        width: 200px;
        font-size: inherit;
        font-weight: inherit;
        border-radius: 5px;
        letter-spacing: 0.02em;
        height: 40px;
        padding: 0px 0px 0px 12px;
        border: 1px solid #7BB7D9;
        /** Purple **/
        ;
    }

    textarea {
        outline: none;
        padding-top: 6px;
        line-height: 1.5em;
        height: 80px
    }

    .inputfield:focus,
    textarea:focus {
        border: none;
        background-color: lightblue;
        /** LIGHT PURPLE **/
    }

    #submit {
        -webkit-appearance: none;
        /** Takes away wierd iOS styling **/
        width: 200px;
        font-size: 1.0em;
        letter-spacing: 0.03em;
        background-color: #7BB7D9;
        /** PURPLE **/
        color: #FFF5E7;
        padding: 4px 8px 4px 8px;
        font-weight: 400;
        border-radius: 0.3125em;
    }

    #submit:hover {
        background-color: #FFAB35;
    }

    /** EMAIL SUCCESS MESSAGE Style RED **/
    #confirm,
    .warning {
        font-size: 1.1em;
        font-weight: 400;
        color: #ef920e;
    }

    /**  MAIL FORM WARNING TEXT STYLES **/
    .warning {
        color: red;
        font-weight: 700;
        word-spacing: 0.15em;
    }

    /** DON"T DISPLAY IMAGE ON MOBILE **/
    img#contactimg {
        display: none;
    }

    /** DON"T FLOAT IMAGES ON MOBILE **/
    img.right {
        width: 270px;
        float: none;
        margin: 0px auto 0px auto;
    }

    /** STYLE FOR ALL IMAGES within IMAGEROW CLASS **/
    .imagerow .grid {
        border: 3px solid #7BB7D9;
        width: 280px;
        height: auto;
        float: left;
        border-radius: 5px;
        margin: 0px 20px 20px 0px;
    }



    footer {
        padding: 12px 0px 20px 0px;
    }

    footer p {
        padding-top: 12px;
        font-size: 0.8em;
    }
}


/*******************************/


/*** 768px and larger sceen styles **/


/*******************************/

@media only screen and (min-width:768px) {

    /** HIDE Mobile only items on bigger screens **/
    .mobileonly {
        display: none;
    }

    h1 {
        padding: 0px 0px 0px 20px;
        font-size: 1.8em;
    }

    #container {
        max-width: 1000px;
        margin: 20px auto 0px auto;
    }

    /** SPACING BETWEEN NAV AND MAIN **/
    main {
        margin-top: 20px;
        position: relative;
    }



    #feature {
        padding-top: 30px;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
    }


    #feature img:hover {
        width: 99.3%;
        height: auto;
        border: 3px solid #FFAB35;
    }

    #left-feature,
    #mid-feature,
    #right-feature {
        width: 33.3%;
    }

    #left-feature {
        order: 1;
        padding-right: 50px;
    }

    #mid-feature {
        order: 2;
        padding: 0px 25px 0px 25px;
    }

    #right-feature {
        order: 3;
        padding-left: 50px;
    }

    h2 {
        font-size: 1.3em;
        padding-bottom: 20px;
    }

    #feature h2 {
        font-size: 78%;
        color: #777;
    }

    /** SPACING FOR LINKS ON RESOURCES PAGE ONLY **/
    #resources main a {
        padding-left: 8px;
    }

    /** FLOATING IMAGES ONLY AFTER SCREEN 768 and larger **/
    img.right {
        float: right;
    }

    img#contactimg {
        position: absolute;
        top: 110px;
        left: 250px;
        display: block;
    }

    /** STYLE FOR ALL IMAGES within IMAGEROW CLASS **/
    .imagerow .grid {
        width: 240px;
        height: auto;
    }


}


/*** 1024px and larger sceen styles **/


/*******************************/

@media only screen and (min-width:1024px) {

    /** HIDE Mobile only items on bigger screens **/
    #menu-icon {
        display: none;
    }

    #container {
        margin-top: 0px;
        position: relative;
    }

    header {
        width: 100%;
        margin: 0px auto 0px auto;
        padding: 0px 0px 30px 0px;
        border-bottom: 1px solid #cccccc;
    }


    /** TO NORMALIZE NAV when HORIZONTAL **/
    nav {
        height: 50px;
    }

    nav ul {
        width: 100%;
        display: inline-block;
        border-top-style: none;
        text-align: left;
        padding: 0px 0px 150px 0px;
    }

    nav a,
    nav li {
        border-style: none;
        display: inline;
    }

    nav li {
        padding: 0px;
        margin: 0px;
        border-bottom: none;
    }

    nav a,
    nav a:link,
    nav a:visited,
    nav a:hover,
    nav a:active {
        display: inline-block;
        font-weight: 300;
        font-size: 0.85em;
        margin: 0px;
        letter-spacing: 0.05em;
        padding: 12px 28px 2px 0px;
        color: #999999;
    }

    nav a:hover {
        color: #FFAB35;
    }

    main {
        margin-top: 50px;
        padding-bottom: 180px;
    }

    #feature {
        padding-top: 0px;
    }


    /** FACEBOOK BUTTON ABSOLUTELY POSITIONED IN MAIN DIV **/
    #fbButton {
        top: 320px;
        right: 0px;
    }



    /** TO SPACE IMAGES AT BOTTOM OF PAGES ON BIGGER SCREENS **/
    .imagerow .grid {
        margin-right: 80px;
    }

    /** MAKE art BIGGER FOR BIGGER SCREENS **/
    img.right {
        width: 350px;

    }



}