@media (max-width: 576px) {
    .custom-img {
        height: 110px;
    }
}

@media (min-width: 577px) and (max-width: 992px) {
    .custom-img {
        height: 230px;
    }
}

@media (min-width: 993px) {
    .custom-img {
        height: 230px;
    }
}

/* custom card details */
.card .thumb {
    position: relative;
}

.card .details {
    padding: 50px 25px 30px;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.card .details .icon {
    background-color: #fff;
    -moz-box-shadow: 2px 2px 5px 1px rgba(0, 0, 0, 0.1);
    -ms-box-shadow: 2px 2px 5px 1px rgba(0, 0, 0, 0.1);
    -o-box-shadow: 2px 2px 5px 1px rgba(0, 0, 0, 0.1);
    box-shadow: 2px 2px 5px 1px rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    font-size: 35px;
    height: 70px;
    left: 0;
    line-height: 70px;
    margin: 0 auto;
    position: absolute;
    right: 0;
    text-align: center;
    top: -35px;
    width: 70px;
}

.hvr-underline-from-center::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 50%;
    right: 50%;
    bottom: 0;
    background: #08725a;
    height: 4px;
    -webkit-transition-property: left, right;
    transition-property: left, right;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}

.card:hover .details {
    background-color: #0048af;
    transition: background-color 0.3s ease;
}

.card:hover .details h4.title a,
.card:hover .details p {
    color: #ffffff;
    transition: color 0.3s ease;
}

ol, ul {
	padding-left: unset !important;
}

.truncate-3-lines {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}
