h1 {
  text-align: center;
}

object {
  width: 100%;
  height: 100%;
}

  /* th4 fpsclassico style */
:root {
    --tr0_color: #2f3333;
    /* bg color */

    --tr1_color: #5d6367;
    /* first tr line */
    --tr2_color: #51575a;
    /* second darker tr line dedcd1*/

    --tr3_color: #1f2222;

    --hlg_color: #1f2222;
    /* current active line */

    --tr4_color: #674d4d;
    /* light red */
    --tr5_color: #673d3d;
    /* dark red */
    --tr6_color: #670d0d;

    --hlr_color: #670d0d;
    /* draker red current */

    --tr7_color: #4d4e67;
    /* blue light */
    --tr8_color: #3d3e67;
    /* b dark */
    --tr9_color: #1d1e67;
    /* b darker cur  */
    --hlb_color: #1d1e67;
}

body {
  background-color: var(--tr0_color);
}

.sorttab {
  position: sticky;
  top: 0;
  z-index: 10;
}

.sorttab {
  position: sticky;
  top: 0;
  z-index: 10;
}

a:link {
  background-color: transparent;
  text-decoration: none;
}
a:visited {
  background-color: transparent;
  text-decoration: none;
}
a:hover {
  background-color: transparent;
  text-decoration: none;
}
a:active {
  background-color: transparent;
  text-decoration: none;
}

td, th {
  border: 1px solid var(--tr2_color);
}

td, th {
  border: 1px solid var(--tr2_color);
}

.tbodyG tr:nth-child(1n) {
  background-color: var(--tr1_color);
}

.tbodyG tr:nth-child(2n) {
  background-color: var(--tr2_color);
}

.tbodyG tr:hover {
  background-color: var(--tr3_color);
}

.hlg_color
{
  background-color: var(--hlg_color) !important;
}

.tbodyR tr:nth-child(1n) {
  background-color: var(--tr4_color);
}

.tbodyR tr:nth-child(2n) {
  background-color: var(--tr5_color);
}

.tbodyR tr:hover {
  background-color: var(--tr6_color);
}

.hlr_color
{
  background-color: var(--hlr_color) !important;
}

.tbodyB tr:nth-child(1n) {
  background-color: var(--tr7_color);
}

.tbodyB tr:nth-child(2n) {
  background-color: var(--tr8_color);
}

.tbodyB tr:hover {
  background-color: var(--tr9_color);
}

.hlb_color
{
  background-color: var(--hlb_color) !important;
}

.tab button:hover {
  background-color: var(--tr2_color);
}

.sorttab button:hover {
  background-color: var(--tr2_color);
}

.tab {
  overflow: hidden;
  border: 1px solid var(--tr3_color);
  background-color: var(--tr1_color);
}

.sorttab {
  overflow: hidden;
  border: 1px solid var(--tr3_color);
  background-color: var(--tr1_color);
}


.tab button.active {
  background-color: var(--tr3_color);
}

.sorttab button.u {
  background-color: var(--tr3_color);
}

.sorttab button.d {
  background-color: var(--tr3_color);
}

.tabcontent {
  display: none;
  padding: 10px 10px 10px 10px;
  border: 1px solid var(--tr3_color);
  border-top: none;
}
.th4 .tabcontent {
  display: none;
  padding: 10px 10px 10px 10px;
  border: 1px solid var(--tr3_color);
  border-top: none;
  background: #2f3333;
}

.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 17px;
}

.sorttab button {
  width: 100%;
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0px 0px;
  transition: 0.3s;
  font-size: 17px;
}

@font-face {
  font-family: Conthrax;
  src: url("font/ConthraxRegular.otf") format("opentype");
}

@font-face {
  font-family: ConthraxBold;
  font-weight: bold;
  src: url("font/ConthraxBold.otf") format("opentype");
}

@font-face {
  font-family: ConthraxLight;
  font-weight: bold;
  src: url("font/ConthraxLight.otf") format("opentype");
}

.font_conthrax * {
  font-family: 'Conthrax';
}


/* */
body {
  overflow-y: scroll;
}

body td {
  cursor: default;
  color: #bed8be;
  /* stats text color */
  /* white text color #dedcd1; */
}

body .datatable tr:hover td {
  color: #00ff00;
  /* stats text color */
  /* white text color #dedcd1; */
}

body .datatable tr:hover td:nth-child(even) {
  color: #00ffff;
  /* stats text color */
  /* white text color #dedcd1; */
}

body .datatable tr:hover td:first-child {
  color: #fff;
  /* stats text color */
  /* white text color #dedcd1; */
}

c10 {
  color: #bed8be;
}

c11 {
  color: #777;
}

.site_name * {
  font-size: 30px !important;
  font-weight: normal;
  font-family: "Conthrax";
}

h1 {
  color: #fff;
}

body .sorttab th {
  border-bottom: 2px solid #333 !important;
  /* sorttab bottom line */
  color: #cbc7c3 !important;
  background: #474c4e;
  font-weight: normal;
}

body .sorttab button {
  font-weight: normal !important;
  font-size: 14px !important;
}

body .sorttab button:hover {
  color: #ffff00 !important;
  font-size: 14px !important;
}

body .sorttab th button {
  color: #cbc7c3 !important;
  font-weight: normal !important;
}

body table {
  border-spacing: 0px !important;
  border: 0px !important;
}

td {
  border: 0px solid var(--tr2_color);
  border-right: 1px solid #2f3333 !important;
}

th {
  border: 0px solid var(--tr2_color);
  border-right: 1px solid #2f3333 !important;
}

.fs30 {
  font-size: 30px !important;
}

.tbodyB tr:first-child td {
  border-top: 2px solid #2f3333 !important;
}

.tab {
  _background: #2f3333;
  background: transparent;
  border: 0px;
  border-bottom: 10px solid #1f2222;
}

.tab button /* menu buttons*/
{
  color: #cbc7c3;
  transition: 0s;
  margin-right: 4px;
  background: #5d6367;

  position: relative;
  padding: 6px 16px 3px 16px;
  top: 4px;
  white-space: nowrap !important;
}

/* tab marker active */
.tc2 #tl2,
.tc3 #tl3,
.tc4 #tl4,
.tc5 #tl5,
.tc6 #tl6,
.tc7 #tl7 {
  color: #fff !important;
  background: #1f2222 !important;

  padding: 10px 16px 3px 16px !important;
  top: 0px !important;
}

#th3,
#th2,
#th1 /* menu theme buttons inactive */
{
  position: relative;
  padding: 6px 16px 3px 16px;
  top: 4px;
}

#th4 /* menu theme button actvie */
{
  padding: 10px 16px 3px 16px;
  top: 0px;
}

.tab button:hover /* menu buttons hover */
{
  color: #4ee54e;
  transition: 0s;

  margin-right: 4px;
  background: #4d5357;
}

.tab button.active /* menu buttons active */
{
  color: #00ff00 !important;
  transition: 0s;
}

.sorttab button /* sort buttons of stats */
{
  transition: 0s;
}

/* other */
.q3msk {
  color: #d00;
}

.sorttab {
  position: sticky;
  top: 0;

  overflow: hidden;
  border: 0px solid var(--tr3_color);
  background-color: var(--tr1_color);
}

.score_red,
.score_blue {
  position: relative;
  font-weight: bold;
  font-size: 33px;
  font-family: 'Conthrax' !important;
  width: 75px;
  text-align: center;
  top: -2px;
}

.score_red {
  float: left;
}

.score_blue {
  float: right;
}

.score_dg,
.score_dr {
  position: relative;
  top: 3px !important;
}

.th4 .score_time {
  font-size: 15px !important;
  color: #bed8be;
  font-weight: normal;
  top: 2px;
}

.map_name {
  position: relative;
  display: table-cell;
  vertical-align: middle;
  height: 45px;
}

.score_slash,
.score_time {
  position: relative;
  display: table-cell;
  vertical-align: middle;
  height: 45px;
}

.score_damage {
  font-size: 17px;
  position: relative;
  font-weight: normal;
}

.score_slash {
  font-size: 20px;
  top: 2px;
}

.score_map .map_name {
  font-family: 'Conthrax' !important;
  font-style: normal;
  letter-spacing: 1px;

  font-size: 22px;
  top: -2px;
  text-shadow:
    1px 0 #111,
    0 -1px #111,
    -1px 0 #111,
    0 1px #111 !important;
  color: #fff;
}

.score_bg {
  background: #3a3a3a; /*#5d6367;*/
  height: 45px !important;
  border-bottom: 1px solid #2f3333;
  border-top: 3px solid #1f2222;

}

/* theme chooser */
body.th1 #th1 {
  background: #e0e0e0 !important;
}

body.th2 #th2 {
  background: #b0b0b0 !important;
}

body.th3 #th3 {
  background: #707070 !important;
}

body.th4 #th4 {
  background: #1f2222 !important;
  color: #fff;
}

/* colors */
.c0 {
  color: #000000;
}

.c1 {
  color: #ff0000;
}

/*.c1_ {
  color: #ff8888;
}*/

.c2 {
  color: #00ff00;
}

.c3 {
  color: #ffff00;
}

.c4 {
  color: #0000ff;
}

.c5 {
  color: #00ffff;
}

.c6 {
  color: #ff00ff;
}

.c7 {
  color: #ffffff;
}

.c8 {
  color: #ff7f00; /* bilo ff8b00 */
}

.c9 {
  color: #ABABFF; /* ababff */
}



.off {
  color: #888 !important;
}


/****************/
/* added 241021 */
/****************/
body.th3 .th_old,
body.th2 .th_old,
body.th1 .th_old {
  display: block;
}

body.th3 .th_new,
body.th2 .th_new,
body.th1 .th_new {
  display: none;
}


body.th4 .th_old {
  display: none;
}

body.th4 .th_new {
  display: block;
}

.th_new1 {
  visibility: hidden;
}

.th4 .th_new1 {
  visibility: visible;
}

.th4 #tl7 {
  margin-left: 4px;
}

button#th4,
button#th3,
button#th2,
button#th1 {
  float: right;
}

.tbodyG>tr>td {
  font-style: normal;
  text-align: right;
  font-size: 14px;
}

.tbodyG > tr > td:not(:first-child),
.tbodyB > tr > td:not(:first-child),
.tbodyR > tr > td:not(:first-child) {
  width: 42px;
}

.tbodyG td,
.tbodyR td,
.tbodyB td {
  color: #000;
  font-size: 14px;
  text-align: center;
}

.tbodyG td,
.tbodyR td,
.tbodyB td {
  cursor: default;
  color: #bed8be;
  /* stats text color */
  /* white text color #dedcd1; */
  font-size: 14px;
  text-align: right;
}

.tbodyG tr td:first-child,
.tbodyR tr td:first-child,
.tbodyB tr td:first-child {
  text-align: left !important;
  padding-left: 6px;
  padding-right: 6px;
  color: #fff;
  font-family: 'Conthrax';
  font-style: normal;
  font-size: 14px;
  letter-spacing: 1px;
  white-space: nowrap;
  _width: 30%;
}

.tbodyG tr td:first-child *,
.tbodyR tr td:first-child *,
.tbodyB tr td:first-child * {
  font-family: 'Conthrax';
  font-style: normal;
  font-size: 14px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.tbodyG tr td:first-child c0,
.tbodyG tr td:first-child c4,
.tbodyR tr td:first-child c0,
.tbodyR tr td:first-child c4,
.tbodyB tr td:first-child c0,
.tbodyB tr td:first-child c4 {
  text-shadow:
    1px 0 transparent,
    0 -1px transparent,
    -1px 0 transparent,
    0 1px transparent !important;
  font-weight: bold;
}

.tbodyG tr:hover td:first-child c0,
.tbodyG tr:hover td:first-child c4,
.tbodyR tr:hover td:first-child c0,
.tbodyR tr:hover td:first-child c4,
.tbodyB tr:hover td:first-child c0,
.tbodyB tr:hover td:first-child c4 {
  text-shadow:
    1px 0 #888,
    0 -1px #888,
    -1px 0 #888,
    0 1px #888 !important;
  font-weight: bold;
}

#tc4 {
  color: #cbc7c3;
  font-weight: normal;
  font-size: 14px;
}

.damage_arrow {
  font-size: 14px;
  vertical-align: 2px;
  color: #000 !important;
  font-weight: bold;
  text-shadow: 0 !important;
}

.triangle-left {
  width: 0;
  height: 0;
  border-top: 23px solid #353535;
  border-bottom: 23px solid #353535;
  border-right: 17px solid #0000ee;
}
.triangle-left-2 {
  width: 0;
  height: 0;
  border-top: 23px solid transparent;
  border-bottom: 23px solid transparent;
  border-right: 17px solid #353535;
}

.triangle-right {
  width: 0;
  height: 0;
  border-top: 23px solid #353535;
  border-bottom: 23px solid #353535;
  border-left: 17px solid #880000;
}
.triangle-right-2 {
  width: 0;
  height: 0;
  border-top: 23px solid transparent;
  border-bottom: 23px solid transparent;
  border-left: 17px solid #353535;
}

.block {
  display: block;
}

.menu_topic {
  width: 100%;
  border: none !important;
  font-size: 11px;
  padding-bottom: 5px;
}

.menu_topic td {
  color: #cbc7c3 !important;
}

.uppercase {
  text-transform: uppercase;
}

.tab_margin_left {
  margin-left: 30px;
}

.no-shadow {
  text-shadow: 0 !important;
}


.sorttab button {
  width: 100%;
  height: 100%;
}

.score_time_cont {
  height: 15px;
  padding: 0px;
  margin: 0px 0px 8px 8px;
  display: table-cell;
}

.score_time_ {
  background: #1f2222;
  display: inline-block;
  height: 15px;
  color: #fff;
  font-weight: normal;
  padding: 4px 10px 4px 10px;
  font-size: 15px;
}

.nowrap * {
  white-space: nowrap !important;
}

.sort .ico {
  font-size: 24px;
  height: 29px;
  display: block;
}

.sort .ico_player {
  font-size: 16px;
  height: 29px;
  display: block;
}

.sort .thaws {
  position: relative;
  top: 0px;
}

.sorttab th:first-child button {
  text-align: left;
  padding-left: 5px;
}

.float-right {
  float: right;
}

.float-left {
  float: left;
}

.float-right.score_damage {
  text-align: right;
}

.float-right.score_damage span.score_dg,
.float-right.score_damage span.score_dr {
  float: right;
}

.float-right .uArr,
.float-right .dArr,
.float-left .uArr,
.float-left .dArr,
.float-left .score_dg,
.float-left .score_dr,
.float-right .score_dg,
.float-right .score_dr {
  line-height: 20px;
}

ndiv {
  font-size: 0px !important;
  white-space: nowrap !important;
  line-height: 10px;
}

ndiv {
  font-size: 8px !important;
  white-space: nowrap !important;
  line-height: 10px;
}

.num span {
  padding-right: 2px;
  padding-left: 2px;
}

.sorttab th button span {
  text-align: center !important;
}

.sorttab th:first-child * {
  text-align: center !important;
}

.sorttab th:first-child * {
  text-align: left !important;
}

.th4 .tbodyG tr td:nth-child(even),
.th4 .tbodyB tr td:nth-child(even),
.th4 .tbodyR tr td:nth-child(even) {
  color: #bee8e8;
  /* #bed8be*/
}

.b_cnt {
  background: #0000ee;
}

.r_cnt {
  background: #880000;
}

.acc {}

.acc span::after {
  opacity: 0.6;
  font-size: 11px;
  padding-right: 3px;
  content: '%';
}

.acc span.null::after {
  opacity: 0.6;
  font-size: 11px;
  padding-right: 3px;
  color: #777;
  content: '%';
}


.footer {
  display: none;
}

.footer {
  display: block;
  position: fixed;
  z-index: 20;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #292929;
  color: #fff;
  text-align: right;
  border-top: 1px solid #000;
  font-size: 10px;
  padding: 3px 4px 4px 4px;

}

.footer span {
  margin-right: 24px;
}

.score_dr {
  color: #ff0000 !important;
  text-shadow:
    1px 0 #444,
    0 -1px #444,
    -1px 0 #444,
    0 1px #444 !important;
  /*font-family: Courier New;
  font-weight: bold;*/
}

.score_dg {
  color: #00ff00 !important;
  text-shadow:
    1px 0 #444,
    0 -1px #444,
    -1px 0 #444,
    0 1px #444 !important;
  /*font-family: Courier New;
  font-weight: bold;*/
}


#container {
  width: 100%;
  /* //background: #2f3333; */
}
#content {
  /* Ширина по умолчанию */
  width: 100%;
  margin-left: auto;
  margin-right: auto;

}

/* Когда ширина окна до 900 пикселей, ширина content будет 600px */
@media screen and (max-width: 500px) {
  #content {
    width: 100%;
  }
}

/* Когда ширина окна от 1250 пикселей, ширина content будет 900px */
@media screen and (min-width: 1500px) {
  #content {
    width: 1500px;
  }
}

/* menu */
.th_s {
  display: none;
}

/* Когда ширина окна до 900 пикселей, ширина content будет 600px */
@media screen and (max-width: 636px) {
  #tl4 .th_new {
    display: none;
  }
  #tl4 .th_s {
    display: block;
  }
}
@media screen and (max-width: 550px) {
  #tl5 .th_new {
    display: none;
  }
  #tl5 .th_s {
    display: block;
  }
}
@media screen and (max-width: 530px) {
  #tl6 .th_new {
    display: none;
  }
  #tl6 .th_s {
    display: block;
  }
}
@media screen and (max-width: 500px) {
  #tl7 .th_new {
    display: none;
  }
  #tl7 .th_s {
    display: block;
  }
}
@media screen and (max-width: 430px) {
  .tab button {
    width: 26px;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
  }
  .tab button span {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
  }
  .th4.tc3 #tl3, .th4.tc4 #tl4, .th4.tc5 #tl5, .th4.tc6 #tl6, .th4.tc7 #tl7 {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
  }
}

.num_minus {
  color: #ffd8d8 !important;
}

.datatable tr:hover td.num_minus span {
  color: #ff2222;
  /* stats text color */
  /* white text color #dedcd1; */
}

.border_top td {
  border-top: 1px solid #2f3333 !important;
}

.id_num {
  display: none;
}
.id_num {
  display: table-cell;
}
.id_num c9 {
  display: table-cell;
  width: 48px;
  font-family: Arial !important;
  font-weight: normal;
  text-align: right;
  margin-right: 10px;
  position: relative;
  right: 5px;
  color: #999;
}

.player_nick {
  padding-right: 30px !important;
}

.datatable tr:hover .player_nick .id_num c9 {
  color: #ffff00;
}

#object_0 .sorttab th:first-child button figcaption, .th4 #object_1 .sorttab th:first-child button figcaption {
  margin-left: 48px;
}

.cfg_icon {
  display: none;
}
.cfg_icon {
  display: table-cell;
  text-align: center;
}

fieldset {
  border: 1px #777 solid;
  color: #cbc7b6;
}
.img {
  position: relative;
  top: 2px;
}

/*.rank {
  display: none;
}*/

.rank {
  display: table-cell;
  font-size: 20px;
}

#f_table input[type='checkbox'] {
  cursor: pointer;
}

.rank_sum {
  position: relative;
  font-weight: normal;
  font-size: 14px;
  text-align: center;
  top: -2px;
  float: left;
  height: 45px;
  top: 0 !important;
  padding-right: 5px;
  padding-left: 5px;
}

#f_table tr:hover, #f_match tr:hover {
  background-color: var(--tr3_color);
}

.n1 {
  background-color: var(--tr1_color);
}

.n2 {
  background-color: var(--tr2_color);
}

c12 {
  color: #aaa;
}
