
.container-wrap {
    /*//++ 2023.11.27 0.0.4

    height: 100%;
    display: grid;
    grid-gap: 10px;

    grid-template-columns: 300px auto; /*repeat(12, 1fr);*/ /*repeat(2, 1fr);
    grid-template-columns: repeat(auto-fill, minmax(186px, 1fr));

    grid-template-rows: 40px 360px 300px auto;
    //-- 2023.11.27 0.0.4*/
    width: 100%;
    display: block;
}


.container-wrap3 {
    height: 100%;
    display: grid;
    grid-gap: 10px;
    grid-template-columns: 300px auto; /*repeat(12, 1fr);*/ /*repeat(2, 1fr);*/
    grid-template-rows: 40px 360px 1px auto;
    /*//++ 2023.11.27 0.0.4
    /*display: flex;*/

}

.avatar {
    /*//++ 2023.11.27 0.0.4
     grid-row: 1 / 3;
     //-- 2023.11.27 0.0.4*/
    height: 400px;
    width: 25%;
    float: left;
    min-width: 300px;
 }

.avatar_font {
    max-width: 290px;
    max-height: 400px;
}

.FIO {
    /*//++ 2023.11.27 0.0.4
    grid-column: 2 / -1;
    //-- 2023.11.27 0.0.4*/
    height: 40px;
    /*//++ 2023.11.27 0.0.4
    width: 73%;
    float: left;*/
    /*//++ 2024.05.15 0.2.1
    width: 55%;
    */
    display: block;
    /*//-- 2023.11.27 0.0.4*/
}

.main-info {
     grid-column: 2 / -1;
 }

.add-info {
    grid-column: 2 / -1;
}

.button-panel {
    grid-column: 2 / 1;
}

.goals {
    grid-column: 2 / -1;
}



.container-wrap > div {

    /*//++ 2023.11.27 0.0.4
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000000;*/
    display: block;
    color: #dddddd;
    /*//-- 2023.11.27 0.0.4*/
}

.window {
    padding: 5px;
    contain: content;
}

.window-button-panel {
    text-align: center;
    width: fit-content;

    margin-left: auto;
    margin-right: auto;

    /*margin-top: 10px;*/
}

.window-button-in-panel {
    background: linear-gradient(to bottom, #f8f8fa 0%,#c8c8c7 100%);
    /*display: block;*/
    padding: 6px 12px;
    text-align: center;
    color: #7e7e7e;
    border-top: 1px solid #b4b5b9;
    border-bottom: 1px solid #b4b5b9;
    border-right: 1px solid #b4b5b9;
    border-left: 1px solid #b4b5b9;

   /* padding: 10px;
    background-color: #67544f;
    text-align: center;
    color: #F0F0F0;*/
    width: fit-content;
    float: left;
}

.window-button-in-panel:not(:first-child) {
    margin-left: 10px;
}

.window-button-in-panel:hover {
    background: linear-gradient(to bottom, #54423a 0%,#63271d 100%);
    color: #fff;

    /*background-color: #503836;*/
    cursor: pointer;

    box-shadow: 0 6px 16px 0 rgba(0,0,0,.3);
    transform: translateY(-1px);
}

/* //++ 1-3-1-001 10/01/2023 */
.window-button-in-panel-percent {
    background: linear-gradient(to bottom, #f8f8fa 0%,#c8c8c7 100%);
    /*display: block;*/
    padding: 6px 12px;
    text-align: center;
    color: #7e7e7e;
    border-top: 1px solid #b4b5b9;
    border-bottom: 1px solid #b4b5b9;
    border-right: 1px solid #b4b5b9;
    border-left: 1px solid #b4b5b9;

    width: fit-content;
    float: left;
}

.window-button-in-panel-percent:hover {
    background: linear-gradient(to bottom, #54423a 0%,#63271d 100%);
    color: #fff;

    cursor: pointer;

    box-shadow: 0 6px 16px 0 rgba(0,0,0,.3);
    transform: translateY(-1px);
}
/* //-- 1-3-1-001 10/01/2023 */

.window-h-50 { /*Панель кнопок*/
     height: 50px;
 }

.window-h-35 { /*Заголовок*/
    height: 35px;
}
.window-m-t-9 {
     margin-top: 9px;
 }

.window-m-t--9 {
    margin-top: -9px;
}

.window-button {
    background: linear-gradient(to bottom, #f8f8fa 0%,#c8c8c7 100%);
    display: block;
    padding: 6px 12px;
    text-align: center;
    color: #7e7e7e;
    border-top: 1px solid #b4b5b9;
    border-bottom: 1px solid #b4b5b9;
    border-right: 1px solid #b4b5b9;
    border-left: 1px solid #b4b5b9;

    /*padding: 10px;
    background-color: #67544f;
    text-align: center;
    color: #F0F0F0;*/
    width: fit-content;

    margin-top: 10px;

    margin-left: auto;
    margin-right: auto;
}

.window-button-left {
    margin-left: 0;
}

.window-button:hover {
    /*background-color: #503836;*/
    background: linear-gradient(to bottom, #54423a 0%,#63271d 100%);
    color: #fff;
    cursor: pointer;
}


.window-right {
    padding: 15px 0 0 15px;
    background-color: rgba(84, 66, 58, 0.1);
}

.window-white {
     background: #F0F0F0;
     padding: 15px;
     background-color: rgba(250, 250, 250, 1);
 }

.window-gray {
    background: #F0F0F0;
    padding: 15px;
    background-color: rgba(230, 230, 230, 1);
}

.window-border {
      border-radius: 10px;
        /*//++ 2023.11.27 0.0.4*/
      /*border: 1px solid #C0C0C0; /* Белая рамка */
        /*//-- 2023.11.27 0.0.4*/
  }

.window-border-0 {
    border-radius: 10px;
    border: 0px solid #C0C0C0; /* Белая рамка */
}

.window-border-top {
    border-radius: 10px 10px 0 0;
    border: 1px solid #C0C0C0; /* Белая рамка */
}

.window-border-bottom {
    border-radius: 0 0 10px 10px;
    border: 1px solid #C0C0C0; /* Белая рамка */
}

.window-caption {
    width: 100%;
    text-align: center;
    background-color: rgba(84, 66, 58, 0.2);
    font-weight: 600;

    margin-bottom: 10px;
}

.window-caption-2em {
    width: 100%;
    text-align: center;
    /* //++ 2023.11.27 0.0.4
    background-color: rgba(84, 66, 58, 0.2);*/
    font-size: 35px;
    color: #ffc500;
    /* //-- 2023.11.27 0.0.4*/
    font-weight: 600;

    height: 2em;
    margin-bottom: 10px;
}

.window-caption-full {
    /*//++ 2023.11.27 0.0.4
    width: 100%;*/
    text-align: center;
    /*//++ 2023.11.27 0.0.4
    background-color: rgba(84, 66, 58, 0.2);*/
    font-weight: 600;
}

.window-panel-right {
    width: 100%;
    text-align: right;
    background-color: rgba(84, 66, 58, 0.2);
    font-weight: 600;

    margin-bottom: 10px;
    margin-top: 10px;
}

/*.container-wrap-fio {
    width: 100%;
    grid-column-start: 2;
    grid-column-end: 2;
    grid-row-start: 1;
    grid-row-end: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}*/

.FIO-main {
    /*//++ 2023.11.27 0.0.4
    width: 100%;
    text-align: center;
    font-weight: 600;*/
    float: left;
    width: 80%;
    /*//-- 2023.11.27 0.0.4*/
}

/*//++ 2023.11.27 0.0.4*/
.FIO-right {
    width: 20%;
}
/*//-- 2023.11.27 0.0.4*/

.subwindow {
    margin-left: 2px;
    margin-right: 2px;
    min-width: 105px;
}

.ac-last-activity:hover::after {
    content: 'Последний раз был активен';
    position: absolute; /* Абсолютное позиционирование */
    right: 20%; top: 10%; /* Положение подсказки */
    z-index: 1; /* Отображаем подсказку поверх других элементов */
    background: rgba(255,255,230,0.9); /* Полупрозрачный цвет фона */
    font-family: Arial, sans-serif; /* Гарнитура шрифта */
    font-size: 11px; /* Размер текста подсказки */
    padding: 5px 10px; /* Поля */
    border: 1px solid #333; /* Параметры рамки */
}

.unactive {
    color: #AAAAAA;
}

.interactive:hover {
    /*//++ 2023.11.27 0.0.4
     color: #000000;*/
    color: #ff6600;
     /*//-- 2023.11.27 0.0.4*/
     cursor: pointer;
 }

.interactive-only:hover {
    cursor: pointer;
}

.symbol_style {
    /*font-family: Verdana, Arial, Helvetica, sans-serif;*/
    font-size: 12pt; /* Размер шрифта в пунктах */
}

/*Разделение на две колонки*/
.container-wrap-2colomns {
    /*height: 100%;*/
    width: 100%;
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(3, 1fr); /*repeat(12, 1fr);*/ /*repeat(2, 1fr);*/
    grid-template-rows: auto;

    /*grid-template-columns: 150px auto; /*repeat(12, 1fr);*/ /*repeat(2, 1fr);*/
}

.wrap-column1 {
    grid-row: 1 / -1;
    grid-column: 1 / 2;
    width: 100%;
}

.wrap-column2 {
    grid-row: 1 / -1;
    grid-column: 2 / 2;
    width: 100%;
}

.container-wrap2 {
    height: 100%;
    display: grid;
    grid-gap: 10px;
    grid-template-columns: 150px auto; /*repeat(12, 1fr);*/ /*repeat(2, 1fr);*/
    grid-template-rows: auto;
}

.wrap2-column1 {
    grid-row: 1 / -1;
    grid-column: 1 / 1;
    width: 100%;
}

.wrap2-column2 {
    grid-row: 1 / -1;
    grid-column: 2 / 5;
    width: 100%;
}

.full-width {
    width: 100%;
}

.full-height {
    height: 100%;
}

.label-about {
    width: 100%;
    height: 100%;
    resize: none;
    background-color: rgba(84, 66, 58, 0);
    border: 0px;
}

.container-wrap-last {
    height: auto;
}

.dialog-header {
    grid-area: dialog-header;
    height: 40px;
}
.dialog-main {
    grid-area: dialog-main ;
    height: 67vh;
}
.dialog-sidebar {
    grid-area: dialog-sidebar;
}

.dialog-sidebar-left{
    grid-area: dialog-sidebar-left;
}

.dialog-footer {
    grid-area: dialog-footer;
    height: 40px;
}

.dialog-container-wrap {
    height: 100%;
    display: grid;
    grid-gap: 10px;
    grid-template-columns: 1fr 3fr; /*1fr 2fr 1fr; /*repeat(12, 1fr);*/ /*repeat(2, 1fr);*/
    grid-template-areas:
    "dialog-sidebar-left dialog-header" /*dialog-sidebar*/
    "dialog-sidebar-left dialog-main"
    "dialog-sidebar-left dialog-footer";
}

.window-subcaption {
    width: 100%;
    text-align: center;
    font-weight: 600;
    padding-top: 10px;
}

.content {
    height: 100%;
}

.chat-wrapper {
    width: 100%;
}

.message-text {
    min-height: 1em; /* prevent height collapsing when there is no text */
    max-height: 97px;
    width: 100%;
    align-content: center;
    outline: none;
    overflow: hidden;
}

.message-text-multistring {
    width: 100%;
    overflow: auto;
    overflow-x: hidden;
    outline: none;

    text-align: left;

    border: 0;
    /*//++ 2023.12.25 0.0.6
    background-color: rgba(1,1,1,0);*/
    background-color: #d9dadb;
    /*//-- 2023.12.25 0.0.6*/
}

.message-wrapper {
    width: 92%;
    background-color: #f9fafb;
    padding: 8px; /* the container will keep the padding untouched */
    max-height: 145px; /* added padding to the height of the .message-text */
    float: left;
}

.message-wrapper-gray {
    width: 92%;
    background-color: #f9fafb;
    padding: 8px; /* the container will keep the padding untouched */
    max-height: 145px; /* added padding to the height of the .message-text */
    float: left;
    background-color: #F0F0F0;
}

.message-send {
    float: left;
    color: #67544f;
    width: 8%;
    text-align: center;
    font-size: 30px;
}

.message-send:hover {
    color: #503836;
}

.button-item:hover {
    background-color: rgba(84, 66, 58, 0.05);
}

.clearfix {
    clear: both;
}
.message-text-line {
     min-height: 22px; /* prevent height collapsing when there is no text */
     max-height: 97px;
     width: 100%;
     /*align-content: center;*/
     outline: none;
     overflow: hidden;

     text-align: left;

     border: 0;
     background-color: rgba(1,1,1,0);
 }

.message-text-line-num {
    text-align: right;
}

.message-text-line-half {
    min-height: 22px; /* prevent height collapsing when there is no text */
    max-height: 97px;
    width: 50%;
    /*align-content: center;*/
    outline: none;
    overflow: hidden;

    text-align: left;

    border: 0px;
    background-color: rgba(1,1,1,0);

    float: left;
}

.message-wrapper-title {
    width: 100%;
    padding: 8px; /* the container will keep the padding untouched */
    max-height: 145px; /* added padding to the height of the .message-text */
}

.caption-line {
    width: 20%;
    padding: 8px; /* the container will keep the padding untouched */
    float: left;
    text-align: right;

    margin-top: 10px;
}

.caption-line-left {
    width: 20%;
    padding: 8px; /* the container will keep the padding untouched */
    float: left;
    text-align: left;

    margin-top: 10px;
}

.caption-line-left-15 {
    width: 15%;
    text-align: left;
}

.caption-line-left-full {
    width: 100%;
    text-align: left;
}

.caption-line-gen {
    padding: 8px;
    float: left;
    /*margin-top: 10px;*/
}

.half_width {
    width: 50%;
    float: left;
}

.half_third {
    /*//++ 2023.11.27 0.0.4
    width: 33%;
    //-- 2023.11.27 0.0.4*/
    float: left;
    /*//++ 2023.11.27 0.0.4*/
    min-width: 350px;
    /*//-- 2023.11.27 0.0.4*/
}

.message-wrapper-line {
    width: 80%;
    background-color: #f9fafb;
    padding: 8px; /* the container will keep the padding untouched */
    max-height: 145px; /* added padding to the height of the .message-text */
    float: left;

    margin-top: 10px;
}

.message-wrapper-line-full {
    width: 100%;
    background-color: #f9fafb;
    padding: 8px; /* the container will keep the padding untouched */
    max-height: 145px; /* added padding to the height of the .message-text */
    float: left;

    margin-top: 10px;
}

.new-message-wrapper {
    /*//++ 2023.12.25 0.0.6
    background-color: #f9fafb;*/
    background-color: #d9dadb;
    /*//-- 2023.12.25 0.0.6*/
    padding: 8px; /* the container will keep the padding untouched */
    float: left;
}

.new-message-wrapper-line {
    max-height: 145px; /* added padding to the height of the .message-text */
}

.multistring-min-25 {
    min-height: 25em; /* added padding to the height of the .message-text */
}

.width-full {
    width: 100%;
}

.message-wrapper-line-half {
    /*//++ 2023.11.27 0.0.4
    width: 60%;
    background-color: #f9fafb;*/
    width: 260px;
    background-color: #d9dadb;
    /*//-- 2023.11.27 0.0.4*/
    padding: 8px; /* the container will keep the padding untouched */
    max-height: 145px; /* added padding to the height of the .message-text */
    float: left;

    margin-top: 10px;
}

.message-wrapper-line-half-70 {
    width: 70%;
    background-color: #f9fafb;
    padding: 8px; /* the container will keep the padding untouched */
    max-height: 145px; /* added padding to the height of the .message-text */
    float: left;

    margin-top: 10px;
}

.caption-line-half {
    width: 40%;
    padding: 8px; /* the container will keep the padding untouched */
    float: left;
    text-align: right;

    margin-top: 10px;
}

.caption-text{
    width: 90%;
    /*padding: 8px; *//* the container will keep the padding untouched */
    float: left;

    text-align: center;
    font-weight: bold;

    /*margin-top: 10px;*/
}

.caption-text-new{
    width: 90%;
    float: left;
    /*//++ 2023.11.27 0.0.4
    margin-top: -4px;
    */

    text-align: center;
    font-weight: bold;
}

.caption-begin {
     width: 5%;
    float: left;
 }

.caption-close {
    width: 5%;
    float: left;

    padding: 8px;
}

.caption-close-new {
    width: 5%;
    float: left;
    margin-top: -10px;
}

.fin-acc-name {
    float: left;
    width: 25%;
}

.fin-acc-amount {
    float: left;
    width: 20%;
}

.fin-acc-comment {
    float: left;
    width: 45%;
}



.fin-acc-panel {
    float: left;
    width: 10%;

    border-left: 1px solid #AAA;
    border-right: 1px solid #AAA;
}



.fin-acc-row {
    min-height: 22px;
    position:relative;
    overflow: hidden;
}

.table-caption {
    font-weight: bold;
    text-align: center;
 }

.table-text {
    border-left: 1px solid #AAA;
}

.right-text {
    text-align: right;
}

.line {
    margin-top: 0px;
    margin-bottom: 0px;
    border: 0;
    border-top: 1px solid #AAA;
}

.margin-v20 {
    margin-top: 20px;
    margin-bottom: 20px;
}

#prompt-form-container {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    display: none;
    width: 100%;
    height: 100%;
    text-align: center;
}



#prompt-form {
    display: inline-block;
    vertical-align: middle;
    /*margin-top: 10%;*/
    background-color: #E9E9E9; /* #17191a;*/
    border: solid 2px #67544f;
    width: 1000px;

    transform: translateY(-500px);
    transition: transform 0.2s ease-in;
}


#prompt-form.form-on{
    transform: translateY(100px);
}

#prompt-form.form-off {

}

#cover-div {
       position: fixed;
       top: 0;
       left: 0;
       z-index: 9000;
       width: 100%;
       height: 100%;
       background-color: rgba(0, 0, 0, 0.4);
       transition: background 1s ease-in;
   }

#cover-div.form-on {

}

#cover-div.form-off {
    background-color: rgba(0, 0, 0, 0);
}

.redBorder  {
    border: solid 1px red;
}

.text-center {
    text-align: center;
}

.red-comment{
    /*margin-top: 10px;*/
    color: red;
    text-align: center;
    width: 100%;
}

.custom-checkbox {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.custom-checkbox+label {
    display: inline-flex;
    align-items: center;
    user-select: none;
}
.custom-checkbox+label::before {
    content: '';
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    flex-shrink: 0;
    flex-grow: 0;
    border: 1px solid #adb5bd;
    background-color: #eeeeee;
    border-radius: 0.25em;
    margin-right: 0.5em;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
}

.custom-checkbox-radio+label::before {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    flex-grow: 0;
    border: 1px solid #adb5bd;
    background-color: #eeeeee;
    border-radius: 0.5em;
    margin-right: 0.5em;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
}

/*//++ 2023.11.15 0.0.2*/
.custom-checkbox:checked+label::before {
    border-color: #ff6600;
    background-color: #ff6600;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}
/*//-- 2023.11.15 0.0.2*/

/* //++ 1-2-4-002 10/10/2022  */

.custom-checkbox-right:checked+label::before {
    border-color: #287233;
    background-color: #287233;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}

.custom-checkbox-indeed-right:checked+label::before {
    border-color: #287233;
    background-color: rgba(28, 72, 33, 0.3);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}

/* //-- 1-2-4-002 10/10/2022  */

/* стили при наведении курсора на checkbox */
.custom-checkbox:not(:disabled):not(:checked)+label:hover::before {
    border-color: #C0C0C0;
}
/* стили для активного состояния чекбокса (при нажатии на него) */
.custom-checkbox:not(:disabled):active+label::before {
    background-color: #C0C0C0;
    border-color: #C0C0C0;
}
/* стили для чекбокса, находящегося в фокусе */
.custom-checkbox:focus+label::before {
    box-shadow: 0 0 0 0.2rem rgba(123, 123, 123, 0.25);
}
/* стили для чекбокса, находящегося в фокусе и не находящегося в состоянии checked */
.custom-checkbox:focus:not(:checked)+label::before {
    border-color: #B0B0B0;
}
/* стили для чекбокса, находящегося в состоянии disabled */
.custom-checkbox:disabled+label::before {
    background-color: #e9ecef;
}

label {
    font-weight: normal;
}

.height-3em {
    height: 1em;
}

.height-5em {
    height: 5em;
}

.hr {
    margin-top: 5px;
    margin-bottom: 5px;
}