/*
Theme Name: Ecogrape V2
Description: Ecogrape V2 theme
Version: 2.0
Author: Andy
*/

@import url('antonio-webfontkit/stylesheet.css');

:root {
    --main: #305139;
    --secondary: #84c43f;
    --third: #960838;
}

body {
	margin: 0;
	background: #ffffff;
}

html, body, p, li, ul, dd, td {
	color: #867f7e;
	line-height: 180%;
	font-size: 1.0em;
	font-family: 'Open Sans', sans-serif;
}

img a, a img {
	border: 0;
}

td {
	vertical-align: top;
}

a {
	color: var(--secondary);
	text-decoration: underline;
	outline: none;
}

a:hover {
	color: #000;
}

ul {
	margin: 8px 0 18px 18px;
	padding: 0;
}

li {
	padding-left: 4px;
	line-height: 180%;
}

h1, h1 a, h2, h2 a, h3, h3 a {
	color: var(--main);
	line-height: 140%;
	font-weight: normal;
	font-family: antonioregular, sans-serif;
}

h1, h1 a {
	font-size: 3.6em;
	margin-top: 0;
}

h2, h2 a {
	font-size: 2.2em;
}

h3, h3 a {
	font-size: 1.8em;
}

hr {
	height: 2px;
	border: 0;
	width: 100%;
	background: #c8d9cc;
	color: #c8d9cc;
	margin: 30px 0 30px 0;
}

.wrapper {
    max-width: 1400px;
    padding: 0 25px;
    margin: 0 auto;
    position: relative;
}

#emergency-message {
    background: #74ab39;
    padding: 20px 0;
    overflow: hidden;
    border-bottom: 20px solid #fff;
    margin-bottom: -20px;
}

#emergency-message .wrapper {
    padding: 0;
    background-image: url(images/alert.svg);
    background-repeat: no-repeat;
    background-position: 15px 50%;
    background-size: 35px;
    position:relative;
}

#emergency-message-content * {
    color: #fff;
}

#emergency-message-content {
    padding: 0 60px 0 70px;
    display: flex;
    align-items: center;
    display: inline-flex
}

#emergency-message-content p {
    margin: 0 0 0 50px;
    font-size: 13px;
    padding: 0;
}

#emergency-message-content h3 {
    float: left;
    width: 400px;
}

#emergency-message-content span {
    height: 5px;
    width: 10px;
    display: block;
}

#closepopup {
    cursor: pointer;
}

#closepopup img {
    width: 20px;
    height: auto;
    position: absolute;
    right: 20px;
    top: 40%;
}



/* Header                                           */
/* ------------------------------------------------ */
header {
    height: 120px;
}

#header {
    font-size: 24px;
    line-height: 140%;
    padding: 30px 0;
    height: 60px;
    background: #eee;
    text-align: center;
}

#header a {
    font-size: 44px;
    text-decoration: none;
    color: #000;
}

#headerlogo {
    position: absolute;
    top: 20px;
    left: 25px;
}

#headerlogo img {
    width: 300px;
    height: 80px;
}

.flexslider, .flex-viewport, ul.slides, ul.slides li {
    height: 900px;
    overflow: hidden;
    background: #000;
}

.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;
}

.singleslide {
    height: 500px;
    overflow: hidden;
}

.singleslide img {
    width: 100%;
    height: auto;
}

.flexslider, .singleslide {
    margin: 0 0 40px 0;
}

/* 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: var(--main);
    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: var(--main);
    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);
}

/* homepage grid ---------------------------------------------------------------------------------------- */
#homepagegrid-wrapper {
    padding: 60px 0;
    background: #eff1ef;
    margin-top: -40px;
}

#homepagegrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

#homepagegrid .content-box {
    width: 100%;
    margin-bottom: 0;
}

#homepagegrid .content-box a {
    max-height: none;
}

#content {
    padding: 40px 0;
}

#content-main {
	overflow: hidden;
	float: left;
    width: 65%;
    padding-right: 5%;
    margin-bottom: 80px;
}

#content-right {
	width: 30%;
	float: right;
    margin-bottom: 80px;
}


.content-box {
    position: relative;
    display: inline-block;
    overflow: hidden;
    margin-bottom: 30px;
}

.content-box img {
    width: 100%;
    height: auto;
}

.content-box a {
    display: block;
    position: relative;
    text-decoration: none;
    max-height: 240px;
}

.content-box .overlay-badge {
    position: absolute;
    bottom: 25px;
    left: 0;
    background-color: var(--third);
    color: #fff;
    font-family: 'antonioregular', sans-serif;
    font-size: 30px;
    font-weight: normal;
    padding: 18px 24px 12px 60px;
    box-sizing: border-box;
    transform-origin: left;
    transition: transform 0.3s ease;
    max-width: 100%;
    line-height: 110%;
}

.content-box .overlay-badge {
    transform: skewX(-10deg);
    margin-left: -40px;
}

.content-box a:hover .overlay-badge {
    transform: skewX(-10deg) translateX(15px);
}

label.error {
	color: red;
}

span.required {
	font-size: 12px;
	font-weight: bold;
}

#mutebutton {
    position: absolute;
    right: 20px;
    top: 10px;
    border: 0;
    width: 32px;
    height: 29px;
    cursor: pointer;
    text-indent: -999px;
}

#mutebutton:focus {
    outline: none;
}

.mutebutton-on {
    background: url(images/speaker.png);
}

.mutebutton-off {
    background: url(images/speaker-off.png);
}



#footer {
	background: #24432d;
	margin-top: 25px;
    overflow: hidden;
    clear: both;
    padding: 60px 0;
}

#footer-logo img {
	max-width: 250px;
    height: auto;
    margin-left: -10px;
}


#footer a, #footer, #footer p {
	color: #fff;
	line-height: 150%;
}

#footer h3 {
	margin: 0;
	color: #a6c4ad;
}


#footer-contact {
	float: left;
	width: 40%;
	font-size: 12px;
	padding-top: 50px;
}

.footer-column ul {
	margin: 0 auto;
	list-style-type: none;
}

.footer-column ul li {
	padding: 0;
	margin: 0;
}

.footer-column {
	width: 33%;
	margin: 0 0 8px 0;
	float: left;
	text-align: left;
	font-size:1.0em;
}

.footer-column li a {
	text-decoration: none;
	line-height: 200%;
}

.footer-column li a:hover, .footer-column li.current_page_item {
	text-decoration: underline;
}

.margin {
	padding-right: 20px;
}


#copyright {
	font-size: 0.8em;
	padding: 6px 0;
	clear: both;
}

.readmore {
	background: var(--third);
	color: #fff;
	display: table;
	padding: 12px 30px;
    font-weight: bold;
	margin: 6px 0;
	text-decoration: none;
}

.readmore:hover {
	background: #000;
	color: #fff;
}

#navbar ul li a, .readmore, #footer a img {
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

#orderform_personal, #orderform_items {
	width: 100% !important;
}


.sansserif {
	font-family: arial, verdana, sans-serif;
	line-height: 160%;
}


.listing {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #d1d5d8;
	min-height: 160px;
}




.producttitle {
	font-weight: bold;
	font-size: 1.2em;
	margin-bottom: 10px;
}
.producttitle a {
	color: #99857a;
	text-decoration: none;
}

.productcontent {
	margin-left: 180px;
}

.productcontent p {
	margin-top: 0;
}

.productimage {
	width: 180px;
	float: left;
	position: relative;

}

.productimage img {
	border: 5px solid #dfe6eb;
	max-width: 160px;
	height: auto;
}

.buynow {
	float: right;
	height: 70px;
	margin-left: 30px;
}

.pagination {
	clear: both;
	margin-top: 40px;
}



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

ul.menu, ul.menu ul {
    padding: 0;
    list-style-type: none;
    margin: 0 auto;
    display: block;
}

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

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

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

ul.menu li a {
    color: var(--main);
    text-decoration: none;
    line-height: 50px;
    padding: 0 15px;
    font-size: 24px;
    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;
    font-family: 'antoniolight', sans-serif;
}


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


ul.menu li a:hover, ul.menu li.current-menu-item > a:hover, ul.menu li.current-menu-parent > a:hover {
    color: var(--secondary);
}

ul.menu li.current-menu-item > a, ul.menu li.current-menu-parent > a, ul.menu li.current-menu-ancestor > a {
    font-weight: bold;
    color: var(--secondary);
}

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

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

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

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

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

ul.menu ul.sub-menu > li {
    position: relative;
    background: #fff;
    border-bottom: 1px solid #ddd;
    text-align: left;
    float: none;
}

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

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

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

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

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

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);
}

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


ul.menu ul.sub-menu > li.current-menu-item > a, ul.menu ul.sub-menu > li.current-menu-parent > a, ul.menu ul.sub-menu > li.current-menu-ancestor > a {
    color: var(--main);
}

ul.menu ul.sub-menu > li a:hover {
    background: var(--main);
    color: #fff;
}

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


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

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

@media screen and (min-width: 971px) {
    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;
    }

    ul.menu {
        display: none;
        position: absolute;
        top: 50px;
        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);
    }

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

    ul.menu li {
        float: none;
        display: block;
        list-style: none;
        padding: 0;
        margin: 0;
        border-bottom: 1px solid #ddd;
        background-color: #fff;
    }

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

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

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

    ul.menu li.current_page_item > a, ul.menu > li.current-menu-parent > a, ul.menu li.current-menu-ancestor > a {
        color: var(--main);
        background: none;
    }

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

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

    ul.menu li a:hover, ul.menu ul.sub-menu > li a:hover, ul.menu li.current-menu-item > a:hover, ul.menu li.current-menu-parent > a:hover {
        color: #fff;
        background: var(--main);
    }

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

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

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

    ul.menu ul.sub-menu > li a {
        padding: 12px 40px;
    }

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

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

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

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


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

@media screen and (max-width: 1025px) {
    #emergency-message-content {
        display: inherit;
        padding-left: 80px;
    }
    #emergency-message-content h3 {
        float: none;
        margin: 0 0 10px 0;
        width: 100%;
    }

    #emergency-message-content p {
        margin-left: 0;
        width: 100%;
    }

    #homepagegrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}


@media screen and (max-width: 900px) {
    #content-main, #content-right {
        float: none;
        width: 100%;
        margin: 0 0 30px 0;
    }

    .content-box a {
        max-height: none;
    }
}

@media screen and (max-width: 650px) {
	#homepagegrid {
        grid-template-columns: repeat(1, 1fr);
        gap: 30px;
    }

    .content-box .overlay-badge {
        font-size: 22px;
        line-height: 130%;
    }

	.content-box h3 {
		font-size: 1.8em;
	}

}


@media screen and (max-width: 600px) {
    header {
        height: 90px;
    }

    #headerlogo img {
        width: 200px;
        height: 60px;
        margin-left: -20px;
    }

    #navbar {
        padding: 22px 0 0 0;
    }

    h1, h1 a {
        font-size: 2.2em;
    }

    h2, h2 a {
        font-size: 1.6em;
    }

    h3, h3 a {
        font-size: 1.3em;
    }

    .footer-column {
		width: 100%;
		float: none;
		border-bottom: 1px solid #898583;
		margin-bottom: 20px;
		padding-bottom: 20px;
	}
}


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


/* WP Common Styles */
/*figure {
    display: table;
}*/

.wp-block-image figcaption {
    display: table-caption;
    caption-side: bottom;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
}

figure.wp-block-image {
    margin-left: 0;
    margin-right: 0;
}

figure.wp-block-image img {
    max-width: none !important;
    width: 100%;
    height: auto;
}

.wp-caption {
    width: 100% !important;
}

.aligncenter {
   display: block;
   text-align: center;
   margin: 0 auto;
   padding-bottom: 10px;
}

.alignright {
   text-align: right;
   display: block;
   float: right;
   margin: 10px 0px 5px 15px;
}

.alignleft {
   text-align: left;
   display: block;
   float: left;
   margin: 10px 20px 5px 0px;
}

.wp-caption-text,.wp-caption-dd {
   margin: 0;
   font-weight: bold;
   font-size: smaller;
   text-align: center;
}

.wp-caption {
   margin-right: 5px;
}

.wp-caption img {
    padding-bottom: 5px;
}

.alignleft, .alignright {
    margin-bottom: 20px;
}

.aligncenter, dl.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignleft {
    float: left;
}

.alignright {
    float: right;
}