:root {
    --bg-color: #14141c;
    --text-color: #fff;
    --primary-color: #3b55e6;
    --secondary-color: #1e1e2d;
    --secondary-hover-color: #1b1b29;
    --menu-hover-color: #15151f;
    --button-red: #eb5547;
    --button-blue: #3b55e6;
    --input-bg-color: #333343;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
}

body, html {
    background-color: var(--bg-color);
}

* {
    color: var(--text-color);
}

h1, h2, h3, h4, h5 {
    color: var(--text-color);
}
 
.dialog-form *, select, select option {
    color: var(--secondary-color);
}

select, input {
    border: 1px solid var(--bg-color);
    border-radius: 4px;
    margin-bottom: 0;
    background: var(--input-bg-color);
    color: var(--text-color);
    padding: 6px 15px;
}

.main_footer .copyright {
    background-color: var(--bg-color) !important;
}

.h-center {
    text-align: center;
    margin: 20px 0 40px;
}

.tpk-content * {
    font-size: 16px;
}

.tpk-content a {
    color: var(--text-color);
}

.tpk-content p a {
    color: var(--primary-color);
}

.tpk-content a.lnk {
    color: var(--text-color) !important; 
}

h1 {font-size: 55px !important; margin: 15px 0 30px;}
h2 {font-size: 38px !important; margin: 10px 0 20px;}
h3 {font-size: 24px !important;}

.division h1, .division h2 {
    text-align: center;
    margin: 20px 0 40px;
}

.tournament h1 {
    margin: 20px 0 30px;
}

.tournament h2.t-name {
    margin: 20px 0 80px;
    font-weight: normal;
}

.division h3 {
    text-align: center;
    margin: 40px 0 20px;
}

.content-container {
    padding-top: 0;
    border: 0;
    border-radius: 0;
    padding-left: 0;
}

.rufc-menu {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 1000;
    margin: 40px auto;
    max-width: 1500px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 8px;
    padding: 8px 8px 8px 16px;
    background-color: var(--secondary-color);
    border: 1px solid #323232;
    user-select: none;
}

.rufc-menu .rufc-logo {
    display: flex;
    align-items: center;
    user-select: none;
    font-family: Montserrat;
    font-weight: bold;
    font-size: 26px;
    background: url(../img/other/rufc_logo.webp) no-repeat center left;
    padding-left: 50px;
    width: 250px;
    height: 42px;
    background-size: contain;
}

.rufc-menu ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
}

.rufc-menu ul li {
    text-decoration: none;
    font-size: 16px;
    line-height: 20px;
    color: var(--text-color);
    display: flex;
    align-items: center;    
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    gap: 4px;
    margin: 0 5px;
    position: relative;
}

.rufc-menu ul li a {
    display: block;
    padding: 10px 16px;
}

.rufc-menu ul li:hover {
    border-radius: 8px;
    background: var(--menu-hover-color);
}

.rufc-menu ul li.active {
    border-radius: 8px;
    background: var(--menu-hover-color);
}

.rufc-menu ul li .submenu {
    position: absolute;
    display: none;
    top: 100%;
    left: 0;
    right: 0;
    padding-top: 25px;
}

.rufc-menu ul li:hover .submenu {
    display: block;
}

.rufc-menu ul li .submenu .menu-items {
    display: flex;
    padding: 15px 20px;
    background: #1e1e2d;
    border: 1px solid #323232;
    width: max-content;
    justify-content: space-between;
    border-radius: 8px;
}

.rufc-menu ul li .submenu .menu-items a {
    display: flex;
    user-select: none;
    gap: 4px;
    margin: 0 5px;
}

.rufc-menu ul li .submenu .menu-items a.active {
    border-radius: 8px;
    background: var(--menu-hover-color);
}

.rufc-menu ul .submenu .menu-items a:hover {
    border-radius: 8px;
    background: var(--menu-hover-color);
}

.rufc-menu .rufc-buttons {
    display: flex;
    gap: 10px;
}

.rufc-menu .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--text-color);
    padding: 8px 16px;
    margin-bottom: 0;
    font-size: 18px;
    text-transform: uppercase;
}

.rufc-menu .btn.btn-reg {
    background: var(--button-red);
}

.rufc-menu .btn.btn-profile {
    background: var(--button-blue);
}

.rufc-menu .btn.steam-login {
    background: var(--button-blue);
}

.rufc-menu .btn.btn-site {
    background: transparent;
    border: 2px solid var(--button-blue);
    font-size: 16px;
}

.box {
    background-color: var(--secondary-color);
}

.item {
    background-color: var(--secondary-color);
    border-bottom: 1px solid #2b2b40;
    position: relative;
}

.box .item:last-child {
    border-bottom: none;
}

.item:hover {
    background-color: var(--secondary-hover-color);
    z-index: 11;
}

.wpd-page-title, .wpd_header_builder {
    display: none;
}

.tpk-content {
    display: block;
    width: 100%;
    padding-top: 150px;
    min-height: 650px;
}

.tufcs-val {
    display: flex;
    align-items: center;
}

span.tufcs-val {
    display: inline-block;
    position: relative;
    padding-right: 25px;
}

.tufcs-val i {
    margin-left: 10px;
}

span.tufcs-val:after {
    content: '';
    background: url(../img/icons/tufc_stars.svg) no-repeat center;
    width: 16px;
    height: 16px;
    display: inline-block;
    position: absolute;
    right: 4px;
    top: calc(50% - 8px);
}

span.tufcs-val.m:after {
    background: url(../img/icons/tufc_stars_24.svg) no-repeat center;
    width: 24px;
    height: 24px;
    right: -2px;
    top: calc(50% - 12px);
}

span.tufcs-val.l:after {
    background: url(../img/icons/tufc_stars_32.svg) no-repeat center;
    width: 32px;
    height: 32px;
    right: -8px;
    top: calc(50% - 16px);
}

.tufcs, .tufcs-val i {
    background: url(../img/icons/tufc_stars.svg) no-repeat center;
    width: 16px; 
    height: 16px;
    display: inline-block;
}

.tufcs.m, .tufcs-val.m i {
    background: url(../img/icons/tufc_stars_24.svg) no-repeat center;
    width: 24px;
    height: 24px;
}

.tufcs.l, .tufcs-val.l i {
    background: url(../img/icons/tufc_stars_32.svg) no-repeat center;
    width: 32px;
    height: 32px;
} 

.tufcs-val.m span {
    font-size: 20px;
}

.tufcs-val.l span {
    font-size: 24px;
}

.event {
    --primary-color: #3699ff;
    --secondary-color: #323248;
    --bg-active-color: #212e48;
}

.event-info {
    display: flex;
    margin-bottom: 50px;
    align-items: center;
    justify-content: space-between;
}

.rating {
    margin: 10px 0 20px;
}

.rating .r-item {
    display: flex;
    align-items: center;
    padding: 10px 20px;
}

.rating .r-item .place {
    margin-right: 20px;
    width: 42px;
    text-align: center;
    font-size: 26px;
}

.d-champ {
    flex: 1;
    display: flex;
    align-items: center;
    padding-left: 15px;
}

.d-champ .place-1 {
    margin-right: 10px;
}

.d-champ:hover {
    background-color: #171723;
    border-radius: 5px;
}

.rating .r-item .player, .d-champ .player {
    display: flex;
    align-items: center;
}

.r-item .ava, .d-champ .ava {
    margin-right: 15px;
}

.r-item .ava img, .d-champ .ava img {
    width: 32px;
    height: 32px;
    border-radius: 5px;
}

.rating .r-item .record {
    margin-left: 30px;
    flex: 1;
}

.rating .r-item .change {
    text-align: right;
}

.r-item .change i {
    width: 16px;
    height: 16px;
    display: block;
}

.r-item .change i.ch-up {
    background: url(../img/icons/rufc_arrow_up.svg) no-repeat center;
}

.r-item .change i.ch-down {
    background: url(../img/icons/rufc_arrow_down.svg) no-repeat center;
}

.division-list {    
    border-radius: 5px;
    overflow: hidden;
}

.d-item {
    display: flex;
    padding: 15px 20px;
}

.d-item a {
    display: block;
    flex: 1;
}

.d-item .d-name {
    margin-right: 30px;
}

.division-list .d-item .d-name {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 20px;
}

.d-item .d-dino {
    color: #979797;
}

.d-name span {
    background: var(--primary-color);;
    padding: 5px 20px;
    margin-right: 20px;
    border-radius: 5px;
}

.d-members {
    background: url(../img/icons/rufc_fighters.svg) no-repeat 10px center;
    padding-left: 35px;
    margin-left: 50px;
    display: flex;
    align-items: center;
}

.fights.box {
    border-radius: 5px;
}

.f-item {
    display: flex;
    padding: 20px 30px;
    /* margin: 5px 0; */
    border-radius: 5px;
}

.f-item.has-edit {
    padding: 40px 30px;
}

.f-item.no-contest {
    opacity: 0.2;
}

.f-item.champ-item {
    border: 2px dashed #FF9800;
}

.f-item .left-side {
    width: calc(50% - 150px);
    display: flex;
} 

.f-item .middle {
    width: 330px;
    justify-content: center;
    align-items: center;
} 

.f-item .right-side {
    width: calc(50% - 150px);
    display: flex;
} 

.fighter-ava {
    width: 128px;
}

.fighter-info {
    flex: 1;
}

.fighter-place {
    width: 50px;
    font-weight: 400;
}

.f-item .fighter-place {
    font-size: 20px;
    margin-top: 5px;
}

.left-side .fighter-place {
    text-align: right;
}

.fighter-info .nickname {
    font-size: 22px;
}

.fighter-info .fighter-clan a {
    font-size: 14px;
    color: #fff;
    opacity: 0.75;
    margin-top: 5px;
    display: block;
}

.fighter-info .fighter-record {
    font-weight: bold;
    font-size: 18px;
    margin-top: 10px;
}

.right-side .fighter-info {
    text-align: right;
}

.right-side .fighter-ava {
    text-align: right;
}

.fighter-ava .player .ava img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
}

.f-item.champ-item .player .ava img {
    border: 2px solid #FF9800;
}

.middle .division-box {
    display: flex;
    align-items: center;
}

.division-box .fighter-place:last-child {
    text-align: right;
}

.middle .division {
    text-transform: uppercase;
    font-size: 14px;
    text-align: center;
    background: #15151f;
    margin: 0 20px;
    padding: 5px 0;
    border-radius: 5px;
    display: block;
    flex: 1;
}

.champ-item .middle .division {
    background: #FF9800;
}

.middle .score {
    text-align: center;
    margin-top: 20px;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.middle .revenge {
    text-align: center;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: #FF9800;
    padding: 2px 0;
    border-radius: 3px;
    margin: 20px auto 0;
    width: 105px;
}

.versus {
    font-size: 28px; 
    margin: 0 15px;
}

.score-result {
    padding: 4px 8px;
    border-radius: 4px; 
    width: 135px;
}

.score-result.win {background: #8BC34A;}
.score-result.lose {background: #ff5722;}
.score-result.draw {background: #9E9E9E;}

.place-1 {
    background: url(../img/icons/rufc_champion.svg) no-repeat center;
    font-size: 0 !important;
    width: 42px;
    height: 32px;
    display: block;
}

#fights .place-1, #div-rating .place-1 {
    font-size: 20px !important;
    background: none;
}
.f-item.champ-item .place-1, #div-rating .item.champ .place-1 {
    background: url(../img/icons/rufc_champion.svg) no-repeat center;
    font-size: 0 !important;
}

.requests .req-item {
    display: flex;
    padding: 10px 15px;
}

.req-item.debut:before {
    content: 'ДЕБЮТ';
    right: 100%;
    top: 0;
    display: block;
    position: absolute;
    padding: 11px 15px;
    background: #384485;
    color: #fff;
    font-size: 14px;
}

.requests .req-item .req-division {
    width: 150px;
    opacity: 0.85;
    margin-right: 20px;
}

.req-item .player {
    margin-right: 15px;
}

.req-item .dino-points {    
    margin-left: 20px;
    opacity: 0.35;
    font-size: 14px;
}

.rule-info {
    border-radius: 5px;
    padding: 20px 25px;
    margin: 10px 0 20px;
    display: block;
}

.player-card h2, .player-card .img, .player-card .record, .player-card .player-steam {
    text-align: center;
}

.player-card .player-steam-id {
    opacity: 0.5;
}

.player-card h2 {
    margin: 70px 0 30px;
}

.player-card .img {
    margin-bottom: 30px;
}

.player-card .img img {
    border-radius: 5px;
    overflow: hidden;
}

.player-card .record {
    font-size: 32px;
    margin-bottom: 30px;
}

.player-details {
    display: flex;
    justify-content: space-between;
    margin: 50px 0 60px;
    gap: 10px;
    overflow: hidden;
}

.player-details .col {
    text-align: center;
    flex: 1;
    padding: 20px 0;
    border-radius: 5px;
}

.player-details .col .val {
    font-size: 22px;
    margin-bottom: 10px;
}

.player-details .col .val a {
    font-size: 22px;
}

.player-details .col .desc {
    text-transform: uppercase;
    opacity: 0.35;
}

.player-card .division-list {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.division-list .col-division {
    flex: 1;
}

.history-fights .fight-date {
    text-transform: uppercase;
    font-size: 14px;
    text-align: center;
    padding: 5px 0;
    margin-top: -15px;
    margin-bottom: 10px;
    text-decoration: underline;
}

.col-division h3 a {
    font-size: 24px !important;
}

.col-division .r-item.ex {
    opacity: 0.1;
}

.record-name {
    flex: 1;
}

.record-value {
    text-align: right;
    margin-left: 50px;
    background: #14141c;
    padding: 4px 12px;
    border-radius: 4px;
}

.record-percent {
    margin-right: -10px;
    border: 1px solid #14141c;
    padding: 4px 12px;
    border-radius: 4px;
}

.record-date {
    margin-left: 30px;
}

a.site-profile-link {
    color: var(--primary-color);   
}

.shop-items .item {
    display: flex;
    border-radius: 4px;
    margin: 5px 0;
    align-items: center;
    padding: 10px 15px;
}

.shop-item-img {
    width: 32px;
    height: 32px;
    margin: 0 20px 0 10px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.shop-item-name {
    flex: 1;
}

.shop-item-price {
    margin-right: 20px;
    font-weight: bold;
    font-size: 18px;
}

.shop-item-buy {
    width: 50px;
}

.btn-shop-buy {
    visibility: hidden;
    margin-bottom: 0;
    width: 44px;
}

.btn-shop-buy:before {
    font-family: 'FontAwesome';
    content: '\f07a';
    margin-right: 10px;
    font-size: 14px;
}

.shop-item-until {
    font-size: 14px;
    color: #9E9E9E;
}

.shop-item:hover .btn-shop-buy {
    visibility: visible;
}

.empty {
    padding: 10px 15px;
}

.panel-points {
    padding: 15px 20px;
    margin-bottom: 30px;
    display: flex;
}

.panel-points .tufcs-val {
    margin-left: 10px;
}

.manage-fights {
    margin: 25px 15px;
    border: 2px dashed #fff;
    border-radius: 5px;
    padding: 20px 25px;
}

.manage-fights .new-fight {
    display: flex;
    margin: 5px 0;
}

.manage-fights .new-fight select {
    flex: 1;
}

.manage-fights .new-fight .new-side-left, .manage-fights .new-fight .new-side-right {
    flex: 1;
}

.req-accepted {
    opacity: 0.4;
}

.edit-fight {
    position: absolute;
    right: 0;
    bottom: 0;
    background-color: orange;
    color: #fff;
    cursor: pointer;
    padding: 5px 15px;
    display: none;
}

.remove-fight {
    position: absolute;
    right: 0;
    top: 0;
    background-color: red;
    color: #fff;
    cursor: pointer;
    padding: 5px 15px;
    display: none;
}

.move-fight {
    position: absolute;
    right: 0;
    color: #fff;
    cursor: pointer;
    padding: 5px 15px;
    font-size: 0;
    width: 40px;
    display: none;
}

.move-fight.move-up {
    background: url(../img/icons/move-up.svg) no-repeat center rgb(6, 174, 216);
    top: 34px;
}

.move-fight.move-down {
    background: url(../img/icons/move-down.svg) no-repeat center rgb(6, 174, 216);
    top: 68px;
}

.copy-ann-btn {
    position: absolute;
    left: 0;
    top: 0;
    background: rgb(6, 174, 216);
    color: #fff;
    cursor: pointer;
    display: none;
    z-index: 2;
}

.copy-ann-btn-ico {
    background: url(../img/icons/copy-white.svg) no-repeat center rgb(6, 174, 216);
    width: 16px;
    height: 16px;
    padding: 18px 24px;
}

.copy-ann-btn:hover {
    opacity: 0.9;
}

.item:hover .remove-fight, .item:hover .edit-fight, .item:hover .copy-ann-btn, .item:hover .move-fight, .item:hover .toggle-cat-fight {
    display: block;
}

.copy-ann-btn.showed {
    background: rgb(6, 174, 216);
    opacity: 1;
}

.remove-fight:hover, .edit-fight:hover, .move-fight:hover {
    opacity: 0.8;
}

.ann-group {
    display: flex;
}

.copy-ann-item.ann {
    width: 150px;
    margin-left: 10px;
} 

.copy-ann-item:hover {
    background: rgb(5, 156, 194);
} 

.copy-ann-btn.showed .copy-ann-btn-ico {
    display: none; 
}

.copy-ann-list {
    display: none;      
    padding: 15px 20px; 
}

/* .copy-ann-btn:hover .copy-ann-list {
    display: block;
} */

.copy-ann-btn.showed .copy-ann-list {
    display: block;
}

.copy-ann-item {
    width: 100%;
    padding: 3px 6px;
    user-select: none;
}

.copy-ann-sep {
    height: 1px;
    width: 100%;
    background-color: rgb(7, 140, 173);
    margin: 4px 0;
}

.edit-fight-block {
    /* margin: 20px 0 0; */
    padding: 20px 0;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    width: 100%;
    background-color: var(--input-bg-color);
    text-align: center;
}

.edit-fight-block .result-statuses, .edit-fight-block .round-statuses {
    display: flex;
    margin-bottom: 5px;    
    align-items: center;
    justify-content: center;
}

.edit-fight-block .result-statuses span, .edit-fight-block .round-statuses span {
    margin: 0 1px;
    padding: 4px 8px;
    cursor: pointer;
    font-weight: normal;
    border: 2px solid transparent;
    user-select: none;
}

.edit-fight-block .result-statuses span:hover, .edit-fight-block .round-statuses span:hover {
    border: 2px solid;
}

.edit-fight-block .result-statuses span.selected, .edit-fight-block .round-statuses span.selected {
    background: #454559;
    border: 2px solid;
}

.adm-fight-set {
    display: inline-block;
    margin: 0 auto;
}

.fight-block-close {
    position: absolute;
    right: 0;
    top: 0;
    padding: 4px 15px;
    background-color: red;
    color: #fff;
    cursor: pointer;
}

.manage-fights-btn {
    text-align: center;
}

.manage-fights-btn div {
    margin: 0 auto;
    display: inline-block;
    margin-bottom: 25px;
}

.event-has-reg {
    padding: 15px 25px;
    margin: 20px 0 30px;
    display: flex;
    align-items: center;
}

.has-reg-text {
    flex: 1;
}

.event-has-reg .btn {
    margin-bottom: 0;
}

.reg-ok {
    color: #4CAF50;
}

.adm-event-buttons {
    text-align: center;
    margin-top: 30px;
}

.modal-content {
    background-color: #1e1e2d;
}

.modal-header {
    border-bottom: 1px solid #323232;
}

.quote {
    background: #181821;
    border-left: 5px solid #0a0a0f;
    margin-bottom: 0;
}

.teleport-spectator {
    border: 1px solid #1e1e2d;
    padding: 3px 6px;
    border-radius: 4px;
    background: #3b55e6;
    margin-top: 8px;
    cursor: pointer;
    opacity: 0.7;
}

.teleport-spectator:hover {
    opacity: 1;
}

.tufc-div-empty {
    background: #8d6727;
    border-left: 5px solid #69460c;
    margin-bottom: 50px;
}

.tufc-div-empty .btn {
    margin-bottom: 0;
    margin-left: 15px;
    background: #69460c;
}

.new-fight .btn {
    margin-bottom: 0;
    line-height: 30px;
    margin-left: 10px;
}

.del-fight {
    margin-bottom: 0;
    line-height: 30px;
    margin-left: 10px;
    text-align: center;
    padding: 4px 14px;
    border: 2px solid #F44336;
    border-radius: 5px;
    cursor: pointer;
}

.del-fight:hover {
    background-color: #F44336;
}

.event-banner {
    width: 100%;
    height: 100%;
    display: flex;
    margin: 70px 0 70px;
    position: relative;
    max-height: 320px;
    user-select: none;
}

.ev-b-left, .ev-b-right {
    width: calc(50% - 75px);
    height: 100%;
    text-align: center;
}

.ev-b-sep {
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.ev-vs {
    text-align: center;
    border-radius: 50%;
    background: #673AB7;
    font-size: 30px;
    width: 75px;
    height: 75px;
    line-height: 73px;
}

.ev-vs-top, .ev-vs-bottom {
    width: 100%;
    position: absolute;
}

.ev-vs-top {
    top: 0;
}

.ev-vs-bottom {
    bottom: 0;
}

.ev-vs-top div {
    width: 2px;
    height: 135px;
    transform: rotate(15deg);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 1));
    position: absolute;
    top: -30px;
    right: 15px;
}

.ev-vs-bottom div {
    width: 2px;
    height: 135px;
    transform: rotate(15deg);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.15));
    position: absolute;
    bottom: -30px;
    left: 15px;
}

.f-img-border {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 5px solid #fff;
    margin: 0 auto;
    padding: 10px;
}

.ev-b-left .f-img, .ev-b-right .f-img {
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    border-radius: 50%;
    width: 230px;
    height: 230px;
    margin: 0 auto;
}

.f-name {
    font-size: 36px;
    margin-top: 40px;
    
}

.ev-b-left .f-name {
    text-shadow: 
    0 0 5px #3b55e6,   
    0 0 10px #3b55e6,  
    0 0 20px #3b55e6,  
    0 0 40px #3b55e6,  
    0 0 80px #3b55e6;
}

.ev-b-right .f-name {
    text-shadow: 
    0 0 5px #e63b49,  
    0 0 10px #e63b49,  
    0 0 20px #e63b49,  
    0 0 40px #e63b49,  
    0 0 80px #e63b49;
}

.ev-b-left .f-img {
    box-shadow: 
            0 0 10px #3b55e6,  
            0 0 20px #3b55e6,  
            0 0 40px #3b55e6,  
            0 0 80px #3b55e6;  
}

.ev-b-right .f-img {
    box-shadow: 
            0 0 10px #e63b49,  
            0 0 20px #e63b49,  
            0 0 40px #e63b49,  
            0 0 80px #e63b49;  
}

.adm-float-buttons {
    position: fixed;
    right: 0;
    top: 130px;
    box-shadow: 0 0.15rem 1.2rem rgb(117 33 0 / 60%);
    z-index: 10;
}

.adm-float-buttons a {
    display: block;
    text-align: right;
    padding: 5px 15px 5px 10px;
    background: #ff4900;
    border-bottom: 1px solid #c73d05;
    position: relative;
}

.adm-float-buttons a:last-child {
    border-bottom: 0;
}

.adm-float-buttons a:before {
    content: '';
    height: 100%;
    display: none;
    position: absolute;
    left: -10px;
    width: 10px;
    top: 0;
    background: #ff4900;
}

.adm-float-buttons a:hover {
    background: #ee4401;
}

.adm-float-buttons a:hover:before {
    background: #ee4401;
    display: block;
}

.adm-float-buttons a b {
    float: left;
    margin-right: 25px;
    background: #d33d01;
    font-weight: normal;
    padding: 0 5px;
    font-size: 13px;
    border-radius: 4px;
}

.dino-info {
    display: flex;
    border: 1px solid #1e1e2d;
    border-radius: 5px;
    padding: 20px 25px;
    margin-top: 15px;
}

.dino-img {
    width: 250px;
    margin-right: 45px;
    background: #1a1a23;
    border-radius: 5px;
}

.dino-img img {
    max-width: 250px;
    max-height: 100%;
}

.dino-stats {
    flex: 1;
}

.d-stat b {
    display: inline-block;
    width: 350px;
}


.d-stat i {
    font-style: normal;
    opacity: 0.3;
    margin-left: 10px;
}

.d-stat i:first-child {
    margin-left: 0;
}

.d-stat-header {
    font-size: 20px;
    margin-bottom: 20px;
}

.div-shop-item .d-stat {
    display: flex;
}

.tufc-info {
    display: flex; 
    width: 100%;
}

.d-side-left {
    margin-right: 25px;
}

.d-side-right {
    flex: 1;
}


.req-div-name {
    background: #14141c;
    padding-top: 25px;
    padding-bottom: 5px;
    font-weight: bold;
    font-size: 20px;
}

.req-div-name a {
    font-size: 20px;
}

.event-status-0, .event-status-1, .event-status-finish {
    margin-right: 25px;
}

.event-status-0 {
    color: #F44336;
}

.event-status-1 {
    color: green;
}

.event-status-finish {
    color: #393953;
}

.fights h3.req-div-name {
    margin: 0px 0 0;
    padding-bottom: 25px;
    padding-top: 50px;
}

.fights .req-div-desc {
    background: #14141c;
    text-align: center;
    margin-top: -25px;
    padding-bottom: 15px;
    font-size: 14px;
    color: #9E9E9E;
}

.fights h3.req-div-name:first-child {
    padding-top: 0;
}

.item.fight-small {
    padding: 35px 30px 20px;
}

.item.fight-small .score-result {
    padding: 2px 8px;
    font-size: 14px;
}

.item.fight-small .versus {
    font-size: 20px;
    margin: 0 10px;
}

.item.fight-small .fighter-ava .player .ava img {
    width: 72px;
    height: 72px;
}

.item.fight-small .fight-date {
    margin-top: -35px;
    margin-bottom: 0px;
}

.item.fight-small .fight-date a {
    font-size: 14px;
}

.item.fight-small .fighter-info .nickname {
    font-size: 18px;
}

.item.fight-small .fighter-info .fighter-clan a {
    font-size: 12px;
}

.item.fight-small .fighter-info .fighter-record {
    font-size: 16px;
    margin-top: 3px;
}

.item.fight-small .middle .score {
    margin-top: 10px;
} 

.item.fight-small .fighter-place {
    margin-top: 2px;
}

.item.fight-small .middle .division {
    font-size: 12px;
    margin: 0 12px;
    padding: 2px 0;
}

.adm-lightning {
    border: 3px dashed #9E9E9E;
}

.adm-lightning .division {
    background: #653e05;
}

.division .item.champ {
    border: 2px solid #ffcc66;
    padding: 20px 18px;
    position: relative;
    margin-top: 50px;
}

.division .item.champ .ava img {
    width: 52px;
    height: 52px;
    border: 2px solid #ffcc66;
}

.division .item.champ .nickname {
    font-size: 22px;
    margin-left: 5px;
    color: #ffcc66;
}

.division .item.champ:before {
    content: 'CHAMPION';
    left: -2px;
    top: -36px;
    display: block;
    position: absolute;
    padding: 5px 15px;
    background: #ffcc66;
    color: #513d16;
    border-radius: 2px 2px 0 0;
}

.division-list .last-fight {
    font-size: 12px;
    color: #9E9E9E;
    opacity: 0.3;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    flex: 1;
    justify-content: right;
}

.division-list .last-fight span {
    font-size: 12px;
}

.division-list .item:hover .last-fight {
    opacity: 1;
}

.division-list .last-fight .div-bonus {
    font-size: 12px;
    color: #eb7413;
    line-height: normal;
    text-align: right;
}

.division-list .last-fight .div-price {
    font-size: 12px;
    color: #ba6be7;
    line-height: normal;
    text-align: right;
}

.division-list .item .div-img {
    display: block;
    transform: scaleX(-1);
    width: 85px;
    height: 55px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin-right: 16px;
    flex: none;
    opacity: 0.5;
}

.division-list .item:hover .div-img {
    opacity: 1;
}

.division-list .item .div-img.filter {
    filter: brightness(0) saturate(100%) invert(1) sepia(1) hue-rotate(180deg) saturate(500%) brightness(0.8);
}

.division-list .item:hover .div-img.filter, .division-list .item .div-img.filter.my-div {
    filter: none;
}

.rating h3 {
    background: #14141c;
    padding: 20px 0 10px;
}

#fights .item .rounds {
    text-align: center;
    margin-top: 10px;
}  

.rounds span {
    background: #242431;
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid #15151f;
}

.lootbox-content {
    position: relative;
    flex: 1;
}

.lootbox-spoiler {
    display: none;
    background: url(../img/icons/arrow_bottom.svg) no-repeat center;
    width: 24px;
    height: 24px;
    border: 1px solid #fff;
    margin-left: 15px;
    border-radius: 4px;
    opacity: 0.5;
    cursor: pointer;
}

.lootbox-spoiler:hover {
    opacity: 0.8;
}

.shop-items.box .item:hover .lootbox-spoiler {
    display: block;
}

.lootbox-items {
    display: none;
    position: absolute;
    background: #14141c;
    border: 1px solid #3a405b;
    left: 15px;
    top: 35px;
    padding: 10px 15px;
    border-radius: 4px;
}

.lootbox-content.pressed .lootbox-items {
    display: block;
}

.lootbox-content.pressed .lootbox-spoiler {
    transform: scaleY(-1);
}

.lootbox-item-preview {
    margin: 5px 0;
    padding-left: 15px;
    border-left: 2px solid #3b55e6;
}

.lootbox-item-preview ul li {
    margin-left: 20px;
    font-size: 12px;
}

.lootbox-item-preview .subtitle {
    font-weight: bold;
    margin: 15px 0 0px;
    display: block;
    font-size: 14px;
}

.lootbox-item-preview .award-name {
    font-size: 12px;
    line-height: normal;
}

.select-zone {
    display: flex;
    margin: 25px 0;
    align-items: center;
}

.select-zone label {
    flex: 1;
    white-space: nowrap;
    margin-right: 20px;
}

.select-zone select {

}

.event-arena {
    border-radius: 5px;
    padding: 20px 25px;
    border: 1px solid #1e1e2d;
}

.arena-item {
    display: flex;
    margin-bottom: 30px;
}

.arena-item .arena-item-left {
    margin-right: 40px;
    min-width: 370px;
}

.arena-item .arena-item-left img {
    width: 370px;
    border: 3px solid #fff;
    border-radius: 4px;
}

.arena-item .arena-item-right {

}

.arena-item-right .arena-type {
    text-transform: uppercase;  
}

.arena-item-right .arena-name {
    font-size: 22px;
    margin-top: 10px;
    font-weight: bold;
    color: #FF9800;
}

.arena-item-right .arena-desc {
    margin-top: 15px;
}

.arena-item-right .arena-desc b {
    margin-right: 15px;
    color: #9E9E9E;
}

.arena-item-right .arena-desc span {
    color: #9E9E9E;
}

.teleports {
    margin-top: 15px;
}

.spec-list {
    display: flex;
    margin-top: 10px;
    flex-wrap: wrap;
}

.spec-item {
    margin-right: 10px;
    padding: 10px 10px;
    border: 2px solid #9E9E9E;
    border-radius: 4px;
    cursor: pointer;
    width: 130px;
    height: 100px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
    flex-wrap: wrap;
    margin-bottom: 15px;
    position: relative;
}

.spec-item:hover {
    opacity: 1;
    border: 2px solid #ff9800;
}

.spec-item .tp-label {
    display: none;
    background: #ff9800;
    width: calc(100% + 20px);
    margin-left: -12px;
    margin-right: -12px;
    margin-bottom: -12px;
    margin-top: 5px;
}

.spec-item:hover .tp-label {
    display: block;
}

.spec-item:hover span {
    display: none;
}

.event-arena .arena-item:last-child {
    margin-bottom: 0;
}

.tp-popup {
    position: absolute;
    display: none;
    bottom: 100%;
    width: 420px;
    margin-bottom: 20px;
    border: 2px solid #9E9E9E;
    border-radius: 4px;
    z-index: 2;
}

.tp-popup img {
    width: 420px;
}

.spec-item:hover .tp-popup {
    display: block;
}

.qual-name {
    flex: 1;
}

.qualification .div-name, .qualification .player {
    margin-right: 25px;
}
 
.rule-info h4 {
    font-size: 18px;
}

.tufc-home h2 {
    text-align: center;
}

.tufc-home h3 {
    margin: 50px 0 15px;
    text-align: center;
}

.tufc-home .box a {
    color: var(--main-link-color);
}

.tufc-home .box ol {
    padding-left: 20px;
    border-left: 3px solid #323232;
}

.tufc-home .box ol li {
    padding-left: 5px;
    margin-left: 10px;
}

.tufc-home .e-action {
    margin-left: 10px;
    opacity: 0.5;
}

.new-members .item .d-date {
    flex: 1;
    text-align: right;
}

.shop-item-discount-hint {
    font-size: 14px;
    color: #9e9e9e;
    cursor: pointer;
}

.shop-item-discount {
    font-size: 14px;
    color: #ffc107;
    cursor: pointer;
}

.shop-item-discount b {
    font-size: 14px;
    color: #ffc107;
}

.shop-item-price-old {
    text-decoration: line-through;
    opacity: 0.3;
}

.btn-challenge-to-fight {
    display: none;
    position: absolute;
    top: 100%;
    left: 0%;
    right: 0%;
    padding-top: 20px;
}

.btn-challenge-to-fight .btn {
    margin: 0 auto;
    background: url(../img/icons/fight-challenge-128.png) no-repeat 10px center #fff;
    background-size: 32px;
    padding: 10px 15px 10px 55px;
    color: #F44336;
    border: 2px solid #F44336;
    text-transform: uppercase;
}

.col-division:hover .btn-challenge-to-fight {
    display: flex;
}

.player-card .division-list {
    overflow: visible;
}

label[for="challenge-comment"] {
    margin-top: 20px;
}

#challenge-comment {
    color: #fff;
    background: #181821;
    border: 1px solid #323232;
    border-radius: 5px;
    margin-bottom: 0;
}

#frmChallengeToFight .quote, #frmChallengeToFight .quote * {
    font-size: 14px;
    line-height: normal;
}

#frmChallengeToFight .quote a {
    color: var(--main-link-color);
}

.challenge-items {
    margin-bottom: 50px;
    border: 2px dashed #FF9800;
    padding: 15px;
    margin-top: 10px;
}

.challenge-item {
    padding: 6px 10px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.challenge-item a {
    color: var(--main-link-color);
    font-size: 14px;
    margin: 0 5px;
}

.challenge-item .btn {
    margin-bottom: 0;
    visibility: hidden;
    margin: 0 3px;
    font-size: 12px;
    padding: 4px 10px;
    line-height: normal;
}

.challenge-item:hover .btn {
    visibility: visible;
}

.challenge-item .ch-content {
    flex: 1;
    font-size: 14px;
    display: flex;
}

.ch-deadline {
    color: #9E9E9E;
    font-size: 14px;
}

.challenge-item:hover .ch-deadline {
    display: none;
}

.challenge-item .ch-content span {
    color: #9E9E9E;
    font-size: 14px;
    margin-right: 15px;
}

.challenge-item .ch-bonus {
    font-size: 14px;
    display: flex;
    margin-left: 30px;
}

.challenge-item .ch-bonus .tufcs-val span {
    color: #fff;
    font-size: 16px;
    margin-right: 0;
    margin-left: 10px;
}

.challenge-item .ch-comment {
    display: block;
    width: 100%;
    font-size: 12px;
    color: #607D8B;
}

.t-list {
    margin: 15px 0 30px;
}

.t-item {
    padding: 10px 15px;
    display: flex;
    flex-wrap: wrap;
}

.t-item a {
    color: var(--main-link-color);
}

.qual-list a {
    margin-right: 25px;
}

.qual-list span.date {
    margin-right: 25px;
    color: #979797;
}

.qual-list span.date {
    margin-right: 25px;
    color: #979797;
}

.quote-alert {
    margin-bottom: 50px;
    background: #554000;
    border-left: 5px solid #FF9800;
    padding: 15px 25px;
}

.quote-alert a {
    color: var(--main-link-color);
}

.new-members .lnk {
    margin-left: 10px;
}

.new-members .item[data-type="champion"] .e-action, .new-members .item[data-type="champion"] .e-action b {
    color: #FF9800;
}

.disqual {
    margin-left: 10px;
    font-size: 12px;
    color: #9e9e9e;
}

.record .ex {
    margin-left: 10px;
    font-size: 12px;
    color: #795548;
}

.vote {
    text-align: center;
    margin-top: 15px;
    margin-left: 18px;
    font-size: 20px;
    background: url(../img/icons/fight_vote.svg) no-repeat left center;
    display: inline-block;
    padding: 0 32px 0 32px;
    cursor: pointer;
    user-select: none;
    opacity: 0.8;
}

.vote.voted {
    background: url(../img/icons/fight_vote_orange.svg) no-repeat left center;
    color: #FF9800;
}

.vote:hover {
    opacity: 1;
}

.rufc-map .d-side-box {
    display: flex;
    width: 100%;
    margin-bottom: 30px;
}

.btn-download {
    display: inline-block;
    align-items: center;
    color: #fff !important;
    border-radius: 8px;
    padding: 8px 16px;
    margin-bottom: 0;
    text-transform: uppercase;
    background: transparent;
    border: 2px solid var(--button-blue);
    font-size: 16px;
}

.map-hint {
    display: block;
    font-size: 12px;
    margin-top: 9px;
    color: #9E9E9E;
}

.rufc-map h4 {
    font-size: 22px;
    margin-bottom: 10px;
}

.d-cols {
    display: flex;
    width: 100%;
    margin-bottom: 30px;
}

.d-cols .d-col-3 {
    display: flex;
    width: 33.33%;
    flex-wrap: wrap;
    padding: 10px;
    justify-content: center;
}

.d-cols .d-col-3 img {
    margin-bottom: 20px;
    border: 3px solid #fff;
    border-radius: 5px;
}

.d-cols .d-col-3 div {
    margin-bottom: 10px;
    font-size: 22px;
}

.d-cols .d-col-3 span {
    display: block;
    color: #9E9E9E;
}

.judge-title {
    margin: 15px 0 0px;
    font-weight: bold;
    font-size: 18px;
}
.judges {
    margin: 5px 0 10px;
    display: flex;
    flex-wrap: wrap;
}
.judge {
    margin-right: 15px;
    display: flex;
}
.judge a {
    color: #FFEB3B;
}
.judge span {
    margin-left: 5px;
    color: #9E9E9E;
    font-size: 12px;
}
.judge-del {
    display: none;
    margin-left: 5px;
    background-color: #F44336;
    color: #fff;
    padding: 0px 8px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
}
.judge:hover .judge-del {
    display: inline-block;
}
.judge-add {
    font-size: 12px;
    padding: 0px 10px;
    margin-left: 10px;
    margin-bottom: 0;
    display: none;
}
.judges:hover .judge-add {
    display: block;
}
#judge-salary {
    border: 1px solid var(--bg-color);
    border-radius: 4px;
    margin-bottom: 0;
    background: var(--input-bg-color);
    color: var(--text-color);
    padding: 6px 15px;
}
#frmEditJudge label {
    margin-top: 10px;
}

@media only screen and (min-width: 1200px) and (max-width: 1919px) {
	.rufc-menu .rufc-logo {
        width: 150px;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    
}

@media screen and (max-width: 640px) {
    .tpk-content * {
        font-size: 14px;
    }
    .tpk-content {
        padding-top: 90px; 
    }
    .rufc-menu {
        margin: 20px 15px 0;
        padding: 2px 2px 2px 8px;
    }
    .rufc-menu .rufc-logo {
        font-size: 0;
        width: 64px;
    }
    .rufc-menu ul {
        overflow-x: auto;
    }
    .rufc-menu ul li a {
        padding: 6px 10px;
    }
    .rufc-menu .rufc-buttons {
        display: none;
    }
    h1 {
        font-size: 38px !important;
    }
    h2 {
        font-size: 26px !important;
        margin: 5px 0 10px;
    }
    h3 {
        font-size: 20px !important;
    }
    .d-name span {
        display: inline-block;
    }
    .servers-status {
        display: none;
    }
    .event-has-reg {
        flex-wrap: wrap;
        line-height: normal;
    }
    .has-reg-text {
        margin-bottom: 15px;
    }
    .rating .r-item {
        padding: 5px 10px;
        flex-wrap: wrap;
    }
    .rating .r-item .place {
        margin-right: 10px;
        width: 32px;
        font-size: 18px;
    }
    .record-name, .shop-item-name {
        line-height: normal;
    }
    .shop-items .item {
        flex-wrap: wrap;
    }
    .shop-item-price {
        width: unset;
    }
    .tournament h1 {
        margin: 10px 0 20px;
    }
    .tournament h2.t-name {
        margin: 15px 0 30px;
    }
    .teleport-spectator {
        text-align: center;
    }
    .event-date, .event-server {
        font-size: 12px;
        line-height: normal;
    }
    .event-banner {
        display: none;
    }
    .tufc-info {
        display: block;
    }
    .tufc-info .d-side-left {
        margin-right: 0;
    }
    .event-countdown {
        display: none;
    }
    .division-list .last-fight {
        display: none;
    }
    .division-list .item .div-img {
        width: 55px;
        height: 40px;
    }
    .division-list .d-item .d-name {        
        margin-right: 10px;
        margin-bottom: 0px;
        font-size: 16px;
    }
    .d-members {
        margin-left: 10px;
    }
    .event-status-0, .event-status-1, .event-status-finish {
        display: none;
    }
    .arena-item {
        display: block;
        margin-bottom: 10px;
    }
    .arena-item .arena-item-left {
        margin-right: 0;
        margin-bottom: 15px;
        min-width: 160px;
    }
    .adm-float-buttons {
        display: none;
    }
    .fighter-info .nickname {
        font-size: 15px;
        line-height: normal;
    }
    .fighter-info .fighter-clan a {
        font-size: 12px;
        line-height: normal;
        display: none;
    }
    .f-item, .f-item.has-edit {
        padding: 15px 15px;
    }
    .f-item .middle {
        width: 140px;
    }
    #fights .place-1, #div-rating .place-1 {
        font-size: 14px !important;
    }
    .middle .division {
        font-size: 12px;
        margin: 0 10px;
        padding: 0;
    }
    .f-item .left-side, .f-item .right-side {
        width: calc(50% - 60px);
    }
    .fighter-ava {
        display: none;
    }
    .fighter-info .fighter-record {
        font-size: 15px;
        margin-top: 5px;
    }
    .f-item .fighter-place {
        width: 30px;
        font-size: 16px;
    }
    .req-item.debut:before, .div-remove {
        display: none;
    }
    .sel-opponents {
        display: none;
    }
    .req-div-name {
        padding-top: 10px;
    }
    .requests .req-item {
        flex-wrap: wrap;
    }
    .adm-event-buttons div {
        flex-wrap: wrap;
    }
    select[name="reset_division_id"]{
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 15px !important;
    }
    .quote {
        font-size: 14px;
        line-height: normal;
    }
    .tp-popup {
        left: 10px;
        width: calc(100% - 20px);
        height: max-content;
        position: fixed;
        top: 20px;
        z-index: 9999;
    }
    .versus {
        display: none;
    }
    .score-result {
        padding: 2px 6px;
        border-radius: 4px;
        width: 90px;
        font-size: 12px !important;
    }
    .score-result.lose {
        visibility: hidden;
    }
}

