/* CSS for browser report tabs */

/* Report tab book */
.reportTabBook {
    position: relative;
    float: left;
    width: 40%;
    height: 100%;
    background-color: #e5f3d9;
}

/* Report tab div */
.reportTabDiv { float: left }
.reportTabDiv > [type=radio] { display: none; } /* don't show radio buttons */

/* Report tab button */
.reportTabDiv > label {
    background-color: #d0dbc5;
    padding: 4px 30px 4px 10px;
    border: 1px solid #999;
    margin-left: -1px;
    position: relative;
    left: 1px;
    top: 6px;
    font-size: small;
}

/* Report tab close button */
.reportTabCloseButton {
    background-color: transparent;
    padding: 2px 4px;
    border: none;
    border-radius: 4px;
    outline: none;
    position: absolute;
    right: 4px;
    top: 3px;
    font-size: small;
    color: #051401;
    /* Do not allow selection of the text */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.reportTabCloseButton:before { content: "\2715"; }
.reportTabCloseButton:hover { background-color: #A9B1A1; }
.reportTabCloseButton:active { background-color: #FF0000; }

/* Report tab content */
.reportTabContent {
    display: block;
    overflow: scroll;
    position: absolute;
    top: 28px;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px;
    border: 1px solid #999;
    font-size: small;
}

/* Do not display the tab content if it's radio is not selected */
.reportTabDiv > [type=radio]:not(:checked) ~ .reportTabContent {
    display: none;
}

/* Change the tab button appearance when selected */
.reportTabDiv > [type=radio]:checked ~ label {
    background-color: #e5f3d9;
    border-bottom: none;
    z-index: 3;
}
.reportTabDiv > [type=radio]:not(:checked) ~ label {
    border-bottom: 1pz solid white;
    top: 5px;
    z-index: 3;
}

/* fixme need z-index? */
.reportTabDiv > [type=radio]:checked ~ .reportTabContent {
    z-index: 2;
}

/* Report table */
.reportTable {
    border-collapse: collapse;
}

/* Report table header */
.reportTh {
    background-color: #f4ffeb;
    border: 1px solid black;
    font-weight: bold;
    padding: 2px;
}

/* Report table data */
.reportTd {
    background-color: #f4ffeb;
    border: 1px solid #dddddd;
    font-weight: normal;
    padding: 2px;
}
