/* 
 *    GLOBAL STYLES
 */

* {
    font-family: Palatino, serif;
    margin:0;
}
th span{
    font-weight:bold;
}
th, td {
        border-radius:10px;
        text-align:center;
}
thead, tbody, tfoot, tr, th, td {
        margin:0;
        padding:0.4em;
    }
h1{
        padding:0.4em;
        margin:0;

}

/* 
 *    MEDIA-SPECIFIC STYLES
 */
@media all and (color) {
    * {
    }
    th {
        color:white;
        background-color:maroon;
        
    }
    td {
        background-color:#cccccc;
    }
    h1 { 
        color:maroon;
    }
}


@media all and (monochrome) {
    * {
        color:black;
        border-width:1px;
        border-style:solid;
        border-color:black;
        background-color:white;
    }
    td, th{
        border-width:1px;
        border-style:solid;
        border-color:black;
    }
}
@media all and (monochrome) and (max-width: 500px)  {

    thead, tbody, tfoot, tr, th, td {
        display:block;
    }
}





@media all and (max-width: 800px) {
    /* keine Abstände, schmale Linien */
    thead, tbody, tfoot, tr, th, td {
        display:block;
    }
    /* Linien müssen zusammenfallen, Tabelle scrollbar */
    table{
        width:100%;
        /*border-collapse:collapse;*/
        overflow:scroll;
    }
    /* Ausblenden des Titels */
    thead{
       display:none;
    }
    td, th{
        border: 1px solid white;
        border-radius:8px;
        font-size:0.9em;
    }
    td{
        text-align:left;
    }
    td:before{
        font-family: Helvetica, sans-serif;
        font-weight:bold;
        display:block;
        }
    /* manuelle Vergabe der Namen, über XSLT automatisierbar */
    td:nth-of-type(1):before { content: "CPE (mg)"; }
    td:nth-of-type(2):before { content: "OLE in Schizophrenia (mg)"; }
    td:nth-of-type(3):before { content: "Monograph Doses for Psychosis"; }
    td:nth-of-type(4):before { content: "Bioavailability"; }
    td:nth-of-type(5):before { content: "Protein Binding"; }
    td:nth-of-type(6):before { content: "Peak Plasma Level (h) (Tmax)"; }
    td:nth-of-type(7):before { content: "Elimination Half-Life (h)"; }
    td:nth-of-type(8):before { content: "Metabolizing Enzymes/Transporters (CYP450; other)"; }
    td:nth-of-type(9):before { content: "Enzyme Inhibition/Transporters (CYP450; other)"; }
    td:nth-of-type(10):before { content: "% D2 Receptor Occupancy (dose & plasma level)"; }
    td:nth-of-type(11):before { content: "% 5-HT2A Occupancy (dose)"; }

}
