/*
 Theme Name: Reading Hospital Foundation
 Description: Divi Child Theme
 Author: Merz Branding
 Author URI: https://merzbranding.com
 Template: Divi
 Version: 1.0.0
*/
 
/* =Theme customization starts here
------------------------------------------------------- */

/*----- NAV MENU ----- */

header .et_menu_container {
	width:92%;
	max-width:92%;
}

.et_mobile_menu {
	border-color:#8DB750 !important;
}

.et_mobile_menu li a {
	border-bottom: 1px solid rgba(0,0,0,.1);
}

#top-menu li li a {
	font-size:18px;
	line-height:1.2em;
}

/*----- FAQs TABLE ----- */

.crfh-table {
	overflow-x:auto;
}

.crfh-table thead {
	background-color:#8DB750;
}

.crfh-table thead th {
	color:#003056;
	font-weight:800;
}

.crfh-table tfoot {
	background-color:#003056;
	color:#FFFFFF;
	font-weight:800;
 }

.crfh-table .prow {
	background-color:rgba(77, 123, 190, 0.2);
	color:#003056;
	font-weight:bold;
}

/*----- TYPOGRAPHY -----*/

.pillar-goal {
    display:block;
	width:100%;
	font-size:48px;
	font-weight:800;
	color:#4DA0D2;
	border-bottom:2px solid #8DB750;
	line-height:1.2em;
	padding-bottom:12px;
}

.pillar-label {
	font-weight:bold;
	color:white;
	padding:4px 12px;
	background-color:#4DA0D2;
}

/*----- LISTS ----- */

.et_pb_text_inner ul {
	padding-top:20px;
}

.et_pb_text_inner ul li {
	padding-bottom:8px;
}

/*----- MEDIA QUERIES -----*/

@media (max-width: 767px) {
	.et_pb_team_member_image {
		margin:12px 0 !important;
	} 
}

@media (max-width: 980px) {
  .et_fixed_nav #main-header {
	background-color:#003056;
	}
}

@media (min-width: 966px) and (max-width: 1115px) {
	#logo {
	  max-height:65%;		
	}
	#top-menu li {
	  padding-right:20px;
	}
}

@media (max-width: 1115px) {
	#logo {
	  max-height:100%;
	}
}