:root {
    --color-kelli: #96cfcc;
    --color-teal: #6ABFBB;
    --color-mint: #BBDFD7;
    --color-palemint: #e7f3f2;
    --color-fuschia: #E54460;
    --color-salmon: #F8B6B8;
    --color-pink: #FDE2E2;
    --color-offwhite: #FAF7F5;
    --color-tan: #98785C;
    --color-brown: #876444;
    --color-black: #231F20;
    --color-white: #FFFFFF;

    --color-teal-rgb: 106, 191, 187;
}

html, body {
    width: 100%;
    font-family: 'Lora', serif;
    font-weight: 400;
    color: var(--color-black);
    position: relative;
    background-color: var(--color-white);
}
input, textarea, label {
    font-family: 'Lora', serif;
}
* {
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
}
@media (min-width: 1001px) {
    .mobile {
        display: none!important;
    }
}
@media (max-width: 1000px) {
    .desktop {
        display: none!important;
    }
}

.darkcontainer h3, .darkcontainer p {
    color: var(--color-white);
}
h1 {
    font-family: 'Comfortaa', cursive;
    font-size: 30px;
    line-height: 43px;
    font-weight: 400;
    color: var(--color-fuschia);
    text-align: center;
    margin-bottom: 30px;
}
h2 {
    font-family: 'Comfortaa', cursive;
    font-size: 18px;
    line-height: 28px;
    font-weight: 600;
    color: var(--color-fuschia);
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
}

a:hover {
    color: var(--color-fuschia);
    text-decoration: none;
}
p {
    font-size: 18px;
    text-align: center;
    line-height: 36px;
    margin-top: 10px;
    margin-bottom: 10px;
}
p.narrowtext {
    width: 720px;
    margin: 10px auto;
}
.bold {
    font-weight: 600;
}
.semibold {
    font-weight: 500;
}
.italic {
    font-style: italic;
}
@media (max-width: 1000px) {
    p.narrowtext {
        width: 90%;
    }
    h1 {
        font-size: 20px;
        line-height: 28px;
        margin-bottom: 15px;
    }
    p {
        font-size: 14px;
        line-height: 28px;
    }
}
section {
    position: relative;
}
section.contentsection {
    padding-top: 40px;
    padding-bottom: 45px;
}

@media (max-width: 1000px) {
    section.contentsection {
        padding-bottom: 30px;
    }
}
section.contentsection.nospacebelow {
    padding-bottom: 0;
}
section.contentsection.nospaceabove {
    padding-top: 0;
}
.pagecontents {
    width: 1000px;
    margin: auto;
    position: relative;
}
.pagecontents.narrow {
    width: 720px;
}
@media (max-width: 1000px) {
    .pagecontents {
        width: auto;
        padding: 0 5%;
        box-sizing: border-box;
    }
    .pagecontents.narrow {
        width: auto;
        padding: 0 10%;
        box-sizing: border-box;
    }
}

img {
    vertical-align: top;
    outline: none;
}
a {
    color: var(--color-black);
    text-decoration: none;
}
.hidden {
    display: none;
}
.sectionanchor {
    top: 0;
    display: block;
    position: relative;
    /*clear: left; */
}

.imagecontainer_center {
    position: relative;
    text-align: center;
}
.textcenter {
    text-align: center;
}

.hoverlink:hover {
    cursor: pointer;
}

/* HEADER ********************************************************** */
header {
    padding-top: 0;
    width: 100%;
    position: absolute;
    z-index:20;
}
header #headerbanner {
    width: 100%;
    background-color: rgba(var(--color-teal-rgb), 0.9);;
}
@media (max-width: 1000px) {
    header {
        position: relative;
    }
    header #headerbanner {
        width: 100%;
        background-color: var(--color-teal);
    }
}
#logo {
    text-align: center;
    height: 140px;
}
#logo_container {
    padding: 20px 0;
}
@media (max-width: 1000px) {
    #logo_container {
        padding: 20px 0 10px 0;
    }
    #logo {
        height: 70px;
    }
}
.color-stripe {
    background: url(../images/color-stripe-1500.png);
    width: 100%;
    background-position: center;
    background-size: cover;
    height: 20px;
}
@media (max-width: 1000px) {
    .color-stripe {
        background: url(../images/color-stripe-495.png);
        height: 10px;
    }
}

.hamburger {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--color-teal);
}
.hamburger.navshowing .navshow {
    display: none;
}
.hamburger.navshowing .navclose {
    display: inline-block;
}
.hamburger .navshow {
    padding: 7px 0;
    display: inline-block;
}
.hamburger .navclose {
    display: none;
}

/* NAVBAR ********************************************************** */
div.body.navshowing {
    display: none;
}
footer.navshowing {
    display: none;
}
#navbarcontainer {
    width: 100%;
    background-color: var(--color-white);
}
.navshowing #navbarcontainer {
    height: calc(100vh - 170px);
}
#navbar {
    height: 50px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}
#navbar .navbaritem {
    position: relative;
    padding: 12px 0;
}
#navbar a {
    display: inline-block;
    margin: 0 15px;
    font-family: 'Comfortaa', cursive;
    font-weight: 400;
    font-size: 16px;
    line-height: 25px;
    color: var(--color-black);
    cursor: pointer;
    text-transform: uppercase;
}
#navbar a:hover, #navbar a.selected {
    color: var(--color-fuschia);
}

@media (max-width: 1000px) {
    #navbarcontainer {
        display: none;
        background-color: var(--color-teal);
        padding: 30px 0;
    }
    #navbar {
        height: auto;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
    }

    #navbar a {
        color: var(--color-white);
        border-bottom: 1px solid transparent;
    }
    #navbar a:hover, #navbar a.selected {
        border-bottom: 1px solid var(--color-white);
        color: var(--color-pink);
    }
    #navbar #nav_socialimages_container {
        padding: 15px 0 0 0;
    }
    #navbar #nav_socialimages_container a {
        display: inline-block;
        font-size: 25px;
        color: var(--color-pink);
        margin: 0 5px;
    }
    #navbar #nav_socialimages_container a:hover {
        color: var(--color-white);
        border-bottom: 1px solid transparent;
    }
    #navbardots {
        box-sizing: border-box;
        padding: 30px 0;
        width: 100%;
    }
}
@media (max-width: 350px) {
    #navbardots {
        box-sizing: border-box;
        padding: 20px 20px;
        width: 100%;
    }
}

/* FOOTER ********************************************************** */
footer {
    padding: 10px 0;
    text-align: center;
    background-color: #56B6B2;
    width: 100%;
}
footer p, footer a {
    font-family: 'Comfortaa', sans-serif;
    text-transform: uppercase;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    color: #ffffff;
}
footer .contact p, footer .contact a {
    text-transform: none;
}
footer .contact {
    padding-bottom: 10px;
}
footer a.kelli:hover {
    color: var(--color-kelli);
}
/***************** CLEARFIX *******************/
.clearfix:before,
.clearfix:after {
    content:"";
    display:table;
}
.clearfix:after {
    clear:both;
}
/* For IE 6/7 (trigger hasLayout) */
.clearfix {
    zoom:1;
}

/* PAGE ELEMENTS ************************************************************************ */
section.hero {
    position: relative;
}
section.hero .heroimagecontainer {
    position: relative;
    height: 850px;
    background-position: center center;
    background-size: cover;
}

@media (max-height: 700px) {
    section.hero .heroimagecontainer {
        height: 600px;
    }
}
@media (max-width: 1000px) {
    section.hero .heroimagecontainer {
        height: 250px;
    }
}

.imagecontainer.contained {
    position: relative;
    width: 100%;
    height: 500px;
    overflow-y: hidden;
}
.imagecontainer.contained img.centered {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform:translate(-50%, -50%);
}
.imagecontainer.contained img.centeredx {
    width: 100%;
    position: absolute;
    left: 50%;
    transform:translate(-50%, 0);
}
.imagecontainer.contained img.bottomy {
    width: 100%;
    position: absolute;
    bottom: 0;
}

@media (max-height: 700px) {
    .imagecontainer.contained {
        height: 550px;
    }
}
@media (max-width: 1000px) {
    .imagecontainer.contained {
        height: 250px;
    }
}

/* SECTIONS TYPES ********************************************************** */
.textsection, .textimagesection {
    margin: 20px 0 0 0;
    padding-bottom: 60px;
    position: relative;
}

.nobreak {
    white-space: nowrap;
}

/* SOCIAL FOOTER ************************************************************ */
#socialfootercontents {
    position: relative;
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 30px;
    padding-bottom: 30px;
}

#socialfooter h2 {
    color: var(--color-teal);
    margin-bottom: 10px;
}
#socialfooter p {
    font-family: 'Montserrat', serif;
    font-size: 14px;
    line-height: 26px;
    color: var(--color-black);
    font-weight: 500;
}
#socialfooter p a:hover {
    color: var(--color-teal);
}
#socialimages_container {
    text-align: center;
}
#socialimages_container a {
    display: inline-block;
    font-size: 30px;
    color: var(--color-black);
    margin: 0 5px;
}
#socialimages_container a:hover {
    color: var(--color-teal);
}

#sociallove {
    text-align: center;
}
#cow_container img {
    width: 50%;
}
#cow {
    width: 100%;
    text-align: center;
    background-color: #fff6f5;
}
#cow img.cowlogo {
    width: 600px;
}

@media (max-width: 1000px) {
    #socialfootercontents {
        position: relative;
        display: grid;
        width: 100%;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        grid-column-gap: 0;
        grid-row-gap: 40px;
    }
}


.imagegallery {
    position: relative;
    display:grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
}
.imagegallery.threecolumns {
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 30px;
    grid-row-gap: 10px;
}
.galleryimage {
    position: relative;
    width: 100%;
}
.galleryimage img {
    width: 100%;
}
@media (max-width: 1000px) {
    .imagegallery, .imagegallery.threecolumns {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
}

.dotscontainer {
    background: transparent url(../images/dots-65px.png) repeat-x;
    height: 65px;
}
.dotscontainer.fullwidth {
    margin-top: 40px;
    background: transparent url(../images/dots-65px.png) repeat-x;
    background-position: center center;
}
.dotscontainer.left {
    background-position: center right;
}
.dotscontainer.right {
    background-position: center left;
}

#fundraiserbadge {
    position: absolute;
    bottom: 0px;
    left: 50%;
    width: 250px;
    text-align: right;
    z-index: 30;
    margin-left: 230px;
    box-sizing: border-box;
}
#fundraiserbadge img {
    width: 250px;
}
#fundraiserbadge img {
    display: inline-block;
}
@media (max-width: 1000px) {
    #fundraiserbadge {
        margin-left: 0;
        left: unset;
        right: 20px;
    }
    #fundraiserbadge img {
        width: 100px;
    }
}

#orderbadge {
    position: absolute;
    top: 135px;
    left: 50%;
    width: 140px;
    text-align: right;
    z-index: 30;
    margin-left: 340px;
    box-sizing: border-box;
}
#orderbadge img {
    width: 140px;
}
#orderbadge img {
    display: inline-block;
}
#orderbadge img.hover {
    display: none;
}
#orderbadge:hover img {
    display: none;
}
#orderbadge:hover img.hover {
    display: inline-block;
}
@media (max-width: 1000px) {
    #orderbadge {
        top: unset;
        bottom: -50px;
        margin-left: 0;
        left: unset;
        right: 20px;
    }
    #orderbadge img {
        width: 100px;
    }
}

button, .button {
    display: inline-block;
    padding: 4px 5px;
    color: var(--color-white);
    background-color: var(--color-fuschia);
    border: 1px solid var(--color-fuschia);
    border-radius: 10px;
    min-width: 130px;
    font-family: 'Comfortaa', cursive;
    font-size: 14px;
    line-height: 18px;
    text-align: center;
    outline: none;
    font-weight: 400;
    box-sizing: border-box;
}
button:hover, .button:hover {
    background-color: var(--color-pink);
    color: var(--color-fuschia);
}
button.singleline, .button.singleline {
    line-height: 36px;
}

form {
    position: relative;
    max-width: 400px;
    margin: auto;
}
form .question {
    position: relative;
    padding: 5px 0;
}
input, textarea {
    width: 100%;
    background-color: var(--color-offwhite);
    border: 1px solid var(--color-offwhite);
    color: var(--color-black);
    height: 38px;
    padding: 5px 10px;
    font-family: 'Comfortaa', cursive;
    font-size: 14px;
    line-height: 28px;
    box-sizing: border-box;
}
textarea {
    height: 84px;
}
::placeholder {
    color: var(--color-brown);
    font-family: 'Comfortaa', cursive;
    font-size: 14px;
    line-height: 28px;
}
form .buttoncontainer {
    margin: 20px 0;
}
.errors {
    display: none;
    color: var(--color-fuschia);
}
#emailsent {
    display: none;
}
input.incomplete, textarea.incomplete {
    border: 1px solid var(--color-fuschia);
}