/**
 * Styles for the Faculty of Computer Science internal pages - 2023
 * Dark Mode CSS
 */

@media (prefers-color-scheme: dark) {
    #header a {color:#d7d7d7;}
    body {color: #d7d7d7;background-color:#272727;}
    a {color:#d7d7d7;}
    .block_container {border: 3px solid #d7d7d7;}
    #block_inner_container a {color:#d7d7d7;}
    .noborder {width:256px;height:131px;border:none;}
    #intra_header_text {border-bottom:5px solid #d7d7d7;}
    #content {border-bottom:solid 5px #d7d7d7;}
    pre {background-color:#000;}
    .contenttable {color:#322e2a;}
    #footer_container a {color:#fa3a45;}
    #contact_container a {color:#fa3a45;}
    table a {color:#fa3a45;}
    #seclogin {color:#e7e7e7;background-color: #474747;}
    #seclogin a {color:#fa3a45;}
    table th {background-color:#b0b0b0;color:#000}
    table tr:nth-child(odd) {background-color: #474747;}
    .modular_container_body {color:#d7d7d7;}
    .modular_container_body a {color:#fa3a45;}
    table.contenttable {color:d7d7d7;}
    table.sortmodules tr:nth-child(odd), table.contenttable tr:nth-child(odd), table.datatable tr:nth-child(odd) {}
    table.sortmodules tr:nth-child(even),table.contenttable tr:nth-child(even), table.datatable tr:nth-child(even) {background-color: #111111;}
    table.sortmodules tr:nth-child(odd) .redacted {
        color:#bf5053;
        background-color:#bf5053;
    }

    table.sortmodules tr:nth-child(odd) .redacted:hover {
        background-color:#474747;
        color:#d7d7d7;
    }

    table.sortmodules tr:nth-child(even) .redacted {
        color:#981d1a;
        background-color:#981d1a;
    }

    table.sortmodules tr:nth-child(even) .redacted:hover {
        background-color:#111111;
        color:#d7d7d7;
    }

    #passwddisplaytoggle + label {
        background-image: url('/fcswebresources/img/view-w.png');
    }

    #passwddisplaytoggle:checked + label {
        background-image: url('/fcswebresources/img/hide-w.png');
    }
}
