/* CSS overrides to Suffolk Bootstrap 5 theme */

.hero img {
  width: 100%;
  height: auto;
}

.hero {
  background: #f5f5e4;
  padding: 1em 0;
}

.path-frontpage #block-pagetitle {
  display: none;
}

@media screen and (min-width: 769px) {
  .region-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99;
  }
  .navbar {
    margin-top: 40px;
  }
}

.view-frontpage .view-empty,
.view-frontpage .feed-icon {
  display: none;
}

#block-pagetitle h2 {
  display: none;
}

.path-frontpage [role="main"] .container {
  display: block;
}

.views-field-field-image {
  float: right;
  margin: 0 0 0.5em 0.5em;
}

.views-field-field-image img {
  padding: 3px;
  border: 1px solid #000;
}

h2 {
  font-size: 1.1em;
  font-weight: normal;
  background: #272b66;
  color: #fff;
  padding: 0.5em;
}

h2 a {
  color: #fff;
}

.navbar {
  border-bottom: 5px solid #647aa1;
  padding-top: 0;
  box-shadow: 0 5px 5px rgba(72, 60, 0, 0.4);
}

.navbar-brand img {
  max-width: 100%;
  width: 100%;
  height: auto;
  margin: 0 1rem 0 0;
}

.action-menu-top-monica {
  display: flex;
  margin: 0 auto;
  max-width: 740px;
  width: 100%;
}

.action-menu-top-monica .menu-item {
  line-height: 40px;
}

.action-menu-top-monica li {
  list-style-type: none;
}

.action-menu-top-monica li.menu-item {
  flex: 1 1 auto;
  height: 40px;
  text-align: center;
  width: auto;
}

.action-menu-top-monica > .menu-item {
  background: #1b96ce;
  padding-top: 0;
}

.action-menu-top-monica > .menu-item a {
  color: #fff;
  background: #1b96ce;
  text-transform: uppercase;
  font-weight: 600;
  border-left: 1px solid #fff;
  border-right: 1px solid #fff;
  border-collapse: collapse;
  display: block;
}

.action-menu-top-monica > .menu-item:last-of-type a {
  background: #008800;
}
main > .container {
  margin-bottom: 1em;
}

.header-officeholders h1,
.header-candidates h1 {
  font-family: "Kameron";
  font-size: 2em;
  font-weight: 700;
  padding: 100px 0;
  color: #fff;
}

.header-candidates-generic .filler {
  background: #006699;
}

.view-candidates h3 {
  font-size: 1.4em;
  padding-bottom: 0.8em;
  margin-bottom: 0.8em;
  border-bottom: 1px dotted #444;
}

.header-candidates-generic .candidate-header {
  font-family: "Kameron";
  font-size: 2em;
  font-weight: 700;
  padding: 50px 0;
  color: #fff;
}

.page-node-type-page .node__content {
  padding: 12px 20px;
}

.header-about-monica .filler {
  background: #006699;
}

.header-about-monica .filler h1 {
  padding: 40px 0;
}

.block-page-title-block h1 {
  border-bottom: 1px dotted #ccc;
  margin-bottom: 0.8em;
  padding-bottom: 0.5em;
}

.candidate-for h2 {
  font-size: 1.3em;
  margin: 0.8em 0 0.8em;
}

.region-sidebar-first {
  background: #f6f6f6;
  padding: 20px;
  font-size: 0.9em;
  border: 1px solid #ccc;
}

@media screen and (min-width: 992px) {
  .path-node .region-sidebar-second {
    margin-top: 95px;
  }
}

.region-sidebar-first .block,
.region-sidebar-second .block {
  margin-bottom: 0.8em;
}

.monica-executive-block .intro,
.monica-executive-block h2 {
  text-align: center;
}

.monica-executive-block h2 {
  font-size: 1.2em;
}

h2,
h3,
h4,
h5,
h6 {
  font-family: "Open Sans" !important;
}

h1 {
  font-size: 1.8em;
  margin-bottom: 0.5em;
  line-height: 1.5em;
}

h2 {
  font-size: 1.3em;
}

h3 {
  font-size: 1.1em;
  color: #990000;
}

.view-front-page-generic h2 {
  text-transform: uppercase;
  font-weigt: normal;
}

.view-front-page-generic h2 a {
  color: #fff;
}

.fc-title h3 {
  color: #fff;
}

.inline-image {
  float: right;
  margin: 0 0 0.5em 0.5em;
}

@media screen and (max-width: 768px) {
  .inline-image {
    float: none;
    margin: 0 auto;
    width: 100% !important;
    display: block;
    max-width: 100%;
  }
  .page-node-213 .node__content img {
    float: none;
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 1em auto;
    display: block;
  }
}

#block-views-block-candidates-block-1-2 > h2,
#block-views-block-candidates-block-2-2 > h2 {
  margin-top: 0.5em;
  font-family: "Open Sans";
  font-size: 1.1em;
  background: #999;
  color: #fff;
  padding: 12px;
  font-weight: 500;
}

#block-footerblockmonica .field--name-body img {
  width: 140px;
  height: auto;
  display: block;
  margin: 0 auto 1.5em auto;
}

#block-footerblockmonica h4 {
  margin-bottom: 0;
  font-size: 1.2em;
}

#block-footerblockmonica p {
  font-size: 0.9em;
  line-height: 1.4em;
}

#block-footerblockmonica .field--name-body {
  text-align: center;
}

#block-eventlegend-2 h2 {
  font-family: "Open Sans";
  font-size: 1.2em;
}

#block-eventlegend-2 .term {
  padding: 10px 20px;
}

#block-eventlegend-2 table {
  width: 100%;
  background: #fafafa;
  border: 1px solid #ccc;
  margin-bottom: 1em;
}
#block-eventlegend-2 span {
  display: none;
}

#block-eventlegend-2 .legend-color {
  width: 35px;
  height: 35px;
  border: 1px solid #ccc;
}

#block-eventlegend-2 .color {
  padding: 12px;
}

#block-eventlegend-2 .canvassing {
  background: #e8c030;
}

#block-eventlegend-2 .conference {
  background: #4c69dc;
}

#block-eventlegend-2 .election {
  background: #34baf4;
}

#block-eventlegend-2 .fundraiser {
  background: #288637;
}

#block-eventlegend-2 .general {
  background: #c943cb;
}

#block-eventlegend-2 .holiday {
  background: #fdecaf;
}

#block-eventlegend-2 .meeting {
  background: #f042e1;
}

#block-eventlegend-2 .phone {
  background: #87b0c4;
}

#block-eventlegend-2 .rally {
  background: #f41010;
}

#block-eventlegend-2 .workshop {
  background: #112d3b;
}

#credits-block {
  display: flex;
}

#site-by,
#site-credit {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#site-by p {
  text-align: center;
  padding: 8px;
  border: 1px solid #ccc;
}

#site-credit {
  text-align: right;
}

#site-credit a {
  color: #ffcc00;
}
