﻿body {
    /*padding-top: 50px;*/
    /*padding-bottom: 20px;*/ 
}

/*сделал менью без позиционирования;*/
.navbar.navbar-inverse.navbar-fixed-top {
    position: static;
}

.navbar {
    margin-bottom: 0px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select {
    max-width: 280px;
}

.ui-search-input > input,
.ui-search-input > select {
    max-width: 100%;
}

textarea {
    width: 100%;
    height: 100px;
}

/* styles for validation helpers */
.field-validation-error {
    color: #b94a48;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error,
textarea.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}

tr.jqgroup td {
    background-color: gray;
}

.shortDesc {
    width: 20px;
    text-overflow: ellipsis;
    white-space: nowrap !important;
    overflow: hidden;
    color: black;
}

fieldset {
    border: 2px solid #C0C0C0;
    padding: 10px;
    margin-top: 10px;
}

    fieldset legend {
        font-size: 14px;
        border-bottom: 0px;
        width: auto;
        margin-bottom: 0px;
    }

    fieldset select {
        width: 110px;
    }

.ui-jqgrid-sortable {
    font-weight: bold;
}

.nav-selected {
    background-color: gray;
}

    .nav-selected a {
        color: white !important;
    }

.navbar-nav > li {
    padding-left: 10px;
}

.inputDialog > form > input {
    width: 100%;
}

.inputDialog > form > select {
    width: 100%;
}

.inputDialog > form > textarea {
    width: 100%;
}

/*чтобы диалоги отображались поверх  navbar*/
.ui-dialog {
    z-index: 1040 !important;
}
/*неправильные поля для AngularJs*/
.ng-dirty.ng-invalid {
    border-color: red;
    outline: none; /*chrome*/
}

.ui-state-warning {
    border: 1px solid #ffd700 /*{borderColorError}*/;
    background: #fef1ec /*{bgColorError}*/ url(themes/base/images/ui-bg_glass_95_fef1ec_1x400.png) /*{bgImgUrlError}*/ 50% /*{bgErrorXPos}*/ 50% /*{bgErrorYPos}*/ repeat-x /*{bgErrorRepeat}*/;
    color: #D78239 /*{fcError}*/;
}

.contentHeight {
    overflow: auto;
    max-height: 250px;
    margin: 2px;
    padding: 2px;
}

.shortcuts .custom-shortcut:nth-child(5n):after {
    content: ' ';
    display: block;
}

/*Очищаем подсветку рамок ячейки таблицы для Firefox при нажатом ctrl*/
table {
    -moz-user-select: none;
}

.timepicker {
    display: inline;
    position: relative;
    top: 5px;
}

/*фикс мерцаний angular приложений*/
[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
    display: none !important;
}

.hasDatepicker {
    width: 100px;
}

.timepicker tr.text-center {
    display: none;
}

/*Обнуляем стили bootstrap для timepicker*/
.timepicker tr td.form-group input {
    padding: 0;
    height: 22px;
    border-radius: 0px;
}

.ui-datepicker-trigger {
    margin-left: 2px;
}

.modal-error .modal-body {
    max-height: 500px;
    font-size: 1.5em;
    overflow-x: auto;
}

input.localization-file {
    min-width: 400px;
}
