/*
 *
 *
 *
 *
 *
*/

/*
        Bande Démonstrateur
*/

.demonstrateur{
  background:#000;
  color:#fff;
  padding: 5px 15px;
  font-size:18px;
}

.demonstrateur .left{
  padding-top:4px;
}

.demonstrateur .right{
  border:2px solid #fff;
  border-radius:5px;
  background: #fff;
}

.demonstrateur .right a{
  color:#fff;
  background: #000;
  text-decoration:none;
  padding:5px 15px;
  font-size: 15px;
  display:inline-block;
  float: left;
  margin-left: 1px;
  margin-right: 1px;
}

.demonstrateur .right a.current,
.demonstrateur .right a:hover{
  background:#fff;
  color:#000;
}

.first.column ul li ul li a.disabled{
  background-color: #e6e6e6;
}

.first.column ul li ul li a.disabled:hover{
  background-color: #e6e6e6;
}


/*
 * Login
*/

body.login{
  background:#fff;
}

div.login{
  width: 266px;
  margin: 200px auto 0;
  text-align: center;
}	

body.login .toolbox{
  display:none;
}

.login input{
  width:237px;
  height:52px;
  display:block;
  border:none;
  padding-left:60px;
  padding-top:0;
  margin:5px 15px;
  outline: none;
}

.login input.login{
  background-image: url('../images/login_input-name.png');
  background-repeat: no-repeat;
  background-position: left 1px;
  margin-top:50px;
}

.login input.password{
  background-image: url('../images/login_input-pass.png');
  background-repeat: no-repeat;
  background-position: left 1px;
}

.login input.login:active, .login input.login:focus, .login input.password:active, .login input.password:focus{
  background-position:left bottom;
}

.login input.login.error, .login input.password.error{
  background-position:left -50px;
}

.login input[type="submit"]{
  padding-left:0;
  border: none;
  height:50px;
  background: #fff;
  color: #595959;
  font-size: 17px;
  font-weight: bold;
  -webkit-box-shadow: 0px 1px 2px;
  -moz-box-shadow: 0px 1px 2px;
  box-shadow: 0px 1px 2px;
}

.login input[type="submit"]:hover, .login input[type="submit"]:active, .login input[type="submit"]:focus{
  background: #e4e3e3;
}


/*
 * GENERAL
*/

li{
  list-style-position:inside;
}

html{
  min-height:100%;
}

body{
  height:100%;
  font-family:Arial, sans-serif;
  background : url('../images/backgrounds/bg_column.jpg') repeat-y left top #fff;
}

body > .wrapper{
  /*width:990px;*/
  /*margin:0 auto;*/
  height:100%;
  padding-bottom:50px;
}

.first.column{
  width:205px;
  margin-right:30px;
}

.second.column{
  /*width:744px;*/
  width:737px;
  margin-right:10px;
  margin-bottom: 40px;
}

.return{
  display:block;
  width:95px;
  height:25px;
  background:url('../images/buttons/btn_return.png') left top;
  margin-bottom:30px;
}

.language{
  display:block;
  height:20px;
  width:27px;
  text-align:center;
  padding-top:3px;
  text-decoration:none;
  color:#000;
  background:#fff;
  font-size: 13px;
  border-top:1px solid #c2c4cb;
  border-left:1px solid #c2c4cb;
  border-radius:3px 3px 0 0;
}

.language:hover,
.language.current{
  background:#f8f8f8;
}

.language:first-child{
  border-right:1px solid #c2c4cb;
}

.language.fr{
  background:url('../images/buttons/btn_fr.png') left top;
}

.language.uk{
  background:url('../images/buttons/btn_uk.png') left top;
}

.deploy{
  background:url('../images/pictos/chevron_down.png') no-repeat left 9px;
  width:22px;
  height:22px;
  z-index:10;
  position:absolute;
  right:10px;
  top:4px;
}

.deploy.list{
    width: 100%; right: 0; padding: 10px 0; background-position: 705px 9px;
}

.deploy.open{
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
  top:14px;
}

.group .deploy:hover{
  background-position:left -48px;
}

.group .deploy.list:hover{
    background-position: 705px -48px;
}

.group .deploy.list{
    top: 5px;
}

.group .deploy.list.open{
    background-position: 10px 9px;
    top: -5px;
}

.return:hover, .language.fr:hover, .language.uk:hover{
  background-position:left bottom;
}

.gradient {
  /* Anciens navigateurs */
  background: url("gradient-bg.png") repeat-x top;
  -o-background-size: 100% 100%;
  -moz-background-size: 100% 100%;
  -webkit-background-size: 100% 100%;
  background-size: 100% 100%;
  /* Navigateurs récents */
  background: -webkit-gradient(
    linear,
    left top, left bottom,
    from(#fff),
    to(#b4b4b4)
    );
  background: -webkit-linear-gradient(
    top,
    #fff,
    #b4b4b4
    );
  background: -moz-linear-gradient(
    top,
    #fff,
    #b4b4b4
    );
  background: -o-linear-gradient(
    top,
    #fff,
    #b4b4b4
    );
  background: linear-gradient(
    top,
    #fff,
    #b4b4b4
    );
}

.status{
  width:10px;
  height:10px;
  background:red;
  border-radius:10px;
  float:left;
  margin-right:10px;
  margin-top:3px;
}

.status.green{
  background:#006633;
}

.status.blue{
  background:#0099ff;
}

.status.yellow{
  background:#ff9900;
}

.status.purple{
  background:#6600cc;
}

.status.red{
  background:#ff0000;
}

/*
 * ARRAY
*/

thead{
  background: #dbdbdb;
  height:36px;
  border-top:1px solid #bababa;
  font-size:12px;
}

thead .left.order{
  margin-left:10px;
}

thead .left a{
  display:block;
  width:11px;
  height:11px;
  float:left;
  margin:0 2px;
}



thead .left a.up{
  background:url('../images/up-grey_small_picto.png') no-repeat 0 0;
}

thead .left a.down{
  background:url('../images/down-grey_small_picto.png') no-repeat 0 0;
}

thead .left a.down:hover,
thead .left a.up:hover{
  background-position: left bottom;
}

tbody tr{
  border-bottom:1px solid #f0f0f0;
  height:26px;
}

tbody tr:hover{
  background:#d8d8d8;
}

tbody tr:nth-child(2n){
  background: #F8F8F8;
}

tbody tr:hover,
tbody tr:nth-child(2n):hover{
  background:#d8d8d8;
}

td{
  vertical-align:middle;
  padding:5px 5px 3px;
  font-weight:bold;
}

tbody td{
  height: 35px;
  font-weight: normal;
}

td .center{
  text-align:center;
}

td .center a{
  display:block;
  float:left;
  margin:0 3px;
}

td .center a.edit{
  margin-right: 10px;
}

/*
 * TOOLBOX
*/

.toolbox{
  width:128px;
  position:fixed;
  right:0;
  top:250px;
}

.toolbox a{
  display:block;
  margin:0 auto;
  width:115px;
  height:25px;
}

.toolbox a:hover{
  background-position:left bottom!important;
}

.toolbox .back-top{
  background:#80807f;
  width:128px;
  height:25px;
  color:#fff;
  text-decoration:none;
  font-size:14px;
  font-weight:normal;
  text-align:center;
  padding-top:6px;
}

.toolbox .back-top img{
  float:left;
  margin:3px 0 0 8px;
}

.toolbox .back-top:hover{
  background: #555;
}

.toolbox .items{
  border:1px solid #ebebeb;
  border-top:none;
  background:#f7f7f7;
  padding-top:10px;
}

.toolbox .items a{
  text-decoration: none;
}

.toolbox .items a img{
  position: relative; 
  top: 4px;
  left: 10px;
}

.toolbox .items a span{
  position: relative; 
  left: 20px;
}

.toolbox .items a.valid span{
  position: relative; 
  left: 20px;
  top: 3px;
}


.toolbox a.valid{
  margin:2px auto 5px;
  background:#9bc053;
  color: #fff;
  -webkit-box-shadow: 0px 1px 1px #576c2f;
  -moz-box-shadow: 0px 1px 1px #576c2f;
  box-shadow: 0px 1px 1px #576c2f;

}

.toolbox a.valid:hover,
.toolbox a.valid:active,
.toolbox a.valid:focus{
  background: #86a648;
}

.toolbox a.preview{
  margin:2px auto 5px;
  background:#ebad24;
  color: #fff;
  -webkit-box-shadow: 0px 1px 1px #846114;
  -moz-box-shadow: 0px 1px 1px #846114;
  box-shadow: 0px 1px 1px #846114;
}

.toolbox a.preview:hover,
.toolbox a.preview:active,
.toolbox a.preview:focus{
  background: #d19a20;
}

.toolbox a.return{
  margin:2px auto 5px;
  background:#c2c4cb;
  color: #000;
  -webkit-box-shadow: 0px 1px 1px #6d6e72;
  -moz-box-shadow: 0px 1px 1px #6d6e72;
  box-shadow: 0px 1px 1px #6d6e72;
}

.toolbox a.return:hover,
.toolbox a.return:active,
.toolbox a.return:focus{
  background: #999aa0;
}

.toolbox a.spam{
  margin:2px auto;
  background: #d30707;
  color: #fff;
  -webkit-box-shadow: 0px 1px 1px #760404;
  -moz-box-shadow: 0px 1px 1px #760404;
  box-shadow: 0px 1px 1px #760404;
}
/*
 * HEADER
*/

h1{
  color:#31b430;
  font-size:18px;
  width:auto;
}

.wrapper > .header{
  height:40px;
  padding: 40px 0 40px 15px;
  border-bottom:1px solid #dadbdb;
}

.wrapper > .header > .left.first{
  margin-top: 0;
}

.wrapper > .header > .left{
  margin-right:15px;
  margin-top: 12px;
}

.wrapper > .header > .left h1 span{
  display:inline-block;
  width:16px;
  height:16px;
}

.wrapper > .header .right{
  margin-right:15px;
  margin-top: 14px;
}

.header .login{
  color:#666666;
  font-size:15px;
}

.header .settings a{
  display:block;
  float:left;
  margin:0 0 0 20px;
}

/*
 * FIRST COLUMN
*/

.first.column ul li{
  list-style:none;
}

.first.column  ul li a{
  display:block;
  height:28px;
  width:184px;
  padding:10px 0 0 20px;
  font-size:15px;
  font-weight:normal;
  text-decoration:none;
  color: #fff;
  background-color: #293d82;
  background-repeat: no-repeat;
  background-position: 170px 13px;
  /*background-image: url('../images/pictos/chevron_down.png');*/
  border-bottom: 1px solid #ebebeb;
}

.first.column ul li.active a, 
.first.column ul li a:hover, 
.first.column ul li a.open{
  background-color:#31b430;
}

.first.column ul li ul{
  overflow:hidden;
  /*height:0;*/
  -webkit-transition: height 1s ease;
  -moz-transition: height 1s ease;
  -o-transition: height 1s ease;
  transition: height 1s ease;

}

.first.column ul li ul li a{
  padding-left:20px;
  color:#666666;
  background-color:#f7f7f7;
  border-top: 1px solid #fff;
  width:184px;
  background-repeat:no-repeat;
  background-position:173px 10px;

}

.first.column ul li ul li.current a,
.first.column ul li ul li a:hover{
  padding-left:12px;
  border-left:8px solid #000;
  border-top: none ;
  background-color:#fff;
  background-position: 165px 10px;
  margin-top:1px;
}

/*
 * SECOND COLUMN
*/

.main{
  margin-top:30px;
}

.group{
  border:1px solid #ebebeb;
  margin-top:20px;
  position:relative;
}

.group.first{
  margin-top:0;
}

.group h2{
  font-size:15px;
  background:#f8f8f8;
  border-bottom: 1px solid #b1b1b1;
  height:24px;
  position:relative;
  padding-top:13px;
  padding-bottom: 5px;
  padding-left:5px;
}

.group.grey h2{
  background:url('../images/backgrounds/bg_group-title-important.jpg') repeat-x;
  color:#fff;
}

.group.dark h2{
  background:url('../images/backgrounds/bg_group-title-very-important.png') repeat-x;
  color:#fff;
}

.group h3{
    margin-bottom: 15px;
}

.group .items{
  padding:7px 0;
  background:#f7f7f7;
  overflow:hidden;
}

/*
.group a{
        display:block;
        margin:2px auto 5px;
        height:23px;
        color:#fff;
        text-decoration:none;
        text-align:center;
        padding-top:3px;
        border-radius:1px;
}
*/

.group a{
  text-decoration:none;
  color:#000;
}

.group table tbody a{
  display: block;
  padding: 5px 0;
}

.group a.green{
  background:url('../images/backgrounds/bg_green.png') left top repeat-x;
  border-left:1px solid #94b15c;
  border-right:1px solid #94b15c;
}

.group a.grey{
  background:url('../images/backgrounds/bg_grey.png') left top repeat-x;
  border-left:1px solid #bbbbbb;
  border-right:1px solid #bbbbbb;
}

.group a.add{
  background:url('../images/buttons/btn_add.png') left top no-repeat;
  display:block;
  height:26px;
  width:99px;
  padding:0;
  position:absolute;
  top:8px;
  right:5px;
}

.group a:hover{
  background-position: left bottom;
}

input, select, textarea {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

input{
  border: 1px solid #c9c9c9;
  height:24px;
  padding-left:5px;
  display:block;
  margin:0px auto 5px 3px;
}

input[type="submit"],
.group .items .filter_submit input[type="submit"]{
  border-left-width:	1px;
  border-top-color: rgb(68,​ 68,​ 68);
  border-left-color:	rgb(204,​ 204,​ 204);
  border-top-style:	none;
  border-left-style:	solid;
  background: #dfdfdf;
  -webkit-box-shadow: none;
  -moz-box-shadow:  none;
  box-shadow:  none;
}

input[type="submit"]:hover,
.group .items .filter_submit input[type="submit"]:hover{
  background: #31B430;
  color: #fff;
}

.group .items input[type="submit"]{
  -webkit-box-shadow: 0px 1px 2px;
  -moz-box-shadow: 0px 1px 2px;
  box-shadow: 0px 1px 2px;
}

.group .items input[type="submit"]:hover{
  background: #e4e3e3;
}

div.checkbox{
  margin-right:30px;
  margin-bottom:20px;
  width:auto;
  float:left;
}

input[type="checkbox"],
.button a img{
  display:inline;
  height:auto;
  margin:0 10px 0 0;
  vertical-align:text-bottom;
}

.button a{
  margin:0;
  padding:0;
  height:13px;
  width:23px;
}

.button a img{
  margin:0 10px 0 5px;
}

select{
  padding:4px 0;
  margin:0px auto 5px;
  height:24px;
  border: 1px solid #c9c9c9;
  display:block;
}

h2 input{
  margin:0;
  height:16px;
  width:300px;
  background:#e0e0e0;
  color:#666;
  font-weight:bold;
}

input[type="radio"]{
  vertical-align: top;
  width: 15px;
}

.label-button label{
  padding-top: 3px;
  min-width: 40px;
}

input, textarea, select, label, button{
  display:inline-block;
  width:100%;
  padding:0 0 0 5px;
  margin:0;
  max-width:100%;
}

label{
    padding-top: 4px;
}

textarea{
  height:70px;
  margin:0px 0 5px 3px;
  padding: 5px;
}

.pagination{
  float:right;
  margin-top:20px;
}

.pagination p{
  font-size:11px;
  color:#787878;
  padding-top:7px;
  margin-right:10px;
}

.pagination a{
  display:block;
  width:25px;
  height:25px;
  margin-left:5px;
  opacity:0.8;
}

.pagination a:hover{
  opacity:1;
}

.pagination a.previous{
  background:url('../images/pictos/left_picto.png') left top no-repeat;
}

.pagination a.next{
  background:url('../images/pictos/right_picto.png') left top no-repeat;
}

/*
        Notifications
*/

.main > .notification{
  padding:5px 10px 5px 20px; 
  margin-bottom:20px;
  border-radius:3px;
  font-size:12px;
  font-weight:bold;
  display: none;
}

.main > .notification.erreur{
  background: -webkit-gradient(linear, left top, right top, from(#fff4f4), to(#f5cdcd));
  background: -webkit-linear-gradient(top, #fff4f4, #f5cdcd);
  background: -moz-linear-gradient(top, #fff4f4, #f5cdcd);
  background: -o-linear-gradient(top, #fff4f4, #f5cdcd);
  background: -ms-linear-gradient(top, #fff4f4, #f5cdcd);
  background: linear-gradient(top, #fff4f4, #f5cdcd);
  background-color: #fff4f4;
  border: 1px solid #f1b2b2;
  color:#ce5050;
}

.main > .notification.valide{
  background: -webkit-gradient(linear, left top, right top, from(#f7fdec), to(#d4e1bb));
  background: -webkit-linear-gradient(top, #f7fdec, #d4e1bb);
  background: -moz-linear-gradient(top, #f7fdec, #d4e1bb);
  background: -o-linear-gradient(top, #f7fdec, #d4e1bb);
  background: -ms-linear-gradient(top, #f7fdec, #d4e1bb);
  background: linear-gradient(top, #f7fdec, #d4e1bb);
  background-color: #f7fdec;
  border: 1px solid #cad7b1;
  color:#6d8146;
}

.main > .notification.alerte{
  background: -webkit-gradient(linear, left top, right top, from(#eaf9fc), to(#bee1e9));
  background: -webkit-linear-gradient(top, #eaf9fc, #bee1e9);
  background: -moz-linear-gradient(top, #eaf9fc, #bee1e9);
  background: -o-linear-gradient(top, #eaf9fc, #bee1e9);
  background: -ms-linear-gradient(top, #eaf9fc, #bee1e9);
  background: linear-gradient(top, #eaf9fc, #bee1e9);
  background-color: #eaf9fc;
  border: 1px solid #add3dc;
  color:#4690a0;
}

/* SEARCHFORM */

.searchform{
  border:1px solid #ccc;
  height:18px;
}

.searchform input{
  height:18px;
  width:93px;
  float:left;
  border:none;
  padding:0 0 0 6px;
}

.searchform input[type="submit"]{
  width:15px;
  height:18px;
  background:#fff;
  border:none;
  float:right;
  background:url('../images/pictos/loupe_picto.png') no-repeat 0 3px;
  margin-left:3px;
}

/* FILTERS */

a.filter{
  background:url('../images/backgrounds/bg_grey.png') repeat-x left top;
  display:block;
  width:86px;
  font-size:12px;
  color:#fff;
  text-decoration:none;
  font-weight:bold;
  height:24px;
  margin-left: 40%;
  border-left:1px solid #bbb;
  border-right:1px solid #bbb;
}

a.filter:hover, a.filter.open{
  background-position: left bottom
}

a.filter span{
  margin:5px 10px 0 15px;
}

a.filter img{
  margin-top:2px;
}

div.filter{
  margin-top:15px;
  padding:8px 0 0;
  background:url('../images/backgrounds/filters.png') no-repeat center top;
  overflow:hidden;
}

div.filter > div{
  border:1px solid #ccc;
  border-top:none;
  padding: 10px 15px;

}

.filter h1{
  font-size:15px;
  font-weight:bold;
  margin-bottom:10px;
  color:#565656;

}

/* TABS */
.second.column .tabs{
  border-left:1px solid #dadbdb;
  border-bottom:1px solid #dadbdb;
  margin:0 0 30px 0;
}

.second.column .tabs li{
  list-style:none;
  padding:0;
}

.second.column .tabs li a{
  display:block;
  float:left;
  padding:10px;
  border-top:1px solid #dadbdb;
  border-right:1px solid #dadbdb;
  color:#565656;
  text-decoration:none;

}

.second.column .tabs li a.open, .second.column .tabs li a:hover{
  background:#f6f6f6;
}

.form-end{
  float:right;
  margin-top:30px;
  font-size: 15px;
}

.form-end > div{
  float: left;
  margin-left: 10px;
}

.form-end .preview,
.form-end .spam{
  background:#EBAD24;
  -webkit-box-shadow: 0px 1px 1px #846114;
  -moz-box-shadow: 0px 1px 1px #846114;
  box-shadow: 0px 1px 1px #846114;
  border-radius: 3px;
  width:164px;
  margin-top: 7px;
  color:#fff;
  height:25px;
  text-decoration:none;
  border:0;
  padding-top: 2px;
}

.form-end .preview:hover,
.form-end .spam:hover{
  background: #d19a20;
}

.form-end .spam{
  background:#d30707;
  color:#fff;
}

.form-end .spam:hover{
  background:#b50303;
}


.filter .valid,
.form-end .valid{
  background:#9bc053;
  -webkit-box-shadow: 0px 1px 1px #576c2f;
  -moz-box-shadow: 0px 1px 1px #576c2f;
  box-shadow: 0px 1px 1px #576c2f;
  color:#fff;
  height:25px;
  border:0;
  border-radius: 3px;
  width: 164px;

}

.form-end .valid{
  margin-top: 7px;
  padding-top: 3px;
  position: relative;
  right: -9px;
}

.filter .valid:hover,
.filter .valid:focus,
.filter .valid:active,
.form-end .valid:hover,
.form-end .valid:active,
.form-end .valid:focus{
  background: #86a648;
}

.form-end a.preview{
  display: block;
  text-align: center;
  padding-top:7px;
  height: 18px;
  cursor: pointer;
}	

.form-end .spam img,
.form-end .preview img,
.form-end .valid img{
  position: relative;
  left: -5px;
  top: 2px;
}

.form-end .spam span,
.form-end .preview span,
.form-end .valid span{
  position:relative;
  display:inline-block;
  top:-2px;
}

.form-end .preview span{
  top:-3px;
}

.form-end .spam span{
  top:-2px;
}

.filter .valid:focus, 
.filter .valid:active, 
.filter .valid:hover
{
  background-position:left bottom;
}


/*
 * DASHBOARD
*/

a.dashboard{
  display:block;
  float:left;
  width:172px;
  height:151px;
  background:#31b430;
  text-align:center;
  padding-top:15px;
  text-decoration:none;
  margin:0 6px 12px;
}

a.dashboard span{
  background-repeat:none;
  background-position:left top;
  display:block;
  height:70px;
  width:70px;
  margin: 15px auto 0;
}

a.dashboard:hover span,
a.dashboard.disabled span{
  background-position:left bottom;
}

a.dashboard h2{
  color:#fff;
  margin-top:25px;
  font-size:17px;
  font-weight:normal;
}

a.dashboard:hover h2{
  color:#5c5c5c;
}

a.dashboard.disabled h2{
  color: #5c5c5c;
}

/*
 * GRILLE 
 *	6 dimensions. 
 *	une colonne = 120px
*/

.xsmall, .small, .medium, .large, .xlarge, .xxlarge{
  float:left;
  margin: 7px 0px 8px 5px;
}

.xsmall p, .small p, .medium p, .large p, .xlarge p, .xxlarge p{
  margin-top: 6px;
}

.xsmall{
  /*width:120px;*/
  width:117px;
}

.small{
  width:238px;
}

.medium{
  width:360px;
}

.large{
  width:481px;
}

.xlarge{
  width:594px;
}

.xxlarge{
  width:724px;
}

/* INPUT */
/*
.xsmall input{
        width:105px;
}

.small input{
        width:225px;
}

.medium input{
        width:345px;
}

.large input{
        width:465px;
}

.xlarge input{
        width:585px;
}

.xxlarge input{
        width:705px;
}
*/
/* SELECT */
/*
.xsmall select{
        width:110px;
}

.small select{
        width:230px;
}

.medium select{
        width:350px;
}

.large select{
        width:470px;
}

.xlarge select{
        width:590px;
}

.xxlarge select{
        width:710px;
}
*/
/* TEXTAREA */
/*
.xsmall textarea{
        width:110px;
}

.small textarea{
        width:230px;
}

.medium textarea{
        width:350px;
}

.large textarea{
        width:470px;
}

.xlarge textarea{
        width:590px;
}

.xxlarge textarea{
        width:710px;
}
*/
/* A */

a.xsmall{
  width:110px;
}

a.small{
  width:230px;
}

a.medium{
  width:350px;
}

a.large{
  width:470px;
}

a.xlarge{
  width:590px;
}

a.xxlarge{
  width:710px;
}