/* Global styles */

body {
  padding-top: 56px;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center top;
}

.jumbotron {
  border-radius: 8px;
  margin-top: 10px;
}
label {
  margin-bottom: 5px !important;
}

.flatpickr-calendar {
  z-index: 2000 !important;
}

.card.bg-transparent {
  background: none !important;
  border: none !important;
}

.fs-11 {font-size: 11px;}
.fs-12 {font-size: 12px;}
.fs-13 {font-size: 13px;}
.fs-14 {font-size: 14px;}
.fs-16 {font-size: 16px;}

.widgetMover, .vehicleMover {
  cursor: move;
}

.nav-tabs {
  border-bottom: 1px solid transparent;
  border-image-slice: 100%;
  border-image-slice: 1;
}

/* Vehicle detail - parameters */

.carParametersHeader {
  font-size: 130%;
}

.carParametersWrapper .carInfoText:last-child {
  border:none;
}

.carParameterName {
  width: 140px;
  display: inline-block;
  font-size: 95%;
}
.carParametersWrapper .carInfoText {
  border-bottom: 1px solid transparent;
  border-image-slice: 1;
}

.carInfoText svg {
  font-size: 1.3rem;
}

/* Vehicle detail - right sidebar */

.carDetailSidebarRight {
  font-size: .875rem;
  min-width: 220px;
}

.carDetailSidebarRight .btn {
  display: block;
  text-align: left;
}
.carDetailSidebarRight .dropdown-toggle {
  text-decoration: none;
}
.carDetailSidebarRight .btnZone {
  border-bottom: 1px solid transparent;
  border-image-slice: 1;
}

/* Vehicle detail - top navigation */
.carDetailNavigation {
  animation: 3s infinite alternate slidein;
  margin-left: -12px;
  margin-right: -12px;
  padding-bottom: 15px;
  position: -webkit-sticky;
  position: sticky;
  overflow-y: auto;
  top: 53px;
  z-index: 980;
  border-width: 0 0 1px 0;
  border-style: solid;
}
.carDetailNavigation h1 {
  float:left;
  font-size:18px;
  margin-left:0;
}
.carDetailNavigation h1 .model {
  font-size:85%;
}
.carDetailNavigation .getBack a {
  float:left;
  font-size: 30px;
}
.carDetailNavigation .carDetailNavBoxWrapper .btnName {
  font-variant: all-small-caps;
  font-weight: normal;
  font-size: 15px;
}
.carDetailNavBoxWrapper {
  padding:5px;
}
.carDetailNavBox a:first-child {
  display: block;
}

.carDetailNavigation .btnName {
  display: inline-block;
  margin-left: 5px;
}
.carDetailNavigation .fa-2x {
  font-size: 1.3rem !important;
}
.carDetailLeftBarWrapper {
  border-style: solid;
  border-width: 0 1px 0 0;
  height: 100%;
}

/* Vehicle detail - left sidebar */
.carDetailLeftBar {
  position: -webkit-sticky;
  position: sticky;
  top: 53px;
  height: calc(100vh - 53px);
  overflow-y: auto;
  -ms-flex: 0 0 280px;
  flex: 0 0 280px;
  max-width: 280px;
}
.carDetailLeftBar a {
  font-size: 15px;
}
.carDetailLeftBarSnippet {
  width: 270px;
}
.carDetailLeftBarSnippet.mini {
  -ms-flex: 0 0 100px;
  flex: 0 0 100px;
  width: 100px;
}

/* Vehicle detail - widgets */
.widgetDetail.widgetVehicleDetail {
  height: 100%;
}

/* Vehicle list */
.vehicle-wrapper img {
  max-width: 100%;
}
.vehicle-wrapper:last-child {
  /*border-bottom:none;*/
}
.widgetDetail.widgetList {
  border-radius: 4px;
  height:96px;
}

/* Vehicle list - right sidebar */
.carListSideItem .header:not(.collapsed) .rotate-icon {
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}
.carListSideItem .header {
  padding: 7px 0;
  cursor: pointer;
}
.carListSideItem .icon {
  position:absolute;
  top:8px;
  right:20px;
  font-size: 15px;
}

.vehicleSortWrapper .btn.btn-radio {
  padding: 3px 9px !important;
}

/* Navbar related styles */

.navbarMain .dropdown-menu {
  top: 50px;
  right: 0;
  border-radius: 5px;
  min-width: 280px;
  padding-bottom: 10px;
}
.navbarMain .dropdown-menu a {
  position: relative;
}
.navbarMain .dropdown-menu a .svg-inline--fa {
  position: absolute;
  right: 12px;
  top: 8px;
}

.navbarMain .dropdownUser .name {
  font-size: 15px;
}
.navbarMain .dropdown-toggle:after {
  content: none;
}

.navbarMain .dropdown-toggle > .svg-inline--fa {
  font-size: 21px;
}

/* Modal specific styles */

.newRecordNoteWrapper textarea {
  height: 120px;
}

/* Loader styles */
.loader {
  max-width: 12rem;
  width: 100%;
  height: auto;
  stroke-linecap: round;
}

circle {
  fill: none;
  stroke-width: 3.5;
  animation-name: preloader;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  transform-origin: 170px 170px;
  will-change: transform;
}
circle:nth-of-type(1) {
   stroke-dasharray: 550px;
    animation-delay: 0s;
 }

circle:nth-of-type(2) {
   stroke-dasharray: 500px;
  animation-delay: 0.2s;
 }

circle:nth-of-type(3) {
   stroke-dasharray: 450px;
  animation-delay: 0.3s;
 }

circle:nth-of-type(4) {
   stroke-dasharray: 300px;
  animation-delay: 0.5s;
 }

@keyframes preloader {
  50% {
    transform: rotate(360deg);
  }
}

/* borders.css */

/* Badge outline */
.badge-outline {
  border-style: solid;
  border-width: 1px;
}
.badge-outline.badge-info {
  border-style: solid;
  border-width: 1px;
}

/* Cards */
.card {
  border-style: solid;
  border-width: 1px;
}

/* Widget detail */
.widgetDetail.widgetList, .widgetDetail.widgetVehicleDetail {
  border-style: solid;
  border-width: 1px;
}

/* Form select by theme */
.form-select.colorByTheme {
  border-style: solid;
  border-width: 1px;
}

/* Record wrapper – top border only */
.recordWrapper {
  border-style: solid;
  border-width: 3px 0 0 0;  /* top right bottom left */
}

/* Car detail navigation – bottom border only */
.carDetailNavBox {
  border-style: solid;
  border-width: 0 0 3px 0;  /* top right bottom left */
}
.carDetailNavBox.active {
  border-style: solid;
  border-width: 0 0 3px 0;
}

/* Nav tabs */
.nav-tabs {
  border-style: solid;
  border-width: 0 0 2px 0;
}
.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
  border-style: solid;
  border-width: 1px;
}
.nav-tabs .nav-link:hover,
.nav-tabs .nav-link:focus {
  border-style: solid;
  border-width: 1px;
}

/* Vehicle list & sidebar */
.vehicle-wrapper {
  border-style: solid;
  border-width: 0 0 1px 0;
}
#vehicleListSidebar {
  border-style: solid;
  border-width: 0 0 0 1px;
  height: 100%;
}

/* Car list header */
.carListSideItem .header {
  border-style: solid;
  border-width: 0 0 1px 0;
}

/* Navbar */
.navbarMain {
  border-style: solid;
  border-width: 0 0 1px 0;
}
.navbarMain .dropdown-menu {
  border-style: solid;
  border-width: 1px;
}
.navbarMain .dropdown-divider {
  border-style: solid;
  border-width: 1px 0 0 0;  /* top border only */
}

/* Gradient borders (requires border-width) */
.carParametersWrapper .carInfoText,
.carDetailSidebarRight .btnZone {
  border-style: solid;
  border-width: 0 0 1px 0;
}

.copyLicPlate {
  cursor: copy;
}
#notificationBadge {
  position: absolute;
  color: #fff;
}

.select2-container--default .select2-selection--multiple {
  padding-bottom: 2px !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
  margin-top: 2px !important;
  margin-left: 2px !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__clear {
  margin-top: 0 !important;
}
.select2-container .select2-search--inline .select2-search__field {
  height: 18px !important;
  font-size: 0.875rem;
}
#tracy-debug table {
  color: #333 !important;
}
.navbar-collapse {
  align-items: baseline;
}