.maincontent {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    border: none;
}
.bg-inland{background-image: linear-gradient(180deg, rgba(15, 15, 15, .65) 25%, rgba(15, 15, 15, .85) 100%), url(/imageserver/UserMedia/totalroofingsolutions/inland_coatings/header-Inland-Roof-Coatings.jpg);}

/* -- Products -- */

.r_products-list {
    list-style: none;
    margin: 40px auto 20px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
}
.r_products-item {
    position: relative;
    width: 44%;
    height: 420px;
    margin: 20px auto;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(5, 5, 5, .2);
    text-align: center;
    z-index: 0;
    background-size: contain;
    background-position: center center;
    background-repeat:no-repeat;
}
#r_products_silicone {
    background-image: url("/imageserver/UserMedia/totalroofingsolutions/inland_coatings/inland-AldoSil397-silicone-5gal.webp");
}
#r_products_rubber {
    background-image: url("/imageserver/UserMedia/totalroofingsolutions/inland_coatings/inland-RC2000-sebs-5gal.webp");
}
#r_products_polyurethane {
    background-image: url("/imageserver/UserMedia/totalroofingsolutions/inland_coatings/inland-AldoThane384-polyurethane-5gal.webp");
}
#r_products_acrylic {
    background-image: url("/imageserver/UserMedia/totalroofingsolutions/inland_coatings/inland-AldoCoat400S-acrylic-5gal.webp");
}
.r_products-item h3 {
    position: absolute;
    inset: auto 0 0;
    font-size: 1.1em;
    height: 75px;
    margin: 0;
    padding: 25px 20px;
    background-color: rgba(255, 255, 255, 1);
    backdrop-filter: blur(5px);
    font-weight: 700;
    transition: height .4s, background-color .4s;
}
.r_products-item:hover h3 {
    height: 100%;
    background-color: rgba(255, 255, 255, .8);
}
.r_products-item .r_arrow {
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 35px;
    height: 35px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(5, 5, 5, .15);
    transition: opacity .4s;
}
.r_products-item:hover .r_arrow  {
    opacity: 0;
}
.r_products-item .r_arrow::after {
    content: "";
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    width: 12px;
    height: 12px;
    border-top: 3px solid #111;
    border-right: 3px solid #111;
}
.r_products-content {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(25px);
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .2s;
}
.r_products-item:hover .r_products-content {
    opacity: 1;
    transform: translateX(0);
    transition: transform .4s ease .3s, opacity .4s ease .3s;
}
.r_products-content p {
    font-size: .9em;
    max-width: 400px;
    width: 100%;
    margin: 0 auto 20px;
}

.r_products-link {
    position: relative;
    font-size: .95em;
    font-weight: 700;
    color: #111;
}
.r_products-link:hover,
.r_products-link:focus {
    text-decoration: none;
    color: #111;
}
.r_products-link::after {
    content: "";
    position: absolute;
    left: 30%;
    bottom: -5px;
    width: 40%;
    height: 2px;
    background-color: #111;
    transition: width .2s, left .2s;
}
.r_products-link:hover::after,
.r_products-link:focus::after {
    left: 0;
    width: 100%;
}
.r_products-link-inner::before,
.r_products-link-inner::after {
    content: "";
    position: absolute;
    width: 15px;
    height: 2px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #111;
}
.r_products-link-inner::before {
    left: -25px;
}
.r_products-link-inner::after {
    right: -25px;
}

@media (max-width: 981px) {
    .r_products-item {
        max-width: 600px;
        width: 100%;
    }
}