
.top-bar {
    margin-bottom: 12px !important;
}
.top-bar-section .Dropdown li label {
    color: #CCCCCC !important;
}

.row ul {
    margin:0;
}

#profil_infos{
    float:right;
    padding-top:10px;
    color: #FFFFFF;
    margin-right:20px;
}

#profil_infos a{
    font-size:14px;
    color: #FFFFFF;
}

#profil_infos a:hover{
    text-decoration: underline;
}

/* Tableau en tête incliné */
.table-header-rotated th.row-header{
  width: auto;
}

.table-header-rotated td{
  width: 40px;
  border-top: 1px solid #dddddd;
  border-left: 1px solid #dddddd;
  border-right: 1px solid #dddddd;
  vertical-align: middle;
  text-align: center;
}

.table-header-rotated th.rotate-45{
  height: 80px;
  width: 40px;
  min-width: 40px;
  max-width: 40px;
  position: relative;
  vertical-align: bottom;
  padding: 0;
  font-size: 12px;
  line-height: 0.8;
}

.table-header-rotated th.rotate-45 > div{
  position: relative;
  top: 0px;
  left: 40px; /* 80 * tan(45) / 2 = 40 where 80 is the height on the cell and 45 is the transform angle*/
  height: 100%;
  -ms-transform:skew(-45deg,0deg);
  -moz-transform:skew(-45deg,0deg);
  -webkit-transform:skew(-45deg,0deg);
  -o-transform:skew(-45deg,0deg);
  transform:skew(-45deg,0deg);
  overflow: hidden;
  border-left: 1px solid #dddddd;
  border-right: 1px solid #dddddd;
  border-top: 1px solid #dddddd;
}

.table-header-rotated th.rotate-45 span {
  -ms-transform:skew(45deg,0deg) rotate(315deg);
  -moz-transform:skew(45deg,0deg) rotate(315deg);
  -webkit-transform:skew(45deg,0deg) rotate(315deg);
  -o-transform:skew(45deg,0deg) rotate(315deg);
  transform:skew(45deg,0deg) rotate(315deg);
  position: absolute;
  bottom: 30px; /* 40 cos(45) = 28 with an additional 2px margin*/
  left: -25px; /*Because it looked good, but there is probably a mathematical link here as well*/
  display: inline-block;
  // width: 100%;
  width: 85px; /* 80 / cos(45) - 40 cos (45) = 85 where 80 is the height of the cell, 40 the width of the cell and 45 the transform angle*/
  text-align: left;
  // white-space: nowrap; /*whether to display in one line or not*/
}


/* Style for all readonly elements */

input[readonly="readonly"]
{
    background-color: #CCCCCC !important; color: #555555 !important;  max-width: 40px !important;
}

.input-error{
    margin-bottom:0px !important;
}

/*********** QUALITE ***********/

/*** Gestion des blocs ***/
.metarow {
    list-style-type: none;
}

/******Metablocs avec valeurs*******/

.slim_table_row td{
    padding:3px;
}

.slim_table_row input{
    margin:0px !important;
}

.feedback_ok{
    color:#00d607;
    font-size:20px;
    font-weight: bold;
    padding:10px;
}

.feedback_error{
    color:red;
    font-size:20px;
    font-weight: bold;
    padding:10px;
}

/*** Fiche techniques : liste de blocs ***/
.qualite_bloc_liste {
    border: 1px inset #222222;
    background-color: #F2F2F2;
    width: 100%;
    min-height: 200px;
}

.qualite_bloc_liste_bloc {
    height:30px;
    font-size:20px;
    line-height: 30px;
    border:1px solid #cacaca; -webkit-border-radius: 3px; -moz-border-radius: 3px;border-radius: 3px;
    padding-left:14px;
    margin-bottom:1px;
    text-decoration:none;
    lltext-shadow: -1px -1px 0 rgba(0,0,0,0.3);
    color: #333333;
    background-color: #E6E6E6;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#E6E6E6), to(#CCCCCC));
    background-image: -webkit-linear-gradient(top, #E6E6E6, #CCCCCC);
    background-image: -moz-linear-gradient(top, #E6E6E6, #CCCCCC);
    background-image: -ms-linear-gradient(top, #E6E6E6, #CCCCCC);
    background-image: -o-linear-gradient(top, #E6E6E6, #CCCCCC);
    background-image: linear-gradient(to bottom, #E6E6E6, #CCCCCC);
    filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#E6E6E6, endColorstr=#CCCCCC);
    cursor:move;
    overflow: hidden;
    text-overflow: ellipsis;
}

/*** Fiches techniques : Moteur de recherche ***/

#search_div{
    margin-top:50px;
    border:1px solid #cacaca;
    padding:15px 10px 0px 10px;
}

#search_div input[type='checkbox']{
    margin:5px;
}

#classification_search_div input{
    margin:0px 5px 0px 15px !important;
}

#classification_search_div{
    border:1px solid #cacaca;
    max-height:150px;
    overflow:auto;
    margin-bottom:20px;
    padding-top:10px;
}

#search_div h5{
    border-top: 1px solid #cacaca;
    text-align:center;
}

#recherchefichetechnique{
    margin-bottom:0px;
}

.clearSearchFormLink{
    font-size:12px ;
    float:right;
    text-decoration:underline;
    margin-bottom:10px;
}

#SearchSubmit{
    margin-bottom:10px;
}

#table_liste_fiches td{
    padding: 5px;
}

.title_truncate{
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.td_icons {
    white-space: nowrap;
}
.td_icons a {
    display:inline;
}

/*** Erreurs génériques ***/
.div_errors label{
    color:red !important;
    font-size:16px;
    font-weight: bold;
}

.div_errors{
    padding-top:15px;
}

.inputFilter_errors{
    color:red !important;
    font-size:16px;
    font-weight: bold;
}

.inputFilter_errors li{
    list-style-type: none;
}

/********Classification**************/
.disabled_suppression:hover{
    cursor: not-allowed;
    color: #777777;
}

.disabled_suppression{
    color: #777777;
}

/***** DatePicker *****/
#ui-datepicker-div{
    background-color: white;
    border:1px solid #cacaca;
}

.ui-datepicker-next{
    float:right;
}

.ui-datepicker-calendar{
    margin:0px;
}

.ui-datepicker-title{
    text-align: center;
}


/****** Autocomplete ******/

.ui-autocomplete
{
    list-style-type: none !important;
    background-color:white;
    border: 1px solid #888888;
    max-width:490px;
}

.ui-autocomplete li{
    overflow:auto;
    padding:5px;
}

.ui-autocomplete a{
    color:#333333;
}

.ui-autocomplete li:hover{
    list-style-type: none !important;
    background-color:#dddddd;
    cursor:pointer;
}

.ui-autocomplete li a:hover{
    color:#333333;
}

/***** Identification *****/

.identification_content, .renvoimdp_content{
    margin:150px auto auto;
    padding:20px;
    width: 500px;
    max-height: 390px;
    background-color:#FFFFFF;
    background-image:url("../img/pharmanager_ingredients_logo.jpg");
    background-repeat:no-repeat;
    background-position:right 5%;
}

.identification_content input, .renvoimdp_content input{
    max-width:250px;
}

.renvoimdp_content h1{
    font-size:35px;
    max-width:220px;
}


.error_label, .feedback_label{
    font-weight: bold;
    margin:10px;
    min-height:30px;
}

.error_label{
    color:red;
}

.feedback_label{
    color:green;
}

#renvoimdp_link{
    float:right;
}

#identification_body{
    background-color: #555555;
}

/***** Denied Access *****/
#denied_access_div{
    margin:30px auto auto;
}

/***** Readonly Message *****/
.label_readonly{
    color:red;
    font-weight: bold;
    text-align: center;
    margin-top:20px;
}

/***** Gestion des utilisateurs *****/
#user_list_table .td_input, #user_access_table .td_input{
    text-align: center;
}

#user_list_table .td_input input, #user_access_table .td_input input{
    margin:0px;
}

#utilisateur_form input[type="text"]{
    max-width:300px;
}

/***** Profil *****/
#profil_password_div input{
    max-width:300px;
}