﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}


.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body:not(.without-scroll) {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}


main,
.container-fluid {
    height: 100%;
}
.scrolling-col.overflow-auto {
    height: auto;
}

.row.scrolling-row {
    height: 0;
}


@media (min-width: 768px) {
    .scrolling-col.overflow-auto {
        height: 100%;
    }
    .footer {
        position: absolute;
        bottom: 0;
        width: 100%;
    }
    .ptr-element {
        height: 0;
    }
    body.without-scroll {
        padding-bottom: 25px;
        height: 100vh;
    }
}

/* Выделение текущего элемента в списке. */
.list-group-item.active {
    color: black;
    font-weight: bolder;
    background-color: #98FB98;
    border-color: #98FB98;
}

/* Стили окна голосования. */
.progress {
    height: 22px;
}

    .progress > span {
        color: black !important;
        font-weight: bold !important;
        width: 85% !important;
    }

.bg-none {
    background-color: darkgrey !important;
}

.flex-d {
    display: flex;
}

input[type='checkbox'][readonly] {
    pointer-events: none;
}

.dot {
    height: 15px;
    width: 15px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
}

    .dot.kvorum {
        background-color: green;
    }

#offlineUserList > li {
    color: red;
}

#offlineUserList > .user-status > .proxies {
    display: none;
}

.hidden {
    display: none;
}

.mvc-grid-row-filters .mvc-grid-value {
    font-weight: normal;
}

.nopad {
    padding-left: 0;
    padding-right: 0;
}

.date-time {
    width: 12em;
}

.btn-home {
    color: rgba(0,0,0,.9);
}

    .btn-home:hover {
        color: rgba(0,0,0,.9);
    }

/* Правка стилей наведения на кнопки голосования под Хром https://dis-dev-ops.ics.perm.ru/Common/ICS.ZS.EA/_workitems/edit/201542 */

.btn-outline-primary:hover:not(.disabled) {
    border-color: #007bff;
    background-color: white;
    color: #007bff;
}

.btn-outline-danger:hover:not(.disabled) {
    border-color: #dc3545;
    background-color: white;
    color: #dc3545;
    box-shadow: 0 0 10px #dc3545;
}

.btn-outline-success:hover:not(.disabled) {
    border-color: #28a745;
    background-color: white;
    color: #28a745;
    box-shadow: 0 0 10px #28a745;
}

.btn.disabled:focus {
    outline: none;
    box-shadow: none;
}

.votings:empty {
    display: none;
}

.vote-btn {
    margin-left: 0.5em;
    margin-top: 0.5em;
}

.btn-info.vote-btn > i:before {
    content: "\f200";
    font-weight: 900;
}

.vote-btn > i {
    width: 17px;
}

.ta-center {
    text-align: center;
}

.voting-result-table > tr > td {
    padding: 0.4em;
    text-align: center;
    font-size: 14px;
}

.voting-result-cell-for {
    color: #469030;
}

.voting-result-cell-against {
    color: #c00000;
}

.voting-result-cell-abstain {
    color: #0070c0;
}

.voting-result-cell-no-vote {
    color: black;
}

.voting-result-cell-name {
    color: black;
    text-align: left !important;
    max-width: 40em;
}

.voting-result-cell-result {
    color: black;
    text-align: left !important;
}

.cb-show-result {
    box-shadow: none !important;
}

.agenda-question .buttons {
    white-space: nowrap;
}

.table td,
.table th {
    padding: .5rem;
}

::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 0px;
    box-shadow: inset 0 0 10px 10px var(--mat-app-background-color);
    border: 4px solid transparent;
}

::-webkit-scrollbar-thumb {
    cursor: pointer;
    border-radius: 1ex;
    background: #dbdde1;
    transition: color 0.2s ease;
}

    ::-webkit-scrollbar-thumb,
    ::-webkit-scrollbar-thumb:window-inactive,
    ::-webkit-scrollbar-thumb:hover {
        background-clip: content-box;
        border: 4px solid transparent;
    }

::-webkit-scrollbar-corner {
    background: var(--mat-app-background-color);
}

::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
}

.report-queue-list,
.question-queue-list {
    max-height: 8rem;
    min-height: 2rem;
    flex-grow: 1;
    overflow: auto;
}

.queue-list .fa-microphone {
    color: limegreen;
}

.queue-header select,
.queue-header button,
.queue-header div {
    margin-left: 10px;
}

.agenda-timer .timer-label.highlight-threshold {
    color: red;
}

#resize {
    z-index: 1;
    cursor: n-resize;
}

#btnQuestionQueue:disabled,
#btnReportQueue:disabled {
    background-color: red;
    border-color: red;
    color: white;
}