/* Content pages --------------------------------------------------------- */
ul.breadcrumb {
  display: none;
}

iframe {
  margin-bottom: 20px;
  width: 100%;
}

@media (min-width: 44em) {
  .node-type-page .l-page .main-page-content {
    padding-bottom: 40px;
    padding-right: 20px;
    width: 49.57983%;
    float: left;
    margin-right: 0.84034%;
  }

  .node-type-page .l-page .l-region--sidebar-first {
    width: 49.57983%;
    float: right;
    margin-right: 0;
  }
}

/* Newsletters list ------------------------------------------------------ */
.view-newsletters {
  margin-bottom: 20px;
}

.view-newsletters ul {
  list-style: none;
  list-style-type: none;
  list-style-image: none;
  padding: 0;
  margin: 0;
}

.view-newsletters ul .leaf {
  list-style: none;
  list-style-type: none;
  list-style-image: none;
}

/* Pager ----------------------------------------------------------------- */
.pager {
  clear: both;
  padding: 0;
  text-align: center;
}

.pager__item {
  display: inline;
  padding: 0.5em;
  background-image: none;
  list-style-type: none;
}

.pager__item--current {
  font-weight: bold;
}

.pager li {
  list-style: none;
  list-style-image: none;
}

/* Photo gallery grid ---------------------------------------------------- */
.node-type-photo-gallery ul.field--name-field-images {
  list-style: none;
  list-style-type: none;
  list-style-image: none;
  padding: 0;
  margin: 0;
}

.node-type-photo-gallery ul.field--name-field-images .leaf {
  list-style: none;
  list-style-type: none;
  list-style-image: none;
}

@media (min-width: 44em) {
  .node-type-photo-gallery ul.field--name-field-images li {
    width: 24.36975%;
    float: left;
    margin-right: 0.84034%;
  }

  .node-type-photo-gallery ul.field--name-field-images li:nth-child(4n) {
    float: right;
    margin-right: 0;
  }

  .node-type-photo-gallery ul.field--name-field-images li:nth-child(4n+1) {
    clear: both;
  }
}

/* Photo viewer ---------------------------------------------------------- */
.sb-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
}

.sb-lightbox.is-open {
  display: block;
}

.sb-lightbox__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  opacity: 0.5;
}

.sb-lightbox__figure {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  transform: translate(-50%, -50%);
  background-color: #000000;
}

.sb-lightbox__figure img {
  display: block;
  width: 100%;
  height: 100%;
}
