.gallery{margin-left:auto;margin-right:auto;padding:20px 20px 0;position:relative}.gallery.container{display:flex;flex-direction:column;gap:40px}.gallery-row{display:-webkit-box;display:-ms-flexbox;display:flex;gap:24px;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:start;-ms-flex-pack:start;align-items:stretch;height:auto;justify-content:space-between;overflow:hidden;padding-top:0;width:100%}.gallery-item{box-sizing:border-box;display:flex;flex:1 1 calc(33.33% - 16px);flex-direction:column;margin:0;max-width:calc(33.33% - 16px);padding:0;width:100%}.gallery-item:hover{text-decoration:none}.gallery-item:hover .image-name{color:var(--primary-color);text-decoration:none}.gallery-item .image-name{color:var(--black-color);flex-shrink:0;font-size:20px;font-weight:700;height:54px;line-height:1.3em;margin-bottom:auto;padding:.25rem 0 .85em}.gallery-item .gallery-image,.gallery-item .gallery-video{flex:1;max-height:246px;overflow:hidden}.gallery-item .gallery-image img,.gallery-item .gallery-video iframe{border-radius:8px;height:246px;max-height:260px;object-fit:cover;object-position:center;width:100%}.gallery .hidden{height:0!important;margin:0!important;padding:0!important;visibility:hidden;width:0!important}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.gallery-filters{display:flex;flex-wrap:wrap;gap:20px;justify-content:space-between}.gallery-filters #filters-1,.gallery-filters #filters-2{flex:1 0 calc(33.33% - 20px);max-width:calc(33.33% - 20px)}.gallery-filters .filter-title{background:var(--primary-color);color:#fff;display:block;font-size:18px;font-weight:700;margin-bottom:5px;padding:.5rem 1rem;width:100%}.gallery-results{width:100%}#media-search{box-sizing:border-box;flex:1 0 calc(33.33% - 20px);max-width:calc(33.33% - 20px);padding:10px;width:100%}.keyword-list{margin-bottom:20px}.filter-button{background-color:#f0f0f0;border:none;cursor:pointer;display:block;margin-bottom:5px;padding:10px;text-align:left;width:100%}.filter-button:hover{background-color:#ddd}.gallery-modal{background-color:rgba(0,0,0,.8);display:none;height:100%;left:0;overflow:hidden;position:fixed;top:0;width:100%;z-index:1000}.gallery-modal .modal-content{background-color:#fefefe;border:1px solid #888;margin:10% auto;max-width:900px;padding:20px;width:80%}.gallery-modal .modal-image-container{text-align:center}.gallery-modal .modal-image-container img{height:auto;max-width:100%;width:100%}.gallery-modal .modal-title{margin-top:16px;padding-bottom:10px}.gallery-modal .close-button{color:#aaa;float:right;font-size:28px;font-weight:700}.gallery-modal .close-button:focus,.gallery-modal .close-button:hover{color:#000;cursor:pointer;text-decoration:none}.modal-open{height:100%;overflow:hidden}@media screen and (max-width:1240px){.gallery-item{min-width:unset}.gallery-item .gallery-image,.gallery-item .gallery-video{max-height:220px}.gallery-item .gallery-image img,.gallery-item .gallery-video iframe{height:220px}.gallery-item .image-name{height:68px}}@media(max-width:991px){.gallery-filters .filter-title{text-align:center;width:100%}.gallery-item .image-name{font-size:18px}.gallery-item .gallery-image,.gallery-item .gallery-video{max-height:200px}.gallery-item .gallery-image img,.gallery-item .gallery-video iframe{height:200px}}@media(max-width:876px){.gallery-item .gallery-image,.gallery-item .gallery-video{max-height:180px}.gallery-item .gallery-image img,.gallery-item .gallery-video iframe{height:180px}}@media(max-width:768px){.gallery-filters #filters-1,.gallery-filters #filters-2{flex:1 0 calc(50% - 20px);font-size:18px;max-width:calc(50% - 20px)}.gallery-filters .filter-button-group #filters-1{margin-right:0}#media-search{flex:1 0 100%;max-width:100%}.gallery-item{flex:1 1 calc(50% - 24px);max-width:calc(50% - 24px)}.gallery .search-icon{top:76px}.gallery-item{text-align:center}.gallery-item .gallery-image,.gallery-item .gallery-video{max-height:220px}.gallery-item .gallery-image img,.gallery-item .gallery-video iframe{height:220px;margin:0 auto}.gallery-modal .modal-content{width:90%}}@media screen and (max-width:600px){.gallery-item .gallery-image,.gallery-item .gallery-video{max-height:200px}.gallery-item .gallery-image img,.gallery-item .gallery-video iframe{height:200px}}@media screen and (max-width:535px){.gallery-filters .filter-button-group #filters-1,.gallery-filters .filter-button-group #filters-2{width:100%}}