@charset "utf-8";
/* CSS Document */
/* created September 2022 by txm for homepage and global nav project */
/* Copied from www to qa and thor on 26 Sept 2023 */
#breadcrumb, #shareThis {
  display: none
}
/*jumbotron*/
.jumbotron {
  font-family: 'Open Sans', sans-serif;
  background-image: url(https://www.ams.org/images/ams-hp-hero-banner.png);
  background-size: cover;
  color: #fff;
}
.jumbotron h1 {
  font-size: 2.5em;
  color: #fff;
}
.catchphrase {
  font-size: 1.2em !important;
  max-width: 65%;
  text-align: left !important;
  color: #fff;
}
/*end jumbotron*/
/*tabs*/
.tab-pane .active .h3 {
  color: #e87722 !important;
}
#homepageTabs li.active a {
  border-bottom-color: transparent;
  background-color: #dde4e8;
  color: #000
}
/*end tabs*/
#uppertier {
  margin-bottom: 5px;
  padding-bottom: 15px;
  border-bottom: 4px solid #98a4ae;
}
.sectionhead {
  color: #fff;
  background-color: #e87722;
  display: inline-block;
  padding-top: 3px;
  padding-right: 5px;
  padding-bottom: 3px;
  padding-left: 5px;
}
article {
  padding-right: 25px;
  padding-left: 25px;
}
figure {
  border: none !important;
}
figcaption {
  background-color: #dde4e8;
  color: #000;
  line-height: 1.2em;
}
#story1 p {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
#story2 p {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
#story3 p {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
#news, #research, #events {
  line-height: 1.5;
  padding-bottom: 15px;
}
#research {
  padding-top: 20px;
}

/*homepage calendar and deadlines css*/    
.calendar-container {
	font-family: var(--font-family-Open-Sans);
	color: var(--black);
}
.calendar-year {
	font-size: 2em;
	margin-bottom: 1em;
	font-family: var(--font-family-Merriweather);
}
.calendar-entry {
	display: flex;
	align-items: center;
	margin-bottom: 1em;
}
.calendar-date {
	background-color: #ededef;
	border-radius: 3px;
	box-shadow: 0 2px 2px #888;
	text-align: center;
	margin-right: 20px;
	position: relative;
	padding: 5px 0;
	width: 80px;
}
.calendar-day {
	font-size: 25px;
	font-weight: bold;
	line-height: 60px;
	color: var(--black);
        font-family: var(--font-family-Merriweather);
}
.calendar-month {
	display: block;
	background-color: var(--main-accessible-blue);
        font-family: var(--font-family-Merriweather);
	color: var(--white);
	padding: 5px 0;
	border-bottom-right-radius: 3px;
	border-bottom-left-radius: 3px;
}
.calendar-event {
	background-color: var(--white);
	border: 1px solid #ccc;
	padding: 15px;
	flex-grow: 1;
	box-shadow: 0 2px 2px var(--main-accessible-gray);
}
.calendar-event h3 {
	margin: 0 0 10px 0;
}
.calendar-event p {
	margin: 0;
}
/*end homepage calendar and deadlines css*/

.jmmMeetingGraphic {
  margin-top: 50px;
}
/* carousel*/
#desktopCarousel {
  margin-top: 40px;
  margin-bottom: 15px;
}
#carousel {
  margin-bottom: 15px;
}
.carousel-inner {
  border-radius: 5px;
}
.carousel-indicators {}
/* end carousel*/
/* lower tier*/
#lowertier {}
.membjournals {
  display: inline-block;
  margin: 6px;
  max-width: 120px;
}
/* Responsive layout - makes a one column layout instead of a two-column layout */
@media(max-width:767px) {
.jumbotron {
   margin-top: -50px!important;
  }
.jumbotron h1 {
    margin-left: 20px;
    font-size: 1.5em;
  }
  .jumbotron p {
    margin-left: 20px;
  }
  .catchphrase {
    display: none;
  }
  .flex {
    flex-direction: column;
  }
  .membjournals {
    max-width: 150px;
    margin-left: 6px;
    margin-right: 6px;
  }
}
