body {
  font-size: 14px !important;
  padding-top: 5px;
  padding-bottom: 20px;
}

* {
	outline: none !important;
}

html {
  overflow-y: scroll;
}


/* ----- Container ----- */

@media (min-width: 1400px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1320px;
  }
}

/*
@media (min-width: 1200px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl {
    max-width: 1140px;
  }
}
*/

.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
  width: 100%;
  padding-right: 30px;
  padding-left: 30px;
}

.row {
  margin-right: -10px;
  margin-left: -10px;
}

.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
  padding-right: 10px;
  padding-left: 10px;
}


/* ----- Login ----- */

#login {
	background-color: #eeeeee;
	background-image: url('/images/boussole.png');
	background-position: 25px 40px;
	background-size: 130px;
	background-repeat: no-repeat;
	border: 1px solid #cccccc;
	border-radius: 10px;
  box-shadow: 1px 1px 10px #999;
	margin: 100px auto 0px auto;
	width: 400px;
}

#login p {
	margin: 15px 15px 15px 180px;
	text-align: left;
}

#login p label {
	color: #666666;
	display: block;
}




/* ----- Bandeau ----- */

#bandeau {
  /*background-image: url('/images/logo.png');*/
  background-position: 0% 50%;
  background-repeat: no-repeat;
  position: relative;
  height: 75px;
  background-color: #ffffff;
  color: #2c5372;
  text-align: left;
  padding: 0px;
}

#logo {
  left: 10px;
  position: absolute;
  top: 10px;
}

#logo p {
	color: #4d5283;
	font-family: arial;
	font-size: 17px;
	line-height: 24px;
	text-transform: uppercase;
}

#bandeau .logout {
	font-size: 18px;
	position: absolute;
	top: 20px;
	right: 20px;
}



/* ----- Onglets ----- */

#topnav {
  background: #ffffff;
	margin: 0;
	padding: 0px;
	position: relative;
}
	
#topnav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	border: none;
}

#topnav li {
	display: block;
	margin: 0;
	padding: 0;
	float: left;
	width: auto;
	line-height: 30px;
}
	
#topnav a {
  color: #000000;
	display: block;
	width: auto;
	text-decoration: none;
  background: #e4e5e7;
	margin: 0px;
	padding: 0px 10px 0px 10px;
	border-right: 1px solid #ffffff;
	border-radius: 6px 6px 0px 0px;
	-moz-border-radius: 6px 6px 0px 0px;
	-webkit-border-radius: 6px 6px 0px 0px;
	-khtml-border-radius: 6px 6px 0px 0px;
}
	
#topnav a:hover,
#topnav a:active {
	background: #d0d0d0;
}

#topnav a.here:link,
#topnav a.here:visited {
	position: relative;
	z-index: 102;
  background: #4d5283;
  color: #ffffff;
}
	
#subnav {
	position: relative;
	top: -1px;
	z-index: 101;
	margin-bottom: 15px;
  background: #4d5283;
  color: #ffffff;
	border-top: 1px solid #fff;
}
	
#subnav ul {
	list-style: none;
	margin: 1px 0px 0px 0px;
	padding: 0px;
	border-right: 1px solid #fff;
	border-left: 1px solid #fff;
}

#subnav li {
	position: relative;
	z-index: 102;
	display: block;
	margin: 0px 5px 0px 5px;
	padding: 0;
	float: left;
	width: auto;
	line-height: 30px;
}
	
#subnav a {
	color: #9ba0bf;
	display: block;
	width: auto;
	text-decoration: none;
	margin: 0;
	padding: 0px 5px 0px 5px;
}
	
#subnav a:hover,
#subnav a:active {
	color: #dddddd;
}

#subnav a.here:link,
#subnav a.here:visited {
	color: #ffffff;
}
	
#subnav br,
#topnav br {
	clear: both;
}



/* ----- Listes ----- */

table {
	table-layout: fixed;
}

.table-bordered > tbody > tr > td,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > td,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > thead > tr > th {
  border-left: 1px solid #eeeeee;
  border-right: 1px solid #eeeeee;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.table-condensed > thead > tr > th {
	/*padding-right: 22px !important;*/
}

.table tr[id]:hover td {
	background-color: #555555 !important;
  border-color: #555555;
	color: #ffffff;
	cursor: pointer;
}

.table > thead > tr > th {
	border-bottom: 0px solid #ddd;
}

.table th {
  color: #ff7100;
  font-weight: normal;
}

.table th a:hover {
  text-decoration: underline;
}

#liste .bad {
	background-color: #ffedcf;
}

.fonce {
  background-color: #f5f5f5;
}

.clair {
  background-color: #ffffff;
}

.visuel {
  background-color: #e4ffcf;
}

.raye * {
	color: #bbbbbb;
  text-decoration: line-through;
}

.p0 {
	background-color: #ff7f7f;
}

.p25 {
	background-color: #ffc77f;
}

.p50 {
	background-color: #faffcf;
	background-color: #fff2cf;
}

.p100 {
	background-color: #b1eaa6;
}

.ui-state-highlight {
	background-color: #ff0000 !important;
	border: 1px dotted #cccccc;
	height: 20px;
	width: 100%;
}

.label {
	font-weight: normal;
}

.label-f {
	background-color: #dd0165;
}

.label-e {
	background-color: #f9b731;
}

.label-m {
	background-color: #264287;
}

.label-ope {
	background-color: #a92c49;
}

.label-pro {
	background-color: #556879;
}

.glyphicon-ok {
	color: #dd0165;
	font-size: 11px;
}


/* ----- onglets ----- */

.nav-tabs {
  border-bottom: 0px solid #DDD;
}

.nav-tabs > li > a,
.nav-tabs > li > a:focus,
.nav-tabs > li > a:hover {
  color: #555;
  background-color: transparent;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:focus,
.nav-tabs > li.active > a:hover {
  color: #555;
  background-color: #f2f2f2;
}

.nav-tabs li .badge {
  font-size: 10px !important;
  font-weight: normal;
  margin-top: -2px;
}


/* ----- Formulaires ----- */

fieldset {
  background-color: #f2f2f2;
  border: 1px solid #cccccc;
  border-radius: 2px;
  margin-bottom: 15px;
  padding: 15px 15px 5px 15px;
}

fieldset h3 {
	margin-top: 0px;
}

#formulaire label {
	display: block;
	line-height: 18px;
	margin: 10px 0px 3px 0px;
}

#formulaire label i {
	font-size: 9px;
}

.input-xs {
	display: inline-block;
  height: 25px;
  padding: 4px 8px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 3px;
  width: auto;
  margin-left: 5px;
}

.btn-primary {
	background-color: #4d5283;
	border-color: #4d5283;
}

label + .radio,
label + .checkbox {
	margin-top: -2px;
}

#bloc1,
#bloc2 {
	float: left;
}

.small {
	width: 380px !important;
}

.large {
	width: 780px !important;
}

#selectvignette {
	float: right;
	margin: 0px 100px 0px 0px;
	width: 250px;
}

#autre {
	display: none;
}

table.commande th,
table.commande td {
	padding: 2px 40px 2px 10px;
}

table.remise th,
table.remise td {
	padding: 2px 20px 2px 10px;
}


/* ----- Filtres ----- */

.filtre {
  background-color: #f2f2f2;
  border: 1px solid #dddddd;
  border-radius: 3px;
  margin-bottom: 15px;
	position: relative;
}

fieldset .filtre {
	border: 0px;
	margin-bottom: 5px;
}

.filtre label {
	position: relative;
}

.dataTables_wrapper .dataTables_filter {
  margin: 15px 15px 10px 15px;
	text-align: left !important;
}

.dataTables_wrapper .dataTables_filter input {
	margin-left: 10px !important;
	min-width: 250px !important;
}

.dataTables_wrapper .dataTables_length {
  margin: 15px 15px 10px 15px;
	text-align: right !important;
}

.dataTables_wrapper .dataTables_length select {
	margin-left: 10px !important;
	min-width: 110px !important;
}

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {

	.dataTables_wrapper .dataTables_filter input {
		min-width: 120px !important;
	}
	
	.dataTables_wrapper .dataTables_length select {
		min-width: 50px !important;
	}

}

.filtre.avance {
	padding: 5px 0px;
}

.filtre.avance .row {
  margin: 10px 0px;
}

.filtre.avance div span {
  display: inline-block;
  margin-right: 10px;
  text-align: left;
}

.filtre.avance div .logique {
  width: 80px;
}

.filtre.avance div .logique select {
  width: 70px;
}

.filtre.avance div .parenthese select {
  width: 50px !important;
}

.filtre.avance div .champ select {
  width: 170px;
}

.filtre.avance div .operateur select {
  width: 135px;
}

.filtre.avance div .valeur input {
  width: 200px;
}

.filtre.avance div .valeur select {
  width: 200px;
}

.filtre.avance div .boutons {
  width: 100px;
}

.filtre.avance div .boutons input {
	color: #dc0064;
}

.filtre.avance div .motscles input {
	width: 170px;
}



.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover,
.pagination > .active > span,
.pagination > .active > span:focus,
.pagination > .active > span:hover {
	background-color: #4d5283;
	border-color: #4d5283;
}


/* ----- Maps -----*/

.gm-style p {
  font-size: 13px;
}

.gm-style div {
	border:none !important;
}

.gm-style p.reste {
  color: #6f75a8 !important;
	font-size: 11px !important;
}

.gm-style-iw > button {
	display: none !important;
}

.gmnoprint *,
.gm-style-cc * {
  color: #aaaaaa !important;
  font-size: 10px;
}

#totalmap .gm-style-iw + div {
	display: none;
}

.gm-ui-hover-effect {
	display: none !important;
}


/* ----- Dropzone ----- */

.dropzone {
  background-color: #ffffff !important;
  border: 2px dashed #cccccc !important;
  border-radius: 5px;
  height: 180px;
  margin: 15px 0px;
  text-align: left;
  width: 100%;
}

.dropzone.dz-clickable .dz-message {
  margin: 40px auto 0px auto !important;
}

.dropzone.dz-clickable .dz-message,
.dropzone.dz-clickable .dz-message * {
  background-color: transparent !important;
  color: #cccccc;
  font-size: 16px;
  font-style: italic;
}

.dropzone .dz-preview {
  margin: 0px;
}

.dropzone .dz-preview .dz-remove {
  font-size: 12px;
}


/* ----- Photos ----- */

#visu img {
	margin-bottom: 20px;
	width: 100%;
}


/* ----- Documents ----- */

#cats div {
	background-color: #ffffff;
  border: 1px dashed #cccccc;
  color: #999999;
  margin: 10px 0px;
  padding: 10px;
  position: relative;
  min-height: 50px;
  text-align: left;
}

#formulaire #docs {
  border: none;
  background-color: #ffffff;
  padding: 0px;
  margin: 0px 0px 0px 0px;
}

#docs div {
	background-color: #f2f2f2;
  border-width: 1px;
  border-style: solid;
  border-color: #cccccc;
  color: #999999;
  font-size: 9px;
  font-style: italic;
  float: left;
  margin: 7px;
  padding: 5px;
  position: relative;
  width: 365px;
  height: 50px;
  text-align: left;
}

#docs div img {
	float: left;
  margin: 2px 5px 0px -7px;
  width: 60px;
}

#docs div input {
	font-size: 9px;
  position: absolute;
  top: 28px;
  left: 60px;
  opacity: 0.85;
  width: 295px;
  height: 14px;
}

#docs div textarea {
	font-size: 9px;
  position: absolute;
  top: 22px;
  left: 50px;
  opacity: 0.85;
  width: 300px;
  height: 14px;
}

#docs a img {
  border: 0px;
  margin: 0px;
  height: 14px;
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
}



/* ----- Uploads ----- */
/*
.uploadifyQueueItem {
	background-color: #F5F5F5;
	border: 2px solid #E5E5E5;
	font: 11px Verdana, Geneva, sans-serif;
	margin-top: 5px;
	padding: 10px;
	width: 350px;
}
.uploadifyError {
	background-color: #FDE5DD !important;
	border: 2px solid #FBCBBC !important;
}
.uploadifyQueueItem .cancel {
	float: right;
}
.uploadifyQueue .completed {
	background-color: #E5E5E5;
}
.uploadifyProgress {
	background-color: #E5E5E5;
	margin-top: 10px;
	width: 100%;
}
.uploadifyProgressBar {
	background-color: #0099FF;
	height: 3px;
	width: 1px;
}
*/