/*.body {*/
/*    background-color: #202124 !important;*/
/*    color: #eef0ff !important;*/
/*}*/
/*.form-section {*/
/*    background-color: #202124 !important;*/
/*    color: #eef0ff !important;*/
/*}*/
a:hover {
    color: #eef0ff!important;
}
#hs_cos_wrapper_module_170072388794224 header {
    /*background-image: url(https://go.3cubeproperty.co.za/hubfs/CDD-header-image.jpg);*/
    background-image: url('/img/CDD-header-image.webp');
    /*margin-bottom: -100px;*/
}

#hs_cos_wrapper_module_170072388794224 header img {
    position: absolute; /* Positions the logo absolutely within the header */
    top: 20%;  /* Adjust these values to position the logo */
    left: 85%; /* Adjust these values to position the logo */
    transform: translate(-50%, -50%); /* Centers the logo */
    z-index: 10; /* Ensures the logo is above the background image */
    width: 350px;
    height: auto;
}
.orange-box {
    min-height: 235px
}
.grey-box {
    max-height:300px;
}
.section-numbers {
    width: 40px;
    height: auto;
    margin-bottom: -10px;
}
.hs-input[type="date"] {
    padding-right: 20px; /* Adjust this value as needed */
    -webkit-appearance: none; /* Optional: for removing the default style in some browsers */
    /* Other styles as needed */
}

/*.hs-input[type="date"]::-webkit-calendar-picker-indicator {*/
/*    display: none;*/
/*}*/
/*.hs-input[type="date"] {*/
/*    position: relative;*/
/*    -webkit-appearance: none;*/
/*    appearance: none;*/
/*    cursor: pointer;*/
/*}*/

/*.hs-input[type="date"]::after {*/
/*    font-family: "Font Awesome 5 Free"; !* Adjust based on the version of Font Awesome you're using *!*/
/*    content: '\f073'; !* This is an example, use the Unicode for the specific icon you want *!*/
/*    color: #F5821F;*/
/*    position: absolute;*/
/*    right: 10px;*/
/*    top: 50%;*/
/*    transform: translateY(-50%);*/
/*    !*pointer-events: none;*!*/
/*}*/

#control-ownership-structure img {
    max-width: 100%; /* Ensure images are responsive and do not overflow their container */
    height: auto; /* Maintain aspect ratio */
    margin: auto; /* Center images within the flex container */
}

.btn-inverted-dark {
    background-color: #202124 !important;
    color: #F5821F !important;
    padding: 10px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 500ms ease;
}

.btn-inverted-dark:hover {
    background-color: #F5821F !important;
    color: #202124 !important;
}

.floating-button {
    position: fixed;
    right: 25%;
    bottom: 10px;
    z-index: 1000;
}

.text-disabled {
    display: none;
}

.error-message {
    background-color: #dc3545;
    color: #FFF;
    font-size: 13px;
    margin-top: -12px;
    margin-bottom: 10px;
    padding: 5px;
}

.page-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.page-loader {
    border: 5px solid #F5821F;
    border-top: 5px solid #f3f3f3;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    /* Center the loader */
    transform: translate(-50%, -50%);
    position: absolute;
    top: 50%;
    left: 50%;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.mt-4 {
    margin-top: 4rem;
}

.mr-0 {
    margin-right: 0;
}

.mr-1 {
    margin-right: 1rem;
}

.mr-2 {
    margin-right: 2rem;
}

.mr-3 {
    margin-right: 3rem;
}

.mr-4 {
    margin-right: 4rem;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mb-4 {
    margin-bottom: 4rem;
}

.ml-0 {
    margin-left: 0;
}

.ml-1 {
    margin-left: 1rem;
}

.ml-2 {
    margin-left: 2rem;
}

.ml-3 {
    margin-left: 3rem;
}

.ml-4 {
    margin-left: 4rem;
}

.m-0 {
    margin: 0;
}

.m-1 {
    margin: 1rem;
}

.m-2 {
    margin: 2rem;
}

.m-3 {
    margin: 3rem;
}

.m-4 {
    margin: 4rem;
}

.my-0 {
    margin-top: 0;
    margin-bottom: 0;
}

.my-1 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.my-2 {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.my-3 {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.my-4 {
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.mx-0 {
    margin-left: 0;
    margin-right: 0;
}

.mx-1 {
    margin-left: 1rem;
    margin-right: 1rem;
}

.mx-2 {
    margin-left: 2rem;
    margin-right: 2rem;
}

.mx-3 {
    margin-left: 3rem;
    margin-right: 3rem;
}

.mx-4 {
    margin-left: 4rem;
    margin-right: 4rem;
}

.d-flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

.gap-1 {
    gap: 1rem;
}

.text-danger {
    color: #dc3545;
}

.text-white {
    color: #fff;
}

.error-message-margins {
    font-family: sans-serif;
    margin: -10px 0 10px 0;
}

/* Modal Overlay */
.modal-backdrop.show {
    opacity: 0.5;
}

/* Modal Styling */
.modal {
    position: fixed; /* Fixed to viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center; /* Centers the modal vertically */
    justify-content: center; /* Centers the modal horizontally */
    z-index: 1050; /* High z-index to overlay content */
    background-color: rgba(0, 0, 0, 0.5); /* Dimming effect */
    animation: fadeIn 500ms; /* Fade-in effect */
    overflow-y: auto; /* Allows scrolling if modal content is long */
}

.modal-dialog {
    width: 800px;
    margin: 600px;
    padding: 30px 50px;
    background-color: #202124; /* Modal background */
    color: #eef0ff; /* Font color */
    border: 1px solid #F5821F; /* Border around the modal content */
    border-radius: 5px;
}

.close-modal {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* Animation for fade-in */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 991px) {
    .gap-1 {
        gap: 0;
    }

    .upload-button-container {
        margin:-10px 0 10px 0;
    }

    .floating-button {
        right: 0;
    }

    .modal-dialog {
        width: 100%;
        margin: 10px;
    }

    #hs_cos_wrapper_module_170072388794224 header img {
        display:none;
    }

    .hide-on-mobile {
        display:none;
    }
}

