/*
 *  This file is part of "Proficio",
 *  a web-based self-learning applications framework.
 *
 *  Copyright (C) 2007-2009 Olivier Jacquemin.
 *
 *  "Proficio" is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  "Proficio" is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program: see the file COPYING.txt.  If not, see
 *  http://www.gnu.org/licenses/.
 */

/* BEGIN - General look & feel */

/* Reset default browser values */
body, form, div, p, a, img {
    margin: 0;
    padding: 0;
}

body {
    background-color: #808080;
    color: black;

    font-family: sans-serif;
    font-size: 10pt;
}

#container {
    background-color: white;

    border: 2px solid;
    border-style: outset;

    width: 750px;
    margin: 10px auto;
    padding: 5px;
}

div.frame {
    background-color: #D3D3D3;

    border: 1px solid black;

    margin: 0 100px;
    padding: 10px;
}

h1 {
    margin: 0 0 0.5em 0;
    text-align: center;
    font-size: 22pt;
}

input {
    text-align: center;
}

div.buttonsContainer {
    margin-top: 20px;
    height: 24px;
}

div.buttonsContainer button {
    float: right;
    margin-left: 10px;
}

#footer {
    text-align: center;
}

img {
    border-width: 0;
}

/* END - General look & feel */


/* BEGIN - Title */

#applicationTitle {
    font-style: italic;
    font-size: xx-large;
    font-variant: small-caps;
    text-align: center;
}

/* END - Title */


/* BEGIN - Message */

h2#messageText {
    text-align: center;
    font-weight: bold;
    font-size: larger;
}

/* END - Message */


/* BEGIN - Parameters */

.params h2 {
    font-weight: bold;
    font-size: larger;
}

.params p {
    margin-left: 2em;
}

.params input {
    width: 2em;
}

/* END - Parameters */


/* BEGIN - Test */

#testDiv {
    font-size: 20pt;
    text-align: center;
}

#testDiv input {
    width: 2em;
    font-size: 20pt;
    text-align: center;
}

#questionDiv {
    margin-bottom: 0.5em;
}

#correctionDiv {
    display: inline;
    padding: 0 0.5em 0 0.5em;
    border: 1px solid black;
    text-align: center;
}

div.counters {
    text-align: left; /* IE bug fix */
    padding-top: 50px;
}

div.counter {
    width: 50px;
    text-align: center;
    border: 1px solid black;
}

#testDiv .correct {
    color: white;
    background-color: green;
}

#testDiv .wrong {
    color: white;
    background-color: red;
}

#remainingCountDiv {
    margin: 0 auto 30px;
    background-color: white;
}

#incorrectCountDiv {
    float: right;
}

/* END - Test */


/* BEGIN - Result */

#resultDiv {
    margin: 0 auto;
    border: 1px solid black;
    background-color: #D3D3D3;
    text-align: center;
}

/* - BEGIN - Score */

#resultDiv h1 {
    display: inline;
    padding: 0 0.5em 0 0.5em;
}

.good {
    color: white;
    background-color: green;
}

.bad { 
    color: white;
    background-color: #FF6600;
}

.ugly {
    color: white; 
    background-color: red;
}

/* - END - Score */


/* - BEGIN - Review table */

#review {
    margin: 0 auto;
}

th, td {
    padding: 2px 2px 2px 2px;
}

td {
    border-top: 1px solid black;
}

#review .wrong {
    background-color: #D3D3D3;
    color: red;
    font-weight: bold;
}

#review .wrong .answered {
    text-decoration: line-through;
    font-weight: normal; 
}

#review .wrong .duration {
    font-weight: normal;
}

#review .late {
    color: #993300;
    font-weight: normal; 
}

#review .late .duration { 
    font-weight: bold; 
}

#review .correct { 
    color: black;
    font-weight: normal; 
}

/* - END - Review table */

/* END - Result */


/* BEGIN Dynamic style */

.hidden {
    display: none;
}

.invisible {
    visibility: hidden;
}

/* jQuery-UI: style for "transfer" effect */
.ui-effects-transfer {
	border: 1px solid black;
	background-color: #666;
	opacity: 0.5;
    filter: alpha(opacity=50); /* IE-specific */
}

/* END Dynamic style */

/* #allParams, #resultDiv, #testDiv { display: none; } */
