﻿/* CSS file for the Javascript Quiz App 2022 index page */
body {
    font-family: 'Helvetica', 'Arial', 'sans-serif';
    cursor: default;
    box-sizing: border-box;
}

/* Used to prevent underlines on links: */
.cNoUnderline {
    text-decoration: none;
}
    .cNoUnderline:hover {
        text-decoration: underline;
    }

/* The progress table is centred: */
.cProgressTable {
    font-family: 'Helvetica', 'Arial', 'sans-serif';
    font-size: 20px;
    border-collapse: collapse;
    min-width: 400px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    text-align: center;
    margin: 0 auto;
}

    .cProgressTable thead tr {
        background-color: #c0e0c0;
        color: white;
        text-align: center;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .cProgressTable th, 
    .cProgressTable td {
        border: 1px solid #cccddd;
        padding: 8px;
        font-weight: normal;
        min-width: 150px;
    }

    .cProgressTable tbody tr {
        border-bottom: 1px solid #cccccc;
    }
        .cProgressTable tbody tr:first-child {
            background-color: #4080c0;
            color: white;
            font-weight:lighter;
        }
        .cProgressTable tbody tr:nth-of-type(2n+0) {
            background-color: #f2f2f2;
       }
        .cProgressTable tbody tr:hover {
            background-color: #a0a0a0;
            color: white;
        }
        .cProgressTable tbody tr:first-child:hover {
            background-color: #4080c0;
            color: white;
        }


.cTable {
    font-size: xx-large;
    margin: 5% auto 0 auto;
}
a.cTableLink {
    text-decoration: none;
}
    a.cTableLink:visited,
    a.cTableLink:link {
        color: #4040e0;
    }
    a.cTableLink:hover {
        color: #a0f0a0;
        text-decoration:underline;
    }
 
/* Main divs for structure: */
div.headWelcomeOne {
    float: left;
    width: 99%;
    display: block;
    clear: both;
    padding: 3px 6px 6px 6px; /* background-color: #C0FFC0; */
}

p.headings {
    border-style: solid;
    border-color: lightgray;
    border-width: 0.5px;
    margin: 5px;
    padding: 5px
}

#sWelcome {
    font-size: 26px;
}
#sHeadingLinks {
    float: right;
    font-size: 26px;
    padding-top: 0px;
    text-decoration: none;
}

/* Used for divs in which contents are centred: */
.cCentreContents {
    text-align: center;
    display: block;
    width: 100%;
    clear: both;
}

.cCentreLoginTitle {
    text-align: center;
    text-decoration: none;
    font-size: 42px;
    color: green;
    margin: 40px auto 10px auto;
}

.centreText {
    margin: 0px;
}

/* Paragraphs (used for the scores): */
#pScores {
    width: 100%;
    text-align: center;
    color: darkblue;
    font-size: 26px;
    padding: 15px 0px 10px 0px;
    margin: 0px;
    position: relative;
    clear: both;
}

/* For the graphs in the report pages: */
.cProgressGraph {
    float: left;
    width: 100%;
    display: inline-block;
    overflow: auto;
    text-align: center;
}

.afterGraph {
    overflow: hidden;
    min-height: 10px;
    display: inline-block;
    clear: both;
    height: 1px;
}

.leftGraph {
    overflow: hidden;
    min-height: 100px;
    display: block;
    float: left;
    width: 46%;
    margin: 0% 1% 0% 2%;
}

.rightGraph {
    overflow: hidden;
    min-height: 100px;
    display: block;
    float: right;
    width: 46%;
    margin: 0% 2% 0% 1%;
}
