:root {
    --main: #006032;
    --secondary: #44ba5d;
    --third: #1bbf9a;
    --fourth: #238f48;
}

/*:root {
    --main: #006032;
    --secondary: #0e5233;
    --third: #13452f;
    --fourth: #17392b;
}*/


body {
    margin: 0;
    background: #fff;
    min-width: 300px;
}

html, body, p, li, dd, td {
    color: #241f20;
    line-height: 150%;
    font-size: 1.02em;
    font-family: 'Montserrat', sans-serif;
}

#preloader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: #fff url(images/preloader.gif) center center no-repeat;
}

img a, a img {
    border: 0;
}

img {
    max-width: 100%;
    height: auto;
}

.wrapper {
    max-width: 1200px;
    padding: 0 25px;
    margin: 0 auto;
}

/*  EMERGENCY BANNER START ---------------------------------------------------------------------------------------------- */
/* this is needed if the alertbanner is enabled. */
/*
body {
    margin-top: 90px;
    position: relative;
}*/

/* offset the responsive dropdowm menu accordingly */
/*#header #header ul.menu {
    top: 200px !important;
}

body.home #header #header ul.menu {
    top: 94px !important;
}*/

#alertbanner {
    background: #fecb16;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 90px;
    padding: 0;
    height: 90px;
    margin-top: -90px;
}

#alertbanner .wrapper {
    background: #fecb16 url(images/stay-home.png) left no-repeat;
    background-size: 80px;
    background-position: 20px 10px;
    height: 90px;
    margin: -20px auto;
}

#alertbanner p {
    margin-left: 100px;
    padding-top: 28px;
    font-size: 15px;
    position: relative;
    display: block;
    color: #231f20;
}

#alertbanner a {
    color: #231f20;
}
/*  EMERGENCY BANNER END ---------------------------------------------------------------------------------------------- */




/* Header                                           */
/* ------------------------------------------------ */
/*body.home #header, body.headerpic #header {
    position: absolute;
    z-index: 999;
    left: 0;
    right: 0;
    top: 35px;
    max-width: 2000px;
    margin: 0 auto;
}

body.home #header, body.headerpic #header .wrapper {
    max-width: 1950px;
}*/

#header .wrapper {
    padding: 0;
    position: relative;
}

#header {
    background: #fff;
    padding: 15px 0;
    height: 80px;
}

#headerlogo {
    position: absolute;
    left: 20px;
    width: 200px;
    height: auto;
}

#social {
    float: right;
    height: 40px;
    margin-top: -10px;
}

.flexslider, .flex-viewport, ul.slides, ul.slides li {
    /* 170px is the header height + the navbar height */
    height: 800px;
    overflow: hidden;
}

.flexslidersubpage {
    max-height: 400px;
}

.flexslidersubpage ul.slides li {
    transform: translate(0%, -20%);
}

.flexslider img {
    width: 100%;
    position: relative;
}

.slides, .slides > li, .singleslide {
    margin: 0;
    padding: 0;
    list-style: none;
    display: -webkit-box!important;
    display: -moz-box!important;
    display: -ms-flexbox!important;
    display: -webkit-flex!important;
    display: flex!important;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.flexslider {
    position: relative;
}

#headerpic {
    font-size: 34px;
    text-align: center;
    text-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
}

#headerpic .wrapper, .flex-caption .wrapper {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-20%);
    -ms-transform: translateY(-20%);
    transform: translateY(-20%);
}


.headergradient {
    background: url(images/header-gradient.png) left bottom repeat-x;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    position: absolute;
    z-index: 2;
}

.single-slide, .slide {
    height: 650px;
    width: 100%;
}

.slide {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 70% 50%;
    overflow: hidden;
 }


/* homepage                                         */
/* ------------------------------------------------ */
#contentpanels {
    margin: 0 -1.5% 20px -1.5%;
    overflow: hidden;
    position: relative;
    z-index: 5;
    margin-top: -80px;
}

.contentpanel {
    float: left;
    width: 29.333%;
    margin: 1.5% 2%;
    overflow: hidden;
}

.contentpanel a {
    text-decoration: none;
    position: relative;
    display: block;
    overflow: hidden;
    padding: 20px 25px 50px 25px;
    background-image: url(images/arrow-right.png);
    background-position: right bottom;
    background-repeat: no-repeat;
}

.contentpanel a:hover {
    background-color: #333;
}

.contentpanel p {
    color: #fff;
    margin: 0;
    padding-right: 30px;
}

.contentpanel h3 {
    margin: 0;
    color: #fff;
    font-size: 34px;
    line-height: 135%;
    display: block;
}

.red, .red a { background-color: var(--main); }
.yellow, .yellow a { background-color: var(--secondary); }
.green, .green a { background-color: var(--third); }
.blue, .blue a { background-color: var(--fourth); }
.purple, .purple a { background-color: #1d2e28; }

.sidebar-content .contentpanel a:hover { background-position: 104% 50%;}

#homepageintro {
    text-align: center;
    max-width: 1000px;
}

/* Responsive elements                              */
/* ------------------------------------------------ */
@media screen and (max-width: 1700px) {
    #headerslideshow .flexslider, #headerslideshow .flex-viewport, #headerslideshow ul.slides, #headerslideshow ul.slides li {
        height: auto;
    }
}

@media screen and (max-width: 1270px) {
    /* EMERGENCY BANNER START -------------------------------------------------------------------------------------- */
    /* this is needed if the alertbanner is enabled. It clears the margin set above */
    body {
        margin-top: 0;
    }

    #alertbanner {
        position: relative;
        height: auto;
        margin-top: 0;
        padding-bottom: 30px;
    }

    #alertbanner p {
        font-size: 13px;
    }
    /* EMERGENCY BANNER END ---------------------------------------------------------------------------------------- */

    body.home #header, body.headerpic #header {
        position: relative;
        top: 0;
        max-width: none;
    }

    .single-slide, .slide {
        height: 460px;
    }
}

@media screen and (max-width: 971px) {
    #header {
        height: 70px;
    }

    #headerlogo {
        width: 180px;
        height: auto;
        padding-left: 10px;
    }

    #social {
        margin-top: -20px;
        padding-right: 25px;
    }

    #contentintro .contentpanel h3 {
        font-size: 24px;
    }
}

@media screen and (max-width: 830px) {
    #contentintro .contentpanel {
        float: none;
        width: auto;
        margin-bottom: 30px;
        /*min-height: 140px;*/
    }

    .single-slide, .slide {
        height: 400px;
    }
}

@media screen and (max-width: 600px) {
    /*#headerlogo {
        width: 200px;
    }*/

    .single-slide, .slide {
        height: 350px;
    }

    #alertbanner {
        padding-bottom: 50px;
    }

    #alertbanner p {
        padding: 20px 0 0 20px;
    }

}














/* Hamburger menu                                   */
/* ------------------------------------------------ */
#menu-toggle {
    display: none;
    float: right;
    margin-right: 0;
}

#hamburger-text {
    float: right;
    padding-left: 10px;
    line-height: 30px;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: bold;
    color: #006032;
    width: 35px;
}

#hamburger-text span {
    display: none;
}

#hamburger-text.is-active div {
    display: none;
}

#hamburger-text.is-active span {
    display: block;
}

.hamburger {
    display: inline-block;
    cursor: pointer;
    transition-property: opacity, filter;
    transition-duration: 0.15s;
    transition-timing-function: linear;
    font: inherit;
    color: inherit;
    text-transform: none;
    background-color: transparent;
    border: 0;
    margin: 10px 25px 0 25px;
    overflow: visible;
}

.hamburger:hover {
    opacity: 0.7;
}

.hamburger-box {
    width: 36px;
    height: 30px;
    display: inline-block;
    position: relative;
}

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
}

.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 100%;
    height: 4px;
    background-color: #006032;
    border-radius: 2px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease;
}

.hamburger-inner::before, .hamburger-inner::after {
    content: "";
    display: block;
}

.hamburger-inner::before {
    top: -11px;
}

.hamburger-inner::after {
    bottom: -11px;
}


.hamburger .hamburger-inner {
    transition-duration: 0.2s;
    transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger .hamburger-inner::before {
    transition: top 0.2s 0.14s ease, opacity 0.2s ease;
}

.hamburger .hamburger-inner::after {
    transition: bottom 0.2s 0.14s ease, transform 0.2s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger.is-active .hamburger-inner {
    transform: rotate(45deg);
    transition-delay: 0.14s;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}

.hamburger.is-active .hamburger-inner::before {
    top: 0;
    opacity: 0;
    transition: top 0.2s ease, opacity 0.2s 0.14s ease;
}
.hamburger.is-active .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-90deg);
    transition: bottom 0.2s ease, transform 0.2s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* Menu                                             */
/* ------------------------------------------------ */
#navbar {
    height: 50px;
    padding: 10px 25px 0 0;
    position: relative;
    float: right;
    clear: right;
}

#header ul.menu, #header ul.menu ul {
    padding: 0;
    list-style-type: none;
    margin: 0 auto;
    display: block;
    /*text-align: center;*/
}

#header ul.menu ul:after {
    content: ""; clear: both; display: block;
}

#header ul.menu li {
    padding: 0;
    background: none;
    display: block;
}

#header ul.menu > li {
    display: inline-block;
    *display: inline;
    zoom: 1;
    margin-right: -4px; /* remove the 4px gap inline elements have */
}

#header ul.menu li a {
    color: #006032;
    text-decoration: none;
    line-height: 50px;
    padding: 0 15px;
    font-size: 18px;
    display: block;
    -webkit-transition: background-color 0.2s ease-out;
    -moz-transition: background-color 0.2s ease-out;
    -ms-transition: background-color 0.2s ease-out;
    -o-transition: background-color 0.2s ease-out;
    transition: background-color 0.2s ease-out;
}


/* #header ul.menu li:first-child a {
    padding-left: 0;
} */


#header ul.menu li a:hover, #header ul.menu li.current-menu-item > a:hover, #header ul.menu li.current-menu-parent > a:hover {
    color: #1bbf9a;
}

#header ul.menu li.current-menu-item > a, #header ul.menu li.current-menu-parent > a, #header ul.menu li.current-menu-ancestor > a {
    font-weight: bold;
    color: #1bbf9a;
}

#header ul.menu li.menu-item-has-children, #header ul.menu li.menu-item-has-children > a, #header ul.menu ul.sub-menu li.menu-item-has-children > a {
    position: relative;
}

#header ul.menu li.menu-item-has-children > a, #header ul.menu ul.sub-menu li.menu-item-has-children > a {
    padding-right: 30px;
}

/* give the dropdowns an indicator */
#header ul.menu li.menu-item-has-children > a:after {
    width: 18px;
    top: 8%;
    content: url("images/submenu-down.svg");
    right: 6px;
    position: absolute;
}

#header ul.menu li.menu-item-has-children > a.close:after {
    content: url("images/submenu-up.svg");
}

/* dropdowns */
#header ul.menu ul.sub-menu {
    display: none;
    position: absolute;
    top: 50px;
    min-width: 200px;
    z-index: 9999;
}

#header ul.menu ul.sub-menu > li {
    position: relative;
    background: #fff;
    text-align: left;
    float: none;
}

#header ul.menu ul.sub-menu li.menu-item-has-children > a:after {
    content: url("../images/submenu-down-dark.svg");
    right: 8px;
}

#header ul.menu ul.sub-menu li.menu-item-has-children > a.close:after {
    content: url("../images/submenu-up-dark.svg");
}

/* the last dropdown */
#header ul.menu li.menu-item-has-children:last-child ul.sub-menu li {
    min-width: 250px;
}

#header ul.menu li.menu-item-has-children:last-child ul.sub-menu {
    right: 0;
}

#header ul.menu ul.sub-menu > li a:after {
    height: 22px;
    line-height: 22px;
}

#header ul.menu li > ul {
    -moz-box-shadow: 1px 0 8px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 1px 0 8px rgba(0, 0, 0, 0.2);
    box-shadow: 1px 0 8px rgba(0, 0, 0, 0.2);
}

#header ul.menu ul.sub-menu > li a {
    background: none;
    color: #666;
    font-size: 16px;
    text-shadow: none;
    padding: 15px 20px;
    display: block;
    line-height: 25px;
    text-decoration: none;
}


#header ul.menu ul.sub-menu > li.current-menu-item > a, #header ul.menu ul.sub-menu > li.current-menu-parent > a, #header ul.menu ul.sub-menu > li.current-menu-ancestor > a {
    color: #006032;
}

#header ul.menu ul.sub-menu > li a:hover {
    background: #006032;
    color: #fff;
}

#header ul.menu ul.sub-menu > li:last-child {
    border-bottom: 0;
}


/*sub submenus  */
#header ul.menu ul.sub-menu ul.sub-menu {
    top: 0;
    left: 100%;
}

#header ul.menu ul.sub-menu ul.sub-menu > li a {
    min-width: 160px;
}

@media screen and (min-width: 971px) {
    #header ul.menu {
        display: block !important;
    }
}

@media screen and (max-width: 970px) {
    #navbar {
        float: none;
    }

    #navbar nav > ul {
        display: none;
    }

    #navbar .wrapper {
        padding: 0;
    }

    #menu-toggle {
        display: block;
    }

    #header ul.menu {
        display: none;
        position: absolute;
        top: 80px;
        width: 100%;
        z-index: 99;
        -moz-box-shadow: 0 0 14px rgba(0, 0, 0, 0.3);
        -webkit-box-shadow: 0 0 14px rgba(0, 0, 0, 0.3);
        box-shadow: 0 0 14px rgba(0, 0, 0, 0.3);
    }

    #header ul.menu li, #header ul.menu ul.sub-menu > li {
        text-align: center;
    }

    #header ul.menu li {
        float: none;
        display: block;
        list-style: none;
        padding: 0;
        margin: 0;
        background-color: #fff;
    }

    #header ul.menu li a {
        line-height: 150%;
        padding: 14px 60px;
        margin: 0;
        color: #666;
        box-sizing: border-box;
    }

    #header ul.menu > li {
        margin-right: 0; /* clear the 4px negative margin set above */
    }

    #header ul.menu li a, #header ul.menu li.menu-item-has-children > a, #header ul.menu ul.sub-menu li.menu-item-has-children > a {
        padding: 14px 60px;
    }

    #header ul.menu li.current_page_item > a, #header ul.menu > li.current-menu-parent > a, #header ul.menu li.current-menu-ancestor > a {
        color: #006032;
        background: none;
    }

    /* plus and minus when in responsive mode */
    #header ul.menu li.menu-item-has-children > a:after, #header ul.menu ul.sub-menu li.menu-item-has-children > a:after {
        content: '\002B';
        top: auto;
        right: 16px;
        font-size: 24px;
    }

    #header ul.menu li.menu-item-has-children > a.close:after, #header ul.menu ul.sub-menu li.menu-item-has-children > a.close:after {
        content: '\2012';
        top: auto;
    }

    #header ul.menu li a:hover, #header ul.menu ul.sub-menu > li a:hover, #header ul.menu li.current-menu-item > a:hover, #header ul.menu li.current-menu-parent > a:hover {
        color: #fff;
        background: #006032;
    }

    #header ul.menu li:last-child {
        border-bottom: none;
    }

    /*submenu items */
    #header ul.menu ul.sub-menu, #header ul.menu ul.sub-menu ul.sub-menu {
        position: relative;
        left: auto;
        top: auto;
    }

    #header ul.menu li:hover > ul {
        display: none;
    }


    /*#header ul.menu ul.sub-menu > li {
        padding: 0;
        text-align: left;

    }*/

    #header ul.menu ul.sub-menu > li a {
        font-size: 18px;
        padding: 12px 40px;
    }

    #header ul.menu li > ul {
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    #header ul.menu ul.sub-menu > li:last-child, #header ul.menu ul.sub-menu > li:first-child {
        padding: 0;
    }

    #header ul.menu ul > li:first-child {
        border-top: 1px solid #cccccc;
    }

    /*sub sub menus */
    #header ul.menu ul.sub-menu ul.sub-menu > li a {
        padding-left: 60px;
    }
}

@media screen and (max-width: 400px) {
    #hamburger-text {
        display: none;
    }
}