:root {
  --blue-dark: #001949;
  --blue: #001489;
  --cyan: #0077c8;
  --yellow: #ffbf3f;
  --yellow-dark: #806600;
}

/* --------------------------------- //
// Tools
// --------------------------------- */

.cell-action {
  width: 96px;
  font-size: 12px;
  text-align: center;
}

.cell-thumb {
  width: 56px;
}

.mb-0 {
  margin-bottom: 0;
}

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

.no-float {
  float: none;
}

.text-overflow {
  display: block;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

/* --------------------------------- //
// Base
// --------------------------------- */

body {
  padding-top: 24px;
  padding-bottom: 24px;
  border-top: var(--yellow) solid 3px;
}

  @media (min-width: 768px) {
    body {
      padding-top: 32px;
      padding-bottom: 32px;
    }
  }

a {
  color: var(--blue);
  transition: .3s color;
}

  a:focus,
  a:hover {
    color: #1c3ec4;
  }

  a:active {
    color: #0f226b;
  }

label.error {
  padding-top: 4px;
  color: crimson;
  font-size: 12px;
}

th {
  color: #999;
  font-size: 12px;
  font-weight: 400 !important;
  text-transform: uppercase;
}

td {
  vertical-align: middle !important;
}

  td .label {
    margin-left: 4px;
  }

/* --------------------------------- //
// Grid
// --------------------------------- */

@media (min-width: 768px) {
  .container-out {
    padding-top: 72px;
    padding-bottom: 72px;
  }
}

/* --------------------------------- //
// Bootstrap
// --------------------------------- */

/* Badges */
.badge {
  padding: 7px;
}

.badge-dark {
  color: whitesmoke;
  background-color: black;
}

/* Buttons */
.btn {
  transition: .3s color, .3s background-color, .3s border-color, .3s box-shadow;
}

  .btn:disabled {
    background-color: #a3a3a3 !important;
    border-color: #8a8a8a !important;
  }

/* Forms */
.form-control {
  transition: .3s border-color, .3s box-shadow;
}

  .form-control:focus {
    border-color: var(--cyan);
  }

/* Help Block */
small.help-block {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 4px;
}

/* Modals */
.modal-content {
  border-top-color: var(--yellow);
  border-top-width: 3px;
  border-right: none;
  border-bottom: none;
  border-left: none;
  border-radius: 0;
}

.modal-body {
  background-color: #f9f9f9;
}

  .modal-body-map {
    padding: 0;
  }

/* Navs */
.nav-pills a {
  transition: .3s color, .3s background-color;
}

  .nav-pills a[active='true'] {
    color: white;
    background-color: var(--blue) !important;
  }

.nav li a:hover {
  color: var(--blue-dark) !important;
  background-color: #a3a3a3 !important;
}
  
/* Pagination */
.pagination li {
  display: inline-block;
}

.pagination a {
  margin-left: 0 !important;
  color: var(--blue) !important;
  border: none !important;
  border-radius: 3px;
  transition: .3s color, .3s background-color;
}

.pagination a:focus,
.pagination a:hover,
.pagination a:active {
  color: var(--blue-dark) !important;
}

.pagination .active a {
  color: #fff !important;
  background-color: var(--blue);
  border: none;
  transition: .3s color, .3s background-color;
}

.pagination .active a:focus,
.pagination .active a:hover,
.pagination .active a:active {
  color: #fff !important;
  background-color: var(--blue-dark);
}

.pagination .disabled a {
  color: #999 !important;
}

/* Panels */
.panel-group {
  margin-bottom: 0;
}

.panel-title {
  font-size: 13px;
  font-weight: 400;
}

.panel-body .table {
  margin-bottom: 0;
}

/* Well */
.well-sm {
  padding: 10px;
}

.well.form-group {
  margin-bottom: 9px;
  line-height: 1.35;
}

.well.form-group label {
  display: block;
}

.well.form-group strong,
.well.form-group small {
  display: block;
}

/* --------------------------------- //
// Bootstrap Dashboard Theme
// --------------------------------- */

/* Dashhead */
.dashhead-logo {
  width: 100%;
  max-width: 210px;
  height: auto;
  margin-bottom: 10px;
}

@media (max-width: 767px) {
  .dashhead-toolbar-item {
    width: 100%;
    margin-bottom: 10px;
  }

  .dashhead-toolbar-item:last-child {
    margin-bottom: 0;
  }
}

@media (min-width: 768px) {
  .dashhead-toolbar-item-has-select {
    padding-right: 5px;
  }
}

.dashhead-toolbar-item .form-control {
  height: 30px;
  font-size: 12px;
}

.input-with-icon .icon {
  top: 5px;
}

.input-with-icon.select-search {
  width: unset;
}

.input-with-icon.select-search .chosen-choices {
  padding-left: 29px;
}

@media (max-width: 767px) {
  .dashhead-toolbar-item .btn {
    width: 100%;
  }
}

.dashhead-toolbar-divider {
  height: 30px;
}

.dashhead-toolbar-item .chosen-container {
  font-size: 12px;
}

.dashhead-toolbar-item .chosen-choices {
  padding-right: 9px;
  padding-left: 9px;
}

.dashhead-toolbar-item .chosen-choices .search-field input {
  min-width: 120px;
  height: 28px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  font-family: Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

@media (min-width: 768px) {
  .sidebar-nav {
    margin-right: 0;
  }
}

/* --------------------------------- //
// Components
// --------------------------------- */

/* Item */
.item-picture {

}

.item-details {

}

.item-details li {
  margin-bottom: 10px;
}

.item-details li:last-child {
  margin-bottom: 0;
}

.item-details span {
  display: block;
  color: #999;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
}

.item-details strong {
  display: block;
}

/* Map */
.map {
  width: 100%;
}

@media (max-width: 767px) {
  .map {
    height: 320px;
  }
}

@media (min-width: 768px) {
  .map {
    height: 480px;
  }
}

/* Sidebar */
.sidebar-brand img {
  display: inline-block;
  width: 142px;
  height: auto !important;
}

/* Slider */
.slider {

}

.slider-toggle {

}

.slider-menu {
  margin-top: 2px;
}

@media (max-width: 767px) {
  .slider-menu {
    margin-right: 10px;
    margin-left: 10px;
  }
}

@media (min-width: 768px) {
  .slider-menu {
    margin-left: 10px;
  }
}

/* Tag */
.tag {
  display: inline-block;
  margin-right: 4px;
  margin-bottom: 6px;
  padding: 2px 6px;
  color: #4a4a4a;
  font-size: 12px;
  background-color: #d8d8d8;
  border-radius: 3px;
  cursor: default;
}

/* Thumb */
.thumb {
  display: block;
  width: 36px;
  height: 36px;
  text-indent: -9999px;
  background-color: white;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 32px;
  border: #eee solid 1px;
  transition: .3s border-color;
}

.thumb:focus,
.thumb:hover {
  border-color: #ddd;
}

.thumb:active {
  border-color: var(--cyan);
}

/* Vehicle Stuff */
.battery-stuff .btn-group,
.vehicle-stuff .btn-group {
  display: block;
  width: 100%;
  height: 30px;
}

.battery-stuff .btn-group .btn,
.vehicle-stuff .btn-group .btn {
  width: 50%;
}

/* --------------------------------- //
// Vendors
// --------------------------------- */

/* Chosen */
.chosen-container-single {
  height: 35px;
}

  .dashhead-toolbar .chosen-container-single,
  .dashhead-toolbar .chosen-container-single .chosen-single {
    height: 30px !important;
  }

  .dashhead-toolbar .chosen-container-single .chosen-single span {
    height: 28px;
    line-height: 28px;
  }

  .dashhead-toolbar .chosen-container-single .chosen-single div {
    top: 3px !important;
  }

.chosen-single {
  height: 35px !important;
  background: #fff !important;
  border-color: #d5d5d5 !important;
  border-radius: 4px !important;
  box-shadow: inset rgba(0, 0, 0, .075) 0 1px 1px !important;
}

.chosen-single span {
  height: 33px;
  line-height: 33px;
}

.chosen-single .search-choice-close {
  top: 11px !important;
}

.chosen-single div {
  top: 5px !important;
  height: 23px !important;
}

.chosen-choices {
  background-image: none !important;
  border-color: #d5d5d5 !important;
  border-radius: 4px;
  box-shadow: inset rgba(0, 0, 0, .075) 0 1px 1px !important;
}

.chosen-drop {
  margin-top: 3px !important;
  border: #d5d5d5 solid 1px !important;
  border-radius: 4px !important;
}

.chosen-search input {
  border-color: #d5d5d5 !important;
}

.chosen-results {
  margin: 0 !important;
  padding: 4px !important;
}

.chosen-results li {
  padding: 8px !important;
  transition: .3s color, .3s background-color;
}

.chosen-results .highlighted {
  color: #333 !important;
  background-color: var(--yellow) !important;
  background-image: none !important;
}

/* UI Autocomplete */
.ui-autocomplete {
  z-index: 1051;
}

.gray {
    color: #AAAAAA;
}

/* --------------------------------- //
// Inbox
// --------------------------------- */

.headerSortDown,
.headerSortUp {
  color: var(--blue) !important;
  font-weight: 400 !important;
  border-bottom-color: var(--blue) !important;
}

.table .header {
  padding-right: 0;
}

.modal-body .hr-divider-content {
  background-color: #f9f9f9;
}

@media (max-width: 767px) {
  .col-sm-4 + .col-sm-4 {
    margin-bottom: 5px;
  }
}

input[type="date"] {
  line-height: 1.5 !important;
}

@media (min-width: 768px) {
  .col-sm-offset-2 {
    margin-left: 12.5%;
  }
  .col-sm-1 {
    width: 12.5%;
  }
}

@media (min-width: 992px) {
  .modal-precos {
    width: 1200px;
  }
}

.form-link {
  display: inline-block;
  padding-top: 12px;
  padding-bottom: 12px;
}

.label-warning {
  color: var(--yellow-dark);
  background-color: var(--yellow);
}

.scrollable-dialog-body {
  max-height: calc(80vh - 120px);
  width: 100%;
  overflow: auto;
}

@media (min-width: 768px) {
  .inline-row {
    white-space: nowrap;
  }

  .inline-row .inline-row-content {
    display: inline-block;
    float: none;
    vertical-align: middle;
  }
}


#price-by-city-modal {
    display: flex;
    flex-direction: column;
}

#price-by-city-modal > .columns {
    margin-bottom: 10px;
    padding-left: 150px;
    display: flex;
}

#price-by-city-modal > .row > .item {
    margin: 0 15px 0 0;
    padding: 0;
    min-width: 150px;
}

#price-by-city-modal > .row > .price-list > .row > .inline-row-content {
    margin: 0 15px 0 0;
    padding: 0;
    width: 150px;
}

#price-by-city-modal > .row > .price-list > .row > .title {
    margin: 0;
}

#price-by-city-modal > .row > .price-list > .row > .inline-row-content > .price-city{
    margin: 0;
    padding-left: 15px;
}

#price-by-partner-modal {
    display: flex;
    flex-direction: column;
}

#price-by-partner-modal > .cities {
    margin-bottom: 10px;
    padding-left: 150px;
    display: flex;
}

#price-by-partner-modal > .row > .item {
    margin: 0 15px 0 0;
    padding: 0;
    min-width: 150px;
}

#price-by-partner-modal > .row > .price-list > .row > .inline-row-content {
    margin: 0 15px 0 0;
    padding: 0;
    width: 150px;
}

#price-by-partner-modal > .row > .price-list > .row > .battery-model {
    margin: 0;
    padding-left: 15px;
}

#import-cars-sheet {
    height: 40px;
}

#import-vouchers-sheet {
    height: 40px;
}
