@import "css/fonts/Avenir.css";

h1,
.h1,
body.wp-admin .edit-post-visual-editor h1 {
    font-size: 2.8rem;
    line-height: 120%;
    font-weight: bold;
    margin: 1.5em 0 0.5em 0;
}

    * > h1:first-child, {
        margin-top: 0;
    }

    .hero h1 {
        font-size: 2rem;
    }


    @media (min-width: 1400px) {
        h1,
        .h1 {
            font-size: 3.8rem;
            line-height: 120%;
        }
    }


h2,
.h2,
body.wp-admin .edit-post-visual-editor h2 {
    font-size: 1.6rem;
    line-height: 120%;
    font-weight: 900;
    margin: 1.5em 0 0.5em 0;
    color: #90C53E;
}

    * > h2:first-child {
        margin-top: 0;
    }

    @media (min-width: 600px) {
        h2,
        .h2 {
            font-size: 1.8rem;
            line-height: 120%;
        }
    }

    @media (min-width: 1400px) {
        h2,
        .h2 {
            font-size: 2.6rem;
            line-height: 120%;
        }
    }


h2.huge {
    font-size: 2.6rem !important;
    line-height: 100% !important;
}

    @media (min-width: 600px) {
        h2.huge {
            font-size: 3.6rem !important;
            line-height: 100% !important;
        }
    }

    @media (min-width: 800px) {
        h2.huge {
            font-size: 4.6rem !important;
            line-height: 100% !important;
        }
    }

    @media (min-width: 1000px) {
        h2.huge {
            font-size: 5.6rem !important;
            line-height: 100% !important;
        }
    }

    @media (min-width: 1200px) {
        h2.huge {
            font-size: 6.6rem !important;
            line-height: 100% !important;
        }
    }

h3,
.h3,
body.wp-admin .edit-post-visual-editor h3 {
    font-size: 1.25rem;
    line-height: 120%;
    color: #90C53E;
    font-weight: 900;
    margin: 1.5em 0 1em 0;
}

    * > h3:first-child {
        margin-top: 0;
    }

    @media (min-width: 1200px) {
        h3,
        .h3 {
            font-size: 1.35rem;
            line-height: 120%;
        }
    }

    @media (min-width: 1800px) {
        h3,
        .h3 {
            font-size: 1.75rem;
            line-height: 120%;
        }
    }


p {
    margin-bottom: 1.25em;
}


h1.align-left,
h2.align-left,
h3.align-left {
    text-align: left !important;
}

h1.align-center,
h2.align-center,
h3.align-center {
    text-align: center !important;
}

h1.align-right,
h2.align-right,
h3.align-right {
    text-align: right !important;
}

h1.color-green,
h2.color-green,
h3.color-green {
    color: #90C53E !important;
}

h1.color-gray,
h2.color-gray,
h3.color-gray {
    color: #65686E !important;
}

h1.color-white,
h2.color-white,
h3.color-white {
    color: #fff !important;
}

h1 .date,
h2 .date,
h3 .date {
    font-size: 0.85rem;
    line-height: 120%;
    font-weight: normal;
}

h1 a,
h2 a,
h3 a {
    text-decoration: none;
}

.buttonlink a,
a.buttonlink {
    display: inline-block;
    letter-spacing: 0.02em;
    border: 1px solid #90C53E;
    color: #90C53E !important;
    font-weight: 600;
    text-decoration: none;
    line-height: 110%;
    border-radius: 3px;
    padding: 0.75rem 1rem;

    transition: all 0.2s ease-in-out;
}

    .background-green .buttonlink a,
    .background-green a.buttonlink {
        color: #fff !important;
        border-color: #fff;
    }

    .buttonlink.small a,
    a.buttonlink.small {
        font-size: 0.85rem;
		padding: 0.5rem 0.75rem;
    }

    .buttonlink a:hover,
    a.buttonlink:hover {
        background: #90C53E;
        color: #fff !important;
        transform: scale(1.1);
    }

    .background-green .buttonlink a:hover,
    .background-green a.buttonlink:hover {
        color: #90C53E !important;
        background: #fff;
    }

    .buttonlink.white a,
    a.buttonlink.white {
        color: #fff !important;
        border-color: #fff
    }

    .buttonlink.white a:hover,
    a.buttonlink.white:hover {
        color: #90C53E !important;
        background: #fff;
    }


.highlight {
    color: #90C53E !important;
    background: transparent !important;
}


article ul {
    padding-left: 1rem;
}

    article ul li {
        list-style-type: disc;
        margin: 0.25rem 0;
    }

article ol {
    padding-left: 2rem;
}

    article ol li {
        list-style-type: decimal;
        margin: 0.25rem 0;
    }
