body { 
    font-family: sans-serif; 
    font-size:1.6em;
    background-color:#eee; 
}
.container { }
.header { 
    background-color: #ddd; 
    text-align:center; 
    margin-bottom:20px;
    padding:0.5em
}

#content {
    min-height: 700px;
}

#footer {
    background-color: #222; 
    color: #888;
    margin-top: 50px;
    padding: 1em;
    height: 200px;
}
#footer li a { color:#ccc; text-decoration:none; }
#footer li a:hover { color:#fa0; }

.header h1 { margin-top:0; }
h1 { display:inline-block; }
h1 span { font-size: 0.5em; color: #777; }


#ariane .breadcrumb {
    display: inline-block;
    padding-left: 0;
    margin: -15px 0 30px 0;
    background-color: transparent;
}

.page-error {
    padding: 1em 2em;
    margin: 1em 0;
    background-color: #fff;
    -webkit-box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.75);
    box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.75);
}

.page-error .err-code {
    font-size:0.7em;
    color: #aaa;
}

.page-entete {
    padding:1em 2em 1em 2em;
    background-color: #fff;
    -webkit-box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.75);
    box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.75);
}

.page-entete .bienvenue { font-weight:bold; font-size:1.4em; }

.page-std {
    padding:1em 2em 2em 2em;
    background-color: #fff;
    -webkit-box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.75);
    box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.75);
}

.page-admin {
    background-color: #fcfcfc;
}

.mb2 { margin-bottom: 2em; }
.mh2 { margin-top: 2em; }
tr .tcenter { text-align:center; }

.page-std h2 { margin:0.25em 0 1em 0; }

.page-std h3 { 
    width: 100%;
    padding: 0;
    margin-bottom: 20px;
    font-size: 21px;
    line-height: inherit;
    color: #333;
    border: 0;
    border-bottom: 1px solid #e5e5e5;
}
.page-std h3.mh3 { margin-top:3em; }
.page-std h3.mh5 { margin-top:5em; }

.page-std h3 + p.help { 
    display: block;
    padding: 0;
    margin-top: -1em;
    margin-bottom: 2em;
    color: #737373; 
}
.page-std p.attention { 
    display: block;
    margin-top: 2em;
    color: #DD0033; 
    font-weight: bold;
}

.page-std.tab-pane { padding-top:2em; }

.page-std .center { text-align: center; }

.page-std .liens { border-top:1px dotted #555; margin-top:1em; padding-top:1em; }
.page-std .liens a, .liens a { display:inline-block; margin-left:0.5em; margin-right:3em;  }


.inter-page { content:" "; padding:2em; }

.form-std {
    margin: 3em auto;
    padding:1em 2em 2em 2em;
    background-color: #fff;
    -webkit-box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.75);
    box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.75);
    position:relative;
}

.form-login { max-width: 400px; }
.form-join { max-width: 940px; }
.form-resetpwd { max-width: 600px; }
.form-newpwd { max-width: 600px; }

.form-login::before,
.form-login::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: #fff;
    border: 1px solid #ccc;
    z-index: -1;
    transform: rotateZ(4deg);
}

.form-login::after {
    top: 4px;
    z-index: -2;
    background: #fff;
    transform: rotateZ(-4deg);
}


.form-std h1 {
    font-size:2em;
    text-align:center;
    margin-bottom:1em;
}

.form-join h1, .form-resetpwd h1, .form-newpwd h1 {
    clear:both;
    margin-bottom:0.5em;
}

.form-std .status-message {
    color:#e00;
    display:block;
    text-align: center;
    padding:0.5em 1em;
    margin: -2em 0 2em 0;
}

.form-std .center { text-align:center; }


.form-resetpwd .connexion, 
.form-newpwd .connexion,
.form-join .connexion {
    text-align: center;
}

.form-newpwd .preconisation {
    margin-top:-2em;
    margin-bottom:2em;
}
.form-join .preconisation {
    margin-top:2em;
}
.form-newpwd .preconisation span,
.form-join .preconisation span {
    color:#A94442;
}

.form-login #lien-join, .form-join #lien-login {
    display:block;
    margin-top:2em;
    text-align: center;
}

.form-login #lien-join {
    background-color: #555;
    color:#eee;
    margin: 2em -2em -2em -2em;
    padding: 1em;
}
.form-login #lien-join a { color:#ccc; }
.form-login #lien-join a:hover { color:#fff; }

.form-login #lien-join a, .form-join #lien-login a {
    display:block;
}

.form-join fieldset + fieldset,
.form-joueur fieldset + fieldset {
    margin-top:2em;
}

.form-joueur .doublons-reconfirm {
    border: 7px solid #fc0;
    padding: 0.5em;
    margin-bottom: 1em;
    background-color: #fe7;
}

.form-joueur .doublons {
    border: 7px solid #d00;
    padding: 0.5em;
    margin-bottom: 3em;
}

.form-joueur .doublons h2 {
    color: #d00;
    font-size:1.6em;
    text-align: justify;
}
.form-joueur .doublons p.help-block {
    color: #d00;
    font-size:1.1em;
    text-align: justify;
}
.form-joueur .doublons .exergue {
    font-weight: bold;
    color: #a00;
}
.form-joueur .doublons .etranger {
    display: inline-block;
    font-size: 0.8em;
    color: #777;
}
.form-joueur .doublons-choix {
    margin-bottom: 3em;
}
.form-joueur .doublons-choix label {
    font-size: 0.95em;
}


.form-group.required .control-label:after {
  content:"\002732";
  color:red;
  font-size:12px;
}

#add-journee { display:inline-block; margin-bottom:3em; }
.form-horizontal .fvertic label.control-label { text-align:left; }
textarea#infos { min-height:250px; }


.bt-retour { display:inline-block; margin-right:1.5em; }
.bt-retour:before { content:"\00ab\00a0"; }


/* bootstrap - surcharge */
.navbar-ffjd {
    background-image: none;
    background-color: #FFF;
    /*border-bottom: 1px solid #555;*/
    -webkit-box-shadow: 0px 5px 2px -5px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 5px 2px -5px rgba(0,0,0,0.75);
    box-shadow: 0px 5px 2px -5px rgba(0,0,0,0.75);
}

.navbar-toggle .icon-bar {
    background-color: #000;
}

.nav-tabs > li > a { font-size:1.6em; }

.dl-horizontal.annonce-tournoi dt { width: 120px; margin-bottom: 0.5em; }
.dl-horizontal.annonce-tournoi dd { margin-left: 140px; margin-bottom: 0.5em; }

.nav-tabs > li.active a {
    /*
    -webkit-box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.75);
    box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.75);
    */
    
}

.nav-tabs > li.active {
    /*
    padding: 1px 1px 0 1px;
    overflow: hidden;
    */
}

.nav-tabs { border-bottom: none; }

.notif {
    z-index:99;
    position:fixed;
    top:10px;
    left:-500px;
    display:inline-block;
    padding:1em;
    background-color:#555;
    color:#FFF;
    font-weight:bold;
    vertical-align:middle;

    -webkit-box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.75);
    box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.75);

    transition-property: left;
    transition-duration: 500ms;
    transition-timing-function: ease;
}

.notif.active {
    left:0;
}

.notif .success { color:#5F5; }
.notif .error { color:#F55; }


.page-std table .licence,
.page-std table .code_postal,
.page-std table .dernier_cp,
.page-std table .numero,
.page-std table .rating {
    text-align:right;
}
.page-std table .index input {
    text-align: center;
    width: 40px;
    padding: 0;
}
.page-std table .actions {
    text-align: center;
}
.page-std table .actions button {
    background-image: none;
}

.sexe-w { color: #D05; }
.sexe-m { color: #68F; }

.page-std #criteres {
    margin: 0 -2em 0em -2em;
    padding: 2em 1em 1em 1em;
}

.page-std #resultats {
    margin: 0 -2em;
    padding: 2em 2em 1em 2em;
    border-top: 1px dotted #aaa;
    border-bottom: 1px dotted #aaa;
}

.page-std #jserie .last-added {
    background-color: #efa;
}

.page-std #jserie .to-remove {
    background-color: #fe9;
}

.glyphicon-remove { color:#F00; }

.tsyn-scroll { overflow-x: scroll; }

.synoptique thead tr th {
    vertical-align: middle;
}

.synoptique th.tsyn-jcol span {
    display:block;
    font-size:0.85em;
}

.synoptique .tsyn-num {
    vertical-align: middle;
}

.synoptique .tsyn-jcol,
.synoptique .tsyn-pts,
.synoptique .tsyn-sk,
.synoptique .tsyn-sm,
.synoptique .tsyn-st,
.synoptique .tsyn-pa,
.synoptique .tsyn-paf,
.synoptique .tsyn-mcp,
.synoptique .tsyn-cpi,
.synoptique .tsyn-evol,
.synoptique .tsyn-cpf,
.synoptique .tsyn-perf {
    text-align: center;
    vertical-align: middle;
    width: 45px;
    min-width: 45px;
    max-width: 45px;
}
.synoptique .tsyn-plus {
    text-align:left;
    width: 50px;
    min-width: 50px;
    max-width: 50px;
}

.synoptique .tsyn-plus .pts-groupe {
    font-size: 0.8em;
    color: #b5f;
}

.synoptique td.tsyn-jcol {
    padding:0;
}

.synoptique .tsyn-joueur { text-align: right; padding-right:2em; min-width:250px; }
.synoptique .tsyn-joueur .non-licencie { font-size:0.9em; color: #DD2921; }
.synoptique .tsyn-joueur .licence-loisir { font-size:0.9em; color: #A08412; }
.synoptique .tsyn-joueur .etranger { font-size:0.8em; color: #555; }

.synoptique.dirty .freez { color: #aaa; }
.synoptique tfoot td { text-align:right; color: #aaa; }

/*
.synoptique td.tsyn-jcol div {
    border: 1px solid #888;
    margin: 2px;
    padding: 2px 0;
}
*/

.ronde.last { margin-bottom:0; }
.ronde thead tr th { text-align:center; }
.ronde tbody td.ronde-g { width:40%; text-align:right; }
.ronde tbody td.ronde-d { width:40%; text-align:left; }
.ronde tbody td.ronde-g + td { text-align:center; }
.table .case { display: inline-block; border: 1px solid #888; padding: 2px 0px; margin: 0; width: 40px; }
.table .case.actif { background-color: #FC0; }
.table .case.actifAdv { background-color: #FFF0B7; }
.table .case.off { 
    background-color: #AAA; 
    background: repeating-linear-gradient(
        315deg,
        #777,
        #777 2px,
        #AAA 2px,
        #AAA 4px
    );
}
.table .case.readonly { background-color: #DDD; }
.table .case.offnj { 
    border: 1px solid #DDD; 
}

.evol-p50 { background-color: #44FA44; }
.evol-p30 { background-color: #6AF56A; }
.evol-p20 { background-color: #9FFF9F; }
.evol-p10 { background-color: #bFFFbF; }
.evol-p0 { background-color: #DFFFDF; }
.evol-m50 { background-color: #FA4444; }
.evol-m30 { background-color: #F56A6A; }
.evol-m20 { background-color: #FF9F9F; }
.evol-m10 { background-color: #FFBFBF; }
.evol-m0 { background-color: #FFDFDF; }


.page-std .marge-h10 { margin-top:100px; }

.page-std .status-message {
    color:#e00;
    display:block;
    padding:0.5em 0;
}


#nc-calc { 
    border-top: 1px solid #e7e7e7; 
    border-bottom: 1px solid #e7e7e7;
    padding: 1em 0;
    margin: 2em 0;
}
/*
#nc-calc ul:first-child {
    border-bottom: 1px solid #e7e7e7;
    padding-bottom: 0.5em;
    margin-bottom: 0.5em;
}
*/
ul li .explication { display: block; margin-top: -5px; font-style: italic; }
ul li .valnum { display:inline-block; padding: 0 1em; font-weight:bold; }
ul li .valnum.editable { color: #00F; }

#couleur-avenir .cav-case {
    display: block;
    width: 24px;
    height: 24px;
    text-align: center;
    background-color: White;
    border: 1px dotted Black;
}
#couleur-avenir .cav-pion {
    display: block;
    font-size: 12px;
    margin: 1px auto;
    padding-top: 2px;
}
#couleur-avenir .cav-pionb,
#couleur-avenir .cav-pionn {
    display: block;
    width: 20px;
    height: 20px;
    margin: 1px auto;
    border-radius: 50%
}
#couleur-avenir .cav-pionb {
    background-color: White;
    border: 1px solid #000;
}

#couleur-avenir .cav-pionn {
    border: 1px solid #000;
    background: repeating-linear-gradient(
        315deg,
        #FFF,
        #FFF 1px,
        #000 1px,
        #000 2px
    );
}

tr.tr-separateur {
    border-top:2px dotted #000;
}


#appariement #parties td.court {
    width: 1%;
}
#appariement #parties td.jcase {
    width: 47%;
}

#appariement #parties td.jcase.actif {
    background-color: #FFFFAA; /* FC0 / FFF0B7 */ 
}

#appariement #joueurs tr.inactif {
    opacity: 0.15;
}
#appariement #joueurs tr.inactif td.jnom a {
    color: Black;
}

#appariement #parties td.remove a {
    display:inline-block;
    padding: 0 7px;
    border:1px solid transparent;
    border-radius: 50%;
    color: Red;
}

#appariement #parties td.remove a:hover {
    text-decoration: none;
    border:1px solid Red;
    background-color: #fcc;
}
#appariement #parties td.remove a:focus {
    text-decoration: none;
}

#appariement #parties td.remove.inactif a {
    display:inline-block;
    padding: 0 7px;
    border:1px solid transparent;
    border-radius: 50%;
    color: #aaa;
}
#appariement #parties td.remove.inactif a:hover {
    border:1px solid transparent;
    background-color: transparent;
    cursor: default;
}

p.help { 
    color: #737373;
    font-size: 0.9em; 
    vertical-align: middle;
}
p.help .glyphicon {
    font-size: 1.5em;
}
p.help2 { 
    color: #737373;
    font-size: 0.9em; 
    vertical-align: middle;
    margin-top:1em;
    font-style: italic;
}
.join-help { 
    margin-bottom: 3em; 
}

p.help-warning {
    background-color: #ffa;
    border: 1px dotted #aaa;
    padding: 1em;
    margin: 2em 0;
    font-size: 1em;
}
p.help-warning b { color: #A00; }

#wf-serie-etapes {
    font-size: 1.2em;
}
#wf-serie-etapes span.label {
    font-weight: normal;
}

#wf-serie-etapes span.label-default { background-color: #ddd; color: #666; }
#wf-serie-etapes span.label-primary { background-color: #000; font-weight: bold; }

#wf-serie-etapes span.label-constitution { background-color: #000; color: #FFF; font-weight: bold; }
#wf-serie-etapes span.label-en-cours { background-color: #000; color: #FFF; font-weight: bold; }
#wf-serie-etapes span.label-cloturee { background-color: #FFB93D; color: #333; font-weight: bold; }
#wf-serie-etapes span.label-homologation-acceptee { background-color: #afa; color: #333; font-weight: bold; }
#wf-serie-etapes span.label-homologation-effective { background-color: #5d5; color: #000; font-weight: bold; }

span.label.label-constitution { background-color: #ddd; color: #666; }
span.label.label-en-cours { background-color: #bbb; color: #333; }
span.label.label-cloturee { background-color: #FFB93D; color: #333; }
span.label.label-homologation-acceptee { background-color: #afa; color: #333; }
span.label.label-homologation-effective { background-color: #5d5; color: #000; }

pre.adresse {
    display: inline-block;
    background-color: #fafafa;
    margin-left: 2em;
    font-family: monospace;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-left: none;
    border-right: none;
}

.marge-h2 { margin-top: 2em; }
.marge-b2 { margin-bottom: 2em; }

.marge-h4 { margin-top: 4em; }



a.sign-help {
    position: absolute;
    right: 4em;
    top: 6em;

    display: inline-block;
    width: 50px;
    height: 50px;

    border-radius: 50%;
    background-color: #0A72B9;
    color: #FFF;

    font-size: 1em;
    text-align: center;
    text-decoration: none;
    padding-top: 13px;
}

a.sign-help:hover {
    background-color: #000;
}

.volet-container {
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    overflow: auto;
    
    /* Transition du fond */
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

.volet-content {
    position: relative;
    margin: 0 0 0 30%;
    padding: 2em 2em 2em 3em;
    min-height: 100%;

    background: #222;
    color: #ccc;

    -webkit-box-shadow: 0px 0px 4px 1px rgba(204,204,204,0.75);
    -moz-box-shadow: 0px 0px 4px 1px rgba(204,204,204,0.75);
    box-shadow: 0px 0px 4px 1px rgba(204,204,204,0.75);
    
    /* Transition arrivée du volet */
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    
}

.volet-container.volet-close { visibility: hidden; background: rgba(0, 0, 0, 0); }
.volet-container.volet-open { visibility: visible; background: rgba(0, 0, 0, 0.5); }

.volet-close .volet-content { right: -100%; }
.volet-open .volet-content { right: 0; }

.volet-content h1 { 
    margin-top: 0;
}

.volet-content .bt-close {
    position: absolute;
    top: 28px;
    left: -25px; /* height/2 */
    display: inline-block;

    width: 50px;
    height: 50px;
    padding: 0;
    margin: 0;
    
    border-radius: 50%;
    background-color: #CCC;
    color: #222;

    -webkit-box-shadow: 0px 0px 8px 3px rgba(0,0,0,0.25);
    -moz-box-shadow: 0px 0px 8px 3px rgba(0,0,0,0.25);
    box-shadow: 0px 0px 8px 3px rgba(0,0,0,0.25);
}

.volet-content .bt-close:before {
    position: absolute;
    top: -9px;
    left: 11px;

    content: "\00d7";
    font-size: 50px;
}

.volet-content .bt-close:hover { 
    background-color: #FFF;
    color: #000;
}

table tr td.keyboard {
    vertical-align: middle;
}
.keyboard span {
    font-family: consolas;
    font-weight: bold;
    padding: 5px 10px;

    border: 1px solid;
    border-radius: 6px;
    background-color: #ccc;
    color: #000;
}



#t-resultats tr.checked .nom,
#resultats tr.checked .nom {
    color: #AFA;
}

/* Surcharge */
.volet-content .ajtable-overlay {
    background-color: #222;
}

.volet-content .table-striped > tbody > tr:nth-of-type(2n+1) {
    background-color: #333;
}
.volet-content .table > tbody > tr > td {
    border-top: 1px solid #555;
}

.volet-content .table > thead > tr > th {
    border-bottom: 1px solid #CCC;
}

.volet-content nav.pagination ul li a {
    background-color: #fff;
    color: #000;
    opacity: 0.5;
}

.volet-content nav.pagination ul li a:hover,
.volet-content nav.pagination ul li a:focus {
    opacity: 0.75;
}

.volet-content nav.pagination ul li span.actif {
    background-color: #fff;
    color: #000;
}

.volet-content nav.pagination a.prevnext:hover,
.volet-content nav.pagination a.prevnext:focus {
    color: #FFF !important;
}


.volet-content select,
.volet-content input,
.volet-content textarea {
    background-color: #1a1a1a;
    color: #ccc;
}

.volet-content a { color: #8CF; }
.volet-content a:hover { color: #FFF; }

#page-users form {
    background-color: #f7f7f7;
}

#page-users #criteres {
    padding: 1em;
}
#page-users #criteres input,
#page-users #criteres select,
#page-users #criteres button {
    line-height: 1.2em;
}
#page-users #criteres input,
#page-users #criteres select {
    padding:3px 3px;
}

#page-users .etat, .page-admin .etat { font-size: 0.95em; }
#page-users .etat.initial, .page-admin .etat.initial { color: #777; }
#page-users .etat.attente, .page-admin .etat.attente { color: #F60; }
#page-users .etat.valide, .page-admin .etat.valide { color: #090; }
#page-users .etat.refuse, .page-admin .etat.refuse { color: #F00; }

#page-users th.role { text-align: right; }
#page-users td.role { text-align: right; color: #555; font-size: 0.95em; vertical-align: middle; }

#page-users th.date-login { text-align: right; }
#page-users td.date-login { text-align: right; color: #555; font-size: 0.95em; vertical-align: middle; }
