/* Colors used
Dark pink: 4F1025
Pink: C5003E
Light green: D9FF5B
Green: 6CAE00
Dark green: 183723
Gray: 8f8f8f

/* ==========================================================================
   Base reset styles
   ========================================================================== */
html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    background-color: white;
}

/* Prevent footer from collapsing to top of page if paired with code above */
footer {
    flex: 1;
}

h1,
h2,
h3,
h4,
p,
blockquote,
figure {
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4 {
    font-size: inherit;
}

main,
li {
    display: block;
}

strong {
    font-weight: bold;
}

a,
button {
    color: inherit;
}

::-moz-focus-inner {
    padding: 0;
    border: 0;
}

:focus {
    outline: 0;
}

img {
    max-width: 100%;
    height: auto;
    border: 0;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   General Styles
   ========================================================================== */
.clear {
    clear: both;
    line-height: 0;
}

a {
    text-decoration: none;
    /*-webkit-transition: all 300ms ease-in-out;*/
    /*-moz-transition: all 300ms ease-in-out;*/
    /*-o-transition: all 300ms ease-in-out;*/
    /*transition: all 300ms ease-in-out;*/
}

.double_space {
    margin-top: 15%;
}

/* ==========================================================================
   Specific Styles
   ========================================================================== */

/* header
--------------------------------------------------------------- */

header {
    width: 100%;
    text-align: center;
}

header div {
    padding: .5em .5em 0 .5em;
}

@media only screen and (min-width: 35em) {
    header {
        /*height: 5em;*/
    }
}

header .logos {
    display: inline-block;
    padding: 2% 5%;
}

header div img {
    height: 5em;
}

@media only screen and (min-width: 35em) {
    header div img {
        height: 7em;
    }
}

.logo_left {
    float: left;
}

.logo_right {
    float: right;
}

/* heading
---------------------------------------------------------------- */
.centered {
    text-align: center;
    /*margin-top: -3em;*/
}

.centered img {
    height: 10em;
}

/* body
--------------------------------------------------------------- */
body {
    font: 1em 'Open Sans', sans-serif;
    font-family: "Open Sans", sans-serif;
    -webkit-font-smoothing: antialiased;
    font-size: 110%;
    width: 100%;
    color: #505050;
}

@media only screen and (min-width: 35em) {
    body {
        font-size: 115%;
    }
}

@media only screen and (min-width: 45em) {
    body {
        font-size: 120%;
    }
}

.content {
    width: 95%;
    margin: 0 auto;
    line-height: 1.4;
    background-color: white;
}

@media only screen and (min-width: 35em) {
    .content {
        width: 80%;
    }
}

@media only screen and (min-width: 45em) {
    .content {
        width: 70%;
    }
}

@media only screen and (min-width: 60em) {
    .content {
        width: 65%;
    }
}

.main_title {
    color: black;
    margin-top: 3%;
    font-size: 2em;
}

/* Lightbox markup
--------------------------------------------------------------- */

.lightbox {
    /** Default lightbox to hidden */
    display: none;

    /** Position and style */
    color: white;
    position: fixed;
    z-index: 9999;
    width: 100%;
    height: 100%;
    text-align: center;
    top: -200%;
    left: 0;
    background: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.lightbox img {
    /** Pad the lightbox image */
    max-width: 93%;
    /*max-height: 80%;*/
    margin-top: 2%;
}

.lightbox:target {
    /** Show lightbox when it is target */
    opacity: 1;
    outline: none;
    top: 0;
}

.lightbox h2 {
    display: inline-block;
    margin-top: 5%;
    font-size: 100%;
    text-transform: uppercase;
    color: #9f5928;
}

@media only screen and (min-width: 35em) {
    .lightbox h2 {
        font-size: 1.3em;
    }
}

@media only screen and (min-width: 45em) {
    .lightbox h2 {
        font-size: 1.5em;
        width: 80%;
    }
}

@media only screen and (min-width: 65em) {
    .lightbox h2 {
        font-size: 1.7em;
        width: 70%;
    }
}

.lightbox p {
    color: white;
    margin: 1% auto;
    width: 90%;
    font-size: 1em;
}

@media only screen and (min-width: 35em) {
    .lightbox p {
        font-size: 1.2em;
    }
}

@media only screen and (min-width: 45em) {
    .lightbox p {
        width: 80%;
    }
}

@media only screen and (min-width: 65em) {
    .lightbox p {
        width: 50%;
    }
}

/* typography
--------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    padding: 0.4em;
}

h1 {
    text-align: center;
    font-size: 1.3em;
    color: #9f5928;
}

h2 {
    text-align: center;
    font-size: 1em;
    color: #2a2a2a;
}

@media only screen and (min-width: 35em) {
    h2 {
        font-size: 1.1em;
    }
}

h3 {
    font-size: .6em;
    color: #2a2a2a;
    text-transform: uppercase;
    text-align: center;
}

@media only screen and (min-width: 35em) {
    h3 {
        font-size: 1em;
    }
}

h4 {
    font-size: .8em;
}

p {
    padding: .5em;
    font-size: 110%;
    line-height: 1.4em;
}

/* nav
----------------------------------------------------------------- */
#group-2 {
    padding: 2em 0 0 0;
}

/**
 * Styling top level items
 */
.nav a, .nav label {
    display: block;
    padding: .85rem;
    /*-webkit-transition: all .25s ease-in;*/
    /*transition: all .25s ease-in;*/
}

.nav a:hover, .nav a:focus, .nav label:hover, .nav label:focus {
    color: #9f5928;
}

.nav label {
    cursor: pointer;
}

/**
 * Styling first level lists items
 */

.group-list a, .group-list label {
    padding-left: 2rem;
}

.group-list a:focus, .group-list a:hover, .group-list label:focus, .group-list label:hover {
    color: #9f5928;
}

/**
 * Styling second level list items
 */

.sub-group-list a, .sub-group-list label {
    padding-left: 4rem;
}

/**
 * Hide nested lists
 */

.group-list, .sub-group-list, .sub-sub-group-list {
    height: 100%;
    max-height: 0;
    overflow: hidden;
    /*-webkit-transition: max-height .5s ease-in-out;*/
    /*transition: max-height .5s ease-in-out;*/
}

.nav__list input[type=checkbox]:checked + label + ul { /* reset the height when checkbox is checked */
    max-height: 1000px;
}

.title_img {
    /*margin-top: 3%;*/
    text-align: center;
    margin: 0 auto;
}

.title_img2 img {
    display: inline-block;
}

/* columns
----------------------------------------------------------------- */
.two_col {
    text-align: center;

}

.two_col h3 {
    font-size: 90%;
}

.two_col div {
    margin: 0 .4em;
    display: inline-block;
}

/* footer
----------------------------------------------------------------- */

footer {
    width: 100%;
    background-color: #2a2a2a;
    color: #8f8f8f;
    /*padding: .5em 0 0;*/
    text-align: center;
    -webkit-box-shadow: inset 0 8px 6px -6px black;
    -moz-box-shadow: inset 0 8px 6px -6px black;
    box-shadow: inset 0 8px 6px -6px black;
}

@media only screen and (min-width: 35em) {
    footer {
        /*padding: 1em 0;*/
    }
}

footer h5 {
    padding: 1em;
    margin: 1em;
}

footer h6 {
    padding: 0 0 1.5em 0;
    margin: 0;
}

.tel_numbers {
    padding: 0 1em;
    font-size: .8em;
    display: inline-block;
}

.footer_center {
    padding: 0;
    margin: 0 auto;
    display: inline-block;
    width: 90%;
}

@media only screen and (min-width: 30em) {
    .footer_center {
        width: 50%;
        font-size: 120%;
    }
}

.footer_left {
    margin: 0 0 0 .3em;
    width: 4em;
    float: left;
}

.footer_right {
    margin: 0 .3em 0 0;
    width: 4em;
    float: right;
}

@media only screen and (min-width: 30em) {
    .footer_left, .footer_right {
        margin: 0 .5em 0 .5em;
    }
}
