.page-home #wrapper {
  padding-bottom: 0px;
}

/* #lay-body-home {
  outline: 1px dashed cyan;
} */

.home-site-body {
  flex-direction: column;

  /* outline: 3px dashed cyan; */
}

/* HOME UPDATES */
#home-updates {
  display: flex;
  flex-direction: column;

  background-color: var(--white);
  box-shadow: 3px 3px 25px #00000040;
  margin-bottom: 1rem;
}
.home-updates-col {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  flex-shrink: 0;
}
.chairman-updates-col, .ranking-updates-col, .featured-updates-col {}

.home-updates-col .updates-col-head, .home-updates-col .updates-col-body {
  flex-shrink: 0;
}
.home-updates-col .updates-col-head {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 0;

  background-color: var(--light-teal);
  color: var(--dark-blue);
  font-family: 'Montserrat', sans-serif;
  height: 5rem;
  line-height: 1rem;
  padding: 0px 1.5rem;
}
.home-updates-col:nth-child(3) .updates-col-head {
  background-color: var(--teal);
  color: var(--white);
}
.home-updates-col .updates-col-head .title {
  font-style: italic;
  font-weight: 500;
}
.home-updates-col .updates-col-head .subtitle {
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
}

.home-updates-col .updates-col-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;

  padding: 1.5rem;
}
.home-updates-col.featured-updates-col .updates-col-body {
  padding: 0px;
}
.home-updates-col .updates-col-body>img {
  border: 1px solid var(--border-color);
  height: auto;
  width: 100%;
  max-height: 187px;
}
.home-updates-col .updates-col-body>h3 {
  color: var(--dark-gray);
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  margin: 1rem 0px;
  padding: 0px;
  text-transform: uppercase;
}
.updates-col-body ul {
  flex-grow: 1;
}
.updates-col-body ul, .updates-col-body li {
  list-style: none;
  margin: 0px;
  padding: 0px;
}
.updates-col-body li {
  border-top: 1px solid var(--border-color);
}
.home-updates-col a.updates-col-link {
  display: block;

  color: var(--link-hover-color);
  font-size: 0.9rem;
  font-weight: bold;
  line-height: 1.1rem;
  padding: 1rem 0px;
  text-decoration: none;
}
.home-updates-col a.updates-col-link:focus, .home-updates-col a.updates-col-link:hover {
  color: var(--link-color);
}

.featured-updates-col .updates-col-body>.pagegroup {
  height: 100%;
}
.featured-updates-col .updates-col-body>ul {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.featured-updates-col .updates-col-body>ul>li {
  flex-grow: 1;
  flex-shrink: 0;

  border: 1px solid var(--border-color);
  border-top-width: 0px;
  font-size: 0.8rem;
  padding: 1.5rem;
}
.featured-updates-col .updates-col-body>ul>li:nth-child(odd) {
  background-color: var(--odd-bg-color);
}
.featured-updates-col .updates-col-body>ul>li:nth-child(even) {
  background-color: var(--even-bg-color);
}
.featured-updates-col .updates-col-body>ul>li>a.updates-col-link {
  padding: 0px;
  text-transform: uppercase;
}

/* FEATURE_UPDATES */
.featured-updates-col .updates-col-body .pagegroup-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.featured-updates-col article.element {
  flex-grow: 1;
  flex-shrink: 0;

  border: 1px solid var(--border-color);
  border-top-width: 0px;
  font-size: 0.8rem;
  padding: 1.5rem;
}
.featured-updates-col article.element:nth-child(odd) {
  background-color: var(--odd-bg-color);
}
.featured-updates-col article.element:nth-child(even) {
  background-color: var(--even-bg-color);
}
.featured-updates-col article.element:last-child {
  border-bottom-width: 0px;
}
.featured-updates-col article.element>.element-header>.element-title {
  display: block;

  color: var(--link-hover-color);
  font-family: 'Trebuchet MS', sans-serif;
  font-size: 0.9rem;
  font-weight: bold;
  line-height: 1.1rem;
  margin: 0px;
  padding: 0px;
  text-decoration: none;
  text-transform: uppercase;
}
.featured-updates-col article.element>.element-header>.element-title:hover {
  color: var(--link-color);
}
.featured-updates-col article.element>.element-content>span {
  display: -webkit-box;
  max-height: 7.14285715em;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.home-updates-col .read-more-btn {
  display: flex;
  align-items: center;
  flex-grow: 0;
  flex-shrink: 0;

  background-color: var(--teal);
  background-image: url(../img/icon-carat-right-white.svg);
  background-position: calc(100% - 1rem) center;
  background-repeat: no-repeat;
  border-color: var(--teal);
  color: var(--white);
  font-size: .8rem;
  font-weight: bold;
  height: 3rem;
  line-height: 1rem;
  margin-top: 1rem;
  padding: 1rem;
  padding-right: 2rem;
  text-align: left;
  text-decoration: none;
  text-transform: uppercase;
  white-space: normal;
}
.home-updates-col .read-more-btn:focus, .home-updates-col .read-more-btn:hover {
  background-color: var(--light-teal);
  border-color: var(--light-teal);
}


@media (min-width: 655px) {
	#home-updates {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .home-updates-col {
    width: 50%;
  }
}
@media (min-width: 855px) {
	#home-updates {
    flex-wrap: nowrap;
  }

  .home-updates-col {
    flex-grow: 0;
    width: 33.34%;
  }
  .ranking-updates-col {
    order: 3;
  }
  .home-updates-col .updates-col-head {
    height: 6rem;
  }
}
@media (min-width: 1055px) {

}
/* @media (min-width: 1355px) {

} */


/* SUBCOMMITTES */
.page-home {
  background-color: #e1e1e1;
}

#home-subcommittees {
  position: relative;
  margin: 2rem 0px 0px;
}
.home-subcommittee-head {
  margin-bottom: 1.5rem;
  text-align: center;
}
.home-subcommittee-head .title {
  color: var(--dark-gray);
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: bold;
  text-shadow: 2px 2px 2px var(--white);
}
.home-subcommittee-head .title>span {
  font-weight: 400;
}
.home-subcommittee-head .subtitle {
  color: var(--dark-blue);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 2rem;
  text-shadow: 2px 2px 2px var(--white);
  text-transform: uppercase;
}

.home-subcommittee-body ul, .home-subcommittee-body li {
  list-style: none;
  margin: 0px;
  padding: 0px;
}
.home-subcommittee-body ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  /* align-items: stretch; */
}
.home-subcommittee-body li {
  margin: 1rem 0px;
  padding: 1.5rem 1rem;
  width: 50%;
}
.home-subcommittee-body li:nth-child(odd) {
  border-right: 1px solid var(--darker-border-color);
}

.home-subcommittee-link {
  display: flex;
  flex-direction: column;
  align-items: center;

  color: var(--dark-blue);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: bold;
  height: 100%;
  text-align: center;
  text-decoration: none;
}
.home-subcommittee-link:focus, .home-subcommittee-link:hover {
  color: var(--link-color);
}

.home-subcommittee-link .icon {
  fill: var(--dark-blue);
  height: 2rem;
  margin-bottom: 0.25rem;
  width: 2rem;
}
.home-subcommittee-link:focus .icon, .home-subcommittee-link:hover .icon {
  fill: var(--link-color);
}


@media (min-width: 655px) {
  .home-subcommittee-head .title {
    font-size: 1.5rem;
  }
  .home-subcommittee-head .subtitle {
    font-size: 2.1rem;
  }
}
@media (max-width: 854px) {
  #home-subcommittees::before {
    content: '';
    position: absolute;
    top: -100%;
    right: -1rem;
    bottom: 0px;
    left: -1rem;

    background-image: url(../img/bg-subcommittees.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: block;
    z-index: -1;
  }
}
@media (min-width: 855px) {

  .page-home {
    background-image: url(../img/bg-subcommittees.jpg);
    background-position: center 540px;
    background-repeat: no-repeat;
    background-size: auto 1650px;
  }

  #home-subcommittees {
    margin-top: 3rem;
  }
  .home-subcommittee-body li {
    width: 25%;
  }
  .home-subcommittee-body li {
    border-right: 1px solid var(--darker-border-color);
  }
  .home-subcommittee-body li:last-child {
    border-right-width: 0px;
  }
}
@media (min-width: 1055px) {
  .page-home {
    background-position: center 540px;
    background-size: auto 1400px;
  }
}
@media (min-width: 1255px) {
  .page-home {
    background-position: center 760px;
    background-size: auto 1100px;
  }
}

/* MEMBERS LIST */
#home-member-lists {
  background-color: var(--dark-blue);
  border-top: .33rem solid var(--light-teal);
}
.home-member-list {
  color: var(--white);
  padding: 3rem 1rem;
  text-align: center;
}
.majority-member-list {
  border-bottom: 1px solid var(--bg-white-trans);
}
.home-member-list .member-list-title {
  color: inherit;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: bold;
  text-transform: none;
}
.home-member-list ul, .home-member-list li {
  list-style: none;
  margin: 0px;
  padding: 0px;
}
.home-member-list ul {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.home-member-list .member-list-link {
  color: inherit;
  display: block;
  font-weight: 700;
  padding: 0.33rem 1.25rem;
  text-decoration: none;
}
.home-member-list .member-list-link:focus, .home-member-list .member-list-link:hover {
  text-decoration: underline;
}

.home-member-list .member-list-link.promote {
  background-color: var(--light-green);
  color: var(--dark-blue);
  margin: 1rem 0px;
  padding: 0.5rem 1.5rem;
}
.home-member-list .member-list-link.promote:focus, .home-member-list .member-list-link.promote:hover {
  background-color: var(--white);
  text-decoration: none;
}

.home-member-list .member-list-link .detail {
  font-style: italic;
  font-weight: 500;
}

@media (min-width: 855px) {
  #home-member-lists {
    display: flex;
    flex-direction: row;
    justify-content: center;
  }
  .home-member-list {
    color: var(--white);
    padding: 3rem 1rem;
    text-align: center;

    display: block;
    max-width: 620px;
    padding: 3rem 2rem;
    width: 100%;
  }
  .majority-member-list, .minority-member-list {
    width: 50%;
  }
  .majority-member-list {
    border-bottom-width: 0px;
    border-right: 1px solid var(--bg-white-trans);
  }
}




#home-masthead {
  position: relative;

  display: flex;
  flex-direction: row;
  margin-bottom: 1rem;
}

.masthead-hearings {
  display: flex;
  opacity: 1;
  width: calc(100% - 70px);
}
.masthead-hearing-item-wrap {
  flex-grow: 1;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: flex-start;
  flex-wrap: wrap;
  margin: -5px;
  width: 100%;
}
.has-count-3 .masthead-hearing-item-wrap {
  flex-direction: column;
  justify-content: flex-start;
}
.has-count-4 .masthead-hearing-item-wrap {
  flex-direction: column;
  justify-content: flex-start;
}
.masthead-hearing-item {
  height: unset;
  width: 100%;
  padding: 5px;
}
@media(min-width: 855px){
  .masthead-hearing-item {
    height: 50%;
    width: 50%;
  }
}

.masthead-hearings.has-count-1 .masthead-hearing-item-wrap {
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
}
.masthead-hearings.has-count-2 .masthead-hearing-item-wrap {
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
}
.masthead-hearings.has-count-1 .masthead-hearing-item {
  width: 100%;
}

@media (min-width: 855px) {
	.masthead-hearings.has-count-1 .masthead-hearing-item {
    width: 50%;
  }
}

.masthead-hearing-item>* {
  display: flex;
  flex-direction: column;
  align-items: flex-end;

  color: inherit;
  background-color: var(--bg-white-trans);
  border: 1px solid var(--border-white-trans);
  height: 100%;
  min-height: 5rem;
  overflow: hidden;
  padding: 1rem;
  text-align: right;
  text-decoration: none;
}

.masthead-hearing-item .section-head {
  background-color: var(--light-teal-trans);
}
.masthead-newsletter-item .section-head {
  background-color: unset;
  color: var(--teal);
}

.masthead-newsletter-item .newsletter-item {
  background-color: #ffffffCC;
  color: var(--teal);
  min-height: 120px;
  transition: .1s;
}
.masthead-newsletter-item .newsletter-item:hover {
  background-color: #ffffff;
}
.masthead-hearing-item .section-head .title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: bold;
  line-height: 1em;
  text-transform: uppercase;
}
.masthead-hearing-item .section-head a {
  color: inherit;
  font-size: .75rem;
  margin-top: 1em;
  text-decoration: underline;
}
.masthead-hearing-item .section-head a:focus, .masthead-hearing-item .section-head a:hover {
  text-decoration: none;
}
.masthead-hearing-item .section-head .icon-calendar .icon-letter, .masthead-hearing-item .section-head .icon-calendar img .icon-letter img{
  height: 1.5rem;
  width: 1.5rem;
}
.masthead-hearing-item .section-head .icon {
  margin-bottom: .33rem;
}

.masthead-hearing-item .item {
  padding: 1.5rem 1rem;
}
.masthead-hearing-item a.item {
  font-size: .8rem;
}
.masthead-hearing-item a.item:focus, .masthead-hearing-item a.item:hover {
  background-color: var(--light-teal-trans);
  color: inherit;
}

.masthead-hearing-item .item .date-time {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: bold;
  line-height: 1em;
}
.masthead-hearing-item .item .date-part {
  text-transform: uppercase;
}
.masthead-hearing-item .item .date-part {
  text-transform: uppercase;
}
.masthead-hearing-item .item hr {
  border: 0;
  border-top: 2px solid var(--light-teal);
  margin: .5rem 0px;
  margin-block-start: .5rem;
  margin-block-end: .5rem;
	width: 1.75rem;
}
.masthead-hearing-item .item .title {
  max-height: 3.33rem;
  overflow: hidden;
}
@media (min-width: 655px) {
  .masthead-hearing-item .section-head .title, .masthead-hearing-item .item .date-time {
    font-size: 1.2rem;
  }
}


.masthead-calendar-preview {
  position: relative;
  width: 70px;
}
.masthead-calendar-link {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 10px;

  display: flex;
  justify-content: center;
  align-items: center;

  background-color: var(--bg-white-trans);
  border: 1px solid var(--border-white-trans);
  color: inherit;
  /* height: calc(100% - 10px); */
  height: 100%;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  width: 60px;
}
.masthead-calendar-link:focus, .masthead-calendar-link:hover {
  background-color: var(--light-teal);
  color: inherit;
}
.masthead-calendar-link .toggle {
  transform-origin: center;
  transform: rotate(90deg);

  line-height: 60px;
  padding: 0px 1rem;
  white-space: nowrap;
}
.masthead-calendar-link .toggle.is-show {
  display: block;
}
.masthead-calendar-link .toggle.is-hide {
  display: none;
}

.masthead-calendar {
  display: none;
  flex-direction: column;

  width: calc(100% - 70px);
}
.masthead-calendar .head {
  display: flex;
  flex-grow: 0;
  align-items: center;

  background-color: var(--light-teal);
  font-family: 'Montserrat', sans-serif;
  font-size: .8rem;
  padding: .5rem .75rem;
  text-align: center;
}
.masthead-calendar .head .prev, .masthead-calendar .head .next {
  flex-grow: 0;
  height: 1em;
  /* opacity: 0; */
  width: 1em;
}
.masthead-calendar .head .prev img, .masthead-calendar .head .next img {
  height: 1em;
  vertical-align: initial;
  width: 1em;
}
.masthead-calendar .head .month-year {
  flex-grow: 1;

  font-weight: bold;
}

.masthead-calendar .calendar {
  flex-grow: 1;
  /* min-height: 11rem; */
  height: calc(100% - 1.8rem);
}
.masthead-calendar table.cal {
  height: 100%;
  color: var(--white);
  font-size: .75rem;
  font-weight: bold;
  table-layout: fixed;
  text-align: center;
  width: 100%;

  border-collapse: separate;
  border-spacing: 1px;
}
.masthead-calendar .cal th, .masthead-calendar .cal td {
  padding: .25em 0em;
}
.masthead-calendar .cal th {
  font-size: .66rem;
  padding: .5em 0em;
  text-align: center;
  text-transform: uppercase;
}
.masthead-calendar .cal td {
  position: relative;
  background-color: var(--bg-white-trans);
}
.masthead-calendar .cal td.not-current {
  color: var(--white-trans-25);
}

.masthead-calendar .cal td a {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;

  display: flex;
  justify-content: center;
  align-items: center;

  color: inherit;
  text-decoration: none;
}
.masthead-calendar .cal td a:focus, .masthead-calendar .cal td a:hover {
  color: inherit;
  text-decoration: none;
}

.masthead-calendar .cal td.has-event a {
  background-color: var(--white-trans-075);
}
.masthead-calendar .cal td.has-event a:focus, .masthead-calendar .cal td.has-event a:hover {
  background-color: var(--white-trans-25);
}
.masthead-calendar .cal td.has-event a::after {
  content: "";
  position: absolute;
  top: 0px;
  right: 0px;

  width: 0;
	height: 0;
	border-left: .5em solid transparent;
	border-bottom: .5em solid transparent;
	border-top: .5em solid var(--light-green);
	border-right: .5em solid var(--light-green);
}


#home-masthead.show-cal.please {
  transform: translateX(calc(100% - 60px));
}
#home-masthead.show-cal.thank-you {
  transform: translateX(0px);
  transition: transform 0.1s;
}

.show-cal .masthead-hearings {
  opacity: 0;
  transition: opacity 0.2s linear;
}
.show-cal.please .masthead-hearings {
  display: none;
}

.show-cal.please .masthead-calendar-link {
  right: unset;
  left: 0;

  background-color: var(--light-teal);
}
.show-cal.thank-you .masthead-calendar-link:hover {
  background-color: var(--light-teal-trans);
}
.show-cal .masthead-calendar-link .toggle.is-show {
  display: none;
}
.show-cal .masthead-calendar-link .toggle.is-hide {
  display: block;
}

.show-cal.please .masthead-calendar {
  display: flex;
}


@media (min-width: 855px) {
  #site-header {
    background-image: none;
  }

  #masthead {
    display: flex;
    padding: 2rem 0px;
  }
  #masthead>a {
    height: 370px;
  }
  #masthead .brand, #home-masthead {
    position: relative;
    width: 50%;

    /* outline: 1px dashed goldenrod; */
  }
  #home-masthead {
    height: 370px;
    margin-bottom: 0px;
  }
  #masthead .brand::before {
    content: '';
    position: absolute;
    top: 0px;
    right: 2rem;
    bottom: 0px;
    left: -2rem;

    /* background-color: rgba(255, 0, 0, .25); */
    background-image: url(../img/logo-main.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
  }
}
@media (min-width: 1055px) {
}
