@font-face {
    font-family: 'RobotoCondensed-Regular';
    src: url('/fonts/RobotoCondensed-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}


html {
        overflow-y: overlay;
        scrollbar-gutter: stable;
         background: #222;
         min-height: 100vh;
         scrollbar-width: none;  /* Скрываем полосу прокрутки */
          width: 100%;
          height: 100%;
       -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
}

html.wot {
    background: #222;
    scrollbar-width: none;  /* Скрываем полосу прокрутки */
}

::-webkit-scrollbar {
            width: 10px;
            background: transparent;
        }

        ::-webkit-scrollbar-thumb {
            background: #555;
            border-radius: 5px;
            border: 2px solid transparent;
            background-clip: content-box;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: #666;
}

body {
    visibility: hidden;
    opacity: 1;
    margin-bottom: 60px !important;
    position: relative;
    min-width: 946px;
    height: 100%;
    color: #b1b2b3;
    font-family: "RobotoCondensed-Regular", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 23px;
}

body.loaded {
    visibility: visible;
    opacity: 1;
}

.layout {
  position: relative;
  z-index: auto;
  height: auto;
  min-height: 100%;
  overflow: hidden;
  background-position: center top;
  background-repeat: no-repeat;
  transition: margin-left 0.3s ease-in-out; }

.sidebar-state-opened.viewport-min .layout, 
.sidebar-state-opened.viewport-min .footer {
    margin-left: 270px;
}

/* Начальный скрытый стиль для сайдбара */
.sidebar, .sidebar_holder, .layout {
    display: none;
}

/* Плавные анимации */
.sidebar {
    width: 260px;
    transition: width 0.3s ease-in-out;
}

.sidebar.collapsed {
    width: 0;
    overflow: hidden;
}

/* Сдвигаем контент, когда сайдбар скрыт */
.layout.sidebar-state-opened.viewport-min {
    margin-left: 10px;
    transition: margin-left 0.3s ease-in-out;
}

/* Кнопка */
.sidebar-toggle {
    position: fixed;
    left: 210px; /* Позиция кнопки в свернутом виде */
    top: 14px;
    background: transparent;
    color: white;
    border: none;
    cursor: pointer;
    padding: 0px;
    border-radius: 5px;
    transition: left 0.3s ease-in-out, transform 0.3s ease-in-out;
    z-index: 1000;
}

/* Поворот кнопки */
.rotated .toggle-icon {
    transform: rotate(180deg);
}

/* Когда сайдбар скрыт, кнопка перемещается */
.sidebar.collapsed + .sidebar-toggle {
    left: 10px;
}

.toggle-icon {
    
    width: 40px;
    height: 40px;
}

/* конец */

.sidebar {
  padding-bottom: 5px;
  background-repeat: no-repeat;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 25000;
  overflow: hidden;
/*  box-shadow: 0 0 20px 5px rgba(0, 0, 0, 0.5); */
  background-position: right top;
  background-color: #1a1a1a; }

  .sidebar_holder {
    box-sizing: border-box;
    height: 100%; }
    .sidebar__state-opened .sidebar_holder {
      width: 260px;
      padding-right: 20px;
      padding-left: 20px; }
  .sidebar_body {
    position: relative;
    }
    .sidebar_body::before {
      top: -10px;
      background-position: 0 -20px; }
  .sidebar_footer {
    box-sizing: border-box;
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
   display: none;
    transition: transform 0.3s ease-in-out;}
    .sidebar__state-opened .sidebar_footer {
      width: 250px;
      padding-right: 5px;
      padding-left: 15px;
      padding-bottom: 15px;}
    .sidebar_footer::before {
      top: -20px; }

.sidebar-clan {
  z-index: 10;
  display: block;
  height: 40px;
  margin: 0 -10px;
  padding: 0 10px;
  color: #808080;
  font-size: 16px;
  line-height: 20px; }
  .sidebar-clan:hover {
    color: #808080; }
  .sidebar__state-opened .sidebar-clan {
    display: table-cell;
    padding-top: 0px;
    padding-left: 50px;
    vertical-align: middle; }
  .sidebar-clan_emblem {
    position: absolute;
    z-index: 10; }
    .sidebar__state-opened .sidebar-clan_emblem {
    left: 20px;
    width: 40px;
    height: 40px; }

.sidebar-game {
  position: relative;
  box-sizing: border-box;
  height: 70px;
  margin: 0 0 0 -30px;
  padding: 15px 30px 15px 20px;
    transition: transform 0.3s ease-in-out;

  } 
  .sidebar-game__has-clan {
    display: block;
    background-image: url();
    background-repeat: no-repeat; }

    .sidebar-navigation {
        left: -5px;
    position: relative; }

    .sidebar-navigation_link {
    height: 40px;
    line-height: 50px;
    position: relative;
    display: block;
    margin: 0 0px;
    padding: 0 0 0 50px;
    color: #ffffff;
    font-size: 13px; }

.sidebar-navigation_link::before {
    content: "";
    position: absolute;
    top: 60%;
    left: 0;
    width: 100%;
    height: 0; /* Изначально скрыт */
    background: transparent; /* Нет фона */
    border-radius: 15px;
    transform: translateY(-50%);
    z-index: -1; /* Фон под текстом */
}

.sidebar-navigation_link:hover::before,
.sidebar-navigation_link.active::before { 
    height: 90%; /* Показываем фон при наведении и активном состоянии */
    background: #2d2d2d;
}

/* Убираем фон с основного элемента, чтобы он не накладывался */
.sidebar-navigation_link.active,
.sidebar-navigation_link:hover {
    background: none;
}
.sidebar-navigation_link2 {
height: 40px;
    line-height: 50px;
    position: relative;
    display: block;
    margin: 0 0px;
    padding: 0 0 0 50px;
    color: #ffffff;
    font-size: 13px;
}
.footer_probel {
padding: 5px
}

.logaut {
color: #b1b2b3;
    font-family: "RobotoCondensed-Regular", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 23px;
}

.logaut:hover {
 color: #b1b2b3;   
}

  .sidebar-navigation_icon {
    position: absolute;
    top: 50%;
    left: -3px;
    margin-top: -24px; }
    .sidebar__state-opened .sidebar-navigation_icon {
      left: -3px; }
  .sidebar-navigation_link-inner {
    text-transform: uppercase; }
  .sidebar-navigation_counter {
    position: absolute;
    box-sizing: border-box;
    color: #000;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.1pt; }

.sidebar-navigation_link__game {
      padding-left: 10px; }
    .sidebar-navigation__type-game .sidebar-navigation_link,
    .sidebar-navigation__type-footer .sidebar-navigation_link {
 
      padding-top: 0;
      background: none;
       }

.fixed-color-footer {
    position: fixed;
    left: 0;
    width: 100vw; 
    z-index: 999;
    transition: transform 0.3s ease-in-out; /* Плавный переход */
    bottom: -10px;
    height: 50px;
    background: #222;
    font-size: 13px;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.fixed-color-footer2 {
    position: fixed;
    right: 0;
    width: 100vw; /* Делаем футеры на всю ширину */
    z-index: 997;
    transition: transform 0.3s ease-in-out; /* Плавный переход */
    bottom: 40px;
    height: 120px;
    background: linear-gradient(
        to bottom,
        rgba(34, 34, 34, 0) 5%,
        rgba(34, 34, 34, 0) 10%, 
        rgba(34, 34, 34, 1) 20%, 
        rgba(34, 34, 34, 1) 100%
    );
    font-size: 13px;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

#loading-layer {
    display: none !important;
}

#registration {
    display: flex;
    text-align: center;
    height: 80vh;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.login__box.not-logged {
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    height: 80vh;
}

#login_name {
    box-sizing: border-box;
    padding: 10px 20px;
    border-radius: 10px;
    background: rgb(80 80 80 / 25%);
    color: var(--color1);
    margin-top: 5px;
    margin-bottom: 10px;
}
.owl-wrapper {
   text-align: center;
}

.login__form__input {
    max-width: 200px; }

.logotip {
    position: absolute;
    padding-left: 7px;
    top: 11px;
    width: 35px;
    height: 35px;
     }

.uinfo {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-top: 167px;
}
.form_submit {
    display: flex;
    justify-content: center;
}

.login-btn {
margin: 0px 10px 0px 0px;
}

#dle-lostpassword  {
    display: flex;
    text-align: center;
    height: 80vh;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#dle-captcha {
    text-align: center;
    display: block;
    margin-bottom: 8px;
}

.topbar{
padding-top: 10px;
}

html, body, div, span, iframe, h1, h2, h3, a, p, img, strong, b, i, dl, dt, dd, ul, li, table, tbody, tr, td {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 100%;
  vertical-align: baseline; }


ul {
  list-style-type: none;}

a {
  color: #fff;
  text-decoration: none; }
  a:hover {
    color: #fff;
    text-decoration: none; }

h1 {
    text-align: center;
  margin: 46px 0 12px;
  color: #fff;
  font-size: 35px;
  font-weight: 400;
  line-height: 45px; }

h2 {
  margin: 30px 0 15px;
  color: #fff;
  font-size: 30px;
  font-weight: 400;
  line-height: 38px; }

h3 {
  margin: 30px 0 15px;
  color: #fff;
  font-size: 25px;
  font-weight: 400;
  line-height: 30px; }

p {
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  justify-content: center;
}
   
/*-- ФОРМЫ ------------------------------*/
.form-group__label { width: 100px; font-size: 16px }
.form-group__input { padding: 15px 20px; cursor: text; -webkit-box-flex: 1; -ms-flex-positive: 1; flex-grow: 1 }
.login_check { position: relative; -webkit-box-flex: 1; -ms-flex-positive: 1; flex-grow: 1 }
.login_check__btn { position: absolute; right: 5px; bottom: 5px; top: 5px }

/*-- ФОРМА РЕГИСТРАЦИИ ------------------------------*/
.reg_form .form-group, .lostpas_form .form-group, .addnew_form .form-group:not(.descr) { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; margin-bottom: 10px; -ms-flex-wrap: wrap; flex-direction: column; align-items: flex-start;}
.reg_text { font-size: 16px; margin-bottom: 20px; }
.reg_btn { padding: 12px 40px; display: block; }
#result-registration span { display: block; margin-left: 15px; max-width: 400px; }
.lostpas_form .form-group__label { width: 150px; }



.major-btn, button {
    border: 1px solid transparent; /* Устанавливаем прозрачную границу */
    box-shadow: none; /* Убираем тени, если они есть */
    outline: none; /* Убираем outline при фокусе */
    transition: border-color 0.3s ease;
    border-color: #414243 !important;
    /* Плавное изменение цвета границы */
}

.major-btn:hover, button:hover {
     /* Цвет границы при наведении */
}

.major-btn:active, button:active {
    border-color: #222 !important;
     /* Цвет границы при нажатии */
}


/*--ЧАСТЫЕ СТИЛИ ------------------------------*/
.icon-right { margin-left: 10px; }
.icon-left { margin-right: 10px; }
.login__btn_regist {margin: 0px 10px 0px 0px;}
.hover-op, #dosearch, .bbcodes, .ui-button {-webkit-transition: ease-out 0.2s;-o-transition: ease-out 0.2s;transition: ease-out 0.2s; cursor: pointer;}
.hover-op:hover, #dosearch:hover, .bbcodes:hover, .ui-button:hover {opacity: 0.7;}
.active-op:active, #dosearch:active, .bbcodes:active, .ui-button:active { opacity: 0.5; }
.btn-op {  background: rgb(80 80 80 / 30%); display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; border-radius: 12px; }
.major-btn { margin-top: 15px;  border-radius: 15px; margin-bottom: 10px; }
.major-btnreg { margin-top: 10px; border-radius: 15px; margin-bottom: 15px; }
.op1 { opacity: var(--op1); }
.trns, .trns:hover {-webkit-transition: ease-out 0.2s;-o-transition: ease-out 0.2s;transition: ease-out 0.2s;}
.text-over {-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;}
.wide { width: 100%; }




/*-- Удалить, если хочешь текст темнее в формах регистрации и логина ------------------------------*/
input::-webkit-input-placeholder { color: var(--color3); opacity: var(--op1); }

input::-moz-placeholder { color: var(--color3); opacity: var(--op1); }

input:-ms-input-placeholder { color: var(--color3); opacity: var(--op1); }

input::-ms-input-placeholder { color: var(--color3); opacity: var(--op1); }

input::placeholder { color: var(--color3); opacity: var(--op1); }
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active  { -webkit-box-shadow: 0 0 0 30px rgb(81 81 81) inset !important; -webkit-text-fill-color: var(--color1) !important; }
/*-- Конец удаления ------------------------------*/
button,input,optgroup,select,textarea { color: var(--color2); }
input[type="text"]:not(.login__form__input),
input[type="password"]:not(.login__form__input),
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="search"],
button,
textarea { -webkit-box-sizing: border-box; box-sizing: border-box; padding: 10px 20px; border-radius: 10px; background: rgb(80 80 80 / 25%); color: var(--color1); }
/* Стили для состояния фокуса */
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
textarea:focus {
    border-color: #555; /* Желтая окантовка при фокусе */
    outline: none; /* Убираем стандартный outline */
}
[type="checkbox"], [type="radio"] { -webkit-filter: hue-rotate(226deg) invert(0.85); filter: hue-rotate(226deg) invert(0.85); }
[type="checkbox"]:not(.mass input, .switch-input), [type="radio"]:not(.mass input) { margin-right: 8px; zoom: 1.4; vertical-align: sub; }

[class^="icon-"], [class*=" icon-"] { font-family: 'icomoon' !important; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none; line-height: 1; color: var(--color_i); font-size: 20px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

input[type="file"] { background: rgb(80 80 80 / 35%); padding: 10px 0 10px 20px; border-radius: 10px; opacity: 0.8; }
input[type="file"]:before, .qq-upload-button:before { font-family: 'icomoon' !important; content: "📷"; font-size: 20px; vertical-align: middle; margin-right: 10px; color: #fff; }
select { width: 100%; height: 30px; background: #333; border-radius: 5px; padding: 0 10px; }
select:focus { background: #222; }
option, option:focus { background: #353535; }

.logged__avatar--img { max-width: 100px; margin: 30px 10px 10px 55px;}

/* --- Поля форм --- */
select, textarea, input[type="text"], input[type="password"], input[type="file"],
input[type="datetime"], input[type="datetime-local"], input[type="date"],
input[type="month"], input[type="time"], input[type="week"], input[type="number"],
input[type="email"], input[type="url"], input[type="search"], input[type="tel"],
input[type="color"] {
    box-sizing: border-box;
    padding: 10px 20px;
    background: rgb(80 80 80 / 25%);
    color: var(--color1);
	display: inline-block;
	width: 302px; height: 46px;
	line-height: 22px;
	vertical-align: middle;
	border-radius: 8px;
	border: 1px solid #414243;
	transition: border 0.2s linear 0s;
	
} 

 input[type="file"], input[type="image"] { padding: 0; border-width: 0; background-color: transparent;}