/*
 Theme Name:   Divi Child
 Theme URI:    http://massmidwives.org
 Description:  Mass Midwives Alliance Child Theme
 Author:       Rory McCracken
 Author URI:   http://rorymccracken.com
 Template:     Divi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, responsive-layout
 Text Domain:  divi
*/


#main-header { background:url('//massmidwives.org/images/header.jpg'); background-size:100% 100%; height:150px; }
#top-header { background-color:transparent; padding-top:10px; }

#logo { max-height:100%; margin-top:0px; }

#top-menu a { color:#fff !important; font-family:Lora; font-size:22px; }
#top-menu ul li a { font-size:16px; color:#5199a8 !important; }
#et-secondary-menu a { font-family:Lora; font-size:16px; font-weight:300; }
#et-secondary-nav li { text-align:left; }
#et-secondary-nav li li a { font-weight:bold; }
#et-secondary-menu li .current-menu-item a { color:#5199a8 !important; }
#et-secondary-nav li .menu-item-has-children>a:first-child:after { left:auto; right:30px; }
.mobile_menu_bar:before { color:#fff; }
.nav li ul { border-top: 3px solid #5199a8; }
	
.menu-item-180, .menu-item-392, .menu-item-545 { display:block; }
.logged-in .menu-item-180, .logged-in .menu-item-392, .logged-in .menu-item-545 { display:none !important; }

.menu-item-389, .menu-item-391 { display:none !important; }
.logged-in .menu-item-389, .logged-in .menu-item-391 { display:block !important; }








.home #post-id { display:none; }
.et_pb_button:hover { opacity:.8; }

.et_pb_column_1_3 .et_pb_button:hover { opacity:.7; transition:all ease 1s; }

.page-id-2 #page-header { background-position:0 30%; } /*About*/
.page-id-145 #page-header { background-position:0 30%; } /*Board Members*/
.page-id-147 #page-header { background-position:0 30%; } /*Committees*/
.page-id-149 #page-header { background-position:0 30%; } /*Contact*/

.page-id-107 #page-header { background-position:0 30%; } /*For Midwives*/
.page-id-113 #page-header { background-position:0 30%; } /*Calendar of Events*/
.page-id-121 #page-header { background-position:0 30%; } /*Edit Profile*/
.page-id-115 #page-header { background-position:0 70%; } /*Forms and Documents*/
.page-id-110 #page-header { background-position:0 30%; } /*Join the MMA*/

.page-id-69 #page-header { background-position:0 30%; } /*For Parents*/
.page-id-85 #page-header { background-position:0 50%; } /*Birth Circles*/
.page-id-81 #page-header { background-position:0 50%; } /*Interviewing Your Midwife*/
.page-id-72 #page-header { background-position:0 30%; } /*Map of Midwives*/
.page-id-72 #post-id { display:none; }
.page-id-75 #page-header { background-position:0 30%; } /*Midwife Profiles*/
.page-id-77 #page-header { background-position:0 30%; } /*What is a Midwife?*/

.page-id-123 #page-header { background-position:0 30%; } /*For Students*/
.page-id-143 #page-header { background-position:0 60%; } /*Contact*/
.page-id-126 #page-header { background-position:0 30%; } /*MMA Basic Course*/
.page-id-141 #page-header { background-position:0 30%; } /*MMA Basic Course Registration*/
.page-id-131 #page-header { background-position:0 30%; } /*MMA Course Classes*/
.page-id-136 #page-header { background-position:0 30%; } /*Calendar of Classes*/
.page-id-138 #page-header { background-position:0 30%; } /*Tuition*/

.page-id-88 #page-header { background-position:0 30%; } /*Resources*/
.page-id-100 #page-header { background-position:0 30%; } /*Links*/
.page-id-91 #page-header { background-position:0 30%; } /*Recommended Reading*/
.page-id-95 #page-header { background-position:0 30%; } /*Recommended Viewing*/
.page-id-103 #page-header { background-position:0 30%; } /*Supporting Members*/

.et_pb_column_1_3 h4.widgettitle { font-size:28px; color: #00122c; }
.et_pb_column_1_3 .et_pb_widget_area_left { border:0 !important; }
.et_pb_column_1_3 .et_pb_widget ul { color: #00122c; padding-left:20px !important; }
.et_pb_column_1_3 .et_pb_widget ul li { font-size: 18px; list-style: disc; }
.et_pb_column_1_3 .et_pb_widget ul li a { color: #00122c; }


.forum-archive #page-header, .forum #page-header, .topic #page-header { background-image:url('http://massmidwives.org/wp-content/uploads/2018/12/received_10156072570043895.jpeg') !important; }

#main-content { background-color:transparent !important; }
#main-content .container:before { display:none !important; }
.container { max-width:1200px !important; }

.home-map .et_pb_row { width:100%; max-width:100%; }
.home-map .map-text-box { position:relative; width:80%; max-width:1080px; margin:0 auto; z-index:100; }
.home-map .map-text { padding:40px 0; background:url('//massmidwives.org/images/map-haze2.png'); background-size:100% 100%; }
.et_pb_text .map-text h2, .et_pb_text .map-text h3 { text-shadow:0em 0em 40px #f2f1ee; }

#SFctr #SFylpmap { height:450px; }
.home #SFctr { }
#SFctr #SFbizpne { max-width:none !important; }
#SFctr nav a.SFsel, #SFctr nav a.SFsel:hover, #SFctr nav li.SFsel>a, #SFctr nav li.SFsel>a:hover, #SFctr a.SFbtn, #SFctr button { background-color:#5199a8; }
#SFctr a.SFbtn:hover, #SFctr button:hover { background-color:#216978; }

#page-header { width:100%; padding:450px 0 50px; background-position:top center; background-size:cover; position:relative; }
.home #page-header { display: none !important; }
#archive-header { padding-top:40px; }
#single-header { padding-top:40px; }
#breadcrumbs-box { background-color:rgba(255,255,255,0.8); padding:10px 20px; width: 80%; max-width:1200px; margin:0 auto; }
#breadcrumbs { font-family:Lora; color:#023b66; font-size:18px; }
#breadcrumbs a { color:#023b66; font-weight:300; }

#left-area { float:right !important; width:70% !important; padding:0 !important; margin-bottom:50px; }
#sidebar { float:left !important; padding-left: 0px !important; padding-right:30px; width:28% !important; }
#sidebar div { background:#f3fbff; padding:20px; }
#sidebar div h4 { color:#00122c; font-family:Lora; font-size:28px; font-weight:200; }
#sidebar div ul li { color:#00122c; font-family:Lora; font-weight:300; list-style:disc; font-size:18px; }
#sidebar div ul li a { color:#00122c; }
#sidebar ul { padding-left:5px; }
#sidebar #text-11, #sidebar #text-11 div { background-color:transparent !important; background:none !important; padding:0 !important; }
#text-11 .et_pb_button { background-image: linear-gradient(180deg,#216978 0%,#5199a8 100%)!important; color:#fff !important; border:0 !important; }

#left-area h1 { color:#5199a8; font-family:Lora; font-size:60px; }
#left-area p { color:#333; font-family:Lora; font-size:20px; font-weight:300; }
#left-area li { font-size:20px; line-height:28px; color:#002949; }
#left-area #comment-wrap h1 { font-size:36px; }

a:hover { color:#216978; }

.archive #et-main-area, .single #et-main-area { background-image:url('//massmidwives.org/images/archive-bg.jpg'); background-repeat:no-repeat; }
.archive #post-id h1 { font-size:32px; text-transform:uppercase; text-align:center; color:#5199a8; margin-bottom:20px; }
.archive #article-box { display:flex; flex-direction: row; flex-wrap:wrap; justify-content: space-between; }
.archive #article-box article { flex-basis:48%; color:#002949; font-family:Lora; font-size:18px; font-weight:300; }
.archive h2.entry-title { color:#5199a8; font-family:Lora; font-size:36px; font-weight:600; }
.archive p.post-meta, .single #left-area p.post-meta { font-weight:600 !important; font-size:16px !important; }
.archive p.post-meta a, .single p.post-meta a { color:#3d4771 !important; }

.page-id-103 h2 { margin-top:20px; font-size:28px; }
.page-id-103 h3 { margin-top:10px; font-size:20px; }



#main-footer { background:url('//massmidwives.org/images/footer-bg.jpg'); background-size:100% 100%; position:relative; z-index:100; }

#footer-member { width:100%; padding:5% 5%; background:#cc522d; display:flex; flex-direction:row; }
#footer-member-left { flex-basis:70%; background:#cc522d; }
#footer-member-left h2 { font-family:Lora; color:#fff; }
#footer-member-left p { color:#fff; }
#footer-member-right { flex-basis:30%; }

.footer-widget h4 { color:#fff !important; font-family:Lora; font-size:30px; }

.footer-widget p, .footer-widget a, .footer-widget li { font-family:Lora; font-size:18px; font-weight:300; }
.et-search-form, .et_mobile_menu, .footer-widget li:before, .nav li ul, blockquote { border-color:#fff; }
#footer-widgets .footer-widget a:hover { text-decoration:underline; }

#footer-info { color:#fff; font-family:Lora; font-weight:300; }
#footer-info a { color:#75c5d5; font-weight:600; }
#footer-info a:hover { color:#fff; opacity:1; text-decoration:underline; }


#et_search_icon:hover, #top-menu li.current-menu-ancestor>a, #top-menu li.current-menu-item>a, .bottom-nav li.current-menu-item>a, .comment-reply-link, .entry-summary p.price ins, .et-social-icon a:hover, .et_password_protected_form .et_submit_button, .footer-widget h4, .form-submit .et_pb_button, .mobile_menu_bar:after, .mobile_menu_bar:before, .nav-single a, .posted_in a, .woocommerce #content div.product p.price, .woocommerce #content div.product span.price, .woocommerce #content input.button, .woocommerce #content input.button.alt, .woocommerce #content input.button.alt:hover, .woocommerce #content input.button:hover, .woocommerce #respond input#submit, .woocommerce #respond input#submit.alt, .woocommerce #respond input#submit.alt:hover, .woocommerce #respond input#submit:hover, .woocommerce .star-rating span:before, .woocommerce a.button, .woocommerce a.button.alt, .woocommerce a.button.alt:hover, .woocommerce a.button:hover, .woocommerce button.button, .woocommerce button.button.alt, .woocommerce button.button.alt:hover, .woocommerce div.product p.price, .woocommerce div.product span.price, .woocommerce input.button, .woocommerce input.button.alt, .woocommerce input.button.alt:hover, .woocommerce input.button:hover, .woocommerce-page #content div.product p.price, .woocommerce-page #content div.product span.price, .woocommerce-page #content input.button, .woocommerce-page #content input.button.alt, .woocommerce-page #content input.button.alt:hover, .woocommerce-page #respond input#submit, .woocommerce-page #respond input#submit.alt, .woocommerce-page #respond input#submit.alt:hover, .woocommerce-page #respond input#submit:hover, .woocommerce-page .star-rating span:before, .woocommerce-page a.button, .woocommerce-page a.button.alt, .woocommerce-page a.button.alt:hover, .woocommerce-page a.button:hover, .woocommerce-page button.button, .woocommerce-page button.button.alt, .woocommerce-page button.button.alt:hover, .woocommerce-page button.button:hover, .woocommerce-page div.product p.price, .woocommerce-page div.product span.price, .woocommerce-page input.button, .woocommerce-page input.button.alt, .woocommerce-page input.button.alt:hover, .woocommerce-page input.button:hover, .wp-pagenavi a:hover, .wp-pagenavi span.current { color:#75c5d5; }




@media all and (max-width: 1200px) {
	
	.container, #breadcrumbs-box, .et_pb_row { width:90% !important; }
	
}

@media (max-width: 980px) {
	
	.et_menu_container { padding-top:23px; }
	
	#post-13 .et_pb_section_0 .et_pb_column { margin-bottom:10px; }
	#post-13 .et_pb_section_0 .et_pb_row { padding-bottom:0px; }
	#post-13 .et_pb_section_0 .et_pb_row_1 { padding-bottom:30px; }
	
	.home .et_pb_section_2 .et_pb_row_4 .et_pb_column_7, .home .et_pb_section_4 .et_pb_column_11 { display:none; }
	.home .et_pb_text_5 h2 { text-align:left; }
	
	.et_right_sidebar #sidebar { padding-right:30px; }
	
}
	
@media all and (max-width: 900px) {
	
	#page-header { padding:200px 0 50px; }
	#left-area, #sidebar { width:100% !important; float:left !important; }
	#left-area h1 { font-size:40px; }
	#breadcrumbs { font-size:18px; padding-bottom:0.5em; }

}

@media all and (max-width: 720px) {
	
	.et_header_style_left #logo { max-width:70%; }
	.home h2 { font-size:36px !important; }
	.home h3 { font-size:28px !important; }
	
	.archive h2.entry-title { font-size:26px; }
	
}

@media all and (max-width: 500px) {
	
	#page-header { padding:100px 0 20px; }
	#breadcrumbs-box { padding:5px 10px; }
	
	.single #left-area h1 { font-size:32px; }
	#left-area p { font-size:17px; }
	img.alignright { width:40%; }
	#left-area #comment-wrap h1 { font-size:28px; }
	
	.archive #article-box { flex-direction:column; }
	.archive #article-box article { flex-basis:100%; }
	
}