.pointer {
    cursor: pointer;
    transition: 0.3s all;
}

.pointer:hover {
    color: #eb6822;
}

body {
    cursor: default;
}

.unselect {
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Chrome/Safari/Opera */
    -khtml-user-select: none;
    /* Konqueror */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently
      not supported by any browser */
}

.frmMainBlock {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.banner {
    display: flex;
    justify-content: center;
    overflow: hidden;
    position: relative;
    flex: 1;
}

/*.blockMenu {
    width: 230pt;
}*/

    #frmMain .space{ 
        width: 100%;
        height: calc(100% - 50pt);
        display: flex;
    }

    #frmMain .user-box {
        flex: 1;
    }

    #frmMain .logo {
        position: absolute;
        left: 44%;
        top: 6%;
        width: 0;
        height: 0;
    }

/*  #frmMain .logo img{
        width: fit-content;
        height: fit-content;
        transform: translateX(-134px);
    }
*/


#frmMain .lang-check {
    opacity: 1;
    visibility: visible;
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: #e48419db;
    z-index: 10000;
    animation-name: example;
    animation-duration: 1.5s;
}

@keyframes example {
    0%   {transform:  scale(0.1);}
    100% {transform:  scale(1) ;}
    }

#frmMain .opac {
    opacity: 0;
    visibility: hidden;
}

#frmMain .lang-check__descr {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 0 50px;
    text-align: center;
    line-height: 25px;
    font-weight: 700;
    font-size: 30px;
    color: #000;
}

#frmMain .user-box {
    font-size: 20pt;
    font-weight: bold;
    display: flex;
}

#frmMain .user-box i{
    font-size: 30pt;
    margin-right: 15px;
}

#frmMain .content-space {
    width: 230pt;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
}

#frmMain .blockMenu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 10px;
    width: 230pt;
}

.menuItem {
    font-weight: 600;
    margin: 0 0 10px;
    font-size: 18pt;
    color: #262626;
    width: 320px;
    padding: 0 15px;
    border: 1px solid #00000000;
    border-radius: 5px;
}

.menuItem:hover{
    background-color: #00000008;
    border: 1px solid #00000012;
    box-shadow: inset 1px 1px 0px 0px #01010117;
}


.menuItem-disabled {
    font-weight: 600;
    margin: 0 0 10px;
    font-size: 18pt;
    color: grey;
}


#frmDoc .topBlock {
    width: 100%;
    background-color: black;
    color: grey;
    display: none;
    justify-content: space-around;
    font-size: 15pt;
    height: 30pt;
    align-items: center;
}

.btn-back {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
}

#frmDoc .content {
    width: 30%;
}

.content>li {
    padding: 0 70px 0 0;
}

#frmDoc .content>li>.obj-click {
    font-weight: 600;
}

#frmDoc .content>li>ul {
    padding: 0 0 0 10px;
}

.doc-body {
    width: 70%;
    padding: 0 10px;
    z-index: 1;
    position: relative;
}

.frm-doc-title {
    font-size: 16pt;
    padding: 20px 0 20px;
    text-align: center;
    width: fit-content;
    font-weight: 600;
    /*width: 100%;*/
}

.obj-view {
    width: 100%;
    height: 500px;
    margin: 0 0 20px;
    position: relative;
}

.ThreeD-window {
    width: 100%;
    height: 100%;
}

.doc-btn-box {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    font-size: 30pt;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.screen-button {
    padding: 10px;
    margin: 0 3px;
}

.ThreeD-window canvas {
    z-index: 1;
}

.obj-descr {
    padding: 0 0 10px;
    height: calc(100vh - 50pt - 676px);
    min-height: 150px;
    overflow: hidden;
}

#frmDoc .obj-descr.click {
    height: auto;
}

.obj-click {
    margin: 2px 0;
}

.btn-show-model {
    background-color: darkgreen;
    display: none;
}

#frmDoc h1 {
    text-align: center;
    display: none;
}

#frmDoc table {
    width: 100%;
}

#frmDoc td {
    padding-left: 5px;
}

#frmDoc.row-head {
    text-align: center;
    font-weight: bold;
}

#frmDoc p,
h4 {
    text-indent: 20px;
    /* Отступ первой строки в пикселах */
}

.btn {
    width: auto;
    padding: 5px;
    background-color: brown;
}

#frmDoc .modal-load {
    position: absolute;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    z-index: 1300;
    /*background: rgba(255,255,255,0.6);*/
    background: white;
    margin-left: -10px;
    margin-top: -10px;
}

#frmDoc .spinner-box {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

#frmDoc .spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #afeeee;
    border-top: 3px solid #6ac0f3;
    border-radius: 50%;
    animation: rotation 0.8s ease infinite;
    -webkit-animation: rotation 0.8s ease infinite;
    -moz-animation: rotation 0.8s ease infinite;
}

#frmGames {
    height: calc(100vh - 100pt)
}

#frmGames .scene-content-box>li {
    cursor: pointer;
}

#frmGames .header {
    left: 305px;
    top: 4px;
}

#frmSceneEditor {
    padding: 0 !important;
}

.scene-btn-box {
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
    color: white;
    pointer-events: none;
    font-size: 20pt;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.general-box {
    display: flex;
    justify-content: space-between;
}

.box-redact {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 5px;
    left: 5px;
    max-width: 140px;
}

.box-style {
    background-color: #00000066;
    border-radius: 10px;
}

.scene-btn-box .btn-scene {
    pointer-events: painted;
    cursor: pointer;
    /* width: fit-content; */
    margin: 5px;
    border-radius: 5px;
    transition: 0.1s all;
    position: relative;
    /* padding: 0 5px; */
    height: 28pt;
    width: 29pt;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scene-btn-box .btn-scene:hover {
    background-color: #7e7e7e;
}

.btn-scene.scale {
    background-color: #ff8100b8;
}

.btn-scene.txt {
    font-size: 12pt;
}

.delete>.fa-road {
    position: absolute;
    left: 3px;
    z-index: 1;
    top: 5px;
}

.delete>.red {
    color: red;
    z-index: 2;
}

#divCanvas1 {
    width: 100%;
    height: 100%;
}


#frmViewer {
    padding: 0 !important;
}

#frmViewer .game-view-space {
    height: 100%;
    width: 100%;
    background: black;
    position: relative;
}

#frmViewer .game-interface-space {
    z-index: 2;
    pointer-events: none;
    width: 100%;
    height: 100%;
}

#frmViewer .game-interface {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

#frmViewer .game-window {
    z-index: 1;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

#frmDisassembly {
    padding: 0 !important;
}

#frmDisassembly .game-view-space {
    height: 100%;
    width: 100%;
    background: gray;
    position: relative;
}

#frmDisassembly .game-interface-space {
    z-index: 2;
    pointer-events: none;
    width: 100%;
    height: 100%;
}

#frmDisassembly .game-interface {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

#frmDisassembly .game-window {
    z-index: 1;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}


#frmActionMenu {
    position: absolute;
    z-index: 102;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-space {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.menu-elem-box {
    /* position: absolute; top: 50%; left: 50%; bottom: 50%; right: 50%; width: 0; height: 0;*/
    background-color: rgb(0, 0, 0, 0.6);
    font-size: 10pt;
    text-align: center;
    color: white;
    padding: 8px;
    border-radius: 5px;
    margin: 0 0 5px;
    cursor: pointer;
    width: 150pt;
    display: flex;
}

.menu-elem-box:hover {
    background-color: rgba(255, 141, 0, 0.3);
}

/* .activ-elem-box{display: flex; justify-content: flex-end;transform-origin: left;}
.menu-activ-elem{
    background-color: rgb(0, 0, 0, 0.6); border-radius: 50%; width: 90pt; height: 90pt; padding: 8px; font-size: 10pt; cursor: pointer;
    display: flex;align-items: center;justify-content: center;text-align: center; color: white;
}
.menu-activ-elem:hover {background-color: rgba(255,141,0,0.3);}*/

.menu-activ-elem {
    background-color: rgb(0, 0, 0, 0.6);
    border-radius: 50%;
    width: 90pt;
    height: 90pt;
    padding: 8px;
    font-size: 10pt;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.direct-viewer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 0 30px;
    z-index: 1;
}

.direct-elem {
    width: 96%;
}

.direct-elem:nth-child(2) {
    padding: 50px 0;
    margin: 50px 0;
    border-top: 1px solid #e4e4e4;
    border-bottom: 1px solid #e4e4e4;
}

.direct-title {
    font-size: 16pt;
    font-weight: bold;
    padding: 0 0 20px;
}

.direct-info {
    padding: 0 0 20px;
    display: flex;
}

.direct-info>i {
    font-size: 22pt;
    color: #d0d0d0;
    padding: 0 10px 0 0;
}

.direct-space {
    position: relative;
}

.direct-body {
    width: 100%;
    overflow-x: hidden;
}

.direct-body-child {
    display: flex;
    width: fit-content;
    transition: 0.3s all;
}

.weapon-box {
    width: 24vw;
    padding: 5px;
    cursor: pointer;
    transition: 0.3s all;
}

.weapon-box:hover {
    color: #eb6822;
}

.weapon-img {
    width: 100%;
    height: 200px;
    object-fit: contain;
}

.weapon-title {
    text-align: center;
    font-size: 12pt;
    font-weight: bold;
    padding: 20px 0 0;
}

.direct-btn-box {
    position: absolute;
    top: 22%;
    display: flex;
    width: 102%;
    justify-content: space-between;
    left: -1%;
    height: 0;
}

.direct-btn>i {
    font-size: 60pt;
    cursor: pointer;
}

.direct-btn:hover {
    color: #eb6822;
}


.fullscreen {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    margin: 0;
}

.inwindow {
    width: 100%;
    height: 500px;
}

/*@media (max-width: 1201px) {
    .weapon-box {
        width: 30vw;
    }
}


@media (max-width: 800px) {
    .menuItem {
        font-size: 14pt;
    }

    .menuItem-disabled {
        font-size: 14pt;
    }

    .banner {
        width: auto;
        position: absolute;
        z-index: 1;
    }

    .blockMenu {
        width: auto;
        z-index: 2;
    }


    .weapon-box {
        width: 90vw;
    }


    #frmDoc .content {
        width: auto;
        display: none;
    }

    .doc-body {
        width: 100%;
    }

    .logo-box {
        height: auto;
        padding: 10px;
    }

    .logo-box .logo img {
        width: 160px;
    }
}

@media (max-width: 510px) {
    .weapon-box {
        width: 85vw;
    }
}*/

.lang-box a {
    font-size: 12pt;
    text-transform: uppercase;
    font-weight: bolder;
    text-decoration: none;
}

.active {
    color: #eb6822;
    ;
}

.logo {
    width: 100%;
    display: flex;
}

.logo.auto {
    width: auto;
}

.logo img {
    height: 100%;
    width: auto;
}

.searchBlock {
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px
}

.searchBlock span {
    position: absolute;
    left: 15px;
}

.searchBlock input {
    padding-left: 25px;
}

#frmUnitAssignment {padding: 0!important;}
#frmUnitAssignment .content-box {width: 60%;}
#frmUnitAssignment .modal-body {width: 100%; display: flex; flex-wrap: wrap; overflow: hidden;}
#frmUnitAssignment .title {padding: 5pt}
#frmUnitAssignment .titleCommand {padding: 5pt}
#frmUnitAssignment .obj-btn.remove {margin-right: 5px;margin-left: 5px;}

#frmUnitSelection .modal-body {width: 90vmin;max-height: 80vh;}
#frmUnitSelection .caption {justify-content: center;margin-top: 10pt;justify-content: center;}
#frmUnitSelection .title {padding: 5pt}

.units-content {max-height: 60vh;overflow-y: auto;}

.divUnits {flex: 1; padding: 5px; max-height: 60vh; min-height: 50vh; overflow-y: auto;}
.divUsers {width: 33%; border-right: 1px #e8e5e5 solid; padding: 5px; max-height: 60vh; min-height: 30vh; overflow-y: auto; }
.ulBlocks .unchecked {opacity: 0.4;}

.ulBlocks .unit-name {
    color: #fd7e14;
    max-width: 130pt;
    overflow: hidden;
}

.ulBlocks .active {
    opacity: 1;
    border-color: #ffc89a;
    background-color: #ffe3ca;
}

.ulBlocks {
    /*margin-bottom: 10pt; */
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.ulBlocks li {
    padding: 0px 10px;
    color: black;
    border: 1px lightgrey solid;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    max-height: 42pt;
}

.ulBlocks li i {
    margin-left: 9pt;
}

.ulBlocks ul {
    display: flex;
    flex-grow: 1;
    width: 100%;
    flex-wrap: wrap;
}

li img {
    width: 20pt;
    height: 20pt;
    margin-right: 5pt;
}

.ulBlocks ul div{
    cursor: default;
    flex-grow: 1;
    width: calc(100% - 42pt);
}
@media (max-width: 845px) {
    .ulBlocks li{
        width: 100%;
    } 
}

@media (max-width: 768px) {
    #frmUnitAssignment .content-box{width: 90%;}
        .divUsers {border-right:none}
        .sm-wrap {flex-wrap: wrap;}
}

@media (max-width: 500px) {
    .ulBlocks li {
    width: 100% !important;
}

