/*
 Theme Name:   Divi Child
 Theme URI:    http://elegantthemes.com/
 Description:  Divi Child Theme
 Author:       ElegantThemes
 Author URI:   http://elegantthemes.com
 Template:     Divi
 Version:      0.1.1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags: responsive-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, featured-images, full-width-template, post-formats, rtl-language-support, theme-options, threaded-comments, translation-ready
 Text Domain:  divi-child-theme
*/

/* ==== Add your own styles below this line ====
 * -------------------------------------------- */

#main-content {
    background-color: #e9f5e1;
}
/* menu arrows */
.et-menu .menu-item-has-children>a:first-child:after {
	display: none;
}
.et-menu .menu-item-has-children>a:first-child {
   padding-right: 0; 
}
.nav li li {
    position: relative;
    line-height: 1.2em;
}


/* misc text styling */
.et_pb_text_inner p .intro {
	font-size: 24px;
	color: #00788a;
}
.et_pb_blog_grid .post-meta a,
#left-area .et_pb_post .post-meta a {
    color: #68b448 !important;
    font-weight: 700;
}
.et_pb_blog_grid .post-meta a:hover,
#left-area .et_pb_post .post-meta a:hover {
    text-decoration: underline;
}

.et_pb_fullwidth_header .et_pb_fullwidth_header_container.center .header-content {
    margin: 20px auto;
    width: 100%;
    max-width: none;
}
body:not(.page-id-2572) .entry-content .et_pb_text_inner a,
.single-post .entry-content a {
    font-weight: 600;
}
body:not(.page-id-2572) .entry-content .et_pb_text_inner a:hover,
.single-post .entry-content a:hover {
    color: #68b448;
    text-decoration: underline;
}

/* Blog Grid styling - Search and Filter */
/* #blog-search-criteria and #blog-search-results */
form.searchandfilter ul {
    padding-left: 0;
    padding-bottom: 15px;
}
@media (min-width: 680px) {
    li.sf-field-category {
        width: 48%;
        float: left;
    }
    li.sf-field-post_date {
        width: 48%;
        float: right;
    }    
    li.sf-field-category + li.sf-field-category,
    .searchandfilter ul li.sf-field-post_date {
        margin-left: 3.9%;
    }
    .searchandfilter ul li.sf-field-post_date {
        padding-top: 0;
    }
}
form.searchandfilter > ul h4 {
    font-size: 20px;
    text-transform: uppercase;
}
li.sf-field-category ul li {
    display: inline-block;
    margin-right: 20px;
}
.searchandfilter li[data-sf-field-input-type=checkbox] label, 
.searchandfilter li[data-sf-field-input-type=radio] label, 
.searchandfilter li[data-sf-field-input-type=range-radio] label, 
.searchandfilter li[data-sf-field-input-type=range-checkbox] label {
    padding-left: 3px;
}
ul.sf_date_field li {
    display: inline;
    margin-right: 15px;
}
ul.sf_date_field .sf-input-date {
    font-size: inherit;
}
.sf-field-reset input {
    background-color: #68b448;
    border: none;
    color: #fff !important;
    padding: 8px 20px;
    margin-bottom: 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
/*    width: 200px;*/
}
.sf-field-reset input:hover {
    background-color: #5a9c3e;
    cursor: pointer;
}
.wp-pagenavi {
    text-align: center;
}
.wp-pagenavi a, .wp-pagenavi span,
.wp-pagenavi .nextpostslink, .wp-pagenavi .previouspostslink {
    color: #68b448 !important;
    font-weight: 700 !important;    
    font-size: 0.9em !important;
}
.wp-pagenavi a:hover {
    color: #68b448 !important;
    text-decoration: underline;
}
.wp-pagenavi span.current,
.wp-pagenavi .pages {
    color: #666 !important;
    font-weight: 400 !important;    
}
.wp-pagenavi .pages {
    display: block;
}

/* Resource Download buttons */
.resource_button {
	padding: 15px 35px;
    margin-top: 20px;
    display: inline-block;
}
.resource_button:hover {
	padding: 15px 35px;
}
.archive .et_pb_post {
    margin-top: 30px;
}
.et_password_protected_form .et_submit_button:hover, .form-submit .et_pb_button:hover,
#sidebar .button.back-to-blog a:hover,
#sidebar .button.subscribe a:hover {
    background-color: #5a9c3e;
}
footer a:not(.icon):hover {
    text-decoration: underline;
}
footer ul.et_pb_social_media_follow li.et_pb_social_icon a.icon:hover:before {
    color: #68b448;
}
footer .et_pb_section.et_pb_section_1_tb_footer  {
    padding: 0 !important;
}

/* Sidebar styling */
.button a {
  background-color: #68b448;
  border: none;
  color: #fff !important;
  padding: 15px 15px;
  margin-bottom: 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
	width: 200px;
}
.button {
	display: flex;
  align-items: center;
  justify-content: center;
}
.button a:hover {
    background-color: #5a9c3e;
    cursor: pointer;
}
.page-id-7 h4.button.back-to-blog {
    display: none;
}
.widgettitle, .sidebar-title, h4.sidebar-title {
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: #49514c;
	text-align: center;
}
.blog_archive h4 {
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: #49514c;
	text-align: center;
}
.et_pb_widget_area ul li,
.et_pb_widget ul li {
    font-size: 20px;
    font-weight: 700;
	text-align: center;
}
.et_pb_widget_area ol li, .et_pb_widget_area ul li {
    margin-bottom: .5em;
}
.blog_archive ul li {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 1em !important;
	text-align: center;
}
.et_pb_widget_area ul li a,
.et_pb_widget ul li a {
   	margin-bottom: 1em !important;
    line-height: 1.2 !important;
	color: #00788a;
}
.blog_archive ul li a {
   	margin-bottom: 1em !important;
    line-height: 1.2 !important;
	color: #00788a;
}
.blog-footer-subscribe-link {
    font-style: italic;
    font-size: 1.1em;
}
.blog-footer-subscribe-link a {
    font-weight: bold;
}
ol.commentlist,
ol.commentlist ul.children {
    list-style-type: none;
}
.comment-policy {
    font-style: italic;
}
#commentform input[type=email], #commentform input[type=text], #commentform input[type=url], #commentform textarea {
    color: #333;
}
.et_pb_title_meta_container {
	font-size: 16px;
	text-transform: capitalize;
        margin-bottom: 20px;
}
.et_pb_title_meta_container .published {
	font-weight: 700;
}
.et_pb_title_meta_container a {
	font-weight: 700;
	color: #68b448 !important;
}

/*** Sidebar ***/
.sgpb-popup-builder-content-html {
    padding: 20px;
}
#gform_submit_button_4 {
    background-color: #68b448;
    color: #FFF;
    padding: 15px;
    text-transform: uppercase;
    border: 0;
    font-size: 16px;
    font-weight: 700;
    width: 200px;
}

/*** Restore sidebar and left area styling from older version of Divi ***/
body:not(.et-tb) #main-content .container, 
body:not(.et-tb-has-header) #main-content .container {
    padding-top: 58px;
    margin: auto;
}

#sidebar {
    padding-bottom: 28px;
}
.et_pb_widget {
    width: 100%;
}
#sidebar .menu-blog-featured-posts-container li a:hover {
    text-decoration: underline;
}
@media (min-width: 981px) {
    #main-content .container:before {
        width: 0;
    }
    .et_right_sidebar #left-area {
        float: left;
        padding-right: 5.5%;
    }
    #left-area {
        width: 79.125%;
        padding-bottom: 23px;
    }
    .et_right_sidebar #sidebar {
        padding-left: 30px;
    }
    #sidebar {
        float: left;
        width: 20.875%;
    }    
}
@media only screen and (max-width: 980px) {
    #content-area {
        max-width: 90%;
        margin: 0 auto;
    }
}
@media only screen and (min-width: 980px) {
    .scrolled #sidebar .button.back-to-blog,
    .scrolled #sidebar .button.subscribe {
        position: fixed;
        z-index: 2;
        right: 60px;
    }
    .scrolled #sidebar .button.back-to-blog {
        top: 50px;
    }
    .scrolled #sidebar .button.subscribe {
        top: 118px;
    }
    
}

/* Responsive */

@media only screen and (max-width: 980px) {
	
	.et_pb_fullwidth_header .et_pb_fullwidth_header_container.center .header-content {
	    margin: 20px auto;
    width: 100%;
    max-width: none;
}
}
@media (max-width: 420px) {
	.et_pb_fullwidth_header .et_pb_fullwidth_header_container.center .header-content {
	  margin: 20px auto;
    width: 100%;
    max-width: none;
}
}

.et-db #et-boc .et-l .et-menu .menu-item-has-children>a:first-child {
	padding-right: 0;
}






