/* GALLERIES */

/* Embedded Gallery with a caption Styles */
.uiPhotoGallery figure {
    margin: 0;
    padding: 0;
    display: grid;
}
figure:has( > div[data-embed-button="bu_embed_btn_gallery"]) {
  width: 100%;
}
.uiPhotoGallery figure a{
  cursor: zoom-in;
}
.uiPhotoGallery-default figure, .uiPhotoGallery-grid figure {
  width: 24.25%;
  margin: 0 1% 1% 0;
  float: left;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.uiPhotoGallery-default figure:nth-of-type(1) {
  width: 49.5%;
}

.uiPhotoGallery-default figure:nth-of-type(3), .uiPhotoGallery-default figure:nth-of-type(4n+5) {
  margin-right: 0;
}

.uiPhotoGallery-default figure:nth-of-type(4n+6) {
  clear: left;
}

.uiPhotoGallery-grid figure:nth-of-type(4n) {
  margin-right: 0;

}
.uiPhotoGallery-default figure a, .uiPhotoGallery-grid figure a {
  display: block;
  width: 100%;
  padding-top: 100%;
  overflow: hidden;
  position: relative;
  -webkit-transition: all .3s;
  -moz-transition: all .3s;
  -ms-transition: all .3s;
  transition: all .3s;
  -webkit-tap-highlight-color:rgba(0,0,0,0);
}

/* Gallery without a caption Styles */
div[data-embed-button="bu_embed_btn_gallery"].align-left {
    margin: 0 30px 30px 0;
}
div[data-embed-button="bu_embed_btn_gallery"].align-right {
  margin: 0 0 30px 30px;
}
.uiPhotoGallery {
    overflow: hidden;
}
.uiPhotoGallery-single {
  display: none;
}
.uiPhotoGallery-single-image {
   position: relative;
   overflow: hidden;
 }
.uiPhotoGallery-single-image a {
  cursor: zoom-in;
}
.uiPhotoGallery-single-image:hover .uiPhotoGallery-single-image-link-label {
  background: rgba(0,0,0,.8);
  transform: translateX(0);
}

.uiPhotoGallery-single-image-link {
  overflow: hidden;
}
.uiPhotoGallery-single-image-link img {
  transition: all .7s;
  display: block;
  width: 100%;
}
.uiPhotoGallery-single-image-link:hover img {
  transform: scale(1.035);
}
.uiPhotoGallery-single-image-link-label {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #000;
  background: rgba(0,0,0,.5);
  display: flex;
  padding: 8px;
  align-items: center;
  color: #fff;
  font-size: 20px;
  line-height: 1.2em;
  font-weight: 700;
  text-transform: uppercase;
  transition: all .3s;
  transform: translateX(calc(100% - 40px));
}
.uiPhotoGallery-single-image-link-label-text {
  padding: 0 10px;
  font: 400 12px/12px bio-sans, Arial,sans-serif;
  display: inline-block;
  vertical-align: middle;
  transition: all .3s;
}

.uiPhotoGallery .uiPhotoGallery-item-image{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
    -webkit-transition: all 1s ease;
    transition: all 1s ease;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.uiPhotoGallery-item::before {
    content: "";
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    z-index: 10;
    -webkit-transition: all .2s ease-out;
    transition: all .2s ease-out;
}
.uiPhotoGallery figure a.uiPhotoGallery-item:hover::before {
    box-shadow: inset 0 0 0 5px #ffb81c;
}

a.uiPhotoGallery-item:hover .uiPhotoGallery-item-image {
    -webkit-transform: scale(1.08);
    transform: scale(1.08);
}
.no-touch .uiPhotoGallery-default figure:hover .uiPhotoGallery-item-bkg, no-touch .uiPhotoGallery-grid figure:hover .uiPhotoGallery-item-bkg  {
    transform: scale(1.15);
}

.no-touch .uiPhotoGallery-default:hover figure:not(:hover), .no-touch .uiPhotoGallery-grid:hover figure:not(:hover) {
    opacity: .8;
}

.uiPhotoGallery-default .uiPhotoGallery-item-icon, .uiPhotoGallery-grid .uiPhotoGallery-item-icon {
    position: absolute;
    z-index: 10;
    top: 5px;
    right: 5px;
    height: 30px;
    width: 30px;
    color: #fff;
    text-align: center;
    line-height: 30px;
    font-size: 18px;
    text-shadow: 0 0 3px rgba(0,0,0,1);
    opacity: 0;
    transition: all .25s ease-out;
    transform: scale(.5);
}

.no-touch .uiPhotoGallery-default figure:hover .uiPhotoGallery-item-icon, .no-touch .uiPhotoGallery-grid figure:hover .uiPhotoGallery-item-icon {
    opacity: 1;
    transform: scale(1);
}

    .uiPhotoGallery-default figure figcaption,
    .uiPhotoGallery-grid figure figcaption {
        position: absolute;
        left: 0;
        right: 0;
        padding: 25px 10px 10px 10px;
        color: #fff;
        text-shadow: 1px 1px 0 rgba(0,0,0,.5);
        bottom: 0;
        z-index: 10;
        line-height: 1.2em;
        -webkit-transform: translateY(100%);
        -moz-transform: translateY(100%);
        -ms-transform: translateY(100%);
        transform: translateY(100%);
        max-height: 50%;
        font-size: 12px;
        line-height: 1.2em;
         -webkit-transition: transform .450s ease;
        -moz-transition: transform .450s ease;
        -ms-transition: transform .450s ease;
        transition: transform .450s ease;
    }

        .uiPhotoGallery-default figure figcaption strong,
        .uiPhotoGallery-grid figure figcaption strong {
            font-weight: normal;
        }

        .uiPhotoGallery-default figure figcaption .uiPhotoGallery-item-alt,
        .uiPhotoGallery-grid figure figcaption .uiPhotoGallery-item-alt {
            display: none;
        }

        .pswp__caption__center strong {
            display: block;
        }

        .no-touch .uiPhotoGallery-default figure:hover figcaption,
        .no-touch .uiPhotoGallery-grid figure:hover figcaption {
            display: block;
            -webkit-transform: translateY(0);
            -moz-transform: translateY(0);
            -ms-transform: translateY(0);
            transform: translateY(0);
        }

.embedded-entity,
.cke_widget_element,
figure[role="group"] {
  width: 100%;
  max-width: 100%;
  clear: both;
}

.align-right:has(.field--type-video-embed-field),
.align-left:has(.field--type-video-embed-field),
.align-center:has(.field--type-video-embed-field),
.align-right:has(.field--type-image),
.align-left:has(.field--type-image),
.align-center:has(.field--type-image),
.embedded-entity.align-right,
.embedded-entity.align-left,
.embedded-entity.align-center,
figure.align-right[role="group"],
figure.align-left[role="group"],
figure.align-center[role="group"] {
  width: 50%;
  max-width: 50%;
}
.align-center:has(.field--type-video-embed-field),
.align-center:has(.field--type-image),
.embedded-entity.align-center,
figure.align-center[role="group"] {
  margin-left: auto;
  margin-right: auto;
}
.block.block-baylor-gallery-block {
  clear:both;
}
