/* BMW specific styles */
@font-face {
    font-family: "BmwWebFont";
    src: url("fonts/bmwtypewebli_arabic.ttf");
    src: url("fonts/bmwtypewebli_arabic.woff") format("woff"),
    url("fonts/bmwtypewebli_arabic.woff2") format("woff");
}

@font-face {
    font-family: "BmwWebFontBold";
    src: url("fonts/bmwtypewebbo_arabic.ttf");
    src: url("fonts/bmwtypewebbo_arabic.woff") format("woff"),
    url("fonts/bmwtypewebbo_arabic.woff2") format("woff");
}

body {
    font-family: 'BmwWebFont';
    font-size: 16px;
}

.primary-color {
    color: #000000;
}

.secondary-color {
    color: #bbbbbb;
}

.primary-headline-color {
    color: #0e346a;
}

.label-color {
    color: #8e8e8e;
}

.btn-bmw {
    background-color: #1c69d4 !important;
    background-image: none !important;
    border-radius: 0px !important;
    font-size: 0.75em;
    color: white;
    margin-left: 1px !important;
}

.btn-bmw:hover, .btn-bmw:focus {
    background-color: #134994 !important;
    color: white !important;
}

.btn-bmw-red {
    background-color: #ea2e1f !important;
    background-image: none !important;
    border-radius: 0px !important;
    font-size: 0.75em;
    color: white;
    margin-left: 1px !important;
}

.btn-bmw-red:hover, .btn-bmw-red:focus {
    background-color: #a81f13 !important;
    color: white !important;
}

.btn-default {
    text-shadow: unset;
}

.input-group-btn {
    position: relative;
    font-size: inherit;
    white-space: nowrap;
}

label {
    font-size: 0.625em;
    color: #8e8e8e;
}

h1 {
    font-family: 'BmwWebFontBold';
    font-size: 2em;
    letter-spacing: 3px;
    color: #0e346a;
    text-transform: uppercase;
}

h2 {
    font-size: 1.875em;
    font-family: 'BmwWebFontBold';
    letter-spacing: 2px;
    color: #0e346a;
}

h3 {
    font-family: 'BmwWebFontBold';
    font-size: 1.5em;
    color: #000;
}

h4 {
    font-size: 1em;
    font-family: 'BmwWebFont';
    color: #000;
}

p {
    font-size: 0.875em;
    font-family: 'BmwWebFont';
    color: #595858;
}

.alert {
    border-radius: 5px;
    text-shadow: unset;
    box-shadow: unset;
    font-family: 'BmwWebFont';
    -webkit-box-shadow: unset;
    border: 0px;
    margin: 0;
}

.alert a {
    text-shadow: none;
}

.alert-warning {
    background-image: none;
    color: #fff;
    background: #fade40;
}

.alert-warning a {
    color: #fff;
    opacity: 1;
    font-weight: 400;
}

.alert-warning a:hover {
    color: #fff;
    opacity: 0.7;
}

.alert-success {
    background-image: none;
    color: #ffffff;
    background: #7fa105;
}

.alert-success a {
    color: #fff;
    opacity: 1;
    font-weight: 400;
}

.alert-success a:hover {
    color: #fff;
    opacity: 0.7;
}

.alert-info {
    background-image: none;
    color: #ffffff;
    background: #1c69d4;
}

.alert-info a {
    color: #fff;
    opacity: 1;
    font-weight: 400;
}

.alert-info a:hover {
    color: #fff;
    opacity: 0.7;
}

.alert-danger {
    background-image: none;
    color: #fff;
    background: #ea2e1f;
}

.alert-danger a {
    color: #fff;
    opacity: 1;
    font-weight: 400;
}

.alert-danger a:hover {
    color: #fff;
    opacity: 0.7;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #bbbbbb;
    opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #bbbbbb;
}

::-ms-input-placeholder { /* Microsoft Edge */
    color: #bbbbbb;
}

.ng-pristine.ng-invalid {
    box-shadow: none !important;
    border-color: black;
}

div[ng-form].ng-submitted .ng-invalid {
    box-shadow: 0px 0px 5px red !important;
    border-radius: unset;
    padding: 0px;
}

/*nav.navbar {*/
    /*background-image: linear-gradient(to bottom, #0e346a 0, #000 100%);*/
/*}*/

.form-control {
    border-radius: 0px;
    box-shadow: none !important;
    border-color: black !important;
    height: 2.125em;
}

.form-control:focus {
    border-color: #8db4e9;
    -webkit-box-shadow: unset;
    box-shadow: unset;
}

/* FIXME: NOW ITS ONLY REC-DEMO SCREEN */
.orderLoadForm > div > input, .orderLoadForm > div > button, .config-form > div > div > input,
.config-form > div > div > textarea {
    border-radius: unset;
}

.orderLoadForm > div > input, .config-form > div > div > input, .config-form > div > div > textarea,
.config-form > div > div > select {
    border-color: black;
}

/* End BMW specific styles */

/* Ratings CSS */
.rating {
    color: #777;
    margin: 0;
    padding: 0;
}

ul.rating {
    display: inline-block;
    min-width: 150px;
}

.rating li {
    list-style-type: none;
    display: inline-block;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    font-size: 34px;
}

.rating .filled {
    color: #f4ba29;
}

.clear {
    margin-top: 20px;
}

.half {
    display: inline-flex;
}

.empty-after-half {
    position: relative;
}

.half > li:first-child {
    overflow: hidden;
    left: 0px;
    z-index: 1;
    color: #f4ba29;
}

.half > li:last-child {
    position: relative;
}

/* End Rating CSS*/


.buttonBar-single {
    margin: 0 0 5px 0;
    height: 55px;
}

.buttonBar-double {
    margin: 0 0 15px 0;
}

#buttonBar, #messages {
    margin-bottom: 1em;
}

.glyphicon-disabled {
    color: grey;
}

.table-datatable thead th,
.table-datatable tfoot td {
    background-color: #fafafa;
    font-weight: bold;
}

.table-datatable input:invalid {
    outline: none;
    border-color: #dd8888;
}

.table-datatable th, td, input, select {
    margin: 0px;
    font-size: 12px;
    height: 25px;
    vertical-align: top;
    border: none;
    background-color: transparent;
}
.padding-left-5 {
    padding-left: 5px;
}

.table-datatable input, select, option {
    padding: 0px !important;
}

.table-datatable th, td {
    padding: 1px 1px 1px 3px !important;
}

.table-datatable .btn {
    font-size: 0.6875em;
    padding: 2px 6px 1px 6px;
}

.table-datatable input[type=text],
.table-datatable input[type=number] {
    width: 100%;
}

.table-datatable input[type=date] {
    width: 85px;
}

.table-datatable input[type=date]::-webkit-inner-spin-button,
.table-datatable input[type=date]::-webkit-clear-button,
.table-datatable input[type=number]::-webkit-inner-spin-button,
.table-datatable input[type=number]::-webkit-outer-spin-button {
    display: none;
}

.table-datatable > tbody + tbody {
    border-top-width: 1px;
}

.table-datatable .colspan {
    border-left: none;
    border-right: none;
}

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

/*
 * Datepicker text-fields aren't shown properly in datatables. Hence we can use the below style:
 */
.pgeDatepickerInput {
    height: 20px;
}

/*
 * In the last column of the datatable, all line-specific buttons should be in one line
 */
.datatableButtonGroup {
    display: inline-block;
}

.datepickerDataTable {
    min-height: 220px;
}

/*
 * AutoScroll-Boxes with a fixed height.
 */
.autoScroll {
    overflow: auto;
    max-height: 8em;
    min-height: 2em;
}

.autoScrollMedium {
    overflow: auto;
    max-height: 20em;
    min-height: 2em;
}

.highlightRow {
    background-color: lightskyblue;
}

.introductoryText {
    margin-top: 1em;
    margin-bottom: 1em;
}

/* Menu bar on the left hand side -> Reduced distance between the items */
.nav > li > a {
    padding: 5px 15px;
}

/* The logo in the navbar-brand header line should be inline and have a proper size */
.navbar-brand > img {
    display: inline;
    width: 1.5em;
    height: 1.5em;
    margin-bottom: 3px;
    margin-left: 3px;
    margin-right: 3px
}

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

.margin-top-5 {
    margin-top: 5px;
}

.margin-top-bottom {
    margin-top: 1em;
    margin-bottom: 1em;
}

.minus-margin-large-screen {
    margin-bottom: 25px;
}

@media (min-width: 992px) {
    .minus-margin-large-screen {
        margin-bottom: 50px;
    }
}

.rest-test-input {
    width: 10em !important;
}

ul.my-things > li {
  margin: 2em;
}

.form-control-startconfig {
    padding-left: 4px !important;
}

.bordered {
    border: 1px solid #ccc;
}

.centered-text {
    text-align: center;
}


/* Input validation for required fields
:required {
  box-shadow: 0px 0px 5px limegreen;
  border-radius: 4px;
  padding: 0px;
} */
/* Disable the not touched form invalid */
div[ng-form] {
    box-shadow: none !important;
}

:invalid, .ng-invalid {
    border-color: red;
    padding: 0px;
}

.editable-cell {
    border: 1px solid #ccc;
    border-radius: 0px;
}

.editable-cell:focus {
    padding: 5px;
    border: 2px solid #4D90FE;
    -webkit-border-radius: 0px;
    border-radius: 0px;
}

.table-cell {
    padding: 5px;
    width: 100%;
    height: 29px;
}

.table-cell-medium {
    padding: 5px;
    width: 100%;
    height: 32px;
}

.calendar-button {
    font-size: 0.875em !important;
}

.loading-text {
    padding: 20px;
    font-size: 1.5em;
    text-align: center;
}

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

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

input[type=checkbox], input[type=radio] {
    position: relative;
    margin: 0px 2px 0px 0px;
    vertical-align: middle;
    top: -1px;
}

.pagination>li>a {
    color: #000;
}

.pagination>.active>a {
    background-color: #1c69d4;
    border-color: #1c69d4;
}

.pagination>.active>a:hover {
    background-color: #134994;
    border-color: #134994;
}

.pagination>li>a:hover {
    background-color: #e5dfdf;
    border-color: #e5dfdf;
}