.gallery{padding-bottom:20px}.gallery__image{height:var(--image-height)}.gallery__popup{background-color:transparent;border:none;cursor:pointer;height:100%;margin:0;padding:0;position:relative;width:100%}.hover-content{display:none}.hover-content .event-title,.modal__content .event-title{color:#fff;font-family:DIN Next LT Pro CN,sans-serif;font-size:24px;margin-top:25px;text-transform:uppercase}.modal__content .event-description{font-size:16px;line-height:1.5;width:85%}.hover-content .button-3{background:url("https://www.carpenterelectrification.com/hubfs/carpenterelectrification/images/arrow-right%20(4).svg") no-repeat scroll right 16px center /24px auto;color:#53565a;display:inline-block;font-size:20px;font-weight:500;padding:22px 77px 16px 0;position:relative;text-align:center;text-transform:uppercase}.hover-content .button-3:before{border-color:#00bfff transparent;border-radius:100%;border-style:solid;border-width:2px;transform:translateY(-50%) rotate(31deg);transition:1s}.hover-content .button-3:after,.hover-content .button-3:before{content:"";height:58px;position:absolute;right:0;top:50%;width:58px}.hover-content .button-3:after{border:1px solid #c8c9c7;border-radius:100%;transform:translateY(-50%)}.gallery__popup:focus .hover-content,.gallery__popup:hover .hover-content{align-items:center;background-color:rgba(0,0,0,.6);bottom:0;display:flex;height:100%;justify-content:center;left:0;position:absolute;right:0;top:0;width:100%}.gallery__popup:focus .hover-content{outline:2px solid blue}.gallery__image img{height:100%;object-fit:cover;width:100%}.dialog-wrapper{align-items:center;background-color:rgba(0,0,0,.9);border:none;cursor:pointer;display:none;height:100%;justify-content:center;left:0;margin:0;max-height:100%;max-width:100%;padding:0;position:fixed;top:0;width:100%;z-index:250}.dialog-wrapper[open]{display:flex}.dialog{cursor:default;flex-direction:column;margin-left:auto;margin-right:auto;max-height:96dvh;max-width:90%;padding:1em;position:relative;width:850px}.dialog,.dialog__close{background-color:transparent;color:#fff;display:flex}.dialog__close{align-items:center;background-image:none;border:none;cursor:pointer;font-family:inherit;font-size:30px;height:1.5em;justify-content:center;padding:0;position:absolute;right:0;text-align:inherit;top:-20px;width:1.5em}.dialog__close:focus{outline:2px solid blue}.modal__image img{width:100%}.modal__top{align-items:baseline;display:flex;justify-content:space-between}.modal__controls{align-items:center;display:flex}.modal__controls span{font-size:14px}.mobile-gallery{display:none;margin:10px}.mobile-gallery ul{display:grid;gap:10px;grid-template-columns:1fr 1fr;list-style-type:none;margin:0;padding-left:0}.mobile-gallery ul .gallery__image{height:auto}.next-slide,.prev-slide{background-color:transparent;border:none;cursor:pointer;padding:0}.next-slide:focus,.prev-slide:focus{outline:2px solid blue}@media (max-width:1200px){.gallery__image{height:250px}}@media (max-width:992px){.gallery--desktop{display:none}.mobile-gallery{display:block}.modal__content .event-description{width:100%}}