/* navbar */

body {
    padding-top: 50px;
}

.navbar-inverse .navbar-text {
    font-size: 11pt;
    margin-left: 0;
}

.navbar-inverse .navbar-text > a {
    color: #fff;
}

.navbar-inverse .navbar-nav > li > .btn-primary {
    color: #FFF;
}

.navbar-inverse .navbar-nav > li > .btn-success {
    color: #FFF;
}

.navbar-brand {
    padding: 13px 15px;
}

@media(min-width: 768px) {
    .navbar-right {
        margin-right: 0px;
    }
    .navbar-collapse > .navbar-right > li {
        margin-right: 10px;
    }
}

@media(max-width: 767px) {
    .navbar-inverse .navbar-nav > li > a {
        margin-right: 20px;
        margin-left: 20px;
    }
}
/* station summary panel */

.panel {
    margin-left: 20px;
    margin-right: 20px;
}

.station > .panel-heading > .panel-title {
    margin-right: -5px;
    margin-left: -5px;
}

.station .name {
    font-size: 12pt;
    margin-left: 10px;
    padding-top: 4px;
    text-align: center;
    list-style-type: none;
    font-weight: bold;
}

.nav > li > a {
    padding: 6px 15px;
}

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

.nav-tabs {
    text-align: center;
    padding-bottom: 7px;
    padding-top: 7px;
    border-radius: 4px;
    border: transparent;
}

.nav-tabs > li {
    float: none;
    display: inline-block;
    *display:inline;
    zoom:1;
}

.btn-tab {
    border-radius: 4px;
    font-size: 12px;
}

a:link,
a:hover,
a:active,
a:visited {
    text-decoration: none;
}

.badge-display {
    display: table-cell;
    padding-right: 5px;
}

.concept-display {
    display: table-cell;
    font-weight: bold;
}

.badge {
    float: none;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 500;
    min-width: 42px;
    padding-top: 5px;
    min-height: 24px;
    vertical-align: middle;
}

.stations .panel-group {
    margin-top: 20px;
}

.station {
    margin: 0 auto;
    max-width: 1024px;
}

#mobile {
    text-align: center;
}

@media (max-width: 767px) {
    #desktop {
        display: none;
    }
}
@media (min-width: 768px) {
    #mobile {
        display: none;
    }
}

/* work orders */

.concept-name {
    font-weight: normal;
    font-size: 12px;
    line-height: 20px;
    display: inline-block;
}

.progress-block {
    font-weight: normal;
    font-size: 12px;
    line-height: 20px;
    float: left;
    margin-top: -2px;
    margin-right: 10px;
}

.panel-group {
    margin-top: 5px;
    margin-bottom: 0;
}

.panel-group > .panel {
    margin-right: 0;
    margin-left: 0;
}

.btn-sm {
    font-size: 8px;
    padding: 4px 7px;
}

.progress {
    height: 16px;
    margin-top: 5px;
    margin-bottom: 0;
    background-color: #fff;
}

#details {
    list-style-type: none;
    padding-left: 28px;
    padding-right: 28px;
    max-width: 500px;
}

#details > li {
    margin-top: 5px;
}

.details {
    margin-left: 28px;
    padding-right: 28px;
    max-width: 300px;
}

.details > tbody > tr {
    line-height: 2em;
}

.field-value {
    padding-left: 50px;
    text-align: right;
}

.closed {
    background-color: #FFF;
    border-color: #000;
    border-style: double;
}

.nav-tabs .btn.all_work_orders,
.panel > .panel-heading .badge.all_work_orders {
    background-color: #000;
    color: #FFF;
}
.nav-tabs .btn.all_work_orders.active {
    background-color: #fff;
    color: #000;
    border: 2px solid #000;
    font-weight: bold;
    box-shadow: none;
}
.all_work_orders.btn-tab {
    min-width: 133px;
    margin-right: 5px;
}
.nav-tabs .btn.device_needed,
.panel > .panel-heading .badge.device_needed,
.panel .search-station.device_needed {
    background-color: #7C7C7C;
    color: #FFF;
}
.nav-tabs .btn.device_needed.active {
    background-color: #FFF;
    color: #7C7C7C;
    border: 2px solid #7C7C7C;
    font-weight: bold;
    box-shadow: none;
}
.device_needed.btn-tab {
    min-width: 92px;
    margin-right: 5px;
}
.nav-tabs .btn.started,
.panel > .panel-heading .badge.started,
.panel .search-station.started {
    background-color: #0085CA;
    color: #FFF;
}
.nav-tabs .btn.started.active {
    background-color: #FFF;
    color: #0085CA;
    border: 2px solid #0085CA;
    font-weight: bold;
    box-shadow: none;
}
.started.btn-tab {
    min-width: 92px;
    margin-right: 5px;
}
.nav-tabs .btn.finished,
.panel > .panel-heading .badge.finished,
.panel .search-station.finished {
    background-color: #5cb85c;
    color: #FFF;
}
.nav-tabs .btn.finished.active {
    background-color: #FFF;
    color: #5cb85c;
    border: 2px solid #5cb85c;
    font-weight: bold;
    box-shadow: none;
}
.finished.btn-tab {
    min-width: 110px;
    margin-right: 5px;
}
.nav-tabs .btn.with_error,
.panel > .panel-heading .badge.with_error,
.panel .search-station.with_error {
    background-color: #f0ad4e;
    color: #FFF;
}
.nav-tabs .btn.with_error.active {
    background-color: #FFF;
    color: #f0ad4e;
    border: 2px solid #f0ad4e;
    font-weight: bold;
    box-shadow: none;
}
.with_error.btn-tab {
    min-width: 105px;
    margin-right: 5px;
}
.nav-tabs .btn.config_needed,
.panel > .panel-heading .badge.config_needed,
.panel .search-station.config_needed {
    background-color: #d9534f;
    color: #FFF;
}
.nav-tabs .btn.config_needed.active {
    background-color: #FFF;
    color: #d9534f;
    border: 2px solid #d9534f;
    font-weight: bold;
    box-shadow: none;
}
.config_needed.btn-tab {
    min-width: 150px;
}
.panel > .panel-heading .badge.closed,
.panel .search-station.closed {
    background-color: #FFF;
    color: #000;
}
@media (max-width: 767px) {
    .all_work_orders.btn-tab {
        min-width: 48px;
    }
    .device_needed.btn-tab {
        min-width: 48px;
    }
    .started.btn-tab {
        min-width: 48px;
    }
    .finished.btn-tab {
        min-width: 48px;
    }
    .with_error.btn-tab {
        min-width: 48px;
    }
    .config_needed.btn-tab {
        min-width: 48px;
    }
}

/* Search panel */
.search-station {
    text-align: center;
}
.station-label {
    font-size: 14pt;
}
.modal-title {
    display: inline-block;
}
.modal-close {
    float: right;
    display: inline-block;
}
.modal-close > a {
    color: #000;
}
.packing-slip {
    font-weight: bold;
}

/* Login panel */

.navbar-inverse .navbar-nav>li>a.search-btn:hover, .navbar-inverse .navbar-nav>li>a.search-btn:focus {
    color: #fff;
    background-color: #286090;
    border-color: #204d74;
}

.stations .station-wrapper+.station-wrapper {
    margin-top: 5px;
}

.orders .order-wrapper+.order-wrapper {
    margin-top: 5px;
}

.pagination-wrapper {
    text-align: center;
}

.pagination {
    margin-bottom: 0;
}

.btn-tab:focus {
    outline: none !important;
}