/* ----------------------- */
/* ------- GENERAL ------- */
/* ----------------------- */

@import url('https://fonts.googleapis.com/css?family=Open+Sans|Roboto&display=swap');

.center {
  text-align:center;
}

.underline {
  text-decoration:underline;
}

.align_right,
td.align_right,
th.align_right {
  text-align:right;
}

.align_center,
td.align_center,
th.align_center {
  text-align:center;
}

.nowrap {
  white-space:nowrap;
}

.no-print {}
.just-print { display:none; }

.clear { clear: both }

.popover-trigger {
  cursor: pointer;
}

.ml20 {
  margin-left: 20px;
}

.ajax-loader {
  margin: 20px;
  padding-left: 50px;
  background:url(../img/ajax-loader.gif) center left no-repeat;
  line-height:40px;
}

/* ----------------------- */
/* - jQuery UI overrides - */
/* ----------------------- */

/* Make sure autocomplete list is above all. Useful in modals */
ul.ui-autocomplete {
  z-index: 9999 !important;
}

ul.ui-autocomplete li.selectable-paginator.ui-menu-item a.ui-corner-all {
  color:#0088CC;
}

ul.selectable-deck-bottom,
ul.pick-equipment-deck {
  margin-top: 10px;
  margin-left: 0px;
}

ul.selectable-deck li,
ul.pick-equipment-deck li {
  position: relative;
  padding-right: 20px;
}

ul.selectable-deck li .selectable-deck-remove {
  position: absolute;
  top: 3px;
  right: -10px;
}


.modal ul.selectable-deck {
  width: 300px;
}

.modal ul.selectable-deck li {
  white-space: normal;
}

#ui-datepicker-div select,
#ui-timepicker-div select {
  width: 150px;
}

/* No "Now" button for duration */
#ui-datepicker-div.duration .ui-datepicker-current{
  display: none;
}


/* ----------------------- */
/* ---- T.B. overrides --- */
/* ----------------------- */
/*
.btn + .btn {
  margin-left: 5px;
}
*/
.btn-x-mini {
  padding: 1px 3px;
}

.input-prepend input.autocompletewidget {
  width: 185px;
}

h1 {
  font-size: 24px;
  line-height: 28px;
  margin-top: 0px;
  margin-bottom: 20px;
}

h1 small {
  font-size: 20px;
}

h2 {
  font-size: 22px;
  line-height: 26px;
}

h3 {
  font-size: 20px;
  line-height: 24px;
}

h4 {
  font-size: 16px;
  line-height: 18px;
}

.pagination {
  line-height: 36px;
  margin-top: 0px;
}

.pagination + .pagination {
  margin-left: 15px;
}

.just-icon [class^="icon-"],
.just-icon [class*=" icon-"] {
  vertical-align: middle;
}

a.just-icon:hover,
a.just-icon:hover {
  text-decoration: none;
}

/* Fix overflow problem with dropdown inside a tab-content
 * used in truck equipment configuration form
 */
.tabbable.tabs-top .tab-content {
  overflow-x: visible;
  overflow-y: visible;
  margin-left: 0;
}

/* Fix 'font-size:0' set on .input-append & .input-preprend classes
 * which hide help-inline and errors messages
 */
.input-append .help-inline,
.input-prepend .help-inline,
.input-append .help-block,
.input-prepend .help-block,
.input-append .selectable-deck
 {
  font-size: 13px;
}

.input-append  .selectable-deck {
  white-space: normal;
}

input.uneditable-input {
  background-color: #eee;
}

.help-inline a,
.help-text a {
  color: inherit;
}

/* With original position:fixed, autocomplete lists break scroll */
.modal {
  position: absolute;
  margin-top: 0;
  top: 50px;
  width: 660px;
  left: 45%;
  overflow: hidden;
}

/* Prevents flieckring during modal construction */
.modal h1 {
  display: none;
}

.modal .alert h4 {
  font-size: 16px;
  line-height: 18px;
}

.well form,
.well form .form-actions {
  margin: 0;
  padding-bottom: 0;
}

textarea {
  height: 100px;
}

textarea.short {
  height: 60px;
}

.input-append .btn.last {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 3px;
  border-top-left-radius: 0;
  border-top-right-radius: 3px;
}

/* We want to display progress bar just in place of input file */
.form-horizontal .progress {
  display:inline-block;
  margin-bottom: 0;
}

/* ClearableFileInput widget delete checkbox */
.controls a + input[type="checkbox"] {
  margin-left: 10px;
  margin-top: 0;
}
input[type="checkbox"] + label {
  display: inline;
  margin-bottom: 0;
}

.popover {
  width: 512px;
  max-width: 512px;
  font-size: 12px;
}

form .form-actions .btn-group {
  display: inline-block;
}

.muted a {
  color: #999999;
}

.control-group.fake .control-label {
  padding-top: 0px;
}

/* Fix dropdown in collapse */
#main .collapse.opened {
  overflow: visible;
}
/* Don't use the fix when comparing indicators */
#main .reviews-indicators-list .collapse.opened {
  overflow: hidden;
}

/* ----------------------- */
/* -------COLLAPSE ------- */
/* ----------------------- */

.collapse-trigger,
.collapse-trigger.section-line {
  cursor: pointer;
  background-image: url(../img/expanded.png);
  background-position: 5px center;
  background-repeat: no-repeat;
  padding-left: 22px;
}

.collapse-trigger.collapsed {
  cursor: pointer;
  background-image: url(../img/collapsed.png);
}

/* ----------------------- */
/* -------- HEADER ------- */
/* ----------------------- */

.navbar .navbar-inner {
  padding-left: 8px;
  padding-right: 8px;
}
.navbar .home {
  opacity: 0.6;
}
.navbar .brand {
  font-size: 18px;
}
.navbar #buttons > a,
.navbar #buttons > div,
.navbar #buttons > form,
.navbar #buttons > ul
{
  margin-left: 2px;
  float: right;
}

.navbar #user-info
 {
  display: block;
  float: left;
  line-height: 40px;
}

.navbar #user-agencies {
  margin-top: -1px;
  font-size: inherit;
}

.navbar #user-info .user-info-little {
  display:none;
}

.navbar .navbar-search {
  margin-top: 0px;
  border-top: none;
  border-bottom: none;
  box-shadow: none;
  padding: 0;
}

.navbar .navbar-search input {
  margin-top: 3px;
}

.navbar #user-agencies .user-info {
  color: white;
}

#setlanguage {
  display:none;
}
#languages ul {
  text-align:left;
}

/* ------------------------- */
/* ------- MENU ------------ */
/* ------------------------- */
#menu-collapse-btn,
#breadcrumb-collapse-btn
 {
  display: none;
}

.logo {
  text-align: center;
}

.nav-externals > li > a:hover {
  text-decoration: underline;
  background-color: transparent;
}

#menu .collapse-trigger {
    padding-left: 22px;
}

#menu .menu-collapse {
    margin-bottom: 0;
    margin-left: 20px;
}

/* ------------------------- */
/* Breadcrumb, actions, help */
/* ------------------------- */


#nav .btn-large {
  font-size: 14px;
  line-height: 12px;
  margin-top: 1px;
}

#nav .btn .caret {
  margin-top: 5px;
}

#nav .btn.disabled .caret {
  visibility: hidden;
}

#nav .btn.btn-info {
  padding: 7px 11px 8px 8px;
}

#breadcrumb {
  margin-left: 50px;
}

/* ----------------------- */
/* -------- ICONS -------- */
/* ----------------------- */
.truck {
  background: url(../img/icon-truck.png) center left no-repeat;
  padding-left: 22px;
}

.depot {
  background: url(../img/icon-depot.png) center left no-repeat;
  padding-left: 22px;
}

.station {
  background: url(../img/icon-station.png) center left no-repeat;
  padding-left: 22px;
}

.infrastructuretool {
  background: url(../img/icon-tool.png) center left no-repeat;
  padding-left: 22px;
}

.technician {
  background: url(../img/icon-user.png) center left no-repeat;
  padding-left: 22px;
}

.icon-new-tab {
  background: url(../img/icon-new-tab.png) center left no-repeat;
  margin-left: 4px;
}

/* ----------------------- */
/* -------- MAIN --------- */
/* ----------------------- */
#main {
  padding-left: 20px;
  border-left: 1px solid #E5E5E5;
}

#main > h3 {
  margin: 15px 0 10px;
}

/* Visual line (inspired from .btn-primary .btn-primary[disabled] .btn-block .btn) */
.section-line {
  display: block;
  -moz-box-sizing: border-box;
  /* width: 100%; */
  padding: 4px 0 4px 10px;
  background-color: #0088CC;
  color: #FFFFFF;
  font-size: 16px;
  line-height: 18px;
  opacity: 0.65;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  text-align: left;
  vertical-align: middle;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  border-radius: 4px 4px 4px 4px;
  border-style: solid;
  border-width: 1px;
}

.section-line.inactive {
  background-color: #aaa;
}

.section-line.orange {
  background-color: #e39b25;
}

/* icon/image for the page title */
.pagetitle-icon {
    float: left;
    padding-right: 10px;
}

.table-th20-td80 tr th { /* 20% 80% */
    width: 20%;
}
.table-th20-td80 tr td { /* 20% 80% */
    width: 80%;
}

.table-th40-td60 tr th { /* 40% 60% */
    width: 40%;
}
.table-th40-td60 tr td { /* 40% 60% */
    width: 60%;
}

.table.no-border > tbody > tr > th,
.table.no-border > tbody > tr > td {
  border-top: 0px;
}

.table td.v-striped-x {}
.table td.v-striped-y {
  background-color: #F5F5F5;
}


.table-auto tr th,
.table-auto tr td {
    width: auto;
}

ul.check-list {
  margin-left: 0px;
}

ul.check-list li {
  padding-left: 22px;
  list-style-type: none;
  line-height: 22px;
}

ul.check-list li.yes {
  background:url(../img/yes.png) center left no-repeat;
}

ul.check-list li.no {
  background:url(../img/no.png) center left no-repeat;
}

.check .yes {
  background: url(../img/yes.png) center left no-repeat;
  padding-left: 25px;
}

.check .no {
  background: url(../img/no.png) center left no-repeat;
  padding-left: 25px;
}

/* ----------------------- */
/* -------- FOOTER ------- */
/* ----------------------- */
#ft {
  margin-top:1.5em;
  color:#ccc;
}

#ft a {
  color:#ccc;
}

/* ----------------------- */
/* ----- Filter form ----- */
/* ----------------------- */
.filters.well {
  margin: 25px 0 20px 0;
  padding: 0 19px;
}

.filters > button {
  margin: -20px 0 0 5px;
}

/* With 180px : 3 autocomplete fields fit on one line,
 * useful for intervention filter form */
.filters input,
.filters .uneditable-input,
.filters .form-actions a {
  width: 180px;
}

.filters [type="radio"],
.filters [type="checkbox"] {
  width: auto;
}


.filters form .control-group {
  float: left;
  margin-left: 10px;
  margin-bottom: 0;
}

.filters form .input-append {
  display:block;
}

.filters form .btn.last {
/*  margin-bottom: 9px; */
}

.filters form .form-actions {
  clear: both;
  margin: 0;
  padding-top: 10px;
  padding-bottom: 10px;
}

.filters form .form-actions input {
  margin-right: 10px;
}

.saved_searches {
    margin-left: 10px;
}

.saved_searches select {
    margin-top: 9px;
    margin-right: 5px;
}

.saved_searches label {
    display: inline;
}
.saved_searches label span {
    position: relative;
    top: 2px;
}

/* ----------------------- */
/* ---- Message form ----- */
/* ----------------------- */
.message-form .message-field {
  width: 350px;
}

/* ----------------------- */
/* ----- Listings    ----- */
/* ----------------------- */
table.table {
  clear: both;
}

table.table th a {
  color: inherit;
}

table.table th a.reports_by_equipment {
  color: #0088cc;
}

/* ----------------------- */
/* ----- Dashboard   ----- */
/* ----------------------- */
#dashboard .well.span6,
#dashboard .well.span12 {
  padding: 8px;
  margin-left: 0;
}
#dashboard .well.span6 + .well.span6 {
  margin-left: 2.12766%;
}

#dashboard h3 {
  font-size: 18px;
  line-height: 20px;
  margin: 5px 0 8px 0;
}

#dashboard #widget_contact form .control-label {
  width: 80px;
}

#dashboard #widget_contact form .controls {
  margin-left: 100px;
}

#dashboard #widget_contact form .form-actions {
  padding: 10px 0 0 100px;
}

#dashboard #widget_note #note_text {
  font-size: 110%;
  line-height: 150%;
  margin-top: 15px;
}

#dashboard #widget_note textarea {
  height: 150px;
}

#dashboard .scrolling-wrapper {
  height: 195px;
  overflow-y: scroll;
}

#dashboard #widget_customer_welcome {
 margin-bottom: 20px;
}

#alert-echo {
  padding-left: 50px;
  font-size: 18px;
}

#alert-echo a.badge {
  margin-left: 10px;
}

.dropdown-menu a.disabled {
    cursor: pointer;
    color: #ccc;
}

/* ---------------------------------------------- */
/* ----- Dashboard Performance Indicators   ----- */
/* ---------------------------------------------- */

#dashboard-indicators {}

#dashboard-indicators h2 {
  padding: 0.25em 0.5em;
  background: #0078C1;
  border-radius: 6px;
  font-family: 'Roboto', sans-serif;
  font-weight: bold;
  font-size: 18px;
  color: #FFFFFF;
  text-align: center;
  display: inline-block;
  margin: 0 auto;
}

.indicators-list {
  margin: 2em 0;
}

.reviews-indicators-list {
  margin: 0 0 2em 0;
}

.indicators-row:before,
.indicators-row:after {
  display: table;
  content: "";
  line-height: 0;
}

.indicators-row:after {
  clear: both;
}

.indicators-row {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  align-content: center;
}

.indicators-row:first-of-type {
  margin-top: 40px;
}

.indicators-row:nth-of-type(odd) {
}

.indicators-row:nth-of-type(even) {
  margin-left: 50px;
}

.indicator-icon,
.indicator-infos,
.indicator-data {
  margin-top: -20px;
}

.indicator-icon {
  max-width: 100px;
}

.indicator-icon img {
  max-width: 100% !important;
  height: auto;
}

.indicator-infos h3 {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  color: #0078C1;
  font-weight: bold;
  margin-top: 0;
}

.indicator-infos p {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: #484848;
  padding-bottom: 10px;
}

.indicator-data {
  height: 72px;
  min-width: 72px;
  position: relative;
}

.indicator-data:after {
  content: "";
  background: url(../img/indicators/numbers.svg) no-repeat top left;
  width: 72px;
  height: 72px;
  display: block;
}

.indicator-data span.indicator-value {
  font-family: 'Roboto', sans-serif;
  font-size: 28px;
  font-weight: bold;
  color: #2E8AD6;
  text-align: center;
  position: absolute;
  top: 36px;
  left: 36px;
}

.indicator-data span.indicator-value.overdue {
  color: red;
}

@media (max-width: 1200px) {
}

@media (max-width: 980px) {

}

@media (max-width: 768px) {

  .indicator-infos h3 {
    margin-bottom: 0;
    line-height: 16px;
  }

  .indicators-row {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .indicators-row:first-of-type {
    margin-top: 20px;
  }

  .indicators-row:nth-of-type(even) {
    margin-left: 0;
  }

  .indicator-icon,
  .indicator-infos,
  .indicator-data {
    margin-top: 0;
  }

  .indicator-icon {
    max-width: 70px;
    width: 70px;
  }

  .indicator-icon img {
    max-width: 50px !important;
    height: auto;
  }

  .indicator-infos h3 {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #0078C1;
    font-weight: bold;
    margin-top: 0;
  }

  .indicator-infos p {
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    color: #484848;
    padding-bottom: 0px;
  }

  .indicator-data {
    height: 45px;
    min-width: 45px;
    position: relative;
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 20%;
  }

  .indicator-data:after {
    content: "";
    background: url(../img/indicators/numbers.svg) no-repeat top left;
    width: 45px;
    height: 45px;
    display: block;
    background-size: contain;
  }

  .indicator-data span.indicator-value {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: #2E8AD6;
    text-align: center;
    position: absolute;
    top: 16px;
    left: 16px;
  }
}

@media (max-width: 480px) {

  .indicator-infos h3 {
    margin-bottom: 0;
    line-height: 16px;
  }

  .indicators-row {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .indicators-row:first-of-type {
    margin-top: 20px;
  }

  .indicators-row:nth-of-type(even) {
    margin-left: 0;
  }

  .indicator-icon,
  .indicator-infos,
  .indicator-data {
    margin-top: 0;
  }

  .indicator-icon {
    max-width: 70px;
    width: 70px;
  }

  .indicator-icon img {
    max-width: 50px !important;
    height: auto;
  }

  .indicator-infos h3 {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #0078C1;
    font-weight: bold;
    margin-top: 0;
  }

  .indicator-infos p {
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    color: #484848;
    padding-bottom: 0px;
  }

  .indicator-data {
    height: 45px;
    min-width: 45px;
    position: relative;
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 20%;
  }

  .indicator-data:after {
    content: "";
    background: url(../img/indicators/numbers.svg) no-repeat top left;
    width: 45px;
    height: 45px;
    display: block;
    background-size: contain;
  }

  .indicator-data span.indicator-value {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: #2E8AD6;
    text-align: center;
    position: absolute;
    top: 16px;
    left: 16px;
  }
}

@media (max-width: 320px) {

  .indicators-row:first-of-type {
    margin-top: 20px;
  }

  .indicators-row:nth-of-type(even) {
    margin-left: 0;
  }

  .indicator-icon,
  .indicator-infos,
  .indicator-data {
    margin-top: 0;
  }

  .indicator-icon {
    max-width: 50px;
    width: 50px;
  }

  .indicator-infos {
  }

  .indicator-icon img {
    max-width: 40px !important;
    height: auto;
  }

  .indicator-data {
    height: 30px;
    min-width: 30px;
    position: relative;
    flex-grow: 0;
    flex-basis: 20%;
  }

  .indicator-data:after {
    content: "";
    background: url(../img/indicators/numbers.svg) no-repeat top left;
    width: 35px;
    height: 35px;
    display: block;
    background-size: contain;
  }

  .indicator-data span.indicator-value {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: bold;
    color: #2E8AD6;
    text-align: center;
    position: absolute;
    top: 11px;
    left: 15px;
  }
}


/* -------------------------------- */
/* - Truck sheet                  - */
/* -------------------------------- */

#truck-phones {
  margin-top:-35px;
}

#truck-phones span {
  margin-left: 15px;
}

#mission-truck-add {
  margin-left: 15px;
}

#initiate-mission-form {
  display: none;
  margin-top: 15px;
  margin-left: 0;
}

/* ----------------------------------------- */
/* - Truck equipment / Depot consitution --- */
/* ----------------------------------------- */

.tabs-equipment > ul.nav-tabs {
  margin-bottom: 5px;
}

.tabs-equipment > ul.nav-tabs > li.tab-btn {
  margin-left: 10px;
}

.tabs-equipment > ul.nav-tabs > li.tab-btn a.btn-success:hover,
.tabs-equipment > ul.nav-tabs > li.tab-btn a.btn-success:focus {
  background-color: #51A351;
  border-color: #51a351 #51a351 #387038;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
}

.tabs-equipment > div.tab-content h3 {
  font-size: 1.25em;
  margin: 10px 0;
}

.tabs-equipment > div.tab-content h4 {
  font-size: 1.1em;
  margin: 4px 0;
}

.product-equipment table td,
.tabs-equipment > div.tab-content table td {
  width: 33%;
}

.product-equipment table th p,
.tabs-equipment > div.tab-content th p {
  font-weight: normal;
  margin: 0;
}

.product-equipment .component td,
.tabs-equipment > div.tab-content .component td {
  width: 33%;
}

/* -------------------------------- */
/* - Mission                      - */
/* -------------------------------- */

.intervention-breadcrumb li {
  font-weight: bold;
}

.intervention-breadcrumb li.active {
  font-weight: normal;
}

/* -------------------------------- */
/* - Invoice                      - */
/* -------------------------------- */
.invoice {
  width: 760px;
}

table.prices tr td {
  width: 200px;
}

table.total tr th {
  width: 400px;
  padding-right: 24px;
}

.invoice .form-actions .only-one {
  margin-left: 40%;
}

/* -------------------------------- */
/* - Planning                     - */
/* -------------------------------- */
.planning .date {
  font-size: 120%;
}

.planning table.table .even td {
  background-color: #f8f8f8;
}

/* -------------------------------- */
/* - Planning assistance          - */
/* -------------------------------- */

.anniversaries-legend-badge {
    background-color: #f5f5f5;
    padding: 2px 9px;
    border-radius: 9px;
    line-height: 14px;
}
.anniversaries-legend-badge-is-late {
    background-color: #f2dede;
}
.anniversaries-legend-badge-equipment-is-late {
    background-color: #d9ecf7;
}
.anniversaries-legend-badge-coming-soon {
    background-color: #fcf8e3;
}

/* -------------------------------- */
/* - Contracts                    - */
/* -------------------------------- */

.contracts-legend-badge {
    background-color: #f5f5f5;
    padding: 2px 9px;
    border-radius: 9px;
    line-height: 14px;
}
.contracts-legend-badge-is-late {
    background-color: #f2dede;
}
.contracts-legend-badge-coming-soon {
    background-color: #fcf8e3;
}
.contracts-legend-badge-archived {
    background-color: #F5F5F5;
}

/* -------------------------------- */
/* - InfrastructureTool Dashboard - */
/* -------------------------------- */

.dashboard-legend-badge {
    background-color: #f5f5f5;
    padding: 2px 9px;
    border-radius: 9px;
    line-height: 14px;
    margin: 4px 2px;
    display: inline-block;
}
.dashboard-legend-badge-green {
    background-color: #dff0d8;
}
.dashboard-legend-badge-orange {
    background-color: #ffcda1;
}
.dashboard-legend-badge-red {
    background-color: #ffadad;
}
.dashboard-legend-badge-yellow {
    background-color: #fcf8e3;
}
.dashboard-legend-badge-grey {
    background-color: #dedede;
}
.dashboard-legend-badge-purple {
    background-color: #ddd0f7;
}

/* -------------------------------- */
/* - Doer intervention report     - */
/* -------------------------------- */
table.timing_view th,
table.timing_view td {
  width: auto;
}

.form-row.timing table td {
  vertical-align: top;
}


/* -------------------------------- */
/* - Intervention                 - */
/* -------------------------------- */

.not-available-for-customer {
    color: darkred;
    cursor: help;
}

/* Article list */

table.table.articles {
  background: transparent;
}

.table-th20-td80 table.articles tr td,
.table-th20-td80 table.articles tr th {
  width:auto;
}

.table-th20-td80 table.articles th.th-quantity {
  width:60px;
}
.table-th20-td80 table.articles th.th-serials {
  width:15%;
}
.table-th20-td80 table.articles th.th-buttons {
  width:60px;
}

/* Treated equipment list */
table.treatedequipments > tr > th:first-child,
table.treatedequipments > tbody > tr > th:first-child,
table.treatedequipments > tbody > tr > td:first-child {
  width: 60%;
}

table.treatedequipments > tr > th,
table.treatedequipments > tbody > tr > th,
table.treatedequipments > tbody > tr > td {
  width: auto;
}


/* Treated equipment list */
table.treatedequipments.mode-2 > tr > th:first-child,
table.treatedequipments.mode-2 > tbody > tr > th:first-child,
table.treatedequipments.mode-2 > tbody > tr > td:first-child {
  width: 30%;
}

/* Doer list */
table.doers > tbody > tr > th:first-child {
  width:25%;
}



/* -------------------------------- */
/* - Schedule                     - */
/* -------------------------------- */
.schedule {
  margin: 0 auto 0 auto;
}

.schedule td {
  vertical-align: top;
}

.schedule td:first-child {
  padding: 5px 5px 0 0;
}

.schedule .controls {
  margin-left: 0px;
}


/* -------------------------------- */
/* - Balances                     - */
/* -------------------------------- */

#results h4 {
  margin-top: 2em;
  font-size: 18px;
}

#results .alert h4 {
  margin-top: 0em;
}

#results h3+h4,
#results h3+script+h4
 {
  margin-top: 0;
}

.availability_rates {
  border: 1px solid #eee;
}

.availability_rates th.border-thin,
.availability_rates td.border-thin {
  border-left: 1px solid #eee;
}

.availability_rates th.border-large,
.availability_rates td.border-large {
  border-left: 4px solid #eee;
}

.vertical-balance-table {
    width: 400px;
}
.collapse .well {
  overflow-x: scroll;
}

/* -------------------------------- */
/* - JSignature                   - */
/* -------------------------------- */

.jsign-container {
  background-color: #DDDDDD;
  border: 2px dotted #EEEEEE;
  margin: 15px 0;
  width: 570px;
  height: 135px;
}

.jsign-wrapper input {
  margin-top: -12px;
}


/* -------------------------------- */
/* - Tutorials                    - */
/* -------------------------------- */

.tutorials h4 {
  margin-top: 1em;
}


/* -------------------------------- */
/* - Responsiveness               - */
/* -------------------------------- */


@media (max-width: 979px) {
  /* Toggle navbar */
  .navbar #user-info .user-info {
    display: none;
  }
  .navbar #user-info .user-info-little {
    display: inline;
  }
  #languages ul {
    position:absolute;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    *border-right-width: 2px;
    *border-bottom-width: 2px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
  }
  #languages ul li a {
    color: #333333;
  }

  /* Toggle main menu */
  #menu-collapse-btn {
    display: inline-block;
  }
  #main {
    width: 100%;
    padding-left: 0;
    border-left: 0;
    margin-left: 0;
  }
  #sidebar {
    position: relative;
    width:0px;
    min-height: 0px;
  }
  #menu {
    z-index: 1000;
    position: absolute;
    background-color: #ffffff;
    top: 30px;
    width: 350px;
  }
  #menu.in {
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    *border-right-width: 2px;
    *border-bottom-width: 2px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
  }
  #menu li a {
    color: #0088cc;
    font-weight: normal;
  }
  #menu li.active a {
    color: #fff;
    background-color: #0088CC;
  }
  #nav .btn-group {
    width: auto;
    float: none;
    display: inline-block;
    margin-left: 0;
  }
  #nav .btn-group .btn-large {
    padding: 8px 16px;
  }

  /* Toggle breadcrumb */
  #breadcrumb-collapse-btn {
    display: inline-block;
  }
  #breadcrumb {
    min-height: 0px;
    margin-left: 0;
    margin-top: 10px;
    width: 100%;
  }
}

/* -------------------------------- */
/* - Visits                       - */
/* -------------------------------- */

#additional-remarks {
    width: 50%;
}

#additional-remarks .controls {
    margin-left: 0px;
}

/* -------------------------------- */
/* - Forms                        - */
/* -------------------------------- */

/* Be sure the plus button are well positioned */

.autocomplete {
    width: 298px;
    overflow: visible; /* hidden => visible to show deck-remove button */
}

/* Same behavior than .input-append .add-on:last-child */
.autocomplete a.btn.pull-right {
  border-radius: 0px 4px 4px 0px;
}

.autocomplete input[readonly] {
    width: 245px;
}

@media (max-width: 768px) {
    .autocomplete {
	width: 262px;
	overflow: hidden;
    }

    .autocomplete input[readonly] {
	width: 209px;
    }
}

/* -------------------------------- */
/* - Watches                      - */
/* -------------------------------- */

.carousel-watches {
    background-color: white;
}

.carousel-watches .carousel-inner .item {
    padding : 35px 25px;
}

.carousel-watches .carousel-indicators .active {
    background-color: #08C;
}

.carousel-watches .carousel-indicators li {
    background-color: #E3E3E3;
}

.carousel-watches .carousel-inner {
    width: auto;
}

.carousel-watches .slide-item-title {
    margin-bottom: 20px;
    font-weight: bold;
}

.more-link {
  float:right;
  padding: 10px;
}

/* -------------------------------- */
/* - Infrastructure                - */
/* -------------------------------- */

#initiate-intervention-form {
  display: none;
  margin-top: 15px;
  margin-left: 0;
}


/* -------------------------------- */
/* - Date Picker                  - */
/* -------------------------------- */
td.ui-datepicker-week-end >* {
  background-color: #eeadaa !important;
  background-image: none !important;
}