/* Start Layout Elements */
    .nhsuk-grid-full {
        padding: 0 15px;
    }
    #content-header {
        margin-left: 0;
        padding-left: 0;
        position: absolute;
        margin-left: 65px;
    }
    .nhsuk-navigation-container {
        padding-top: 0px;
        padding-bottom: 5px;
    }
    .clearBreak {
        float: none;
        clear: both;
    }
    .nhsuk-card__content--primary {
        padding-right: 30px;
        padding-bottom: 0;
    }
    .left_col {
        width: 50% !important;
    }
    .right_col {
        width: 50% !important;
    }
    .nhsuk-card {
        border-radius: 25px;
    }
/* End Layout Elements */


/* Start Branding Colours based on Sector Set */
    .nhsuk-header {
        background-color:slategray;
    }
    hr.blue {
        border: 2px solid slategray;
        margin: 15px 0 25px 0;
    }
    .nhsuk-footer-container {
        border-top: 5px solid slategray;
    }
/* End Branding Colours based on Sector Set */


/* Start Typograghy Styles */
    #content-header h1,
    #content-header h2 {
        color: #ffffff;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    .nhsuk-header__navigation-item a {
        color: #ffffff;
        font-size: 0.9em;
        padding-top: 3px;
        padding-bottom: 5px;
    }
    h4.subsection_title {
        margin-bottom: 0;
        padding-bottom: 0;
    }
/* End Typograghy Styles */


/* Start Pagination Styles */
    .pagination {
        display: inline-block;
    }
    .pagination a {
        color: black;
        float: left;
        padding: 8px 16px;
        text-decoration: none;
        border: 1px solid #ddd;
    }
    .pagination a.active {
        background-color: #007F3B;
        color: white;
        border: 1px solid #007F3B;
    }
    .pagination a:hover:not(.active) {
        background-color: #ddd;
    }
    .pagination a:first-child {
        border-top-left-radius: 5px;
        border-bottom-left-radius: 5px;
    }
    .pagination a:last-child {
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
    }
/* End Pagination Styles */

    
/* Start Edit Buttons */    
    .edit-mode {
        display: none;
    }
    .editable .edit-mode {
        display: inline;
    }
    .view-mode {
        display: inline;
    }
    .editable .view-mode {
        display: none;
    }
    .mode-toggle {
        cursor: pointer;
        }
    .mode-toggle.active {
        cursor: pointer;
    }
    .content-section-hidden {
        display: none !important;
    }
    .floating-mode-toggle {
        position: fixed;
        bottom: 50%;
        right: 20px;
        cursor: pointer;
        z-index: 9999;
        pointer-events: auto;
    }
    .floating-mode-toggle.disabled,
    .floating-mode-toggle[disabled] {
        background-color: #ccc;
        cursor: not-allowed;
        opacity: 0.6;
        pointer-events: none;
    }

    @media print {
        .floating-mode-toggle {
            display: none;
        }
    }
/* End Edit Buttons */


/* TOC Styles Start */
    .toc-columns {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
    .toc-columns ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .toc-columns ul li {
        margin-bottom: 10px;
    }
/* TOC Styles End */


/* Start Edit Block */
    .redwrap {
        border: 2px solid red;
        border-radius: 5px;
        padding: 10px;
        background-color: #cccccc;
        margin-bottom: 25px;
    }
    h2.edit_section_title {
        color: #ddd;
    }
    h4.edit_section_title {
        color: #ddd;
        margin-top: 25px;
    }
    #ref_pair {
        border: 1px dotted black;
        padding: 0 5px;
    }
/* End Edit Block */


/* Start Edit Records Table */
    .record_container {
        table-layout: fixed;
        width: 100%;
        margin-bottom: 0;
    }
    .record_container thead {
        background-color: #005EB8;
        color: #ffffff;
    }
    .record_container, .record_container th, .record_container td {
        border: 1px solid black;
        border-collapse: collapse;
        padding: 15px;
    }
    .head_1st_col {}
    .head_2nd_col {
        text-align: right;
    }
    .records_1st_col {
        vertical-align: middle;
    }
    .records_2nd_col {
        text-align: right;
    }
/* End Edit Records Table */


/* Start HR Styles */
    hr.blue_hashed {
        border: 2px dashed #005EB8;
        margin: 15px 0 25px 0;
    }
    hr.sep_white {
        border: 1px solid #ffffff;
        margin-top: 25px;
        margin-bottom: 25px;
    }
    hr.pi_type_sep {
        border-top: 1px solid #ffffff;
    }
    .dashed-divider {
        border: none;
        border-top: 2px dashed #005EB8;
        margin: 2rem 0;
        width: 50%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
/* End HR Styles */


/* Start Form Styles */
    .form_label_input {
        width: 50%;
        float: left;
        padding-top: 7px;
        padding-right: 15px;
    }

    .form_field_input {
        width: 50%;
        float: left;
        padding-left: 15px;
    }

    .form_label_textarea {
        width: 50%;
        float: left;
        padding-top: 5px;
        padding-right: 15px;
    }

    .form_field_textarea {
        width: 50%;
        float: left;
        padding-left: 15px;
    }

    .form_label_radioselect {
        width: 50%;
        float: left;
        padding-top: 7px;
        padding-right: 25px;
    }

    .form_field_radioselect {
        width: 50%;
        float: left;
        padding-left: 15px;
    }

    .form_label_checkboxes {
        width: 50%;
        float: left;
        padding-top: 23px;
        padding-right: 15px;
    }

    .form_field_checkboxes {
        width: 50%;
        float: left;
        padding-left: 15px;
    }
    
    .nhsuk-form-group {
        margin-top: 15px;
    }
    
    .required label::after {
        content: " *";
        color: red;
    }
    
    .checkbox_left_col {
        width: 50%;
        float: left;
        padding-top: 15px;
    }

    .checkbox_right_col {
        display: inline-block;
        width: 50%;
        float: left;
    }
/* End Form Styles */


/* Start Button Styles */
    .button_wrap {
        border-top: 1px solid #ffffff;
        padding-top: 15px;
        margin-top: 25px;
    }
    .button_one {
        width: 30%;
        float: left;
        text-align: left;
        padding-top: 1px;
    }
    .button_two {
        width: 70%;
        float: left;
        text-align: right;
    }
    .nhsuk-button a {
        color: #ffffff;
        text-decoration: none;
    }
    .nhsuk-button {
        margin-bottom: 0;
    }
    .button--small {
        font-size: 0.875rem;
        padding: 0.4em 0.8em;
        margin-top: -10px;
    }
    .nhsuk-button--small {
        font-size: 16px;
        line-height: 1.5;
        padding: 8px 12px;
        margin-bottom: 28px;
        background-color: #009639;
        color: #fff;
        border: 2px solid transparent;
        border-radius: 4px;
        box-shadow: 0 4px 0 #00662F;
        text-align: center;
        cursor: pointer;
        display: inline-block;
    }
    .nhsuk-button--small:hover {
        background-color: #009639;
    }
    .nhsuk-button--small:focus {
        background: #ffeb3b;
        color: #00662F;
        outline: none;
        box-shadow: 0 4px 0 #00662F;
    }
    .nhsuk-button--small:active {
        background: #009639;
        box-shadow: none;
        top: 4px;
    }
    .nhsuk-button a {
        color: #ffffff;
        text-decoration: none;
    }

    /* Responsive adjustments */
    @media (max-width: 40.0525em) {
        .nhsuk-button--small,
        .nhsuk-button--small-warning {
        padding: 6px 12px;
        }
    }
/* End Button Styles */


/* Start Evidence Modal Popup Styles */
    .nhsuk-modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        z-index: 1000;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .nhsuk-modal__content {
        position: relative;
        background: #fff;
        padding: 16px;
        border-radius: 4px;
        max-width: 90%;
        max-height: 90%;
        overflow: auto;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
    .nhsuk-modal__image {
        max-width: 100%;
        max-height: 80vh;
        display: block;
        margin: 0 auto;
    }
    .nhsuk-modal__close {
        position: absolute;
        top: 8px;
        right: 8px;
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        color: #005eb8;
    }
    .nhsuk-modal__close:hover {
        color: #003087;
    }
/* End Evidence Modal Popup Styles */


/* Start Table Styles */

.uof_title {
    text-align: center;
    background-color: #cccccc;
}


/* End Table Styles */



.staff-only-fields,
.patient-only-fields,
.witness-only-fields,
.other-only-fields {
    display: none;
}

.staff-field-wrap,
.patient-field-wrap,
.witness-field-wrap,
.person-other-wrap {
    display: none;
}

#restraint_team,
#restraint_team th,
#restraint_team td {
    border: 1px solid black;
    border-collapse: collapse;
    padding: 15px;
}

#uof_more_information,
#uof_more_information th,
#uof_more_information td {
    border: 1px solid black;
    border-collapse: collapse;
    padding: 15px;
}

#injuries,
#injuries th,
#injuries td {
    border: 1px solid black;
    border-collapse: collapse;
    padding: 15px;
}

#ii10_restraint_team,
#ii10_restraint_team th,
#ii10_restraint_team td {
    border: 1px solid black;
    border-collapse: collapse;
    padding: 15px;
}

#post_incident_reviews,
#post_incident_reviews th,
#post_incident_reviews td {
    border: 1px solid black;
    border-collapse: collapse;
    padding: 15px;
}      
        
#prohibited_items,
#prohibited_items th,
#prohibited_items td {
    border: 1px solid black;
    border-collapse: collapse;
    padding: 15px;
}

#uof_more_inf,
#uof_more_inf th,
#uof_more_inf td {
    border: 1px solid black;
    border-collapse: collapse;
    padding: 15px;
}

#property_disclaimers,
#property_disclaimers th,
#property_disclaimers td {
    border: 1px solid black;
    border-collapse: collapse;
    padding: 15px;
}

#property_damage, #property_damage th, #property_damage td, #trust_property_damage, #trust_property_damage th, #trust_property_damage td, #prohibited_items_weapons, #prohibited_items_weapons th, #prohibited_items_weapons td, #prohibited_items_drugs, #prohibited_items_drugs th, #prohibited_items_drugs td, #prohibited_items_stolen_property, #prohibited_items_stolen_property th, #prohibited_items_stolen_property td, #prohibited_items_other, #prohibited_items_other th, #prohibited_items_other td {
    border: 1px solid black;
    border-collapse: collapse;
    padding: 15px;
}






.force-hidden {
    display: none !important;
}

.inline-hint-msg {
    color: red;
}

.small-warning {
    background-color: red;
    font-size: medium;
    padding: 5px;
}

.small-warning {
    background-color: red;
    font-size: medium;
    padding: 5px;
}

.small-warning:hover {
    background-color: red;
    font-size: medium;
    padding: 5px;
}

.feedback_message {
    font-weight: bold;
    color: red;
    font-family: "Frutiger W01", "Arial", sans-serif !important;
    font-size: 20px;
}

#content-header {
    margin-left: 0;
    padding-left: 0;
    position: absolute;
    margin-left: 65px;
}

#content-header h1,
#content-header h2 {
    color: #ffffff;
    margin-bottom: 0;
    padding-bottom: 0;
}

.nhsuk-navigation-container {
    padding-top: 0px;
    padding-bottom: 5px;
}

.nhsuk-header__navigation-item a {
    color: #ffffff;
    font-size: 0.9em;
    padding-top: 3px;
    padding-bottom: 5px;
}

.nhsuk-grid-full {
    padding: 0 15px;
}

.feedback_message {
    font-weight: bold;
    color: red;
    font-family: "Frutiger W01", "Arial", sans-serif !important;
    font-size: 20px;
}

.force-hidden {
    display: none !important;
}

.inline-hint-msg {
    color: red;
}

.small-warning {
    background-color: red;
    font-size: medium;
    padding: 5px;
}

.small-warning {
    background-color: red;
    font-size: medium;
    padding: 5px;
}

.small-warning:hover {
    background-color: red;
    font-size: medium;
    padding: 5px;
}

.feedback_message {
    font-weight: bold;
    color: red;
    font-family: "Frutiger W01", "Arial", sans-serif !important;
    font-size: 20px;
}



.table_form_inner, 
.table_form_inner tr, 
.table_form_inner td {
    border: 0px !important;
    margin: 0px !important;
    padding: 0px !important;
}
.table_form_inner tr td:first-child {
    width: 50%;
    text-align: justify !important;
    padding-right: 10px !important;
}
.table_form_inner tr td:nth-child(2) {
    width: 50%;
    padding-left: 10px !important;
}

.del-invest-button {
    padding-top: 5px;
    padding-bottom: 5px;
}


/* START ANALYTICS RELATED STYLES */
    .tooltip-icon {
        cursor: pointer;
        font-size: 30px;
    }

    .tooltip-icon:hover + .tooltip-content {
        display: block;
        opacity: 1;
    }
    .stat_cell {
        vertical-align: middle;
        padding-right: 45px;
    }
    .stat_value {
        vertical-align: middle;
    }
/* END ANALYTICS RELATED STYLES