:root {
    --main: #FF313EFF;
    --light: #F9F9F9;
    --primary: #3E97FF;
    --secondary: #DBDFE9;
    --success: #50cd89;
    --info: #7239ea;
    --warning: #ffc700;
    --danger: #f1416c;
    --dark: #071437;
    --primary-active: #2884Ef;
    --secondary-active: #B5B5C3;
    --light-active: #F1F1F2;
    --success-active: #47be7d;
    --info-active: #5014d0;
    --warning-active: #f1bc00;
    --danger-active: #d9214e;
    --dark-active: #050f29;
    --primary-light: #f1faff;
    --secondary-light: #F9F9F9;
    --success-light: #e8fff3;
    --info-light: #f8f5ff;
    --warning-light: #fff8dd;
    --danger-light: #fff5f8;
    --dark-light: #F1F1F2;
}

* {
    outline: none;
    box-sizing: border-box;
}

body {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    margin: 0;
    padding: 0;
    min-height: 100%;
    box-sizing: border-box;
    font-size: 14px;
    line-height: 1.3;
    font-family: Montserrat, sans-serif;
}

*:before, *:after {
    box-sizing: border-box
}

@media (prefers-reduced-motion: no-preference) {
    :root {
        scroll-behavior: smooth
    }
}

html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd {
    margin-top: 0;
}

p {
    margin-bottom: 8px;
}

ol, ul, menu, summary {
    list-style: none
}

ul, ol, fieldset {
    margin: 0;
    padding: 0
}

address {
    font-style: normal
}

picture {
    display: block
}

img, video, iframe {
    max-width: 100%;
    /* display: block*/
}

iframe, fieldset {
    border: none
}

img {
    height: auto;
    max-width: 100%;
}

table {
    border-collapse: collapse
}

b, strong {
    font-weight: bold
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

label {
    cursor: pointer;
    font-weight: 500;
    margin-bottom: 4px;
    display: block;
}

button {
    border-radius: 0
}

input, button, select, optgroup, textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    outline: none
}

button, select {
    text-transform: none
}

[role=button] {
    cursor: pointer
}

select {
    word-wrap: normal
}

select:disabled {
    opacity: 1
}

[list]::-webkit-calendar-picker-indicator {
    display: none
}

button, [type=button], [type=reset], [type=submit] {
    -webkit-appearance: button
}

button:not(:disabled), [type=button]:not(:disabled), [type=reset]:not(:disabled), [type=submit]:not(:disabled) {
    cursor: pointer
}

::-moz-focus-inner {
    padding: 0;
    border-style: none
}

textarea {
    resize: vertical
}

::placeholder {
    opacity: 1
}

button *, a * {
    pointer-events: none;
}

.d-none {
    display: none;
}

.relative {
    position: relative;
}

.pointer-none * {
    pointer-events: none !important;
    touch-action: none !important;
}

.d-flex {
    display: flex;
}

.justify-content-between {
    justify-content: space-between;
}

.flex-wrap {
    flex-wrap: wrap;
}

.modalTmp {
    visibility: hidden;
}

.w-100 {
    width: 100%;
}

.text-center {
    text-align: center;
}

.text-end {
    text-align: right;
}

.loaderBlock {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.80);
    z-index: 55;
}

.loaderBlock:after {
    content: "";
    width: 20px;
    height: 20px;
    border: 3px solid;
    position: absolute;
    border-radius: 50%;
    border-top-color: transparent;
    animation: rotating 1s linear infinite
}

.loaderBlock * {
    visibility: hidden
}

.btn-loading:after {
    content: "";
    width: 20px;
    height: 20px;
    border: 3px solid;
    position: absolute;
    border-radius: 50%;
    border-top-color: transparent;
    animation: rotating 1s linear infinite
}

.btn-loading * {
    visibility: hidden
}

@keyframes rotating {
    to {
        transform: rotate(360deg)
    }
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    padding: 11px 14px;
    border-radius: 7px;
    border: 1px solid #DBDFE9;
    box-shadow: none;
    width: 100%;
    color: inherit;
    transition: all ease 0.2s;
    font-size: 13px;
}

.form-control:hover {
    border: 1px solid #b9bdc6;
}

.form-control:focus {
    border: 1px solid #818488;
}

.form-control.no-border {
    border: none
}

.form-select {
    padding: 11px 14px;
    border-radius: 7px;
    border: 1px solid #DBDFE9;
    box-shadow: none;
    width: 100%;
    color: inherit;
    transition: all ease 0.2s;
    font-size: 13px;
}

.form-select:hover {
    border: 1px solid #b9bdc6;
}

.form-select:focus {
    border: 1px solid #818488;
}

.is-invalid {
    border-color: red;
}

.error-desc {
    color: red;
}

.bg-transparent {
    background-color: transparent !important;
}

.modal-show {
    animation: var(--f-transition-duration, .2s) ease .1s both f-zoomInUp
}

.modal-hide {
    animation: var(--f-transition-duration, .2s) ease both f-zoomOutDown
}

@media (max-width: 479.98px) {


    .modal .fancybox__content {
        align-self: stretch
    }

    .modal .fancybox__slide {
        padding: 24px 0 0
    }

    .modal .fancybox__slide:after {
        display: none
    }

    .modal__content {
        border-radius: 24px;
        width: 100%
    }

    .modal__footer > * {
        flex-grow: 1
    }

    .modal__close-mobile.btn {
        position: absolute;
        top: 8px;
        right: 8px
    }

    .modal__close-desktop.btn {
        display: none
    }
}

@media (min-width: 480px) {

    .modal .fancybox__slide {
        padding-left: 56px;
        padding-right: 56px
    }

    .modal__content {
        border-radius: 24px
    }

    .modal__legal {
        margin-top: 16px
    }

    .modal__footer {
        justify-content: flex-end
    }

    .modal__close-desktop.btn {
        position: fixed;
        top: 12px;
        right: 12px
    }

    .modal__close-mobile.btn {
        display: none
    }
}

@keyframes modalMobileShow {
    0% {
        transform: translate3d(0, 100%, 0)
    }

    to {
        transform: translateZ(0)
    }
}

@keyframes modalMobileHide {
    to {
        transform: translate3d(0, 100%, 0)
    }
}

.containerTabs {
    position: relative;
    z-index: 4;
}

.containerTabs .navTabs {
    display: flex;
    margin: 0;
    list-style-type: none;
    gap: 3px;
    flex-wrap: wrap;
}

.containerTabs .navTabs > li {
    margin-bottom: -1px;
}

.containerTabs .navTabs > li > a {
    padding: 12px 20px;
    display: block;
    font-style: normal;
    line-height: normal;
    border: none;
    background: #eaeaea;
    border-radius: 10px 10px 0 0;
    transition: all ease 0.2s;
    font-weight: bold;
}

.containerTabs .navTabs > li > a:hover {
    color: var(--primary);
}

.containerTabs .navTabs > li.active > a,
.containerTabs .navTabs > li.active > a:hover,
.containerTabs .navTabs > li.active > a:focus {
    cursor: default;
    background: var(--primary);
    color: #fff;
}

.containerTabs .tabContent {
    width: 100%;
}

.containerTabs .tabContent > .tabPane {
    width: 100%;
    display: none;
}

.containerTabs .tabContent > .tabPane.active {
    display: block;
}

.ag-header-cell-label .ag-header-icon.ag-sort-order {
    display: none;
}

.card {
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    color: #000;
}

.btn {
    padding: 10px 16px;
    background: #e5e5e5;
    color: #000;
    border: none;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    justify-content: center;
    transition: all ease 0.2s;
    font-size: 12px;
}
.btn *{
    pointer-events: none;
}
.btn i {
    font-size: 16px;
}
.btn-vertical{
    flex-direction: column;
}
.btn-sm {
    padding: 8px 14px;
    font-size: 12px;
}

.btn-icon {
    padding: 7px;

    justify-content: center;
}

.btn-icon i {
    font-size: 12px !important;
}

.btn:hover {
    background: #2b2b2b;
    color: #fff;
}

.btn-dark {
    background: #474761;
    color: #fff;
}

.btn-dark:hover {
    background: #5c5c7a;
}

.btn-success {
    background: var(--success);
    color: #fff;
}

.btn-success:hover {
    background: var(--success-active);
}

.btn-light-info {
    background: var(--info-light);
    color: var(--info);
}

.btn-light-info:hover {
    background: var(--info-active);
    color: #fff;
}

.btn-info {
    background: var(--info);
    color: #fff;
}

.btn-info:hover {
    background: var(--info-active);
}


.btn-active-color-danger:hover {
    background: var(--danger);
    color: #fff;
}

.btn-light-danger {
    background: var(--danger-light);
    color: var(--danger);
}

.btn-light-danger:hover {
    background: var(--danger-active);
    color: #fff;
}
.btn-danger {
    color:#fff;
    background: var(--danger);
}
.btn-danger:hover {
    background: var(--danger-active);
    color: #fff;
}
/*
.container {
    max-width: min(1116px, 100% - 24px);
    margin-left: auto;
    margin-right: auto
}
*/
.row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    flex-wrap: wrap;
    gap: 30px;
}

hr, .separator {
    border-bottom: 1px solid #ccc;
    display: block;
    margin: 25px 0;
}


.containerPlayerTabs .navTabs li > a {
    border-radius: 8px;
    font-weight: bold;
}

.containerPlayerTabs .navTabs li > a:hover {
    color: #921dff;
    background: #f2dcff;
}

.containerPlayerTabs .navTabs > li.active > a, .containerPlayerTabs .navTabs > li.active > a:hover, .containerPlayerTabs .navTabs > li.active > a:focus {
    color: #921dff;
    background: #f2dcff;

}

.containerPlayerTabs .tabPane {
    padding-top: 15px;
}

.containerPlayerTabs h2 {
    margin-bottom: 5px;
}

.radioBlock {
    position: relative;
    padding-left: 22px;

}

.radioBlock * {
    cursor: pointer;
}

.radioBlock input {
    display: none;
}

.radioBlock label {
    margin-bottom: 0;
}

.radioBlock label:after {
    background: #fff;
    box-shadow: 0 0 0 1px #ccc;
    border-radius: 50%;
    position: absolute;
    content: "";
    left: 1px;
    top: 1px;
    width: 16px;
    height: 16px;
    padding: 3px;
    transition: all ease 0.15s;
}

.radioBlock input[type="radio"]:checked ~ label:after {
    box-shadow: 0 0 0 1px var(--main);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
    background-color: var(--main);
}

.radioBlock.onlyBox {
    padding-left: 0;
}

.radioBlock.onlyBox label:after {
    position: relative;
    left: 0;
    top: 0;
    display: inline-flex;
}


.container {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto
}

@media (min-width: 576px) {
    .container {
        max-width: 540px
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1240px
    }
}

.badge {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
    color: #fff;
    background-color: #6c757d;
}
.badge-primary {
    background-color: var(--primary);
}
.badge-light-primary {
    color: #212529;
    background-color: var(--primary-light);
}
.badge-secondary {
    background-color: var(--secondary);
}
.badge-light-secondary {
    background-color: var(--secondary-active);
}
.badge-success {
    background-color: var(--success);
}
.badge-light-success {
    background-color: var(--secondary-active);
}
.badge-danger {
    background-color: var(--danger);
}
.badge-light-danger {
    background-color: var(--danger-active);
}
.rounded-pill {
    border-radius: 50rem;
}

.badge-light {
    color: #212529;
    background-color: #f8f9fa;
}

/* Публичная «Участники»: длинное ФИО или клуб на телефоне переносится на вторую строку, а не обрезается многоточием */
.containerPlayerTabs .ksy-grid__body .ksy-grid__cell-txt { white-space: normal; overflow-wrap: anywhere; line-height: 1.35; }
