﻿
#CRM .organisation-panel .details .tabbed-table-container {
    display: flex;
    gap: 60px;
}

@media (max-width: 1600px){
    #CRM .organisation-panel .details .tabbed-table-container {
        flex-direction: column;
    }
}

#CRM .organisation-panel .details .tabbed-table {
}

    #CRM .organisation-panel .details .tabbed-table .tab {
        display: none;
    }

        #CRM .organisation-panel .details .tabbed-table .tab.active {
            display: block;
        }

    #CRM .organisation-panel .details .tabbed-table .tab-buttons {
        display: flex;
    }

        #CRM .organisation-panel .details .tabbed-table .tab-buttons .tab-button button {
            border: 0px;
            padding: 10px;
            margin-right: 5px;
            cursor: pointer;
            background: none;
            text-decoration: none;
        }


        #CRM .organisation-panel .details .tabbed-table .tab-buttons .tab-button .tab-active-line {
            height: 2px;
            background-color: black;
            width: 100%;
        }

        #CRM .organisation-panel .details .tabbed-table .tab-buttons button.active {
            /*text-decoration: underline;*/
        }

    #CRM .organisation-panel .details .tabbed-table .tabbed-tabs {
        border-collapse: collapse;
        width: 100%;
        margin-top: 10px;
    }
        #CRM .organisation-panel .details .tabbed-table .tabbed-tabs .tab-container .tab-loader {
            display: block;
            width: 500px;
            height: 200px;
            text-align: center;
            padding-top: 52px;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #fff;
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 3;
        }
        /*        #CRM .organisation-panel .details .tabbed-table .tabbed-tabs .tab-table thead .tab-table-itm {
            display: flex;
            border-bottom: 1px solid #d9d9d9;
            padding: 3px;
            cursor: pointer;
        }*/
        #CRM .organisation-panel .details .tabbed-table .tabbed-tabs .tab-table {
            width: 500px;
            height: 200px;
            table-layout: fixed;
        }

            #CRM .organisation-panel .details .tabbed-table .tabbed-tabs .tab-table .it-table .it-cont .it-head {
                height: 40px;
                
            }



                #CRM .organisation-panel .details .tabbed-table .tabbed-tabs .tab-table .it-table .it-cont .it-head > div {
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    border-right: none;
                }

                #CRM .organisation-panel .details .tabbed-table .tabbed-tabs .tab-table .it-table .it-cont .it-head .it-header {
                    font-weight: bold;
                    
                }

            #CRM .organisation-panel .details .tabbed-table .tabbed-tabs .tab-table .it-table .it-cont .it-body tr {
                height: 28px;
            }

            #CRM .organisation-panel .details .tabbed-table .tabbed-tabs .tab-table .it-table .it-cont .it-body tr td {
                border-right: none;
            }

        #CRM .organisation-panel .details .tabbed-table .tabbed-tabs .tab-table th,
        #CRM .organisation-panel .details .tabbed-table .tabbed-tabs .tab-table td {
            width: 25%; /* Four equal columns */
            overflow-wrap: break-word; /* Wrap text if needed */
        }

.tab-table-head-row {
    display: flex;
    border-bottom: 1px solid #d9d9d9;
    padding: 3px;
    cursor: pointer;
}

    .tab-table-head .t span{
        font-size: 15px;
    }
    /*.tab-table-head {
    overflow: unset;
}

.tab-table-head .tab-table-itm td {
    padding-right: 11px;
}

.tab-table-head .opt-t {
        position: relative;
        z-index: 2;
        width: 100%;
        height: 100%;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }

.tab-table-head .d.filter {
        padding: 0;
    }

.tab-table-head .d.filter .opt-t {
            border: 1px solid #ddd;
            border-bottom: none;
            border-radius: 3px 3px 0 0;
            background-color: #fff;
        }

.tab-table-head .d.filter.sc .opts, .tabbed-table .tab-table-head .d.filter.c .opts {
            width: 150px;
        }

.tab-table-head .d.filter.sc .opts label, .tabbed-table .tab-table-head .d.filter.c .opts label {
                font-size: 10px;
                margin: 0;
                margin-left: 5px;
            }

        .tab-table-head .d.filter .opts {
            display: block;
        }

.tab-table-head .d.filter .opts > div {
                padding: 5px 5px;
                display: flex;
                align-items: center;
            }

.tab-table-head .d.filter .opts > div input {
                    border-radius: 3px;
                }

.tab-table-head .d.filter .opts > div label {
                    margin: 0;
                    margin-left: 0px;
                    margin-left: 5px;
                }

.tab-table-head .d.act .opt-t .sort {
        color: #00c3ff;
    }

*/
    .tab-table-itm {
        display: flex;
        border-bottom: 1px solid #d9d9d9;
        padding: 3px;
        cursor: pointer;
    }

    .tab-table-itm .th {
        position: absolute;
        top: 1px;
        left: 1px;
        bottom: 1px;
        width: 3px;
    }

    .tab-table-itm td {
        position: relative;
        font-size: 0.8em;
    }

        .tab-table-itm td span {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            font-size: 14px;
        }

        .tab-table-itm td.nr {
            padding: 5px 12px;
            color: #8a8a8a;
        }

        .tab-table-itm td.f {
            flex: 0 0 5px;
        }

    .tab-table-itm.active {
        background-color: #f2f2f2;
    }

    .tab-table-itm td.num, .tab-table-itm td.form {
        /*flex: 1 1 auto;*/
        overflow: hidden;
        display: flex;
        align-items: center;
    }

        .tab-table-itm td.num .p, .tab-table-itm td.form .p {
            position: relative;
            padding-left: 10px;
            overflow: hidden;
            flex: 0 0 200px;
        }

            .tab-table-itm td.num .p.jn, .tab-table-itm td.form .p.jn {
                flex: 0 0 95px;
                /*                    text-align: center;
                      padding-left: 0;*/
            }

            .tab-table-itm td.num .p .fo, .tab-table-itm td.form .p .fo {
                font-weight: 600;
                text-overflow: ellipsis;
                width: 100%;
                float: left;
                color: #595959;
            }

    .tab-table-itm td.num {
        flex: 0 0 95px;
    }

    .tab-table-itm td.form {
        flex: 0 0 200px;
    }

    .tab-table-itm td.t {
        flex: 1 1 auto;
        overflow: hidden;
        display: flex;
        align-items: center;
    }

        .tab-table-itm td.t .p {
            position: relative;
            padding-left: 10px;
            overflow: hidden;
            flex: 0 0 200px;
        }

            .tab-table-itm td.t .p.jn {
                flex: 0 0 50px;
                text-align: center;
                padding-left: 0;
            }

            .tab-table-itm td.t .p .fo {
                font-weight: 600;
                text-overflow: ellipsis;
                width: 100%;
                float: left;
                color: #595959;
                font-size: 1.2em;
            }

            .tab-table-itm td.t .p .h {
                font-size: 0.8em;
                float: left;
                white-space: nowrap;
                overflow: hidden;
                color: #808080;
            }

            .tab-table-itm td.t .p .de {
                color: #575757;
                float: left;
                font-size: 0.9em;
                font-weight: bold;
                white-space: nowrap;
                overflow: hidden;
                width: 100%;
                text-overflow: ellipsis;
                height: 18px;
            }

    .tab-table-itm td.d {
        flex: 0 0 100px;
        padding: 5px;
        display: flex;
        align-items: center;
        text-overflow: ellipsis;
        justify-content: center;
    }

        .tab-table-itm td.d.a {
            flex: 0 0 110px;
        }

        .tab-table-itm td.d.st {
            flex: 0 0 170px;
        }