﻿/* ОБЩИЕ */
center {
    display: none;
}

body {
    padding-bottom: 20px;
    color: #000;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
}
p {
    margin-bottom: .2rem;
}
/* МЕНЮ */
.dropdown-menu {
    font-size: 12px;
}

/* КОНТЕЙНЕР */
#main {
    margin-bottom: 20px;
}

.container-fluid {
    padding-right: 0px !important;
    padding-left: 0px !important;
}
/* ТАБЛИЦА */
.mvc-grid-popup {
    font-size: inherit !important;
}
.mvc-grid {
    line-height: 10px !important;
    font-size: 10px !important;
    overflow-x: visible !important;
}
.mvc-grid td {
    padding: 0 !important;
}
div.mvc-grid>table.normal>tbody>tr>td>div {
    max-width: 280px !important;
}
div.mvc-grid>table.nowrap>tbody>tr>td>div {
    white-space: nowrap !important;
}
div.mvc-grid>table.width-none>tbody>tr>td>div {
    max-width: none !important;
}
table.black-border td {
       border: 1px solid #000000 !important;
}
table.borderless td {
    border-width: 2px;
    padding: 1.5px;
}

.mvc-grid .noneBorder td {
    width: 50%;
}
.mvc-grid .noneBorder td,
.noneBorderTable > tbody > tr > td {
    border: none;
}
div > table > tbody > tr > td > div {
    white-space: nowrap;
}

div > table > tbody > tr > td.pre-line > div {
    white-space: pre-line;
}

div.mvc-grid > table > tbody > tr > td > div {
    max-width: 120px;
    overflow: hidden;
}

.tr-selected {
    background-color: #ffc107 !important;
    color: #fff !important;
}

/* LIST TABLES */
a.list-group-item, button.list-group-item {
    color: #000;
}

.list-group-item {
    border: 1px solid #000;
    margin-top: 5px;
    border-radius: 4px !important;
    font-size: 16px;
    font-weight: bold;
}

a.list-group-item:focus, a.list-group-item:hover, button.list-group-item:focus, button.list-group-item:hover {
    color: #000;
}
/* CRUD */
@media (min-width: 768px) {
    .dl-horizontal dt {
        width: 280px;
        white-space: normal;
        margin-bottom: 5px;
    }

    .dl-horizontal dd {
        margin-left: 300px;
    }
}

/* ЭЛЕМЕНТЫ УПРАВЛЕНИЯ */
.btn {
    white-space: nowrap !important;
    vertical-align: middle !important;
}
.btn-is-disabled {
    pointer-events: none;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
    opacity: 0.7;
}
.btn-xs {
    padding: 2px;
    font-size: 10px;
    border-radius: 2px;
}
.btn-min-xs {
    padding: 2px;
    font-size: 10px;
    line-height: 1;
    border-radius: 2px;
    margin: 2px;
}
.btn-min-xvs {
    padding: 1px;
    font-size: 8px;
    line-height: 1;
    border-radius: 0;
    margin: 1px;
}
label {
    font-weight: bold;
}
.form-control-sm {
    font-size: .8rem !important;
}
.canceledContract {
    background-color: #d9534f !important;
}
/* СПИСКИ */
.select2-results__options {
	font-size: 12px;
}
.select2-container .select2-selection--multiple {
    min-height: inherit !important;
}
.select2-container {
    min-width: 150px;
    margin-right: .5rem!important;
}
/* МОДАЛЬНОЕ ОКНО */
.modal-content .modal-header .close {
    outline: 0;
}
.modal-title {
    line-height: 1.4;
    text-transform: uppercase;
    font-weight: bold;
}
.modal-body {
    font-size: .8rem;
}

/* БУХГАЛТЕРЕЯ */
#exportReportForPeriod {
    border: 1px solid #ccc;
    padding: 2px 20px;
    background: #f3f3f3;
}
#exportReportForPeriod input {
    height: 26px;
    padding: 3px 6px;
}

/* ВЫГРУЗКА В ЗАВИСИМОСТИ ОТ ФИЛЬТРАЦИИ ТАБЛИЦЫ */
.widget-header {
    background: #1894ef;
    border-bottom: 1px solid rgba(0, 0, 0, .25);
    align-items: center;
    padding: 4px 6px;
    color: #fff;
    display: flex
}
.widget-header > span {
    padding-left: 10px;
    flex: 1
}
.widget-buttons {
    cursor: pointer;
    padding: 0 5px
}
.widget-buttons a, .widget-buttons span {
    padding-left: 10px;
    color: #fff
}
.widget-buttons a:hover, .widget-buttons span:hover {
    color: #ddd
}