/*
 Theme Name:     divi-child
 Theme URI:      http://plantamnesty.kr/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */

/*.et_pb_bg_layout_dark.et_pb_slider_with_overlay .et_pb_slide_overlay_container, .et_pb_bg_layout_dark.et_pb_slider_with_text_overlay .et_pb_text_overlay_wrapper {
	background-color: rgba(0,0,0,0.6);
}*/

/* HEADER */

#logo {
	max-width: 300px;
}

.logo_container {
	padding-top: 15px;
}

.logo_container > a {
	display: inline-block;
}

.logo_container h5 {
	color: white;
	padding-bottom: 0;
	margin-top: -2px;
	font-size: 14px;
}

.et-fixed-header .logo_container {
	padding-top: 12px;
}

.et-fixed-header #tagline_container {
	opacity: 0;
}

.mobile_menu_bar::after, .et_toggle_slide_menu::after {
	color: white !important;
}

.et_mobile_menu li a {
	text-decoration: none;
}

/* GENERAL */

/*.container,
.et_pb_row {
	max-width: 1200px;
	width: 84%;
}*/

.reduced-width-text {
	max-width: 800px;
}

.space-before {
	margin-top: 1.5em;
}

.space-after {
	margin-bottom: 1.5em;
}

a {
	color: #3f993a;
	text-decoration: underline;
}

hr {
	margin: 1em 0 2em;
	background-color: transparent;
	border: none;
	border-bottom: 1px solid rgba(0,0,0,0.15);
}

.et_pb_fullwidth_header {
	padding-top: 70px;
	padding-bottom: 30px;
}

h1 {
	font-size: 48px;
}

h2 {
	padding-bottom: 0.6em;
	font-size: 30px;
}

.large-heading h2 {
	font-size: 46px;
}

h3 {
	font-family: Roboto, sans-serif !important;
	font-weight: 700;
}

a.et_pb_button {
	text-decoration: none;
}

h4 {
	font-size: 20px;
}

h4.widgettitle {
	font-size: 22px;
}

.et_pb_sidebar_0 p {
	font-size: 14px;
}

h2.et_pb_slide_title {
	padding-bottom: 0.4em;
}

.et-pb-slider-arrows a,
h2.et_pb_slide_title a {
	text-decoration: none;
}

.et_pb_slider .et_pb_container {
	max-width: 750px;
}

.et_pb_slider .et_pb_more_button {
	margin-top: 0;
	margin-bottom: 40px;
}

.et_pb_slider .et_pb_button_wrapper {
	background-color: rgba(0,0,0,0.6);
}

.et_pb_slide_content {
	text-align: left;
}

.et_pb_slider_with_text_overlay .et_pb_text_overlay_wrapper {
	padding-left: 4vw;
	padding-right: 4vw;
}

.custom-scalable-slideshow .et_pb_slides,
.custom-scalable-slideshow .et_pb_slide {
    height: 100% !important;
}

.mobile_menu_bar::before {
	color: #fff !important;
}

.et_pb_text_inner li {
	margin-bottom: 0.8em;
}

p:not(.has-background):last-of-type {
	padding-bottom: inherit;
}

.et_pb_widget_area_right {
	border-left-color: rgba(0,0,0,0.15);
}

.et_pb_widget ul.menu li {
	border: 1px solid #ccc;
	padding: 2px 12px;
}

.et_pb_widget ul.menu li:hover {
	background-color: #eee;
}

#footer-widgets .footer-widget li {
	padding-left: 0;
}

.et_pb_widget ul.menu li {
	border: none;
	padding: 0;
}

#footer-widgets .footer-widget li::before {
	border-width: 0;
}


.et_pb_widget ul.menu li:hover {
	background-color: transparent;
}

#footer-widgets .footer-widget .menu li a:hover {
	color: #dbd5c7;
}

.et-social-icons {
	margin-top: 5px !important;
}

.et_pb_promo.black-transparent {
	background-color: rgba(0,0,0,0.6) !important;
}

.et_pb_blurb.custom-icon .et_pb_main_blurb_image img {
	/*max-width: 96px;*/
	max-height: 96px;
}

.required {
	color: #f00;
}


/* Custom Menu Classes hiding/showing menu items */
#mobile_menu_slide .show_logged_in, #mobile_menu_slide .show_member  {
	display: none;
}
#mobile_menu_slide .hide_logged_in, #mobile_menu_slide .hide_member {
	display: block; 
}

body.member-logged-in #mobile_menu_slide .show_member,
body.logged-in #mobile_menu_slide .show_logged_in {
	display: block;
}
body.member-logged-in #mobile_menu_slide .hide_member,
body.logged-in #mobile_menu_slide .hide_logged_in  {
	display: none;
}

.tree-background {
	background-size: 65%;
	background-position: center right;
	border: 2px solid #f3f3f3;
	border-bottom-width: 0;
}

/*
EVENT CALENDAR
*/
.tribe-bar-disabled {
	display: none;
}

.tribe-events-list .tribe-events-loop .tribe-events-event-image {
	float: right;
	margin: 0 0 0 3%;
}

.tribe-events-list .tribe-events-venue-details {
	display: inline-block;
	padding: 5px;
}

.tribe-events-venue-details.plantamnesty {
	background-color: #c7e0b7;
}

.tribe-events-venue-details.bellevue-botanic-garden {
	background-color: #ffe5a0;
}

.tribe-events-venue-details.uw-botanical-gardens {
	background-color: #f3e7fc;
}

.tribe-events-list .type-tribe_events {
	border-bottom: 1px solid #ddd;
	padding-bottom: 2.25em;
}

.tribe-events-list .tribe-events-list-event-title {
	display: block;
}

.tribe-events-loop .tribe-events-event-meta {
	clear: left;
}

.tribe-events-loop .tribe-events-content {
	float: none;
}

.tribe-events-loop .type-tribe_events.tribe-events-last {
	border-bottom: 0;
	padding-bottom: 0;
}

.venue-address {
	margin-bottom: 1em;
}

#sidebar .tribe-mini-calendar-event .list-date {
	width: 20%;
}

#sidebar .tribe-mini-calendar-event .list-info {
	width: 75%;
}

#sidebar .tribe-mini-calendar-event .list-info h2 {
	margin-bottom: 0;
}

.et_pb_widget a {
	color: #3a7037;
}

.et_header_style_left #et-top-navigation, .et_header_style_left .et-fixed-header #et-top-navigation {
	padding-top: 27px;
}

.et_header_style_left .mobile_menu_bar, .et_header_style_split .mobile_menu_bar {
	padding-bottom: 22px;
}


/* Restore font and color in links, headers, and misc detail elements */
body .tribe-events-meta-group .tribe-events-single-section-title,
body .single-tribe_events .tribe-events-single .tribe-events-event-meta,
body .tribe-events-event-meta,
body .tribe-events-back a, 
body .tribe-events-back a:visited,
body .tribe-events-content,
body .tribe-events-schedule .recurringinfo, 
body .tribe-events-schedule h2, 
body .tribe-related-event-info .recurringinfo,
body .tribe-events-schedule .recurringinfo, 
body .tribe-events-schedule .tribe-events-cost,
body .tribe-events-single-event-title,
body .tribe-common .tribe-common-h4,
body .tribe-common .tribe-common-h5, 
body .tribe-common .tribe-common-h6,
body .tribe-common .tribe-common-b2,
body .tribe-common .tribe-common-b3 {
    font-family: inherit;
    color: inherit;
}

body .tribe-events-content ol, 
body .tribe-events-content p, 
body .tribe-events-content ul {
    font-size: inherit;
    line-height: inherit;
}

/* override our own styles adversely affecting this element */
#left-area ul.tribe-events-sub-nav {
    list-style-type: none;
    padding: 0;
    line-height: inherit;
}

body .tribe-common a, 
body .tribe-common a:active, 
body .tribe-common a:focus, 
body .tribe-common a:hover, 
body .tribe-common a:visited {
    color: inherit;
}

body .tribe-common .tribe-common-anchor-thin:active, 
body .tribe-common .tribe-common-anchor-thin:focus, 
body .tribe-common .tribe-common-anchor-thin:hover {
    border-bottom-color: currentColor;
}

body .tribe-events-event-meta a, 
body .tribe-events-event-meta a:focus, 
body .tribe-events-event-meta a:hover,
body .tribe-events-event-meta a:visited,
body .tribe-events-cal-links .tribe-events-gcal, 
body .tribe-events-cal-links .tribe-events-ical,
body .tribe-events-cal-links {
    font-family: inherit;
    color: #3a7037;
}

body .tribe-events-single .tribe-events-sub-nav .tribe-events-nav-next a, 
body .tribe-events-single .tribe-events-sub-nav .tribe-events-nav-next a:hover, 
body .tribe-events-single .tribe-events-sub-nav .tribe-events-nav-next a:focus, 
body .tribe-events-single .tribe-events-sub-nav .tribe-events-nav-previous a,
body .tribe-events-single .tribe-events-sub-nav .tribe-events-nav-previous a:focus,
body .tribe-events-single .tribe-events-sub-nav .tribe-events-nav-previous a:hover {
    font-family: inherit;
    color: #3a7037;
}

body .tribe-events-back a, 
body .tribe-events-back a:visited {
    font-size: inherit;
    font-weight: inherit;
    color: #3a7037;
}

body .tribe-events-content a.smallgreen:active, 
body .tribe-events-content a.smallgreen:focus, 
body .tribe-events-content a.smallgreen:hover {
    border-bottom: 1px solid #4dab46;
}

body .tribe-events-content a:active, 
.tribe-events-content a:focus, 
.tribe-events-content a:hover {
    border-bottom: 1px solid #4dab46;
}

body .tribe-events-single .tribe-events-sub-nav .tribe-events-nav-next a:hover::after {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M.084 2.159L2 .243l9.9 9.9L2 20.041.084 18.126l7.983-7.984z' fill='%233a7037'/%3E%3C/svg%3E");
}

body .tribe-events-single .tribe-events-sub-nav .tribe-events-nav-previous a:hover::before {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.916 17.841L10 19.757l-9.9-9.9L10-.041l1.916 1.916-7.983 7.984z' fill='%233a7037'/%3E%3C/svg%3E");
}

body .entry .entry-content .tribe-common .tribe-tickets__title, 
body .tribe-common .tribe-tickets__title,
body .tribe-common .tribe-common-h7,
body .tribe-common .tribe-common-h8 {
	color: inherit;
}

body .entry .entry-content .tribe-common .tribe-tickets__attendee__fields__footer_checkout-button.tribe-common-c-btn:disabled, 
body .entry .entry-content .tribe-common .tribe-tickets__buy.tribe-common-c-btn:disabled, 
body .tribe-common .tribe-tickets__attendee__fields__footer_checkout-button.tribe-common-c-btn:disabled, 
body .tribe-common .tribe-tickets__buy.tribe-common-c-btn:disabled, 
body .tribe-common .tribe-tickets__buy.tribe-common-c-btn--small, 
body .tribe-common .tribe-common-c-btn.tribe-common-c-btn--small{
	background-color: #3a7037;
}

body .tribe-common .tribe-tickets__buy.tribe-common-c-btn--small:hover, 
body .tribe-common .tribe-tickets__buy.tribe-common-c-btn--small:focus,
body .tribe-common .tribe-common-c-btn.tribe-common-c-btn--small:hover,
body .tribe-common .tribe-common-c-btn.tribe-common-c-btn--small:focus{
	background-color: #4f994b;
}

body .tribe-events .tribe-events-c-ical__link {
    border: 1px solid #3a7037;
    color: #3a7037;
}

body .tribe-events .tribe-events-c-ical__link:hover {
    border: 1px solid #3a7037;
    color: #3a7037;
}

body .tribe-events .tribe-events-c-ical__link:active, 
body .tribe-events .tribe-events-c-ical__link:focus, 
body .tribe-events .tribe-events-c-ical__link:hover {
    background-color: #3a7037;
    color: #fff;
}

body .tribe-events .tribe-events-calendar-list__event-row--featured .tribe-events-calendar-list__event-date-tag-datetime::after {
    background-color: #3a7037;
}

body .tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-datetime-featured-text {
    color: #3a7037;
}

body .tribe-events-schedule .recurringinfo a, 
body .tribe-related-event-info .recurringinfo a {
    color: #3a7037;
}

body .tribe-common .tribe-common-cta {
    font-family: inherit;
}

body .tribe-common .tribe-common-cta--thin-alt:active, 
body .tribe-common .tribe-common-cta--thin-alt:focus, 
body .tribe-common .tribe-common-cta--thin-alt:hover,
body .tribe-common a.tribe-common-cta--thin-alt,
body .tribe-events-content a {
    border-bottom-color: #3a7037;
    color: #3a7037;
}

body .tribe-events-content a:active, 
body .tribe-events-content a:focus, 
body .tribe-events-content a:hover {
    color: #3a7037;
}

body .tribe-events-single ul.tribe-related-events li .tribe-related-events-title a {
    color: #3a7037;
}

body .tribe-common--breakpoint-medium.tribe-events .tribe-events-c-nav__next, 
body .tribe-common--breakpoint-medium.tribe-events .tribe-events-c-nav__prev {
    color: #3a7037;
}

body .tribe-common--breakpoint-medium.tribe-events .tribe-events-c-nav__next path, 
body .tribe-common--breakpoint-medium.tribe-events .tribe-events-c-nav__prev path {
    fill: #555;
}

body .tribe-common--breakpoint-medium.tribe-events .tribe-events-c-nav__next:hover path, 
body .tribe-common--breakpoint-medium.tribe-events .tribe-events-c-nav__prev:hover path {
    fill: #3a7037;
}

body .tribe-common .tribe-common-c-svgicon {
    color: #3a7037;
}

body .tribe-events .tribe-events-c-view-selector__button::before {
    background-color: #3a7037;
}

body .tribe-events-notices {
    border: 1px solid #3a7037;
    padding: 0;
}

body .tribe-events-notices ul {
    list-style-type: none;
    padding: 1em;
}

body .tribe-events .datepicker .day.active, 
body .tribe-events .datepicker .day.active.focused, 
body .tribe-events .datepicker .day.active:focus, 
body .tribe-events .datepicker .day.active:hover, 
body .tribe-events .datepicker .month.active, 
body .tribe-events .datepicker .month.active.focused, 
body .tribe-events .datepicker .month.active:focus, 
body .tribe-events .datepicker .month.active:hover, 
body .tribe-events .datepicker .year.active, 
body .tribe-events .datepicker .year.active.focused, 
body .tribe-events .datepicker .year.active:focus, 
body .tribe-events .datepicker .year.active:hover {
    background-color: #3a7037;
}

/* Woo */

/* disable magnifying glass */

.single-product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
	display: none;
}

/* Darken color behind quantity and coupon */

.woocommerce #content .quantity input.qty, 
.woocommerce-cart table.cart td.actions .coupon .input-text, 
.woocommerce-page #content .quantity input.qty, 
.woocommerce-page .quantity input.qty, 
.woocommerce .quantity input.qty {
	background-color: #666 !important;
}

.membership .view-subscription {
	margin-right: 1em;
}

/* Custom Woo order received thankyou text */
.woocommerce-thankyou-order-received-custom-text {
	border: 1px solid #eee; 
	margin: 2em 0 5em; 
	padding: 0.857em 0.587em;
}


/* Custom Top Buttons Menu */

#top-buttons-menu-nav {
	position: relative;
    float: right;
    margin-right: 50px;
    margin-top: 5px;
    transition: margin-top 0.2s;
}

.et-fixed-header #top-buttons-menu-nav {
    margin-top: -4px;
}

@media (max-width: 1050px) {
    #top-buttons-menu-nav {
        display: none;
    }
}

#top-buttons-menu {
	/* float: left; */
	/* margin-left: 690px;  */
	/* margin-top: 20px; */
}

#top-buttons-menu  ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

#top-buttons-menu  li {
	float: left;
	margin-right: 14px;
}

#top-buttons-menu  li a {
	display: block;
	color: white;
	text-align: center;
	padding: 8px;
    text-decoration: none;	
    
    position: relative;
    padding: .2em 1em;
    border: 2px solid;
    border-radius: 3px;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.7em!important;
    transition: background 0.3s ease;
}
#top-buttons-menu li a:hover {
    background-color: rgba(255,255,255,.2);
}


@media all and (min-width: 981px) {
	.et_header_style_fullscreen #et-top-navigation, .et_header_style_slide #et-top-navigation {
		padding-top: 27px;
		padding-bottom: 22px;
	}
	
	.et_header_style_fullscreen .et_toggle_fullscreen_menu, .et_header_style_slide .et_toggle_slide_menu {
		padding-bottom: 0;
	}
}
@media all and (max-width: 980px) {
	.et_header_style_left #logo, .et_header_style_split #logo {
		max-width: 300px;
	}
	
	h1 {
		font-size: 36px;
	}
}


@media all and (max-width: 700px) {
	.et_header_style_left #et-top-navigation, .et_header_style_left .et-fixed-header #et-top-navigation {
		padding-top: 21px;
	}
	
	.et_header_style_left .mobile_menu_bar, .et_header_style_split .mobile_menu_bar {
		padding-bottom: 16px;
	}
	
	.logo_container {
		padding-top: 10px;
	}
	
	#tagline_container {
		display: none;
	}
}

@media all and (max-width: 500px) {
	.logo_container {
		width: 95%;
	}
	
	.logo_container a {
		display: inline;
	}
	
	#logo {
		width: 80%;
	}
	
	/*#main-header .container.et_menu_container {
		width: 86%;
	}*/
}




/*-----------------------------------------------*/ 
/*-----Scrolling Module Carousel by Divi Soup----*/ 
/*-----------------------------------------------*/


/*Carousel settings, adjust these values only*/

:root {
    --ds-module-number: 36; /*Your TOTAL number of modules, so if you have 8 modules duplicated, this number should be 16*/
    --ds-columns-desktop: 6; /*The number of modules you want displayed at any one time on desktop*/
    --ds-columns-tablet: 4; /*The number of modules you want displayed at any one time on tablet*/
    --ds-columns-mobile: 2; /*The number of modules you want displayed at any one time on mobile*/
    --ds-speed-desktop: 90s; /*The speed you want your carousel to move on desktop (increase value for slower, decrease for faster)*/
    --ds-speed-tablet: 60s; /*The speed you want your carousel to move on tablet (increase value for slower, decrease for faster)*/
    --ds-speed-mobile: 60s; /*The speed you want your carousel to move on mobile (increase value for slower, decrease for faster)*/
}

/**************************************************/
/*You do not need to edit anything below this line*/
/**************************************************/ 

/*Variables for desktop*/

@media all and (min-width: 981px) {
    :root {
        --ds-column-width: auto;
        --ds-module-width: calc(100vw / var(--ds-columns-desktop));
        --ds-column-animation: calc(var(--ds-module-width) - (var(--ds-module-width) * 2));
        --ds-scroll-speed: var(--ds-speed-desktop);
    }
}


/*Variables for tablets*/

@media all and (max-width: 980px) {
    :root {
        --ds-column-width: auto;
        --ds-module-width: calc(100vw / var(--ds-columns-tablet));
        --ds-column-animation: calc(var(--ds-module-width) - (var(--ds-module-width) * 2));
        --ds-scroll-speed: var(--ds-speed-tablet);
    }
}


/*Variables for mobile*/

@media all and (max-width: 479px) {
    :root {
        --ds-module-width: calc(100vw / var(--ds-columns-mobile));
        --ds-scroll-speed: var(--ds-speed-mobile);
    }
}


/*Hide the row overflow*/

.ds-carousel {
    overflow: hidden;
}


/*Define the grid and apply animation*/

.ds-carousel .et_pb_column {
    display: grid;
    grid-template-columns: repeat(var(--ds-module-number), var(--ds-module-width));
    width: var(--ds-column-width);
    -webkit-animation: scroll var(--ds-scroll-speed) linear infinite;
    animation: scroll var(--ds-scroll-speed) linear infinite;
}


/*Apply the module width*/

.ds-carousel .et_pb_module {
    width: var(--ds-module-width) !important;
}


/*Define the animation*/

@-webkit-keyframes scroll {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    100% {
        -webkit-transform: translateX(calc(var(--ds-column-animation) * (var(--ds-module-number) / 2)));
        transform: translateX(calc(var(--ds-column-animation) * (var(--ds-module-number) / 2)));
    }
}

@keyframes scroll {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    100% {
        -webkit-transform: translateX(calc(var(--ds-column-animation) * (var(--ds-module-number) / 2)));
        transform: translateX(calc(var(--ds-column-animation) * (var(--ds-module-number) / 2)));
    }
}

.ds-carousel .et_pb_text,
.ds-carousel .et_pb_text div {
	background-color: transparent !important;
}

.ds-carousel .wp-caption {
	border: none;
}

/*Pause animation on hover*/

/*.ds-carousel .et_pb_column:hover {
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
}*/

/*-----------------------------------------------*/ 
/*---End Scrolling Module Carousel by Divi Soup--*/ 
/*-----------------------------------------------*/


/* Contact Form 7 customization */

.wpcf7-text, .wpcf7-textarea, .wpcf7-captchar {
	background-color: #eee !important;
	border: none !important;
	width: 100% !important;
	-moz-border-radius: 0 !important;
	-webkit-border-radius: 0 !important;
	border-radius: 0 !important;
	font-size: 14px;
	color: #999 !important;
	padding: 16px !important;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
.wpcf7-submit {
	margin: 8px auto 0;
	cursor: pointer;
	font-size: 20px;
	font-weight: 500;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	padding: 6px 20px;
	line-height: 1.7em;
	background: transparent;
	border: 2px solid;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-moz-transition: all 0.2s;
	-webkit-transition: all 0.2s;
	transition: all 0.2s;
}
.wpcf7-submit:hover { 
	background-color: #eee; 
	border-color:#eee; 
	padding: 6px 20px !important; 
}