body { padding-top: 65px; }
.row { margin-left: 0; margin-right: 0; }
.login { float: none; margin: 0 auto; }
.c { margin: 0 auto; }
.tc { text-align: center; }
.tr { text-align: right; }
.fr { float: right; }
.rel { position: relative; }
.bsh { box-shadow: 0px 0px 10px 0px #999;  }
.navbar-header { position: relative; z-index: 2; }
.navbar-brand { max-width: 160px; }
.navbar-brand img { width: 100%; height: auto; }
h1 { margin-top: 0; }
#navbar { position: relative; }
#navbar .logout { position: absolute; right: 0; }
#home-menu { padding: 0; margin: 0 auto; float: none; }
#home-menu li { list-style: none; overflow: hidden; }
#home-menu li > span, #home-menu li a { float: left; padding: 15px; text-align: center; }
#home-menu li span { background: #eee; color: #aaa; line-height: 36px; float: left; font-size: 32px; }
#home-menu li span span + span { margin-left: 15px; font-size: 18px; }
#home-menu li a { color: #fff; font-size: 4.5vmin; line-height: 120px; border-left: 1px solid #fff; position: relative; }
#home-menu li span + a { border-left: 0; }
#home-menu .clients a { background: #cd0a0a; }
#home-menu .suppliers a { background: #0e90d2; }
#home-menu .transfers a { background: #0a0; }
#home-menu a:before { position: absolute; width: 100%; height: 100%; left: 0; top: 0;
    font-family: "Glyphicons Halflings"; font-size: 13vmin; z-index: 0; line-height: 155px; }
#home-menu a[href$=requests]:before { content: '\e123'; }
#home-menu a[href$=deliveries]:before { content: '\e108'; }
#home-menu a[href$=transfers_deliveries]:before { content: '\e110'; }
#home-menu .clients a:before { color: #B40000; }
#home-menu .suppliers a:before { color: #0077B9; }
#home-menu .transfers a:before { color: #009100; }
#home-menu a em { position: relative; z-index: 1; font-style: normal; }

.sticky-table { padding: 0; }
.sticky-table .scroll { overflow-x: scroll; overflow-y: visible; }
.sticky-table .sticky { position: absolute; top: auto; background: #FFF; border-top: 1px solid #ddd; white-space: nowrap; }
.sticky-table th.sticky { border-top: 1px solid #ddd !important; margin-top: -1px; }
.sticky-right .table, .sticky-table .nbr { border-right: 0; }
.sticky-left .table, .sticky-table .nbl { border-left: 0; }
@-moz-document url-prefix() {
    .sticky-table td.sticky { margin-top: -1px; }
    .sticky-table tr:first-child td.sticky { margin-top: 0; }
}
.table th { white-space: nowrap; }
.table th, .table td { font-size: 13px; }
.table tr.cur td:not(.sticky) { background: #EEE; }
.table.orders th, .table.orders td { padding: 10px; }
.table.orders td { padding: 15px 10px; }
.table.orders .done td { background: #AAC7E1; }
.table.orders td[data-ajax] { color: #337ab7; }
.table .del, .table .lock { width: 60px; font-size: 20px; color: #ac2925; text-align: center; }
.table .lock { color: #eea236; }
.table.orders .glyphicon { font-size: 18px; text-align: center; width: 100%; }
.table.orders .glyphicon-ok { color: green; }
.table.orders .glyphicon-remove { color: red; }
.table tfoot.darker td { font-weight: bold; }

.modal-box { position: absolute; background: #fff; top: 55%; left: 8.5%; z-index: 1032; max-width: 990px; }
.modal-box .table-responsive, .modal-box .list-group { max-height: 40vh; overflow: auto; }
.modal-box span.cls { position: absolute; right: 10px; top: 10px; font-size: 22px; }
.modal-box .table { margin-bottom: 0; }
.modal-box .table-responsive { margin-bottom: 15px; }
.modal-box .results .alert { margin-bottom: 0; }
.modal-overlay { content: ''; background: #000; opacity: .5; position: fixed; width: 100%; height: 100%; left: 0; top: 0; z-index: -1; }

form .btn { margin-bottom: 10px; }
form .btn.btn-lg, .modal-box .btn.btn-lg { margin: 0 10px 15px 0; }
form.ajax .search { margin-bottom: 15px; padding-left: 0; }
.btn.btn-lg .glyphicon { font-size: 21px; vertical-align: -4px; }
.has-error ::-webkit-input-placeholder { color: #a94442; }
.has-error :-moz-placeholder { color: #a94442; }
.has-error ::-moz-placeholder { color: #a94442; }

form.search label { padding-left: 0; }
form.search label:last-child { padding-right: 0; }
form.search .results { clear: both; }
form.search .pagination { margin-top: 0; }
span.form-control { -webkit-appearance: textfield; font-weight: normal; overflow: hidden; }
h1 + .alert { margin-bottom: 10px; }
.panel-body .table { margin-bottom: 0; }
.panel-body .table .error { outline: 1px solid #a94442; color: red; }

.container[role=main] { position: relative; }
.control-box { position: absolute; right: 5px; top: -5px; }
.control-bar { visibility: hidden; position: absolute; top: 55px; right: 10px; width: 60vw; background: #FFF; padding: 15px 15px 0; z-index: 100; }
.control-bar.visible { visibility: visible; }
.control-bar .btn-danger { margin-left: 5px; }
.control-bar:before { content: ''; position: absolute; width: 0; height: 0; border-style: solid; border-width: 0 15px 15px 15px;
    right: 13px; border-color: transparent transparent #ffffff transparent; box-sizing: content-box; top: -15px; }
form[action=transfers_deliveries] .control-bar:before { right: 83px; }

.results .list-group-item { position: relative; }
.results .list-group-item .edit { position: absolute; right: 0; top: 0; width: 10%; min-width: 60px; height: 100%;
    background: #fff; color: #337AB7; font-size: 17px; text-align: center; }
.results .list-group-item:first-child .edit { border-radius: 0 4px 0 0; }
.results .list-group-item:last-child .edit { border-radius: 0 0 4px 0; }
.results .list-group-item:only-child .edit { border-radius: 0 4px 4px 0; }
.results .list-group-item .edit:before { position: relative; top: 32%; }
.btn.btn-lg .glyphicon-random { margin-right: 3px; }

.ask { text-align: center; padding: 15px 0 10px; font-size: 22px; }
input[disabled] { color: #000; }

#loader { position: fixed; width: 90px; height: 90px; top: 50%; left: 50%; margin: -45px;
    background: url(../img/loader.gif) center no-repeat #fff; z-index: 9999; }
.total { float: right; margin: 10px 0; font-size: 20px; }
/*
@media only screen and (max-width: 900px) {
    .table, .desktop { display: none; }
    .table-mobile { display: table; width: 100%; }
    .table-mobile tbody tr:first-child { border-top: 2px solid #444; }
    .table-mobile .tc { text-align: left; }
    .table-mobile .end-row { border-bottom: 2px solid #444; }
    .table-mobile td, .table-mobile th { background: #FFF; vertical-align: middle !important; }
    .table-mobile .even td, .table-mobile .even th { background: #F9F9F9; }
    .table-mobile th { width: 150px; border-right: 1px solid #ddd; }
}

@media only screen and (min-width: 901px) {
    .table-mobile { display: none; }
}
*/
@media only screen and (max-width: 620px) {
    .total { float: none; display: block; margin: 10px 0 15px; }
}

