/*@import url('//fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700');*/
@import url('font/stylesheet.css');

[hidden] { display:none; }
body { background-image: url(../images/interface/absurdidad.png); }

#all {
	padding-bottom: 50px;
}

.navbar.no-margin {
	margin-bottom: 0;
}

.corps .nav-pills > li > a:hover {
	background-color: #616161;
}

.soussousmenu .nav-pills > li > a, .soussousmenu .nav-pills > li > a:hover, .soussousmenu .nav-pills > li > a:focus, .nav-tabs > li > a,
.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
	background: none;
	border: none;
	margin-right: 0;
	color: #fff;
}

/*.alert {
	position: fixed;
	top: -5px;
	left: 50px;
}*/

.btn-primary {
	background-color: #F7BB16;
}

#connexion {
	margin-top: 4em;
	float: none;
}

.badge {
	color: #616161;
}
.badge-white {
	color: #fff;
}
.suivi .badge {
	font-weight: normal;
	color: #fff;
	background-color: #777;
}

.lignes_cat {
	margin: 5px 0;
}
.lignes_cat:hover {
	background: hsl(67, 78%, 80%);
}

.table tbody tr.success > td {
	background-color: #ACB93E;
	color: #555555;
	border-top: 1px solid #555555;
	border-bottom: 1px solid #555555;
}

.table-hover tbody tr.success:hover > td,
.table tbody tr.success > td:hover {
	background-color: #AFB580;
}

h4, .h4 {
    font-size: 17px;
}

/* .table-hover tbody tr:hover > td, .table-hover tbody tr:hover > th */

/***** Header *****/
header {
	background-color: #dadada;
	border-top: 2px solid #F7BB16;
	border-bottom: 2px solid #fff;
	margin-bottom: 0;
}
header:before {
	content: "";
	display: block;
	background-color: #F7BB16;
	border-bottom: 3px #fff solid;
	height: 9px;
	width: 100%;
}
header:after {
	content: "";
	display: block;
	background-color: #616161;
    border-bottom: 1px solid #FFFFFF;
    height: 9px;
	width: 100%;
}

header #logo {
	background-image: url("../images/interface/logo.png");
	background-repeat: no-repeat;
	background-position: left center;
	background-size: auto 80%;
	
	display: block;
	float: left;
	height: 50px;
	margin: 0 40px 0 0;
	overflow: hidden;
	width: 240px;
	
	/*transition: background-position ease-out 0.35s;*/
	transform: skew(0);
	transition: transform ease-out 0.15s;
}

header .glyphicon {
	font-size: 0.9em;
}

header #logo:hover {
	/* background-position: center center; */
	transform: skew(-15deg);
}

header .container .nav {
	padding-top: 9px;
}

header #usermenu {
	margin-top: 10px;
}

header .container > ul li, header #usermenu, .soussousmenu ul > li {
	/*background: url(../images/interface/fond_menu.png) repeat-x;*/
	background: repeating-linear-gradient(
		135deg,
		#999999,
		#999999 1px,
		#9e9e9e 2px,
		#9e9e9e 3px
	);
	transition: background ease 0.3s;
	/*height: 30px;*/
	margin-right: 1px;
}

.soussousmenu ul > li.active,
header .container > ul li.active, header .container > ul li:hover, .soussousmenu ul > li:hover {
	/*background: url(../images/interface/fond_menu_hover.png) repeat-x;*/
	background: repeating-linear-gradient(
		135deg,
		#D29F14,
		#D29F14 1px,
		#DBA615 2px,
		#DBA615 3px
	);
}

header.navbar .container .nav {
	margin: 0;
}

header.navbar .container .nav > li > a, header #usermenu > li > a, .soussousmenu ul > li > a {
	color: #fff;
	padding: 5px 10px 6px;
	display: block;
	text-shadow: none;
	background-color: none;
}

.soussousmenu ul > li > a:hover, .soussousmenu ul > li > a:focus,
header #usermenu > li > a:hover, header #usermenu > li > a:focus, 
header.navbar .container .nav > li > a:focus, header.navbar .container .nav > li > a:hover,
header.navbar .container .nav > .active > a, header.navbar .container .nav > .active > a:hover, header.navbar .container .nav > .active > a:focus {
	color: #fff;
	background: none;
}

header  .container > ul li#last {
	margin-left: 40px;
}

#sousheader {
	background: #616161;
	border-bottom: 1px #fff solid;
	height: 9px;
}

.dropdown-menu {
	padding: 0;
	margin-top: -2px;
}

.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus, .dropdown-submenu:hover > a, .dropdown-submenu:focus > a {
	background-color: #D29F14;
    background-image: linear-gradient(to bottom, #D29F14, #DBA615);
}

/***** Sous-menu *****/

#sousmenu {
	background: #616161 url(../images/interface/fond_sous_menu.png) repeat-x;
	height: 40px;
	padding: 5px 0;
}

#sousmenu .nav-header, #sousmenu .nav .nav-header {
	background: none;
	padding:5px 0;
	margin-right: 20px;
	font-weight: bold;
	color: #fff;
	text-shadow: none;
	text-transform: uppercase;
}

#sousmenu .nav-header:hover, #sousmenu .nav .nav-header:hover {
	background: none;
	text-shadow: 0 1px 0 hsla(0, 0%, 100%, 0.5)
}

#sousmenu .nav > li {
	float: left;
	/*background: url(../images/interface/fond_menu.png) repeat-x;*/
	background: repeating-linear-gradient(
		135deg,
		#999999,
		#999999 1px,
		#9e9e9e 2px,
		#9e9e9e 3px
	);
	height: 30px;
	margin-right: 1px;
	padding: 0;
}

#sousmenu .nav > li.pull-right {
	float: right;
	margin-left: 10px;
}

#sousmenu .nav > li > a {
	display: block;
	margin: 0;
	padding: 5px 20px 6px;
	color: #fff;
	text-shadow: none;
}
/*#sousmenu .nav > li > a.btn {
	color:inherit;
}*/

#sousmenu .nav > li:hover, #sousmenu .nav > li.active {
	/*background: url(../images/interface/fond_menu_hover.png) repeat-x;*/
	background: repeating-linear-gradient(
		135deg,
		#D29F14,
		#D29F14 1px,
		#DBA615 2px,
		#DBA615 3px
	);
}

#sousmenu .nav > li > a:hover, #sousmenu .nav > li > a:focus, #sousmenu .nav > li.active a {
	background: none;
}

/***** Sous-sous-menu *****/

.soussousmenu {
	height: 48px;
	width: 100%;
	padding: 6px 0 0 0;
	background: url(../images/interface/fond_sous_sous_menu.png) repeat-x;
	margin-bottom: 8px;
}
.soussousmenu.affix-top {
	margin-bottom: -48px;
}
.soussousmenu.affix {
	top: 0;
	z-index: 666;
}

/***** Nouvelle fiche *****/
#form_group {
	margin-top: 66px;	
}
.form-horizontal .form-actions {
	padding: 10px;
	background-color: #E6E6E6;
}
#cotations .control-label, .cotations .control-label {
	font-weight: normal;
}

#categories_fiches {
	margin: 0 20px;
	background: #616161;
}
#modeles_fiches {
	margin: 0 20px;
}

/***** Tableaux *****/

.dataTables_wrapper tr {
	cursor: pointer;
}

.dataTables_wrapper thead {
	background: #CCCCCC;
	border-top: 1px solid #B7B7B7;
	border-bottom: 1px solid #B7B7B7;
}

.dataTables_wrapper thead th {
	color: #000;
	border-right: 1px #fff solid;
	text-align: center;
	padding: 10px;
}

.dataTables_wrapper tbody td {
	border-right: 1px solid #fff;
}
	
.dataTables_wrapper tbody .odd {
	background-color: #E8E8E8;
}

.dataTables_wrapper tbody .even {
	background-color: hsl(0, 0%, 92%);	
}

.pagination {
	margin: 0;
}
.pagination > li > a, .pagination > li > span {
	padding: 5px 12px;
	background: url("../images/interface/fond_menu.png");
	color: white;
	border-color: white;
}
.pagination > li > a:hover, .pagination > li > span:hover, .pagination > li.active > a, .pagination > li.active > span {
	background: url(../images/interface/fond_menu_hover.png);
	color: white;
}
.pagination > .disabled > span, .pagination > .disabled > span:hover, .pagination > .disabled > span:focus, .pagination > .disabled > a, .pagination > .disabled > a:hover, .pagination > .disabled > a:focus {
	color: #DDDDDD;	
}

/**** *****/

.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .btn-primary.disabled, .btn-primary[disabled] {
	background-color: #DBA615;
}

.btn-default {
	background-color: #999999;
}

/*.btn-success {
	background-color: #589482;
}*/

/*.btn-success:hover, .btn-success:focus, .btn-success:active, .btn-success.active, .btn-success.disabled, .btn-success[disabled] {
	background-color: #80b3a3;
}*/

.btn-danger {
	background-color: #C72B10;
}

.btn-danger:hover, .btn-danger:focus, .btn-danger:active, .btn-danger.active, .btn-danger.disabled, .btn-danger[disabled] {
	background-color: #ed3c1d;
}

.btn-info {
	background-color:#fdb381;
	color: #555555;
}

.btn-info:hover, .btn-info:focus, .btn-info:active, .btn-info.active, .btn-info.disabled, .btn-info[disabled] {
	background-color: #fedac3;
	color: #555555;
}
.label-info {
    background-color: #fedac3;
	color: #555555;
}
	
.contre {
	margin-top: 10px;
}

.navbar-inner { background-color: #dadada; }

.green { color:green; font-weight:bold; }
.red { color:red; font-weight:bold; }
.orange { color:orange; font-weight:bold; }

/*
th.sorting { background:url(../images/interface/fond_tri.png) -382px bottom no-repeat; }
th.sorting_asc { background:url(../images/interface/fond_tri.png) 0px bottom no-repeat; }
th.sorting_desc { background:url(../images/interface/fond_tri.png) -775px bottom no-repeat; }
*/
.visu_fiche h4, .cotations h4 { 
	text-align:center; 
	padding: 5px 0;
}
.visu_fiche .col-md-6 h4, .cotations h4 { 
	background:#d9d9d9; 
	color: #555; 
}
.visu_fiche .form-horizontal .control-label, .visu_fiche .libelle, .cotations .libelle { 
	border-bottom: 1px dashed #555555;
    border-right: 1px dashed #555555;
    padding-bottom: 5px;
    padding-right: 8px;
    padding-top: 0;
	text-align: right;
	color: #333333;
	margin-bottom: 1em;
}
.visu_fiche .valeur, .cotations .valeur {
	padding-bottom: 5px;
	border-bottom: 1px solid transparent;
	margin-bottom: 1em;
}
.cotations fieldset {
	border: 1px solid #808080;
    margin-bottom: 10px;
    padding-top: 20px;
}

.img-tab { max-width:75px; }
#photos .thumbnail { max-width:300px; }

.fiche {
    height:60px;
    width:85px;
    padding:5px;
    margin:5px;
    line-height:1.2;
    font-size: 0.9em;
    color:white;
    background:#999A93;
    cursor:pointer;
    transition:all 0.2s ease;
}
.fiche:hover, .fiche.active {
    background:#747473;
}
.fiche.x2 {
    height:130px;
    width:180px;
    background:#ACB93E;
    font-size:1.5em;
}
.fiche.x2:hover {
    background:#cbdb41;
}

#id_cat_fiche option, #selectPat option { padding-left:10px; }
#id_cat_fiche .parent, #selectPat .parent { font-weight:bold; padding-left:0px; font-size:1.2em; }
#id_cat_fiche .parent.sub, #selectPat .parent.sub { font-weight:bold; font-style:italic; padding-left:5px; font-size:1em; }

#cotation .validation { clear:both; font-style:italic; }
#cotation .validation br:first-child { display:none; }


body.dragging, body.dragging * {
	cursor: move !important;
}
.dragged {
	position: absolute;
	opacity: 0.5;
	z-index: 2000;
}
li.placeholder {
	background:green;
	min-height: 4em;
}
li.placeholder:before {
	position: absolute;
	content:"Placer ici";
	color:white;
}
.legende {
    background: #000000;
    color: #FFFFFF;
    margin-top: -92px;
    opacity: 0.2;
	transition:opacity 0.3s ease;
	z-index: 321;
}
.legende:hover { opacity:1; }
.btn-move { cursor: move; }
.btn-remove { cursor: pointer; }
.select_tableaux .col-xs-4 .nav {
	max-height: 760px;
	overflow-y: auto;
	overflow-x: hidden;
}