/*
Theme Name:   Divi Child Theme
Author:       Threshold Agency
Template:     Divi
Text Domain:  Divi Child Theme
*/

@import url(../Divi/style.css);

.et_pb_slide_description {
	display:block !important;
}

body {
  background-color: #0b3c5d;
  color: #fff;
  font-family: "franklin-gothic-urw", "Open Sans", sans-serif;
}

.wp-caption p.wp-caption-text {
  font-size: 14px;
  color: #0b3c5d;
}
.map-container .et_pb_map{
	pointer-events: none;
}
.map-container .et_pb_map.clicked{
	pointer-events: auto;
}
figcaption {
	color: #0b3c5c;
}

.single-post b {
  font-family: "Open Sans";
  font-weight: 900;
}

.single-post h1, .single-post h2, .single-post h3, .single-post h4 {
  color: #fff !important;
}

article.post .wp-caption img {
  margin-bottom: 10px;
}

#csh-footer .fa {
  margin: 0 10px 15px;
  transition: all .2s ease;
  -webkit-transition: all .2s ease;
}

#csh-footer .fa:hover {
  color: #d9b310;
}

#csh-footer p:last-of-type {
  padding-bottom: 1em !important;
}

.page-id-125 #main-content, .page-id-128 #main-content, .page-id-130 #main-content, .page-id-133 #main-content, .page-id-132 #main-content, .page-id-131 #main-content, .page-id-180 #main-content {
  width: 90%;
  left: 5%;
  margin-top: 250px;
}

.page-id-675 #main-content {
  width: 70%;
  left: 50%;
  transform: translate(-50%);
  -webkit-transform: translate(-50%);
  margin-top: 250px;
}

/* CONTACT US PAGE - background image */
body.et_cover_background.page-id-125 {
  background-image: url(/wp-content/uploads/2020/11/200903_420-scaled.jpg);
  background-size: cover !important;
  background-position: center bottom !important;
}
/* ABOUT PAGE - background image */
body.et_cover_background.page-id-133 {
  background-image: url(/wp-content/uploads/2019/07/AboutPage.jpg) !important;
  background-size: cover !important;
  background-position: center bottom !important;
}
/* ABOUT PAGE - background image */
body.et_cover_background.page-id-675 {
  background-image: url(/wp-content/uploads/2017/06/Shrewsbury-Rendering-e1504285962366.jpg);
  background-size: cover !important;
  background-position: center bottom !important;
}
/* LEADERSHIP PAGE - background image */
body.et_cover_background.page-id-132 {
  background-image: url(/wp-content/uploads/2018/05/cshpe-110-e1525811013214.jpg);
  background-size: cover !important;
  background-position: center top !important;
}
/* INVESTMENT STRATEGIES PAGE - background image */
body.et_cover_background.page-id-131 {
  background-image: url(/wp-content/uploads/2017/09/Morris-Plains-Movie-Theater-e1504661475433.jpg);
  background-size: cover !important;
  background-position: center bottom !important;
}
/* PHILANTHROPY PAGE - background image */
body.et_cover_background.page-id-180 {
  background-image: url(/wp-content/uploads/2021/01/Philanthropy-scaled.jpg);
  background-size: cover !important;
  background-position: center bottom !important;
}
/* NEWS PAGE - background image */
body.et_cover_background.page-id-130 {
  background-image: url(/wp-content/uploads/2017/06/Morris-Plains-Bistro-e1504285893860.jpg);
  background-size: cover !important;
  background-position: center bottom !important;
}
/* PRESS RELEASES PAGE - background image */
body.et_cover_background.page-id-128 {
  background-image: url(/wp-content/uploads/2019/07/PressReleasePage.jpg) !important;
  background-size: cover !important;
  background-position: center bottom !important;
}

.et_pb_post .post-meta {
  color: inherit !important;
}

#logo {
  border: none;
  box-sizing: content-box;
  max-height: 75%;
}

#top-menu > li:last-child, #top-menu li {
  padding-right: 40px;
}

#top-menu a {
  font-weight: 700;
  font-size: 17px;
  color: rgb(11, 60, 93) !important;
}

.current-menu-item {
  color: #71eeb8;
}

.et_non_fixed_nav.et_transparent_nav.et_show_nav #page-container, .et_fixed_nav.et_show_nav #page-container {
  padding-top: 80px !important;
}

.single .et_post_meta_wrapper {
  position: relative;
  float: left;
  width: 100%;
}

.entry-title {
  line-height: 1.3em;
}

.et_mobile_menu {
  color: #3b7cb1;
}
 
#thc-team-members {
  text-align: center;
}

.mapplic-container {
  /*overflow: initial !important;*/
}

.thc-team-member {
  width: 250px;
  box-sizing: border-box;
  cursor: pointer;
  margin: 10px 0;
  display: inline-block;
  background-color: #639ccd;
  background-position: center;
  border: 4px solid rgba(0,0,0,0.1);
  opacity: .9;
  text-align: left;
}

.thc-team-member:hover {
  opacity: 1;
}

.thc-team-member-info-wrapper {
	position: relative;
	box-sizing: border-box;
	padding: 10px;
	float: left;
	height: 150px;
	width: 100%;
	overflow: hidden;
}

.thc-team-member-popup .thc-team-member-info-wrapper {
  padding: 0;
  float: none;
  height: auto;
  overflow: initial;
}

.thc-team-member-popup .thc-team-member-image {
  margin-right: 15px;
  width: 100px !important;
}

.thc-team-member-info-wrapper:before {
  content: "+";
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 4px 9px;
  color: #fff;
  background-color: rgba(31, 49, 97, 0.8);
  font-size: 20px;
  font-weight: bold;
  line-height: 20px;
  z-index: 100;
}

.thc-team-member-popup .thc-team-member-info-wrapper:before {
  display: none;
}

.thc-team-member-popup {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  z-index: 1000000;
  border-radius: 5px;
  border: 8px solid rgba(31, 58, 97, 0.4);
  padding: 14px 20px 20px;
  overflow-y: scroll;
  overflow-x: hidden;
  width: 90%;
  height: auto;
  margin: 0;
  max-height: 90%;
  max-width: 900px;
  opacity: 1;
}

.thc-close-team-member-popup {
  display: none;
  position: absolute;
  right: 2px;
  top: 2px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  color: #fff;
  background-color: #1f3161;
  font-size: 27px;
  font-weight: bold;
  line-height: 40px;
  width: 40px;
  height: 40px;
  border-radius: 40px;
  text-align: center;
  z-index: 100;
}

.thc-close-team-member-popup:hover {
  background-color: #3b7cb1;
}

.thc-team-member-popup .thc-close-team-member-popup {
  display: block;
}

.thc-team-member-image {
  position: relative;
  float: left;
  width: 100% !important;
}

.thc-team-member-image img {
  width: 100%;
}

.thc-team-member-job-title {
  color: #1f3161;
  font-weight: bold;
  margin-bottom: 10px;
}

.thc-team-member-name {
  position: relative;
  width: 100%;
  padding: 0;
  color: #fff;
  font-weight: bold;
}

.thc-team-member-bio {
  position: relative;
  width: 100%;
}

.mapplic-pin.green {
  background-image: url(/wp-content/uploads/2017/09/pin-sky-blue.png) !important;
}
.mapplic-pin.yellow {
  background-image: url(/wp-content/uploads/2017/09/pin-gold-leaf.png) !important;
}

.mapplic-tooltip-description a {
  color: #1f3161 !important;
}

.mapplic-tooltip-description h5 {
  color: #d9b310 !important;
  font-weight: bold;
  margin-top: 3px;
}

.mapplic-tooltip-description a:hover {
  color: #328cc1 !important;
}

.mapplic-tooltip-title {
  font-weight: 900 !important;
  color: #243564 !important;
  padding: 0;
}

.mapplic-tooltip-description i {
  color: #328cc1 !important;
  font-weight: 700;
}

.mapplic-tooltip-content .mapplic-tooltip-description, .mapplic-tooltip-content .mapplic-tooltip p {
  font-weight: 600 !important;
  color: #ccc !important;
}

.mapplic-clickable:not(g), g.mapplic-clickable > * {
  opacity: 1 !important;
  fill: #1f3161 !important; /* #3b7cb1 */
}

.mapplic-clickable:not(g):hover, g.mapplic-clickable:hover > * {
  opacity: 1 !important;
  fill: #67a0d0 !important;
}

.post-meta {
  position: relative;
  float: left;
  padding: 18px !important;
  margin-right: 15px;
  background-color: rgba(0,0,0,0.2);
  width: 80px;
  text-align: center;
  margin-top: 5px;
  font-size: 18px !important;
  text-transform: uppercase;
}

.single .post-meta {
  width: auto;
  margin-bottom: 10px;
}

sup {
  font-size: .6em !important;
}

.single-properties .post-meta .published {
  display: none;
}

.single-properties .post-meta {
  padding: 0 !important;
}

.single-properties .et_post_meta_wrapper img {
  margin-bottom: 20px;
}

g#ak, g#hi, g#Layer_2 {
  display: none;
}

article.post img {
  margin-bottom: 25px;
}

.et_pb_post .entry-content {
  padding-top: 0;
}

.single .entry-content a {
  color: #d9b310 !important;
}

.et_pb_posts a.more-link {
  clear: initial;
  position: relative;
  float: left;
  padding: 3px 15px;
  background-color: rgb(103, 160, 208);
  margin-top: 5px;
  font-style: italic;
  font-weight: bold;
  transition: all .2s ease;
  -webkit-transition: all .2s ease;
}

.et_pb_posts a.more-link:hover {
  background-color: rgba(0,0,0,0.2);
}

#top-menu li {
  font-size: 16px;
  text-transform: uppercase;
}

#top-menu .menu-item-has-children > a:first-child, #et-secondary-nav .menu-item-has-children > a:first-child {
  padding-right: 0;
}

.et_pb_post a img {
  width: auto;
}

.et_pb_team_member_description {
  height: 167px;
  overflow: hidden;
  padding: 0 6px;
  display: block !important;
}

.et_pb_team_member h4 {
  font-weight: bold;
}

.et_pb_team_member_description:before {
  content: "+";
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 4px 9px;
  color: #fff;
  background-color: rgba(31, 49, 97, 0.8);
  font-size: 20px;
  font-weight: bold;
  line-height: 20px;
}

.et_pb_team_member-popup:before {
  content: "+";
  position: absolute;
  right: 2px;
  top: 2px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  color: #fff;
  background-color: rgba(31, 49, 97, 0.8);
  font-size: 26px;
  font-weight: bold;
  line-height: 40px;
  width: 40px;
  height: 40px;
  border-radius: 40px;
  text-align: center;
  z-index: 100;
}

.et_pb_member_position {
  color: #1f3161;
  font-size: 14px;
}

.et_pb_team_member-popup .et_pb_team_member_description {
  height: auto;
}

.et_pb_team_member-popup .et_pb_team_member_description:before {
  visibility: hidden;
}

.et_pb_team_member {
  cursor: pointer;
  border: 4px solid rgba(0,0,0,0.1);
  background-color: #67a0d0;
  transition: all .4s ease;
  -webkit-transition: all .4s ease;
  opacity: .9;
}

.et_pb_team_member:hover {
  opacity: 1;
}

.et_pb_team_member-popup {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  z-index: 1000000;
  border-radius: 5px;
  padding: 14px 20px 20px;
  overflow-y: scroll;
  overflow-x: hidden;
  width: 90%;
  height: auto;
  max-height: 90%;
  max-width: 900px;
  border: 8px solid rgba(0,0,0,0.1);
  opacity: 1;
}

.et_pb_team_member-popup .et_pb_team_member_image {
  text-align: left;
}

.et_pb_team_member_image {
  margin: 0 0 12px !important;
}

.et_pb_team_member-popup .et_pb_team_member_image {
  margin: 6px 0 12px !important;
}

.et_pb_team_member_image img {
  width: 300px;
  max-width: 100%;
}

#home-page-slider .et-pb-active-slide .et_pb_slide_content {
  opacity: 0;
  transform: translate(300px);
  -webkit-transform: translate(300px);
  animation: fadeInCityName 3s forwards ease;
  -webkit-animation: fadeInCityName 3s forwards ease;
}

@keyframes fadeInCityName {
  0% { opacity: 0; transform: translate(300px); -webkit-transform: translate(300px); }
  29% { opacity: 0; }
  30% { opacity: .5; transform: translate(300px); -webkit-transform: translate(300px); }
  100% { opacity: 1; transform: translate(0); -webkit-transform: translate(0); }
}
@-webkit-keyframes fadeInCityName {
  0% { opacity: 0; transform: translate(300px); -webkit-transform: translate(300px); }
  29% { opacity: 0; }
  30% { opacity: .5; transform: translate(300px); -webkit-transform: translate(300px); }
  100% { opacity: 1; transform: translate(0); -webkit-transform: translate(0); }
}

#home-page-slider .et_pb_slide {
  padding: 0;
  height: 300px;
}

#home-page-slider .et_pb_slides .et_pb_container {
  width: 100%;
  max-width: 100%;
  height: 100% !important;
}

#home-page-slider .et_pb_slides .et_pb_slide_description {
  padding: 20px;
  position: absolute;
  left: 0;
  bottom: 40px;
  width: 100%;
  background-color: rgba(11, 60, 93, 0.95); /*rgba(241,236,113,0.95) rgba(113,238,184,0.8)*/
}

#home-page-slider h2, #home-page-slider h3 {
  position: relative;
  float: left;
  text-transform: uppercase;
  font-family: inherit;
  text-shadow: none;
}

#home-page-slider h4 {
  float: left;
  width: 100%;
  text-align: left;
}

#home-page-slider h3 {
  font-size: 1.5em;
  line-height: 40px;
  padding: 0;
}

#home-page-slider h2 {
  font-size: 2em;
  line-height: 36px;
  padding: 0;
  margin-right: 15px;
  text-align: left;
}

.et_parallax_bg {
  background-position: center center !important;
}

.et_pb_section h1, .et_pb_section h2, .et_pb_section h3, .entry-title {
  color: #fff;
  font-weight: bold;
}

#main-content .container:before {
  display: none;
}

#main-content {
  background-color: #0b3c5d !important;
}

.page-id-129 {
  background-color: #fff !important;
}

.page-id-129 #main-content {
  background-color: rgba(11, 60, 93, 0.85) !important;
}

article.post img {
  width: auto;
}

#left-area {
  width: 100%;
  padding: 0;
}

#et-secondary-nav li {
  margin-right: 30px;
  font-size: 16px;
  text-transform: uppercase;
  color: #3b7cb1;
}

#et-secondary-menu {
  top: 50%;
  position: absolute;
  right: 5%;
}

#main-header .container {
  padding: 0 !important;
  width: 95%;
}

.et_header_style_centered #top-menu > li > a {
  padding-bottom: 25px;
}

#top-menu li li a {
  padding: 12px 20px;
}

#top-menu li li {
  color: #67a0d0;
  font-weight: bold;
  line-height: 17px;
}

#top-menu .menu-item-has-children > a:first-child:after, #et-secondary-nav .menu-item-has-children > a:first-child:after {
  display: none;
}

#thc-footer-links div, #thc-footer-links p {
  display: inline-block;
  font-weight: inherit;
  font-size: inherit;
}

#main-footer {
  display: none;
}

p, li {
  font-size: 15px;
  font-weight: 600;
}

a {
  color: inherit !important;
}

img {
  vertical-align: top;
}

#th-map-menu h2.th-active-map-heading {
  background-color: #812529;
  color: #fff;
}

#main-footer, #main-content {
  position: relative;
  float: left;
  width: 100%;
}

#th-map-canvas {
  width: 100%;
  height: 250px;
}

#th-map-menu {
  width: 100%;
  text-align: center;
  height: auto;
  background-color: #3d3e42;
}

#th-map-menu h2 {
    padding: 14px 20px;
    background-color: #678496;
    font-size: 1em;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    opacity: .9;
    border-bottom: 2px solid rgba(0,0,0,0.1);
}

#th-map-menu h2:hover {
    opacity: 1;
}

#th-map-menu ul {
  padding: 0;
}

#th-map-menu ul li {
    display: none;
}

#th-map-menu li {
    background-color: #333;
    padding: 10px 20px;
    cursor: pointer;
    color: #fff;
    opacity: .9;
}

#th-map-menu li:hover {
    opacity: 1;
}

.th-70-percent, .th-30-percent {
  position: relative;
  float: left;
  width: 100%;
}

.th-text-module {
  box-sizing: border-box;
  padding: 40px;
}

.th-text-module a {
  color: inherit;
}

.th-full-bg {
  background-position: center;
  background-size: cover;
}



@media all and ( min-width: 480px ) {

  .thc-team-member {
    margin: 15px;
  }

  .thc-team-member-popup {
    margin: 0 !important;
  }

  .page-id-125 #main-content, .page-id-128 #main-content, .page-id-130 #main-content, .page-id-133 #main-content, .page-id-132 #main-content, .page-id-131 #main-content, .page-id-180 #main-content {
    width: 70%;
    left: 15%;
  }

} /* end @media all and ( min-width: 480px ) */



@media all and ( min-width: 768px ) {

  #th-map-canvas {
    height: 500px;
  }

  .page-id-125 #main-content, .page-id-128 #main-content, .page-id-130 #main-content, .page-id-180 #main-content, .page-id-133 #main-content, .page-id-132 #main-content, .page-id-131 #main-conten, .page-id-675 #main-content {
    margin-top: 400px;
  }

  #home-page-slider .et_pb_slides .et_pb_slide_description {
    bottom: 60px; 
  }

  .thc-team-member-popup .thc-team-member-image {
    width: auto !important;
    max-width: 245px !important;
  } 

  .et_pb_team_member-popup .et_pb_team_member_image {
    float: left;
  }

  .et_pb_team_member-popup .et_pb_team_member_image img {
    margin-right: 20px;
  }

  .et_pb_team_member-popup .et_pb_team_member_description {
    overflow: initial;
    padding-top: 6px;
  }

} /* end @media all and ( min-width: 768px ) */



@media all and ( min-width: 981px ) {

  #top-header {
    border-bottom: 10px solid #3b7cb1;
    padding-bottom: 10px;
  }

  .et_non_fixed_nav.et_transparent_nav.et_show_nav #page-container, .et_fixed_nav.et_show_nav #page-container {
    padding-top: 102px !important;
  }

  #logo {
    margin-left: 5px;
  }

  #main-header {
    /*padding: 20px 30px 0 !important;*/
    border-top: 10px solid rgb(11, 60, 93);
    border-bottom: 10px solid rgb(11, 60, 93);
    background-color: #fff;
  }

  #th-map-menu {
    height: 700px;
    overflow-y: scroll;
  }

  #th-map-canvas {
    height: 700px;
  }

  .th-70-percent {
    width: 70% !important;
  }

  .th-30-percent {
    width: 30% !important;
  }

  #th-map-menu {
    text-align: left;
  }

} /* end @media all and ( min-width: 981px ) */



@media all and ( min-width: 1400px ) {

  .thc-team-member {
    margin: 25px;
  }

} /* end @media all and ( min-width: 1400px ) */

