body {
  padding-top: 20px;
  padding-bottom: 20px;
}

* {
	outline: none !important;
}

/* ----- navigation ----- */

.navbar-collapse {
  padding-right: 0px;
  padding-left: 0px;
}

.navbar {
  margin-bottom: 0px;
  min-height: 20px;
}

.navbar li > a {
  padding-top: 7px;
  padding-bottom: 7px;
}

.navbar-default {
  background-color: #ffffff;
  border: 0px;
}

.navbar-nav > li > a,
.navbar-default .navbar-nav > a:focus,
.navbar-default .navbar-nav > a:hover {
  background-color: #fafafa;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  color: #444444;
}

.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > li > a:hover {
  background-color: #e0e7ef;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > .active > a:hover {
  background-color: #004294;
  border-bottom: 2px solid #004294;
  color: #ffffff;
}

.navbar-right > li > a,
.navbar-right .navbar-nav > a:focus,
.navbar-right .navbar-nav > a:hover {
  background-color: #ffffff;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  color: #444444;
}

.subnav {
  background-color: #004294;
  color: #ffffff;
  margin-bottom: 20px;
}
	
.subnav ul {
	list-style: none;
	margin: 0px;
	padding: 0px;
	border-right: 1px solid #fff;
	border-left: 1px solid #fff;
}

.subnav li {
	position: relative;
	z-index: 102;
	display: block;
	float: left;
	width: auto;
}
	
.subnav a {
	color: #b5c6df;
	display: block;
	width: auto;
	text-decoration: none;
	padding: 7px 10px 7px 15px;
}
	
.subnav a:hover,
.subnav a:active {
	color: #dddddd;
}

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



/* ----- connexion ----- */

.logo {
	display: block;
	margin: 20px auto;
	width: 200px;
}

.form-signin {
  max-width: 330px;
  padding: 15px;
  margin: 0 auto;
}

.form-signin .form-signin-heading,
.form-signin .checkbox {
  margin-bottom: 10px;
}

.form-signin .checkbox {
  font-weight: normal;
}

.form-signin .form-control {
  position: relative;
  height: auto;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 10px;
  font-size: 16px;
}

.form-signin .form-control:focus {
  z-index: 2;
}

.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.btn-primary {
	background-color: #004294;
}



/* ----- Datatables ----- */

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

.filtre label {
	position: relative;
}

.filtre input {
	margin-left: 5px !important;
	min-width: 250px !important;
}

.filtre select {
	margin-right: 5px !important;
	min-width: 110px !important;
}

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

	.filtre input {
		min-width: 120px !important;
	}
	
	.filtre select {
		min-width: 50px !important;
	}

}

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

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




/* ----- listes ----- */

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

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

.table tr[id]:hover td {
	background-color: #e8ebf0 !important;
	border-bottom: 1px solid #333333;
	border-top: 1px solid #333333;
	color: #333333 !important;
	cursor: pointer;
}



/* ----- formulaires ----- */

fieldset {
	background-color: #fafafa;
  border: 1px solid #dddddd;
  padding: 10px 15px 0px 15px !important;
  margin: 0 0 20px 0 !important;
}

input.date,
input.datetime {
	background-image: url('/images/calendar.png');
	background-position: 99% center;
	background-repeat: no-repeat;
}



/* ----- 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: #fafafa;
}



/* ----- colonnes ----- */

.columns {
	-webkit-column-width: 250px;
	-moz-column-width: 250px;
	column-width: 250px;
	margin-bottom: 15px;
}


/* ----- carte ----- */

#gmap {
  height: 405px;
  margin: 25px 10px 0px 0px;
  width: 100%;
}


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

.dropzone {
  background-color: #ffffff !important;
  border: 2px dashed #cccccc !important;
  border-radius: 5px;
  float: left;
  height: 170px;
  margin: 0px 0px 30px 0px;
  width: 290px;
}

.dropzone.dz-clickable .dz-message {
  margin: 35px 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 {
  background-color: #ffffff !important;
  margin: 0px 10px 10px 0px !important;
}

/* ----- visuels ----- */

.visuels {
	margin-bottom: 0px;
}

.visuels > div {
  float: left;
  height: 170px;
  margin: 0px 20px 20px 0px !important;
}

.visuels > div > img {
	height: inherit;
}

.documents {
	margin-bottom: 10px;
}

.visuels > div > a.del,
.documents > div > a.del {
	color: #777777;
	font-size: 10px;
	line-height: 16px;
}

.visuels > div > a.del:hover,
.documents > div > a.del:hover {
	text-decoration: underline;
}

