@charset "utf-8";
/* CSS Document */
/* created September 2022 by txm for homepage and global nav project */
#breadcrumb, #shareThis {
  display: none
}
/*jumbotron*/
.jumbotron {
  font-family: 'Merriweather', serif;
  background-image: url(https://www.ams.org/images/hero-banner-mrc-2019.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;
}
/*New calendar type*/
.calendarcontainer {
  margin-left: 30px;
  border-collapse: separate;
  border-spacing: 2em;
}
.year {}
.year h2 {
  font-family: 'Merriweather', serif !important;
  font-size: 1.4em;
  color: #7c848a !important;
}
.calmeeting {
  text-align: left;
  vertical-align: top;
  padding-left: 25px;
  padding-right: 25px;
  background: rgb(235, 235, 235);
}
.calmeeting p {
  margin-top: 16px;
  font-family: 'Merriweather', serif !important;
  font-size: 1.3em;
}
.calmeeting h4 {
  margin-top: 10px;
}
/* First we style the container element.  */
.calendar {
  margin: .25em 10px 10px 0;
  padding-top: 5px;
  float: left;
  width: 80px;
  background: #ededef;
  background: -webkit-gradient(linear, left top, left bottom, from(#ededef), to(#ccc));
  background: -moz-linear-gradient(top, #ededef, #ccc);
  font: bold 30px/60px Merriweather, "Lucida Bright", "DejaVu Serif", Georgia, "serif";
  text-align: center;
  color: #000;
  text-shadow: #fff 0 1px 0;
  border-radius: 3px;
  position: relative;
  box-shadow: 0 2px 2px #888;
}
/* Em element is also styled, it contains the month's name. */
.calendar em {
  display: block;
  font: normal bold 11px/30px Merriweather, "Lucida Bright", "DejaVu Serif", Georgia, "serif";
  color: #fff;
  text-shadow: #00365a 0 -1px 0;
  background: #04599a;
  background: -webkit-gradient(linear, left top, left bottom, from(#04599a), to(#00365a));
  background: -moz-linear-gradient(top, #04599a, #00365a);
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
  border-top: 1px solid #00365a;
}
/* Now style the pseudo elements. Container's pseudo elements (:before and :after) are used to create thos circles, "holes in te paper". */
.calendar:before, .calendar:after {
  content: '';
  float: left;
  position: absolute;
  top: 5px;
  width: 8px;
  height: 8px;
  background: #111;
  z-index: 1;
  border-radius: 10px;
  box-shadow: 0 1px 1px #fff;
}
.calendar:before {
  left: 11px;
}
.calendar:after {
  right: 11px;
}
/*?and em's pseudo elements are used to create the rings: */
.calendar em:before, .calendar em:after {
  content: '';
  float: left;
  position: absolute;
  top: -5px;
  width: 4px;
  height: 14px;
  background: #dadada;
  background: -webkit-gradient(linear, left top, left bottom, from(#f1f1f1), to(#aaa));
  background: -moz-linear-gradient(top, #f1f1f1, #aaa);
  z-index: 2;
  border-radius: 2px;
}
.calendar em:before {
  left: 13px;
}
.calendar em:after {
  right: 13px;
}
/*end new calendar type*/
.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;
  }
}
