body{
    font-family: system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,Liberation Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji
}
main > .container {
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

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

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}
/*
a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}
*/
.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-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

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

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

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


.kv-grid-panel{
    padding: 20px 0 20px 0;
}

.form-group {
    margin-bottom: 1rem;
}

form-group.required label:after {
    content: " *";
    color: red;
}

.smelting-index table th:nth-child(1) {
    max-width: 150px;
}

.smelting-form{
    max-width: 400px;
}


.supply-form, .forging-form, .rolling-form{
    max-width: 500px;
}

fieldset.form-group{
    border: 1px solid #CCC;
    padding: 5px 20px 5px 20px;
    border-radius: 5px;
}

.form-group legend{
    width: initial;
}

.steel-processing-form{
    padding: 10px;
}

.steel-processing{
    padding: 20px 0px 20px 0px;
}

.nav-sidebar .nav-treeview{
    font-size: 90%;
}

.report-filters{
    max-width: 700px;
}

.auth-clients li{
    margin: 0;
    float: none;
}

.auth-clients{
    padding: 0;
}

.login-logo img{
    width: 60px;
}

#report .forging-size{
    min-width: 130px;
}

.kv-grid-table img{
    max-width: 100px;
    cursor: pointer;
}

table img{
    display: block;
    max-width: 100px;
}

@media print {
    .supply-by-period, .supply-by-grade{
        font-size: 130%;
    }

    .supply-by-period .table-responsive, .supply-by-grade .table-responsive{
        margin-bottom: 100px;
    }

}


.note-img{
    cursor: pointer;
}


.kv-grid-wrapper {
    min-height: 500px;
}


@media(max-width:1600px) {
    .kv-grid-wrapper {
        min-height: 700px;
    }
}

@media(max-width:3600px) {
    .kv-grid-wrapper {
        min-height: 900px;
    }
}

@media(max-width:768px) {
    .kv-grid-wrapper {
        min-height: 450px;
    }
}

table.search-results td:first-child{
    max-width: 150px;
}

/*

.card-report .table, .card-report .table-responsive{
    width: initial;
}

.card-report td, .card-report th{
    text-align: right;
}

 */

/*
.card-report th:first-child, .card-report td:first-child
{
    position:sticky;
    left:0px;
    background-color:#CCCCCC;
}

 */

.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    font-size: 13px;
    border-radius: 50%;

    color: #fff;
}

.icon-circle.smelting-card{
    background-color: #2F80ED;
}

.icon-circle.certificate{
    background-color: #4CC65E;
}

/* Фикс для предупреждающих (warning) строк, если они ломаются */
thead.table-warning th,
thead.table-warning td {
    border-bottom-color: #ffdf7e !important;
}