.up-panel {
    position: relative;
    top: 0px;
    height: 55vh;
background-image: url('/static/img/bg.png');
    linear-gradient(90deg, rgb(255, 9, 0), rgb(191, 66, 64))

}


.signal{
    background: red;
    width:10px;
    height:10px;
    border-radius: 5px;
}

.global-menu{
    padding:10px;
    position:relative;
    min-width:40vw;
    max-width: 70vw;
    min-height:30vh;
    max-height: 80vh;
    border-radius:30px;
    border: 1px solid gray;
    background:white;
    top:10px;
    margin-left:auto;
    margin-right:auto;
    overflow:hidden;
    overflow-y:auto;
    }

.z-d {
    position: absolute;
    top:0px;
    left: 0px
    display:none;
    background-color: rgba(0, 0, 0, 0.4);
    width:99vw;
    height:99vh;
    align-items: center;
  justify-content: center;
    }


.down-panel{
    height:35vh;
    border: solid 1px red;
    background: #a0a19b;
    bottom:0px;
    background-image: url('/static/img/bg.png');
}


.main-content{
    width:100%;
    overflow-y:hidden;
    overflow-x:scroll;

}

.cow {
    width:70px;
}


.main-cont {
    background:#b5b8b1;
}
.panel-item{
    padding:10px;
}

.input-big{
    font-size: 14px;
    width: 60px;
    background:#121312;
    color:#b0c98e;
    border-radius:5px;
    border: 1px solid black;
}

.zone{
    color: white;
    background: #2e3738;
}

.az {
    border: solid 1px red;
    width:fit-content;
}

.max-class{
    width:max-content;
}

.column-bsm{
    display:inline-block;
    height:100%;
    border: 1px solid black;
    width: fit-content;
}

.bs-zone{
    padding:5px;

}

.bs-graf{
    background:black;
    border: 1px solid green;
}

.mnemo-sell{
    width: 22px;
    height:22px;
    border:none;
    background:none;
}


.mnemo-sell2{
    width: 20px;
    height:20px;
    border:none;
    background:none;
}

.mnemo-s{
    background:green;
     border: solid 1px black;
     width: 20px;
    height:20px;
    }

.mnemo-ball {
    background: #e3e8e6;
     width: 28px;
    height:22px;
    border-radius:10px;
    margin: 2px;
    text-align: center;
}


.mnemo-ball-baz{
    border:2px solid red;
}


.mnemo-ball-rr{
    border:2px solid black;
}


.mnemo-ball-ysp{
    border:2px solid yellow;
}



.mnemo-ball-laz{
    border:2px solid green;
}

.mnemo-ball-lar{
    border:2px solid blue;
}

.mnemo-contr{

    margin-left: 50px;
}

.mnemo-ball2{
    margin: 3px;
width: 28px;
    height:22px;
}

.mnemo-rr{
        background:#808080;
     border: solid 1px black;
     width: 20px;
    height:20px;
}

.mnemo-ysp{
        background:#faf87d;
     border: solid 1px black;
     width: 20px;
    height:20px;
}

.mnemo-baz {
        background:#ff4040;
     border: solid 1px black;
     width: 20px;
    height:20px;
}

.mnemo-lar{
        background:#4169e1;
     border: solid 1px black;
     width: 20px;
    height:20px;
}


.mnemo-laz{
        background:#2bb52b;
     border: solid 1px black;
     width: 20px;
    height:20px;
}

.row-mnemo {
    display:flex;
}


.alert-error {
    overflow:hide;
    border: 1px solid black;
    font-size: 15px;
    max-height:32px;
    max-width: 160px;
    background:white;
}


.div-time{
    background:#d4d0d6;
    border-radius: 20px;
    display:flex;
}


.watch{
    min-width: 5px;
    padding:2px;
    margin-left: 10px;
    margin-right: 10px;
}


.card{
    border: 1px solid gray;
    border-radius: 20px;
    min-height:10vh;
    min-width: 20vw;
    margin: 3px;
}

.card-cont{
    display:flex;
    overflow-y:scroll;
}

.card-text{
    margin-right: 5px;
}

.text-body-secondary {
    color: gray;
}

.card-title {
    font-size: 15px;
}

.btn-game{
    padding: 10px;
}

.btn-warning{
    background:#ffc107;
}
.btn-danger {
    background:#dc3545;
}

.btn-success{
    background: #198754;
}

.btn-primary{
    background:#0d6efd;
    color:white;
}

.tooltip {
  color: #fff;
  background-color: black;
  border-radius: 6px;
  padding: 5px;
  max-width: 300px; /* Ограничиваем ширину */
}


.cont-tooltip{
   position:absolute;
-webkit-transform: translateY(-100%); //if your div is 200px, this will move it down by 200px, if it is 100px it will down by 100px etc
    transform: translateY(-100%);         //if your div is 200px, this will move it down by 200px, if it is 100px it will down by 100px etc
    margin-top: -10px;
     margin-right: auto;
  margin-left: auto;
}



.up-panel-settings{
    width: 100%;
    background: #2e3432;
    height: 35px;
    display: flex;
}


.center-up-panel{
    width: 100%;
    text-align:center;
}


.up-btn {
    text-decoration: none;
    background: none;
    border-radius: 5px;
    border: 1px solid #cdd0cc;
    margin: 2px;
    color: #cdd0cc;
    font-size: 18px;
}

.left-up-panel{
    display: flex;
}


.game-process{
        color: #cdd0cc;
        width: 250px;

}

.cont-tooltip-bottom{
   position:absolute;
   margin-top:
     margin-right: auto;
  margin-left: auto;
}

.n-tooltip{
    width: 0;
  height: 0;
  border-top: 8px solid black; /* Цветная граница */
  border-left: 5px solid transparent; /* Прозрачная граница (левая сторона) */
  border-right: 5px solid transparent;
  margin-right: auto;
  margin-left: auto;
}

.v-tooltip{
    width: 0;
  height: 0;
  border-bottom: 8px solid black; /* Цветная граница */
  border-left: 5px solid transparent; /* Прозрачная граница (левая сторона) */
  border-right: 5px solid transparent;
  margin-right: auto;
  margin-left: auto;
}

.tooltip-inner {
  color: #fff;
  background-color: #007bff;
  border-radius: 4px;
  padding: 10px;
  max-width: 300px; /* Ограничиваем ширину */
      display: inline-flex;
}

.tooltip .tooltip-arrow {
  border-left-color: #007bff; /* Изменяем цвет стрелки */
}


.margin-cont{
    margin-right:7px;
    margin-left:7px;
}

.gcn-cont-up-panel{

}

.margin-input{
    margin-top: 5px;
}
.title-s{
    font-weight:bolder;
    background:#2e3738;
    margin-left:auto;
    margin-right:auto;
    text-align:center;
    max-width: 230px;
    border-bottom: 2px solid #c8c9bf;
    color:white;
}

.sector{
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
}