/* Washington Board of Rabbis page */

figure.inline-logo {
  margin:0 auto 20px;
  width:300px;
}

/* History Page */

.page-node-2 .region-title {background-color:#908144;}
.page-node-2 .region-title h1.page-title {color:#fff;}

/* Join Form */

section.embedded-form .at.ngp-form fieldset.Interests label.at-check {margin:0 10px;}

/* Giving Tuesday Page */

ul.giving-tuesday-options,
ul.yom-hashoah-options {
  display:flex;
  flex-direction:column;
  flex-wrap:wrap;
  padding:20px 0;
}

ul.giving-tuesday-options li,
ul.yom-hashoah-options li {
  margin:0 0 20px;
  padding:0;
}

ul.giving-tuesday-options li.giving-tuesday-amount:before,
ul.yom-hashoah-options li.yom-hashoah-amount:before {display:none;}
ul.giving-tuesday-options li strong,
ul.yom-hashoah-options li strong {font-size:1.25em;}

/* Homepage hero */

.front .home-hero-content .home-hero-link a:hover {color:#fff;}

@media (min-width:500px) {
  
  ul.giving-tuesday-options,
  ul.yom-hashoah-options {flex-direction:row;}
  
  ul.giving-tuesday-options li,
  ul.yom-hashoah-options li {
    padding:0 20px;
    width:50%;
  }
  
  ul.giving-tuesday-options li.amount-1,
  ul.yom-hashoah-options li.amount-1 {order:1;}
  ul.giving-tuesday-options li.amount-2,
  ul.yom-hashoah-options li.amount-2 {order:3;}
  ul.giving-tuesday-options li.amount-3,
  ul.yom-hashoah-options li.amount-3 {order:5;}
  ul.giving-tuesday-options li.amount-4,
  ul.yom-hashoah-options li.amount-4 {order:2;}
  ul.giving-tuesday-options li.amount-5,
  ul.yom-hashoah-options li.amount-5 {order:4;}
  ul.giving-tuesday-options li.amount-6,
  ul.yom-hashoah-options li.amount-6 {order:6;}
  
}


/* Washington Board of Rabbis Other Amount width override */

@media (min-width:400px) {
  body.page-node-107 section.embedded-form .at.ngp-form fieldset.ContributionInformation .at-radios label.label-amount.label-otheramount {width:calc(50% - 5px)!important;}
}

@media (min-width:768px) {
  body.page-node-107 section.embedded-form .at.ngp-form fieldset.ContributionInformation .at-radios label.label-amount.label-otheramount {width:calc(25% - 7.5px) !important;}
  body.page-node-107 section.embedded-form .at.ngp-form fieldset.ContributionInformation .at-radios label.label-otheramount input.edit-otheramount {padding-left:10px;}
}


/* Voter Guide Overrides */

body.page-node-680 article.node .image-callouts,
body.page-node-675 article.node .image-callouts,
body.page-node-789 article.node .image-callouts {
  margin:0 auto 20px;
  max-width:800px;
}

body.page-node-680 article.node .image-callouts .image-callout,
body.page-node-675 article.node .image-callouts .image-callout,
body.page-node-789 article.node .image-callouts .image-callout {width:100%;}


/* Table CSS */

article.node table {
  border:1px solid var(--main-light-blue);
  margin:20px 0;
  width:100%;
}

article.node table th,
article.node table td {
  border:1px solid var(--main-light-blue);
  padding:5px 10px;
}

article.node table th {
  background:var(--main-light-blue);
  border-right:1px solid #fff;
  text-align:left;
}

article.node table th:last-child {border-right:0;}