﻿:root {
    --color-1: #006600;
    --border-1: 1px solid #006600;
    --color-2: #00aa00;
    --border-2: 1px solid #00aa00;
    --border-radius-1: 4px;
}

body {
    padding-top: 20px;
    padding-bottom: 40px;
    cursor: default;
    min-height: calc(100vh);
    position: relative;
    /*font-family: Georgia, 'Times New Roman', Times, serif;*/
    background: url('Images/bg.jpg') repeat;
    color: black;
    overflow-y: scroll;
    /*background-attachment: fixed;*/

    font-family: 'Open Sans', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
    /*font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;*/
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.header {
    position: absolute;
    top: -70px;
    left: -440px;
    width: 712px;
    height: 712px;
    opacity: 0.6; /* Прозрачность */
    z-index: -1; /* Чтобы background был за content */
    background: url('Images/mksf.png');
}

.container {
    min-width: 992px !important;
}

.headname {
    /*position: absolute;*/
    opacity: 0.84; /* Прозрачность */
    /*z-index: -1;  Чтобы background был за content */
    background: url('Images/headname.png') no-repeat center;
    background-size: contain;
}

a {
    text-decoration: none !important;
}
    /* убрать подчеркивание ссылок */
    a:link {
        color: var(--color-1);
    }
    /* непосещенная ссылка */
    a:visited {
        color: var(--color-1);
    }
    /* посещенная ссылка */
    a:hover {
        color: var(--color-2);
    }
    /* ссылка, над которой находится курсор мыши */
    a:active {
        color: var(--color-2);
    }
/* ссылка в момент щелчка мышью */

.btn {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    font-weight: 500;
}

.btn:focus {
    outline: 0 !important;
    box-shadow: none;
    /*color: var(--color-1);*/
}

.btn:active {
    outline: 0 !important;
    box-shadow: none;
    /*color: var(--color-2);*/
}

.btn:hover {
    outline: 0 !important;
    box-shadow: none;
    /*color: var(--color-2);*/
}

.btn-menu {
    color: var(--color-1);
    border-color: var(--color-1);
    width: 100%;
    padding: 8px;
    text-align: center;
}

.a-menu {
    background-color: #e8e8e8 !important;
}

.dropdown-item a {
    color: var(--color-1) !important;
}

.dropdown-menu {
    min-width: 100%;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}

.dropdown-item {
    width: 100%;
    margin: 0px !important;
    padding: 0px !important;
    border: none;
    text-align: center;
}

/*Оформление рамок, border-color брать в цвет фона*/

.csq44 {
    width: 44px;
    height: 44px;
    padding: 6px;
    text-align: center;
    vertical-align: middle;
    font-size: 22px;
    border-color: var(--color-1);
}

.mh80 {
    min-height: 80px;
}

.mh128 {
    min-height: 128px;
}

.newimg {
    object-fit: cover;
    width: 100%;
    max-height: 336px;
    margin-top: 6px;
}

.newtheme {
    font-size: 34px;
    font-weight: bold;
}

.snpRef {
    font-size: 34px;
    font-weight: bold;
}

.selectionText {
    font-size: 24px;
    font-weight: bold;
}

.f14 {
    font-size: 14px;
}

.f16 {
    font-size: 16px;
}

.f18 {
    font-size: 18px;
}

.tableApt tr, th, td {
    border: 1px dotted #ddd;
    vertical-align: middle !important;
    text-align: center !important;
}

.tableAptTH {
    font-size: 13px;
    font-weight: bolder;
}

.trApt {
    font-size: 12px;
    font-weight: bolder;
}

.truncate-new-theme {
    margin-top: 12px;
    padding: 0;
    line-height: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4em;
    max-height: 2.8em;
    text-align: center;
    /*color: #006600;*/
}

.truncate-new {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 10;
    -webkit-box-orient: vertical;
    line-height: 1.3em;
    height: 13em;
    text-align: justify;
}

.truncate-new:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(180deg, transparent, #fff 30%);
}

.photoimg {
    object-fit: contain;
    max-width: 100%;
    max-height: 336px;
    border: 0px solid #888;
    border-radius: 6px;
}

.rblist {
    object-fit: contain;
    width: 96px;
    height: 96px;
    border: 0px solid #888;
    text-align: center;
    vertical-align: middle;
}

.doclbl {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-height: 1.3em;
    height: 3.9em;
    text-align: center;
    font-size: 10px;
    margin: -12px 0px;
}

.refinfoimg {
    object-fit: contain;
    max-width: 48px;
    max-height: 48px;
    border: 0px solid #888;
}

.rbimg {
    object-fit: contain;
    max-width: 48px;
    max-height: 48px;
    border: 0px solid #888;
    margin: 24px 0px;
}

.rbimghead {
    object-fit: contain;
    max-width: 72px;
    max-height: 72px;
    border: 0px solid #888;
    margin: 12px 0px;
}

.flex-center {
    display: flex;
    align-items: center;
}

.tbl_hrgray tr:hover {
    background: #dddddd; /* Цвет фона при наведении */
    color: #000; /* Цвет текста при наведении */
}

/*Цвет 0 (белый, без прозрачности)*/

.c0 {
    color: rgba(255, 255, 255, 1) !important;
}

.bg0 {
    background: rgba(255, 255, 255, 1);
}

/*Цвет 1*/
.c1 {
    color: #006600;
}

.bc1 {
    border-color: #006600;
}

.bg1 {
    background-color: #006600;
}

.b1 {
    border: 3px double #006600;
}

.fr1 {
    border-radius: var(--border-radius-1);
    border: var(--border-1);
}

.hr1 {
    border-radius: 0px;
    border-top: 1px solid #006600;
}

/*Цвет 2*/
.c2 {
    color: #888888;
}

.bc2 {
    border-color: #888888;
}

.bg2 {
    background-color: #888888;
}

.b2 {
    border: 3px double #888888;
}

.fr2 {
    border-radius: 0px;
    border: 3px double #888888;
}

/*Цвет 3*/
.c3 {
    color: #dddddd;
}

.bc3 {
    border-color: #dddddd;
}

.bg3 {
    background-color: #dddddd;
}

.b3 {
    border: 3px double #dddddd; /*#e4e4e4;*/
}

/*Цвет 4*/
.c4 {
    color: #f0f0f0;
}

.bc4 {
    border-color: #f0f0f0;
}

.bg4 {
    background-color: #f0f0f0;
}

.b4 {
    border: 3px double #f0f0f0; /*#f0f0f0;*/
}

.fr4 {
    border-radius: 0px;
    border: 3px double #f0f0f0; /*#f0f0f0;*/
}

.bg5 {
    background-color: #f8f8f8;
}

.bgred {
    background: rgba(255, 0, 0, 0.2);
}

.bgylw {
    background: rgba(255, 255, 0, 0.2);
}

.bggrn {
    background: rgba(0, 255, 0, 0.2);
}

.bgblu {
    background: rgba(0, 0, 255, 0.2);
}



.btn-menu-list {
    border: none;
    padding: 4px;
    text-align: center;
    background-color: white;
}


.no-border {
    border: none;
    padding: 4px;
    text-align: center;
}

.dropdown-item {
    color: var(--color-2);
    border-color: var(--color-2);
    width: 100%;
    padding: 4px;
    text-align: center;
    list-style: none;
}

.body-content {
    /*background: #ffffff;*/
    background: rgba(255, 255, 255, 0.9); 
    /*background: rgba(0, 0, 0, 0.4);*/
    min-height: calc(100vh - 200px);
    padding: 10px 20px;
}



.not-active {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
    color: black;
}

/*a:link {color:#000080;} /* непосещенная ссылка */
    /*a:visited {color:#000080;} /* посещенная ссылка */
    /*a:hover {text-decoration: none; color:#0000c0;} /* ссылка, над которой находится курсор мыши */
    /*a:active {color:#4040ff;} /* ссылка в момент щелчка мышью */
    /*
.body-content {
    background: #c0c0c0;
    background: rgba(192, 192, 192, 0.7);
    min-height: calc(100vh - 200px);
    border-radius: 20px;
    padding: 10px 20px;
}
*/
    footer {
    color: #888;
    height: 40px;
    width: 100%;
    position: absolute;
    bottom: 0;
    display: table;
}

.copyright {
    display: table-cell;
    vertical-align: middle;
    text-align: right;
    width: 100%;
    padding-right: 62px;
}

.clear {
    clear: both;
}

.maxwidth {
    width: 100%;
}

.maxheight {
    height: 100%;
}

.maxsize {
    width: 100%;
    height: 100%;
}

.autowidth {
    width: auto;
}

.w48 {
    width: 40px;
}

.h44 {
    height: 44px;
}

.fcm10 {
    margin: 10px 0px;
}

.fcm12 {
    margin: 12px 0px;
}

.fcp12 {
    padding: 12px 0px;
}

.plr2 {
    padding: 0px 2px;
}

.p12 {
    padding: 12px;
}

.m12 {
    margin: 12px;
}

.csqsm {
    width: 22px;
    height: 22px;
    padding: 1px;
    text-align: center;
    vertical-align: middle;
    font-size: 12px;
}

.csq34 {
    width: 34px;
    height: 34px;
    padding: 6px;
    text-align: center;
    vertical-align: middle;
    font-size: 16px;
}

.csq {
    width: 28px;
    height: 28px;
    padding: 3px;
    text-align: center;
    vertical-align: middle;
}

.csqbig {
    width: 49px;
    height: 49px;
    padding: 8px;
    text-align: center;
    vertical-align: middle;
    font-size: 24px;
}

.ct {
    min-height: 34px;
    font-size: 16px;
    padding-top: 8px;
    font-weight: bold;
}

.ch {
    height: 28px;
    padding: 0px 6px;
}

.nm {
    margin: 0px !important;
}

.np {
    padding: 0px !important;
}

.npl {
    padding-left: 0px;
}

.td1 {
    padding: 6px 8px;
}

.big {
    font-size: 24px;
}

.right {
    text-align: right;
}

.center {
    text-align: center;
}

.left {
    text-align: left !important;
}

.red {
    color: red;
}

.yellow {
    color: yellow;
}

.darkred {
    color: darkred;
}

.blue {
    color: blue !important;
}

.lblue {
    color: lightskyblue !important;
}

.black {
    color: black !important;
}


.white {
    color: white;
}

.gray {
    color: gray;
}

.green {
    color: green;
}

.purple {
    color: purple;
}

.orange {
    color: orange;
}

.brown {
    color: brown;
}

.lime {
    color: lime;
}

.bd {
    font-weight: bold;
}

.pd0 {
    padding: 0px;
}

.pd2 {
    padding: 2px;
}

.pd3 {
    padding: 3px;
}

.pd4 {
    padding: 4px;
}

.pd8 {
    padding: 8px;
}

.pd10 {
    padding: 10px;
}

.pdtb12 {
    padding-top: 12px;
    padding-bottom: 12px;
}

.pdt12 {
    padding-top: 12px;
}

.pdw4 {
    padding: 0px 4px;
}

.pdh4w8 {
    padding: 4px 8px;
}

.score_big {
    font-size: 48px;
    padding-top: 30%;
}

.loading {
    background: url('loading.gif') center center no-repeat;
    background-color: #000;
    opacity: 0.4;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999999;
}

.mg4 {
    margin: 40px;
}

/*
ol {
 убираем стандартную нумерацию 
list-style: none; 
 Идентифицируем счетчик и даем ему имя li. Значение счетчика не указано - по умолчанию оно равно 0 *
counter-reset: li; 
}
li:before {
 Определяем элемент, который будет нумероваться — li. Псевдоэлемент before указывает, что содержимое, вставляемое при помощи свойства content, будет располагаться перед пунктами списка. Здесь же устанавливается значение приращения счетчика (по умолчанию равно 1). 
counter-increment: li; 
 С помощью свойства content выводится номер пункта списка. counters() означает, что генерируемый текст представляет собой значения всех счетчиков с таким именем. Точка в кавычках добавляет разделяющую точку между цифрами, а точка с пробелом добавляется перед содержимым каждого пункта списка 
content: counters(li,".") ". "; 
}
*/

.textfont {
    font-size: 16px;
    line-height: 1.5em;
}

.textimg {
    border: 3px double #888888;
    max-width: 80%;
    margin: 10px 0;
}

.no-resize {
    resize: none;
}

.btn-danger.csq,
.btn-danger.csqbig,
.btn-danger.csqsm {
    color: white !important;
}

.gv_table_head {
    padding: 8px;
    text-align: center;
    vertical-align: middle;
    font-size: 18px;
    font-weight: bold;
}

.gv_table {
    padding: 8px;
    text-align: center;
    vertical-align: middle;
    font-size: 14px;
    font-weight: bold;
}

.gv_ps_head {
    padding: 6px;
    text-align: center;
    vertical-align: middle;
    font-size: 14px;
    font-weight: bold;
}

.gv_ps {
    padding: 2px;
    text-align: center;
    vertical-align: middle;
}

.playernote {
    font-size: 11px;
    font-weight: bold;
}

.btn_lb {
    background: none;
    padding: 4px;
    border: 0;
    color: darkgreen;
}



.tabLine {
    position: relative;
    width: calc(100% + 40px);
    border-bottom: 1px solid #006600;
    top: -5px;
    padding: 2px 0px;
    left: -20px;
}

.tabSingle {
    background-color: #dddddd;
    border: 1px solid #006600;
    padding: 4px 10px;
    text-align: center;
}

.tabSingleSelected {
    background-color: #ffffff;
    color: #006600;
    border: 1px solid #006600;
    border-bottom: 1px solid #ffffff;
    padding: 4px 10px;
    text-align: center;
    z-index: 2;
}

.tabSelected {
    position: relative;
    background-color: white;
    border: 1px solid #006600;
    border-bottom: 2px solid #ffffff;
    padding: 4px 10px;
    left: 20px;
}

.tblRoster {
    width: 100%;
    text-align: center;
    vertical-align: middle;
    font-size: 12px;
}

.modal {
    background-color: rgba(0, 0, 0, .4);
}



.accordion {
    background-color: #ccc;
    color: #333;
    font-weight: bold;
    width: 100%;
    text-align: left;
    outline: none;
    padding: 10px 15px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    font-size: 14px;
    margin-top: 2px;
}

.active, .accordion:hover {
    background-color: rgba(0, 192, 0, .8);
    cursor: pointer;
    color: #fff;
}

.active {
    cursor: default !important;
}

.accordion:after {
    content: '\02795';
    font-size: 12px;
    color: #fff;
    float: right;
    margin-left: 5px;
    margin-top: 2px;
}

.active:after {
    content: "";
}

.accordion-panel {
    border: 1px solid;
    border-color: rgba(0, 192, 0, .8);
    background-color: #fafafa;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    margin-top: -10px;
    padding: 10px 15px;
    margin-bottom: 10px;
}
