/* header.css — шапка, меню, навигация (из profile.css) */
.main-header {
  position: absolute;
  /*position: fixed;
  */
    top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  box-shadow: 0 0 8px 0 rgba(0,0,0,0.12);
  padding:0;
  -webkit-transform: translate3d(0,0,0);
  height: 80px;
  font: 500 14px/18px "Cuprum", sans-serif;
}
.center-header .header-inner {
  width: 1170px;
  margin: 0 auto;
  position: relative;
}
.center-header .header-inner .show-search-button {
  display:block;
}
.dark-header {
  background:#2F3B59;
  min-width: 1200px;
}
.logo-holder {
  float:left;
  position:relative;
  top:18px;
  height:44px;
}
.add-list {
  float:right;
  padding: 10px 20px;
  position:relative;
  top:20px;
  border-radius:30px;
  margin-right: 10px;
  color:#fff;
  font-weight:700;
  text-transform:uppercase;
  font-size:13px;
  background: #4DB7FE;
}
.add-list span {
  padding-left:4px;
  font-weight:700;
}
.dark-header .add-list {
  box-shadow:0px 0px 0px 7px rgba(255,255,255,0.2);
  color:#FFF;
  text-decoration: none;
}
.dark-header .add-list:hover {
  box-shadow:0px 0px 0px 7px rgba(255,255,255,0.1);
}
.show-reg-form {
  float:right;
  text-decoration: none;
  color:#666;
  cursor:pointer;
  margin-right:40px;
  position:relative;
  top:31px;
  font-size:13px;
  font-weight:600;
}
.dark-header .show-reg-form {
  color:#fff;
}
.show-reg-form:before {
  content:'';
  position:absolute;
  top:50%;
  right:-20px;
  height:30px;
  width:1px;
  margin-top:-15px;
  background:rgba(255,255,255,0.41);
}
.dark-header .show-reg-form:before {
  color:#fff;
  background:rgba(255,255,255,0.21);
}
.show-reg-form i {
  padding-right:10px;
}
a.show-search-button {
  color:#fff;
  float:left;
  text-decoration: none;
  position:relative;
  margin-left:20px;
  top:32px;
  cursor:pointer;
  font-weight:600;
  padding-left:18px;
}
a.show-search-button:hover,
a.show-search-button.active {
  color:#54BCFE;
}
.show-search-button:before {
  content:'';
  position:absolute;
  left:0;
  top:-6px;
  bottom:-6px;
  width:1px;
  background:rgba(255,255,255,0.21);
}
.show-search-button i {
  padding-right:8px;
}
.header-user-menu {
  float:right;
  position:relative;
  /* Центр по вертикали: (80px шапки − 40px кнопки с бордюром, у <button>
     box-sizing:border-box) / 2 = 20px */
  top:20px;
  margin-left: 0px;
  margin-right: 15px;
}
.header-user-menu:after {
  content:'';
  position:absolute;
  left:-24px;
  height:30px;
  top:5px;
  width:1px;
  background:rgba(255,255,255,0.21);
}
/* Кнопка меню: аватар + имя + шеврон. Состояние открытия — класс
   .open на .header-user-menu (ставит ipg.js), inline onclick нет. */
.header-user-name {
  display:flex;
  align-items:center;
  gap:9px;
  height:40px;
  padding:0 14px 0 5px;
  background:none;
  border:1px solid rgba(255,255,255,0.14);
  border-radius:21px;
  cursor:pointer;
  color:#fff;
  font-family:inherit;
  font-size:14px;
  font-weight:600;
  white-space:nowrap;
  transition:background 0.2s, border-color 0.2s;
}
.header-user-name:hover,
.header-user-menu.open .header-user-name {
  background:rgba(255,255,255,0.09);
  border-color:rgba(255,255,255,0.28);
}
.header-user-avatar {
  display:block;
  width:32px;
  height:32px;
  border-radius:100%;
  overflow:hidden;
  flex:0 0 32px;
  background:#39434f;
  box-shadow:0 0 0 2px rgba(84,188,254,0.4);
}
.header-user-avatar img {
  display:block;
  width:100%;
  height:100%;
}
.header-user-nick {
  max-width:150px;
  overflow:hidden;
  text-overflow:ellipsis;
}
/* Шеврон из спрайта (i-caret-down): у FontAwesome-версии :before с
   content-глифом не работал — FA из проекта удалён. */
.header-user-caret {
  width:14px;
  height:14px;
  font-size:14px;
  color:#54BCFE;
  margin-inline-end:0;
  transition:transform 0.2s ease-in-out;
}
.header-user-menu.open .header-user-caret {
  transform:rotate(180deg);
}
.header-user-dropdown {
  margin:13px 0 0 0;
  opacity:0;
  visibility:hidden;
  transform:translateY(-8px);
  position:absolute;
  min-width:236px;
  top:100%;
  right:0;
  z-index:110;
  padding:7px 0;
  list-style:none;
  background:#fff;
  border-radius:10px;
  border:1px solid #e6eaf0;
  box-shadow:0 14px 34px rgba(16,24,40,0.16);
  transition:opacity 0.18s ease-in-out, transform 0.18s ease-in-out, visibility 0.18s;
}
.header-user-menu.open .header-user-dropdown {
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}
.header-user-dropdown:before {
  content:'';
  position:absolute;
  top:-6px;
  right:26px;
  width:10px;
  height:10px;
  background:#fff;
  border-left:1px solid #e6eaf0;
  border-top:1px solid #e6eaf0;
  transform:rotate(45deg);
}
.header-user-dropdown li {
  display:block;
  padding:0;
}
.header-user-dropdown li a {
  display:flex;
  align-items:center;
  gap:10px;
  color:#46536b;
  text-decoration:none;
  font-weight:500;
  font-size:13.5px;
  text-align:left;
  padding:9px 16px;
  transition:background 0.15s, color 0.15s;
}
.header-user-dropdown li a .ico {
  width:16px;
  height:16px;
  font-size:16px;
  color:#8a97ab;
  margin-inline-end:0;
  transition:color 0.15s;
}
.header-user-dropdown li a:hover {
  background:#f2f7fd;
  color:#1d6fb8;
}
.header-user-dropdown li a:hover .ico {
  color:#54BCFE;
}
.header-user-dropdown .header-user-sep {
  height:1px;
  margin:7px 12px;
  background:#e6eaf0;
}
.header-user-dropdown .header-user-exit:hover {
  background:#fdf1f0;
  color:#c0392b;
}
.header-user-dropdown .header-user-exit:hover .ico {
  color:#c0392b;
}
.nav-holder {
  float:right;
  position:relative;
  top:18px;
  margin-right:30px;
  opacity:1;
  right:0;
  visibility:visible;
}
.nav-holder nav {
  position:relative;
  float: right;
}
.nav-holder nav li {
  float:left;
  position:relative;
  margin-left:6px;
  height:45px;
}
.nav-holder nav li:hover {
  color: #54BCFE;
}
.nav-holder nav li ul {
  margin: 30px 0 0 0;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  min-width:170px;
  top: 45px;
  left: 0;
  z-index: 1;
  padding:10px 0;
  background:#fff;
  border-radius:6px;
  border:1px solid #eee;
  transition: all .2s ease-in-out;
}
.nav-holder nav li:hover > ul {
  opacity: 1;
  visibility: visible;
  margin: 0;
}
.nav-holder nav li ul li ul {
  top: -10px;
  left: -100%;
  margin-left:25px;
  margin-top:0;
  max-width:150px;
}
.nav-holder nav li ul li:hover > ul {
  opacity: 1;
  visibility: visible;
  margin-right:0px;
}
.nav-holder nav li ul li {
  width:100%;
  float:left;
  height:auto;
  position:relative;
}
.nav-holder nav li a {
  text-decoration: none;
  float: left;
  padding: 10px;
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
  text-transform: none;
  line-height: 25px;
  letter-spacing: 0px;
  color: #494949;
  -webkit-transition: all 100ms linear;
  transition: all 100ms linear;
}
.dark-header .nav-holder nav li a {
  color:#fff;
}
.dark-header .nav-holder nav li a:hover,
.dark-header .nav-holder nav li.active > a {
  color: #54BCFE;
}
.nav-holder nav li a:before {
  content:'';
  position:absolute;
  bottom:-19px;
  left:0;
  right:0;
  height:4px;
  border-radius:4px;
  display:none;
}
.nav-holder nav li a i {
  padding-left:1px;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
}
.nav-holder nav li a:hover i {
  -webkit-transform: rotateX(180deg);
  transform: rotateX(180deg);
}
.nav-holder nav li ul a {
  color:#566985;
  float:left;
  width:100%;
  font-weight:500;
  text-align:left;
  padding:5px;
}
.dark-header .nav-holder nav li ul a {
  color:#000;
}
nav li ul a:before,
nav li ul a:after {
  display:none;
}
.rows {
  display: block;
  position: relative;
  border-bottom: 1px solid #e5e5e5;
  padding: 9px 15px 9px 0;
  width: 370px;
}
.rows:first-child {
  border-top: 1px solid #e5e5e5;
}
.rows label {
  position: absolute;
  top: 16px;
  left: 0;
  padding: 0;
  margin: 0;
  cursor: text;
  width: 125px;
}
.rows .right {
  display: block;
  margin: 0 0 0 125px;
}
#people-server-list {
  font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
  font-size: 12px;
  background: #fff;
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  margin-bottom: 15px;
}
#people-server-list th {
  font-size: 14px;
  background-color: #F4F6FB;
  font-weight: 400;
  color: #039;
  padding: 10px 8px;
  border-bottom: 2px solid #6678b1;
}
#people-server-list td {
  border-bottom: 1px solid #ccc;
  color: #669;
  padding: 6px 6px;
}
#people-server-list td a {
  color: #669;
}
#people-server-list tbody tr:hover td a,
#people-server-list tbody tr:hover td {
  color: #009;
}
#people-server-list span {
  color: #979797;
  font-size: 10px;
}
input.cls_inpt,
select.cls_inpt {
  background-color: #FFF;
  background-image: none;
  border: 1px solid #CCC;
  border-radius: 0;
  box-shadow: inset 0 1px 1px rgba(0,0,0,0.071);
  color: #555;
  font-size: 13px;
  line-height: 1.43;
}
.search_form b {
  color: #555;
  font-size: 11px;
  margin: 0;
}
.new_year_start {
  border-bottom: 4px solid #999;
  background: #F7F7F7;
}
.new_year {
  margin-left: auto;
  margin-right: auto;
  width: 1170px;
}
.warning_new {
  color: #2DC801;
  font-size: 15px;
  padding: 10px;
  text-align: left;
  font: 15px/20px Cuprum;
  background-image: url("https://i.ip-games.ru/images/7cdad137.png");
  background-position: 0 10px;
  background-repeat: no-repeat;
  height: 170px;
}
.ng_title {
  padding-top: 5px;
  font: 25px/20px Cuprum;
  color: #FB0803;
  padding-left: 270px;
}
.ng_mintitle {
  padding-top: 10px;
  font: 20px/20px Cuprum;
  color: #000;
  padding-left: 270px;
}
.ng_text {
  padding-top: 10px;
  font: 17px/20px Cuprum;
  color: #575757;
  padding-left: 270px;
}
.ng_text a {
  color: #575757;
  text-decoration: underline;
}
.ng_text_end {
  padding-top: 7px;
  font: 17px/20px Cuprum;
  color: #FB0803;
  padding-left: 270px;
}
.warning_new_text {
  width: 1170px;
  margin: 0 auto;
}
.warning_new_close {
  float: left;
}
.ms_status {
  padding-bottom: 15px;
}
.ms_status div {
  background: #FAFAFA;
  padding: 10px;
  text-decoration: none;
  font: 500 25px/18px Cuprum, sans-serif;
}
.search_form .field-wrap {
  position: relative;
}
.search_form .field-wrap .search-history {
  position: absolute;
  right: 8px;
  top: 50%;
  margin-top: -8px;
  color: #737373;
  font-size: 16px;
  font-weight: 500;
  background-image: none;
}
.search_form .field-wrap .search-history:hover {
  color: #4c4c4c;
}
.inform_window {
  width:350px;
  padding: 15px;
  border: 1px solid transparent;
  border-radius: 4px;
  display: inline-block;
  margin: 0px auto;
  position: fixed;
  z-index: 100;
  bottom: 20px;
  right: 20px;
}
.top_menu,
.top_menu ul,
.top_menu li,
.top_menu a {
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
}
.top_menu {
  height: 40px;
  width: 700px;
  float: left;
}
.top_menu li {
  position: relative;
  list-style: none;
  float: left;
  display: block;
  height: 40px;
  font: 500 14px/18px "Cuprum", sans-serif;
}
.top_menu li a {
  display: block;
  padding: 0 10px;
  line-height: 40px;
  text-decoration: none;
  border-left: 1px solid #393942;
  border-right: 1px solid #4f5058;
  color: #f3f3f3;
  text-shadow: 1px 1px 1px rgba(0,0,0,.6);
  -webkit-transition: color .2s ease-in-out;
  -moz-transition: color .2s ease-in-out;
  -o-transition: color .2s ease-in-out;
  -ms-transition: color .2s ease-in-out;
  transition: color .2s ease-in-out;
}
.top_menu li:first-child a {
  border-left: none;
}
.top_menu li:last-child a {
  border-right: none;
}
.top_menu li:hover > a {
  color: #8fde62;
  background-color: #000;
}
.top_menu ul {
  position: absolute;
  top: 35px;
  left: 0;
  z-index:1000;
  opacity: 0;
  background: #3c3c3c;
  -webkit-border-radius: 0 0 5px 5px;
  -moz-border-radius: 0 0 5px 5px;
  border-radius: 0 0 5px 5px;
  -webkit-transition: opacity .25s ease .1s;
  -moz-transition: opacity .25s ease .1s;
  -o-transition: opacity .25s ease .1s;
  -ms-transition: opacity .25s ease .1s;
  transition: opacity .25s ease .1s;
}
.top_menu li:hover > ul {
  opacity: 1;
}
.top_menu ul li {
  height: 0;
  overflow: hidden;
  padding: 0;
  -webkit-transition: height .25s ease .1s;
  -moz-transition: height .25s ease .1s;
  -o-transition: height .25s ease .1s;
  -ms-transition: height .25s ease .1s;
  transition: height .25s ease .1s;
}
.top_menu li:hover > ul li {
  height: 40px;
  overflow: visible;
  padding: 0;
}
.top_menu ul li a {
  width: 150px;
  margin: 0;
  border: none;
  border-bottom: 1px solid #616161;
}
.top_menu .active a {
  color: #8fde62;
  background-color: #000;
}
.top_menu ul li:last-child a {
  border: none;
  border-radius: 0 0 5px 5px;
}
.history-table-status_process {
  color: #858585;
}
.history-table-status_paid {
  color: #44bb14;
}
#notification {
  background-color: rgb(41 128 185 / 95%);
  padding: 32px 0px;
  color: #fff;
  font-size: 14px;
  text-align: center;
  position: fixed;
  width: 100%;
  top: -150px;
  z-index:101;
}
#notification .notification-mess-close {
  cursor: pointer;
  position: absolute;
  font-size: 20px;
  right: 60px;
  top: 0;
  color: white;
  height: 100%;
  display: flex;
  align-items: center;
}

/* Мягкая тень дропдаунов шапки — в стиле новых страниц */
.header-user-menu ul,
.nav-holder nav li ul {
  box-shadow: 0 8px 24px rgba(16, 24, 40, .12);
}
