html,
body {
    height: 100%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

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

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.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: 15px;
    border: none;
}

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

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

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

.active-lang {
    font-size: 120%;
}

/* Fixed header */

.fixed-header-block {
    min-height: 50px;
    position: fixed;
    right: 0px;
    left: 0px;
    z-index: 10;
    width: 100%;
    top: 53px;
    padding: 1px;
}

.border1 {
    border: black 1px solid !important;
}

.search-table {
    margin-bottom: 0px;
    z-index: 10;
}

.white-bg {
    background-color: #fff;
}

.gray-bg {
    background-color: #ccc;
}

.navbar-right {
    margin-right: 0px !important;
}

nav .active {
    font-weight: bold;
}

.modal-backdrop {
    /* hide it */
    z-index: -1;
    visibility: hidden !important;
}

div.manifest-form label.sr-only {
    position: inherit;
    width: auto;
    height: auto;
    margin: auto;
    overflow: auto;
    clip: auto;
}

div.manifest-form .row {
    margin: 2px;
    padding: 2px;
}

.form-group {
    margin-bottom: 5px;
}

.nav-tabs {
    margin-bottom: 15px;
}

.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
    padding: 2px;
}

.container {
    width: 100%;
}

.glyphicon {
    padding: 2px;
}

.form-date-range {
    min-width: 170px;
}

/* юзеры онлайн */
.users-online-block {
    position: fixed;
    right: 0;
    bottom: 0;
    margin: 0;
    background-color: #ddd;
    color: #000;
    text-align: right;
}

.users-online-block .user-item {
    display: none;
    background-color: #ccc;
    color: #000;
}

/*.alert {*/
/*    position: fixed;*/
/*    top: unset;*/
/*    left: 1rem;*/
/*    right: unset;*/
/*    bottom: 5rem;*/
/*}*/

/* белый цвет. для таблицы статистики статусов */
.alert-blank {
    color: #000;
    background-color: #fff;
    border-color: #666;
}

.doc-stat-popup {
    top: 1px !important;
    right: 1px !important;
    padding: 1px !important;
    max-width: 240px !important;
    margin-bottom: 1px;
}

.alert-blank .close {
    margin: 0px;
    float: inline-end;
    position: relative;
    z-index: 1111;
    right: 5px;
    background-color: white;
    color: black;
    opacity: 0.5;
}

.alert-warning {
  color: #444;
  background-color: #ffaa22;
  border-color: #000;
}

button.pull-right{
    margin-right: 10px;
}

@media (min-width: 768px) and (max-width: 839px) {
    .navbar .lang-switch-option {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 1030px) {
    .navbar .nav a {
        padding-left: 7px;
        padding-right: 7px;
        letter-spacing: -.5px;
    }
    .navbar .nav form button {
        padding-left: 5px;
        padding-right: 5px;
        letter-spacing: -.5px;
    }
}

.doc-photo-modal__card {
    position: relative;
    z-index: 0;
    height: 132px;
}
.doc-photo-modal__card video {
    height: 120px;
}
.doc-photo-modal__card__image {
    background-position: center;
    background-size: cover;
    padding-top: 68%;
    border: 3px solid white;
    box-shadow: black 1px 1px 10px -7px;
}
.doc-video-modal__card__image {
    border: 3px solid white;
    box-shadow: black 1px 1px 10px -7px;
    text-align: center;
}
.doc-photo-modal__card__delete {
    z-index: 2;
    top: 3px;
    right: 18px;
    position: absolute;
    background-color: rgba(0,0,0,.3);
    color: white;
    font-size: 18px;
    padding: 1px 10px;
    cursor: pointer;
}
.doc-photo-modal__card__delete:hover {
    background-color: rgba(0,0,0,.8);
}
.doc-photo-modal__card__left,
.doc-photo-modal__card__right {
    z-index: 2;
    bottom: 3px;
    position: absolute;
    background-color: rgba(0,0,0,.3);
    color: white;
    font-size: 18px;
    padding: 1px 10px;
    cursor: pointer;
    opacity: .5;
}
.doc-photo-modal__card__left { left: 18px; }
.doc-photo-modal__card__right { right: 18px; }

.doc-photo-modal__card__left:hover,
.doc-photo-modal__card__right:hover {
    background-color: rgba(255, 87, 34, 84);
    opacity: 1;
}


/**
    Kartik. File input. Image uploader.
 */
.file-drop-zone {
    min-height: 160px;
}

.jexcel-top-buttons .btn:not(.pull-right) {margin-right: 8px;}
.jexcel-top-buttons .btn.pull-right {margin-left: 8px; margin-right: 0;}



/**
VIN Search Modal
 */

#vinSearchModal .modal-dialog {
    width: 90%;
    max-width: 1900px;
}

#vinSearchModal .hint {
    font-size: 10px;
    color: gray;
    text-align: left;
    margin: 3px 0 10px;
}

#vinSearchModalContent tr td:nth-child(4),
#vinSearchModalContent tr td:nth-child(6),
#vinSearchModalContent tr td:nth-child(9),
#vinSearchModalContent tr td:nth-child(17),
#vinSearchModalContent tr td:nth-child(18),
#vinSearchModalContent tr td:nth-child(19),
#vinSearchModalContent tr td:nth-child(21)
{
    white-space: nowrap;
}

#vinSearchModalContent tr td:nth-child(10),
#vinSearchModalContent tr td:nth-child(11),
#vinSearchModalContent tr td:nth-child(12),
#vinSearchModalContent tr td:nth-child(14),
#vinSearchModalContent tr td:nth-child(15)
{
    min-width: 150px;
}

#vinSearchModalContent tr td
{
    padding: 2px 5px;
}

.main-jtable-block tbody {
    position: relative;
}
.main-jtable-block tbody tr td:nth-child(1) {
    position: sticky;
    position: -webkit-sticky;
    left: 0;
    z-index: 2;
    box-shadow: inset -1px 0 #bababa;
}
.main-jtable-block tbody tr td:nth-child(4) {
    border-left: 0 !important;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1.0rem; }
.mb-3 { margin-bottom: 1.5rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1.0rem; }
.mt-3 { margin-top: 1.5rem; }
