/* Kilimora custom layout and imagery overrides */

.tj-choose-us-section {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.tj-choose-us-section p,
.tj-choose-us-section li,
.tj-choose-us-section div {
    color: rgba(255, 255, 255, 0.94);
}

.tj-choose-us-section h1,
.tj-choose-us-section h2,
.tj-choose-us-section h3,
.tj-choose-us-section h4,
.tj-choose-us-section h5,
.tj-choose-us-section h6,
.tj-choose-us-section a {
    color: #ffffff;
}

/* Keep the quote form panel readable where light background is used */
.tj-choose-us-section .tj-input-form,
.tj-choose-us-section .tj-input-form p,
.tj-choose-us-section .tj-input-form li,
.tj-choose-us-section .tj-input-form div,
.tj-choose-us-section .tj-input-form h1,
.tj-choose-us-section .tj-input-form h2,
.tj-choose-us-section .tj-input-form h3,
.tj-choose-us-section .tj-input-form h4,
.tj-choose-us-section .tj-input-form h5,
.tj-choose-us-section .tj-input-form h6,
.tj-choose-us-section .tj-input-form label,
.tj-choose-us-section .tj-input-form a {
    color: var(--tj-secondary-color);
}

.tj-choose-us-section.choose-us-home-bg {
    background-image: url(../images/banner/feature-home.jpg);
}

.tj-choose-us-section.choose-us-about-bg {
    background-image: url(../images/banner/feature-about.jpg);
}

.tj-choose-us-section.choose-us-services-bg {
    background-image: url(../images/banner/feature-services.jpg);
}

.tj-choose-us-section.choose-us-why-bg {
    background-image: url(../images/banner/feature-why.jpg);
}

.tj-choose-us-section.choose-us-quote-bg {
    background-image: url(../images/banner/feature-quote.jpg);
}

.row.equal-height-row > [class*="col-"] {
    display: flex;
}

.row.equal-height-row > [class*="col-"] > * {
    width: 100%;
}

.row.equal-height-row .tj-service-item,
.row.equal-height-row .service-item-three,
.row.equal-height-row .tj-team-item,
.row.equal-height-row .tj-team-item-two,
.row.equal-height-row .tj-contact-list {
    height: 100%;
}

.tj-service-section .tj-service-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.tj-service-section-four.tj-service-page .service-item-three .service-image {
    height: 360px;
}

.tj-service-section-four.tj-service-page .service-item-three .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.row.equal-height-row .tj-team-item {
    display: flex;
    flex-direction: column;
}

.row.equal-height-row .tj-team-item .team-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.row.equal-height-row .tj-team-item-two {
    display: flex;
    flex-direction: column;
}

.row.equal-height-row .tj-team-item-two .team-content {
    margin-bottom: 0;
    flex: 1;
}

.row.equal-height-row .tj-contact-list {
    display: flex;
    align-items: flex-start;
}

.tj-team-section .tj-team-item .image-box {
    aspect-ratio: 1 / 1;
    background: #d6d6d6;
}

.tj-team-section .tj-team-item .image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.iti {
    width: 100%;
}

.form-errors {
    color: #b00020;
    font-size: 14px;
    line-height: 1.5;
}

.form-errors ul {
    margin: 0;
    padding-left: 20px;
}

.form__input.is-invalid,
.input-form input.is-invalid,
.input-form select.is-invalid,
.input-form textarea.is-invalid {
    border: 1px solid #b00020 !important;
}

.tj-contact-page .tj-animate-form .form__div.form__div--phone .iti {
    display: block;
    width: 100%;
    height: 100%;
}

.tj-contact-page .tj-animate-form .form__div.form__div--phone .iti .form__input {
    top: 0;
}

.tj-contact-page .tj-animate-form .form__div.form__div--phone .form__label {
    top: -0.5rem;
    left: 0.8rem;
    font-size: 15px;
    font-weight: 500;
    z-index: 10;
}

.tj-contact-page .tj-animate-form .form__div.form__div--textarea {
    height: 175px;
}

.tj-contact-page .tj-animate-form .form__div.form__div--textarea .form__input.textarea {
    min-height: 175px;
}

.tj-contact-page .contact-recaptcha-wrap .g-recaptcha {
    margin-top: 6px;
}

.tj-contact-page .tj-theme-button .tj-primary-btn.contact-btn {
    margin-top: 0;
}

@media (max-width: 991px) {
    .tj-service-section-four.tj-service-page .service-item-three .service-image {
        height: 320px;
    }
}

@media (max-width: 767px) {
    .tj-service-section-four.tj-service-page .service-item-three .service-image {
        height: 280px;
    }
}
