.flatpickr-calendar {
    z-index: 99999 !important;
}
.error-text {
    color: red;
    font-size: 13px;
    margin-top: 0px !important;
    margin-bottom: 20px
}

.error-border {
    border: 1px solid red !important;
}
#quoteForm .form-control{
	margin-bottom: 15px;
}
.error{
		color: red;
	}

/*Calender view correction*/

.flatpickr-wrapper{
	width: 100%;
}
.flatpickr-calendar {
    width: 320px !important;
}

.flatpickr-current-month {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    width: 100% !important;
    padding: 6px 60px;
    left: 1.5%;
}

.flatpickr-current-month .numInputWrapper {
    width: 70px !important;
}

/* equal width buttons */
.flatpickr-buttons-wrap {
    display: flex;
    gap: 8px;
    padding: 8px;
    width: 100%;
    box-sizing: border-box;
}

.flatpickr-buttons-wrap button {
    width: 50%;
    flex: 1;
}

/* time label */

.time-label {
    padding: 0;
    font-size: 14px;
    font-weight: 500;
    background-color: #ccc;
    color: #000;
}
.form-control.error {
    border: 1px solid red;
}

.error-text {
    font-size: 12px;
    display: block;
}

.btn-loader {
    display: none;
}
/*contact form*/
.form-control.error {
    border: 1px solid #dc3545;
}

.error-text {
    font-size: 12px;
    color: #dc3545;
}

#formMessage {
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
}

#formMessage.success {
    background: #d4edda;
    color: #155724;
}

#formMessage.error {
    background: #f8d7da;
    color: #721c24;
}

.form-control.error {
    border: 1px solid red;
}

.error-text {
    color: red;
    font-size: 12px;
}

.btn-loading {
    display: none;
}
.spinner-border {
    width: 1rem;
    height: 1rem;
    border: 2px solid #fff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    display: inline-block;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

/*promotional banner*/

#iservePopup{
    font-family:Arial, sans-serif !important;
}
.iserve-popup-overlay{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.70);
    z-index:99999;
    display:none;
    align-items:center;
    justify-content:center;
    padding:20px;
}

.iserve-popup{
    width:100%;
    max-width:550px;
    background:#ffffff;
    border-radius:22px;
    overflow:visible;
    position:relative;
    box-shadow:0 20px 60px rgba(0,0,0,0.25);
    animation:popupShow 0.4s ease;
}

.iserve-popup-banner{
    position:relative;
}

.iserve-popup-banner img{
    width:100%;
    height:auto;
    border-radius:22px 22px 0px 0px;
}
.iserve-close{
    position:absolute;
    top:-18px;
    right:-18px;
    width:42px;
    height:42px;
    border:none;
    border-radius:50%;
    background:#dc2626;
    color:#ffffff;
    font-size:24px;
    cursor:pointer;
    z-index:100;
    box-shadow:0 10px 25px rgba(0,0,0,0.25);
}
.iserve-popup-content{
    padding:30px;
    text-align:center;
}

.iserve-popup-content h2{
    font-size:28px;
    font-weight:800;
    color:#111827;
    margin-bottom:12px;
}

.iserve-popup-content p{
    font-size:15px;
    color:#64748b;
    line-height:1.7;
    margin-bottom:25px;
}
.iserve-popup-buttons{
    display:flex;
    gap:15px;
}
.iserve-popup-btn{
    flex:1;
    height:54px;
    border-radius:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    font-weight:700;
    transition:0.3s;
}

/* Primary */
.iserve-popup-btn-primary{
    background:#dc2626;
    color:#ffffff;
}

.iserve-popup-btn-primary:hover{
    background:#b91c1c;
    color:#ffffff;
}

/* Secondary */
.iserve-popup-btn-dark{
    background:#0f172a;
    color:#ffffff;
}

.iserve-popup-btn-dark:hover{
    background:#1e293b;
    color:#ffffff;
}

/* Animation */
@keyframes popupShow{
    from{
        opacity:0;
        transform:translateY(30px) scale(0.95);
    }
    to{
        opacity:1;
        transform:translateY(0) scale(1);
    }
}

/* Mobile */
@media(max-width:576px){

    .iserve-popup-content{
        padding:25px 20px;
    }

    .iserve-popup-content h2{
        font-size:26px;
        margin-bottom:20px;
    }

    .iserve-popup-buttons{
        flex-direction:column;
    }

    .iserve-popup-btn{
        padding:15px;
    }
}
/*pagination style*/


/* Pagination */
.custom-pagination{
    gap:10px;
    justify-content:center;
}

/* Link */
.custom-pagination .page-link{
    width:42px;
    height:42px;
    border-radius:50% !important;
    border:none;
    background:#f1f5f9;
    color:#0f172a;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:600;
    transition:0.3s;
    box-shadow:none;
}

/* Hover */
.custom-pagination .page-link:hover{
    background:#dc2626;
    color:#ffffff;
}

/* Active */
.custom-pagination .page-item.active .page-link{
    background:#dc2626;
    color:#ffffff;
}

/* Disabled */
.custom-pagination .page-item.disabled .page-link{
    opacity:0.5;
    pointer-events:none;
}

/* Prev Next */
.custom-pagination .page-item:first-child .page-link,
.custom-pagination .page-item:last-child .page-link{
    width:auto;
    padding:0 18px;
    border-radius:30px !important;
}

/*search insight style*/
 .search-result-dropdown{
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
    z-index: 9999;
    max-height: 400px;
    overflow-y: auto;
    margin-top: 8px;
}

.search-result-dropdown .search-item{
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.search-result-dropdown .search-item:last-child{
    border-bottom: none;
}

.search-result-dropdown .search-item:hover{
    background: #f8f9fa;
}

.iserve-popup-btn-primary1:hover{
    color:#fff !important;
}
.widget .search-form input{
    color: #fff;
}
.site-header .site-branding img:focus-visible {
        outline: 0;
}
.video_heading{
    font-weight: 700 !important; 
    text-transform: none  !important;
}