.our-offices {
    border-radius: 10px;
    box-sizing: border-box;
    overflow: hidden;
    float: left;
    width: 100%;
}

.our-offices:hover .overlay {
    bottom: 30%;
    left: 0;
    right: 0;
    transition: all 0.3s ease-in;
}

.our-offices:hover .our-offices-background {
    background-color: rgba(22, 104, 178, .7);
    transition: all 0.3s ease-in;
}

.our-offices:hover .our-offices-text {
    visibility: visible;
}

.our-offices-background {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.overlay {
    position: absolute;
    text-align: center;
    bottom: -20%;
    left: 0;
    right: 0;
    color: white;
    font-size: 15px;
    padding: 0 5px;
}

.our-offices-content {
    width: 2.8rem;
    height: 0;
    border: 1px solid #fff;
    margin: auto;
}

.sp-color2 {
    color: #0071DCFF !important;
}

.our-offices-thumbnail {
    border-radius: 5px;
    width: 100%;
}

.our-offices-text {
    visibility: hidden;
}

.logo-tasc {
    height: 50px;
    padding: 5px 0;
}

.text-custom {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
}

.services-image {
    height: 330px !important;
    padding: 10px;
    width: 550px !important;
}

.services-description {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;

}

/*.col-lg-4 .blog-card .blog-img{*/
/*    height: 400px;*/
/*}*/

.services-card-color-bg2 {
    -webkit-box-shadow: 0 0 15px rgb(0 0 0 / 7%);
    /* box-shadow: 0 0 15px rgb(0 0 0 / 7%); */
    padding: 15px 15px 20px;
    border-radius: 15px;
    background-color: #fff;
}

/* The Modal (background) form contact */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content-ct {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 15px 0 5% 0;
    border-radius: 10px;
    border: 1px solid #888;
    width: 30%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }
    to {
        top: 0;
        opacity: 1
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }
    to {
        top: 0;
        opacity: 1
    }
}

/* The Close Button */
.close {
    color: white;
    /*float: right;*/
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header-ct {
    padding: 40px 0 0 0;
    background-color: #fff;
    color: white;
    text-align: center;
}

.modal-body {
    padding: 2px 16px;
    text-align: center;
}

.modal-footer-ct {
    padding: 30px 0 0 0;
    background-color: #fff;
    color: white;
    text-align: center;
}
/*Loader*/

.lds-ring {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
.lds-ring div {
    box-sizing: border-box;
    display: none;
    position: absolute;
    left: 30%;
    width: 25px;
    height: 25px;
    margin: 2px;
    border: 2px solid #a2a0a0;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #A2A0A0FF transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}
@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media screen and (max-width: 1200px) {
    .overlay {
        bottom: -22%;
    }

    .overlay h5 {
        font-size: 20px;
    }

    .overlay p {
        font-size: 14px;
    }
}

@media screen and (max-width: 991px) {
    .overlay {
        bottom: -20%;
    }

    .overlay h5 {
        font-size: 20px;
    }

    .overlay p {
        font-size: 16px;
    }
}

@media screen and (max-width: 768px) {
    .overlay {
        bottom: -15%;
    }

    .overlay h5 {
        font-size: 20px;
    }

    .overlay p {
        font-size: 18px;
    }

}

@media screen and (max-width: 428px) {
    .overlay {
        bottom: -15%;
    }

    .overlay h5 {
        font-size: 24px;
    }

    .overlay p {
        font-size: 15px;
    }


}
