/*
color:
ROUGE : #c1222f
NOIR : #000000
*/

@font-face {
  font-family: 'Quicksand';
  src: url('./fonts/Quicksand/quicksand-v8-latin-regular.woff2') format('woff2'), url('./fonts/Quicksand/quicksand-v8-latin-regular.woff') format('woff'), url('./fonts/Quicksand/quicksand-v8-latin-regular.tff') format('truetype');
}

@font-face {
  font-family: 'OpenSans';
  src: url('./fonts/OpenSans/OpenSans-Regular.woff2') format('woff2'), url('./fonts/OpenSans/OpenSans-Regular.woff') format('woff'), url('./fonts/OpenSans/OpenSans-Regular.tff') format('truetype');
}

body {
  font-family: 'Quicksand', sans-serif;
  font-weight: 400;
  font-size: 14px;
  background-color: #f9f9f9;
  color: #000;
}

form {
  margin: 0;
}

ul {
  line-height: 180%;
  margin-top: 10px;
}

p {
  margin: 0;
}

hr {
  border: solid 1px #000 !important;
  margin: 10px 0 !important;
}

a, a:hover, a:focus {
  text-decoration: none;
}

textarea {
  resize: none;
}

.help-block {
  margin: 5px 0 !important;
  text-align: left;
}

.btn-link {
  outline: none;
  background: none;
  border: none;
  padding: 0;
  color: #338ab7;
}
.btn-link:hover, .btn-link:focus {
  color: #23527c;
}

.mt-0 {
  margin-top: 0 !important;
}

.mt-1 {
  margin-top: 1em;
}

.mt-2 {
  margin-top: 2em;
}

.mt-3 {
  margin-top: 3em;
}

.mt-4 {
  margin-top: 4em;
}

.mb-1 {
  margin-bottom: 1em;
}

.mb-2 {
  margin-bottom: 2em;
}

.mb-3 {
  margin-bottom: 3em;
}

.ml-1 {
  margin-left: 1em;
}

.ml-2 {
  margin-left: 2em;
}

.ml-3 {
  margin-left: 3em;
}

.mr-1 {
  margin-right: 1em;
}

.mr-2 {
  margin-right: 2em;
}

.mr-3 {
  margin-right: 3em;
}

.pt-1 {
  padding-top: 1em;
}

.pt-2 {
  padding-top: 2em;
}

.pt-3 {
  padding-top: 3em;
}

.pt-4 {
  padding-top: 4em;
}

.pb-1 {
  padding-bottom: 1em;
}

.pb-2 {
  padding-bottom: 2em;
}

.pb-3 {
  padding-bottom: 3em;
}

.pl-1 {
  padding-left: 1em;
}

.pl-2 {
  padding-left: 2em;
}

.pl-3 {
  padding-left: 3em;
}

.pr-1 {
  padding-right: 1em;
}

.pr-2 {
  padding-right: 2em;
}

.pr-3 {
  padding-right: 3em;
}

.hover-btn {
  position: absolute;
  opacity: 0.7;
  width: 40px;
  height: 40px;
  border-radius: 4px;  
}
.hover-btn:hover {
  opacity: 1;
}

.broken-link {
  right: 10px;
  top: 10px;
  background: url(../img/broken_link.png) no-repeat center rgba(0, 0, 0, 0.7);
  cursor: help;
}

.see-mid-video-gif {
  top: 10px;
  left: 10px;
  background: url(../img/gif.png) no-repeat center rgba(0, 0, 0, 0.7);
}

/* Surcharge Alpaca */

.btn-green {
  background-color: yellowgreen !important;
}

.btn-yellow {
  background-color: yellow !important;
}

.btn-blue {
  background-color: dodgerblue !important;
}

.btn-orange {
  background-color: orange !important;
}

.chart {
  border: solid 1px darkgrey;
  margin: 40px 0 0 0;
}

.alpaca-field-object {
  padding: 0px !important;
}

/*.alpaca-control-label {
  background: #000;
  padding: 5px 10px;
  margin: 10px 0 10px 0;
  color: #fff;
}*/

.alpaca-control-label {
  text-transform: uppercase;
  margin-bottom: 15px;
}

.alpaca-icon-required {
  font-family: 'OpenSans';
  font-weight: inherit;
}
.alpaca-icon-required::before{
  content: '*';
}

.alpaca-form-buttons-container {
  text-align: left;
}

.alpaca-control.radio {
  margin-left: 0;
}


/* Surcharge Bootstrap */

.checkbox, .radio {
  margin-top: 0;
}

.btn {
  color: #fff;
  text-transform: uppercase;
  border: none;
  font-weight: bold;
  cursor: pointer;
  border-radius: 0;
}
.btn.focus, .btn:focus, .btn:hover {
  color: #fff;
  outline: none;
}

.btn .glyphicon {
  color: #000;
}

.breadcrumb {
  background-color: transparent;
  padding: 0 15px;
  text-transform: uppercase;
  font-weight: bold;
  margin: 20px auto 40px;
}

.breadcrumb a, .form-control {
  color: #777;
  /*text-decoration: none;*/
  vertical-align: middle;
}

.breadcrumb .current {
  color: #000;/*#c1222f;*/
  vertical-align: middle;
}

.navbar {
  border: none;
  background-color: #fff;
}

.navbar-brand {
	float: none;
	background-color: transparent;
	color: #000;
	margin-left: 0 !important;
  text-transform: uppercase;
  font-weight: bold;
}

.navbar-toggle {
	float: none;
	border: none;
}

.navbar-nav li img {
    border-radius: 3px;
    margin-right: 7px;
    vertical-align: top;
}

.navbar-right {
	margin-right: 0;
}

.navbar-toggle .icon-bar {
  background-color: #000;
}

/*.form-control {
    width: 100% !important;
}*/

.resized-form form .form-group {
  margin-bottom: 30px;
}

form .form-control,
.resized-form form .form-group button.multiselect {
  padding: 6px 0;
  border: none;
  border-bottom: 1px solid #ccc;
  border-radius: 0;
  box-shadow: none;
  background-color: transparent;
}

.resized-form form .form-control,
.resized-form form .form-group button.multiselect {
  border-bottom-color: #000;
  border-top: 1px solid #000;
  padding: 12px 0;
  height: inherit;
}

.resized-form form .form-group button.multiselect {
  color: #777;
  width: 100%;
}

form .form-control:focus,
form .has-error .form-control,
form .has-error .form-control:focus {
  box-shadow: none;
}

.form-horizontal .control-label {
  text-align: left;
}

.no-padding[class*=col-] {
  padding: 0;
}

.bootstrap-datetimepicker-widget table td.active, .bootstrap-datetimepicker-widget table td.active:hover {
  background-color: #c1222f;
  border-radius: 0;
}

#form_key .form-control[disabled] {
  cursor: text;
  background-color: #fff;
  border: 1px solid #000;
  padding-left: 5px;
  padding-right: 5px;
}

.input-group-addon:last-child {
  border-right: none;
  border-top: none;
  border-radius: 0;
  background-color: transparent;
}

.carousel-inner>.item>a>img,
.carousel-inner>.item>img,
.img-responsive,
.thumbnail a>img,
.thumbnail>img {
  width: 100%;
}

.carousel-caption.top {
  top: 10px;
}

.carousel-caption:not(.top) {
  background-color: rgba(0,0,0,.7);
  padding: 10px 5px;
}

.dashboard-block #photo_day_datepicker .bootstrap-datetimepicker-widget table th,
.dashboard-block #photo_day_datepicker .bootstrap-datetimepicker-widget table td {
  height: 35px;
}

.datepicker table th, .datepicker table td {
  color: initial;
}

.table-striped>tbody>tr:nth-of-type(even) {
  background-color: #fff;
}

.input-group-flex[class*=col-] {
  float: left;
}

.checkbox .control-label {
  font-weight: 700;
}

input[type=checkbox].checkbox-right {
  margin: 0 0 0 5px;
  vertical-align: middle;
}


/* Général */

.fancy-content {
  display: none;
}

.fancy-content p {
  margin-bottom: 10px;
}
.fancy-content p.big {
  font-size: 1.5em;
}

.no-padding {
  padding: 0 !important;
}

.black-btn {
  background-color: #000;
}

/*
table {
  font-size: inherit;
}

table tr th,
table tr td {
  margin: 10px;
}

table thead tr {
  border-bottom: solid 1px #DDD
}

table td.chantier {
  border-bottom: solid 1px #DDD;
  font-style: italic;
}
*/

.dropdown-toggle {
	cursor: pointer;
}

#link {
	margin-top: 40px;
}
#link.container {
  margin-bottom: 40px;
}

p.link img {
	margin-right: 15px;
}

p.link {
	margin: 0;
	text-align: right;
	color: #000;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 1.5rem;
}

.auth p.link a { color: #000; }
p.link a {
	color: #000;
	vertical-align: middle;
}

p.info {
  margin: 5px 0;
}

a.delete,
a.delete:hover {
  color: red;
}

.break-word {
  word-wrap: break-word;
}

.hidden {
  display: none;
}

.container [class*='-block']:not(.dashboard-block):not(.photo-block) {
  margin-bottom: 80px;
}

.container [class*='-block'] .box,
.container [class*='-block'] .admin-box,
/*form[role='form']*/ {
  /*border-radius: 4px;*/
  border: 1px solid rgba(0,0,0,.15);
  /*-webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);*/
  /*box-shadow: 0 6px 12px rgba(0,0,0,.175);*/
  background: rgba(255,255,255,0.8);
}

.container [class*='-block'] .box {
  min-height: 247px;
  position: relative;
  text-align: center;
  border: 3px solid #000;
}
.container .photo-block .box {
  min-height: inherit;
}
.container .dashboard-block .box {
  min-height: auto;
}

.container [class*='-block'] .admin-box {
  text-align: center;
  padding: 50px;
  background-color: #fff;
}

.container [class*='-block'] .box.error {
  text-align: left;
  padding: 30px 50px;
  min-height: auto;
}

.box .share-photo {
  position: absolute;
  bottom: 0;
  right: 0;
  border: none;
  background-color: rgba(0, 0, 0, .5);
  padding: 2px 5px 7px;
}

#fancy_share a {
  word-wrap: break-word;
}
#fancy_share a:hover {
  text-decoration: underline;
}

#fancy_share textarea {
  vertical-align: top;
  width: 100%;
}

#fancy_share .glyphicon {
  font-size: 20px;
  cursor: pointer;
  margin-left: 10px;
}

#fancy_share p {
  margin-top: 10px;
}

.resized-form {
  width: 40%;
  min-width: 350px;
  margin-left: auto;
  margin-right: auto;
}

.next form[role='form'] {
  margin-top: 40px;
}

.new-block .top span, .photo-report-block .top span {
  display: inline-block;
  margin-top: 80px;
}

.new-block img.avatar {
  margin: 78px;
  height: 48px;
  width: 48px;
}

.new-block button.avatar {
  padding: 30px 20px 0;
  border: none;
  background: none;
  width: 100%;
  height: 100%;
}

.container [class*='-block'] .line {
  background: #ffffff; /* Old browsers */
  background: -moz-linear-gradient(left, #ffffff 0%, #000 50%, #ffffff 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(left, #ffffff 0%,#000 50%,#ffffff 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right, #ffffff 0%,#000 50%,#ffffff 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff',GradientType=1 ); /* IE6-9 */
  height: 1px;
  width: 100%;
}

[class*='-block'] .top {
	min-height: 50px;
	text-align: center;
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	background-size: cover;
	color: #fff;
	text-decoration: none;
	background-color: #444;
	text-transform: uppercase;
	font-size: 3rem;
	font-weight: bold;
}

.top .top-action {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 50;
  color: #fff;
  background: none;
  border: none;
  padding: 0 20px;
  text-transform: uppercase;
}

.top a {
  color: #fff;
}

.hover-options {
  position: absolute;
  z-index: 100;
  padding: 10px;
  top: 0;
  left: 0;
}

.hover-options > * {
  text-align: center;
  display: inline-block;
  transition: 0.5s;
  vertical-align: top;
}

/* situationnel... */
.hover-options > *:not(:last-child) {
  margin-right: 10px;
}

.hover-options [class*='block-'] {
  display: inline-block;
  padding: 20px;
  border-radius: 30px;
  border: 2px solid #ccc;
  background-size: 20px;
}

.block-edit {
  background: url(../img/pen.png) no-repeat center center #fff;
}
.block-edit:hover {
	border-color: #256cdd;
	transition: 0.5s;
}

.block-delete {
	background: url(../img/trash.png) no-repeat center center #fff;
	outline: none;
	border: none;
}
.block-delete:hover {
	border-color: red;
	transition: 0.5s;
}

.block-rights {
  background: url(../img/rights.png) no-repeat center center #fff;
}
.block-rights:hover {
  border-color: #a35400;
  transition: .5s;
}

.block-view {
  background: url(../img/eye.png) no-repeat center center #fff;
}
.block-view:hover {
  border-color: #00ff87;
  transition: .5s;
}

.block-config {
  background: url(../img/config.png) no-repeat center center #fff;
}
.block-config:hover {
	border-color: #ffd400;
	transition: 0.5s;
}

.vertically-center-img {
	height: 100%;
	display: inline-block;
	vertical-align: middle;
}

.list-separator {
  font-size: 20px;
  margin: 10px 0 50px;
  text-transform: uppercase;
  font-weight: bold;
}

.list-separator span {
  background-color: #000;
  color: #fff;
  padding: 5px 15px;
}

/*.separator-line {
  display: inline-block;
  border-bottom: 1px solid #c1222f;
  width: 30%;
  vertical-align: super;
  margin: 0 50px;
}
.separator-line.left-line {
  margin-left: 0;
}
.separator-line.right-line {
  margin-right: 0;
}*/

.row.no-separator {
  margin-top: 60px; /* ~= .company-separator height+margin */
}

[name=logo_display] img {
  max-width: 350px;
  max-height: 300px;
}

.storage-info {
  background-color: #000;
  color: #fff;
  padding: 5px 10px;
  display: inline-block;
  text-transform: uppercase;
  font-weight: bold;
  margin: 50px 0 20px;
  font-size: 13px;
}

.storage-info-item {
  margin-bottom: 15px;
}

.storage-info-img {
  margin-right: 10px;
}

.copy-to-input-url {
  cursor: pointer;
}

.photo-label {
  position: absolute;
  left: 0;
  z-index: 10;
  background-color: rgba(0,0,0,.5);
  padding: 3px 5px;
  font-size: 14px;
  text-align: left;
  word-break: break-all;
  top: 0;
}
.photo-label.bottom {
  bottom: 0;
  top: initial;
}

.border-div {
  border: 2px solid #000;
  padding: 10px 5px 5px;
  display: inline-block;
  margin-top: 15px;
}

.tab {
  margin: 20px auto;
}

.tab .wrapper {
  border-bottom: 1px solid #000;
}

.tab .tab-button:not(.last) {
  border-right: 1px solid #fff;
}
.tab .tab-button:focus {
  outline: none;
}
.tab .tab-button.active {
  text-shadow: 0 0 10px #fff;
}
.tab .tab-button[disabled]:hover {
  cursor: not-allowed;
}

.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}


/* Help */

.help-section {
  margin-bottom: 50px;
}

.help-section ul {
  list-style: none;
  padding: 0;
}

.helper-li {
  display: list-item;
  margin-left: 15px;
}


/* Login */

body.auth {
  /*background: url("https://source.unsplash.com/1600x900/?technology,photo");*/
  /*background-size: cover;*/
  padding: 0;
  margin: 0;
}

body.auth #link {
  /*bottom: 0;*/
  padding: 0 50px 30px 50px;
  display: inline-block;
  /*position: absolute;*/
  margin-top: 0;
}

body.auth #link p.link {
  text-transform: none;
  font-size: 14px;  
}

.auth .container-fluid, .auth .container-fluid .row, .auth .container-fluid .row > * {
  /*padding: 0;*/
  height: 100%;
}

/*.logo-auth {
  text-align: center;
  margin-bottom: 50px;
}*/

.auth-img-background {
  background: url('../img/img_white_label/1/auth_background.jpg') no-repeat center center;
  background-size: cover;
}

.auth-form {
  text-align: center;
  background-color: #fff;
  padding-top: 50px;
}

#auth_logo {
  width: 50%;
}

.auth-form form {
  padding: 30px;
}

.auth-form .alpaca-container-item:not(:first-child) {
  margin-top: 30px;
}

.auth .auth-btn {
  width: 100%;
  background-color: #666;
  color: #fff;
  font-size: 2rem;
  text-transform: uppercase;
  border: none;
  font-weight: bold;
  padding: 5px;
  cursor: pointer;
  border-radius: 0;
  margin-top: 30px;
}
.auth .auth-btn:hover {
  color: #fff;
  background-color: #333;
}

.auth .form-control {
  color: #555;
}


/* Navbar */

.navbar-nav {
	padding-top: 10px;
}

.navbar-brand>img {
  max-height: 80px;
  max-width: 170px;
  border: solid 1px white;
  display: initial;
  margin: 10px 0;
}

#side_nav .menu-item:last-child {
  border-bottom: solid 1px #111;
}

.navbar .side-nav .menu-item {
  text-transform: uppercase;
  padding-top: 10px;
  padding-bottom: 10px;
  transition: 0.5s;
  background-color: #737373;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  font-size: 1.7rem;
}

.navbar .menu-item:hover {
  /*padding-left: 30px;*/
  background-color: #111;
  transition: 0.5s;
  text-decoration: none;
}

.navbar-nav>li.logout {

}

.debug {
  background-color: red;
  color: white;
}
.navbar-nav>li.debug a {
  color: white !important;
}

.side-nav {
  height: 100%;
  position: fixed;
  top: 0;
  left: -1000px;
  width: 270px;
  background: #222;
  overflow-x: hidden;
  transition: 0.5s;
  z-index: 2000;
}
.side-nav.visible {
  left: 0;
}

.side-nav .navbar-wrapper {
  position: relative;
  padding-bottom: 120px;
}

.side-nav a:not(.navbar-brand) {
  padding: 5px;
  display: block;
  color: #fff;
}

.side-nav a.menu-item.current {
  background-color: #c1222f;
}

.side-nav .navbar-header {
  background-color: #fff;
  text-align: center;
  padding: 10px 0;
}

.side-nav a.menu-subitem {
  margin-left: 30px;
  border-left: 1px solid #fff;
  padding: 0 0 0 7px;
  text-transform: uppercase;
}
.side-nav a.menu-subitem:not(.last) {
  margin-bottom: 10px;
}
.side-nav a.menu-subitem.last {
  margin-bottom: 20px;
}

.side-nav-overlay {
  position: fixed;
  top: 0;
  /*right: 0;*/
  bottom: 0;
  left: 0;
  opacity: 0;
  transition: 0.5s;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}
.side-nav-overlay.visible {
  opacity: 1;
  right: 0;
}

#search_block {
  position: relative;
  display: inline-block;
  width: 200px;
  margin-left: 20px;
}

#search_block .glyphicon {
  position: absolute;
  top: 6px;
  left: 5px;
  font-size: 18px;
  color: initial;
}

#search_bar {
  height: 30px;
  width: 100%;
  padding-left: 25px;
}
#search_bar:focus {
  outline: none;
}

#search_results {
  background-color: #fff;
  position: absolute;
  top: 30px;
  left: 0;
  width: 100%;
  border: 1px solid #000;
  padding: 10px;
  z-index: 200;
}

#search_results ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
#search_results ul:first-of-type {
  margin-bottom: 15px;
}

#search_results ul li:first-child {
  background-color: #c1222f;
  color: #fff;
  padding: 0 5px;
  font-weight: bold;
  text-transform: uppercase;
}

#search_results a {
  color: #888;
}
#search_results a:hover {
  color: #222;
}

.navbar-logo {
  position: absolute;
  bottom: 30px;
  left: 70px;
  max-width: 50%;
}


/* Titres et styles */

.title {
  text-transform: uppercase;
  text-align: center;
  font-weight: bold;
}

div.title {
  padding: 60px 15px 20px;
}

p.title {
  margin-bottom: 20px;
}

.title .bigger-over {
  font-size: 1.5em;
}

div.title p.text,
div.title span.text {
  display: inline;
  width: 100%;
  font-size: 2em;
  margin: 0;
}

div.title p.subtext,
div.title span.subtext {
  display: inline-block;
  width: 100%;
  font-size: 1.5em;
  margin-top: 8px;
}

div.title p.border,
div.title span.border {
  border-bottom: solid 20px #c1222f;
  display: none;
  width: 20px;
  margin: 0 0 0 6px;
}

div.title2 {
  padding: 0;
  margin: 0;
}

div.title2 .text {
  display: inline-block;
  width: 100%;
  font-size: 1.5em;
  margin: 0 0 15px 0;
  border-bottom: solid 1px #DDD;
}

p.success {
  background: url('../img/tick.png') no-repeat;
  font-weight: bold;
  color: green;
  padding: 0 0 0 25px;
  text-align: left;
}

p.error,
p.delete {
  background: url('../img/cross.png') no-repeat;
  font-weight: bold;
  color: red;
  padding: 0 0 30px 25px;
}

p.question {
  font-weight: bold;
  color: blue;
  padding: 0 0 30px 25px;
}

.green {
  color: green;
}

/* Administration */

.admin-block .top-action {
  padding: 40px 30px 30px;
  font-size: 2rem;
}

.admin-block .avatar {
  width: 48px;
  margin-bottom: 30px;
}

.formc {
  font-weight: bold;
}

.formc img:first-child {
    padding-right: 10px;
    border-right: solid 1px #DDD;
    margin-right: 15px;
}

.more_infos {
  font-weight: normal;
  margin-left: 41px;
}

.rowc {
  border-bottom: solid 1px #DDD !important;
  margin-bottom: 15px;
  padding-bottom: 5px;
}

.rowc:last-child {
   border-bottom: 0px !important;
   margin-bottom: 0px;
   padding-bottom: 0px;
}

.activec {
  color: green;
}

.inactivec {
  color: orange;
}

.normal_text {
  font-weight: normal;
}

.deletedc {
  color: red;
}

.form_answer {
  background-color: papayawhip !important;
}

span.btn {
  margin: 0 10px;
}

.btn a {
  color: white;
  padding: 0 20px;
  text-decoration: none;
}

.link_search {
  text-decoration: none;
  color: blue;
  cursor: pointer;
}

.module-block .top .top-action,
.camera-block .top,
.drone-block .top {
  padding-top: 85px;
}

.camera-block .top .cam-info {
  text-transform: none;
  font-size: 14px;
}

#log_area {
  resize: none;
  width: 100%;
  height: 350px;
}

.white-label-block .top span {
  padding: 80px 10px 0;
  display: inline-block;
}

.white-label-block .top img {
  width: 100%;
  height: 100%;
}

.admin-block .new-block.white-label-block .top-action {
  font-size: 3rem;
  padding-top: 60px;
}

.img-preview-white-label {
  max-width: 200px;
  max-height: 200px;
}

.white-label-form .radio {
  margin-left: 15px;
}

#form_statistics {
  margin-bottom: 80px;
}

#winter_time_block {
  margin-bottom: 40px;
  padding-left: 15px;
  font-size: 15px;
}

#winter_time_block input {
  vertical-align: middle;
  margin: -2px 0 0 7px;
}


/* Specific */
/*
#link_in {
  margin: 30px 0 0 0;
  width: 100%;
  text-align: right;
}

.field_legend {
  display: block;
  font-weight: bold;
  padding-top: 10px;
}

.field_content {
  display: block;
  border: solid 1px #DDD;
  border-radius: 5px;
  padding: 10px;
  margin: 5px 0;
}

.field_content ul {
  margin: 0px !important;
}

#btn-new-form-preview {
  text-align: right;
}

p.text img {
  vertical-align: inherit;
  margin-right: 8px;
}

.title_topdf {
  margin: 0 0 20px 0 !important;
  padding: 10px 0px;
}

input.import_obj {
  display: inline-block !important;
}

input.import_btn {
  margin-left: 10px;
}

p.warning {
  margin: 0px 0 20px 0 !important;
  max-width: 100%;
  background-color: bisque;
  padding: 20px;
  border-radius: 5px;
}*/


/* dashboard accueil */

#dashboard {
  padding-top: 50px;
}

#dashboard [class*='-info'],
#dashboard .dashboard-full a {
  color: #fff;
  font-family: OpenSans;
  text-align: center;
  font-weight: bold;
  font-size: 2rem;
}

#dashboard .photos-info {
  background-color: #65a4da;
  padding: 20px 5px;
  margin-bottom: 30px;
}

#dashboard .photos-info p:not(:last-of-type) {
  margin-bottom: 10px;
}

#dashboard .camera-block {
  margin-bottom: 30px;
}

.container .camera-block .box.active {
  border: 3px solid green;
}

.container .camera-block .box.inactive {
  border: 2px solid #f56c42;
}

.container .camera-block .box.pending {
  border: 3px solid #f5ce42;
}

#dashboard .camera-block:not(.quarter-block) .top {
  cursor: pointer;
  padding: 0;
}

#dashboard .quarter-block .top {
  padding-top: 30px;
}

#dashboard .camera-block .box {
  min-height: 100px;
}

.carousel-caption h4 {
  text-transform: uppercase;
  font-weight: bold;
}

#dashboard .disk-info {
  margin: 30px 0;
  background-color: #f7bd6c;
  padding: 0 5px 20px;
  position: relative;
}

.disk-info svg {
  transform: rotateX(180deg);
}

.disk-info span {
  position: absolute;
  left: 0;
  right: 0;
  width: 60px;
  top: 0;
  bottom: 0;
  height: 30px;
  margin: auto;
  font-size: 2.5rem;
}

.disk-info table {
  color: #fff;
}

.disk-info .table>thead>tr>th,
.disk-info .table>tbody>tr>td {
/*  vertical-align: middle;*/
  border-color: #fff;
}

#dashboard #map {
	height: 400px;
	margin-bottom: 30px;
}

#dashboard .cameras-info {
  background-color: #dc5e5a;
  padding: 20px 5px;
  margin-bottom: 30px;
}

#dashboard .dashboard-full {
  background-color: #3ab39b;
  padding: 20px 5px;
  margin-bottom: 30px;
  text-align: center;
}

#dashboard .dashboard-full span {
  margin-right: 15px;
}

#dashboard .ftp-status-info {
  padding: 20px 5px;
  margin-bottom: 30px;
  text-align: center;
}
#dashboard .ftp-status-info.active {
  background-color: green;
}
#dashboard .ftp-status-info.inactive {
  background-color: #f56c42;
}

#dashboard .ftp-status-info span {
  vertical-align: middle;
}

#dashboard .quarter-info {
  margin-bottom: 10px;
  background-color: #65a4da;
  padding: 20px 5px;
}


/* dashboard fullscreen */

#dashboard-full .photo-label {
  top:150px;
  left:330px;
  width:300px;
  color: #fff;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 12px;
}

#dashboard-full .photo-label.active {
  border: 3px solid green;
}

#dashboard-full .photo-label.inactive {
  border: 2px solid #f56c42;
}

#dashboard-full .photo-label.pending {
  border: 3px solid #f5ce42;
}

#dashboard-full #hdd_info {
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0,.5);
  padding: 5px 7px;
  text-transform: uppercase;
  font-weight: bold;
  color: #fff;
  z-index: 100;
}

#dashboard-full #hdd_info .disk-info span {
  position: initial;
  width: initial;
  height: initial;
  font-size: 14px;
}

#dashboard-full #back_button {
  position: absolute;
  right: 0;
  z-index: 100;
  background-color: rgba(0,0,0,.5);
  color: #fff;
  font-size: 22px;
  padding: 3px 5px 5px 6px;
}


/* contact */

.contact {
  width: 100%;
  background-color: beige;
  padding: 10px;
  margin: 15px 0;
  box-shadow: 8px 8px 12px #aaa;
  min-height: 260px;
}

.contact.gestc {
  background-color: khaki;
}

.contact .name {
  font-weight: bold;
}

.contact div.action {
  float: right;
}

.contact .icon {
  margin-left: 0;
}

.contact_notify {
  color: white;
  background-color: cadetblue;
  border-radius: 100px;
  height: 15px;
  width: 15px;
  display: inline-block;
  text-align: center;
  position: relative;
  top: -8px;
  left: -12px;
  font-size: 10px;
}

.canvasjs-chart-credit {
  display: none;
}


/* user */

.user-block img.avatar {
  margin: 29px 0 0 0;
}

/*.user-block .role-1 {

}

.user-block .role-2 {

}

.user-block .role-3 {
  
}*/

/*.user-block .top:hover .hover-options {
}*/


/* project */

.module-timelapse {
  background: url(../img/camera.png) no-repeat center center;
}

.module-drone {
  background: url(../img/airplane.png) no-repeat center center;
}

.camera-block img.avatar,
.drone-block img.avatar {
  margin: 78px;
  height: 48px;
  width: 48px;
}

.ribbon {
  width: 70px;
  height: 70px;
  overflow: hidden;
  position: absolute;
}
.ribbon::before,
.ribbon::after {
  position: absolute;
  z-index: -1;
  content: '';
  display: block;
  border: 5px solid #912929;
}
.ribbon span {
  position: absolute;
  display: block;
  width: 125px;
  padding: 5px 0;
  background-color: #c1222f;
  box-shadow: 0 5px 10px rgba(0,0,0,.1);
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  line-height: 1;
  text-shadow: 0 1px 1px rgba(0,0,0,.2);
  text-transform: uppercase;
  text-align: center;
}

.ribbon-bottom-right {
  bottom: -10px;
  right: -10px;
}
.ribbon-bottom-right::before,
.ribbon-bottom-right::after {
  border-bottom-color: transparent;
  border-right-color: transparent;
}
.ribbon-bottom-right::before {
  bottom: 0;
  left: 0;
}
.ribbon-bottom-right::after {
  top: 0;
  right: 0;
}
.ribbon-bottom-right span {
  left: -20px;
  bottom: 15px;
  transform: rotate(315deg);
}


/* timelapse */

.select-timelapse-camera {
  height: 100%;
  width: 100%;
  background: transparent;
  border: none;
  color: transparent;
}
.select-timelapse-camera:focus {
  outline: none;
}

iframe {
  width: 100%;
  /*height: 56.25vw;*/
  border: none;
}
iframe[name=timelapse] {
  height: 520px;	
}
iframe[name=img_compare] {
	height: 700px;
}


/* photo par jour */

.fancy img {
  width: 100%;
}


/* dashboard chantier */

.archive-project {
  padding: 20px;
  text-align: center;
  margin-bottom: 20px;
  background-color: #c1222f;
  color: #fff;
  font-size: 3rem;
  font-weight: bold;
}

.select-cam-dashboard .select-cam-btn {
  vertical-align: bottom;
}

.select-cam-dashboard .select-cam-btn,
.select-cam-dashboard .select-cam-btn button {
  display: inline-block;
  background-color: #aaa;
}
.select-cam-dashboard .select-cam-btn:hover,
.select-cam-dashboard .select-cam-btn:hover button {
  background-color: #dc5e5a;
}
.select-cam-dashboard .select-cam-btn.selected,
.select-cam-dashboard .select-cam-btn.selected button {
  background-color: #dc5e5a;
}

.select-cam-dashboard div:not(:last-of-type) {
  margin-right: 5px;
}

.select-cam-dashboard button {
  color: #fff;
  border: none;
  padding: 5px 10px;
  font-weight: bold;
  vertical-align: middle;
}
.select-cam-dashboard .select-cam-btn.selected button {
  text-shadow: 0 0 10px #fff;
}

.select-cam-dashboard .edit-cam-name-content {
  display: inline-block;
  border: solid 2px #aaa;
  border-bottom: none;
  background-color: #aaa;
}
.select-cam-dashboard .edit-cam-name-content.selected {
  border-color: #dc5e5a;
  background-color: #dc5e5a;
}

.select-cam-dashboard .edit-cam-name {
  display: inline-block;
/*  margin-left: 5px;*/
  padding-right: 5px;
  cursor: pointer;
}

.select-cam-dashboard .input-edit-cam-name {
  height: 28px;
  border: none;
}

.select-cam-dashboard .validate-edit-cam-name {
  padding: 0 5px;
  cursor: pointer;
  vertical-align: top;
}

.dashboard-embed {
  margin-bottom: 20px;
}

.dashboard-block {
  margin-bottom: 20px;
  color: #fff;
  font-size: 2rem;
  padding: 10px;
}
form.dashboard-block {
  background: #fff;
  padding-top: 20px;
}

.dashboard-block a {
  color: #fff;
}

.dashboard-block p {
  margin-bottom: 10px;
}

.dashboard-block .title {
  font-family: OpenSans;
  letter-spacing: 2px;
}

.dashboard-block .content {
  text-align: center;
  font-weight: bold;
}

.dashboard-block.big .content {
  font-size: 4rem;
}

.dashboard-block.big .content img {
  margin-right: 20px;
  vertical-align: text-bottom;
}

.dashboard-block .content .glyphicon {
  color: #fff;
  font-size: 80px;
}

.dashboard-block .fill-circle {
  transform-origin: 50% 50%;
  transform: rotate(-90deg);
}

#weatherWidget .locationName {
  text-transform: uppercase;
}

.preview-timeline-photo {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
}

.svg-wrapper {
  position: relative;
}

.svg-wrapper span {
  position: absolute;
  left: 0;
  right: 0;
  width: 46px;
  top: 0;
  bottom: 0;
  height: 25px;
  margin: auto;
}

#map {
  width: 100%;
  height: 130px;
}

.img-comp-container {
  position: relative;
  height: 500px; /*should be the same height as the images*/
}
.img-comp-container.dashboard-block {
  padding: 0;
}

.img-comp-img {
  position: absolute;
  width: auto;
  height: auto;
  overflow: hidden;
}

.img-comp-img img {
  display: block;
  vertical-align: middle;
}

.img-comp-slider {
  position: absolute;
  z-index: 9;
  cursor: ew-resize;
  width: 40px;
  height: 40px;
  background-color: #2196F3;
  opacity: 0.7;
  border-radius: 50%;
}


/* user rights */

.rights-table {
  width: 100%;
  margin: 40px 0;
  font-size: 14px;
}

.rights-table th, .rights-table td {
  padding: 10px;
  border: 1px solid #000;
  font-weight: normal;
}

.rights-table .project-name {
  background-color: #ccc;
  text-transform: uppercase;
  font-weight: bold;
}


/* photo by day */

#find_photo_by_day .input-group-addon {
  padding-right: 0;
}



.photo-by-day > div {
  margin-bottom: 30px;
}

.photo-by-day .photo-block {
  position: relative;
}

.photo-by-day .hover-options {
  left: 15px;
}

.block-social {
  position: absolute;
  bottom: 0;
  padding: 0 0 10px 10px;
}

.block-social .like-photo,
.block-social .share-photo {
  background: none;
  border: none;
  padding: 0;
  vertical-align: middle;
  margin-right: 5px;
}

.block-social .like-photo img {
  width: 25px;
}

.block-social .share-photo {
  color: #3cb95d;
  margin-right: 0;
}

.block-social .share-photo .glyphicon {
  font-size: 25px;
  top: 0;
}

.block-social .shareon {
  vertical-align: middle;
  display: inline-block;
  max-height: 0;
  max-width: 0;
  transition: max-width 0.7s, max-height 0.7s;
  overflow: hidden;
}

.block-social .shareon.visible {
  max-width: 300px;
  max-height: 50px;
}

.block-social .shareon>* {
  margin-top: 0;
  margin-bottom: 0;
  padding: 0 4px;
}
.block-social .shareon>:before {
  top: 2px;
  left: 2px;
}

.block-download {
  position: absolute;
  top: 0;
  right: 0;
  padding-right: 20px;
}

.block-download input[type=checkbox] {
  height: 17px;
  width: 17px;
}

#close_fancy {
  float: right;
}

#table_logo_chooser td {
  padding: 10px 30px;
  border: 1px solid;
}


.project-404 {
  text-align: center;
  background-color: #fff;
  padding: 50px;
}

.project-404 img {
  height: 300px;
  margin-bottom: 20px;
}


@media (max-width: 1200px) {
	iframe[name=img_compare] {
		height: 600px;
	}
}

@media (min-width: 992px) and (max-width: 1200px) {
  .project-block p.title {
    height: 40px;
  }
}

@media (max-width: 991px) {
  .dashboard-block #photo_day_datepicker .bootstrap-datetimepicker-widget table th,
  .dashboard-block #photo_day_datepicker .bootstrap-datetimepicker-widget table td {
    height: 35px;
  }

  iframe[name=timelapse] {
  	height: 400px;
  }
  iframe[name=img_compare] {
  	height: 500px;
  }
}

@media (max-width: 767px) {
  #search_block {
    display: block;
    margin: 20px 30px;
  }

  .navbar-header {
    float: left;
  }

  .side-nav .navbar-header {
    float: none;
  }

  .navbar-nav {
    float: right;
    padding: 0;
  }

  .navbar-nav .open .dropdown-menu {
    position: absolute;
    top: 25px;
    left: -215px;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
  }

  iframe[name=img_compare] {
  	height: 400px;
  }
}

@media (min-width: 768px) {
  .navbar-toggle {
    display: initial;
  }

  .side-nav .navbar-header {
    float: none;
  }
}