﻿

.row-bottom {
    position: absolute;
    bottom: 77px;
}

.widget-searchbar {
    width: 950px;
    height: 65px;
    margin: 0 auto;
    z-index: 10;
}
/* Tabs */
.searchbar-tabs {
    border: 0;
}

    .searchbar-tabs .nav-item-searchbar {
        width: 130px;
        height: 35px;
    }

    .searchbar-tabs .nav-link {
        background: rgba(255,255,255,0.5);
        color: #343a40;
        border: none;
        border-radius: 0;
        padding: 5px;
        margin-right: 5px;
        font-family: Arial, sans-serif;
        font-weight: 400;
        font-size: 14pt;
        border-radius: 0 0 6px 6px;
        margin-right: 10px;
    }

        .searchbar-tabs .nav-link.active {
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(2px);
            color: #fff;
            border-radius: 0 0 6px 6px;
        }
/*********Pop up tab seller ****************/

#propertyValuationModal .modal-dialog {
    position: relative;
    z-index: 1061 !important;
    width: 100%;
    max-width: 688px;
    margin: 30px auto;
    pointer-events: auto !important;
}

#propertyValuationModal .modal-content {
    position: relative;
    z-index: 1062 !important;
    width: 100%;
    border: none !important;
    border-radius: 0 !important;
    overflow: hidden;
    background: #d7d7d7 !important;
    opacity: 1 !important;
    filter: none !important;
    pointer-events: auto !important;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
}


/* ---------------------------------------------------------
       BACKDROP
       --------------------------------------------------------- */

.modal-backdrop,
.modal-backdrop.show {
    display: none !important;
    opacity: 0 !important;
    background: transparent !important;
    pointer-events: none !important;
}


/* ---------------------------------------------------------
       HEADER IMAGE
       --------------------------------------------------------- */

.property-valuation-header {
    position: relative;
    width: 100%;
    min-height: 260px;   
    background-image: url('../../img/propertyvaluation.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1 !important;
    filter: none !important;
    pointer-events: auto !important;
}

/* ---------------------------------------------------------
       DARK OVERLAY ONLY ON IMAGE
       --------------------------------------------------------- */

#propertyValuationModal .property-valuation-header::before {
    display: none !important;
    content: none !important;
}

.property-valuation-overlay {
    background: transparent !important;
}



/* =========================================================
       BACKDROP ONLY OUTSIDE POPUP
       ========================================================= */

.modal-backdrop {
    z-index: 1040 !important;
    background: #000000 !important;
    opacity: 0.65 !important;
}


/* Popup above backdrop */
#propertyValuationModal {
    z-index: 1055 !important;
}


/* =========================================================
       REMOVE PAGE SCROLL WHEN POPUP IS OPEN
       ========================================================= */

body.modal-open {
    overflow: hidden !important;
    padding-right: 0 !important;
}


/* =========================================================
       REMOVE MODAL SCROLLBAR
       ========================================================= */

#propertyValuationModal {
    overflow: hidden !important;
}

    #propertyValuationModal .modal-dialog {
        overflow: visible !important;
    }

    #propertyValuationModal .modal-content {
        overflow: hidden !important;
    }
/* ---------------------------------------------------------
       HEADER CONTENT
       --------------------------------------------------------- */

.property-valuation-header-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 55px 25px;
    opacity: 1 !important;
    filter: none !important;
    pointer-events: auto !important;
}


/* ---------------------------------------------------------
       CLOSE BUTTON
       --------------------------------------------------------- */

.property-valuation-close {
    position: absolute;
    top: 7px;
    right: 8px;
    z-index: 20 !important;
    width: 30px;
    height: 30px;
    padding: 0;
    margin: 0;
    border: 0 !important;
    background: transparent !important;
    color: #ffffff !important;
    font-family: Arial, sans-serif;
    font-size: 30px;
    font-weight: 300;
    line-height: 25px;
    cursor: pointer;
    opacity: 1 !important;
    pointer-events: auto !important;
    box-shadow: none !important;
}

    .property-valuation-close:hover {
        color: #ffffff !important;
        opacity: 0.75 !important;
    }

    .property-valuation-close:focus,
    .property-valuation-close:active {
        outline: none !important;
        box-shadow: none !important;
    }


/* ---------------------------------------------------------
       TITLE WITH LINES
       --------------------------------------------------------- */

.valuation-title-line {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-bottom: 27px;
}

.valuation-line {
    display: block;
    width: 83px;
    height: 2px;
    flex-shrink: 0;
    background: #ffffff;
}

.valuation-title-line h2 {
    margin: 0;
    padding: 0;
    color: #ffffff !important;
    font-family: Arial, sans-serif;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 1px;
    white-space: nowrap;
    text-align: center;
}


/* ---------------------------------------------------------
       MAIN HEADER TITLE
       --------------------------------------------------------- */

.property-valuation-header h1 {
    margin: 0 0 20px;
    padding: 0;
    color: #ffffff !important;
    font-family: Arial, sans-serif;
    font-size: 27px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 1px;
    text-align: center;
}


/* ---------------------------------------------------------
       HEADER DESCRIPTION
       --------------------------------------------------------- */

.property-valuation-header p {
    width: 100%;
    max-width: 580px;
    margin: 0;
    padding: 0;
    color: #ffffff !important;
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.9;
    text-align: left;
}


/* =========================================================
       FORM BODY
       ========================================================= */

.property-valuation-body {
    position: relative;
    z-index: 10 !important;
    width: 100%;
    padding: 22px 35px 15px;
    background: #d7d7d7 !important;
    opacity: 1 !important;
    filter: none !important;
    pointer-events: auto !important;
}


/* ---------------------------------------------------------
       FORM
       --------------------------------------------------------- */

#propertyValuationForm {
    position: relative;
    z-index: 11 !important;
    width: 100%;
    margin: 0;
    padding: 0;
    pointer-events: auto !important;
}


/* =========================================================
       FORM ROW
       ========================================================= */

.valuation-row {
    position: relative;
    display: flex;
    width: 100%;
    gap: 6px;
    margin: 0 0 8px;
    padding: 0;
    pointer-events: auto !important;
}


/* ---------------------------------------------------------
       FORM COLUMN
       --------------------------------------------------------- */

.valuation-col {
    position: relative;
    flex: 1;
    min-width: 0;
    pointer-events: auto !important;
}

.valuation-full {
    width: 100%;
    flex: 1;
}


/* =========================================================
       INPUTS
       ========================================================= */

.valuation-input {
    position: relative;
    z-index: 12 !important;
    display: block;
    width: 100%;
    height: 35px;
    padding: 5px 9px;
    border: 1px solid #eeeeee !important;
    border-radius: 4px !important;
    background: #f2f2f2 !important;
    color: var(--primary-bg);
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    opacity: 1 !important;
    filter: none !important;
    pointer-events: auto !important;
    cursor: text;
    outline: none;
}

    .valuation-input::placeholder {
        color: var(--primary-bg);
        opacity: 1 !important;
    }

    .valuation-input:focus {
        border-color: #999999 !important;
        background: #ffffff !important;
        color: var(--primary-bg);
        outline: none !important;
        box-shadow: none !important;
    }


/* =========================================================
       CITY / STATE / ZIP
       ========================================================= */

.valuation-city {
    flex: 2.15;
}

.valuation-state {
    flex: 0.6;
}

.valuation-zip {
    flex: 0.7;
}


/* =========================================================
       SUBMIT BUTTON
       ========================================================= */

.valuation-button-container {
    position: relative;
    z-index: 15 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 18px 0 16px;
    pointer-events: auto !important;
}


.valuation-submit-button {
    position: relative;
    z-index: 16 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 325px;
    height: 43px;
    padding: 5px 18px;
    border: 1px solid #071a2e !important;
    border-radius: 4px !important;
    background: var(--primary-bg);
    color: #ffffff !important;
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.5px;
    text-align: center;
    cursor: pointer;
    opacity: 1 !important;
    pointer-events: auto !important;
    box-shadow: none !important;
}

    .valuation-submit-button:hover {
        background: #173b63 !important;
        color: #ffffff !important;
    }

    .valuation-submit-button:focus,
    .valuation-submit-button:active {
        outline: none !important;
        box-shadow: none !important;
    }


/* =========================================================
       CONSENT
       ========================================================= */

.valuation-consent {
    position: relative;
    z-index: 15 !important;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
    margin: 2px 0 0;
    padding: 0;
    pointer-events: auto !important;
}


    /* CHECKBOX */

    .valuation-consent input[type="checkbox"] {
        position: relative;
        z-index: 16 !important;
        flex: 0 0 auto;
        width: 15px;
        height: 15px;
        margin: 1px 0 0;
        padding: 0;
        cursor: pointer;
        pointer-events: auto !important;
        accent-color: var(--primary-bg);
    }


    /* CONSENT TEXT */

    .valuation-consent label {
        position: relative;
        z-index: 16 !important;
        display: block;
        margin: 0;
        padding: 0;
        color: var(--primary-bg);
        font-family: Arial, sans-serif;
        font-size: 9px;
        font-weight: 600;
        line-height: 1.35;
        text-align: left !important;
        cursor: pointer;
        pointer-events: auto !important;
    }


/* =========================================================
       MOBILE
       ========================================================= */

@media (max-width: 768px) {

    #propertyValuationModal .modal-dialog {
        max-width: calc(100% - 30px);
        margin: 15px auto;
    }


    .property-valuation-header {
        min-height: 300px;
    }


    .property-valuation-header-content {
        padding: 30px 30px 25px;
    }


    .valuation-title-line {
        gap: 15px;
        margin-bottom: 22px;
    }


    .valuation-line {
        width: 50px;
    }


    .valuation-title-line h2 {
        font-size: 20px;
    }


    .property-valuation-header h1 {
        font-size: 23px;
        margin-bottom: 17px;
    }


    .property-valuation-header p {
        font-size: 14px;
        line-height: 1.7;
    }


    .property-valuation-body {
        padding: 20px;
    }
}


/* =========================================================
       SMALL MOBILE
       ========================================================= */

@media (max-width: 576px) {

    #propertyValuationModal .modal-dialog {
        max-width: calc(100% - 20px);
        margin: 10px auto;
    }


    .property-valuation-header {
        min-height: 315px;
    }


    .property-valuation-header-content {
        padding: 35px 20px 20px;
    }


    .valuation-title-line {
        gap: 8px;
        margin-bottom: 20px;
    }


    .valuation-line {
        width: 30px;
    }


    .valuation-title-line h2 {
        font-size: 16px;
        letter-spacing: 0.5px;
    }


    .property-valuation-header h1 {
        font-size: 20px;
        line-height: 1.3;
        margin-bottom: 15px;
    }


    .property-valuation-header p {
        font-size: 13px;
        line-height: 1.65;
    }


    .property-valuation-body {
        padding: 15px;
    }
    /* INPUTS */

    .valuation-row {
        gap: 5px;
        margin-bottom: 6px;
    }


    .valuation-input {
        height: 36px;
        font-size: 14px;
    }
    /* CITY STATE ZIP */

    .valuation-city {
        flex: 1.6;
    }

    .valuation-state {
        flex: 0.7;
    }

    .valuation-zip {
        flex: 0.7;
    }
    /* BUTTON */

    .valuation-button-container {
        margin: 15px 0 13px;
    }


    .valuation-submit-button {
        width: 100%;
        min-width: 0;
        height: 42px;
        font-size: 15px;
    }
    /* CONSENT */

    .valuation-consent label {
        font-size: 7px;
    }
}


