@font-face {
    font-family: 'Fellix';
    src: url("/css/fonts/Fellix-Bold.woff") format('woff'), url("/css/fonts/Fellix-Bold.otf") format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Fellix';
    src: url("/css/fonts/Fellix-Regular.woff") format('woff'), url("/css/fonts/Fellix-Regular.otf") format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Fellix';
    src: url("/css/fonts/Fellix-SemiBold.woff") format('woff'), url("/css/fonts/Fellix-SemiBold.otf") format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
}


body {
    font-family: "Fellix", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-optical-sizing: auto;
    margin: 0;
    display: flex;
    flex-direction: column;
    background-color: #fcf5eb;
    color: #314D4D;
    height: 100%;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensure the wrapper covers the full height of the viewport */
}

header {
    display: flex;
    justify-content: left;
    align-items: flex-start;
    flex-direction: row;
    padding: 10px;
    margin-bottom: 40px;  
    height: 100px;
}
@media (max-width: 768px) {
    header {
        margin-bottom: 0px;
    }
}

footer {
    background-color: #314d4d;
    display: flex;
    font-size: 11px;
    color: #c1c1c1;
    padding: 20px;
    margin-top: 60px;
    height: 300px;
}

#footer {
}

footer a {
    color: #c1c1c1;
}

.container {    
    justify-content: flex-start; /* Change from center to flex-start */
    align-items: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.box {
    margin: 20px;
    padding: 4em;
    border-radius: 4px;
    width: 750px;
    background-color: #fff;
    border-radius: 32px;
    opacity: 0;
}

@media (max-width: 768px) {
    .progress-container, .box {
        width: 85%; /* Use percentage for better mobile scaling */
        padding: 20px;
    }
    .box {
        padding: 40px 20px;
    }
}

p.large {
    font-size: 20px;
}

.page {
    
}

.befor-image {
    display: inline-block;
    height: 75px;
}

.page-heading-block {
    padding-bottom: 5px;
}

.page-header {
    font-family: "Fellix";
    font-size: 40px;
    font-weight: 600;
    line-height: 1.1;
    margin: 0px;
    padding-bottom: 20px;
}

@media (max-width: 768px) {
    .page-header {
        font-size: 35px;
    }
}

.page-description.has-value {
    margin-bottom: 30px;
}

.version2 .page-description {
   /* text-align: center*/
}

.version2 .page-header {
    /* text-align: center*/
}

#questions {
    margin-bottom: 20px;
    min-height: 110px;
}


.version2 #questions {
    /* text-align: center*/
}

.question-block {
    padding: 0px 0px 10px 0px;
}

.question-hidden {
    display: none;
}

.question-container {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    padding-top: 20px;
    padding-bottom: 10px;
    width: 100%;
}

.required-indicator {
    position: absolute;
    inset: 17px -19px auto auto;
    z-index: 1;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    border-radius: 50%;
    background-color: rgb(243, 243, 243);
    color: rgb(55, 53, 47);
    font-size: 14px;
    font-weight: 900;
    text-align: center;
    cursor: pointer;
    display: none;
}

.question-text {
    font-size: 1.1rem;
    font-weight: 400;
    display: block;
}

.question-description {
    font-size: .9rem;
    font-weight: 400;
    display: block;
    padding-bottom: 20px;
    color: #909090;
}


input, textarea {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #CCC;
    font-weight: 400;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    font-family: "Fellix", sans-serif;
}


.input-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

input.textbox, textarea {
    height: 40px;
    padding: 10px 10px;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 1px 0px, rgba(61, 59, 53, 0.16) 0px 0px 0px 1px, rgba(61, 59, 53, 0.08) 0px 2px 5px 0px;
    border: 0px;
    border-radius: 5px;
    outline: none;
    background-color: rgb(255, 255, 255);
    color: rgb(55, 53, 47);
    caret-color: rgb(55, 53, 47);
    margin-bottom: 5px;
    box-sizing: border-box;
    min-width: 250px;
}


.version2 input.textbox, textarea {
    padding: 10px 15px;
}

@media (max-width: 768px) {
    input.textbox, textarea {
        width: 100%;
    }
 }

.icon-wrapper {
    position: relative;
    display: inline-block;
}

textarea {
    height: 200px;
    padding: 10px;
    width: 100%;
    font-family: "Fellix", sans-serif;
}

    input.textbox:hover {
        box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 1px 0px, rgba(61, 59, 53, 0.16) 0px 0px 0px 1px, rgba(61, 59, 53, 0.08) 0px 3px 9px 0px, rgba(61, 59, 53, 0.08) 0px 2px 5px 0px;
    }

    input.textbox.other {
        display: none;
    }

    input.date {
        cursor: pointer;
    }

    .multiple-choice-container {
        position: relative;
        display: inline-block;
        padding: 9px 10px;
        font-size: 1rem;
        line-height: 1.125;
        box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 1px 0px, rgba(61, 59, 53, 0.16) 0px 0px 0px 1px, rgba(61, 59, 53, 0.08) 0px 2px 5px 0px;
        border-radius: 5px;
        background-color: rgb(255, 255, 255);
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        margin-bottom: 10px;
    }

    .multiple-choice-option.selected .multiple-choice-container {
        box-shadow: #183A3A 0px 0px 0px 2px, rgba(61, 59, 53, 0.16) 0px 0px 0px 1px !important;
    }

    .multiple-choice-inner {
        display: flex;
        flex: 1 1 0%;
        width: 100%;
    }

        .multiple-choice-inner input {
            position: absolute;
            inset: 0px;
            appearance: radio;
            opacity: 0;
            width: 100%;
            height: 100%;
            cursor: pointer;
        }


    .buttons {
        display: flex;
        min-width: 0px;
        justify-content: space-between;
        align-items: center;
        width: 100%; /* Ensure the container spans the full width */
        gap: 10px; /* Add spacing between buttons */
    }

    .version2 .buttons {
        /*align-items: center;
    justify-content: center;*/
    }




    button {
        display: inline-flex;
        -webkit-box-align: center;
        align-items: center;
        -webkit-box-pack: center;
        justify-content: center;
        position: relative;
        max-width: 100%;
        border: 0px;
        border-radius: 5px;
        cursor: pointer;
        outline: none;
        white-space: nowrap;
        transition: color 100ms ease-in 0s;
        text-align: left;
        line-height: 18px;
        color: rgb(255, 255, 255);
        background: rgb(0, 0, 0);
        /*box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 1px 0px, rgba(61, 59, 53, 0.16) 0px 0px 0px 1px, rgba(61, 59, 53, 0.08) 0px 2px 5px 0px;*/
        height: 40px;
        padding: 0px 30px;
        font-size: 16px;
        font-weight: 600;
        background-color: #FF7628;
        color: #013941;
        text-align: center;
        background-color: #00d47e;
        border-radius: 30px;
        padding: 15px 45px;
        font-family: Fellix, sans-serif;
        font-size: 16px;
        font-weight: 600;
        line-height: 20px;
        text-decoration: none;
        transition: all .2s;
    }

        button:hover {
            background: rgb(0 0 0 / 71%);
            box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 1px 0px, rgba(61, 59, 53, 0.16) 0px 0px 0px 1px, rgba(61, 59, 53, 0.08) 0px 2px 5px 0px;
        }

        button.back {
            background-color: #FFF;
            border: 1px solid #CCC;
            color: #000;
            order: 1;
        }

        button.close {
            background-color: #000;
            color: #fff;
        }

        button.next, button.finish {
            order: 2;
            margin-left: auto;
            background-color: #FF7628;
            color: #013941;
            text-align: center;
            background-color: #00d47e;
            border-radius: 30px;
            padding: 15px 45px;
            font-family: Fellix, sans-serif;
            font-size: 16px;
            font-weight: 600;
            line-height: 20px;
            text-decoration: none;
            transition: all .2s;
        }

    @media (max-width: 768px) {
        .buttons {
            flex-direction: column; /* Stack buttons vertically */
            align-items: stretch; /* Buttons take full width */
            margin-top: 50px;
        }

        .button.back {
            order: 2; /* Back button comes first */
        }

        .button.next, button.finish {
            order: 1; /* Next button comes below back button */
            width: 100%;
        }
    }

.button.callus {
    background-color: #ffdff4;
    color: #013941;
    text-align: center;
    border-radius: 30px;
    padding: 15px 45px;
    font-family: Fellix, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    text-decoration: none;
    transition: all .2s;
    display: block;
    margin-top: 20px;
    max-width: 200px;
}

@media (max-width: 768px) {
    .button.callus {
        max-width: 100%;
    }
}


    .version2 button.next {
        /*min-width: 200px;*/
    }

    button.submit {
        background-color: #2aa838;
    }

    #debug {
        font-size: 10px;
        margin-top: 40px;
        display: none;
    }

.validation-error {
    display: none;
    -webkit-box-pack: justify;
    justify-content: space-between;
    padding: 5px;
    font-size: 12px;
    line-height: 15px;
    color: #fff;
    border: 1px solid rgb(178, 1, 16);
    background-color: rgba(178, 1, 16, .5);
    max-width: 200px;
}

    .easepick-wrapper {
        z-index: 1;
    }

    input.address {
        margin-bottom: 30px;
        padding: 10px;
        width: 100%;
        height: 50px;
    }

    .pac-item {
        padding: 10px;
        cursor: pointer;
    }

    .important {
        display: inline-block;
        background: linear-gradient(to right, #f3aaa5 0%, #ee8981 100%);
        padding: 10px;
        font-weight: 600;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    @keyframes fadeOut {
        from {
            opacity: 1;
        }

        to {
            opacity: 0;
        }
    }

    .fade-in-element {
        opacity: 1;
        animation: fadeIn 1s ease-in-out;
    }


    .fade-out-element {
        opacity: 0;
        animation: fadeOut 1s ease-in-out;
    }

.date-icon {
    position: absolute;
    right: 15px;
    top: 20px;
    transform: translateY(-50%);
    color: #CCC;
    pointer-events: none;
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 25px;
    transform: translateY(-50%);
    color: #CCC;
    pointer-events: none;
}

.address-icon {
    position: absolute;
    right: 20px;
    top: 25px;
    transform: translateY(-50%);
    color: #CCC;
    pointer-events: none;
}

.search-results-container {
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
    margin-top: 5px;
    background: #fff;
    position: absolute; /* For positioning below the input */
    z-index: 1000;
    width: 100%;
    border: 1px solid #eee;
    filter: drop-shadow(8px 6px 10px #828282);
}

    .customer-lookup {
        border: 1px solid #eee;
        filter: drop-shadow(8px 6px 10px #828282);
    }

    .custom-suggestion {
        padding: 10px;
        border-bottom: 1px solid #eee;
        cursor: pointer;
    }

    .textbox.occupation {
        width: 100%;
        height: 50px;
    }

    .occupation .occupation-description {
        font-size: 16px;
    }

    .occupation .occupation-category {
        display: none;
    }

    .occupation .occupation-industry {
        display: none;
    }

    .textbox.customer {
        width: 100%;
        height: 50px;
    }

    .customer .customer-name {
        font-size: 16px;
    }

    .custom-suggestion:hover {
        background: #f0f0f0;
    }

    .search-choice {
        max-width: 100%; /* Prevent the div from exceeding the container's width */
        word-wrap: break-word; /* Force long words or URLs to wrap */
        overflow-wrap: break-word; /* Ensures proper wrapping for modern browsers */
        overflow: hidden; /* Prevent content overflow if necessary */
        padding: 10px; /* Optional: Add some padding */
        box-sizing: border-box; /* Include padding in the element's width */

        background-color: #dbeaf4;
        border-radius: 15px;
        padding: 20px 20px;
        margin-top: 10px;
    }

        .search-choice .occupation-description {
            font-weight: bold;
            padding-bottom: 10px;
        }

        .search-choice .occupation-anzsicDescription {
        }

        .search-choice .customer-name {
            font-weight: bold;
            padding-bottom: 10px;
        }

    .no-results {
        padding: 10px;
        color: #888;
        text-align: left;
        font-weight: 600;
    }

    .error {
        padding: 10px;
        color: red;
        text-align: center;
    }

    .calendar > .days-grid > .day {
        cursor: pointer;
    }

.free-text-toggle {
    padding: 10px 0px 20px;
}

.free-text-toggle a {
    color: #314D4D;
    font-weight: normal;
}

a.toggle-free-text-link {
    color: #314D4D;
    font-weight: normal;
}

/* Progress Bar Styles */
.progress-container {
    width: 750px; /* Match the width of the .box container */
    margin: 0 auto; /* Center the container */
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .progress-container {
        width: 90%;
        padding: 0 20px;
    }
}

.progress-bar {
    height: 8px;
    background-color: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background-color: #00d47e; /* Primary color, adjust as needed */
    width: 0%; /* Will be updated via JavaScript */
    transition: width 0.5s ease-in-out;
    border-radius: 4px;
}

.progress-text {
    text-align: right;
    font-size: 14px;
    margin-top: 5px;
    color: #666;
    display: none;
}

/* Add animation for smoother transitions */
@keyframes progressAnimation {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 50px 50px;
    }
}

/* Optional: Add a striped animation for a more dynamic look */
.progress-fill.animated {
    background-image: linear-gradient( 45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent );
    background-size: 50px 50px;
    animation: progressAnimation 2s linear infinite;
}

.address-history-text {
    padding-bottom: 10px;
}