﻿/*************************************************/
/* DEFAULT CONTROL STYLES                          */
/*************************************************/
.defaultControlBody {
    margin: 20px;
    overflow: auto;
}

.defaultCenteredPageContent {
    width: 100%;
}

/* Top buttons */
.topButton {
    cursor: pointer;
    line-height: 50px;
    height: 100% !important;
    font-size: 32px;
    color: white;
}

    .topButton:hover, .topButton:focus {
        background-color: orange;
    }

.topButtonSmall {
    font-size: 20px !important;
}

/* Main menu buttons */
.btn-menu-toggle {
    display: inline-flex;
    align-items: center;
    padding: .25rem .5rem;
    font-weight: 600;
    color: rgba(0, 0, 0, .65);
    background-color: transparent;
    border: 0;
}

    .btn-menu-toggle:hover,
    .btn-menu-toggle:focus {
        color: rgba(0, 0, 0, .85);
        background-color: #e9ecef;
    }

    .btn-menu-toggle::before {
        width: 1.25em;
        line-height: 0;
        content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%280,0,0,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
        transition: transform .35s ease;
        transform-origin: .5em 50%;
    }

    .btn-menu-toggle[aria-expanded="true"] {
        color: rgba(0, 0, 0, .85);
    }

        .btn-menu-toggle[aria-expanded="true"]::before {
            transform: rotate(90deg);
        }

.btn-menu-toggle-nav a {
    display: inline-flex;
    padding: .1875rem .5rem;
    margin-top: .125rem;
    margin-left: 1.25rem;
    text-decoration: none;
}

    .btn-menu-toggle-nav a:hover,
    .btn-menu-toggle-nav a:focus {
        background-color: #e9ecef;
    }

.btn-menu-toggle-nav-selected a {
    background-color: #e9ecef;
}

.btn-menu-toggle-nav img {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    margin-right: 5px;
}


/* Search box dropdown */
.topSearchBox {
    max-width: 400px;
}

.dropdown-menu {
    height: auto;
    max-height: 500px;
    overflow-x: hidden;
    width: 360px !important;
}


/* Entity list */
.listControlToolBarPanel {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 55px;
    right: 0px;
}

    .listControlToolBarPanel .k-button-text {
        display: none;
    }

    .listControlToolBarPanel .k-separator {
        display: none;
    }

.listControlGridPanel {
    position: absolute;
    top: 55px;
    left: 0px;
    bottom: 0px;
    right: 0px;
}


/* Entity form */
.formControlPanel {
    top: 0px;
    width: 100%;
}
.formControlHeader {
    padding: 0.5rem;
}

.formControlBody {
    position: absolute;
    top: 40px;
    left: 0px;
    bottom: 0px;
    right: 0px;
}

.formControlToolBarPanel {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 55px;
    right: 0px;
}

    .formControlToolBarPanel .k-button-text {
        display: none;
    }

    .formControlToolBarPanel .k-separator {
        display: none;
    }

.formControlTabStripPanel {
    position: absolute;
    top: 55px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    overflow: hidden;
}

    .formControlTabStripPanel .k-tabstrip {
        position: absolute;
        top: 0px;
        left: 0px;
        right: 0px;
        bottom: 0px;
    }

    .formControlTabStripPanel .k-tabstrip-content {
        padding: 0px !important;
        border-bottom: 0px solid white !important;
    }

        .formControlTabStripPanel .k-tabstrip-content .k-button-text {
            display: none;
        }

        .formControlTabStripPanel .k-tabstrip-content .k-separator {
            display: none;
        }

.formControlTabPanelGrid, .formControlTabPanelGridNoToolbar {
    position: absolute;
    top: 56px;
    left: 0px;
    right: 0px;
    bottom: 0px;
}

.formControlTabPanelGridNoToolbar {
    top: 0px;
}

.formLoader {
    position: absolute;
    top: 0px;
    right: 0px;
    left: 0px;
    bottom: 0px;
    background-color: #eceaea;
    z-index: 10000000;
    opacity: 0.4;
}

    .formLoader .spinner-border {
        position: absolute;
        top: 50%;
        left: 50%;
    }

/* Context menu button */
.ContextMenuButton {
    font-size: 20px;
    border-width: 1px;
    border-style: solid;
    border-color: transparent;
    padding-left: 3px;
    padding-right: 3px;
    padding-bottom: 4px;
}

    .ContextMenuButton:hover,
    .ContextMenuButton:focus {
        border-width: 1px;
        border-style: solid;
        border-color: #d6d9dc;
        background-color: #e9ecef;
        cursor: pointer;
    }


.fillContainerPanel {
    position: absolute;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
}


.ProtocolFormFlag {
    height: 24px;
    width: 24px;
    margin-right: 5px;
}

/*************************************************/
/* PROTOCOL INPUT STYLES                         */
/*************************************************/
.PIToolBar {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    height: 35px;
    display: none;
}

.PITOCPanel {
    position: absolute;
    /* top: 35px; */
    top: 0px;
    left: 0px;
    width: 300px;
    bottom: 0px;
    padding-top: 1rem;
    padding-left: 1rem;
    overflow: auto;
    display: none;
}

.PITOCPanelVisible {
    display: block !important;
}

.PITOCPanelNoToolbar {
    top: 0px !important;
}

.PIContentPanelWrapper {
    position: absolute;
    /* top: 35px; */
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    overflow: auto;
    /*padding: 1rem; */
    padding-top: 1rem;
}

.PIContentPanelWrapperExternal {
    position: absolute;
    top: 55px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    overflow: auto;
    /*padding: 1rem; */
    padding-top: 1rem;
}

.PIContentPanelWrapperTOCVisible {
    left: 300px !important;
}

.PIContentPanelWrapperNoToolbar {
    top: 0px !important;
}

.PIHeadingLabelPanel {
    display: block;
    /*background-color: #c9c9c9;*/
    background-color: #f9f9f9;
    /*padding: 10px;*/
    padding: 10px;
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

    .PIHeadingLabelPanel:hover,
    .PIHeadingLabelPanel:focus {
        cursor: pointer;
        background-color: #e7e7e7;
    }

.PIHeadingLabelTop {
    /*font-size: 12px;*/
    font-size: 16px;
    /*color: #25a0da;*/
    /*color: black;*/
    color: #797979;
    /*font-weight: bold;*/
}

.PIHeadingContentPanel {
    display: block;
    background-color: white;
}

.PITablePanel {
    display: table;
    width: 100%;
}

.PITablePanelRow {
    display: table-row;
}

.PITablePanelTableCell {
    display: table-cell;
}

.PITableColumnHeadingRow {
}

.PITableRow {
    padding: 0px;
}

.PITableInputCell {
    background-color: White;
    /*border-top: 1px solid Gray;
	border-left: 1px solid Gray;
	border-right: 1px solid Gray;
	border-bottom: 1px solid Gray;*/
    vertical-align: top;
}

.PITableInputCellClickable:hover,
.PITableInputCellClickable:focus {
    cursor: pointer;
    background-color: #e7e7e7;
}


.PITable {
    width: 100%;
}

.PITableTopLeftCell {
    background-color: #f8f9fa;
}

.PITableTopRightCell {
    background-color: #f8f9fa;
}

.PITableColumnHeading {
    /*font-size: 12px;*/
    font-size: 14px;
    padding-left: 5px;
    padding-right: 5px;
    background-color: #f8f9fa;
}

.PITableColumnHeadingClickable:hover,
.PITableColumnHeadingClickable:focus {
    cursor: pointer;
    background-color: #e7e7e7;
}

.PITableRowHeading {
    /*font-size: 12px;*/
    font-size: 14px;
    padding-left: 5px;
    padding-right: 5px;
    background-color: #f8f9fa;
}

.PITableRowHeadingClickable:hover,
.PITableRowHeadingClickable:focus {
    cursor: pointer;
    background-color: #e7e7e7;
}

.PIPropertyMenuPanel {
    display: table-cell;
    width: 20px;
    /*padding-right: 10px;*/
    /*padding-right: 5px;*/
    vertical-align: top;
}

.wizardWrapper {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    overflow: auto;
}

    .wizardWrapper .k-wizard {
        padding: 0px !important;
    }

    .wizardWrapper .k-wizard-steps {
        margin-top: 0px !important;
    }

    .wizardWrapper .k-wizard-step {
        padding: 0px !important;
    }

    .wizardWrapper .k-wizard-buttons {
        margin-top: 1rem !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        padding-bottom: 1rem !important;
    }
    .wizardWrapper .k-tabstrip-wrapper {
        height: 100%;
    }


/* Start page */
.startPageContentPanel {
    position: absolute;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    margin: 10px;
    overflow: auto;
}

.startPageContentTable {
    display: table;
    width: 100%;
}

.startPageContentTableRow {
    display: table-row;
}

.startPageTilesPanel {
    display: table-cell;
    width: 100%;
    vertical-align: top;
}

.startPageTileNavigatable:hover {
    border-color: dimgray;
}

.startPageTileTitle {
    display: table-cell;
    width: 100%;
}

.startPageTileIcon {
    display: table-cell;
    padding: 3px;
    min-width: 30px;
    text-align: center;
    border-width: 1px;
    border-style: solid;
    border-color: transparent;
}
    .startPageTileIcon:hover {
        border-width: 1px;
        border-style: solid;
        border-color: #d6d9dc;
        background-color: #e9ecef;
        cursor: pointer;
    }

.startPageTileSeparator {
    height: 1px;
    border-top: 1px solid #25a0da;
}

.startPageTileText1 {
    display: table-cell;
    width: 100%;
    font-size: 18px !important;
    font-weight: bold;
}

.startPageTileText2 {
    display: table-cell;
    font-size: 14px !important;
    color: #7f7f7f !important;
}

.startPageTileNarrowBody {
    padding: 0px !important;
    overflow: auto;
}

.startPageMessagesPanel {
    display: none;
    vertical-align: top;
}

.startPageMessage {
    width: 300px;
    background-color: #f9f9f9;
    padding: 5px;
    border-style: solid;
    border-width: 1px;
    border-color: #dee2e6;
    border-radius: .25rem;
}

.startPageMessageHeader {
    display: block;
}

.startPageMessageTitle {
    display: table-cell;
    width: 100%;
    FONT-SIZE: 14px;
    font-weight: bold;
}

.startPageMessageIcon {
    display: table-cell;
    padding: 3px;
}

.startPageMessageBody {
    display: block;
    margin-top: 5px;
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 5px;
    overflow: hidden;
}

.searchPageWrapper {
    margin: 20px;
}

.searchPageResultList {
    display: block;
}

.searchPageResultTitle {
    display: block;
    margin-left: 5px;
}

.searchPageItem {
    padding: 5px;
    border-style: solid;
    border-width: 1px;
    border-color: transparent;
    border-radius: .25rem;
}

    .searchPageItem:hover {
        border-color: dimgray;
        cursor: pointer;
    }

.searchPageItemHeader {
    display: block;
}

.searchPageItemIcon {
    display: table-cell;
    padding: 3px;
}

.searchPageItemTitle {
    display: table-cell;
    width: 100%;
    FONT-SIZE: 14px;
    font-weight: bold;
}

.searchPageItemBody {
    display: block;
}

.searchPageMoreResults {
    display: block;
    margin-left: 10px;
    margin-top: 10px;
}

/*************************************************/
/* PROTOCOL TYPE PAGE STYLES                    */
/*************************************************/
.protocolTypeHeadingsPane {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 200px;
    bottom: 0px;
}

.protocolTypeDetailsPane {
    position: absolute;
    top: 0px;
    left: 200px;
    right: 0px;
    bottom: 0px;
    overflow: auto;
}

.protocolTypeDetailsPaneContent {
    margin-top: 20px;
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 15px;
}
