/* version: 1.0.16 */
/* Resources styles 
----------------------------------------------------------------------*/
.installation-container {
    display: grid;
  	grid-template-columns: repeat(4, 1fr);
	column-gap: 30px;
	row-gap: 30px;
}

.installation-item {
/*     width: calc(100% / 4 - 25px); */
}

.thumbnail {
    border: 0;
    padding: 0;
    position: relative;
    display: inline-block;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .1);
    border-radius: 0;
    -webkit-transition: all .3s cubic-bezier(.165,.84,.44,1);
    transition: all .3s cubic-bezier(.165,.84,.44,1);
    -webkit-transform: scale(.95, .95);
    transform: scale(.96, .96);
}

figure {
    margin: 0;
    padding: 0;
    height: auto;
    position: relative;
    display: block;
    cursor: default;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

figure:hover figcaption {
    opacity: 1;
    top: 0;
    -webkit-box-shadow: -1px 1px 40px 0 rgba(0,0,0,.2)!important;
    -moz-box-shadow: -1px 1px 40px 0 rgba(0,0,0,.2)!important;
    box-shadow: -1px 1px 40px 0 rgba(0,0,0,.2)!important;
    display: flex;
    flex-direction: column;
}

figcaption {
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    opacity: 0;
    position: absolute;
    height: 100%;
    width: 100%;
    background: rgba(255, 182, 46, .911);
    text-decoration: none;
    text-align: center !important;
    -webkit-box-shadow: -1px 1px 40px 0 rgba(0, 0, 0, .2) !important;
    -moz-box-shadow: -1px 1px 40px 0 rgba(0, 0, 0, .2) !important;
    box-shadow: -1px 1px 40px 0 rgba(0, 0, 0, .2) !important;
    margin: 0;
}

figure:hover img.literature {
    filter: grayscale(1);
}

figcaption p {
    opacity: 0;
    visibility: hidden;
    transition: .3s ease-in;
    line-height: normal;
    margin-top: 25%;
}

figcaption a {
    margin: 15%;
    outline: 0;
    text-align: center !important;
    background: 0 0;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

figcaption img:hover {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7500%) hue-rotate(264deg) brightness(114%) contrast(96%);
}

figcaption:hover p {
    opacity: 1;
    transition-delay: .5s;
    visibility: visible;
    cursor: default;
}

.thumbnail::after {
    content: "";
    border-radius: 0;
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .4);
    opacity: 0;
    -webkit-transition: all .3s cubic-bezier(.165,.84,.44,1);
    transition: all .3s cubic-bezier(.165,.84,.44,1);
}

.installation-item h3 {
    margin-left: 5px;
    font-size: 18px;
}

.thumbnail:hover {
    -webkit-transform: scale(1,1);
    transform: scale(1,1);
}

/* Technical Resources */
.tech-item {
    display: flex;
    justify-content: space-between;
    border-bottom: 2px dotted #efefef;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.tech-item p {
    margin-bottom: 0;
}

.pdf-link:not(:last-child) {
    margin-right: 15px;
}

.pdf-link::before {
    content: url(https://media.rochestercp.com/wp-content/uploads/2024/05/10174822/pdf-file.png);
}

.dwg-link::before {
    content: url(https://media.rochestercp.com/wp-content/uploads/2024/05/10175939/dwg-file.png);
}

/* new design */

.filter-bar-titles,
.filter-bar-filters {
    display: flex;
}

.filter-bar-titles div:first-child,
.filter-bar-titles div:nth-child(2),
.filter-bar-filters > div:first-child,
.filter-bar-filters > div:nth-child(2) {
    width: 40%;
}

.filter-bar-titles div:nth-child(3),
.filter-bar-titles div:last-child {
    width: 10%;
}

.filter-bar-titles div:last-child {
    text-align: right;
}

.filter-bar-titles {
    cursor: pointer;
    padding: 20px 0;
}

@media (max-width: 768px) {
  .installation-container {
    grid-template-columns: repeat(2, 1fr);
  }
}