/*
 Theme Name:   Mary Baker Eddy Library
 Theme URI:    http://www.boxcarstudio.com
 Description:  A Divi Child Theme for Mary Baker Eddy Library
 Author:       Boxcar Studio
 Author URI:   http://www.boxcarstudio.com
 Template:     Divi
 Version:      1.0.1
 Text Domain:  mbelibrary
*/
/*
 Old import of parent styles. Removed for speed improvement
 @import url("../Divi/style.css");

*/


/* ------------- CHANGELOG

Removed publication date from webcast in taxonomy-project_category-webcast.php

*/



/* =Theme customization starts here
------------------------------------------------------- */

.et_nav_text_color_light, .et_nav_text_color_light #et-secondary-nav a, .et_nav_text_color_light .et-social-icon a, .et_nav_text_color_light #et-info a {
color: rgba( 255, 255, 255,1.0 )
}

#page-container .et_nav_text_color_light .et-social-icon a:hover, #page-container  .et_nav_text_color_light #et-secondary-nav a:hover, #page-container  .et_nav_text_color_light .et-cart-info:hover {
color:rgba( 255, 255, 255, .6 ) !important
}

.didyouknow {
  overflow: hidden;
}

.didyouknow h2 {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.5;
}

.didyouknow p {
  font-weight: 300;
  font-size: 24px;
  line-height: 1.2;
  padding-bottom: 0.5em;
}

.didyouknow a.btn {
  color: #931923;
  text-transform: uppercase;
  font-size: 12px;
}

.didyouknow a:hover {
  text-decoration: underline;
}

.didyouknow .et_pb_column:first-child {
  margin: -35px 30px 0 0;
}

@media screen and (max-width: 980px) {
  .didyouknow .et_pb_column {
    padding: 1em;
    box-sizing: border-box;
  }

  .didyouknow .et_pb_column:first-child {
    margin: -42px 0 0;
    padding: 0;
    overflow: hidden;
  }

  .didyouknow .et_pb_column:first-child img {
    float: none;
    margin: 7px 0 0 !important;
  }
}

#top-menu li {
color: #000;
font-weight: bold;
}

#top-menu a:hover {
color: #01748B;
}

a {
font-weight: bold;
}


h1 {
font-size: 40px;
}

h1, h2, h3, h4, h5, h6 {
color: #333;
padding-bottom: 10px;
line-height: 1em;
font-weight: 300;
}

h2 {
line-height: 27px;
}

.et_pb_post h2 a, .et_pb_portfolio_item h3 a {
color: #01748B;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
color: #01748B;
}

code {
color: #3a3a3a;
font-size: 15px;
line-height: 22px;
font-family: 'Open Sans',sans-serif;
}



.et_pb_bg_layout_light {
margin-bottom: 28px;
}

.et_pb_section {
padding: 5px 0;
}

.lightblue_section {
background: #eef9fe;
border: 1px solid #c9dfea;
position: relative;
margin: 0 auto;
position: relative;
box-sizing: border-box;
}

.lightblue_section--heading {
  margin-bottom: 0;
  padding-bottom: 0;
}

.lightblue_section .et_pb_row {
  padding: 0px;
}

.lightblue_section .et_pb_text {
  padding: 1em 1.5em;
  box-sizing: border-box;
}

.lightblue_section ul {
  padding: 0 0 1em;
  margin: 0;
}

.lightblue_section .et_pb_column:last-child {
  margin-top: 2em;
}

.lightblue_section .et_pb_column_1_4 {
  width: 250px;
  margin-right: 25px;
}

.lightblue_section li {
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAHCAYAAAArkDztAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFJJREFUeNpitLKymsbAwFAJxB8ZkAATEEcB8VUg9kCXAAFpIN4OxDOBmAdZAgbSgHgdEDOjS8wC4iAg/ssCFXgKxClAvAPZjmVArI0sCAIAAQYAYqUMNkp0SvMAAAAASUVORK5CYII=');
  background-repeat: no-repeat;
  background-position: 0 0.5em;
  padding: 0 0 0 1em;
  margin: 0 0 0.5em 0;
  list-style: none;
  line-height: 1.3;
}

.lightblue_section .hours,
.lightblue_section .location {
  margin-bottom: 16px;
}

.lightblue_section h2 {
  border-bottom: 1px solid #c9dfea;
}

.lightblue_section h3 {
  font-size: 18px;
  font-weight: 300;
  line-height: 20px;
  padding: 0 0 0 30px;
  margin: 0 0 8px;
  text-transform: uppercase;
  background: url('/wp-content/uploads/2015/03/sprite-visit.png') no-repeat 0 0;
}

.lightblue_section .location h3 {
  background-position: 0 -20px;
}

.lightblue_section .admission h3 {
  background-position: 0 -40px;
}

#footer-bottom {
padding: 15px 0 5px;
background-color: #ffffff !important;
font-size: 13px;
color: #000;
}

#footer-bottom .trademark {
	float: left;
    padding: 8px 10px;
}


.bottom-nav a {
text-transform: uppercase;
font-weight: 700;
color: #01748B;
font-size: 13px;
}

li.current-menu-item > a, .bottom-nav li.current-menu-item > a {
color: #01748B;
font-weight: bold !important;
border-bottom: solid 6px;
}

#main-header {
border-bottom: 3px solid #c5c5c5;
}

.et_pb_contact_submit, .et_pb_newsletter_button {
color: #fff !important;
display: block;
line-height: 25px;
padding: 0 8px;
font-weight: 700;
font-size: 13px;
color: #fff;
text-transform: uppercase;
background: #01748B;
margin: 0 4px 0 0;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-transition: background 0.2s ease;
-moz-transition: background 0.2s ease;
-o-transition: background 0.2s ease;
transition: background 0.2s ease;
}

.et_pb_fullwidth_header {
padding: 50px 0 0 0;
}

#main-header {
  padding-top: 0;
}

#logo {
  margin-right: 1em;
}

.tagline {
  margin: 1.2em 1em;
  font-size: 30px;
  font-weight: 300px;
  width: 18em;
  line-height: 1;
}

@media only screen and (max-width: 980px) {
  #logo {
    max-height: none;
  }
}

@media only screen and (max-width: 767px) {
  .tagline {
    font-size: 18px;
    width: 22em;
    margin-top: 2.5em;
  }
}

@media only screen and (max-width: 479px) {
  #logo {
    width: 100px;
  }
  .tagline {
    font-size: 16px;
    width: 20em;
  }
}

#et-top-navigation {
  float: none;
}

#et-top-navigation:before,
#et-top-navigation:after {
  content: '';
  display: table;
  clear: both;
}

.slider_homepage .et_pb_row {
padding: 0px;
}

.et_pb_widget_area .et_pb_widget a {
color: #01748B !important;
}

h4 {
font-weight: 400 !important;
 }

et_pb_bg_layout_light .et_pb_widget li a {
color: #01748B !important;
}

#et-footer-nav {
background-color: #ffffff !important;
border-top: 1px solid #e6e6e6;
border-bottom: 1px solid #e6e6e6;
}

.exhibit-slide h2, .exhibit-slide .et_pb_slide_content {
background: rgba(0,0,0,0.7);
}

.exhibit-slide h2, .exhibit-slide {
padding-top:15px;
}
.et_pb_column_1_2 .et_pb_slider_fullwidth_off .et_pb_slide_description {
padding: 14px 0px 200px !important;
}

.et_pb_slide_description {
padding: 14px 0px 200px !important;
}


.exhibit-slide-top .et_pb_slide {
max-height:413px !important;
}


.exhibit-slide .et_pb_slide {
max-height:313px;}

.sidebar-blue {
  background-color: #F1F9FE;
  border: 1px solid #CEDEEA;
  padding: 20px;
}

.sidebar-white a.btn {
  display: inline-block;
  background: #931923;
  text-transform: uppercase;
  font-weight: 700;
  height: 36px;
  line-height: 36px;
  padding: 0 12px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  color: #fff !important;
}
.sidebar-blue a.btn,
.sidebar-gray a.btn {
  display: inline-block;
  background: #01748B;
  text-transform: uppercase;
  font-weight: 700;
  height: auto;
  line-height: 22px;
  padding: 0 12px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  color: #fff !important;
  text-align: center;
}

.sidebar-gray {
  background-color: #efefef;
  padding: 20px;
}

.sidebar-white img {
  padding: 5px;
}

.sidebar-blue .widgettitle {
  text-transform: none;
  font-size: 21px;
  line-height: 1.238095238;
  border-bottom: 1px solid #c9dfea;
  padding: 0 0 6px;
  margin: 0 0 12px;
}


.sidebar-gray .widgettitle {
  font-size: 16px;
  line-height: 1.294117647;
  padding: 0 0 17px 30px;
  background: url('/wp-content/uploads/2015/03/icon-lesson.png') no-repeat 0 0;
  text-transform: uppercase;
  font-weight: bold;
  font-weight: 700 !important;
  color: rgb(15, 131, 131);
}
.sidebar-white .widgettitle {
  font-size: 17px;
  line-height: 1.294117647;
  text-transform: uppercase;
  font-weight: 400;
  padding: 0;
  margin: 0 0 18px;
}

ul.ecs-event-list {
  padding-left: 0;
}

.ecs-event-list .ecs-event, .single-event-wrapper {
  position: relative;
  padding-left: 8em;
  padding-left: 7em !important;
  min-height: 6em;
  list-style: none;
  margin-bottom: 2em;
}

.ecs-event-list .ecs-event .duration, .event-red-box {
  background-color: #8e1825;
  color: #fff;
  display: inline-block;
  position: absolute;
  left: 0;
  top: 0;
  top: 14px;
  text-align: center;
  width: 5em;
  padding: 0.5em;
  box-sizing: border-box;
  border-radius: 4px;
  text-transform: uppercase;
  height: 65px;
}

.event-red-box {
top: 28px;
top: 40px;
}
.red-box-weekday {
color: #3a3a3a;
  position: absolute;
  left: 0px;
  top: 65px;
  top: 75px;
  text-align: center;
  width: 7em;
  text-transform: uppercase;
  font-size: 11px;
}
.red-box-day {
font-size: 26px;
}

.ecs-event .entry-title {
padding-bottom:0px;
}
.eventtime {
color: #a0a0a0;
}

.et-pb-arrow-prev:before, .et-pb-arrow-next:before, .et_pb_testimonial:before, .et_overlay:before, #et_search_icon:before, .mobile_menu_bar:before, .et-social-icon a:before, .et_pb_social_icon a.icon:before, .et_pb_font_icon:before, .mfp-arrow-left:after, .mfp-arrow-left .mfp-a, .mfp-arrow-right:after, .mfp-arrow-right .mfp-a, #et-info-phone:before, #et-info-email:before, .et-cart-info span:before, .et_pb_pricing_table_button:after, .et_pb_promo_button:after, a.et_pb_more_button:after, .et_pb_newsletter_button:after, .comment-reply-link:after, .form-submit input:after, .et_pb_contact_submit:after, .et_pb_contact_reset:after {
  font-family: 'ETmodules';
  speak: none;
  font-style: normal;
  font-weight: bold;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #01748B;
  padding: 10px;
  color: #fff;
  -moz-border-radius: 25px;
  border-radius: 25px;
}

#et_top_search {margin-top:8px;}

.et_nav_text_color_light #et-secondary-nav li:first-child a {
  color: #FFC182;
  text-indent: -9999px;
  background-size: contain;
  background-position: 5px 0;
  padding-left: 35px;
  padding: 8px 10px 8px 45px;
}

#page-container .et_nav_text_color_light #et-secondary-nav li:first-child a:hover {
  color: #ffffff !important;
}

.et_pb_fullwidth_portfolio .et_pb_portfolio_image h3 {
  position: absolute;
  bottom: 0px;
  background-color: #01748B;
  padding: 15px;
  font-size:14px;
  font-weight:bold;
  border-right: 1px #008C61 solid;
}

.et_pb_fullwidth_portfolio .et_pb_portfolio_image .meta {
opacity: 1;
}

.et_pb_fullwidth_portfolio .et_pb_portfolio_image:hover .et_overlay:before {display:none;}



ul li a.writings {
  background-position: 0 -75px !important;
}

ul li a.gallery {
  background-position: 0 -225px !important;
}

.entry-content ul li {
  border-top: 1px solid #E6E6E6;
  padding: 12px 0;
  margin: 0;
  background: none;
}


.et_overlay:before {
content: none;
}

/** Menu Changes**/
#top-menu .menu-item-has-children > a:first-child:after, #et-secondary-nav .menu-item-has-children > a:first-child:after {
  display: none;
}
#top-menu li {
  padding-right: 27px;
}
#top-menu > li:last-child > .sub-menu {
left: -120px !important;
}
#top-menu li > a {
  padding-bottom: 16px;
  padding-right: 0 !important;
}
.nav li ul, .page-parent.page-child nav li ul {
  top: 48px;
  border: 1px solid #e6e6e6;
  border-top: 0px;
  border-radius: 0px 0px 5px 5px;
  padding: 0px;
}
/*.home nav li ul, .page-child nav li ul, .single nav li ul, .singular  {
  top: 42px;
}*/
.page-parent nav li ul, .page-id-82 nav li ul, .page-id-225 nav li ul {
  top: 48px;
}
#top-menu li ul li {
  padding-right: 0px;
  width: 100%;
}

#top-menu li ul li a {
  color: #01748B;
  font-weight:600;
  width: 100%;
  padding: 10px 20px !important;
  box-sizing: border-box;
}

#top-menu li ul li a:hover {
  color: white;
}

.nav li ul li a:hover {
  background-color: #3d3d3d;
}

#et_top_search {
  margin-top: 6px;
}

#top-menu li ul li:after {
  content: ' ';
  width: 84.5%;
  height: 1px;
  background: #e6e6e6;
  position: absolute;
  bottom: -1px;
  left: 7.25%;
}

#top-menu li ul li:last-of-type a {
  border-radius: 0px 0px 5px 5px
}

#top-menu li ul li:last-of-type:after {
  display: none;
}

#top-menu > li:hover:after, .page-parent.page-child #top-menu > li:hover:after {
  content: ' ';
  background: white;
  border: 8px solid #c5c5c5;
  border-width: 3px 3px 0 0;
-webkit-transform:rotate(-45deg);
  transform: rotate(-45deg);
  position: absolute;
  bottom: -7px;
  left: 40%;
  left: calc(50% - 19px);
  width: 8px;
  height: 8px;
    z-index: 9999 !important;
}

/*.page-parent #top-menu > li:hover:after, .page-id-82 #top-menu > li:hover:after, .page-id-225 #top-menu > li:hover:after {
  bottom: -13px;
}*/

.page-parent #top-menu > li.current-menu-item:hover:after, .page-id-82 #top-menu > li.current-menu-item:hover:after, .page-id-225 #top-menu > li.current-menu-item:hover:after {
  bottom: -7px;
}

/*.home #top-menu > li:hover:after, #top-menu > li.current_page_item:hover:after,
.page-child #top-menu > li:hover:after, .single #top-menu > li:hover:after,
.singular  #top-menu > li:hover:after {
  bottom: -7px;
}*/

.sub-menu .sub-menu {
  top: 0 !important;
  left: 90% !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border: none !important;
  background-color: #ededed !important;
}


#top-menu .sub-menu .sub-menu a {
  border-radius: 0;
}

#top-menu > li:last-child .sub-menu .sub-menu {
  left: -93% !important;
}

/** Search Form Alignment **/

.et-search-form, .page-parent.page-child .et-search-form {
  top: 43px;
  border-top: 4px solid #931923;
}

.page-parent .et-search-form, .page-id-82 .et-search-form, .page-id-225 .et-search-form {
  top: 49px;
}

@media (min-width: 980px) {
#et_top_search {
margin: 6px 0 0 0;
}
}
#SignUp input[type=text] {
width: 85%;
}

#SignUp tr td {
padding: 3px;
border-top: 0px;
}

.breadcrumb {
  width: 1080px;
  margin: 0 auto;
margin-top: 6px;
}

.breadcrumb ,.addtoany_share_save_container.addtoany_content_bottom {
  width: 280px;
}

@media (min-width: 480px) {
  .breadcrumb ,.addtoany_share_save_container.addtoany_content_bottom {
    width: 400px;
  }
} 

@media (min-width: 767px) {
  .breadcrumb ,.addtoany_share_save_container.addtoany_content_bottom {
    width: 690px;
  }
}

@media (min-width: 981px) {
  .breadcrumb ,.addtoany_share_save_container.addtoany_content_bottom {
    width: 960px;
  }
}

@media (min-width: 981px) {
  .breadcrumb ,.addtoany_share_save_container.addtoany_content_bottom{
    width: 960px;
  }
}

@media (min-width: 1101px) {
  .breadcrumb ,.addtoany_share_save_container.addtoany_content_bottom{
    width: 1080px;
  }
}

.mejs-horizontal-volume-current {
height: 4px !important;
}

.home .breadcrumb {
display: none;
}

.button {
display: inline-block; color: #fff; background: #01748B; text-transform: uppercase; font-weight: 700; height: 36px; line-height: 36px; padding: 0 12px; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px;
}

.page-id-2076 #main-content {
  width: 1080px;
  margin: 0 auto;
  margin-top: 6px;
}

.et_pb_fullwidth_header {
  padding: 30px 0 0 0;
}
.et_pb_bg_layout_light {
  margin-bottom: 5px;
}

.addtoany_share_save_container {
  width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

/** Signup Form **/
.signup div * {
  box-sizing: border-box;
}

.signup div {
    position: relative;
    display: inline;
}

.signup div input {
  border: 0;
  border-radius: 3px;
  background: transparent;
  background: rgba(0,0,0,0.1);
  padding: 0.2em 0.75em;
  display: inline-block;
  width: 215px;
  width: calc(100% - 75px);
  z-index: 2;
  position: relative;
  height: 30px;
}

.signup div label {
  display: inline-block;
  position: absolute;
  line-height: 25px;
  left: .5em;
  font-weight: bold;
  color: #AAA;
  z-index: 1;
  padding: 0.12em;
}

.signup div input:focus + label {
  display: none;
}

.signup div input:valid + label {
  display: none;
}

.signup input[type="submit"]{
  text-transform: uppercase;
  font-size: 0.7em;
  display: inline;
  float: right;
  border-radius: 3px;
  border: 0px;
  background: #8e1825;
  color: white;
  font-weight: bold;
  width: 65px;
  height: 30px;
  font-size: 0.85em;
  cursor: pointer
}

.signup input[type="submit"]:hover,.signup input[type="submit"]:active {
  background: #66111A;
}

.signup #et-info-email:before {
  background-color: initial;
  padding: 0px;
  color: #AAA;
  border-radius: 0px;
  font-size: smaller;
}

.et_project_meta_title {
display: none;
}

.home .et_pb_text {
padding-top: 30px;
}

.mbe-history {
float: left;
clear: both;
padding-bottom: 20px;
border-top: 1px solid #e6e6e6;
padding-top: 12px;
}

.mbe-history a {
  font-size: 19px;
  text-transform: uppercase;
  font-weight: 600;
  color: #931923;
  line-height: 75px;
}

h3 {
font-weight: bold;
}

#tribe-events-pg-template .tribe-events-content h1 {
font-size: 40px !important;
}

.widCOE {
margin: 20px 0 0 0 !important;
}

/** Mobile Display Fixes **/

.sidebar-blue {
  box-sizing: border-box;
}

@media (max-width: 980px) {

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

  .et_mobile_menu {
    top: 205px;
  }

  .slider_homepage .et_pb_column {
    padding-bottom: 0px !important;
  }

  .home .et_pb_text {
    padding-top: 0px;
  }

  .et_section_regular .et_pb_row:first-of-type {
    padding-top: 0px !important;
  }

  .et-search-form {
    right: initial;
    left: initial;
    top: 56px !important;
  }
}

@media (max-width: 767px) {

  .et_mobile_menu {
    top:195px;
  }

  .slider_homepage .et_pb_column {
    padding-bottom: 0px !important;
  }

  .et_section_regular .et_pb_row:first-of-type {
    padding-top: 0px !important;
  }

}




@media (max-width: 480px ){
  .tagline {
    margin-top: 1.2em;
    max-width: 280px
  }

  .et_mobile_menu {
    top: 163px;
}
  .mobile_menu_bar:before {
    font-size: 20px;
  }
.et-search-form {
  top: 46px !important;
}
}
/** End Mobile Display Fixes **/

#layout {
  /** Add padding to top of disqus **/
  padding-top: 30px;
}


.home .pf-aligncenter {
display: none;
}

.form-thumbnail {
vertical-align: top;
margin-left: 10px;
}


#AudioPlayer_wrapper .fluid-width-video-wrapper {
    width: 100%;
    position: static;
    padding: 0;
    padding-top: 0 !important;
}

.single-tribe_events .recurringinfo .event-is-recurring a {
display: none;
}

.term-webcast .entry-content {
padding-bottom: 30px;
}

.single-tribe_events .tribe-events-single-event-title {
    font-size: 40px !important;
    line-height: 1em;
    padding: 0 0 10px 0;
}

.tribe-events-schedule h2 {
    font-style: normal;
    font-weight: 300 !important;
}

#tribe-events-pg-template .tribe-events-content ul {
    margin-left: 30px !important;
    padding: 0 0 23px 16px !important;
}

#tribe-events-pg-template .tribe-events-content ul li {
    border-top: 1px solid #E6E6E6 !important;
    padding: 12px 0 0 0!important;
}

#tribe-events-pg-template .tribe-events-content h3, .tribe-events-after-html h3, .tribe-events-before-html h3 {
    font-size: 22px !important;
    line-height: 1em !important;
}

#tribe-events-pg-template .tribe-events-content h4, .tribe-events-after-html h4, .tribe-events-before-html h4 {
    font-size: 18px !Important;
    line-height: 1em !Important;
    font-weight: 300 !Important;
}

#tribe-events-pg-template .tribe-events-content h5, .tribe-events-after-html h5, .tribe-events-before-html h5 {
    font-size: 16px !important;
    line-height: 1em !important;
}


:lang(fr) .menu-item-language-current:before {
    content: "Langue : ";
    display: inline;
    color: #fff;
}

.menu-item-language-current:before {
    content: "Language: ";
    display: inline;
    color: #fff;
}
#et-secondary-menu > ul > li.menu-item-language > a {
    display: inline;
}

div#atstbx {
    text-align: center;
    width: 80%;
    max-width: 1080px;
    margin: auto;
}

ol.easy-footnotes-wrapper {
    width: 80%;
    max-width: 1080px;
    margin: auto;
}

.signup input[type="submit"]:lang(fr) {
    width: 103px;
}

.signup div input:lang(fr) {
    width: calc(100% - 105px);
}

#sidebar .signup div input:lang(fr) {
    width: calc(100% - 5px);
}

#sidebar .signup input[type="submit"]:lang(fr) {
    width: calc(100% - 5px);
    margin-top: 3px;
    float: left;
}

.printfriendly a img:lang(fr) {
    display: none;
}

:lang(fr) .printfriendly a:before {
    display: block;
    content: ' ';
    background: url(http://mbelibrary.wpstagecoach.com/wp-content/uploads/2016/09/pf-french-button.png);
    height: 17px;
    width: 133px;
    margin: auto;
}

:lang(fr) .sidebar-blue a.btn, :lang(fr) .sidebar-gray a.btn {
    font-size: 13px;
}