
body.admin {min-height: 100vh;}
body {
    background: #fff;
    margin: 0;
    padding: 0;
    font-family: 'calibri';
}

.header {
    position: relative;
    background: #eee;
    padding: 5px;
    display: flex;
    justify-content: center;
}

.header .burger {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 32px;
    background: #666;
    cursor: pointer;
}

.header h1 {
    margin: 0 0 0 40px;
    font-size: 21px;
    font-weight: 400;
    text-align: center;
}

.site-logo img {
    width: 24px;
    margin-left: 40px;
}

.header .burger:before {
    display: block;
    content: '';
    position: absolute;
    width: 16px;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    height: 11px;
    top: 50%;
    left: 50%;
    margin: -7px 0 0 -9px;
}

.header .burger:after {
    display: block;
    content: '';
    position: absolute;
    width: 16px;
    border-top: 1px solid #fff;
    height: 0px;
    top: 50%;
    left: 50%;
    margin: -1px 0 0 -9px;
}

.menu {
    position: fixed;
    top: 0;
    bottom: 0;
    left: -700px;
    background: #444;
    padding: 40px 0 0;
    transition: all 0.3s linear 0s;
    z-index: 111;
}

.menu.opened {
    left: 0px;
}


.menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #666;
}

.menu ul a {
    display: block;
    color: #fff;
    padding: 5px 20px;
    border-bottom: 1px solid #666;
    text-decoration: none;
}

.menu:before {
    display: block;
    content: '';
    position: absolute;
    top: 15px;
    right: 10px;
    border: 1px solid #eee;
    width: 24px;
    transform: rotate(45deg);
    opacity: 0.2;
}

.menu:after {
    display: block;
    content: '';
    position: absolute;
    top: 15px;
    right: 10px;
    border: 1px solid #eee;
    width: 24px;
    transform: rotate(-45deg);
    margin-left: -16px;
    opacity: 0.2;
}

.championships-table table {
    width: calc( 100% - 20px );
    margin: 15px 0 0;
    /* border-top: 1px solid #252525; */
    /* background: #eee; */
}

.championships-table table tr td:last-child {
    width: 60px;
    text-align: right;
}

.championships-table table tr td {
    padding: 5px 10px;
    color: #111;
}

.championships-table table tr td img {
    display: block;
    /* margin: -20px 0; */
}

.championships-table table tr td:first-child {
    width: 38px;
    padding: 0;
}

form.championship {
    padding: 5px;
    display: none;
    background: #dedede;
}

.championship .field input {
    padding: 5px;
    width: calc( 50% - 16px );
}

.championship.new-team .field input {
    padding: 5px;
    width: calc( 100% - 16px );
}

.championship .field.name input {
    width: calc( 100% - 14px );
}

.championship .field {
    margin: 0 0 10px;
}

.championship .field select {
    padding: 5px 10px;
    width: calc( 100% - 0px );
}

.championship .field:before {
    display: block;
    content: '';
    margin: 0 0 5px;
}

.championship .field.name:before {content: 'ÐÐ°Ð·Ð²Ð°Ð½Ð¸Ðµ';}
.championship .field.dates:before {content: 'Ð”Ð°Ñ‚Ð° Ð½Ð°Ñ‡Ð°Ð»Ð¾';}
.championship .field.region:before {content: 'Ð Ð°Ð¹Ð¾Ð½';}

.championships-table table tr td.active {
    color: #007a00;
}

.championships-table table tr td.finished {
    color: #f00;
}

form.championship.opened {
    display: block;
}

.championship input[type="submit"] {
    border: none;
    background: #090;
    color: #fff;
    padding: 10px 20px;
    margin: 10px auto;
    display: block;
}

.championships-table table.active {
    border: 1px solid #00b500;
    border-radius: 10px;
    margin: 0 10px 10px;
}

.championships-table table.finished:before {
    display: block;
    border: 5px solid #b50000;
    border-radius: 10px;
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    margin-top: -5px;
}

.championships-table table {
    position: relative;
    margin: 0 10px -1px;
    border-bottom: 1px solid #dedede;
}

.sended {
    margin: 20px;
}

form.mailing label {
    display: block;
    margin: 0 10px;
}

form.mailing label input[type="text"] {
    margin: 10px 0;
    display: block;
    padding: 5px 10px;
    width: calc( 100% - 20px );
}

form.mailing label textarea {
    margin: 10px 0;
    display: block;
    padding: 5px 10px;
    width: calc( 100% - 20px );
}


form.mailing label input[type="file"] {
    margin: 10px 0;
}

form.mailing label input[type="checkbox"] {
    margin: 10px 0;
    vertical-align: middle;
}

form.mailing {
    margin: 20px 0;
    background: #ccc;
    padding: 20px;
}

form.mailing input[type="submit"] {
    padding: 10px 20px;
    background: #090;
    border: none;
    color: #fff;
    margin: 20px auto 0;
    display: block;
}

.content-wrapper.main {
    text-align: center;
}

.nope {
    color: #999;
}

.teams-info span {
    display: block;
    font-size: 20px;
    margin: 5px 0 10px;
}


.button_new {
    background: #00910b;
    width: 123px;
    color: #fff;
    padding: 10px 20px;
    margin: 10px auto;
}

.championship input[disabled="disabled"] {
    background: #999;
}

.button_new {
    text-align: center;
}

.teams .team {
    display: flex;
    align-items: center;
    flex: 1 0 30%;
    margin: 10px;
    border: 1px solid #999;
    padding: 5px;
    font-size: 0;
    position: relative;
}

.teams {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 50px auto 0;
    max-width: 1000px;
}

.teams .team .name {
    font-size: 15px;
    margin: 0 0 0 10px;
}

.teams-info-title {
    font-size: 25px;
    margin: 40px 0;
    text-align: center;
}

.update-form-wrap {position: fixed;top: 0;bottom: 0;left: 0;right: 0;display: none;align-items: center;justify-content: center;background: rgb(0 0 0 / 68%);z-index: 111;}

.update-form-wrap form.championship.update-team.opened {
    padding: 20px;
    overflow-y: auto;
}

.update-form-wrap form.championship.update-team.opened input {
    width: calc( 100% - 14px );
    margin: 5px 0 0;
}

.update-form-wrap form.championship.update-team.opened input[type="submit"] {
    width: calc( 50% - 10px );
    display: inline-block;
}

.update-form-wrap form.championship.update-team.opened button {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    background: #f00;
    margin-left: 24px;
    color: #fff;
}

.update-form-wrap.opened {
    display: flex;
    overflow-y: auto;
}

.field.logos a {
    display: inline-block;
    width: 48px;
    height: 48px;
    text-align: center;
    border: 1px solid #999;
    margin: 5px;
    vertical-align: middle;
    background: #fff;
}

.field.logos a img {max-width: 100%;max-height: 100%;width: auto;}

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

.field.logos a.active {
    border-color: #009900;
    box-shadow: 0 0 0 3px #009900;
}

.teams .user {
    display: flex;
    flex: 0 0 30%;
    margin: 5px;
    border: 1px solid #999;
    font-size: 0;
    align-items: center;
    padding: 5px;
    min-width: 300px;
    flex-wrap: wrap;
    position: relative;
    border-radius: 7px;
}

.amp {
    font-size: 14px;
    position: absolute;
    top: 34px;
    right: 0;
    background: #696969;
    text-align: center;
    padding: 5px 10px;
    border-radius: 5px 0 0 5px;
    color: #fff;
}

.amp.a1 {
    background: #15a300;
}

.amp.a2 {
    background: #008fb5;
}

.amp.a3 {
    background: #c17000;
}

.amp.a4 {
    background: #c13200;
}

.amp.a5 {
    background: #c10000;
}

.teams .user .name {
    font-size: 16px;
    width: 100%;
    margin: 5px 0;
}

.teams .user .img-block {
    margin-right: 10px;
    overflow: hidden;
    border-radius: 4px;
    width: 80px;
    height: 80px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #aaa;
}

.teams .user .img-block img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

.total-row {
    font-size: 13px;
    display: flex;
    flex: 1 0 100%;
    margin: 5px 0;
}

.total-row > div:before {
    display: inline-block;
    content: '';
    width: 16px;
    margin-right: 10px;
    height: 16px;
}

.total-row .games:before {
    background: url('../img/main/all_games.png') no-repeat 50% 50%/100%;
}

.total-row .games.amp4:before {
    background: url('../img/main/amp4.png') no-repeat 50% 50%/100%;
}

.total-row .games.cur.checked:before {
    background: url('../img/main/checked.png') no-repeat 50% 50%/100%;
}

.total-row .games.cur.amp4:before {
    background: url('../img/main/cur_amp4.png') no-repeat 50% 50%/100%;
}

.total-row .scores:before {
    background: url('../img/main/all_points.png') no-repeat 50% 50%/100%;
}

.total-row .percent:before {
    background: url('../img/main/all_percent.png') no-repeat 50% 50%/100%;
}

.total-row .games.cur:before {
    background: url('../img/main/current_games.png') no-repeat 50% 50%/100%;
}

.total-row .scores.cur:before {
    background: url('../img/main/current_points.png') no-repeat 50% 50%/100%;
}

.total-row .percent.cur:before {
    background: url('../img/main/current_percent.png') no-repeat 50% 50%/100%;
}

.total-row div {
    display: flex;
    flex: 1 0 30%;
    align-items: center;
}

.teams .user .user-info {
    width: calc( 100% - 100px );
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

ul.sorter {
    list-style: none;
    padding: 0;
    margin: 20px auto;
    max-width: 300px;
}

ul.sorter li a {
    text-decoration: none;
    display: block;
    padding: 5px 5px 5px 30px;
    color: #111;
}

ul.sorter li a.surname {
    background: url('../img/main/alfavit.png') no-repeat 0px 50%/auto 16px;
}

ul.sorter li a.total_games {
    background: url('../img/main/all_games.png') no-repeat 0px 50%/auto 16px;
}

ul.sorter li a.total_points {
    background: url('../img/main/all_points.png') no-repeat 0px 50%/auto 16px;
}

ul.sorter li a.total_percent {
    background: url('../img/main/all_percent.png') no-repeat 0px 50%/auto 16px;
}

ul.sorter li a.current_games {
    background: url('../img/main/current_games.png') no-repeat 0px 50%/auto 16px;
}

ul.sorter li a.current_points {
    background: url('../img/main/current_points.png') no-repeat 0px 50%/auto 16px;
}

ul.sorter li a.current_percent {
    background: url('../img/main/current_percent.png') no-repeat 0px 50%/auto 16px;
}


ul.sorter li a.active {
    color: #f00;
}
/*
.teams.championship .team {
    flex-direction: column;
    flex: 1 0 20%;
    text-align: center;
    margin: 5px;
}

.championship.teams .team .name {
    margin: 10px 0;
}

.teams.championship .team.active {
    color: #fff;
    border-color: #090;
    background: #090;
}
*/
.championships-table td a {
    text-decoration: none;
    color: #111;
    display: block;
    text-align: center;
}

.teams .team a {
    position: absolute;
    display: block;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

form.championship.confirm_user.opened, form.championship.add_num_user.opened, form.championship.add_team_user.opened {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 300px;
    padding: 20px;
    text-align: center;
    margin: -73px 0 0 -171px;
    z-index: 111;
    border: 2px solid #090;
}

form.championship.confirm_user.opened .cancel,
form.championship.add_num_user.opened .cancel,
form.championship.add_team_user.opened .cancel {
    background: #a20000;
    border: none;
    padding: 8px 20px;
    color: #fff;
    display: inline-block;
    margin: 0 5px;
    vertical-align: middle;
}

form.championship.confirm_user.opened input[type="submit"],
form.championship.add_num_user.opened input[type="submit"],
form.championship.add_team_user.opened input[type="submit"] {
    padding: 12px 30px;
    display: inline-block;
}

form.championship.confirm_user.opened div,
form.championship.add_num_user.opened div,
form.championship.add_team_user.opened div {
    margin-bottom: 20px;
}

h1 {
    text-align: center;
}

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

form.championship.add_game .field input {
    width: calc( 100% - 16px );
    padding: 5px;
    min-height: 20px;
    margin: 5px 0 0;
}

form.championship.add_game .field select {
    margin: 5px 0 0;
}

form.championship.add_game .field {
    width: calc( 49% - 16px );
}

form.championship.add_game {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.game-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    position: relative;
}

.game-block .team-blocks {
    display: flex;
    width: calc( 100% - 20px );
    flex: 1 0 90%;
    margin: 0px 10px;
    justify-content: center;
    padding: 5px 0;
    border: 2px solid #dcdcdc;
    border-radius: 10px;
    background: rgb(46 46 46 / 50%);
    /* color: #fff; */
}

.game-block .team-blocks .team {
    display: flex;
    align-items: center;
    font-size: 0;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    position: relative;
}

.game-block .team-blocks .team .name {
    /* width: 90px; */
    font-size: 16px;
}

.game-block .team-blocks .team .img-block {
    margin: 5px 5px;
    border: 1px solid #888;
    overflow: hidden;
    border-radius: 5px;
    padding: 5px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #fff;
    box-shadow: 0 3px 5px rgba(0,0,0,0.3);
}

.game-block .team-blocks .team.team1 .name {
    text-align: right;
}

.check-block {
    display: flex;
    align-items: center;
    position: relative;
}

.date-block {background: rgb(43 43 43 / 24%);padding: 5px 15px;border-radius: 0 0 10px 10px;display: flex;flex: 1 0 90%;width: 80%;justify-content: space-between !important;}

.game-type {padding: 2px 15px 5px;border-radius: 10px 10px 0 0;width: 90px;text-align: center;color: #fff;}

.game-type.type5 {
    background: #9100c5;
}

.game-type.type4 {
    background: #c50000;
}

.game-type.type3 {
    background: #c56000;
}

.game-type.type2 {
    background: #0040c5;
}

.game-type.type1 {
    background: #008401;
}

.game-type.type0 {
    background: #2e2e2e;
}

.team1_goals {
    font-size: 30px;
}

.team2_goals {
    font-size: 30px;
}

.check-block .separate {
    margin: 0 2px;
}

form.sorter select {
    width: calc( 100% - 20px );
    padding: 10px;
}

form.sorter {
    text-align: center;
}

form.sorter label {
    margin: 10px;
    display: block;
}

form.sorter input[type="submit"] {
    border: none;
    margin: 10px 0 20px;
    background: #090;
    color: #fff;
    padding: 10px 20px;
}

.game-block .team-blocks .team a {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.bnts-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
}

.bnts-wrap a {
    display: inline-block;
    padding: 10px 20px;
    background: #0bb700;
    margin: 0 0 10px;
    color: #fff;
    text-decoration: none;
}

.status.s2 {
    border-color: #ff0000;
}

.status.s5 {
    border-color: #cc9700;
}

.status.s1 {
    border-color: #07ff00;
}

.status {
    border: 5px solid;
    border-radius: 100%;
    display: inline-block;
    position: absolute;
    top: 2px;
    left: 2px;
    box-shadow: 0 0 0 2px #fff;
}

h2 {
    text-align: center;
    margin: 20px 0;
}

.warning {
    text-align: center;
    margin: 20px;
    font-size: 25px;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

.warning img {
    display: block;
    margin: 20px auto;
}

.warning a {
    display: block;
    margin: 20px;
    padding: 10px 20px;
    background: #c00;
    color: #fff;
    text-decoration: none;
}

.number {
    position: absolute;
    top: 0px;
    font-size: 23px;
    right: 0px;
    text-align: right;
    color: #000;
    padding: 0px 5px 3px;
}

.user-info .capt {
    font-size: 15px;
    position: absolute;
    left: 69px;
    top: 72px;
    background: #f00;
    color: #fff;
    width: 19px;
    text-align: center;
    border-radius: 11px;
    box-shadow: 0 0 0 2px #fff;
}

.teams .user .user-info .spsh {
    font-size: 14px;
    background: #f00;
    padding: 2px 6px;
    color: #fff;
    border-radius: 10px;
    position: absolute;
    bottom: 3px;
    left: 3px;
    box-shadow: 0 0 0 2px #fff;
}

form.championship.edit_game.opened {
    position: fixed;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 11111;
    padding: 20px;
    border: 1px solid;
    overflow-y: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}

.championship.edit_game .field {
    width: calc( 50% - 20px );
}

.championship.edit_game .field input[type="time"],
.championship.edit_game .field input[type="date"],
.championship.edit_game .field input[type="text"] {
    width: calc( 100% - 15px );
    margin-top: 5px;
}

.championship.edit_game .field select {
    margin-top: 5px;
}

.championship.edit_game a.cancel {
    background: #f00;
    padding: 5px 10px;
    color: #fff;
}

form.championship.delete_team_user.opened {
    position: fixed;
    text-align: center;
    padding: 20px;
    top: 50%;
    left: 50%;
    margin: -67px 0 0 -190px;
}

a.delete_game_user {
    position: absolute;
    font-size: 15px;
    background: #f00;
    color: #fff;
    width: 20px;
    line-height: 20px;
    text-align: center;
    text-decoration: none;
    border-radius: 100%;
    top: 37px;
    left: -11px;
    box-shadow: 0 0 0 2px #fff;
}

form.championship.remove_game_user.opened {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 300px;
    padding: 20px;
    text-align: center;
    margin: -73px 0 0 -171px;
    z-index: 1111;
    border: 2px solid #090;
}

.game-block > a {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 11111;
}

.header_title {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.header_title .team {
    filter: grayscale(1);
    display: flex;
    align-items: center;
    border: 1px solid #333;
    padding: 10px 20px 10px 10px;
    font-size: 0;
    line-height: 0;
    border-radius: 10px;
    opacity: 0.5;
    margin: 0 5px;
}

.header_title .team .img-block {
    margin: 0 10px 0 0;
    overflow: hidden;
    border-radius: 5px;
}

.header_title .team.active {
    filter: grayscale(0);
    opacity: 1;
    position: relative;
}

.header_title .team a {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.header_title .team .name {
    font-size: 15px;
}

.header_title .team .img-block img {}

.tab-team {
    display: none;
}

.tab-team.active {
    display: flex;
}

.tab-team form {
    margin: 5px auto;
    display: flex;
    align-items: center;
}

.tab-team form .fio {
    width: 190px;
    font-size: 14px;
}

.tab-team form input[type="text"] {
    width: 30px;
    padding: 5px;
    margin: 0 3px;
}

.tab-team {flex-direction: column;}

.tab-team form input[type="submit"] {
    padding: 7px 10px;
    background: #090;
    border: none;
    color: #fff;
    border-radius: 3px;
    margin: 0 3px;
}

form.end_game {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

form.end_game input[type="submit"] {
    margin: 20px 0;
    padding: 10px 20px;
    border: none;
    background: #f00;
    color: #fff;
}

.back-btn {
    text-align: center;
    font-size: 15px;
    margin: 20px 0;
}

.back-btn a {
    font-size: 15px;
}

.championships-table {
    margin: 20px 0;
}

.tab-team form .fio span {
    display: inline-block;
    vertical-align: middle;
    padding: 3px;
    border: 1px solid #888;
    border-radius: 3px;
    width: 32px;
    text-align: center;
}

.tab-team .headline {
    margin: 5px auto;
    display: flex;
    align-items: center;
}

.tab-team .headline div {
    background: #999;
    margin: 0 1px;
    padding: 5px;
    width: 36px;
    height: 22px;
    text-align: center;
}

.tab-team .headline div.div-num {
    width: 30px;
    text-align: center;
}

.tab-team .headline div.div-fio {
    width: 140px;
}

.tab-team .headline div.div-send {
    width: 84px;
}

.tab-team form .fio select {
    padding: 5px 10px;
}

.tab-team form label[for="checked"] {
    margin-right: 10px;
    margin-left: 5px;
}

.div-scored.null {
    width: 100px;
}

.tab-team form input[type="submit"].del_btn {
    background: #f00 !important;
    width: 86px;
}

.btn-list {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-list .taber {
    background: #aaa;
    color: #fff;
    padding: 10px 20px;
    margin: 10px 2px;
    border-radius: 3px;
}

.btn-list .taber.active {
    background: #090;
}

.user-tab {
    display: none;
}

.user-tab.active {
    display: flex;
}

form.championship.add_to_del.opened {
    position: fixed;
    align-items: center;
    justify-content: center;
    z-index: 1111;
    padding: 20px;
    top: 50%;
    left: 50%;
    margin: -70px 0 0 -130px;
}

form.championship.edit_id_chat.opened,
form.championship.del_from_del.opened {
    position: fixed;
    align-items: center;
    justify-content: center;
    z-index: 1111;
    padding: 20px;
    top: 50%;
    left: 50%;
    margin: -150px 0 0 -170px;
    width: 300px;
}

form.championship.edit_id_chat img {
    max-width: 300px;
    max-height: 300px;
}

form.championship .cancel {
    background: #f00;
    margin: 10px auto;
    display: block;
    width: 90px;
    text-align: center;
    padding: 10px 0;
    color: #fff;
}

.teams .user .user-info .age {
    position: absolute;
    bottom: 0px;
    right: 0px;
    font-size: 16px;
    background: #777;
    border-radius: 5px 0;
    padding: 2px 5px;
    color: #fff;
}

.check-block .ot {
    position: absolute;
    top: 10px;
    left: 50%;
    margin-left: calc( -50% - 20px );
    width: 100px;
    font-size: 14px;
}

a.id_edit {
    vertical-align: middle;
}

form.championship.edit_id_chat input.id_chat {
    padding: 5px;
    margin: 5px 0;
}

.tab-team form .fio span.active {
    border-color: #f00;
    background: #f00;
    color: #fff;
}

.content-wrapper.main.tours {
    background-color: #1e356a;
    background-image: url('../img/ico/bg.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 1px 0;
    min-height: 100vh;
}
.content-wrapper.main.tours table {
    width: calc( 100% - 40px );
    margin: 10px auto;
}

.content-wrapper.main.tours table img {
    width: 32px;
    vertical-align: middle;
    margin: 0 10px 0 0;
}

.content-wrapper.main.tours table td {
    width: 10%;
    background: rgb(8 29 74 / 80%);
    color: #fff;
    padding: 9px 6px;
    font-weight: 400;
    font-size: 15px;
}

.content-wrapper.main.tours table td:nth-child(2) {
    width: 30%;
    text-align: left;
    background: rgb(255 255 255 / 50%);
    color: #111;
}

.content-wrapper.main.tours table td:nth-child(7) {
    background: rgb(3 98 0 / 80%);
    color: #fff;
}

.content-wrapper.main.tours table th {
    color: #fff;
    font-size: 15px;
    padding: 10px 2px;
    font-weight: 400;
}

@media screen and (max-width: 425px) {
    .content-wrapper.main.tours table img {
        display: none;
    }

    .content-wrapper.main.tours table {
        width: calc( 100% - 20px );
    }

}

.content-wrapper.main.tours h3 {
    color: #001846;
    font-weight: 400;
    padding: 10px;
    margin: 0 10px;
}

.content-wrapper.main.tours h2 {
    color: #1b325f;
}

.tab-team form .fio a {
    color: #111;
    text-decoration: none;
}

.one_tuch {
    border: 3px solid #f00;
    border-radius: 100%;
    vertical-align: middle;
    display: inline-block;
    margin-left: 5px;
}

.accord .users-block {
    display: none;
}

.accord .users-block.opened {
    display: block;
    margin-bottom: 10px;
}

.accord .teams .team {flex: 1 0 80%;border: 1px solid #eee;background: rgb(0 64 145 / 54%);margin: 0 10px 10px;}

.accord .teams .team:before {
    display: block;
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    transform: rotate(45deg);
    top: 50%;
    right: 20px;
    margin-top: -7px;
}

.accord .teams .team .name {
    color: #fff;
}

.accord .teams-info-title {
    font-size: 23px;
}

.accord .teams .user {
    border: 1px solid #eee;
    background: #fff;
    min-width: 350px;
    border-radius: 0;
    flex: 0 0 70%;
}

.accord .teams .team.active:before {
    transform: rotate(-135deg);
    margin-top: 0;
}

.rating-btns {
    display: flex;
    flex: 1 0 100%;
    justify-content: space-around;
    margin: 0 0 10px;
}

.rating-btns a {
    display: flex;
    padding: 10px 5px;
    text-decoration: none;
    background: #383838;
    color: #fff;
    flex: 1;
    margin: 0px 1px;
    text-align: center;
    justify-content: center;
}

.rating-btns a.active {
    background: #d00;
}

.user.rating {
    margin-left: 30px;
}

.rating_num {
    position: absolute;
    left: -35px;
    font-size: 15px;
    width: 25px;
    text-align: center;
    color: #fff;
    border: 1px solid #eee;
    border-radius: 100%;
    line-height: 25px;
}

.top_menu {
    display: flex;
    padding: 0;
    background: rgb(0 60 153 / 74%);
    justify-content: space-between;
}

.top_menu a {
    display: flex;
    color: #fff;
    padding: 5px 5px;
    text-decoration: none;
    flex: 1;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 14px;
    border-right: 1px solid rgb(0 60 153 / 57%);
}

.top_menu a.active {
    background: #003c99;
}

.rating_num.l1 {
    background: url('../img/main/s1.png') no-repeat 50% 50%/100%;
    border-color: transparent;
    font-size: 0;
    width: 40px;
    line-height: 40px;
    left: -40px;
}

.rating_num.l2 {
    background: url('../img/main/s2.png') no-repeat 50% 50%/100%;
    border-color: transparent;
    font-size: 0;
    width: 40px;
    line-height: 40px;
    left: -40px;
}

.rating_num.l3 {
    background: url('../img/main/s3.png') no-repeat 50% 50%/100%;
    border-color: transparent;
    font-size: 0;
    width: 40px;
    line-height: 40px;
    left: -40px;
}

.games.cur.amp4 {
    margin-right: 10px;
}

.user.red {
    background: rgb(181 0 0 / 46%);
    border-color: rgb(181 0 0 / 20%);
}

.user.blue {
    background: rgb(0 143 181 / 70%);
    border-color: rgb(0 143 181 / 20%);
}

.user.orange {
    border-color: rgb(255 177 0 / 20%);
    background: rgb(255 177 0 / 70%);
}

.user.gray {
    border-color: rgb(153 153 153 / 20%);
    background: rgb(153 153 153 / 70%);
}

.bnts-wrap a.blue {
    background: rgb(0 108 137);
}

.bnts-wrap a.orange {
    background: rgb(217 151 0);
}

.bnts-wrap a {
    background: rgb(92 92 92);
}

.calendar {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    margin: 20px auto;
    max-width: calc( 100% - 40px );
}
.month {
    margin: 20px 0;
    padding: 0px;
    width: 100%;
}
.month-name {
    font-size: 1.5em;
    margin-bottom: 10px;
    width: 100%;
}
.days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0px;
}
.day {
    padding: 10px;
    border: 1px solid rgb(221 221 221 / 40%);
    text-align: center;
    margin: 2px;
    background: rgb(221 221 221 / 40%);
    position: relative;
}

.day.name {
    background: #2e2e2e;
    color: #fff;
}

.day a {
    display: flex;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #333;
    color: #fff;
}

.day.t5 a,
.day.training a {
    border: 2px solid #6a0dad;
    box-shadow: inset 0 0 0 2px #fff;
    background: transparent;
    color: #333;
}

.day.t0 a {
    background: #003c99;
    color: #fff;
}

.day.t1 a {
    background: #008401;
    color: #fff;
}

.day.t2 a {
    background: #c56000;
    color: #fff;
}

.day.t3 a {
    background: #c50000;
    color: #fff;
}

.day.t4 a {
    background: #c50000;
    color: #fff;
}




a.btn_back {
    display: flex;
    padding: 10px 5px;
    text-decoration: none;
    background: #003c99;
    color: #fff;
    flex: 1;
    margin: 0px auto;
    text-align: center;
    justify-content: center;
    max-width: 100px;
}

a.btn_back span {
    font-size: 10px;
    line-height: 33px;
    margin-right: 5px;
}

.games.site .date-block {
    background: rgb(43 43 43 / 24%);
    justify-content: center;
    color: #fff;
}

.teams-info-title > span {
    font-size: 20px;
    display: block;
    color: #003c99;
}

.site .game-block .team-blocks {
    color: #fff;
}

.columns {
    display: flex;
    justify-content: space-between;
    width: calc( 100% - 40px );
    margin: 20px auto;
    align-items: center;
}

.columns .column {
    display: flex;
    flex-direction: column;
    flex: 1 0 40%;
    position: relative;
}

.columns .column img {
    max-width: 54px;
    height: 54px;
    width: 100%;
}

.columns .column .f_game {
    display: flex;
    justify-content: space-around;
    background: #333;
    margin: 25px 0 5px;
    padding: 10px 5px 5px;
    font-size: 0;
    line-height: 0;
    border-radius: 7px;
    position: relative;
    border: 2px solid #b5d1f7;
}

.columns .column .f_game.t4 {
    background: #c50000;
}

.columns .column .f_game.t3 {
    background: #c50000;
}

.columns .column .f_game.t2 {
    background: #c56000;
}


.columns .lines {
    display: flex;
    flex: 1 0 20%;
    position: relative;
}

.cubes {
    display: flex;
    justify-content: space-around;
    margin-top: 5px;
    height: 16px;
}

.cubes .cube {
    width: 16px;
    height: 16px;
    background: url('../img/main/cup.png') no-repeat 50% 50%/100%;
    opacity: 0.25;
}

.cubes .cube_active {
    width: 16px;
    height: 16px;
    background: url('../img/main/cup_active.png') no-repeat 50% 50%/100%;
}

.columns .column .f_game .img-block {
    border-radius: 5px;
    overflow: hidden;
    border: 2px solid #fff;
    width: 54px;
    height: 54px;
    display: flex;
}

.t2 .title_block {
    color: #fff;
    background: #c56000;
    left: 20px;
    right: 20px;
    bottom: 100%;
}

.t3 .title_block {
    color: #fff;
    background: #c50000;
    left: 30px;
    right: 30px;
    bottom: 100%;
}

.t4 .title_block {
    color: #fff;
    background: #c50000;
    left: 30px;
    right: 30px;
    bottom: 100%;
}

.f_game .title_block {
    font-size: 13px;
    position: absolute;
    top: -20px;
    line-height: 20px;
    border-radius: 4px 4px 0 0;
    border: 2px solid #b5d1f7;
    border-bottom-color: transparent;
}

.columns .column .f_game .img-block.pass {
    opacity: 0.4;
}

.columns .column.left:before {
    display: block;
    content: '';
    position: absolute;
    top: 74px;
    bottom: 52px;
    width: 0px;
    border-right: 2px solid #b5d1f7;
    right: -20px;
    border-left-color: transparent;
}

.columns .column.right:before {
    display: block;
    content: '';
    position: absolute;
    top: 74px;
    bottom: 52px;
    width: 0px;
    border-left: 2px solid #b5d1f7;
    left: -20px;
    border-right-color: transparent;
}

.columns .lines:before {
    display: block;
    content: '';
    position: absolute;
    top: calc( 50% + 10px );
    left: 20px;
    right: 20px;
    border: 1px solid #b5d1f7;
}

.columns .column.left .f_game:before {
    display: block;
    content: '';
    position: absolute;
    right: -20px;
    left: 100%;
    border: 1px solid #b5d1f7;
    top: calc( 50% );
}

.columns .column.right .f_game:before {
    display: block;
    content: '';
    position: absolute;
    left: -20px;
    right: 100%;
    border: 1px solid #b5d1f7;
    top: calc( 50% );
}

.h2_note {
    margin: -20px 0 20px;
}

.tabs .teams .user {
    border: 2px solid #fff;
}

.tabs .teams .user .user-info {
    text-align: left;
}

.game-block .tab {
    display: none;
}

.game-block .tab.active {
    display: block;
}

.game-block .team-blocks .team.deactive {
    opacity: 0.1;
}

span.dont {
    color: #f00;
    _padding: 3px 10px;
    _color: #fff;
    font-size: 16px;
    margin-left: -28px;
}

.tabs .amp.a2 {
    background: #00b0df;
}

form.championship.add_game .head_title {
    width: 100%;
    text-align: center;
    margin: 0 0 10px;
}

.game-block .team-blocks.type5 {
    position: relative;
}

.game-block .team-blocks.type5 a {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 1111;
}

.tab-traning {
    display: none;
}

.tab-traning.active {
    display: block;
}

.game-block .team-blocks .team.active {
    opacity: 1;
}

.game-block .team-blocks .team.deactive {
    opacity: 0.3;
}

form.championship.add_new_user.opened {
    text-align: center;
    position: fixed;
    z-index: 111;
    top: 50%;
    left: 20px;
    right: 20px;
    margin-top: -85px;
}

.teams.new_confirm.empty {
    border: 1px solid #ccc;
    padding: 30px;
    margin: 20px;
}

.teams.new_confirm.empty:before {
    display: block;
    content: 'Нет новых игроков';
    text-align: center;
    color: #999;
}

.teams-wrap.traning input[type="submit"] {
    padding: 10px;
    border: none;
    background: #0aa500;
    color: #fff;
}

.teams-wrap.traning {
    text-align: center;
    margin: 40px;
}

.teams-wrap.traning label[for="text"] {
    display: block;
}

.teams-wrap.traning label[for="text"] textarea {
    width: 320px;
    display: block;
    margin: 10px auto;
}

.reserv .user-info .capt {
    display: none;
}

.results button[type="submit"] {
    padding: 10px;
    border: none;
    background: #0aa500;
    color: #fff;
    display: block;
    margin: 0 auto;
}


.results input[type="number"] {
    padding: 10px;
    width: calc( 45% - 15px );
    margin-bottom: 10px;
}

.results {
    max-width: 350px;
    margin: 10px auto;
}

.cant_send {
    position: absolute;
    top: -31px;
    bottom: -31px;
    right: 0;
    left: 0;
    z-index: 1111;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(255 255 255 / 79%);
    font-size: 21px;
}

.back_btn {
    text-align: center;
    margin: 10px;
}

.back_btn a {
    display: inline-block;
    background: #bbbbbb;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
}

.places-wrap {
    margin: 20px;
}

.places-add-block {
    background: #ccc;
    padding: 10px;
    margin: 0px 0 20px;
}

.places-add-block form {
    display: flex;
    flex-direction: column;
}

.places-add-block form input[type="text"] {
    padding: 5px;
    margin: 0 0 5px;
}

.places-add-block form button {
    padding: 7px 20px;
    background: #00a900;
    border: none;
    color: #fff;
}

.places-list form {
    padding: 10px;
    background: #ccc;
    display: flex;
    flex-direction: column;
    margin: 0px 0 20px;
}

.places-list form input[type="text"] {
    padding: 5px;
    margin: 0 0 5px;
}

.places-list form button {
    padding: 7px 20px;
    background: #006cab;
    border: none;
    color: #fff;
}

.search-block {
    margin: 20px 10px;
}

.search-block input {
    padding: 5px;
    display: block;
    width: calc( 100% - 16px );
}

form.championship.add_game .field.evning input {
    display: inline-block;
    width: auto;
    vertical-align: middle;
    margin-top: -3px;
}

form.championship.add_game .field.evning {
    text-align: center;
}

.championship .field input#customer, .championship .field input#evning {
    width: auto;
    margin-left: 10px;
}

.team-blocks.upcoming {
    margin: 10px auto 40px;
    width: calc( 50% - 10px );
    position: relative;
}

.team-blocks.upcoming .team-block {
    display: flex;
    align-items: center;
    font-size: 0;
    padding: 5px;
    background: #008bc1;
}

.team-blocks.upcoming .team-block .name {
    font-size: 16px;
    margin: 0 10px;
    color: #fff;
}

.team-blocks .in_team {
    margin: 10px 0;
    font-size: 17px;
}

.team-blocks .in_team ul {
    padding: 0;
    list-style: none;
    margin: 0;
}

.team-blocks .in_team ul li {
    padding: 0 0 5px;
    margin: 0 0 5px;
    border-bottom: 1px solid #aaa;
    display: flex;
    justify-content: space-between;
}

.team-blocks .in_team div {
    background: #ddd;
    padding: 5px;
    margin-bottom: 5px;
}

.full_team {
    text-align: center;
    font-size: 18px;
    /* background: #f00; */
    color: #f00;
    margin-top: -2px;
}

.team-blocks.upcoming .team-block .img-block {
    border: 2px solid #fff;
}

.team-blocks.upcoming form input[type="submit"] {
    border: none;
    text-align: center;
    font-size: 16px;
    background: #00830a;
    color: #fff;
    padding: 10px;
    width: 100%;
}

.cur_game-blocks {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
    position: relative;
}

.cur_game-blocks .team-blocks.upcoming:first-child:before {
    display: block;
    content: '';
    width: 24px;
    height: 24px;
    position: absolute;
    top: 9px;
    right: -27px;
    background: #fff url(../img/main/vs.png) no-repeat 50% 50%/22px 22px;
    z-index: 11;
    padding: 10px;
    border-radius: 100%;
}

.cur_game-blocks .team-blocks.upcoming:last-child .team-block {
    flex-direction: row-reverse;
    text-align: right;
}

h3.match_date {
    text-align: center;
}

.warning.team {
    position: static;
    font-size: 12px;
}

.teams .user .name a {
    text-decoration: none;
    display: inline-block;
    padding: 3px 10px;
    background: #090;
    vertical-align: middle;
    border-radius: 10px;
    color: #fff;
}

.teams .user .name a span {
    color: white;
    filter: brightness(10);
    font-size: 14px;
}

.teams.event .img-block {
    border: 2px solid #ffffff;
    padding: 4px;
    border-radius: 8px;
    background: #fff;
}

.teams.event .team {
    border: none;
    flex-direction: column;
    flex: 1 0 300px;
    padding: 0px;
    border-radius: 20px;
    width: 300px;
}

.teams.event .team.blue {
    padding: 30px 10px 10px;
    background: #006a93;
}


.teams.event .team .name {
    font-size: 25px;
    margin: 10px 0;
    color: #fff;
}

.bread.event {
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px;
    margin: 0;
    opacity: 0.3;
    transition: all 0.3s linear 0s;
}

.bread.event:hover {
    opacity: 1;
}


.teams .user.event {
    flex-direction: column;
    flex: 0 0 160px;
    min-width: 0;
    align-items: center;
}

.teams .user.event .img-block {
    margin: 0 0 10px;
    width: 150px;
    height: 150px;
}

.teams .user.event .user-info {
    width: 100%;
    text-align: center;
}

.teams .user.event .user-info .spsh {
    bottom: auto;
    top: 132px;
    left: 12px;
    border-radius: 3px;
}

.big_user.opened.show {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.big_user .user {
    display: flex;
}

.big_user .img-block {
    margin-right: 20px;
}

.big_user  .user-info {
    font-size: 22px;
}

.teams.event {
    max-width: 100%;
}

.big_user {
    display: none;
}

button {
    background: #008d1e;
    border: none;
    padding: 10px 40px;
    margin: 20px 0;
    color: #fff;
    font-size: 20px;
}

.big_user .user-info b {
    font-size: 24px;
}

.big_user .user-info span {
    font-size: 17px;
    width: 80px;
    display: inline-block;
}

.big_user .user-info div {
    margin: 0 0 10px;
}

.teams .user .name a.id_edit {
    background: none;
}

.championship.edit_game .field label {
    display: inline-block;
    width: calc( 100% - 30px );
    vertical-align: top;
}

.championship.edit_game .field input {
    display: inline-block;
}

.games.tab-item.active {
    display: block;
}


.games.tab-item {
    display: none;
}

.tab_btns {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.tab_btns .item {
    padding: 10px 20px;
    background: #cacaca;
    width: 100px;
    text-align: center;
}

.tab_btns .item.active {
    background: #009900;
    color: #fff;
}

.game-type.type5 {
    background: #9100c5;
}

.game-type.type4 {
    background: #c50000;
}

.game-type.type3 {
    background: #c50000;
}

.content-wrapper.main.tours table.type2 td  {
    background: #0040c5;
}

.content-wrapper.main.tours table.type1 td  {
    background: #008401;
}

.content-wrapper.main.tours table.type0 td {
    background: #2e2e2e;
}


.form_datas {
    display: flex;
    flex-wrap: wrap;
    margin: 10px 0;
    align-items: center;
    justify-content: center;
}

.form_datas label {
    font-size: 14px;
    line-height: 20px;
    margin-right: 15px;
}

.form_datas label input[type="radio"] {
    margin: 4px 0px 5px 0;
    vertical-align: middle;
}

.form_datas select {
    width: 120px;
    padding: 4px;
}

.form_datas input[type="submit"] {
    border: none;
    padding: 10px 20px;
    margin: 20px 20px 0;
    background: #009900;
    color: #fff;
    vertical-align: middle;
}

.form_datas a.cancel {
    font-size: 15px;
    vertical-align: middle;
    margin: 20px 20px 0;
    padding: 10px 20px;
    background: #f00;
    color: #fff;
    line-height: 16px;
}

form.imper_form input[type="submit"] {
    border: none;
    color: #fff;
    padding: 10px 30px;
    margin: 10px auto;
    display: block;
}

.leaders-block {
    margin-bottom: 20px;
}

.leaders-tabs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
    justify-content: center;
    flex-wrap: wrap;
}

.leaders-tabs::-webkit-scrollbar {
    display: none;
}

.leaders-tab {
    flex-shrink: 0;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 20px;
    background: #f5f5f5;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    color: #111;
    margin: 0 0 5px;
}

.leaders-tab.active {
    background: #2b2926;
    color: #fff;
    border-color: #2a2825;
}

.leaders-panel {
    display: none;
}

.leaders-panel.active {
    display: block;
    background: #666;
    color: #fff;
}

.leaders-top {
    display: flex;
    gap: 10px;
    justify-content: center;
    padding: 10px 0;
}

.leaders-top-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border-radius: 10px;
    padding: 10px 8px;
    flex: 1;
    max-width: 110px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.leaders-medal {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 13px;
    color: #fff;
    margin-bottom: 6px;
}

.leaders-medal.gold   { background: #ffc107; }
.leaders-medal.silver { background: #9e9e9e; }
.leaders-medal.bronze { background: #cd7f32; }

.leaders-top-item img {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    object-fit: cover;
    margin-bottom: 6px;
}

.leaders-name {
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    line-height: 1.2;
    color: #111;
    margin: 0 20px;
}

.leaders-value {
    font-size: 13px;
    color: #1565c0;
    font-weight: bold;
    margin-top: 4px;
}

.leaders-empty {
    text-align: center;
    color: #999;
    padding: 16px 0;
    font-size: 14px;
}

.final_cups .placed img {
    width: 55px;
    height: 55px;
    line-height: 0;
}

.final_cups.group {position: relative;}

.final_cups .placed {
    position: absolute;
    bottom: 51px;
    left: calc( 50% - 20px );
    border: 1px solid #c2c5c7;
    border-radius: 8px;
    overflow: hidden;
    background: #cdced1;
    line-height: 0;
}

.final_cups .placed.second {
    bottom: 33px;
    left: calc(50% + 53px);
}

.final_cups .placed.third {
    bottom: 19px;
    left: calc(50% - 112px);
}

.columns .column .f_game .team1 .img-block:before {
    display: block;
    content: '';
    width: 24px;
    height: 24px;
    background: url(/img/main/vs.png) no-repeat 50% 50%/cover;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -22px 0 0 -12px;
}

.leaders-tabs h3 {
    width: 100% !important;
    margin: 10px 0;
}
/*
.day.half:before {
    display: block;
    content: '';
    width: calc( 50% + 1px );
    height: 100%;
    position: absolute;
    top: 0;
    left: 0px;
}

.day.half:after {
    display: block;
    content: '';
    width: 50%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0px;
}

.day.half {
    overflow: hidden;
}

.day.half a {
    background: transparent !important;
    text-align: center;
    z-index: 1;
    color: #fff !important;
}
.day {
    min-height: 20px;
}

.day.half.t4.t3:before {
    background: #c50000;
}

.day.half.t4.t3:after {
    background: #c50000;
}

.day.half.t4.t2:after {
    background: #c56000;
}

.day.half.t2:before {
    background: #c56000;
}

.day.half.t1.t0:before {
    background: #008401;
}

.day.half.t1.t0:after {
    background: #003c99;
}

.day.half.t4.t4:before,
.day.half.t4.t4:after {
    background: #c50000;
}

.day.half.t3.t3:before,
.day.half.t3.t3:after {
    background: #c50000;
}


.day.half.t2.t2:before,
.day.half.t2.t2:after {
    background: #c56000;
}

.day.half.t1.t1:before,
.day.half.t1.t1:after {
    background: #008401;
}

.day.half.t0.t0:before,
.day.half.t0.t0:after {
    background: #003c99;
}
*/
bots-block {
    padding: 20px 15px 10px;
    text-align: center;
}
.bots-block p {
    font-size: 14px;
    color: #555;
    margin-bottom: 14px;
}
.bots-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.bots-links a img {
    height: 48px;
    width: auto;
    display: block;
}