.box-icon-classic-bordered > div:nth-of-type(3n + 2) {
}

.box-icon-classic-bordered > *:nth-child(n + 3) {
    border-bottom: 1px solid #e7e7e7;
}

.box-icon-classic-bordered > div:nth-last-of-type(n-1) {
    border-left: 1px solid #e7e7e7;
}

.services .col-sm-6.col-lg-4 {
    cursor: pointer;
}

.icon-classic-aside {
    padding-bottom: 25px;
}

.services .icon-classic-title {
    position: relative;
    height: 1.2em;
    line-height: 1.2em;
    overflow-y: hidden;
}

.services .truncated{
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    word-break: break-word;
    overflow-y: hidden;
    margin-bottom: 25px;
}

.services .modal-dialog {
    margin-top: 200px;
}

.services.section-lg {
    padding-top: 0;
}

/*Modal*/
.modal-title {
    font-weight: 800;
}

@media (max-width: 991.98px) {
    .box-icon-classic-bordered > div:nth-last-of-type(n-1) {
        border-left: none;
    }
}

@media screen and (min-width:0\0) and (min-resolution: +72dpi) {
    .truncated::after {
        content: "";
        text-align: right;
        position: absolute;
        right: 0px;
        bottom: 0px;
        height: 1.2em;
        width: 70%;
        background: linear-gradient(to right, rgba(255, 255, 255, 0), rgb(245, 245, 245) 50%);
    }
    article.box-icon-modern:hover .truncated::after {
        background: linear-gradient(to right, rgba(255, 255, 255, 0), rgb(255, 255, 255) 50%);
    }
    .truncated p {
        max-height: 7.5em;
    }
}

@-moz-document url-prefix() {
    .truncated::after {
        content: "";
        text-align: right;
        position: absolute;
        right: 0px;
        bottom: 0px;
        height: 1.2em;
        width: 70%;
        background: linear-gradient(to right, rgba(255, 255, 255, 0), rgb(245, 245, 245) 50%);
    }

    article.box-icon-modern:hover .truncated::after {
        background: linear-gradient(to right, rgba(255, 255, 255, 0), rgb(255, 255, 255) 50%);
    }
}