:root {
  --bg-color: #1a1a1a;
  --navbar-color: #121212;
  --sidebar-color: #1f1f1f;
  --block-color: #2b2b2b;
  --sidebar-gradient-1: #ffd968;
  --sidebar-gradient-2: #ff6262;
  --item-color: #fff;
  --default-text-color: #fff;
  --top-text-color: #737373;
  --default-text-color-invert: #111;
  --hover: #262626;
  --table-line: #515151;
  --svg: 100;
  --font-weight-0: 400;
  --font-weight-1: 500;
  --font-weight-2: 500;
  --font-weight-3: 600;
  --font-weight-4: 700;
  --span-color: #F27B26;
  --span-color-addit: #FA9546;
  --span-color-back: #b34b01c9;
  --server-graph-rgba: 255, 117, 0, 0.9;
}
/*
 * Получаем нужные нам шрифты напрямую с gstatic без импорта ( Ибо не по правславному всё это )
 */

@font-face {
  font-display: fallback;
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 300;
  src: local("Montserrat Light"), local("Montserrat-Light"),
    url(https://fonts.gstatic.com/s/montserrat/v13/JTURjIg1_i6t8kCHKm45_cJD3gnD_g.woff2)
      format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

@font-face {
  font-display: fallback;
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  src: local("Montserrat Regular"), local("Montserrat-Regular"),
    url(https://fonts.gstatic.com/s/montserrat/v13/JTUSjIg1_i6t8kCHKm459W1hyzbi.woff2)
      format("woff2");
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-display: fallback;
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  src: local("Montserrat Regular"), local("Montserrat-Regular"),
    url(https://fonts.gstatic.com/s/montserrat/v13/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2)
      format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

@font-face {
  font-display: fallback;
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500;
  src: local("Montserrat Medium"), local("Montserrat-Medium"),
    url(https://fonts.gstatic.com/s/montserrat/v13/JTURjIg1_i6t8kCHKm45_ZpC3g3D_u50.woff2)
      format("woff2");
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-display: fallback;
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500;
  src: local("Montserrat Medium"), local("Montserrat-Medium"),
    url(https://fonts.gstatic.com/s/montserrat/v13/JTURjIg1_i6t8kCHKm45_ZpC3gnD_g.woff2)
      format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

@font-face {
  font-display: fallback;
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  src: local("Montserrat SemiBold"), local("Montserrat-SemiBold"),
    url(https://fonts.gstatic.com/s/montserrat/v13/JTURjIg1_i6t8kCHKm45_bZF3g3D_u50.woff2)
      format("woff2");
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-display: fallback;
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  src: local("Montserrat SemiBold"), local("Montserrat-SemiBold"),
    url(https://fonts.gstatic.com/s/montserrat/v13/JTURjIg1_i6t8kCHKm45_bZF3gnD_g.woff2)
      format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

/*
 * Описываем дефолты
 */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Montserrat", sans-serif;
  font-weight: var(--font-weight-1);
  font-size: 15px;
  margin: 0;
  line-height: 1.5;
  text-align: left;
  padding-right: 0;
  background-color: var(--bg-color);
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--default-text-color);
}

body._lock {
  overflow-y: hidden;
}

/* @media screen and (min-width: 500px) {
  html {
    margin-left: calc(100vw - 100%);
    margin-right: 0;
  }
} */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--default-text-color);
  margin-top: 0;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

dl,
ol,
ul,
ol ol,
ol ul,
ul ol,
ul ul {
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

svg {
  overflow: hidden;
  vertical-align: middle;
}

a {
  color: var(--span-color);
  text-decoration: none;
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
}

span {
  color: var(--span-color);
}

b,
strong {
  font-weight: bolder;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

p {
  font-size: 13px;
  color: var(--default-text-color);
}

select {
  word-wrap: normal;
  border: none;
}

button,
select {
  text-transform: none;
}

button,
input,
optgroup,
select,
textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  border: none;
  -webkit-border-radius: 0;
  border-radius: 0;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}

img {
  vertical-align: middle;
  border-style: none;
}

table {
  border: none;
  border-collapse: collapse;
}

th img {
  max-width: 61px;
  max-height: 24px;
}
tbody th a {
  color: var(--default-text-color);
}

[role="button"],
a,
area,
button,
input,
label,
select,
summary,
textarea {
  -ms-touch-action: manipulation;
  touch-action: manipulation;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}


button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

textarea {
  overflow: auto;
}

[type="checkbox"],
[type="radio"] {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details {
  display: block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

li {
  list-style-type: none;
}

hr {
  border: none;
  width: 232px;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 18px;
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

[hidden] {
  display: none;
}

/*
 * Цветовая палитра
 */

.color-red {
  color: #dc3545;
}

.color-green {
  color: #28a745;
}

.color-blue {
  color: #17a2b8;
}

/*
 * Описываем контейнер
 */

.global-container {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .5s ease-in-out, margin .5s ease-in-out;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background-color: #121212;
  border-bottom: 1px solid #1d1e1f;
}

.header-container {
  position: relative;
  max-width: 1400px;
  min-height: 55px;
  margin: 0 auto;
  padding: 0px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header_logo-area {
  max-height: 59px;
  max-width: 270px;
  z-index: 99;
  margin-right: 30px;
  display: flex;
  align-items: center;
}

.header_logo-area img { 
  position: relative;
  max-height: 40px;
  max-width: 190px;
}

.header_right-area {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
}

.burger-icon {
  display: none;
}

.menu_list > li {
  position: relative;
  margin: 0 25px 0 0;
}

.menu_list > li:hover .menu_sub-list {
  opacity: 1;
  visibility: visible;
  transform: translate(0px, 0px);
  pointer-events: all;
}

.menu_link {
  display: flex;
  align-items: center;
  color: #cecece;
  font-size: 15px;
  cursor: pointer;
}

.menu_link:hover {
  color: #ffffff;
}

.menu_sub-list {
  position: absolute;
  top: 100%;
  left: -15px;
  padding: 15px;
  background-color: rgb(48, 48, 48);
  min-width: 200px;
  border-radius: 6px;
  white-space: nowrap;
}

.menu_sub-link {
  display: flex;
  align-items: center;
  color: rgb(216, 216, 216);
  font-size: 15px;
}

.menu_sub-link:hover{
  color: #fffdfd;
}

@media (min-width: 1025px) {

  .menu_list {
    display: flex;
    justify-content: flex-start;
  }

  .menu_list > li {
    padding: 10px 0;
  }

  .menu_sub-list {
    transform: translate(0px, 10%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease 0s;
    pointer-events: none;
  }

  .menu_sub-list li {
    margin: 0 0 20px 0;
  }
  
  .menu_sub-list li:last-child{
    margin: 0;
  }
}

@media (max-width: 1024px) {
  .burger-icon {
    z-index: 5;
    display: block;
    position: relative;
    width: 30px;
    height: 18px;
    cursor: pointer;
    margin-right: 10px;
  }

  .burger-icon span,
  .burger-icon::before,
  .burger-icon::after {
    left: 0;
    position: absolute;
    height: 10%;
    width: 100%;
    transition: all 0.2s ease 0s;
    background-color: #ffffff;
  }

  .burger-icon::before,
  .burger-icon::after {
    content: "";
  }

  .burger-icon::before {
    top: 0;
  }

  .burger-icon::after {
    bottom: 0;
  }

  .burger-icon span {
    top: 50%;
    transform: scale(1) translate(0px, -50%);
  }

  .burger-icon.active span {
    transform: scale(0) translate(0px, -50%);
  }

  .burger-icon.active::before {
    top: 50%;
    transform: rotate(-45deg) translate(0px, -50%);
  }

  .burger-icon.active::after {
    bottom: 50%;
    transform: rotate(45deg) translate(0px, 50%);
  }

  .header_right-area {
    justify-content: flex-end;
  }

  .header-menu {
    position: fixed;
    top: 55px;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 25px 30px 30px 30px;
    transition: left 0.3s ease 0s;
    overflow: auto;
  }

  .header-menu.active {
    left: 0;
  }

  .menu_list > li {
    flex-wrap: wrap;
    padding: 0 0 30px 0;
  }

  .menu_title {
    display: none;
  }

  .menu_sub-list {
    display: block;
    position: relative;
    flex: 1 1 100%;
    background-color: inherit;
    left: 0;
    padding: 0;
  }

  .menu_sub-list li {
    padding: 0 0 30px 0;
  }
}

/* @media (min-width: 1221px) {
  .menu-tofull {
    display: block;
  }
  .menu-tosub {
    display: hide;
  }
  
} */

.menu-tosub {
  display: none;
}

@media (max-width: 1225px) {
  .menu-tofull {
    display: none;
  }
  .menu-tosub {
    display: block;
  }
  .header_logo-area {
    margin-right: 20px;
  }
  .menu_list > li {
    margin: 0 20px 0 0;
  }
}

.container-fluid {
  flex: 1 1 auto;
  width: 100%;
  max-width:1400px;
  padding-top: 55px;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
  z-index: 0;
}

.footer {
  margin-top: 1rem;
  text-align: center; 
  padding: 18px;
  color: var(--default-text-color);
  font-size: 12px;
  font-weight: var(--font-weight-2);
  background-color: #121212;
  border-top: 1px solid #1d1e1f;
}

.row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.col,
.col-1,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-10,
.col-11,
.col-12,
.col-auto {
  margin-top: 14px;
  width: 100%;
  padding-right: 7px;
  padding-left: 7px;
}

.col-hide {
  display: none;
}

@media (min-width: 768px) {

  .col {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
  }
  .col-1 {
    -ms-flex: 0 0 8.333333%;
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
  }
  .col-2 {
    -ms-flex: 0 0 16.666667%;
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
  .col-3 {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
  }
  .col-4 {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .col-5 {
    -ms-flex: 0 0 41.666667%;
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }
  .col-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-7 {
    -ms-flex: 0 0 58.333333%;
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }
  .col-8 {
    -ms-flex: 0 0 66.666667%;
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
  .col-9 {
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 75%;
  }
  .col-10 {
    -ms-flex: 0 0 83.333333%;
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }
  .col-11 {
    -ms-flex: 0 0 91.666667%;
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
  }
  .col-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
  .col-auto {
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
  }
  
  .col-hide {
    display: block;
  }
}



/*
 * Настройка таблиц
 */
.table-responsive {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.table {
  margin-bottom: 0;
}
.tb-name a {
  color: var(--default-text-color);
}
.tb-name {
  max-width: 160px;
}
.pointer {
  cursor: pointer;
}
.pointer:hover a {
  color: var(--span-color);
}

.table {
  width: 100%;
  margin-bottom: 0;
  color: var(--default-text-color);
}
.table td,
.table th {
  padding: 0.65rem;
  vertical-align: middle;
  border-top: none;
  border-bottom: 0px solid var(--hover)
}
.table thead th {
  font-weight: var(--font-weight-2);
  font-size: 13px;
  text-transform: uppercase;
  color: var(--default-text-color);
  vertical-align: bottom;
  border-bottom: 2px solid var(--table-line);
}
.table tbody tr {
  font-weight: var(--font-weight-1);
  font-size: 13px;
  color: var(--default-text-color);
}

.table tbody tr .tb-type i {
  font-size: 1.4em;
  color: var(--default-text-color);
}

.tabs-panel {
  float: left;
}
.table .selected {
  color: var(--span-color);
}
.table-hover tbody tr:hover {
  color: var(--default-text-color);
  background-color: rgba(0, 0, 0, 0.6)
}
.table-header {
  width: 100%;
  float: left;
}

/*
 * Изменяем Scrollbar
 */

::-webkit-scrollbar-thumb {
  border-width: 1px 1px 1px 2px;
  background-color: var(--table-line);
}

::-webkit-scrollbar-thumb:hover {
  border-width: 1px 1px 1px 2px;
  border-color: var(--table-line);
  background-color: var(--table-line);
}

::-webkit-scrollbar-track {
  border-width: 0;
}

::-webkit-scrollbar-track:hover {
  background-color: var(--sidebar-color);
}

/*
 * Модальное окно
 */

.modal-window {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  position: fixed;
  visibility: hidden;
  opacity: 0;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 9999;
  pointer-events: auto;
  transition: all 0.4s ease 0s;
  /* background-color: rgba(0, 0, 0, 0.75); */
}

.modal-window.active {
  visibility: visible;
  opacity: 1;
}

.modal-window .card {
  border: 1px solid #1d1e1f;
  border-radius: 6px;
  box-shadow: 0px 0px 60px 30px rgb(0, 0, 0);
}

.modal-window > div {
  top: 15%;
  max-width: 95%;
  max-height: 600px;
  background: var(--sidebar-color);
}

.modal-close-icon {
  position: absolute;
  right: 10px;
  top: 4px;
  color: #aaa;
  text-align: center;
  text-decoration: none;
}

.modal-close-icon:hover {
  color: var(--default-text-color);
}

/*
 * Card блоки
 */

.card {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-clip: border-box;
  overflow: hidden;
  margin-bottom: 0px;
  background-color: #121212;
  border: 1px solid #1d1e1f;
  border-radius: 4px;
}

.card-header {
  padding: 10px;
  display: inline-block;
}

.icon {
  margin-right: 5px;
  display: inline-block;
}

.icon svg,
.icon img {
  filter: invert(var(--svg));
  margin-bottom: 4px;
  width: 16px;
}

.invert {
  filter: invert(var(--svg));
}

.card-container {
  margin: 10px 25px;
}

.card-bottom {
  margin-left: 25px;
  margin-right: 25px;
  margin-bottom: 25px;
}

.card .nav-tabs {
  margin-left: 10px;
  border-bottom: 0;
  font-weight: var(--font-weight-2);
  font-size: 14px;
}
.card .nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
  color: var(--span-color);
  background-color: inherit;
  border-color: inherit;
}
.card .nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link {
  color: var(--default-text-color);
  padding: 0.5rem 0rem;
  margin-left: 15px;
}
.card .nav-tabs .nav-link {
  border: 0;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}
.card .nav-tabs .nav-item.show .nav-link,
.nav-tabs img {
  height: 24px;
  width: 24px;
  margin-bottom: 3px;
}

.card-block-big .info {
  color: var(--default-text-color);
}

.circle_map {
  border-radius: 50%;
  object-fit: cover;
  overflow: hidden;
  max-width: 32px;
  width: 32px;
  max-height: 32px;
  height: 32px;
}

.rounded-circle {
  border-radius: 50%;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.text-left {
  text-align: left;
}

.text_on_line {
  position: relative;
  z-index: 1;
  overflow: hidden;
  text-align: center;
  color: var(--default-text-color);
}
.text_on_line:before,
.text_on_line:after {
  content: "";
  display: inline-block;
  width: 100%;
  height: 1px;
  background: var(--span-color);
  z-index: -1;
  position: relative;
  vertical-align: middle;
}
.text_on_line:before {
  right: 15px;
  margin: 0 0 0 -100%;
}
.text_on_line:after {
  left: 15px;
  margin: 0 -100% 0 0;
}

.a-type:hover {
  background-color: var(--hover);
  cursor: pointer;
  color: var(--span-color);
}

.a-type a:hover {
  background-color: var(--hover);
  cursor: pointer;
  color: var(--span-color);
}

.navbar-icon svg,
.navbar-icon img {
  filter: invert(var(--svg));
}

.search i {
  margin-top: 1.9px;
  font-size: 1.35em;
}

.search_form {
  width: 270px;
  padding: 16px;
}

.search_form .input-form {
  margin-bottom: 15px;
}

.section .subsection {
  position: absolute;
  right: 10px;
  top: 50px;
  border-radius: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  background: var(--sidebar-color);
  list-style: none;
  -webkit-transition: all 0.25s;
  transition: all 0.25s;
  visibility: hidden;
  min-width: 150px;
  text-align: left;
  margin: 0;
  opacity: 0;
  padding: 0;
}
.section:hover .subsection,
.sh:hover .subsection {
  opacity: 1;
  top: 100%;
  visibility: visible;
}
.section .subsection li {
  width: 100%;
  border-bottom: 1px solid var(--hover);
  padding: 4px 10px;
}
.section .subsection a {
  color: var(--default-text-color);
  display: inline-block;
  line-height: 1.2em;
  padding: 5px 0;
  text-decoration: none;
}

.table-active {
  color: var(--default-text-color);
  box-shadow: -3px 0 0 0 #ef7826 inset;
  background-color: rgba(0, 0, 0, 1);
}

.select-panel-pages {
  float: right;
}

.select-panel-table {
  display: inline-block;
  margin-left: 25px;
}

.select-panel select {
  color: #ffffff;
  font-size: 15px;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  background: transparent;
  border-image: none;
  outline-color: transparent;
  box-shadow: none;
  border-bottom: 2px solid var(--table-line);
}

.select-panel select:focus:not([readonly]) {
  border-bottom: 2px solid var(--span-color);
}

.select-panel select option {
  font-weight: var(--font-weight-2);
  font-size: 13px;
  color: var(--default-text-color);
  background: var(--sidebar-color);
}

.button {
  font-weight: var(--font-weight-2);
  font-size: 12px;
  margin-top: 10px;
  padding-left: 14px;
  padding-right: 14px;
  color: #fff;
  background-color: var(--span-color);
  border: none;
  cursor: pointer;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  background-image: none;
  text-align: center;
  line-height: 26px;
  vertical-align: middle;
  user-select: none;
  outline: none;
  float: right;
}

/*
 * Всякого рода кастомки
 */

.badge {
  display: inline-block;
  padding: .35em .35em;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  fill: #ffffff;
  color: #ffffff;
}

.badge a {
  fill: #ffffff;
  color: #ffffff;
  transition-duration: 400ms;
}

.plug {
  background-color: #121212;
  width: 100%;
  height: 100%;
}

.x_1 {
  position: absolute;
  bottom: -15px;
  left: -780px;
  background: var(--default-text-color);
  height: 200px;
  width: 65px;
  transform: rotate(40deg);
  animation-name: x_side;
  animation-duration: 20s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  z-index: 1;
}

.x_1:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  background: var(--default-text-color);
  height: 200px;
  width: 65px;
  transform: rotate(90deg);
  z-index: 1;
}

@keyframes x_side {
  from {
  }

  to {
    margin-left: 245%;
    transform: rotate(210deg);
  }
}

.x_1_invert {
  position: absolute;
  bottom: -25px;
  left: -135px;
  background: var(--default-text-color);
  height: 200px;
  width: 65px;
  transform: rotate(40deg);
  animation-name: x_side_invert;
  animation-duration: 20s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  z-index: 1;
}

.x_1_invert:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  background: var(--default-text-color);
  height: 200px;
  width: 65px;
  transform: rotate(90deg);
  z-index: 1;
}

@keyframes x_side_invert {
  from {
  }

  to {
    margin-left: 308%;
    transform: rotate(210deg);
  }
}

.input-form {
  position: relative;
  text-align: left;
  margin-top: 7px;
  margin-bottom: 7px;
  float: left;
  width: 100%;
}

.input-form input {
  font-size: 15px;
  font-weight: var(--font-weight-2);
  color: var(--default-text-color);
  background-color: inherit;
  -webkit-transition: border-color 0.15s ease-in-out,
    -webkit-box-shadow 0.15s ease-in-out;
  -o-transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out,
    -webkit-box-shadow 0.15s ease-in-out;
  border-bottom: 2px solid var(--table-line);
  width: 100%;
}

.input-form .input_text {
  color: var(--default-text-color);
  font-size: 12px;
  font-weight: var(--font-weight-2);
}

.input-form input:focus:not([readonly]) {
  border-bottom: 2px solid var(--span-color);
}

.border-checkbox:checked + .border-checkbox-label:after {
  -webkit-animation: check linear 0.5s;
  animation: check linear 0.5s;
  opacity: 1;
  border-color: var(--span-color);
}

.input-form .border-checkbox-label {
  position: relative;
  width: 100%;
  cursor: pointer;
  line-height: 22px;
  margin-top: 4px;
  padding-left: 30px;
  color: var(--top-text-color);
  font-size: 12px;
  font-weight: var(--font-weight-2);
}

.input-form .border-checkbox-label:after {
  content: "";
  display: block;
  width: 5px;
  height: 13px;
  opacity: .15;
  border-right: 2px solid var(--default-text-color);
  border-top: 2px solid var(--default-text-color);
  position: absolute;
  left: 5px;
  top: 13px;
  -webkit-transform: scaleX(-1) rotate(135deg);
  transform: scaleX(-1) rotate(135deg);
  -webkit-transform-origin: left top;
  transform-origin: left top
}

.input-form .border-checkbox-label:before {
  content: "";
  display: block;
  border: 2px solid #3a3a3a;;
  width: 23px;
  height: 23px;
  position: absolute;
  left: 0
}

.border-checkbox {
  display: none
}

.border-checkbox:disabled ~ .border-checkbox-label {
  cursor: no-drop;
  color: #ccc
}

@-webkit-keyframes check {
  0% {
    height: 0;
    width: 0;
  }
  25% {
    height: 0;
    width: 5px;
  }
  50% {
    height: 13px;
    width: 5px;
  }
}

@keyframes check {
  0% {
    height: 0;
    width: 0;
  }
  25% {
    height: 0;
    width: 5px;
  }
  50% {
    height: 13px;
    width: 5px;
  }
}

.input-form label {
  float: left;
  white-space: nowrap;
  width: 19%;
  margin-right: 20px;
}

.input-form select {
  cursor: pointer;
  white-space: nowrap;
  text-align: left;
  outline: none;
  color: var(--default-text-color);
  background-color: inherit;
  height: 24px;
  width: 100%;
  -moz-appearance: none;
  -webkit-appearance: none;
  border: none;
  border-bottom: 2px solid var(--table-line);
  font-weight: var(--font-weight-2);
  font-size: 15px;
}

.input-form select:focus:not([readonly]) {
  border-bottom: 2px solid var(--span-color);
}

.input-form select option {
  border: none;
  outline: none;
  background-color: var(--sidebar-color);
  font-weight: var(--font-weight-2);
}

.btn_form {
  margin-top: 0.375rem;
  margin-right: 0.375rem;
  margin-bottom: 0.375rem;
}
.btn {
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
  padding: 6px 15px;
  outline: none;
  font-weight: 400;
  font-size: 0.81rem;
  background: var(--span-color);
  color: #fff;
  border-radius: 2px;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  word-wrap: break-word;
}

@media (max-width: 575.98px) {
  ::-webkit-scrollbar {
    background-color: var(--hover);
    width: 3px;
  }

  .badge {
    padding: 0.6em 0.6em;
  }

  .card h5 {
    font-weight: var(--font-weight-2);
    font-size: 13px;
  }

  .select-panel select {
    font-weight: var(--font-weight-2);
    font-size: 7px;
  }

  .table thead th {
    font-size: 9px;
    font-weight: var(--font-weight-3);
  }

  .table tbody th {
    padding: 0.4rem;
    font-size: 8px;
    font-weight: var(--font-weight-2);
  }

  th img {
    max-width: 28px;
    max-height: 16px;
  }

  .tb-avatar,
  .tb-game {
    display: none;
  }

  .tb-hs,
  .tb-time,
  .tb-time-two,
  .tb-death {
    display: none;
  }
}
@media (min-width: 576px) and (max-width: 767.98px) {
  ::-webkit-scrollbar {
    background-color: var(--hover);
    width: 4px;
  }

  .card h5 {
    font-weight: var(--font-weight-2);
    font-size: 14px;
  }

  .select-panel select {
    font-weight: var(--font-weight-2);
    font-size: 9px;
  }

  .table thead th {
    font-size: 9px;
    font-weight: var(--font-weight-3);
  }

  .tb-time-two {
    display: none;
  }

  .table tbody th {
    padding: 0.4rem;
    font-size: 9px;
    font-weight: var(--font-weight-2);
  }

  th img {
    max-width: 43px;
    max-height: 15px;
  }

  .tb-avatar,
  .tb-game {
    display: none;
  }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  ::-webkit-scrollbar {
    background-color: var(--hover);
    width: 4px;
  }

  .card h5 {
    font-weight: var(--font-weight-2);
    font-size: 15px;
  }

  .select-panel select {
    font-weight: var(--font-weight-2);
    font-size: 11px;
  }

  .table thead th {
    font-size: 9px;
    font-weight: var(--font-weight-3);
  }

  .tb-time-two {
    display: none;
  }

  .table tbody th {
    font-size: 10px;
    font-weight: var(--font-weight-2);
  }

  th img {
    max-width: 52px;
    max-height: 18px;
  }

  .tb-game {
    display: none;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  ::-webkit-scrollbar {
    background-color: var(--hover);
    width: 5px;
  }

  .card h5 {
    font-weight: var(--font-weight-2);
    font-size: 16px;
  }

  .select-panel select {
    font-weight: var(--font-weight-2);
    font-size: 13px;
  }

  .table thead th {
    font-size: 10px;
    font-weight: var(--font-weight-3);
  }

  .tb-time-two {
    display: none;
  }

  .table tbody th {
    font-size: 11px;
    font-weight: var(--font-weight-2);
  }

  th img {
    max-width: 52px;
    max-height: 18px;
  }
}
@media (min-width: 1200px) and (max-width: 1499.98px) {
  ::-webkit-scrollbar {
    background-color: var(--hover);
    width: 6px;
  }

  .card h5 {
    font-weight: var(--font-weight-2);
    font-size: 17px;
  }

  .select-panel select {
    font-weight: var(--font-weight-2);
    font-size: 13px;
  }

  .table thead th {
    font-size: 14px;
    font-weight: var(--font-weight-3);
  }

  .tb-time-two {
    display: none;
  }

  .table tbody th {
    font-size: 12px;
    font-weight: var(--font-weight-2);
  }

  th img {
    max-width: 55px;
    max-height: 22px;
  }
}
@media (min-width: 1500px) {
  ::-webkit-scrollbar {
    background-color: var(--hover);
    width: 7px;
  }

  .card h5 {
    font-weight: var(--font-weight-2);
    font-size: 18px;
  }

  .select-panel select {
    font-weight: var(--font-weight-2);
    font-size: 14px;
  }

  .table thead th {
    font-size: 14px;
    font-weight: var(--font-weight-3);
  }

  .table tbody th {
    font-size: 14px;
    font-weight: var(--font-weight-2);
  }

  th img {
    max-width: 61px;
    max-height: 24px;
  }
}

.unshow {
  display: none;
}

.dd {
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  line-height: 20px;
  -moz-user-select: none;
  -khtml-user-select: none;
  user-select: none;
}

.dd-list {
  display: block;
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dd-list .dd-list {
  padding-left: 30px;
}

.dd-item,
.dd-empty,
.dd-placeholder {
  display: block;
  position: relative;
  margin: 0;
  padding: 0;
  min-height: 20px;
  font-size: 13px;
  line-height: 20px;
}

.dd-handle {
  display: block;
  height: 30px;
  margin: 5px 0;
  padding: 5px 10px;
  color: var(--default-text-color);
  text-decoration: none;
  font-weight: bold;
  background: var(--hover);
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  transition: all 0.3s ease;
}

.dd-handle:hover {
  background: var(--table-line)
}

.dd-placeholder,
.dd-empty {
  margin: 5px 0;
  padding: 0;
  min-height: 30px;
  border: 1px dashed #b6bcbf;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
}

.dd-empty {
  border: 1px dashed #bbb;
  min-height: 100px;
  background-color: #e5e5e5;
  background-size: 60px 60px;
  background-position: 0 0, 30px 30px;
}

.dd-dragel {
  position: absolute;
  pointer-events: none;
  z-index: 9999;
}

.dd-dragel > .dd-item .dd-handle {
  margin-top: 0;
}

@media only screen and (min-width: 700px) {
  .dd {
      width: 100%;
  }
}

.notification {
  position: relative;
}

.notification span {
  position: absolute;
  top: 1px;
  left: 13px;
  color: #fff;
  background: var(--span-color);
  border-radius: 100%;
  width: 12px;
  height: 12px;
  font-size: 8px;
  text-align: center;
  display: none;
}

.main_notifications {
  padding-left: unset;
}

.main_notifications a {
  width: 100%;
}

.notifications-item .icon {
  font-size: 20px;
  color: var(--span-color);
}

.notifications-item .text {
  font-size: 12px;
}

#notes {
  position: fixed;
  top: 4em;
  right: 5px;
  cursor: default;
  transition: height 0.45s ease-in-out;
  -webkit-transition: height 0.45s ease-in-out;
  pointer-events: none;
  z-index: 1001;
}
#notes .note-item {
  max-height: 12em;
  border-radius: 5px;
  opacity: 1;
  will-change: opacity, transform;
  transition: all 0.2s linear;
  -webkit-transition: all 0.2s linear;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  width: 50vw;
  -webkit-touch-callout: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  z-index: 1002;
  pointer-events: auto;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-content: flex-start;
  -ms-flex-line-pack: start;
  align-content: flex-start;
  -webkit-box-align: start;
  -ms-flex-align: start;
  -webkit-align-items: flex-start;
  -moz-align-items: flex-start;
  align-items: flex-start;
  -webkit-align-content: flex-start;
  -ms-flex-line-pack: start;
  align-content: flex-start;
  max-width: 20em;
  font: inherit;
  line-height: 1.25em;
  color: #fff;
  margin: 0 auto 3px auto;
  transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -webkit-transform: translateZ(0);
  padding: 0.75em 1em;
}
@media all and (max-width: 30em) {
  #notes .note-item {
    width: 75vw;
    max-width: none;
  }
}
#notes .note-item[data-show="false"] {
  pointer-events: none;
  opacity: 0;
  max-height: 0;
  margin-bottom: 0;
}
#notes .note-item[data-type="info"] {
  background-color: #375e97;
}
#notes .note-item[data-type="warn"] {
  background-color: var(--span-color);
  animation: shake 0.9s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
  -webkit-animation: shake 0.9s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}
#notes .note-item[data-type="error"] {
  background-color: #fb6542;
  animation: shake 0.54s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
  -webkit-animation: shake 0.54s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}
#notes .note-item[data-type="success"] {
  background-color: #009d09;
}
#notes .note-item .note-item-text {
  flex: auto;
  -webkit-flex: auto;
  -moz-flex: auto;
  -ms-flex: auto;
  padding-right: 0.5em;
  max-width: calc(100% - 1.25em);
  max-width: -webkit-calc(100% - 1.25em);
}
#notes .note-item .note-item-btn {
  width: 0.25em;
  height: 1.25em;
  position: absolute;
  right: 5px;
  bottom: 15px;
  cursor: pointer;
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiB4bWw6c3BhY2U9InByZXNlcnZlIiBmaWxsPSIjZmZmIj48cGF0aCBkPSJNMTguMyw1LjcxTDE4LjMsNS43MWMtMC4zOS0wLjM5LTEuMDItMC4zOS0xLjQxLDBMMTIsMTAuNTlMNy4xMSw1LjdjLTAuMzktMC4zOS0xLjAyLTAuMzktMS40MSwwbDAsMCBjLTAuMzksMC4zOS0wLjM5LDEuMDIsMCwxLjQxTDEwLjU5LDEyTDUuNywxNi44OWMtMC4zOSwwLjM5LTAuMzksMS4wMiwwLDEuNDFoMGMwLjM5LDAuMzksMS4wMiwwLjM5LDEuNDEsMEwxMiwxMy40MWw0Ljg5LDQuODkgYzAuMzksMC4zOSwxLjAyLDAuMzksMS40MSwwbDAsMGMwLjM5LTAuMzksMC4zOS0xLjAyLDAtMS40MUwxMy40MSwxMmw0Ljg5LTQuODlDMTguNjgsNi43MywxOC42OCw2LjA5LDE4LjMsNS43MXoiLz48L3N2Zz4=)
    no-repeat 0 0 / contain;
  transition: opacity 0.2s;
  -webkit-transition: opacity 0.2s;
}

#notes .note-item .note-item-btn:hover {
  opacity: 0.6;
}

@keyframes shake {
  10%,
  90% {
    transform: translate3d(-1px, 0, 0);
    -webkit-transform: translate3d(-1px, 0, 0);
    -ms-transform: translate3d(-1px, 0, 0);
  }
  20%,
  80% {
    transform: translate3d(2px, 0 0);
    -webkit-transform: translate3d(2px, 0, 0);
    -ms-transform: translate3d(2px, 0, 0);
  }
  30%,
  50%,
  70% {
    transform: translate3d(-4px, 0, 0);
    -webkit-transform: translate3d(-4px, 0, 0);
    -ms-transform: translate3d(-4px, 0, 0);
  }
  40%,
  60% {
    transform: translate3d(4px, 0, 0);
    -webkit-transform: translate3d(4px, 0, 0);
    -ms-transform: translate3d(4px, 0, 0);
  }
}

@-webkit-keyframes shake {
  10%,
  90% {
    -webkit-transform: translate3d(-1px, 0, 0);
  }
  20%,
  80% {
    -webkit-transform: translate3d(2px, 0, 0);
  }
  30%,
  50%,
  70% {
    -webkit-transform: translate3d(-4px, 0, 0) t;
  }
  40%,
  60% {
    -webkit-transform: translate3d(4px, 0, 0);
  }
}

.menu .nav a {
  color: var(--default-text-color);
  margin-left: 15px;
  outline: none;
}

.menu .nav li {
  display: block;
  width: 100%;
  padding: 10px;
  cursor: pointer;
  font-weight: var(--font-weight-3);
  font-size: 12px;
}

.menu .nav li:hover {
  color: var(--default-text-color);
  background-color: var(--hover);
}

.menu .nav .active {
  color: var(--default-text-color);
  background-color: var(--hover);
}

.menu-header {
  border-bottom: 1px solid rgba(0, 0, 0, .125);
}

.menu-header h5 {
  font-weight: var(--font-weight-3);
  font-size: 18px;
  margin-bottom: 20px;
}

.arrow {
  margin-left: 5px;
}
.arrow img {
  transition: 0.3s;
  width: 12px;
  opacity: 0.8;
  cursor: pointer;
  transform: rotate(180deg);

}

.menu_list > li:hover .arrow img {
  transform: rotate(0);
}

.header-user {
  display: flex;
  align-items: center;
}

.block_profile-search {
  position: relative;
  max-width: 200px;
}

.block_profile-search:hover .search-block {
  opacity: 1;
  visibility: visible;
}

.search-block {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  min-width: 200px;
  width: 100%;
  margin: 10px;
  top: -13px;
  right: -7px;
  transition: all .5s ease;
  z-index: 999;
}

.search-input {
  width: 100%;
  height: 24px;
  font-size: 14px;
  background-color: var(--block-color);
  border-radius: 6px;
  color: white;
}

.search-block:hover {
  opacity: 1;
  visibility: visible;
}

.money2 {
  display: flex;
  min-width: 100px;
  height: 26px;
  border-radius: 6px;
  margin-right: 10px;
  align-items: center;
  background-color: var(--block-color);
}

@media (max-width: 500px) {
  .money2 {
    display: none;
  }

  .header_logo-area {
    margin-right: 10px;
  }

  .header_logo {
    display: none;
  }
}

.rub {
  color: rgb(207, 207, 207);
  margin: 0 auto;
  padding: 0 8px;
  font-weight: 500;
}

.popolnit {
  float: right;
  padding: 0 6px;
  border: 1px solid var(--span-color);
  align-items: center;
  border-radius: 6px;
  color: rgb(150, 150, 150);
  transition: all .2s ease;
}

.popolnit:hover {
  background-color: var(--span-color);
  color: rgb(255, 255, 255);
}

.user__info {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.user__info > span {
  margin-right: 5px;
}

.navbar-icon {
  margin-right: 8px;
  margin-bottom: -2px;
  color: rgb(212, 212, 212);
  cursor: pointer;
  font-size: 1.35em;
}

.navbar-icon:hover {
  color: rgb(255, 255, 255);
}

.header__profile-avatar {
  height: 40px;
  border-radius: 50%;
  border: 1px solid #1d1e1f;
}

.user__info:hover .user__menu {
  visibility: visible;
  opacity: 1;
  pointer-events: all;
  z-index: 10;
}

.user__menu {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: left;
  font-size: 10px;
  background: var(--block-color);
  width: 224px;
  border-radius: 0 0 8px 8px;
  padding: 10px;
  top: 0;
  right: 5px;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  z-index: 0;
  transition: all .2s ease;
}

.user__menu > a {
  height: 42px;
  font-weight: 500;
  font-size: 14px;
  margin-top: 4px;

  color: rgb(207, 207, 207);
}

.user__menu > a > i {
  margin-right: 10px;
  
}

.link-icon {
  display: flex;
  justify-content: center;
  width: 18px;
  height: 100%;
  margin-right: 6px;
  align-items: center;
}

.user__profile {
  display: flex;
  align-items: center;
  cursor: default;
  padding-bottom: 8px;
  border-bottom: 1px solid rgb(73, 73, 73);
}

.user__profile-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.user__profile-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
  margin-left: 4px;
}

.user__profile-nick {
  color: var(--custom-text-color);
  white-space: nowrap;
  font-weight: 600;
  font-size: 12px;
  line-height: 20px;
}

.user__balance {
  color: grey;
  font-size: 11px;
}

.user__profile-link:hover .user__profile-nick,
.user__menu> :hover {
  color: #fff;
  transition: .3s;
}

.profileOpen {
  display: flex;
  align-items: center;
  border-radius: 8px;
  padding: 0 6px;
  transition: .3s;
}

.profileOpen:hover {
  background: rgba(75, 75, 75, 0.753);
  transition: .3s;
}

.header_btn {
  background-color: var(--block-color); 
  border-radius: 6px; 
  margin-right: 5px; 
  font-weight: 600;
  transition: .3s;
}

.header_btn:hover {
  background-color: var(--span-color);

}

.display-none {
  display: none;
}

/* START TOOLTIP STYLES */
[tooltip] {
  position: relative; /* opinion 1 */
}

/* Applies to all tooltips */
[tooltip]::before,
[tooltip]::after {
  text-transform: none; /* opinion 2 */
  font-size: 14px; /* opinion 3 */
  line-height: 1;
  user-select: none;
  pointer-events: none;
  position: absolute;
  display: none;
  opacity: 0;
}
[tooltip]::before {
  content: '';
  border: 5px solid transparent; /* opinion 4 */
  z-index: 1001; /* absurdity 1 */
}
[tooltip]::after {
  content: attr(tooltip); /* magic! */
  
  /* most of the rest of this is opinion */
  text-align: center;
  
  /* 
    Let the content set the size of the tooltips 
    but this will also keep them from being obnoxious
    */
  min-width: 3em;
  max-width: 21em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 1ch 1.5ch;
  border-radius: .3ch;
  box-shadow: 0 1em 2em -.5em rgba(0, 0, 0, 0.35);
  background: #333;
  color: #fff;
  z-index: 1000; /* absurdity 2 */
}

/* Make the tooltips respond to hover */
[tooltip]:hover::before,
[tooltip]:hover::after {
  display: block;
}

/* don't show empty tooltips */
[tooltip='']::before,
[tooltip='']::after {
  display: none !important;
}

/* FLOW: UP */
[tooltip]:not([flow])::before,
[tooltip][flow^="up"]::before {
  bottom: 100%;
  border-bottom-width: 0;
  border-top-color: #333;
}
[tooltip]:not([flow])::after,
[tooltip][flow^="up"]::after {
  bottom: calc(100% + 5px);
}
[tooltip]:not([flow])::before,
[tooltip]:not([flow])::after,
[tooltip][flow^="up"]::before,
[tooltip][flow^="up"]::after {
  left: 50%;
  transform: translate(-50%, -.5em);
}

/* FLOW: DOWN */
[tooltip][flow^="down"]::before {
  top: 100%;
  border-top-width: 0;
  border-bottom-color: #333;
}
[tooltip][flow^="down"]::after {
  top: calc(100% + 5px);
}
[tooltip][flow^="down"]::before,
[tooltip][flow^="down"]::after {
  left: 50%;
  transform: translate(-50%, .5em);
}

/* FLOW: LEFT */
[tooltip][flow^="left"]::before {
  top: 50%;
  border-right-width: 0;
  border-left-color: #333;
  left: calc(0em - 5px);
  transform: translate(-.5em, -50%);
}
[tooltip][flow^="left"]::after {
  top: 50%;
  right: calc(100% + 5px);
  transform: translate(-.5em, -50%);
}

/* FLOW: RIGHT */
[tooltip][flow^="right"]::before {
  top: 50%;
  border-left-width: 0;
  border-right-color: #333;
  right: calc(0em - 5px);
  transform: translate(.5em, -50%);
}
[tooltip][flow^="right"]::after {
  top: 50%;
  left: calc(100% + 5px);
  transform: translate(.5em, -50%);
}

/* KEYFRAMES */
@keyframes tooltips-vert {
  to {
    opacity: .9;
    transform: translate(-50%, 0);
  }
}

@keyframes tooltips-horz {
  to {
    opacity: .9;
    transform: translate(0, -50%);
  }
}

/* FX All The Things */ 
[tooltip]:not([flow]):hover::before,
[tooltip]:not([flow]):hover::after,
[tooltip][flow^="up"]:hover::before,
[tooltip][flow^="up"]:hover::after,
[tooltip][flow^="down"]:hover::before,
[tooltip][flow^="down"]:hover::after {
  animation: tooltips-vert 300ms ease-out forwards;
}

[tooltip][flow^="left"]:hover::before,
[tooltip][flow^="left"]:hover::after,
[tooltip][flow^="right"]:hover::before,
[tooltip][flow^="right"]:hover::after {
  animation: tooltips-horz 300ms ease-out forwards;
}

.btn-pay {
  background-color: #333;
}