
.restrict-content {
  max-width: 55rem;
  margin: 0 auto;
  font-size: 1rem;
}

.break-word {
  word-break: break-word;
}

.break-avoid {
  break-inside: avoid;
}

figcaption {
  font-size: smaller;
}

blockquote {
  margin: 0 2rem 1rem;
  border-left: 2px solid #b3b7bb;
  padding-left: .5rem;
}

sup {
  font-size: smaller;
}

/* Chromiumn and Webkit browsers support this */
.table-sticky-header thead {
  position: sticky;
  top: 0;
  background-color: #004b87;
  color: #fff;
}

/* Customizations for Postmaster Finder tables */
#contentwrapper .releases .list-table {
  border-collapse: collapse !important;
}

#contentwrapper .releases .list-table td.message {
  background-color: white;
  text-align: left;
  font-style: italic;
  border-top-width: 0;
  padding-left: calc((100% - 25em) /2);
}

td.dataTables_empty {
  background-color: #fff;
  font-style: italic;
}

@media (min-width: 768px) {
  .pmf-instructions {
    border-left: 1px solid #eea9ac;
  }
}

@media print {
  .pmf-input-section,
  #output-separator {
    display: none;
  }

  .scrollToTop {
    display: none !important;
  }
}
/* Custom CSS for Magnific galleries */
.gallery {
	width: 100%;
	/* background-color: #fff; */
	border: 1px solid #888;
	padding: 1rem;
}

.gallery li {
	max-width: 230px;
	/* max-height: 160px; */
	margin-bottom: 1rem;
	text-align: center;
	width: 46%;
	vertical-align: bottom;
}

.gallery li figcaption {
    height: 3.375rem;
}

.gallery li figure {
	margin-bottom: 0;
}

.gallery li img {
	max-height: 140px;
}

.mfp-content {
  min-width: 300px;
}

.mfp-figure:after {
	bottom: 60px;
}

img.mfp-img {
	padding: 40px 0 60px;
}

.mfp-background {
  position: absolute;
  top: 40px;
  left: 0;
  background-color: #444;
  width: 100%;
  height: auto;
  display: block;
  content: '';
  z-index: -1;
}

.mfp-figure:after {
  opacity: 0;
}

.mfp-bottom-bar {
	margin-top: -56px;
	font-size: .875rem;
}

@media (min-height: 400px) {
  img.mfp-img {
    padding-bottom: 130px;
  }
  .mfp-figure:after {
    bottom: 130px;
  }
  .mfp-bottom-bar {
    margin-top: -126px;
  }
}
 
@media (min-width: 576px) {
  .mfp-content {
  	min-width: 500px;
  }
  .gallery li {
    max-width: 185px;
  }
}

@media (min-width: 768px) {
  .mfp-content {
    min-width: 750px;
  }
  
  .gallery li {
    max-width: 215px;
  }
  
  .gallery li figcaption {
    height: 2.25rem;
  }
}

@media (min-width: 992px) {
	.gallery li {
		max-width: 210px;
	}
}

@media (min-width: 1200px) {
	.gallery li {
		max-width: 200px;
	}
}

@media (min-width: 1500px) {
  .gallery li {
    max-width: 180px;
  }
}

/* Custom CSS for leadership */

#pmgpic {
    width: 100%;
    display: block;
    height: auto;
}
#pmgpic li {
    width: 100%;
}
.memberlist li {
    width: 100%;
}

.memberlist {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-between;
}

@media (min-width: 576px) {
    #pmgpic {
        margin-left: auto;
        margin-right: auto;
        width: 45%;
    }
    .memberlist {	
        height: calc(116px * 7);
        justify-content: flex-start;
    }
    .memberlist li {
        width: 48%;
        height: 100px;
    }
}

@media (min-width:1200px) {
    #pmgpic {
        width: 32%;
    }
    .memberlist {
        justify-content: flex-start;
        height: calc(116px * 5);
    }
    .memberlist li {
        width: 34%;
    }
}

/* Custom CSS for history */
aside.callout-box {
  order: 1px solid #eea9ac !important;
  padding: .5rem;
  margin-bottom: 1rem !important;
  background-color: #fff;
}
aside.callout-box p, aside.callout-box ul {
  font-size: .875rem;
}
aside.float figure {
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}
aside.float img {
  width: 100%;
  height: auto;
  max-width: 300px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.table-stamp-history tr td:nth-of-type(1) {
  width: 65%;
}
.table-stamp-history tr th:nth-of-type(2),
.table-stamp-history tr td:nth-of-type(2) {
  text-align: center;
  width: 15;
}

.table-stamp-history tr td:nth-of-type(3) {
  width: 20%;
}

.table-stamp-history-4col tr td:nth-of-type(1) {
  width: 55%;
}
.table-stamp-history-4col tr th:nth-of-type(2),
.table-stamp-history-4col tr td:nth-of-type(2) {
  text-align: center;
  width: 15%;
}
.table-stamp-history-4col tr td:nth-of-type(3) {
  width: 12%;
}
.table-stamp-history-4col tr td:nth-of-type(4) {
  width: 18%;
}

.table-universal-service-6-col {
    width: 620px;
}
.table-universal-service-6-col tr td:nth-of-type(1),
.table-universal-service-6-col tr th:nth-of-type(1) {
    width: 100px;
    text-align: center;
}

.table-universal-service-6-col tr td:nth-of-type(2),
.table-universal-service-6-col tr th:nth-of-type(2),
.table-universal-service-6-col tr td:nth-of-type(3),
.table-universal-service-6-col tr th:nth-of-type(3),
.table-universal-service-6-col tr td:nth-of-type(4),
.table-universal-service-6-col tr th:nth-of-type(4),
.table-universal-service-6-col tr td:nth-of-type(5),
.table-universal-service-6-col tr td:nth-of-type(6) {
    width: 100px;
    text-align: right;
    padding-right: .75rem;
}

.table-universal-service-6-col tr th:nth-of-type(5),
.table-universal-service-6-col tr th:nth-of-type(6) {
    width: 100px;
    text-align: center;
}

.table-universal-service-3-col {
    width: 320px;
}
.table-universal-service-3-col tr td:nth-of-type(1) {
  width: 100px;
  text-align: center;
}

.table-universal-service-3-col tr td:nth-of-type(2) {
  width: 100px;
  text-align: right;
  padding-right: .75rem;
}

.table-universal-service-3-col tr td:nth-of-type(3) {
    width: 120px;
    text-align: right;
    padding-right: .75rem;
}

.table-universal-service-3-col tr th:nth-of-type(2),
.table-universal-service-3-col tr th:nth-of-type(3) {
  text-align: center;
}

.table-universal-service-2-col {
    width: 320px;
}

.table-universal-service-2-col tr td:nth-of-type(1),
.table-universal-service-2-col tr th:nth-of-type(1) {
  width: 100px;
  text-align: center;
}

.table-universal-service-2-col tr td:nth-of-type(2),
.table-universal-service-2-col tr th:nth-of-type(2) {
  text-align: right;
  width: 100px;
  padding-right: .75rem;
}

.history-endnotes li {
  font-size: .875rem;
  margin-bottom: .5rem;
}

.table-pmg-listing {
  max-width: 600px;
}

.table-pmg-listing td:nth-of-type(1),
.table-pmg-listing td:nth-of-type(3) {
  min-width: 180px;
  width: 33%;
}

.table-pmg-listing.two-col td:nth-of-type(2) {
  min-width: 180px;
  width: 66%;
}

.table-pmg-listing.three-col td:nth-of-type(2) {
  min-width: 180px;
  width: 33%;
}

.table-rates {
  max-width: 700px;
}

.table-rates th:nth-of-type(1) {
  min-width: 140px;
  width: 20%;
}

.table-rates td:nth-of-type(1) {
  min-width: 180px;
  width: 50%;
}

.table-rates td:nth-of-type(2) {
  min-width: 190px;
  width: 30%;
}

.history-events p {
	margin-bottom: 0;
}

.history-events .list-multi-column {
	column-rule: 1px solid #999;
}


@media (min-width: 768px) {
  .history-aside {
    width: 75%;
    margin-left: auto;
    margin-right: auto;
  }
  aside.callout-box p, aside.callout-box ul {
    font-size: .75rem;
  }
  aside.float {
    float: right;
    width: 25%;
    margin-left: 1rem;
    margin-bottom: 0; 
  }
  .table-listing-restricted {
    max-width: 530px;
  }
}

@media (min-width: 992px) {
  .table-listing-restricted {
    max-width: 600px;
  }
}

/* Custom CSS for Postmaster Finder */
p.pmf-est-msg {
  font-size: 1rem;
}

p.pmf-est-msg li:not(:last-of-type) {
  padding-bottom: .75rem;
}

/* Custom code for banners */
.banner-inpage {
  background-repeat: no-repeat;
  background-size: auto;
  background-position: center top;
  --banner-bgcolor-step1: rgba(255, 255, 255, 0);
  --banner-bgcolor-step2: rgba(255, 255, 255, 0);
  --banner-bgcolor-step3: rgba(255, 255, 255, .9);
  --banner-bgcolor-step4: rgba(255, 255, 255, .95);
  --banner-fgcolor: $usps-black;
}
@media (min-width: 576px) {
  .banner-inpage {
    background-size: cover;
    background-position: center;
  }
}
.banner-inpage.banner-bg-white {
  background-color: #fff;
  color: #101820;
  --banner-bgcolor-step1: rgba(255, 255, 255, 0);
  --banner-bgcolor-step2: rgba(255, 255, 255, 0);
  --banner-bgcolor-step3: rgba(255, 255, 255, .9);
  --banner-bgcolor-step4: rgba(255, 255, 255, .95);
  --banner-fgcolor: $usps-black;
}
.banner-inpage.banner-bg-beige {
  background-color: #fdba61;
  color: #101820;
  --banner-bgcolor-step1: rgba(253, 186, 97, 0);
  --banner-bgcolor-step2: rgba(253, 186, 97, 0);
  --banner-bgcolor-step3: rgba(253, 186, 97, .9);
  --banner-bgcolor-step4: rgba(253, 186, 97, .95);
  --banner-fgcolor: $usps-black;
}
.banner-inpage.banner-bg-green {
  background-color: #1a6532;
  color: #fff;
  --banner-bgcolor-step1: rgba(26, 101, 50, 0);
  --banner-bgcolor-step2: rgba(26, 101, 50, 0);
  --banner-bgcolor-step3: rgba(26, 101, 50, .9);
  --banner-bgcolor-step4: rgba(26, 101, 50, .95);
  --banner-fgcolor: $usps-white;
}
.banner-inpage.banner-bg-magenta {
  background-color: #890d55;
  color: #fff;
  --banner-bgcolor-step1: rgba(137, 13, 85, 0);
  --banner-bgcolor-step2: rgba(137, 13, 85, 0);
  --banner-bgcolor-step3: rgba(137, 13, 85, .9);
  --banner-bgcolor-step4: rgba(137, 13, 85, .95);
  --banner-fgcolor: $usps-white;
}
.banner-inpage.banner-bg-blue-dark {
  background-color: #053a6a;
  color: #fff;
  --banner-bgcolor-step1: rgba(5, 58, 106, 0);
  --banner-bgcolor-step2: rgba(5, 58, 106, 0);
  --banner-bgcolor-step3: rgba(5, 58, 106, .9);
  --banner-bgcolor-step4: rgba(5, 58, 106, .95);
  --banner-fgcolor: $usps-white;
}
.banner-inpage.banner-bg-blue-med {
  background-color: #004b87;
  color: #fff;
  --banner-bgcolor-step1: rgba(10, 76, 136, 0);
  --banner-bgcolor-step2: rgba(10, 76, 136, 0);
  --banner-bgcolor-step3: rgba(10, 76, 136, .9);
  --banner-bgcolor-step4: rgba(10, 76, 136, .95);
  --banner-fgcolor: $usps-white;
}
.banner-inpage.banner-bg-blue-light {
  background-color: #f4f7fa;
  color: #101820;
  --banner-bgcolor-step1: rgba(244, 247, 250, 0);
  --banner-bgcolor-step2: rgba(244, 247, 250, 0);
  --banner-bgcolor-step3: rgba(244, 247, 250, .9);
  --banner-bgcolor-step4: rgba(244, 247, 250, .95);
  --banner-fgcolor: $usps-black;
}
.banner-inpage.banner-fade-left, .banner-inpage.banner-fade-right {
  background-size: auto 175px;
}
@media (min-width: 576px) {
  .banner-inpage.banner-fade-left, .banner-inpage.banner-fade-right {
    background-size: cover;
  }
}
@media (min-width: 576px) {
  .banner-inpage.banner-fade-left .banner-display {
    background: linear-gradient(101.5deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0.95) 100%);
    color: #101820;
  }
  .banner-inpage.banner-fade-right .banner-display {
    background: linear-gradient(101.5deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 45%, rgba(255, 255, 255, 0) 65%, rgba(255, 255, 255, 0) 100%);
  }
  @supports (--var: foo) {
    .banner-inpage.banner-fade-left .banner-display {
      background: linear-gradient(101.5deg, var(--banner-bgcolor-step1) 0%, var(--banner-bgcolor-step2) 30%, var(--banner-bgcolor-step3) 50%, var(--banner-bgcolor-step4) 100%);
      color: var(--banner-fgcolor);
    }
    .banner-inpage.banner-fade-right .banner-display {
      background: linear-gradient(101.5deg, var(--banner-bgcolor-step4) 0%, var(--banner-bgcolor-step3) 45%, var(--banner-bgcolor-step2) 65%, var(--banner-bgcolor-step1) 100%);
      color: var(--banner-fgcolor);
    }
  }
  .banner-inpage.banner-fade-left .banner-display, .banner-inpage.banner-fade-right .banner-display {
    padding: 2rem 0;
    min-height: 250px;
  }
  .banner-inpage.banner-fade-left .banner-text, .banner-inpage.banner-fade-right .banner-text {
    max-width: 40%;
    width: 40%;
    -ms-flex: 0 0 40%;
        flex: 0 0 40%;
  }
  .banner-inpage.banner-fade-left .banner-image, .banner-inpage.banner-fade-right .banner-image {
    max-width: 60%;
    width: 60%;
    -ms-flex: 0 0 60%;
        flex: 0 0 60%;
  }
}
.banner-inpage.banner-link-cover a {
  border-bottom: none !important;
  text-decoration: none;
  color: #101820;
  display: block;
}
.banner-inpage.banner-link-cover a:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  content: "";
}
.banner-inpage img {
  display: inline-block;
  width: calc(100% + 4rem);
  max-width: 100%;
}
@media (min-width: 576px) {
  .banner-inpage img {
    width: auto;
    margin: 0;
  }
}
@media (min-width: 1200px) {
  .banner-inpage img {
    width: auto;
    height: 100%;
    max-height: 224px;
    margin: 0;
  }
}
.banner-inpage .tilt-left img {
  -ms-transform: rotate(-12deg);
      transform: rotate(-12deg);
  margin-left: 0;
}
.banner-inpage .tilt-right img {
  -ms-transform: rotate(12deg);
      transform: rotate(12deg);
  margin-left: 1rem;
}
.banner-inpage .tilt-left img,
.banner-inpage .tilt-right img {
  padding-bottom: 0.5rem;
}
@media (min-width: 576px) {
  .banner-inpage .banner-image-sm img,
.banner-inpage .tilt-right img {
    padding-bottom: 0;
    margin-right: 20%;
  }
}
@media (min-width: 576px) {
  .banner-inpage .banner-image-sm.order-sm-last img {
    margin-left: 20%;
    margin-right: 0;
  }
}
.banner-inpage .tilt-left.text-right,
.banner-inpage .tilt-right.text-right {
  padding-right: 1rem;
}
.banner-inpage .banner-display {
  position: relative;
}
@media (min-width: 576px) {
  .banner-inpage .banner-display {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
        align-items: center;
  }
}
.banner-inpage .banner-text {
  width: 100%;
  -ms-flex: 0 0 50%;
      flex: 0 0 50%;
  margin: 0 auto;
  text-align: center;
  padding: 0 2rem 1rem;
}
@media (min-width: 576px) {
  .banner-inpage .banner-text {
    width: 50%;
    text-align: left;
    padding-bottom: 0;
  }
}
.banner-inpage .banner-text a, .banner-inpage .banner-text * {
  color: inherit;
}
@supports (--var: foo) {
  .banner-inpage .banner-text a, .banner-inpage .banner-text * {
    color: var(--banner-fgcolor);
  }
}
.banner-inpage .banner-text h2 {
  font-size: 2rem;
  font-weight: 700;
}
.banner-inpage .banner-text p {
  margin-bottom: 0;
}
.banner-inpage .banner-image {
  margin: 0 auto 1rem;
  display: block;
  min-height: 175px;
}
@media (min-width: 576px) {
  .banner-inpage .banner-image {
    min-height: auto;
  }
}
.banner-inpage .banner-image.banner-image-sm {
  width: 100px;
  padding: 1rem 0;
}
@media (min-width: 576px) {
  .banner-inpage .banner-image.banner-image-sm {
    padding: 2rem 0;
    text-align: right;
  }
  .banner-inpage .banner-image.banner-image-sm.order-sm-last {
    text-align: left;
  }
  .banner-inpage .banner-image.banner-image-sm img {
    min-height: auto;
  }
}
@media (min-width: 576px) {
  .banner-inpage .banner-image {
    -ms-flex: 0 0 50%;
        flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 0;
  }
}

a.usps-banner img {
  display: inline-block;
  /*width: calc(100% + 4rem);*/
}
@media (min-width: 576px) {
  a.usps-banner img {
    width: auto;
    margin: 0;
  }
}
@media (min-width: 1200px) {
  a.usps-banner img {
    width: auto;
    height: 100%;
    max-height: 224px;
    margin: 0;
  }
}
a.usps-banner .tilt-left img {
  -ms-transform: rotate(-12deg);
      transform: rotate(-12deg);
  margin-left: 0;
}
a.usps-banner .tilt-right img {
  -ms-transform: rotate(12deg);
      transform: rotate(12deg);
  margin-left: 1rem;
}
a.usps-banner .tilt-left img,
a.usps-banner .tilt-right img {
  padding-bottom: 0.5rem;
}
@media (min-width: 576px) {
  a.usps-banner .tilt-left img,
  a.usps-banner .tilt-right img {
    padding-bottom: 0;
    margin-right: 20%;
  }
}
@media (min-width: 576px) {
  a.usps-banner .order-sm-last img, a.usps-banner .order-sm-last img {
    margin-left: 20%;
    margin-right: 0;
  }
}

a.usps-banner .banner-image {
  margin: 0 auto 1rem;
  display: block;
  min-height: 175px;
}
@media (min-width: 576px) {
  a.usps-banner .banner-image {
    min-height: auto;
  }
}
a.usps-banner .banner-image.banner-image-sm {
  width: 100px;
  padding: 1rem 0;
}
@media (min-width: 576px) {
  a.usps-banner .banner-image.banner-image-sm {
    padding: 2rem 0;
    text-align: right;
  }
  a.usps-banner .banner-image.banner-image-sm.order-sm-last {
    text-align: left;
  }
  a.usps-banner .banner-image.banner-image-sm img {
    min-height: auto;
  }
}
@media (min-width: 576px) {
  a.usps-banner .banner-image {
    -ms-flex: 0 0 50%;
        flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 0;
  }
}

/* nav thumbnail customizations */

.nav-thumbnail a.d-inline {
  text-decoration: underline;
}

.nav-thumbnail-multilink {
  position: relative;
}

.nav-thumbnail-multilink a {
	display: inline !important;
    border-bottom: 1px dotted !important;
}

.nav-thumbnail-multilink a:hover,
.nav-thumbnail-multilink a:focus {
	border-bottom-style: solid !important;
}

.nav-thumbnail-multilink img {
	height: 110px;
	width: auto;
	min-width: auto;
	margin-left: auto;
    margin-right: auto;
}

/* tab customizations */
.nav-tabs {
  margin-left: 0;
  border-bottom-color: #666;
  position: relative; top: 1px;
}
.nav-tabs .nav-link {
  border-color: #999;
  color: #333;
  background-color: #e8e8e8;
  font-weight: bold;
  line-height: 1.2;
  margin-right: 2px;
}
.nav-tabs .nav-link.active {
  border-color: #666 #666 transparent;
  outline: 0;
}
#contentwrapper .nav-tabs a.nav-link {
  border-style: solid;
}
#contentwrapper .nav-tabs a.nav-link.active {
  border-bottom-color: #fff;
}
.tab-content {
  border: 1px solid #666;
  padding: 5px;
  background-color: #fff;
}
  
@media (max-width: 767px) {
  .nav-tabs {
    padding-left: 0;
    display: block;
  }
  .nav-tabs .nav-link {
    border-radius: 0;
    margin-right: 0;
  }
}