@import url('/css/theme.css');

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

/* ============================================================
   ГЛОБАЛЬНЫЕ ФИКСЫ BOOTSTRAP
   ============================================================ */

.breadcrumb {
    padding: 0;
    background: none;
    margin-bottom: var(--on-space-3);
}

.table {
    --bs-table-bg: transparent;
}

/* Убираем пёстрые стили старой темы, если что-то прорвалось */
.jumbotron {
    text-align: center;
    background-color: transparent;
}

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

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

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: "\e151"; }
a.desc:after { content: "\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;
}

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

/* Флэш-сообщения поверх общей темы */
.alert-success {
    background: rgba(16, 185, 129, .1);
    border-color: rgba(16, 185, 129, .3);
    color: var(--on-online-dark);
}

.alert-danger {
    background: rgba(239, 68, 68, .1);
    border-color: rgba(239, 68, 68, .3);
    color: var(--on-danger);
}

/* YA-share на тёмном фоне */
.on-hero .on-share,
.on-hero .ya-share2 {
    color: rgba(255, 255, 255, .8);
}

/* ============================================================
   АДАПТИВ
   ============================================================ */

@media (max-width: 767.98px) {
    .on-section {
        padding: var(--on-space-6) 0;
    }

    h1 {
        font-size: 1.75rem;
    }
}