﻿.section-title {
    padding: 280px 0 0;
    background-image: url('../../img/banner/engineering-specifications-masthead.jpg');
    background-size: cover;
}

.category-cont {
    padding: 1rem 5rem 0;
}

.category-desc {
    font-family: 'Open Sans', sans-serif;
    color: #163764;
}

.category-items-title {
    font-size: 25px;
    margin-top: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #163764;
    color: #163764;
    font-family: 'Oswald', sans-serif;
}

.product-title-row {
    padding-top: 20px!important;
    background-color: rgba(56, 75, 84, .6);
    color: white;
    text-shadow: 0 0 5px #000;
}

.product-col {
    padding: 0 5rem 0.5rem;
    font-family: 'Oswald', sans-serif;
}

.breadcrumb-row {
    background-color: #52748d;
}

.breadcrumb-col {
    padding: 0.5rem 5rem;
    font-size: 0.75rem;
}

.breadcrumb-text {
    color: white;
}

.product-detail-row {
    padding: 2.5rem 0rem;
    margin: 0rem;
    font-family: 'Open Sans', sans-serif;
    line-height: 170%;
    color: #163764;
}

.category-products-ul {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
}

.product-li {
    width: 20%;
    list-style: none;
    padding: 1rem;
    text-align: center;
}

.product-image-cont {
    position: relative;
    height: 360px;
    overflow: hidden;
    background: transparent;
    margin: 0;
    display: block;
}

.product-name {
    font-size: 14px;
    color: #333;
    text-decoration: none;
    outline: 0;
}

.product-category-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #666;
    border-bottom: 3px solid #ededed;
}

.img-inside {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    outline: none;
    border: none;
    padding: 1rem;
    transition: opacity 0.5s ease-in-out;
    opacity: 0;
}

.img-outside {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    outline: none;
    border: none;
    padding: 1rem;
    transition: opacity 0.5s ease-in-out;
    opacity: 1;
}

.img-cont {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

p {
    margin-top: 1rem;
}

.product-image-cont:has(.img-inside):hover .img-inside {
    opacity: 1;
}

.product-image-cont:has(.img-inside):hover .img-outside {
    opacity: 0;
}
