/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 2 nov. 2014, 18:55:55
    Author     : Renaud
*/

input, select, textarea {
    display: block;
    margin-bottom: 10px;
}
input[type="checkbox"], input[type="radio"] {
    display: inline;
    clear: left;
}
label {
    font-size: 1.2em;
}

label.required:after {
    content: '*';
    color: red;
    margin-left: 5px;
}
span.legend {
    margin-top: 10px;
    line-height: 1.1em;
    font-size: 0.9em;
    display: block;
    color: #555;
    margin-bottom: 5px;
}
textarea {
    width: 400px;
    max-width: 600px;
    min-height: 150px;
}

.error, .success, .warning, .fail {
    padding: 10px;
    margin: 15px 0;
}

.error, .input-error, .fail {
    background-color: #faa;
    border: 1px red solid;
}

div.input-error {
    border: none;
    color: red;
    background-color: transparent;
}

.success {
    background-color: #afa;
    border: 1px green solid;
}

.warning {
    background-color: #FB6;
    border: 1px #f93 solid;
}

.error > p, .success > p, .warning > p {
    line-height: 24px;
    margin: 0 0 0 30px;
}

.error > img, .success > img, .warning > img {
    float: left;
}

.debug {
    background-color: #FAA;
    border-top: 1px red solid;
    position: fixed;
    bottom: 0; left: 0;
    width: 100%;
    max-height: 300px;
    overflow-y: scroll;
    z-index: 9999;
}
.debug > h3 {
    margin: 10px;
}
.debug > div {
    margin-left: 20px;
    margin-bottom: 10px;
    white-space: pre-line;
}

.session {
    background: white;
    border: 1px black solid;
    margin-bottom: 20px;
    margin-right: 10px;
}

.session > .bar {
    width: 90%;
    height: 30px;
    margin: 90px auto 15px;
    white-space: nowrap;
}

.session > .bar > .zone {
    height: 100%;
    display: inline-block;
    position: relative;
}

.zone1 {background: #F66;}
.zone2 {background: #6F6;}
.zone3 {background: #66F;}
.zone4 {background: #FF6;}
.zone5 {background: #F6F;}

.tooltip {
    position: absolute;
    padding: 10px;
    border: 1px #777 solid;
    display: none;
}

.zone > span {
    position: absolute;
    top: -50px;
    left: -20px;
    font-size: 14px;
    -moz-transform: rotate(-60deg);  /* FF3.5/3.6 */
    -o-transform: rotate(-60deg);  /* Opera 10.5 */
    -webkit-transform: rotate(-60deg);  /* Saf3.1+ */
    transform: rotate(-60deg);  /* Newer browsers (incl IE9) */
}
.session > .info {
    height: 30px;
    line-height: 30px;
    border-bottom: 1px black solid;
    background: #333;
}
.session > .info h3 {
    display: inline;
    margin-left: 20px;
}
.session > .info a {
    float: right;
    margin-right: 20px;
}
