/*
 Theme Name:   Hawthorne Valley Association
 Theme URI:    http://divi.space/
 Description:  A Child Theme built for Divi on Divi Space
 Author:       Thom Job / Upstate Arts
 Author URI:   http://upstatearts.com
 Template:     Divi
 Version:      1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

@media only screen and ( min-width:981px ) {
    /* Set the slider height */
    .et_pb_slider, .et_pb_slider .et_pb_container { 
        height: 550px !important; 
    }
    .et_pb_slider, .et_pb_slider .et_pb_slide { 
        max-height: 550px; 
    }
    .et_pb_slider .et_pb_slide_description { 
        position: relative; 
        top: 25%; 
        padding-top: 0 !important; 
        padding-bottom:0 !important; 
        height:auto !important; 
    }
}

/*------------------------------------------------*/
/*-----------------[CTA Menu Item]----------------*/
/*------------------------------------------------*/
 
/* style the donate cta button */
            .donate {border-radius: 0px;}
            .donate a {color: #fff!important;}
            li.donate {
                background-color:#ed7818; 
                font-weight: 700; 
                text-transform: uppercase; 
                text-align: center; 
                padding: 10px 10px 10px!important;
            border-radius: 3px;
                -moz-transition: all 0.5s; 
                -webkit-transition: all 0.5s;
                transition: all 0.5s;}
            li.donate:hover {background-color:#c96310;}
 
    @media only screen and (min-width : 981px) {
            li.donate {height: 33px;}}

/* ADD THIS ONLY IF YOUR CTA BUTTON HAS A DROP DOWN MENU */
 
/* style the donate cta button drop down menu */
    li.donate li a {
        color: #666!important;
        width: 160px;
        text-transform: none;
        font-weight: normal;
        background-color:#fff;}

.et_project_meta {
display: none;
}
.et_full_width_portfolio_page .et_project_meta {
display: none;}


#top-menu li {
    display: inline-block;
    padding-right: 12px;
    font-size: 12px;
    text-transform: uppercase;
}

#top-menu li li {
    font-size: 11px;
    text-transform: none ;
}


.display-posts-listing .listing-item {
clear: both;
}

.display-posts-listing img {
float: left;
margin: 0 10px 10px 0;
}

.display-posts-listing .excerpt-dash {
        display:none;
}



footer#main-footer, footer#main-footer div#footer-bottom { background-color: #102a4a; }
footer#main-footer a.rsswidget img.rss-widget-icon { display: none; }
footer#main-footer .footer-widget h4 { text-transform: uppercase; font-weight: bold; }
footer#main-footer p.footer-copy { color: #fff; }
footer#main-footer .et-social-icon a { color: #fff; font-size: 12px; }
footer#main-footer .et-social-icon a:hover { color: #F2F2F2;}
footer#main-footer .footer-widget h4, footer#main-footer .footer-widget h4 a.rsswidget { color: #f1fae5; letter-spacing: 1.5px; line-height: 18px; }

div.instagram-wrap { background-color: #f1fae5; text-align: center; padding: 40px 0; }
div.instagram-wrap h3 { color: #11445e; text-transform: uppercase; font-weight: bold; font-size: 28px; letter-spacing: .7px; padding-bottom: 30px; }
div.instagram-wrap p { color: #000; }



.footer-widget { margin-right: 0;}
.footer-widget:nth-child(1) { width: 32%; padding-right:15px;}
.footer-widget:nth-child(2) { width: 32%; padding-right:15px;}
.footer-widget:nth-child(3) { width: 32%; margin-right:0;}
.footer-widget+.last{display:none;}
 
@media only screen and (max-width: 980px){
.footer-widget:nth-child(1) { width: 30%; padding-right:15px;}
.footer-widget:nth-child(2) { width: 30%; padding-right:15px;}
.footer-widget:nth-child(3) { width: 30%; margin-right:0;}}
 
@media only screen and ( max-width: 767px ) {
.footer-widget:nth-child(1) { width: 100%; padding-right:15px;}
.footer-widget:nth-child(2) { width: 100%; padding-right:15px;}
.footer-widget:nth-child(3) { width: 100%; margin-right:0;}}



.ginput_price {display:none;}


.footer-widget a {color:#FFFFFF;}

.events-list h2 {font-size:18px;}
.events-list a:hover {color:#edb059;}




#left-area ul,
.entry-content ul,
.comment-content ul,
body.et-pb-preview #main-content .container ul {
	padding: 0px;
	line-height: 26px;
	list-style-type: disc;
}

table.cart th,
#main-content table.cart th,
table.cart td,
#main-content table.cart td,
table.cart tr,
#main-content table.cart tr,
#content-area table tr,
#content-area table td,
#content-area table th {
	max-width: 100px;
	padding: 0.857em 0.587em;
	vertical-align: top;
}


/* Fullwidth Header mobile height */

@media screen and (max-width:900px)
{
.et_pb_fullwidth_header {
padding:5px 5px 0px !important;
}
}

@media screen and (max-width:479px)
{
.et_pb_fullwidth_header {
padding:5px 5px 0px !important;
}
}

.et_pb_fullwidth_header {
    position: relative;
    padding: 0px 0;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

/* initiate mobile menu sooner than 980px by GQ */
 
    @media only screen and (min-width : 981px) and (max-width : 1250px) {
        #et_mobile_nav_menu {display:block; margin-bottom:10px; margin-top:5px }
        #top-menu-nav { display:none; }}
        


@media only screen and (max-width: 761px), (max-device-width: 1023px) and (min-device-width: 768px) {
.gform_wrapper table.gfield_list tr {
    margin-bottom: 10px;
    display: block;
    background: #fff;
    position: relative;
}

.gform_wrapper .gfield_list td.gfield_list_cell input {
    width: auto;
    margin-left: 1px;
    margin-right: 1px;
}
}





.image-hover-layout .et_pb_blurb_content {
 max-width: 100%;
}

.image-hover-layout .et_pb_blurb_content img {
 width: 100%;
}

.image-hover-layout .et_pb_column {
 overflow: hidden;
 position: relative;
}

.image-hover-layout .et_pb_column img {
 -webkit-transition: all 0.5s ease-in-out;
 -moz-transition: all 0.5s ease-in-out;
 transition: all 0.5s ease-in-out;
 display: block;
}

.image-hover-layout .et_pb_column:hover img {
 transform: scale(1.1);
}

.image-hover-layout .et_pb_column:hover .et_pb_main_blurb_image:after {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background: rgba(0, 0, 0, 0.4);
 content: '';
 pointer-events: none;
}

.image-hover-layout .et_pb_main_blurb_image {
 margin: 0;
}

.image-hover-layout .et_pb_column .et_pb_blurb_content:before {
 top: 50px;
 right: 30px;
 bottom: 50px;
 left: 30px;
 -webkit-transform: scale(0, 1);
 transform: scale(0, 1);
 -webkit-transform-origin: 0 0;
 transform-origin: 0 0;
 position: absolute;
 content: '';
 opacity: 0;
 -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
 transition: opacity 0.35s, transform 0.35s;
 z-index: 1;
 pointer-events: none;
}

.image-hover-layout .et_pb_column .et_pb_blurb_content:after {
 top: 30px;
 right: 50px;
 bottom: 30px;
 left: 50px;
 -webkit-transform: scale(1, 0);
 transform: scale(1, 0);
 -webkit-transform-origin: 100% 0;
 transform-origin: 100% 0;
 position: absolute;
 content: '';
 opacity: 0;
 -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
 transition: opacity 0.35s, transform 0.35s;
 pointer-events: none;
}

.image-hover-layout .et_pb_column:hover .et_pb_blurb_content:before, .image-hover-layout .et_pb_column:hover .et_pb_blurb_content:after {
 -webkit-transition-delay: 0.15s;
 transition-delay: 0.15s;
 opacity: 1;
 -webkit-transform: scale(1);
 transform: scale(1);
}

.image-hover-layout .et_pb_column .et_pb_blurb_container {
 opacity: 0;
 color: #fff;
 position: absolute;
 top: 40%; /* Adjust this if the text is in the wrong position */
 width: 100%;
 text-align: center;
 -webkit-transition: all 0.5s ease-in-out;
 -moz-transition: all 0.5s ease-in-out;
 transition: all 0.5s ease-in-out;
 margin: 0;
 padding: 0 55px;
 pointer-events: none;
 line-height: 1em !important;
}

.image-hover-layout .et_pb_column:hover .et_pb_blurb_container {
 opacity: 1;
 position: absolute;
 top: 45%;
 width: 100%;
 text-align: center;
 color: #fff;
 line-height: 1em !important;
}

.image-hover-layout.show-title h4 {
 background: #fff;
 padding: 10px!important;
 display: inline-block;
 margin-bottom: 10px;
 color: #333 !important;
}

.image-hover-layout.show-title .et_pb_blurb_container {
 opacity: 1;
 top: 45%;
}

.image-hover-layout.show-title .et_pb_column:hover .et_pb_blurb_container {
 opacity: 1;
 top: 40%;
}

.image-hover-layout.show-title .et_pb_blurb_container p {
 opacity: 0;
}

.image-hover-layout.show-title .et_pb_column:hover .et_pb_blurb_container p {
 opacity: 1;
}

.image-hover-gallery-layout .et_pb_gallery_item {
 overflow: hidden;
 position: relative;
}

.image-hover-gallery-layout .et_pb_gallery_item img {
 -webkit-transition: all 0.5s ease-in-out;
 -moz-transition: all 0.5s ease-in-out;
 transition: all 0.5s ease-in-out;
 display: block;
}

.image-hover-gallery-layout .et_pb_gallery_item:hover img {
 transform: scale(1.1);
}

.image-hover-gallery-layout .et_pb_gallery_item .et_pb_gallery_image:before {
 top: 50px;
 right: 30px;
 bottom: 50px;
 left: 30px;
 -webkit-transform: scale(0, 1);
 transform: scale(0, 1);
 -webkit-transform-origin: 0 0;
 transform-origin: 0 0;
 position: absolute;
 content: '';
 opacity: 0;
 -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
 transition: opacity 0.35s, transform 0.35s;
 z-index: 4;
 pointer-events: none;
}

.image-hover-gallery-layout .et_pb_gallery_item .et_pb_gallery_image:after {
 top: 30px;
 right: 50px;
 bottom: 30px;
 left: 50px;
 -webkit-transform: scale(1, 0);
 transform: scale(1, 0);
 -webkit-transform-origin: 100% 0;
 transform-origin: 100% 0;
 position: absolute;
 content: '';
 opacity: 0;
 -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
 transition: opacity 0.35s, transform 0.35s;
 pointer-events: none;
 z-index: 4;
}

.image-hover-gallery-layout .et_pb_gallery_item:hover .et_pb_gallery_image:before, .image-hover-gallery-layout .et_pb_gallery_item:hover .et_pb_gallery_image:after {
 -webkit-transition-delay: 0.15s;
 transition-delay: 0.15s;
 opacity: 1;
 -webkit-transform: scale(1);
 transform: scale(1);
}

.image-hover-gallery-layout .et_pb_gallery_item .et_pb_gallery_title, .image-hover-gallery-layout .et_pb_gallery_item .et_pb_gallery_caption {
 opacity: 0;
 color: #fff;
 position: absolute;
 top: 40%;
 width: 100%;
 text-align: center;
 -webkit-transition: all 0.5s ease-in-out;
 -moz-transition: all 0.5s ease-in-out;
 transition: all 0.5s ease-in-out;
 margin: 0;
 padding: 0 55px;
 pointer-events: none;
 line-height: 1em !important;
 z-index: 3;
}

.image-hover-gallery-layout .et_pb_gallery_item:hover .et_pb_gallery_title {
 opacity: 1;
 position: absolute;
 top: 45%;
 width: 100%;
 text-align: center;
 color: #fff;
 line-height: 1em !important;
}

.image-hover-gallery-layout .et_pb_gallery_item:hover .et_pb_gallery_caption {
 opacity: 1;
 position: absolute;
 top: 55%;
 width: 100%;
 text-align: center;
 color: #fff;
 line-height: 1em !important;
}

.image-hover-gallery-layout.show-title .et_pb_gallery_title, .image-hover-gallery-layout.show-title .et_pb_gallery_item:hover .et_pb_gallery_title {
 background: #fff;
 padding: 10px !important;
 margin: 0 auto;
 color: #333 !important;
 opacity: 1;
 left: 55px;
 right: 55px;
 width: initial;
}

.image-hover-gallery-layout.show-title .et_pb_gallery_item:hover .et_pb_gallery_title {
 top: 35%;
}

a.teal { color: #017C8E; }
li.donate, li.donate:hover { background-color: #102a4a; }
a.biggreen, a.smallgreen {
    color: #326430!important;
}
ul#top-menu li.current-menu-ancestor a, ul#top-menu li.current-menu-parent a { color: #018093; }
ul#top-menu ul.sub-menu li a, ul#top-menu ul.sub-menu li a {  color: rgba(0,0,0,.6); }
ul#top-menu li.current-menu-item a, ul#top-menu ul.sub-menu li.current-menu-item a { color: #018093; }
div#sidebar h2 { font-size: 22px; }
div#sidebar h3 { font-size: 19px; }
div#sidebar h4 { font-size: 16px; }