/**
 *  Our Services
 */

:not( .home ) .desktop-view-services .services-content {
    display: grid;
    grid-template-columns: repeat( 2, 1fr );
    grid-gap: 20px;
    justify-content: unset;
}

:not( .home ) .desktop-view-services .services-header {
    padding: 0;
}

:not( .home ) .desktop-view-services a.services-content-box {
    padding: 0;
    width: 100% !important;
    margin-bottom: 0;
    padding: 10px;
}

.page-template-default .view-services {
    margin-bottom: 0;
}

/* mobile */
:not( .home ) .mobile-view-services a.services-content-box {
    width: 100% !important;
}

.fxa-accordion + .view-services .desktop-view-services {
    padding-top: 0;
}

@media ( min-width: 768px ) {
    :not( .home ) .desktop-view-services .services-content {
        grid-template-columns: repeat( 2, 1fr );
    }

    :not( .home ) .desktop-view-services a.services-content-box {
        padding: 20px;
    }
}

@media ( min-width: 1025px ) {
    :not( .home ) .desktop-view-services .services-content {
        grid-template-columns: repeat( 4, 1fr );
    }
    :not( .home ) .desktop-view-services .services-content.three-col-wide {
        grid-template-columns: repeat( 3, 1fr );
    }
}

.services-content p {
    text-align: center;
}

@media ( min-width: 921px ) {
    .desktop-view-services {
        display: block;
        background-color: #fff;
        padding: 150px 0 130px;
        padding: 120px 0 0;
        display: block;
    }

    .mobile-view-services {
        display: none;
    }

    .our-services {
        background-color: #fff;
        padding: 100px 0;
        display: block;
    }

    .services-header {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-end;
        margin-bottom: 40px;
        padding: 0 30px;
    }

    .services-header h2 {
        margin-top: 15px;
    }

    .services-header-right {
        display: block;
        position: relative;
        padding-bottom: 10px;
    }

    .services-content {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: center;
    }

    a.services-content-box {
        width: 300px;
        height: 281px;
        background-color: #0081c6;
        color: white;
        display: flex;
        flex-direction: column;
        position: relative;
        padding: 20px 40px;
        justify-content: center;
        align-items: center;
        border-radius: 3px;
        margin-bottom: 0px;
        margin-right: 20px;
    }

    a.services-content-box:last-child {
        margin-right: 0;
    }

    .services-content-title {
        font-size: 18px;
        font-weight: bold;
        color: white;
        text-align: center;
        text-transform: uppercase;
        line-height: 1.3em;
        transition: all 1s;
    }

    a.services-content-box:hover {
        background-color: white;
        border: none;
        color: #0081c6 !important;
        cursor: pointer;
        box-shadow: 0 1px 20px 0 rgb( 0 0 0 / 10% );
    }

    a.services-content-box:hover .services-content-title {
        color: #636366 !important;
    }

    .icon-holder {
        text-align: center;
        color: white;
    }

    #Path_51 {
        color: white;
    }

    .icon-holder {
        width: 100px;
        height: 85px;
        display: block;
        margin-bottom: 20px;
    }

    .icon-holder img {
        max-height: 100px;
        height: 100%;
        width: 100%;
        object-fit: contain;
    }

    .icon-engineer1 {
    }
}

@media ( max-width: 920px ) {
    .desktop-view-services {
        display: block;
        background-color: #fff;
        padding: 60px 40px 80px;
    }

    .mobile-view-services {
        display: none;
    }

    .our-services {
        background-color: #fff;
        padding: 60px 40px 80px;
    }

    .services-header {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-end;
        margin-bottom: 20px;
    }

    .services-header-right {
        display: block;
        position: relative;
        padding-bottom: 10px;
    }

    .services-header .title-blue {
        font-weight: 800;
    }

    a.services-content-box {
        margin-bottom: 60px;
    }

    .services-content {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: space-between;
    }

    a.services-content-box {
        width: 48%;
        height: 281px;
        background-color: #0081c6;
        color: white;
        display: flex;
        flex-direction: column;
        position: relative;
        padding: 20px 40px;
        justify-content: center;
        align-items: center;
        border-radius: 3px;
        margin-bottom: 30px;
    }

    .services-content-title {
        font-size: 18px;
        font-weight: bold;
        color: white;
        text-align: center;
        text-transform: uppercase;
        line-height: 1.3em;
        transition: all 1s;
    }

    a.services-content-box:hover {
        background-color: white;
        border: none;
        color: #0081c6 !important;
        cursor: pointer;
        box-shadow: 0 1px 20px 0 rgb( 0 0 0 / 10% );
    }

    a.services-content-box:hover .services-content-title {
        color: #0081c6 !important;
    }

    .icon-holder {
        text-align: center;
        color: white;
    }

    .icon-holder img {
        max-height: 100px;
        width: auto;
    }
}

@media ( max-width: 600px ) {
    .desktop-view-services {
        display: none;
    }

    .mobile-view-services {
        display: block;
        background-color: #fff !important;
        padding: 40px 20px 60px;
        width: 100%;
        position: relative;
    }

    .our-services {
        clear: both;
        background-color: #fff;
        padding: 40px 20px 40px;
        display: block;
        width: 100%;
        text-align: center;
    }

    .services-header {
        display: block;
    }

    .services-header .title-blue {
        font-weight: 800;
        font-size: 30px;
        text-align: center;
    }

    a.services-content-box {
        margin-bottom: 15px;
        flex-direction: row;
        padding: 10px;
        width: 100%;
        height: 80px;
        text-align: left;
        justify-content: flex-start;
    }

    .services-content {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        margin-bottom: 15px;
    }

    .services-content-title {
        font-size: 16px;
        font-weight: bold;
        color: white;
        text-align: left;
        text-transform: uppercase;
        line-height: 1.3em;
        transition: all 1s;
    }

    .icon-holder {
        width: 50px;
        height: auto;
        margin-right: 20px;
    }

    .icon-holder img {
        max-height: 43px;
    }
}
