/* OPTIONALLY CHANGE OUT THE LOGO  
(SEE MOBILE CODE BELOW ALSO, REQUIRES TWO IMAGES)  */

.c-top-nav__logo>img {
  display: block;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background: url(/wp-content/uploads/2020/09/CEOLogoBig180.png) no-repeat;
  width: 336px;
  height: 90px !important;
  /*Make padding-left equal to width of new image */
  padding-left: 336px;
 	background-repeat: no-repeat;
 	background-position: 0px 0px;
 	background-size: 336px 90px;
}

/* use smaller logo */
@media (max-width: 990px){
  .c-top-nav__logo>img {
    background: url(/wp-content/uploads/2020/09/CEOLogoBig180.png) no-repeat;
    width: 187px; /* Width of new image */
    height: 50px !important; /* Height of new image */
 		background-repeat: no-repeat;
 		background-position: 0px 0px;
 		background-size: 187px 50px;
  }
}

/*GENERIC HEART LOGO VERSION*/
@media (max-width: 850px){
  .c-top-nav__logo>img {
    background: url(https://www.heart.org/-/media/images/logos/global-do-no-edit/header/aha_icon.svg?h=100&amp;w=200);
    background-size: 50px;
	  width: 50px !important;
	  height: 65px !important;
 		background-repeat: no-repeat;
 		background-position: 0px 0px;
  }
}

/* LOGO FOR MOBILE NAVIGATION */
@media screen and (max-width:768px) {
  .navbar-header .mobilelogo img {
    /*Make padding-left equal to width of new image */
    padding-left: 190px;
    background: url(/wp-content/uploads/2020/09/CEOLogoBig180.png);
 		background-repeat: no-repeat;
 		background-position: 5px 0px;
 		background-size: 187px 50px;
  }
}

@media (max-width: 767px){
}
/*----------------------------------------------------------------------------------------*/

/* The following styles fix some bugs in the drop down nav menu. */
.navbar.navbar-default .dropdown-menu {
  background-color: #fff;
  width: 100%;
  position: absolute;
  left: 0;
  top: auto;
  margin-top: 33px;
  padding: 2.1875rem 0;
  /* border-top: 1px solid #e3e3e3; */
  z-index: 9999;
  -webkit-box-shadow: 0 15px 30px 0 rgba(0,0,0,.1) !important;
  box-shadow: 0 15px 30px 0 rgba(0,0,0,.1) !important;	
}

.navbar.navbar-default .dropdown-menu>li>ul {
  background-color: #fff;
  width: 100%;
  position: absolute;
  left: 0;
  top: auto;
  margin-top:0;
  /*padding: 2.1875rem 0;*/
  /* border-top: 1px solid #e3e3e3; */
  z-index: 9999;
  -webkit-box-shadow: 0 15px 30px 0 rgba(0,0,0,.0) !important;
  box-shadow: 0 15px 30px 0 rgba(0,0,0,.0) !important;	
}

@media screen and (max-width:1200px) {
  	nav.navbar #menu-main > li.dropdown > ul.dropdown-menu > li{
    	padding-left: 1.9em !important;
  	}
}

@media (max-width: 768px){
  	nav.navbar #menu-main > li.dropdown > ul.dropdown-menu > li{
    	padding-left: 0em !important;
  	}  
	#page nav.navbar {
		padding-left: 0;
	}
  .navbar.navbar-default .dropdown-menu{
    padding: 0 0;
  }	
}
/*----------------------------------------------------------------------------------------*/

/* custom event styles -------------------------------------------------------------------*/
.hostImg {
  margin-bottom:10px !important;
  width:125px !important;
  height:150px !important;
  float: left;
}
.hostText {
  clear: both;
}
.hostSubText {
  font-size:80%;
  line-height:1.3 !important;
}
.hostWrapOuter {
  display:flex;
  flex-direction:column;
  background-color:#e3e2e3;
  padding:10px 30px 20px 30px;
}
.hostWrapInner {
  display:flex;
  flex:1;
}
.hostContainer {
  flex:1;
  padding-right:20px;
  min-width:150px;
}
.hostContainer:last-child {
  padding-right:0px;
}

.featuredCEO {
  margin-top:30px;
}
.featuredCEOWrapInner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
}
.featuredCEOContainer {
  position: relative;
  max-width:210px;
  min-width:180px;
  margin:0 15px 10px 0;
}
.featuredCEOimg {
  object-fit: cover;
  margin-bottom:10px !important;
  max-width:140px;
  min-width:125px;
  height:150px !important;
}
.featuredCEOimg + p {
  display:none !important;
}
/* .tribe-event-time::after {
  content:" Eastern Time";
} */
.eventExcerptUrl:hover {
  text-decoration:underline !important;
}

h1 .customEventTitle {
  font-size:70%;
  margin-top:0.3em;
}

@media only screen and (max-width: 540px) {
  .hostWrapOuter {
  padding:10px 20px 20px 30px;
  }
  .hostWrapInner {
  flex-direction:column;
  }
  .hostContainer {
  margin-bottom:20px;
  }
  .hostContainer:last-child {
  margin-bottom:0px;
  }
  .hostImg {
  margin:0 15px 10px 0 !important;
  float:left;
  }
  .hostText {
  clear: none;
  }
}
/*----------------------------------------------------------------------------------------*/

/* this temporarily hides the Event link from the main nagivation */
#menu-item-3943 {
 display: none; 
}

/* for new home page copy */
.allcaps{
  text-transform:uppercase;
}
h2.allcaps{
  font-weight: bold;
}
#frontlist.coollist{
  padding-bottom: 30px;
}

/* Grid layout for Resources dropdown menu */
@media screen and (min-width:768px) {
#menu-item-3171 .dropdown-menu {
    display: grid;
    grid-template-columns: auto auto auto;
  }
}

/* Hiding tab sidebar for Features */
.category-feature #secondary .tabs-wrapper {
  display: none !important;
}

/* Hiding post date on Employer Stories category */
/* hides the post date */
.category-employer-stories .entry-meta {
  display: none;
}