/* _content/ResConTool/Shared/MainLayout.razor.rz.scp.css */
.page[b-8sz4jxqsh7] {
    position: relative;
    display: flex;
    flex-direction: column;
}

.main[b-8sz4jxqsh7] {
    flex: 1;
    flex: 1;
}

.sidebar[b-8sz4jxqsh7] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
    overflow-y: auto;
}

.top-row[b-8sz4jxqsh7] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    /*justify-content: flex-end;*/
    height: 6rem; /* TT: Changed frm 3.5rem to 6.rem in order to show UoM logo with required height */
    display: flex;
    align-items: center;
    z-index: 80;
    /* TT: Added this to try to keep the header on top of the page body when a RadzenDataGrid is used and user trys to scrolls down.
        Without it the RadzenDataGrid's header will cover the top-row!
        Note the same z-index setting must be added to the top-row under @media (see below) to fix the RadzenDataGrid header issue.
    */
}

    .top-row[b-8sz4jxqsh7]  a, .top-row .btn-link[b-8sz4jxqsh7] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child[b-8sz4jxqsh7] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-8sz4jxqsh7] {
        display: none;
    }

    .top-row.auth[b-8sz4jxqsh7] {
        justify-content: space-between;
    }

    .top-row a[b-8sz4jxqsh7], .top-row .btn-link[b-8sz4jxqsh7] {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-8sz4jxqsh7] {
        flex-direction: row;
    }

    /* TT: This seems entirely redundant, there is no difference without this.
    .sidebar {
        width: 250px;
        min-width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }*/


    .top-row[b-8sz4jxqsh7] {
        position: sticky;
        top: 0;
        z-index: 80;
        /* TT: Added this to try to keep the header on top of the page body when a RadzenDataGrid is used and user trys to scrolls down.
            Without it the RadzenDataGrid's header will cover the top-row!
            Note the same z-index setting must be added to the top-row (see above) to fix the RadzenDataGrid header issue.
        */
    }

    .main > div[b-8sz4jxqsh7] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
    table[b-8sz4jxqsh7] {
        font-family: arial, sans-serif;
        border-collapse: collapse;
        width: 100%;
    }

    td[b-8sz4jxqsh7], th[b-8sz4jxqsh7] {
        border: 1px solid #dddddd;
        text-align: left;
        padding: 8px;
    }

    tr:nth-child(even)[b-8sz4jxqsh7] {
        background-color: #dddddd;
    }
}

/* TT: Added these for for header */
#TM-logo-name-part[b-8sz4jxqsh7] {
    float: left;
    margin-left: 5px;
}

#TM-logo-diamond-part[b-8sz4jxqsh7] {
    width: 120px;
    float: left;
    padding: 10px;
    margin-left: 30px;
}

#reg-and-login[b-8sz4jxqsh7] {
    width: 200px;
    float: right;
}

/* TT: Added these for showing the Translation Manchester's logo's text part on this page */
.title-box[b-8sz4jxqsh7] {
    display: flex; /* added to make it a flexbox container */
    overflow: hidden;
}

    .title-box span[b-8sz4jxqsh7] {
        margin-bottom: -0.3rem;
        display: inline-block; /* use this so texts in scan will be displayed on a same row */
    }

.title-tm-t[b-8sz4jxqsh7] {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0069b4;
}
.title-tm-m[b-8sz4jxqsh7] {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #951b81;
    margin-bottom: -0.3rem;
}
.title-rc[b-8sz4jxqsh7] {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #0069b4;
    margin-bottom: -10rem;
}
.title-sci-s[b-8sz4jxqsh7] {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #951b81;
    margin-bottom: -0.5rem;
}
.title-sci-c[b-8sz4jxqsh7] {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0069b4;
    margin-bottom: -0.5rem;
}
.title-sci-i[b-8sz4jxqsh7] {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #951b81;
    margin-bottom: -0.5rem;
}
/* _content/ResConTool/Shared/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-87rqbjzcq1] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-87rqbjzcq1] {
    height: 6rem; /* TT: Changed frm 3.5rem to 6.rem in order to show UoM logo with required height */
    background-color: rgba(149, 29, 132, 0.4)
}

.navbar-brand[b-87rqbjzcq1] {
    font-size: 1.1rem;
}

.oi[b-87rqbjzcq1] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-87rqbjzcq1] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-87rqbjzcq1] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-87rqbjzcq1] {
        padding-bottom: 1rem;
    }

    .nav-item[b-87rqbjzcq1]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-87rqbjzcq1]  a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.nav-item[b-87rqbjzcq1]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-87rqbjzcq1] {
        display: none;
    }

    .collapse[b-87rqbjzcq1] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}

/* TT: Defined this for showing UoM logo */
#UoM-logo[b-87rqbjzcq1] {
    width: 180px;
    float: left;
    padding: 10px;
}

/* TT: Defined this for showing hamburger menu icon */
#collapsed-menu-btn[b-87rqbjzcq1] {
    width: 20px;
    float: right;
    margin-top: 20px;
}

/* TT: Defined this for showing Wellcome Trust related info */
#WellcomeTrust-text[b-87rqbjzcq1] {
    font-size: smaller;
    font-weight: lighter;
}
