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

nav.navbar.navbar-inverse {
    background-color: #000000;
}

nav .collapse.navbar-collapse {
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #f2f2f2;
}

.navbar.navbar-inverse .navbar-brand {
    background-color: #000000;
    padding: 3px 15px
}

.navbar-brand img {
    width: 50px;
    display: inline-block;
    margin-right: 5px;
}

.navbar.navbar-inverse .navbar-nav > li > a {
    color: #f2f2f2;
}

.navbar-inverse .navbar-nav > li.active > a {
    color: #e69900;
}

@media (max-width: 767px) {
    .page-header-fixed {
        padding-top: 49px;
    }
}


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

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

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

.form-control {
    color: #111 !important;
}

/* 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;
}

/* Объекты */
.crud-datatable-object .form-control {
    min-width: 55px;
}

.object_note {
    font-size: 14px;
    color: #000000;
}

.object_note.note {
    border-left-color: #008a8a;
}


/* Оборудование */

.calculation-form {
    font-size: 13px;
}

.form-group-sm.highlight-addon.field-equipment-pover_common label {
    width: 100%;
}

.form-group-sm.highlight-addon.field-equipment-pover_common input {
    width: 65%;
    display: inline-block;
}

.form-group-sm.highlight-addon.field-equipment-pover_common .hint-block {
    display: inline-block;
    float: right;
    margin-top: auto;
    margin-right: 5px;
    height: 30px;
    line-height: 30px;
    font-size: 12px;
    color: #000000;
}

/* align the logout "link" (button in form) of the navbar */
div.nav.navbar-nav.navbar-right {
    margin: 1.7rem;
}

/* Баннеры на странице расчета */
.banner_calculation {
    text-align: center;
}

.banner_calculation img {
    height: 100%;
    max-height: 300px;
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
}


/* Платежи. Таблица пользователя */
#crud-datatable .table-responsive.kv-grid-container {
    width: 100% !important;
}

/* Платежи. Срок действия аккаунта */
.payment_paid_to {
    font-size: 16px;
    font-weight: 700;
    display: inline-block;
    padding: 6px 12px;
    vertical-align: middle;

}

/* Платежи. Реферальный код */
.payment_referral_code {
    margin: 2rem auto 1rem;
    font-size: 20px;
    font-weight: 700;

}

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


.mb-10 {
    margin-bottom: 10px;
}

.tr-header td {
    border: none !important;
    background-color: #ededed !important;
}

.sortable.list {
    min-height: 35px;
}

.step-labels ul {
    padding: 0;
    list-style-type: none;
}

.step-labels ul li {
    display: inline-block;
    margin-right: 20px;
}

.step-labels ul li.active .label-text {
    color: #00acac;
}

.step h3 {
    text-align: center;
}

.equipment-table table{
    width: 100%;
}
.equipment-table>tbody>tr>td {
    border: 1px solid #002a80 !important;
    padding: 3px 3px !important;
}
.equipment-table>thead>tr>th {
    border: 1px solid #002a80 !important;
    padding: 3px 3px !important;
    text-align: center;
}

.btn.btn-success, .btn.btn-primary {
    background: #e69900 !important;
    border-color: #c48300 !important;
}

.form-control[disabled],
.form-control[readonly] {
    opacity: 1 !important;
}

p, td {
    color: #333 !important;
}

@media screen and (max-width: 520px){
    .btn-block-sm {
        width: 100%;
    }

    .hidden-sm {
        display: none;
    }
    .visible-sm-xs {
        display: block;
    }
    .margin-sm-5 {
        margin-top: 5px;
        margin-bottom: 5px;
    }
    .margin-sm-10 {
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .sm-flex-box {
        display: flex;
        flex-direction: column-reverse;
    }
    .modal-content {
        width: 96vw !important;
    }
    .table-scroll-sm {
        width: 100%;
        overflow-x: auto;
    }
}

@media screen and (min-width: 520px){
    .pull-right-md-only {
        float: right !important;
    }
    .visible-sm-xs {
        display: none;
    }
    .md-margin-top {
        margin-top: -27px;
    }
}


