html,
body {
    height: 100%;
}

body {
    background: #F8F9FA;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.navbar-inverse {
    /* background-color: #082 647;
    border-color: #082647; */
    background-color: #154994;
    border:  0 none;
}

.ghost-menu {
    padding:  0;
    margin:  0;
    text-align: right;
}

.ghost-menu {
    list-style: none;
}

.ghost-menu li {
    padding: 0;
}

.ghost-menu a:hover {
    text-decoration: none;
}

.ghost-menu > li {
    display: inline-block;
    position: relative;
    margin:  0;

    color:  #fff;
    line-height: 15px;
}

.ghost-menu > li > a {
    display: block;
    padding: 17.5px 15px;
    
    color:  #fff;
}

.ghost-menu > li:hover {
    background: #337ab7;
}

.ghost-menu li ul {
    padding:  7px 0 0;
}

.ghost-menu ul {
    /* background:  #f5f6f7; */

    display: none;
    position: absolute;
    top: 50px;
    right: 0;

    text-align: left;
    list-style: none;
    white-space: nowrap;
    z-index:  999;
}

.ghost-menu ul li {
    background: #154994;
    /* background: #337ab7; */
}

.ghost-menu ul li:first-of-type {
    border-radius: 5px 5px 0 0;
    padding-top: 7.5px;
}

.ghost-menu ul li:last-of-type {
    border-radius: 0 0 5px 5px;
    padding-bottom: 7.5px;
}

.ghost-menu ul li:first-of-type:before {
    border-bottom: 7px solid #154994;
    border-left:  7px solid transparent;
    border-right:  7px solid transparent;

    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 12px;
    width: 0;
    height: 0;
}

.ghost-menu ul li:hover:first-of-type:before {
    border-bottom-color:  #337ab7;
}

.ghost-menu li:hover,
.ghost-menu li:hover a {
    color:  #fff;
}

.ghost-menu ul li a {
    display:  block;

    padding: 10px 15px;
}

.ghost-menu ul li:hover {
    /* background: #e5e6e7; */
    background: #337ab7;
}

.ghost-menu > li:hover {
    /* background:  #f5f6f7; */
    cursor: pointer;
}

.ghost-menu li:hover ul {
    display: block;
}

.client-create,
.client-update,
.vehicle-create,
.vehicle-update,
.vehicle-protocol-create,
.vehicle-protocol-update,
.vehicle-guarantee-create,
.vehicle-guarantee-update,
.service-entry-create,
.service-entry-update,
.service-manager-create,
.service-manager-update,
.service-mechanic-create,
.service-mechanic-update {
    max-width: 550px;
    margin:  0 auto;
}

.client-view div.detail-view {
    display:  inline-block;
    max-width:  550px;
    width:  100%;

    vertical-align: top;
}

.vehicle-view div.detail-view .table-wrapper,
.service-entry-view div.detail-view .table-wrapper {
    display:  inline-block;
    width: 49%;
    
    font-size: 0;
    vertical-align: top;
}

.vehicle-view .images {
    list-style: none;
    padding: 0 2.5px;
    margin: 30px -2.5px 0;
}

.vehicle-view .images li {
    display: inline-block;
    margin: 2.5px;
}

.vehicle-view .images li img {
    border: 2px solid #e5e6e7;
    max-width: 300px;
}

.vehicle-view div.detail-view .table-wrapper table,
.service-entry-view div.detail-view .table-wrapper table {
    font-size: 14px;
}

.service-entry-view table.detail-view th {
    width:  auto;
}

.service-entry-view h1 span {
    display: block;
}

table.detail-view th {
    width:  250px;

    text-align: right;
}

table.detail-view th .sub {
    display: block;
}

.logs {
    border: 1px solid #ccc;
    border-radius: 5px;

    margin:  15px 0 0;
    padding:  0;
    width:  100%;
    max-height: 400px;
    overflow-y: auto;

    list-style:  none;
}

.logs .action-log {
    background: #fff;
    border-bottom: 1px solid #e5e6e7;
    padding: 10px;
}

.logs .action-log:nth-of-type(odd) {
    background: #f5f6f7
}

.logs .action-log .action {
    text-transform: uppercase;
    font-weight: bold;
}

.logs .action-log .action-create,
.logs .action-log .action-created {
    color:  #5cb85c;
}

.logs .action-log .action-update,
.logs .action-log .action-updated {
    color:  #337ab7;
}

.logs .action-log .action-delete,
.logs .action-log .action-deleted {
    color:  #d9534f;
}

.logs .action-log .action-recovere,
.logs .action-log .action-recovered {
    color:  #5cb85c;
}

.logs .action-log .changes {
    padding:  10px 20px;
    list-style: none;
}

.logs .action-log .changes .label {
    display:  block;
    padding:  0;

    color:  inherit;
    font-size:  inherit;
    text-align: left;
}

.logs .action-log .changes .before,
.logs .action-log .changes .after {
    color:  #888;
    font-weight: 300;
}

.navbar-brand {
    padding:  10px;
}

.navbar-brand > img {
    max-height: 100%;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background: #e5e6e7;
}

.service-options {
    padding:  0;
    margin:  0;
    list-style:  none;
}

.service-options i,
.service-entry-view i {
    display:  inline-block;
    width:  14px;

    text-align: center;
}

.service-entry-view i {
    margin-right: 5px;
}

.service-options .active,
.service-entry-view .active {
    color: #66a80f;
}

.service-options .inactive,
.service-entry-view .inactive {
    /* color: #e8590c; */
    color: #DF4D62;
}

.clients-list .table-striped > tbody > tr:nth-of-type(odd),
.vehicles-list .table-striped > tbody > tr:nth-of-type(odd),
.service-entries-list .table-striped > tbody > tr:nth-of-type(odd) {
    background:  #fff;
}

.clients-list .table-striped > tbody > tr > td,
.vehicles-list .table-striped > tbody > tr > td,
.service-entries-list .table-striped > tbody > tr > td {
    padding:  25px 15px;
}

.clients-list table td,
.vehicles-list table td,
.service-entries-list table td {
    position: relative;
}

.clients-list table .actions,
.vehicles-list table .actions,
.service-entries-list table .actions,
.service-managers-list table .actions,
.service-mechanics-list table .actions {
    float:  right;
    /* position: absolute;
    top:  50%;
    right:  0;
    padding: 0 15px;
    width:  20%;

    transform: translateY(-50%); */
}

.clients-list table .date,
.vehicles-list table .date,
.service-entries-list table .date {
    margin-bottom: 10px;

    /* font-weight: 700; */
    font-size:  17px;
    line-height: 2em;
    /* text-align: center; */
}

.clients-list table .date:after,
.vehicles-list table .date:after,
.service-entries-list table .date:after {
    /*
    content:  '';
    display:  block;
    position:  absolute;
    top:  -10px;
    bottom:  -10px;
    right:  10px;
    width:  1px;
    background: #ccc;
    */
}

.clients-list table .date .day,
.vehicles-list table .date .day,
.service-entries-list table .date .day {
    /* display: block; */

    /* font-weight: 700;
    font-size:  72px;
    line-height: 1em; */
}

.clients-list table .content,
.vehicles-list table .content,
.service-entries-list table .content {
    margin-right: 280px;
    /* margin-right:  20%; */
    /* padding-right:  25px; */
}

.clients-list table .label,
.vehicles-list table .label,
.service-entries-list table .label {
    display: block;
    padding:  0;/* 0 10px;*/

    color:  #ababab;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.1em;
    line-height: 20px;
    text-transform: uppercase;
    text-align: left;
}

.clients-list table .label a,
.vehicles-list table .label a,
.service-entries-list table .label a {
    text-transform: lowercase;
}

.clients-list table .status,
.vehicles-list table .status,
.service-entries-list table .status {
    position: absolute;
    bottom: 10px;
    right: 15px;
}

.clients-list .table-striped > tbody > tr:hover,
.vehicles-list .table-striped > tbody > tr:hover,
.service-entries-list .table-striped > tbody > tr:hover {
    cursor: pointer;
}

.clients-list table table,
.vehicles-list table table,
.service-entries-list table table {
    /* margin-top:  30px; */
    width:  100%;
}

.clients-list table table td {
    padding:  0 15px;
}

.vehicles-list table table,
.service-entries-list table table {
    table-layout: fixed;
}

.vehicles-list table table td,
.service-entries-list table table td {
    padding:  0 15px 20px;
    width: 33.33%;
}

.vehicles-list table table td .text-content,
.service-entries-list table table td .text-content {
    word-break: break-all;
}

.clients-list table table td {
    width: 50%;
}

.clients-list .expired .label,
.vehicles-list .expired .label,
.vehicles-list .expired .text-content,
.service-entries-list .expired .label,
.service-entries-list .expired .text-content {
    color: #DF4D62;
}

.text-content a {
    color: #333;
}

.top10 {
    padding-top:  10px;
}

.top15 {
    padding-top:  15px;
}

.top20 {
    padding-top:  20px;
}

.top25 {
    padding-top:  25px;
}

.top30 {
    padding-top:  30px;
}

.sides15 {
    padding-left: 15px;
    padding-right: 15px;
}

.font18 {
    font-size:  18px;
    line-height: 1.5em;
}

.bold {
    font-weight: 700;
}

.block {
    display: block;
}

.margin-top10 {
    margin-top: 10px;
}

.margin-top15 {
    margin-top: 15px;
}

.margin-right10 {
    margin-right: 10px;
}

.search-settings {
    padding: 0;
    margin: 15px 0 30px;
    list-style: none;
}

.search-settings li {
    display: none;
}

.search-settings li.active {
    display: block;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
}

.grid-view .summary {
    margin-bottom: 10px;
}

.client-search,
.vehicle-search,
.service-entry-search {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;

    padding: 15px 25px;
    margin-bottom: 30px;
}

.vehicle-search .form-control,
.service-entry-search .form-control {
    max-width: 450px;
}

.client-search [type=checkbox],
.vehicle-search [type=checkbox],
.service-entry-search [type=checkbox] {
    margin-right: 10px;
    
    font-size: 24px;
}

.client-search .additional,
.vehicle-search .additional,
.service-entry-search .additional {
    margin-bottom: 15px;
}

.client-search .additional .form-group,
.vehicle-search .additional .form-group,
.service-entry-search .additional .form-group {
    margin:  0;
}

.client-search .additioonal .form-group .help-block,
.service-entry-search .additional .form-group .help-block {
    display: none;
}

.btn-default {
    background-color: #f5f5f5;
}

.left10 {
    margin-left: 10px;
}

.right10 {
    margin-right: 10px;
}

.client-search .additional .label,
.vehicle-search .additional .label,
.service-entry-search .additional .label {
    display: block;
    padding: 10px 0;

    color:  #333;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 20px;
    text-transform: uppercase;
    text-align: left;
}

.client-search .additional label,
.vehicle-search .additional label,
.service-entry-search .additional label {
    font-weight: 400;
}

.btn-info,
.btn-default,
.btn-warning,
.btn-danger,
.btn-primary,
.btn-success {
    min-width: 120px;
}

.detail-view {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;

    padding: 25px;
}

.detail-view table td {
    padding:  0 0 20px;
}

.detail-view table tr:last-child td {
    padding: 0;
}

.bottom20 {
    margin-bottom: 20px;
}

.breadcrumb {
    background: #fff;
}

h1 {
    margin-bottom: 1em;
}

.clear {
    clear: both;
}

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

.heading {
    display: block;

    color:  #333;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    text-align: left;
    text-transform: uppercase;
}

.field-note {
    top: -15px;
    font-style: italic;
}

.vehicle-components .group {
    background: #e5e6e7;

    padding: 28px 40px 1px;
    margin: 10px 0;
}

.vehicle-components h3 {
    margin:  0 -15px 0 15px;
    float: right;

    color: #ccc;
    font-size: 16px;
    text-align: right;
    text-transform: uppercase;
}

.vehicle-components h4 {
    margin: 0 0 1em -15px;

    font-size: 16px;
    font-weight: 700;
}

.vehicle-components h4.invalid {
    color: #f00;
}

/* 
.vehicle-components label {
    font-weight: 400;
} */

.vehicle-components .row {
    padding-bottom: 1em;
    margin-bottom: 1em;
}

.vehicle-components .group .row {
    border-bottom: 1px solid #ccc;
}
.vehicle-components .row:last-child {
    border-bottom:  0 none;
}

.padding_left25 {
    padding-left: 25px;
}

.grouped-radio label,
.checkbox-list label {
    display: block;
}

.grouped-radio input,
.checkbox-list input {
    margin-right: 10px;
}

.clickable {
    color: #337ab7;
    cursor: pointer;
}

.clickable:hover {
    color: #23527c;
    text-decoration: underline;
}

.form-control.inline {
    float: right;
    padding-top: 0;
    padding-bottom: 0;
    width: 50%;
    height: 26px;
}

.vehicle-components .reference-model {
    line-height: 26px;
}

.image-upload-section {
    font-size: 0;
}

.image-upload-section label {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
    cursor: pointer;
    
    display: block;
    margin-top: 10px;
    margin-bottom: 25px;
    padding: 25px 0;
    
    color: #337ab7;
    font-size: 14px;
    text-align: center;
}

.image-upload-section label:hover {
    background: #e5e6e7;
}

.image-upload-section img {
    border: 2px solid #fff;
    border-radius: 3px;
    
    max-width: 50%;
    height: auto;

    color: #23527c;
}

.error-messages {
    list-style: none;

    padding-left: 0;
    color: #f00;
}