* {
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
}

body {
    font-family: Arial,sans-serif;
    font-size: 12px;
    color: black;
    background-color: white;
    background-repeat: no-repeat;
    min-height: 100%;
    height: 100%;
}

h1 {
    font-size: 22px;
}

h2 {
    font-size: 16px;
}

h3 {
    font-size: 13px;
    display: inline-block;
    color: #FFF;
    margin-right: 15px;
    margin-left: 5px;
    font-style: oblique;
    /*text-decoration: underline;*/
}

.red {
    color: #F22;
}

p.t2 {
    text-align: left;
    margin-left: 20px;
}

p.t3 {
    text-align: left;
    margin-left: 50px;
}

p.t4 {
    text-align: left;
    margin-left: 80px;
}

/*----------------------------------------------------------------------
                              ONGLET
----------------------------------------------------------------------*/
#bloc_principal div.onglets {
    padding-top:5px;
}

#bloc_principal div.onglets > div {
    /*height:15px;*/
    float:left;
    padding: 2px;
}

#bloc_principal div.onglets > div:last-child {
    margin-left:241px;
    border-bottom:1px solid #acacae;
    float:none;
}

#bloc_principal div.onglets > div:nth-child(1) {
    text-align: center;
    width: 90px;
}

#bloc_principal div.onglets > div:nth-child(2) {
    width:150px;
    text-align: center;
}

#bloc_principal div.onglets > div:nth-child(1):hover,
#bloc_principal div.onglets > div:nth-child(2):hover {
    font-weight:bold;
}

.selectedTab {
    border: 1px solid #acacae;
    border-bottom:none;
    font-weight:bold;
    border-radius: 10px 10px 0 0;
    /*box-shadow: 0 0 4px #ececf0;*/
    background-image: -moz-linear-gradient(top, #B3B3B7, #ffffff);
    background-image: -webkit-linear-gradient(top, #535357, #ffffff);
    color: black;
}

.unselectedTab {
    border:none;
    border-bottom: 1px solid #acacae;
    font-weight:normal;
    cursor:pointer;
}

.colonne1 {
    display:inline-block;
    float:left;
}

.colonne2 {
    display:inline-block;
    margin-left: 20px;
    vertical-align: top;
}
/*----------------------------------------------------------------------
                            STRUCTURE
----------------------------------------------------------------------*/
div#contenu_login {
    display: table;
    height: 100%;
    width: 100%;
    position: relative;
}

div#contenu {
    height: 100%;
    width: 100%;
}

div#bloc_haut {
    margin-left: 180px;
    min-width: 100%;
    position: fixed;
    z-index: 1;
}

div#bloc_gauche {
    width: 180px;
    display: inline-block;
    background-image: -moz-linear-gradient(top, #535357, #3c3c3f);
    background-image: -webkit-linear-gradient(top, #535357, #3c3c3f);
    box-shadow: 0 0 5px #3c3c40;
    min-height: 100%;
    /*margin-top: -69px;*/
    position: fixed;
    z-index: 1;
}

div#bloc_login {
    text-align: center;
    display: table-cell;
    vertical-align: middle;
}

div#bloc_principal {
    display: inline-block;
    vertical-align: top;
    margin-top: 85px;
    margin-left: 200px;
    position: relative;
    text-align: center;
}

.droite {
    text-align: right;
}

/*----------------------------------------------------------------------
                             BLOC PRINCIPAL
----------------------------------------------------------------------*/
#bloc_principal table {
    box-shadow: 0 0 5px #3c3c40;
    border-collapse: separate;
    border-spacing: 0;
}

#bloc_principal tbody tr:nth-child(even) {
    background-color: #D5D5D5;
}

#bloc_principal tbody tr.niveau1 {
    background-color: #FF2A3C;
}

#bloc_principal tbody tr.niveau2 {
    background-color: #FF553C;
}

#bloc_principal tbody tr.reforme {
    background-color: #FD6C9E;
}

#bloc_principal tbody tr:hover {
    background-color: #FFFFA5;
}

#bloc_principal thead {
    border: 1px solid #292929;
    /*background-image: -moz-linear-gradient(right, #535357, #3c3c3f);*/
    color: #fff;
    height: 30px;
}

#bloc_principal tfoot {
    border: 1px solid #292929;
    /*background-image: -moz-linear-gradient(right, #535357, #3c3c3f);*/
    color: #fff;
    height: 20px;
}

#bloc_principal tfoot span:not(.moo-foot-right),
#bloc_principal tfoot a {
    padding: 4px;
    display: inline-block;
    border-right: 1px solid #323235;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 1px 0px rgba(255, 255, 255, 0.2), 0 1px 0px #292929;
    background-image: -moz-linear-gradient(top, #535357, #3c3c3f);
    background-image: -webkit-linear-gradient(top, #535357, #3c3c3f);
}

#bloc_principal tfoot td {
    padding: 4px;
    border-right: 1px solid #323235;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 1px 0px rgba(255, 255, 255, 0.2), 0 1px 0px #292929;
    background-image: -moz-linear-gradient(top, #535357, #3c3c3f);
    background-image: -webkit-linear-gradient(top, #535357, #3c3c3f);
}

#bloc_principal tfoot td li:nth-child(1),
#bloc_principal tfoot td li:nth-child(2),
#bloc_principal tfoot td li:nth-last-child(2),
#bloc_principal tfoot td li:nth-last-child(1) {
    width: 70px;
}


#bloc_principal thead th.moo-active-asc:before {
    content: url(../images/asc-20.png);
    margin-right: 3px;
    vertical-align: -30%;
}

#bloc_principal thead th.moo-active-desc:before {
    content: url(../images/desc-20.png);
    margin-right: 3px;
    vertical-align: -30%;
}

#bloc_principal thead th {
    padding: 4px;
    border-right: 1px solid #323235;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 1px 0px rgba(255, 255, 255, 0.2), 0 1px 0px #292929;
    background-image: -moz-linear-gradient(top, #535357, #3c3c3f);
    background-image: -webkit-linear-gradient(top, #535357, #3c3c3f);
}

#bloc_principal thead th:hover {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
    background-image: -moz-linear-gradient(top, #565658, #313132);
    background-image: -webkit-linear-gradient(top, #565658, #313132);
    box-shadow: inset 0 1px 0px rgba(255, 255, 255, 0.2), 0 1px 0px #292929;
}

#bloc_principal thead th:active {
    background: #414142;
    box-shadow: inset 0 2px 3px rgba(0,0,0, 0.2);
}

#bloc_principal tfoot td {
    /*padding: 4px;*/
}

#bloc_principal tbody td {
    padding: 4px;
}

#bloc_principal thead th:nth-child(1),
#bloc_principal tbody td:nth-child(1) {
    /*min-width: 110px;
    text-align: center;*/
}

#bloc_principal thead th:nth-child(2),
#bloc_principal tbody td:nth-child(2) {
    /*min-width: 80px;
    text-align: right;*/
}

#bloc_principal thead th:nth-child(3),
#bloc_principal tbody td:nth-child(3) {
    /*min-width: 220px;
    text-align: left;*/
}

#bloc_principal thead a {
    color: #fff;
    text-decoration: none;
}

/*                          FORMULAIRE
----------------------------------------------------------------------*/
#bloc_principal form input[readonly],#bloc_principal form input[disabled],
#bloc_principal form select[readonly],#bloc_principal form select[disabled],
#bloc_principal form textarea[readonly],#bloc_principal form textarea[disabled] {
    color: black;
}

#bloc_principal form fieldset textarea {
    background-color: #d9dadc;
    border: 1px solid #acacae;
    width: 400px;
    max-width: 400px;
    min-width: 400px;
    height: 70px;
}

#bloc_principal form fieldset input,
#bloc_principal form fieldset select,
#bloc_principal form fieldset label + textarea {
    background-color: #d9dadc;
    border: 1px solid #acacae;
    width: 250px;
    margin-top: 5px;
    /*-moz-user-select: normal;*/
    font-size: 11px;
}
#bloc_principal form fieldset input[type=radio],
#bloc_principal form fieldset input[type=checkbox] {
    width: inherit;
    vertical-align: text-bottom;
}

#bloc_principal form input[type=submit],
#bloc_principal form input[type=button] {
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-right: 1px solid #323235;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 0 #292929;
    background-image: -moz-linear-gradient(center top , #535357, #3C3C3F);
    background-image: -webkit-linear-gradient(top , #535357, #3C3C3F);
    color: white;
    padding: 2px 4px;
    /*-moz-user-select: normal;*/
}

#bloc_principal form input[type=submit]:hover,
#bloc_principal form input[type=button]:hover {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
    background-image: -moz-linear-gradient(top, #565658, #313132);
    background-image: -webkit-linear-gradient(top, #565658, #313132);
    box-shadow: inset 0 1px 0px rgba(255, 255, 255, 0.2), 0 1px 0px #292929;
    cursor: pointer;
}

#bloc_principal form label {
    width: 150px;
    display: inline-block;
    /*-moz-user-select: normal;*/
    /*display: table-row;*/
}

#bloc_principal form fieldset {
    padding: 10px 15px;
    margin-top: 10px;
    border: 1px solid #292929;
}

#bloc_principal form legend {
    font-variant: small-caps;
    font-weight: bold;
    padding: 0 4px;
}

#bloc_principal form div.cmde {
    text-align: center;
}

#bloc_principal form fieldset input:focus,
#bloc_principal form fieldset select:focus,
#bloc_principal form fieldset textarea:focus {
    background-color: #fff;
}

/*                          TOOLBAR
 ---------------------------------------------------------------------*/
#bloc_principal div.toolbar {
    border: none;
}

#bloc_principal div.toolbar ul {
    text-align: left;
    border: 1px solid #292929;
    box-shadow: 0 0 5px #3c3c40;
    background-image: -moz-linear-gradient(top, #535357, #3c3c3f);
    background-image: -webkit-linear-gradient(top, #535357, #3c3c3f);
}

#bloc_principal div.toolbar li {
    display: inline-block;
    list-style: none;
    border-right: 1px solid #323235;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 1px 0px rgba(255, 255, 255, 0.2), 0 1px 0px #292929;
    background-image: -moz-linear-gradient(top, #535357, #3c3c3f);
    background-image: -webkit-linear-gradient(top, #535357, #3c3c3f);
    padding: 2px;
}

#bloc_principal div.toolbar li:hover {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
    background-image: -moz-linear-gradient(top, #565658, #313132);
    background-image: -webkit-linear-gradient(top, #565658, #313132);
    box-shadow: inset 0 1px 0px rgba(255, 255, 255, 0.2), 0 1px 0px #292929;
}
#bloc_principal div.toolbar li:active {
    background: #414142;
    box-shadow: inset 0 2px 3px rgba(0,0,0, 0.2);
}

#bloc_principal div.toolbar input[type=button], 
#bloc_principal div.toolbar input[type=submit] {
    border: none;
    background: transparent;
}

#bloc_principal div.toolbar input[type=button]:hover,
#bloc_principal div.toolbar input[type=submit]:hover {
    cursor: pointer;
}

#bloc_principal div.toolbar input[type=text],
#bloc_principal div.toolbar select,
#bloc_principal div.toolbar input[type=date] {
    border: none;
    font-size: 14px;
    margin-right: 5px;
    width: 120px;
}
/*                          VUE
----------------------------------------------------------------------*/
[draggable=true] {
    cursor: move;
}

#bloc_principal div#view {
    
}

#bloc_principal .win {
    border: 1px solid #292929;
    box-shadow: 0 0 5px #3C3C40;
    /*position: absolute;*/
    position: fixed;
    left: 195px;
    top: 85px;
    /*min-height: 400px;*/
    background: white;
    background: -moz-radial-gradient(right bottom, circle cover, #dfdfd4, #fafaff  90%);
    background: -webkit-radial-gradient(right bottom, circle cover, #dfdfd4, #fafaff  90%);
    opacity: 0;
    -moz-transition: opacity 0.5s ease-out;
    transition: opacity 0.5s ease-out;
    z-index: -1;
    text-align: left;
    border-radius: 10px 0px;
}
#bloc_principal .win_header {
    background-image: -moz-linear-gradient(top, #535357, #3c3c3f);
    background-image: -webkit-linear-gradient(top, #535357, #3c3c3f);
    padding: 3px 8px;
    color: white;
    border-radius: 10px 0 0 0;
}

#bloc_principal .win_header h2 {
    display: inline-block;
}

#bloc_principal .win_header ul {
    float: right;
}

#bloc_principal .win_header li {
    display: inline-block;
    height: 13px;
    width: 9px;
    text-align: center;
    list-style: none;
    border-right: 1px solid #323235;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 1px 0px rgba(255, 255, 255, 0.2), 0 1px 0px #292929;
    background-image: -moz-linear-gradient(top, #535357, #3c3c3f);
    background-image: -webkit-linear-gradient(top, #535357, #3c3c3f);
    padding: 2px;
}
#bloc_principal .win_header li a {
    color: #fff;
    text-decoration: none;
    display: block;
}

#bloc_principal .win_header li:hover {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
    background-image: -moz-linear-gradient(top, #565658, #313132);
    background-image: -webkit-linear-gradient(top, #565658, #313132);
    box-shadow: inset 0 1px 0px rgba(255, 255, 255, 0.2), 0 1px 0px #292929;
}

#bloc_principal .win_header li:active  {
    background: #414142;
    box-shadow: inset 0 2px 3px rgba(0,0,0, 0.2);
}

#bloc_principal .win_content {
    padding: 0 15px 15px;
}
#bloc_principal .win_footer {

}

/*                          DIVERS
----------------------------------------------------------------------*/
#bloc_principal pre {
    text-align: left;
}

#bloc_principal #view-scripts form fieldset label{
    width: 400px;
}
/*----------------------------------------------------------------------
                             BLOC GAUCHE
----------------------------------------------------------------------*/
div#bloc_logo a{
    color: #fff;
    text-decoration: none;
}

div#bloc_logo {
    /*background-image: url(../images/logo.jpg);*/
    border: 1px solid #292929;
    height: 127px;
    background: -moz-radial-gradient(right bottom, circle cover, #535357, #3c3c3f  80%);
    background: -webkit-radial-gradient(right bottom, circle cover, #535357, #3c3c3f  80%);
    box-shadow: 0 0 5px #3c3c40;
    text-align: center;
    vertical-align: middle;
    padding: 10px;
    color: #fff;
}

div#bloc_logo img {
    border-radius: 15px 0 15px 0;
    border: 1px solid #acacae;
    box-shadow: 0 0 4px #ececf0;
    margin-bottom: 10px;
}

#bloc_gauche ul {
    border: 1px solid #292929;
    /*margin: 0;
    padding: 0;
    width: 850px;
    margin-bottom: 50px;*/
    /*background-image: -moz-linear-gradient(top, #535357, #3c3c3f);*/
    box-shadow: 0 0 5px #3c3c40;
}

#bloc_gauche li {
    /*text-align: center;*/
    list-style: none;
    display: block;
    /*height: 36px;*/
    background-image: -moz-linear-gradient(right, #535357, #3c3c3f);
    background-image: -webkit-linear-gradient(right, #535357, #3c3c3f);
    text-shadow: 0 1px 0 #000;
    box-shadow: inset 0 1px 0px rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid #292929;
    padding: 2px;
}

#bloc_gauche li:hover {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
    /*background-color: #59595c;           */
    background-image: -moz-linear-gradient(right, #565658, #313132);
    background-image: -webkit-linear-gradient(right, #565658, #313132);
    box-shadow: inset 0 1px 0px rgba(255, 255, 255, 0.2), 0 1px 0px #292929;
}

#bloc_gauche li:active {
    background-color: #414142;
    box-shadow: inset 0 2px 3px rgba(0,0,0, 0.2);
}

#bloc_gauche li a {
    /*margin-top: 5px;*/
    color: #fff;
    text-decoration: none;
    display: block;
}

#bloc_gauche li:hover img,
#bloc_gauche li:active img {
    opacity: 1;
}
#bloc_gauche li img {
    opacity: 0.7;
    vertical-align: middle;
    margin-right: 10px;
}

/*----------------------------------------------------------------------
                             BLOC HAUT
----------------------------------------------------------------------*/
#bloc_haut ul {
    border: 1px solid #292929;
    background-image: -moz-linear-gradient(top, #535357, #3c3c3f);
    background-image: -webkit-linear-gradient(top, #535357, #3c3c3f);
    box-shadow: 0 3px 3px #3c3c40;
}

#bloc_haut li {
    display: inline-block;
    height: 63px;
    width: 100px;
    text-align: center;
    list-style: none;
    border-right: 1px solid #323235;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 1px 0px rgba(255, 255, 255, 0.2), 0 1px 0px #292929;
    background-image: -moz-linear-gradient(top, #535357, #3c3c3f);
    background-image: -webkit-linear-gradient(top, #535357, #3c3c3f);
    padding: 2px;
}
#bloc_haut li a {
    color: #fff;
    text-decoration: none;
    display: block;
}

#bloc_haut li:hover {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
    background-image: -moz-linear-gradient(top, #565658, #313132);
    background-image: -webkit-linear-gradient(top, #565658, #313132);
    box-shadow: inset 0 1px 0px rgba(255, 255, 255, 0.2), 0 1px 0px #292929;
}

#bloc_haut li:active  {
    background: #414142;
    box-shadow: inset 0 2px 3px rgba(0,0,0, 0.2);
}

#bloc_haut li:hover img,
#bloc_haut li:active img {
    opacity: 1;
}
#bloc_haut li img {
    opacity: 0.7;
}

/*----------------------------------------------------------------------
                             BLOC LOGIN
----------------------------------------------------------------------*/
div#login {
    /*opacity: 0.4;*/
    margin: auto;
    margin-top: -10%;
    width: 400px;
    text-align: left;
    padding: 20px;
    /*border: 1px solid #707173;*/
    border-radius: 25px 0px;
    /*background: url(../images/logo.png) no-repeat top left, -moz-radial-gradient(right bottom, circle cover, #FFFFFF, #86A9FB  80%);*/
    border: 1px solid #292929;
    background: -moz-radial-gradient(right bottom, circle cover, #535357, #3c3c3f  80%);
    background: -webkit-radial-gradient(right bottom, circle cover, #535357, #3c3c3f  80%);
    box-shadow: 0 0 5px #3c3c40;
    text-shadow: 0 1px 0 #000;
    /*background-image: radial-gradient(right bottom, circle cover, #FFFFFF, #86A9FB  80%);
    color: #3B393B;*/
    color: #fff;
    /*box-shadow:5px 5px 10px #333333;*/
    font-size: 16px;
    
}

div#login fieldset {
    height: 135px;
}

div#login form div {
    margin-top: 15px;
}

div#login form legend {
    font-size: 20px;
    background: url(../images/logout-20.png) no-repeat top left;
    padding: 0px 10px 0px 22px;
}

div#login form input[type=text],
div#login form input[type=password] {
    font-size: 16px;
    width: 200px;
}

div#login form label {
    width: 150px;
    display: inline-block;
}

#bloc_login form fieldset {
    padding: 10px 20px;
    border: 1px solid #7b7b7b;
    border-radius: 10px 0px;
}

#bloc_login form fieldset input,
#bloc_login form fieldset select,
#bloc_login form fieldset textarea {
    background-color: #d9dadc;
    border: 1px solid #acacae;
}

#bloc_login form input[type=submit] {
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-right: 1px solid #323235;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 0 #292929;
    background-image: -moz-linear-gradient(center top , #535357, #3C3C3F);
    background-image: -webkit-linear-gradient(top , #535357, #3C3C3F);
    color: white;
    padding: 2px 4px;
}

#bloc_login form input[type=submit]:hover {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
    background-image: -moz-linear-gradient(top, #565658, #313132);
    background-image: -webkit-linear-gradient(top, #565658, #313132);
    box-shadow: inset 0 1px 0px rgba(255, 255, 255, 0.2), 0 1px 0px #292929;
    cursor: pointer;
}

#bloc_login form label {
    width: 150px;
    display: inline-block;
    /*display: table-row;*/
}

.hidden {
    display: none!important;
}

.form-button:active {
    position: relative;
    top: 1px;
}

.form-button {
    text-align: center;
    margin: 0;
    margin-left: 10px;
    border: none;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-right: 1px solid #323235;
    box-shadow: inset 0 1px 0px rgba(255, 255, 255, 0.2), 0 1px 0px #292929;
    background-image: -moz-linear-gradient(top, #565658, #313132);
    background-image: -webkit-linear-gradient(top, #565658, #313132);
    cursor: pointer;
    color: white;
    padding: 2px 4px;
    font-family: Arial,sans-serif;
    font-size: 12px;
}