﻿
/*--- HOME PAGE 
    Three Column Angle Image
*/

.three-angle-image-mobile .product-design-for-mobile {
    display: none !important;
}

.service-card-row {
    padding: 3rem 5rem;
    
}

    .service-card-row .padded-row {
        width: 80%;
        margin: 0 auto;
    }

    .service-card-row a {
        display: block;
        text-decoration: none;
        height: 100%;
        cursor: pointer;
    }

        .service-card-row a:hover,
        .service-card-row a:focus {
            text-decoration: none;
        }

.service-card-text-container:hover {
    box-shadow: 0 0 20px rgba(33 33 33 / 20%) !important;
    color: var(--primary-green);
}

#serviceCard {
    display: block;
    text-decoration: none;
    height: 100%;
    cursor: pointer;
}

    #serviceCard:hover,
    #serviceCard:focus {
        text-decoration: none;
    }

.services-title {
    padding: 20px 0px;
    color: #002f6d;
    font-family: var(--font-noto);
    font-size: 40px;
}

.service-card {
    margin: 0 20px;
    height: 100%;
    justify-content: center;
    max-height: 540px;
    /*justify-content: space-between;*/
}

.service-card-text-container {
    background-color: #FFFFFF;
    height:40%;
    /*height:160px*/
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-card-image-container {
    overflow: hidden;
    height: 60%;
    margin: -1px;
}

/*Three Angle Without Text*/
.three-angle-without-text .service-card-image-container {
    height: 100% !important;
}
.three-angle-without-text .service-card-text-container {
    height: 0px !important;
    padding: 0px !important;
}

.service-card-image-container .overlay-image {
    width: 70px;
    height: 70px;
}

.service-card-image {
    min-width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card-overlay {
    text-align: center;
    right: -2px;
    height: 103%;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    /* transform: rotate(20deg); */
    top: -2px;
    /* clip-path: polygon(75% 0, 100% 0, 100% 100%, 35% 100%); */

    clip-path: polygon(71% 0, 100% 0, 100% 100%, 31% 100%);
    padding-right: 3px;
}

    .service-card-overlay .overlay-content {
        height: 100%;
        padding-left: 50%;
    }

.overlay-title {
    /*transform: rotate(-20deg);*/
    text-align: center;
    font-size: 18px;
    font-weight: 550;
    color: #002f6d;
    word-break: break-word;
}

.overlay-image {
    width: 65px;
    height: 65px;
}

.service-card-content-text {
    
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
    color: #444444;
}

    .service-card-content-text p {
        margin-bottom: 0;
        display: -webkit-box;
        -webkit-line-clamp: 5;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }


    .service-card-content-text:hover,
    .service-card-content-text:focus {
        color: var(--primary-green);
    }

.service-card-row .btn-learn-more {
    background: rgba(50, 200, 33,1);
    background: var(--primary-green);
    border: none;
    color: white;
    font-weight: 550;
    margin: 0 auto;
    width: 200px;
}

.service-card-no-text .service-card {
    max-height: 280px;
    min-height:280px;
}

    .service-card-no-text .service-card .service-card-image-container {
        height: 100%;
    }

    .service-card-no-text .service-card .service-card-text-container {
        display: none;
    }

.btn-submission-form {
    background: var(--primary-green);
    /*background: rgba(50, 200, 33,1);
    background: var(--primary-green);*/
    border: none;
    color: white;
    font-weight: 550;
    margin: 0 25%;
}

@media (max-width: 1538px) {

    .service-card-row {
        padding: 2rem 5rem;
        
    }

        .service-card-row .padded-row {
            width: 90%;
        }

    .service-card {
        max-height: 456px;
    }

    .services-title {
        font-size: 30px;
    }

    /*.service-card-image {
        max-height: 300px;
    }
*/
    .overlay-image {
        width: 80px;
        height: 80px;
    }

    .service-card-image-container .overlay-image {
        width: 60px;
        height: 60px;
    }

    .overlay-title {
        font-size: 16px;
    }

    /*.service-card-image-container {
        height: 50%;
    }*/

    .service-card-content-text {
        font-size: 14px;
    }
}

@media (max-width: 1366px) {

    .service-card-row .padded-row {
        width: 100%;
    }

    .service-card {
        max-height: 424px;
    }

    /*.service-card-image {
        max-height: 250px;
    }*/

    .overlay-image {
        width: 60px;
        height: 60px;
    }

    /* .service-card-image-container {
        height: 45%;
    }*/
}

@media (max-width: 1199.98px) {
    .service-card-row {
        padding: 1rem;
    }

        .service-card-row .padded-row {
            width: 100%;
        }

        .service-card-row a {
            height: 100%;
        }

    .service-card {
        height: 100%;
        max-width: 320px;
        margin: 1rem auto;
        max-height: 442px;
    }

    .service-card-image {
        min-width: 100%;
        /*        max-height: 250px;*/
        object-fit: cover;
    }

    /*.service-card-text-container {
        height: 40%;
        height:172px
}*/



    .overlay-title {
        font-size: 14px;
    }

    .overlay-image {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 991.98px) {

    .service-card {
        max-height: 400px;
        max-width: 300px;
    }
}

@media (max-width: 767.98px) {

    .service-card-row {
        padding: 1rem 2rem 1rem 2rem;
    }

        .service-card-row .padded-row {
            width: 100%;
            margin: 0 auto;
        }

    .h-sm-100 {
        height: 100%;
    }
    /*.service-card-row a {
            height: auto;
        }*/
    .services-title {
        font-size: 20px;
    }

    .service-card {
        /* margin: 4px 0px; */
        max-width: 320px;
        max-height: 408px;
        margin: auto;
    }

    .service-card-image-container {
        height: 240px;
    }

    .service-card-text-container {
        height: 168px;
    }

    .service-card-content-text {
        padding: 0.75rem;
    }

    .service-card-image {
        min-width: 100%;
        max-height: 240px;
    }



    .overlay-title {
        font-size: 16px;
        font-weight: 500;
    }

    .overlay-image {
        width: 70px;
        height: 70px;
        margin-left: 0px;
    }

    .service-card-overlay {
        clip-path: polygon(70% 0, 100% 0, 100% 100%, 35% 100%);
    }
    .service-card-no-text .service-card{
        min-height:auto;
    }
}


@media (max-width: 500px) {
    .service-card-image {
        height: 240px;
    }
    .overlay-title {
        padding: 0 10px;
    }
    .service-card-text-container {
        height: auto;
    }
    .service-card-content-text {
        padding: 2px 0.75rem;
    }
    .service-card-content-text p {
        line-height: 24px;
    }    
    .service-card-row {
        padding: 1rem 2rem;
    }
    .service-card-row .padded-row .col-12.col-md-4.col-lg-4.mb-4.px-2.px-lg-1 {
        padding: 0 !important;
    }
    .service-card-row .padded-row .col-12.col-md-4.col-lg-4.mb-4.px-2.px-lg-1:last-child {
        margin-bottom: 0 !important;
    }
    .service-card-no-text .service-card {
        max-width: 100%;
    }
}
