html,
body {
    height: 100%;
}

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

.wrap > .container-fluid {
    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;
}
.grid-view a.btn {
    margin-right: 5px;
}
.grid-view a.btn:last-child {
    margin-right: 0;
}

.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;
}

.form-control-static{
    text-align: center;
    padding-top: 32px;
}

.search_block{
    margin-top: 20px;
}
.search_block > a{
    margin-right: 10px;
    margin-bottom: 10px;
}
.product-index h1{
    margin-bottom: 20px;
}

#minicart{
    width: 210px;
    position: fixed;
    top: 69px;
    right: 0;
    display: none;
}


.order_item_arrived_form{
    width: 100px;
}

.receipt_actions{
    overflow: hidden;
}
.receipt_actions form{
    float: left;
}
.receipt_payment .col-sm-1{
    float: right;
}
.receipt-create hr{
    margin: 5px 0;
}
.field-receiptitem-gift{
    margin-bottom: 0;
}
.field-receiptitem-gift .checkbox{
    margin: 0;
}
.field-receiptitem-gift .help-block{
    display: none;
}

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

td.amount{
    background: #5CB85C;
    color: #fff;
    border: 1px solid;
    text-align: center;
}
td.amount_1{
    background: #F0AD4E;
}
td.amount_0{
    background: #D9534F;
}
th.amount_th{
    text-align: center;
    border: 1px solid #fff;
}
td.amount_inp{
    text-align: center;
    border: 1px solid #fff;
}

.signature, .transcript{
    border-top: 1px solid #000;
    display: inline-block;
    text-align: center;
    margin-top: 50px;
    padding-top: 10px;
    margin-right: 50px;
}
.signature{
    width: 150px;
}
.transcript{
    width: 300px;
}

table.for_print{
    display: none;
}

@media print {
    footer, .breadcrumb, h1, button.btn, a.btn, .not_for_print, #minicart, #filter_block, .pagination{
        display: none;
    }
    table.for_print{
        display: table;
        width: 100%;
        max-width: 100%;
    }
    .wrap > .container{
        padding-top: 30px;
    }
    a[href]:after {
        content: none !important;
    }
    body{
        font-size: 12px;
    }
    @page{size:auto; margin-bottom:5mm;}
}

.repeating_settings{
    display: none;
}
.checkbox_list{
    overflow: hidden;
}
.field-operation-months,
.field-operation-days,
.field-operation-week{
    width: 50%;
    float: left;
    overflow: hidden;
}
#operation-months label,
#operation-days label,
#operation-week label{
    display: block;
}
#operation-months{
    -webkit-column-count: 4;
    -moz-column-count: 4;
    column-count: 4;
}
#operation-days{
    -webkit-column-count: 4;
    -moz-column-count: 4;
    column-count: 4;
}
#operation-week{
    -webkit-column-count: 4;
    -moz-column-count: 4;
    column-count: 4;
}
.fastCheck {
    float: left;
    margin: 10px 20px;
}
.fastCheck a{
    display: block;
}

.product_card{
    margin-top: 20px;
}
.product_card .main_img{
    float: left;
    margin: 0 20px 30px 0;
    width: 27%;
}
.product_card .detail-view{
    width: 70%;
}
.product_card h2{
    clear: both;
}

.not_set{
    color: #D9534F;
    display: block;
    font-weight: bold;
}

.barcode_table{
    width: 4.5cm;
    height: 7cm;
}
.barcode_table td{
    padding: 5px;
}

.cash_total_block{
    display: none;
}

/*.search_block .select2-container--krajee{
    float: right;
    width: 70% !important;
    margin-right: 10px;
}*/
.operation-index .search_block .btn{
    margin-right: 5px;
}
.operation-index .search_block > div{
    margin-bottom: 20px;
}

#filter_block .hint-block,
#filter_block .help-block{
    display: none;
}

a[data-sort*="position"],
a[data-sort*="model_id"]{
    display: inline-block;
    float: right;
    margin-top: 9px;
}

.old_img a{
    display: inline-block;
    margin-top: 10px;
}
div.required label.control-label:after {
    content: " *";
    color: red;
}

.receipt_payment .btn-success{
    margin-top: 25px;
}

table.primerki-table{

}
table.primerki-table th{
    text-align: center;
}
table.primerki-table td{
    padding: 10px;
    position: relative;
}
table.primerki-table td.time{
    text-align: center;
}
table.primerki-table td a{
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    height: 23.2px;
}
table.primerki-table td.free a{
    background: #5cb85c;
}
table.primerki-table td.free a:hover{
    background: #93d393;
}
table.primerki-table td.occupied a{
    background: #c85151;
}
table.primerki-table td.occupied a:hover{
    background: #d57171;
}
table.primerki-table td.occupied.result-4 a{
    background: #e7a926;
}
table.primerki-table td.occupied.result-4 a:hover{
    background: #deb359;
}
.start-form{
    margin: 30px 0;
    max-width: 300px;
}

#save-phone,
#save-name{
    color: #000;
    margin-right: 15px;
}
.image-preview img {
    margin-bottom: 15px;
}