﻿/* GLOBAL CHAT */

.GlobalChat {
    left: 10px;
    bottom: 70px;
    background: white;
    position: absolute;
    border: solid 1px black;
    border-radius: 15px;
    width: 25rem;
    height: 35rem;
    z-index: 10;
    transition: transform 0.4s linear;
    margin: 5px;
    padding: 5px;
}

.gcMessage {
    margin: 5px;
    padding: 5px;
    border: 1px solid lightgray;
    position: relative;
}


.gcZone {
    position: absolute;
    top: 3rem;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 5px;
    padding: 5px;
}


.gcMessages {
    position: absolute;
    top: 0;
    bottom: 8.5rem;
    left: 0;
    right: 0;
    border: 1px solid gray;
    border-radius: 12px;
    overflow-y: auto;
}

.gcText {
    position: absolute;
    height: 8rem;
    bottom: 0;
    left: 0;
    width: unset;
    right: 4rem !important;
    border-radius: 0 0 0 0;
}

.gcSent {
    position: absolute;
    bottom: 4.8rem;
    right: 0;    
    width: 3rem;
    height: 3rem;
    margin: 5px;
    cursor: pointer;
    transition: all linear 0.5s;
}



/* СООБЩЕНИЯ */

.online 
{
    display: inline-block;
    background: green;
    color: white;
    border-radius: 5px;
    border: 1px solid red;
    padding: 2px 5px;
    border: 1px solid green;
    font-size: 1rem;
}

.offline 
{
    color: black;
    font-size: 1rem;
}


.Peoples 
{
    padding: 15px;
    background: white;
    border: 1px solid black;
    border-radius: 10px;
    opacity: 1;
    z-index: 2;

    height: 60%;
    overflow-y: scroll;
}

.Dialog 
{
    max-width: 110%;
    min-width: 7rem;
    width: 35rem;
    height: 45rem;
    position: absolute;
    background: white;
    /*border: 1px solid red;*/
    /*border-radius: 10px;*/
    opacity: 1;
    z-index: 2;
}



.dropZone {
    /*position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;

    float: right;
    display: flex; */

    font-size: 0.7rem;
    position: relative;
    width: 80%; 
    margin: auto, auto;
    height: 2.1rem;
    padding: 0px 7px 0px 7px;
    border: 1px dashed blue;
    border-radius: 15px;
    cursor: pointer;
    overflow-y: auto;
    overflow-x: hidden;
    transition: all ease 0.5s;
    background-color: white;
}

.dropZoneFilled {
    /*
    right: 7rem;
    width: fit-content;
    height: 30rem;
    max-height: 40rem;


    position: absolute;
    bottom: 0.5rem;
    left: 10px;
    right: 3rem;
    width: 90%;
    margin: 10px 0px;
    height: 20rem;
    padding: 5px;

    */
}





.dropZone:hover {
    background-color: lightgray;
}



.file-container {
    /* width: 100px; ограниченная ширина контейнера */
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: auto;
}

.file-row {
    display: flex;
    border-bottom: 1px solid #ccc;
    font-size: 0.8rem;
}

    .file-row:last-child {
        border-bottom: none; /* убираем нижнюю границу у последней строки */
    }

    .file-row > div {
        display:flex;
        padding: 0.2rem;
        overflow: hidden;
        text-overflow: ellipsis; /* обрезаем текст, если он выходит за пределы */
        white-space: nowrap; /* отменяем перенос строки */
    }

.file-name {
    flex: 4; /* более широкое поле для имени файла */
    
}

.file-extension {
    flex: 1;
}

.file-size {
    flex: 1;
}



/* Изменение цвета полосы прокрутки */
::-webkit-scrollbar {
    width: 0.5rem; /* Ширина полосы прокрутки */
    height: 0.5rem;
}

/* Полоса прокрутки при прокрутке */
::-webkit-scrollbar-thumb {
    background-color: #888; /* Цвет полосы прокрутки */
    border-radius: 5px; /* Закругление углов полосы прокрутки */
}

/* Фоновая область полосы прокрутки */
::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}




.MessagesZone 
{
    /* float: left; */
    display: flex;
    flex-direction: column;
    /* width: 58%; По размеру ячейки */
    height: 95%;
    padding: 10px;
    position: relative;
    border: 1px solid grey;
    border-radius: 10px;
}

.Instruments 
{
    flex-grow: 1;
    display: none;
    width: 97%;
    /*background-color: red; */
}

.textZone {

    /*position: absolute;*/    
    bottom: 0.5rem;
    left: 10px;
    right: 3rem;
    width: 100%;
    
    margin: 10px 0px;
    height: 7rem;
    padding: 5px;
}


.Messages 
{
    flex-grow: 1;
    /* width: 96%; */
    /*height: 54%;*/
    border: 1px solid lightgrey;
    overflow-y: auto;
    /* background-color: lightgrey; */
}


.CurrentOpponent 
{
    height: auto;
    width: 97%;
    height: 10%;
    float: left;
}

.Message 
{
    transition: all linear 1s;
    clear: both;
    padding: 7px;
    border-radius: 7px;
    border: 1px solid lightgrey;
    height: auto;
    margin-top: 10px;
}

.Message_NotReaded 
{
    background: linear-gradient( 45deg, rgba( 255, 254, 245, 1) 0%, rgba( 248,238,158,1) 61%);
}

.MessageIsMy 
{
    background: linear-gradient(to bottom, #f3f3f3 0%,#dcdcdc 100%);
}

.NewMessages 
{
    font-size: 1rem;
    padding: 4px;
    border-radius: 5px;
    color: white;
    background-color: red;
    position: absolute;
    bottom: -5px;
    right: -5px
}

.ImageInMessage 
{
    width: 70px;
    margin: 7px;
    cursor: pointer;
}

.Opponents 
{
    float: left;
    padding: 10px;
    width: 30%; /* По размеру ячейки*/
    height: 95%;
    border-right: 1px solid grey;
    margin-right: 5px;
    border: 1px solid grey;
    border-radius: 10px;
    overflow-y: auto;
}

.Opponent 
{
    font-size: 1rem;
    clear: both;
    position: relative;
    width: 100%;
    cursor: pointer;
    transition: all linear 0.3s;
    margin-bottom: 15px;


}

.Opponent:hover 
{
    background-color: lightcyan
}

.Opponent_BackgroundColor 
{
    background: linear-gradient(to bottom, #e2e2e2 0%,#dbdbdb 19%,#dbdbdb 19%,#d1d1d1 24%,#fefefe 100%);
}




.pattern 
{
    display: none;
}


/* ОБЪЯВЛЕНИЯ */


.DetailsRole 
{
    background: white;
    opacity: 0.9;
    position: absolute;
    width: 450px;
    padding: 15px;
    font-size: 1rem;
    border: 1px solid black;
    border-radius: 5px;
    z-index: 2;
    transition: opacity ease 0.5s;
}

.RoleDiv 
{
    border: 1px solid green;
    border-radius: 10px 25px;
    margin: 10px;
    padding: 10px;
    background: linear-gradient(to bottom, rgba(244,249,243,1) 0%,rgba(213,220,212,1) 100%);
    transition: all ease-in 1s;
    cursor: pointer;

    font-size: 1rem;
}

.RoleDiv:hover 
{
    background: linear-gradient(to bottom, rgba(233,246,253,1) 0%,rgba(211,238,251,1) 100%);
}

.Roles 
{
    /*border: 1px solid green;*/
    /*border-radius: 15px;*/
    margin: 10px;
    padding: 10px;
}


/* Остальное */

.Maps 
{
    position: absolute;
    bottom: 5%;
    right: 5%;
    height: 50%;
    width: 300px;
    overflow: auto;
}

.Location 
{
    border: 1px solid black;
    border-radius: 15px;
    opacity: 1;
    height: auto;
    padding: 10px;
    margin: 10px;
    background: inherit;
    transition: all ease-in 1.5s;
}

.LocationBody_Short 
{
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all linear 1s;
}


.ToInsert {
    opacity: 0 !important;
    height: 0 !important;
}


.ToUpdate {
    opacity: 0 !important;
    background-color:aquamarine;
}


.ToDelete {
    overflow: hidden;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 0 0 +60% !important;
    /*
    width: 0;
    margin: 0 0 0 +60%;
    
    transition: all ease-in 1s;
    */
}

.Doc 
{
    transition: all ease 2s;
}

.Dxf 
{
    transition: all ease 2s;
}

.LocationInfo 
{
    transition: all ease 2s;
}

.Orto {
    transition: all ease 2s;
    padding: 5px 10px 8px 10px;
    margin: 5px 5px 8px 5px;
    border: 1px solid blue;
    border-radius: 15px;
    font-size: inherit;
    display: inline-block;
}

.Shape {
    transition: all ease 2s;
    padding: 5px 10px 8px 10px;
    margin: 5px 5px 8px 5px;
    border: 1px solid blue;
    border-radius: 15px;
    font-size: inherit;
    display: inline-block;
}

/* 
    index пункты карт 

*/

.mapItemDelimiter {
    border-bottom-color: darkgrey;

}

/* 
    index 
    font increase decrease 
*/

/* buttons --> */
.fontIncrease {
    width: 2rem;
    height: 2rem;
    margin-left: 5px;
    position: fixed;
    right: 1.5rem;
    bottom: 6rem;
    z-index: 3;
    cursor: pointer;
}

.fontDecrease {
    width: 2rem;
    height: 2rem;
    margin-left: 5px;
    position: fixed;
    right: 4rem;
    bottom: 6rem;
    z-index: 3;
    cursor: pointer;
}
/* <-- buttons  */


.pac-item {
    padding: 10px;
    font-size: 1rem;
    cursor: pointer;
}

.pac-item-query {
    font-size: 0.7rem;
}

    .pac-item:hover {
        background-color: lightgrey;
    }

    /*

        pv_finder
    */

    .findedItem {
        padding: 5px;
        margin: 5px 0px 5px 15px;
        font-size: 1rem;
        cursor: pointer;
    }

    .findedItem:hover {
        color: tomato;
        margin-left: 10px;
        transition: all ease 1s
    }


