﻿/*********** 

    CSS For Quote Forms (TravelJoy Plus, Lite)

************/


.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link .nav-text {
    background-color: #6ec083;
}


.nav.nav-tabs.nav-tabs-line .nav-item .nav-link.active .nav-text {
    color: #6ec083;
}


.nav .nav-link.active .nav-text {
    color: #fff;
}

.nav .nav-link:hover:not(.disabled) .nav-text {
    color: #278234
}

.btn-link:hover {
    color: #053805;
}

.card {
    border-radius: 2.5rem;
}

.ti_container {
    border-radius: 2.5rem;
}

.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link .nav-text {
    background-color: #278234;
    border-radius: 1.5rem;
}

.bg-light-primary-100 {
    background-color: #F1F7F2 !important;
}

#subheadear .btn.btn-light-primary.disabled, .btn.btn-light-primary:disabled {
    border-radius: 2.5rem !important;
}

#subheader .btn.btn-outline-primary.disabled, .btn.btn-outline-primary:disabled {
    color: #278234;
    background-color: transparent;
    border-color: #278234;
    border-radius: 2.5rem;
}

#subheader .btn.btn-light-primary {
    border-radius: 2.5rem;
    border-color: #278234 !important;
}

#subheader .label.label-light-primary {
    background-color: #EBEDF3;
}

.nav .show > .nav-link, .nav .nav-link:hover:not(.disabled), .nav .nav-link.active, .nav .show > .nav-link, .nav .nav-link:hover:not(.disabled), .nav .nav-link.active {
    color: #ffffff;
}


.nav-tabs {
    border-bottom: none;
}


/* Container for image and text */
.image-container {
    position: relative;
    width: 100%;
    height: 150px; /* Fixed height */
    overflow: hidden; /* Hide overflow if image is larger */
}

    /* Image styling */
    .image-container img {
        width: 100%;
        height: 150px; /* Fixed height */
        object-fit: cover; /* Crop image to fit without distortion */
        display: block;
        border-radius: 1rem;
    }

/* Text overlay styling */
.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 15px;
    border-radius: 5px;
    white-space: nowrap; /* Prevent text from breaking into multiple lines */
}

.card-footer {
    border-radius: 0 0 2rem 2rem !important;
}

.form-control {
    background-color: transparent;
}
