﻿/*cssSite.css*/
/*кое что изменяю bootstrap*/

.form-label {
    margin-bottom: .3rem;
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

a.navbar-brand#appTitle span {
    margin: 0px 45px;
}

.navbar .nav-item .nav-link {
    cursor: pointer;
    color: #EAF8F7;
}

.navbar-nav .active > .nav-link {
  background-color:#0260ad;
}

/*.navbar-dark .navbar-nav .dropdown-toggle-split {
  color: yellow;
}*/

th.sticky-top {
    z-index: 100;
}

th.font-smaller {
    font-size: 11px;
}

#navbarAdditionalTop {
    background-color: #177fc5;
}

#navbarMain {
    background-color: #157ec5;
}

#btnFiltersSearch {
    color: #fff;
    background-color: #177fc5;
    border-color: #157ec5;
}

.navbar-collapse#navbarNav {
	align-items: baseline;
    white-space: nowrap;
}

.hidden {display: none !important;}
.invisible {visibility: hidden !important;}

#modalLogin input {
    width: 92%;
    display: inline-block;
}

/*https://stackoverflow.com/questions/21286887/adding-check-marks-to-bootstrap-button-drop-down-items*/
.dropdown-item-checked::before {
  position: absolute;
  left: .4rem;
  content: '✓';
}

.dropdown-item-checked {
    font-weight: bold;
    color: #0B1AAF;
}

/*место для dropdown-item-checked*/
.dropdown-menu.allow-check .dropdown-item {
    padding-left: 24px;
}

.dropdown-item-checked2 {
    color: #0B1AAF;
    text-decoration: underline;
    background-color: #EEEDED;
    /*border: .2px solid blue;*/
}

.btn i {
    background-size: 18px;
    background-position: center;
    display: inline-block;
    height: 16px;
    width: 16px;
}

.btn-sm i {
    background-size: 18px;
    background-position: center;
    display: inline-block;
    height: 15px;
    width: 15px;
}

.btn-xs {
    font-size: .875rem;
    line-height: .5;
    height: 1.7rem;
    width: auto;
    border-radius: .2rem;
}

.btn-xs-img {
    padding: .24rem .2rem;
    font-size: .875rem;
    line-height: .5;
    height: 1.7rem;
    min-width: 1.7rem;
    border-radius: .2rem;
}

.btn-xs-img i {
    background-size: 13px;
    background-position: center;
    display: inline-block;
    height: 15px;
    width: 15px;
}

.btn-xs2-img {
    padding: .24rem .2rem;
    font-size: .875rem;
    line-height: .5;
    border-radius: .2rem;
}

.btn-xs2-img i {
    background-size: 13px;
    background-position: center;
    display: inline-block;
    height: 15px;
    width: 15px;
}

/*https://www.geeksforgeeks.org/how-to-style-icons-bold-in-bootstrap/*/
i.bolder {
    -webkit-text-stroke: 1px;
}

i.bolder.bi-x {
    --bs-text-opacity: 1;
    color: #125cbe !important;
}

i.icon-left-arrow {
    background-image: url('../Img/svg/left-arrow-back-svgrepo-com.svg');
    background-size: 16px;
}

button i.icon-refresh {
    background-image: url(../Img/refresh_16.png);
    background-size: 16px;
}

button i.icon-refresh2 {
    background-image: url(../Img/refresh_16xLG.png);
    background-size: 16px;
}

i.icon-prev {
    background-image: url(../Img/navigate_left.png);
}

button i.icon-next {
    background-image: url(../Img/navigate_right.png);
}

button i.icon-clearselect {
    background-image: url(../Img/navigate_cross.png); 
}

.input-group button i.icon-clearselect {
    background-size: 13px;
    background-repeat: no-repeat;
    background-position: top;
}

i.icon-down-green {
    background-image: url(../Img/down_green24.png);
    background-size: 10px;
}

i.icon-del {
    background-image: url(../Img/BindingNavigatorDeleteItem.Image.png);
    /*background-size: 16px;*/
}

i.icon-FileAttach1 {
    background-image: url(../Img/paperclip.png);
    background-size: 16px;
}

i.icon-DiskBlue {
    background-image: url(../Img/disk_blue.png);
    background-size: 16px;
    margin: 2px 0px -3px 0px;
}

i.icon-pencil {
    background-image: url(../Img/iconfinder_website_-_pencil_3440848.png);
}

i.icon-protocol-edit {
    background-image: url(../Img/protocol.gif);
    background-size: 16px 16px;
}

i.icon-designer {
    background-image: url(../Img/ico/Designer.ico);
    background-size: 16px 16px;
}

i.icon-edit {
    background-image: url(../Img/iconfinder_edit_3855617.png);
    background-size: 15px 15px;
}

i.icon-edit-doc {
    background-image: url(../Img/EditDocument.png);
}

i.icon-edit-page {
    background-image: url(../Img/edit_page.png);
}

i.icon-edit-files {
    background-image: url(../Img/paperclip.png);
    background-size: 15px 15px;
}

i.icon-businessmen {
    background-image: url(../Img/businessmen.png);
}

i.icon-up-green {
    background-image: url(../Img/arrow_up_green.png);
    background-size: 16px;
    background-position-y: 1px;
}

i.icon-up-blue {
    background-image: url(../Img/arrow_up_blue.png);
    background-size: 16px;
    background-position-y: 1px;
}

i.icon-down-blue {
    background-image: url(../Img/arrow_down_blue.png);
    background-size: 16px;
    background-position-y: 1px;
}

i.icon-add-new {
    background-image: url(../Img/BindingNavigatorAddNewItem.Image.png);
    background-size: 16px;
    /*background-position-y: 1px;*/
}

i.icon-package1 {
    background-image: url(../Img/package1.png);
    background-size: 16px;
}

i.icon-package2 {
    background-image: url(../Img/package2.png);
    background-size: 16px;
}

i.icon-tree1 {
    background-image: url(../Img/Tree_close_at.gif);
    background-size: 16px;
}

i.icon-down-blue2 {
    background-image: url(../Img/112_DownArrowLong_Blue_16x16_72.png);
    background-size: 16px;
    background-position-x: 1rem;
}

i.icon-down-blue3 {
    background-image: url(../Img/arBluedown_at.gif);
    background-size: 16px;
    background-position-x: 1rem;
    /*background-position-y: 1px;*/
}

i.icon-up-blue2 {
    background-image: url(../Img/112_UpArrowLong_Blue_16x16_72.png);
    background-size: 16px;
    background-position-y: 1rem;
}

i.icon-up-blue3 {
    background-image: url(../Img/arBlueUp_at.gif);
    background-size: 16px;
    background-position-x: 1rem;
}

i.icon-go-top {
    background-image: url(../Img/navigate_up2_24.png);
    /*background-position-y: 2rem;*/
    /*background-size: 16px;*/
}

i.icon-go-bottom {
    background-image: url(../Img/navigate_down2_24.png);
    /*background-position-y: 2rem;*/
    /*background-size: 16px;*/
}

i.icon-check2 {
    background-image: url(../Img/check2.png);
    /*background-position-y: 2rem;*/
    /*background-size: 16px;*/
}

i.icon-search1 {
    background-image: url(../Img/Find_VS.png);
    background-size: 16px;
    background-position-x: 1rem;
}

i.icon-search2 {
    background-image: url(../Img/search.png);
    background-size: 16px;
    /*background-position: 1.3rem 1.4rem;*/
}

i.icon-go1 {
    background-image: url(../Img/command_link_16x16.png);
    /*background-image: url(../Img/go.png);*/
}

i.icon-go2 {
    background-image: url(../Img/GoLtrHS.png);
    /*background-image: url(../Img/go2.png);*/
}

i.icon-calendar1 {
    background-image: url(../Img/Calendar_scheduleHS.png);
    background-size: 17px;
}

i.icon-calendar2 {
    background-image: url(../Img/base_calendar_32.png);
    background-size: 18px;
}

i.icon-calendar3 {
    background-image: url(../Img/calendar.gif);
    background-size: 24px;
}

i.icon-calendar4 {
    background-image: url(../Img/calendar.png);
    background-size: 21px;
}

i.icon-calendar28 {
    background-image: url(../Img/calendar28.png);
}

i.icon-access-green {
    background-image: url(../Img/green.gif);
}

i.icon-access-red {
    background-image: url(../Img/red.gif);
}

i.icon-special-eye {
    background-image: url(../Img/special/iconfinder_icon-22-eye_314754.png);
}

i.icon-special-font {
    /*background-image: url(../Img/special/FontPage.ico);*/
    background-image: url(../Img/special/themeWhite.png);
    background-size: 24px;
}

.link_go1 {
    background-image: url(../Img/go.png);
    background-size: 24px;
}

i.icon-user1 {
    background-image: url(../Img/iconfinder_Paul-18_2524750.png);
    background-size: 27px;
    background-position: 1.3rem 1.4rem;
}

i.icon-user2 {
    background-image: url(../Img/person24.png);
    background-size: 16px;
    background-position: 0px 1px;
    margin-right: .25rem !important;
}

i.icon-printer1 {
    background-image: url(../Img/default_print.png);
    background-size: 21px;
    background-position: 50% 20%;
}

i.icon-properties1 {
    background-image: url(../Img/Properties_16.png);
    background-size: 15px;
}

i.icon-upload {
    background-image: url(../Img/up_load.png);
    background-size: 16px;
}

i.icon-download {
    background-image: url(../Img/up_load.png);
    background-size: 16px;
    transform: rotate(180deg);
}

i.icon-view {
    background-image: url(../Img/view.png);
}

i.icon-xml {
    background-image: url(../Img/XMLFileHS.png);
    background-size: 15px 15px;
}

i.icon-stimulsoft {
    background-image: url(../Img/Stimulsoft.png);
    background-size: 15px 15px;
}

.btn-outline-secondary {
    border-color: #CFCBCB;
}

.btn-outline-secondary:hover {
    color: #fff;
    background-color: #D8D9D9;
    /*border-color: #285e8e;*/ 
}

/*button.btnclear {
    visibility: hidden;
}*/

.modal form textarea {
    /*min-width: 90%;*/
    display: inline-block;
}

.modal form input {
    /*max-width: 90%;*/
    display: inline-block;
}

/*ui-autocomplete*/
.ui-autocomplete {
    max-height: 300px;
    max-width: 75%;
    overflow-y: auto;
    overflow-x: hidden;
}

  /* IE 6 doesn't support max-height
   * we use height instead, but this forces the menu to always be this tall
   */
* html .ui-autocomplete {
    height: 300px;
    max-width: 75%;
}

.ui-autocomplete-input {
    display: inline-block;
    min-width: 95%;
}

/*под формой bootstrap не открывается почему то autocomplete, тут решение*/
/*https://stackoverflow.com/questions/47384033/jquery-ui-autocomplete-does-not-work-on-bootstrap-4-modal*/
.ui-autocomplete {
    position: absolute;
    z-index: 2147483647 !important;
    cursor: default;
    padding: 0;
    margin-top: 2px;
    list-style: none;
    background-color: #ffffff;
    border: 1px solid #ccc -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    height: 300px;
}

.ui-menu-item {
    border-bottom: thin solid #ccc;
    padding: 4px 5px 0px 7px;
}

.ui-menu-item:last-child {
    border-bottom: none;
}

div.my-radio-inline label {
    margin-right: 10px;
}

.mw-60 {max-width: 60% !important;}
.mw-75 {max-width: 75% !important;}

.mh-500px {
    max-height: 500px !important;
}
.mh-400px {
    max-height: 400px !important;
}
.mh-300px {
    max-height: 300px !important;
}

/*button i.btn-img-my {
    font-size: 20px;
    display: inline-block;
    background-color: #E4E5E5;
    padding: 15px 20px;
    vertical-align: middle;
    background-repeat: no-repeat;
}*/

.btn-label {
    position: relative;
    left: -12px;
    display: inline-block;
    padding: 6px 12px;
    background: rgba(0,0,0,0.15);
    border-radius: 3px 0 0 3px;
}
.btn-labeled {padding-top: 0;padding-bottom: 0;}

.btn { margin-bottom:10px; }

.btn-link {
    text-align: left;
}

/*.btnclear {
    max-height: 26px;
}
*/
input.input-validation-error {
    border-color: red;
}
textarea.input-validation-error {
    border-color: red;
}

/*btn-custom1*/
/*https://stackoverflow.com/questions/28261287/how-to-change-btn-color-in-bootstrap*/
.btn-custom1, .btn-custom1:active, .btn-custom1:visited {
    background-color: #4C64D5 !important;
    color: #CDD6FF;
}
.btn-custom1:hover {
    background-color: #6B82F1 !important;
    color: #DEE4FF;
}
/*end of btn-custom1*/

/*bg-light-my*/
.bg-light-my {
    background: #EAEFFE !important;
}

.bg-light-my:hover {
    background: #DAE3FE !important;
}

.bg-light-my td, th {
    border: #BBBCFF solid thin !important;
}

.bg-light-my .list-group-item {
    background: #EAEFFE !important;
}

/*bg-blue-light*/
.bg-blue-light {
    background: #CEECFF !important;
}

bg-blue-light:hover {
    background: #A0D5F8 !important;
}

.bg-blue-light td, th {
    border: #30A4F1 solid thin !important;
}

/*bg-yellow-light*/
.bg-yellow-light {
    background: #FFFFDD !important;
}

.bg-yellow-light td, th {
    border: #DBDB81 solid thin !important;
}

/*bg-yellow-light*/
.bg-grey-light {
    background: #E4F0FA !important;
}

.bg-grey-light td, th {
    border: #AAB9C4 solid thin !important;
}

.bg-LightBlue {
    background: #ADD8E6 !important;
}

.bg-PaleTurquoise {
    background: #AFEEEE !important;
}

.bg-LightCyan {
    background: #E0FFFF !important;
}

.bg-AliceBlue {
    background: #F0F8FF !important;
}

.block-ellipsis {
    display: block;
    display: -webkit-box;
    max-width: 100%;
    max-height: 60px;
    margin: 0 auto;
    /*font-size: 14px;*/
    line-height: 1;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 2px 1px;
}

.modal-header {
    padding: 3px 15px;
    border: 1px solid #aaa;
    border-bottom-width: 0.4px;
    border-radius: 1px;
    background-color: #fff;
    background: linear-gradient(#fff 20%, #f6f6f6 50%, #eee 52%, #f4f4f4 100%);
    background-clip: padding-box;
    box-shadow: 0 0 3px #fff inset, 0 1px 1px rgba(0, 0, 0, 0.1);
    color: #444; 
}

.modal-footer {
    padding: 12px 2px 0px 2px;
    margin: 10px 1px 2px 1px;
}

.modal-body {
    padding: 15px 15px 2px 15px;
}

.stage-tools {
    background: #E8F9FF;
    display: inline-block;
    margin: 1px;
    padding: 2px;
    vertical-align: text-top;
    max-height: 29px;
    float: right;
}

.doc-tools-top-right {
    position: absolute;
    right: 2px;
    top: 1px;
    z-index: 999;
    background: #E8F9FF;
    /*background: rgba(232, 249, 255, 0.8);*/
    /*margin: 0px 1px;*/
    padding: 0px 1px;
    max-height: 28px;
}

.max-w-60 {
    max-width: 60% !important;
}

.max-w-70 {
    max-width: 70% !important;
}

.max-w-90 {
    max-width: 90% !important;
}

.max-w-95 {
    max-width: 95% !important;
}

.min-w-100 {
    min-width: 100% !important;
}

.min-w-93 {
    min-width: 93% !important;
}

.min-w-95 {
    min-width: 95% !important;
}

.min-w-90 {
    min-width: 90% !important;
}

.min-w-85 {
    min-width: 85% !important;
}

.min-w-80 {
    min-width: 80% !important;
}

.min-w-70 {
    min-width: 70% !important;
}

.min-w-60 {
    min-width: 60% !important;
}

.min-w-50 {
    min-width: 50% !important;
}

.min-w-40 {
    min-width: 40% !important;
}

.min-w-30 {
    min-width: 30% !important;
}

.min-w-20 {
    min-width: 20% !important;
}

.w-10 {
    width: 10% !important;
}

.w-20 {
    width: 20% !important;
}

.w-30 {
    width: 30% !important;
}

.w-35 {
    width: 35% !important;
}

.w-40 {
    width: 40% !important;
}

.w-80 {
    width: 80% !important;
}

.w-85 {
    width: 85% !important;
}

.w-90 {
    width: 90% !important;
}

.w-95 {
    width: 95% !important;
}

.w-97 {
    width: 97% !important;
}

.w-fit-content {
    width: fit-content;
}

.w-max-content {
    width: max-content;
}

/* override styles when printing */
@media print {
    div.toolsPrint {
        display: none;
    }
}

/*https://stackoverflow.com/questions/48847043/checkbox-radio-how-to-color-buttons*/
/*.ui-checkboxradio-label.ui-corner-all.ui-button.ui-widget.ui-checkboxradio-checked.ui-state-active {
    background: #3A94D1; !important;
}*/

/*https://stackoverflow.com/questions/16852484/use-fieldset-legend-with-bootstrap*/
legend.scheduler-border {
    float: none;
    width: auto; /* Or inherit */
    padding:0 10px; /* To give a bit of padding on the left and right */
    border-bottom:none;
    font-size: large;
    margin-bottom: 0;
    margin-left: 10px;
}

table td.td-fit1 {
    width: 1px;
}

/*когда чекбоксы под табом в jquery ui то картинка в чекбоксе выводится не та. тут решают этот баг*/
/*https://stackoverflow.com/questions/48286850/jquery-ui-improper-checkbox-state-icon-using-checkboxradio-and-tabs*/
.ui-icon-blank {
    background-position: 16px 16px !important;
}
.ui-icon-check {
    background-position: -64px -144px !important;
}

.container-btn {
    display: inline-block;
    height: 30px; 
    text-align: center;
    line-height: 30px;
    vertical-align: top;
}

.highlight {
    background-color: #fcf8e3;
    color: black;
    border-radius: 0.3rem;
    /*border: 1px solid #ced4da;*/
    padding: 2px 1px 3px 1px;
}

mark.highlight_border {
    background-color: Yellow;
    border-radius: 0.3rem;
    border: 1px solid #EC4843;
}

/*https://stackoverflow.com/questions/22196587/how-to-vertically-center-a-container-in-bootstrap*/
/*.vertical-center {
  min-height: 100%;  
  display: flex;
  align-items: center;
}*/

.td_tools1 {
    width: 90px;
    text-align: center;
}

/*для панелей с вертикальным скролингом*/
.v-scrool-100 {
    max-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.v-scrool-90 {
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.v-scrool-80 {
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.v-scrool-70 {
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.v-scrool-60 {
    max-height: 60vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.table_outline_select {
    outline-style: solid;
    outline-width: 3px;
    outline-color: blue;
}

.iconbtn {
    height: 28px;
    width: 28px;
    cursor: pointer;
    border: solid 1px #ccc;
    border-radius: 0.3em;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: transparent;
}

.iconbtn:hover {
    border-color: #0055ff; 
    background-color: #ddd;
    color: #0055ff;
}

.iconbtn.icon-hand-point {
    background-image: url(../Img/hand_point.png);
}

.iconbtn.icon-move-up-down {
    background-image: url(../Img/Move_Up_Down.png);
}

/*
.iconbtn.icon-drag1 {
    background-image: url(../Img/icons8-drag-24.png);
    background-size: 17px;
    margin: 0px 0px 2px 2px;
}

.iconbtn.icon-drag2 {
    background-image: url(../Img/icons8-drag-30.png);
    background-size: 17px;
    margin: 0px 0px 2px 2px;
}
*/
/*
    .iconbtn.icon-drag1 {
        background-image: url(../Img/svg/arrow-down-up.svg);
    }

    .iconbtn.icon-drag2 {
        background-image: url(../Img/svg/arrow-down-up2.svg);
    }
*/

.icon-drag1 {
    background-image: url(../Img/svg/arrows-vertical1.svg);
}

.icon-drag2 {
    background-image: url(../Img/svg/arrows-vertical2.svg);
}

.icon-drag3 {
    background-image: url(../Img/svg/arrows-vertical3.svg);
}

.iconbtn.icon-video {
    background-image: url(../Img/PlayVideo_16x.png);
    background-size: 20px;
}

.iconbtn.icon-video-blue {
    background-image: url(../Img/media_play_blue.png);
    background-size: 14px;
    border: none;
}

.iconbtn.icon-video-green {
    background-image: url(../Img/media_play_green.png);
    background-size: 14px;
    border: none;
}

i.icon-import {
    background-image: url(../Img/svg/import-svgrepo-com.svg);
    background-size: 20px;
    background-repeat: no-repeat;
}

i.person-add {
    background-image: url(../Img/svg/person-add.svg);
    background-size: 19px;
    width: 19px;
    height: 19px;
    background-repeat: no-repeat;
    vertical-align: sub;
}

.QuestEdit {
    text-align: center;
    padding: 3px 2px;
}

.QuestPanel {
    padding: 0px 2px 5px 2px;
}

.sortable-highlight {
    border: 1px solid red;
    /*font-weight: bold;
    font-size: 45px;*/
    background-color: lightblue;
}

.border-3 {
    border-width:3px !important;
}

.h-fit-content {
    height: fit-content !important;
}

/*.video_player {
    width: 400px;
    height: 200px;
    border: groove;
    margin: 10px 5px 0px 5px;
}
*/

/*.dropdown-menu:fi:has('.video_player_parent') {

}
*/

.video_player_parent {
    width: 400px;
    height: 200px;
    padding: 3px;
    /*padding-bottom: 5px;*/
    /*padding-left: 7px;*/
    /*padding: 0px 5px;*/
}

/*https://html5book.ru/examples/demo-tables.html*/
/************пример 2***************/
.table-color {
    font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
    font-size: 14px;
    border-collapse: collapse;
    text-align: center;
}

    .table-color th, .table-color td:first-child {
        background: #AFCDE7;
        color: white;
        /*padding: 10px 20px;*/
    }

    .table-color th, .table-color td {
        border-style: solid;
        border-width: 0 1px 1px 0;
        border-color: white;
        padding: 10px 20px;
    }

    .table-color td {
        background: #D8E6F3;
    }

    .table-color th:first-child, .table-color td:first-child {
        text-align: left;
    }

.rotate90 {
    -ms-transform: rotate(270deg); /* IE 9 */
    -webkit-transform: rotate(270deg); /* Chrome, Safari, Opera */
    transform: rotate(270deg);
}

/*****************************/

.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
    color: #0E5EAE;
    font-weight: bolder;
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
    text-decoration: underline;
}

.nav-tabs .nav-link {
    color: #495057;
    border: 1px solid transparent;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
}
/*****************************/

/*.input-group-text.btn.btnclear {
    margin: 5px 0px 0px -22px !important;
    z-index: 9999;
    align-self: start;
}
*/

.input-group textarea {
    padding-right: 16.5px !important
}

.input-group textarea.with-vert-scroll {
    padding-right: 19px !important;
}

.input-group .btn-link.btnclear {
    margin: 2px 0px 0px -22px !important;
    z-index: 9999;
    align-self: start;
    color: darkblue;
}

.input-group .ui-datepicker-trigger + .btn.btnclear {
    margin-left: -40px !important;
}

.input-group textarea + .btn.btnclear.with-button-image {
    margin: 0px 0px 0px -45px !important;
}

/*
.input-group-text.btn.btnclear.with-button-image {
    margin: 0px 0px 0px -45px !important;
}

.input-group-text.btn.eye, .input-group-text.btn.eye-slash {
    margin-left: -33px !important;
    margin-bottom: -0.01em !important;
    z-index: 9999;
}
*/

div.psw:has(div.eye) {
    display: flex !important;
    flex-direction: row !important;
}

div.psw > div.eye {
    margin: 5px 0px 0px -45px !important;
    cursor: pointer !important;
}

div.psw > div.clear {
    margin: 5px 2px 0px 7px;
    cursor: pointer;
}


div.btnclear:has(.bi-x) {
    margin: 2px 0px 0px -22px !important;
    cursor: pointer !important;
    z-index: 99999 !important;
}

.input-group textarea ~ .spinner-container {
    margin: 2px 0px 0px -22px !important;
    z-index: 99999 !important;
}

/*.input-group textarea ~ .spinner-border-sm {
    margin: 2px 0px 0px -22px !important;
    z-index: 99999 !important;
}
*/
.input-group textarea + .btnclear.with-vert-scroll {
    margin: 2px 19px 0px -41px !important;
}

.custom-tooltip {
    /*    background-color: blue;
    color: white;
*/
    --bs-tooltip-bg: var(--bs-primary);
}

.cursor-pointer {
    cursor: pointer;
}

label.required:after, .required legend:after {
    font-weight: bolder;
    color: #e32;
    content: ' *';
    display: inline;
}

ul.dropdown-menu {
    padding-left: 0!important;
    list-style-position: inside;
}

/* https://mdbootstrap.com/docs/standard/extended/dropdown-multilevel */
.dropdown-menu li {
    position: relative;
    list-style-type: none;
}

.dropdown-menu .dropdown-submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: -7px;
}

.dropdown-menu .dropdown-submenu .dropdown-item {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: fit-content;
}

.dropdown-menu .dropdown-submenu-left {
    right: 100%;
    left: auto;
}

.dropdown-menu > li:hover > .dropdown-submenu {
    display: block;
}

.dropdown-menu .submenu {
    padding: 3px 0px;
}

.dropdown-menu .submenu li {
    margin: 0;
    border-bottom: thin solid #ccc;
}

.dropdown-menu .submenu li:last-child {
    border-bottom: none;
}

.dropdown-menu .submenu li:hover .doc-descr {
    text-decoration: underline;
    color: blue;
}

.dropdown-menu .submenu .dropdown-item .komitet {
    font-style: italic;
    font-size: .7em;
    margin: 0px 5px 0px 10px;
}

.dropdown-menu .submenu .dropdown-item .annotat {
    font-size: .7em;
    font-weight: bolder;
    margin: 0px 5px 0px 10px;
    max-width: 800px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.modal {
    z-index: 999999;
}

input[type="date"].dt {
    width: 130px;
}

input[type="datetime-local"].dt {
    width: 170px;
}

input[type="time"].dt {
    width: 90px;
}

.form-check.form-switch.border {
    padding-left: 3em;
    padding-right: .4em;
    padding-top: .2em;
    padding-bottom: .2em;
}

.w-fit-content {
    width: fit-content;
}

.dropdown.protokol-edit .dropdown-toggle.checked.show {
    color: #477db4;
}

i.check-lg-dark-blue {
    background: url('../Img/svg/check-lg-dark-blue.svg') no-repeat;
}

.btn.dropdown-toggle.checked {
    background: url('../Img/svg/check-lg-dark-blue.svg') no-repeat;
    background-position-y: center;
    background-position-x: 3px;
    padding-left: 25px;
}

/*.chosen-single .option-checked.option-checked {
    background: url('../Img/svg/check-lg-dark-blue.svg') no-repeat;
    background-position-y: center;
    background-position-x: 95%;
}
*/
.form-select option:checked {
    color: LightYellow;
}

.form-select option[rep-id] {
    color: DarkBlue;
    background-image: url('../Img/svg/check-lg-dark-blue.svg');
    background-repeat: no-repeat;
    /* Position the image on the right */
    background-position: right 0px center;
    /* Adjust padding so text doesn't overlap the image */
    padding-right: 30px;
}

.form-select option:checked[rep-id] {
    color: LightCyan;
    background-image: url('../Img/svg/check-lg-ligth-blue.svg');
}

.form-select:not(:focus) option:checked {
    color: LightYellow;
    background-color: SteelBlue;
}

.form-select:not(:focus) option:checked[rep-id] {
    color: LightCyan;
    background-image: url('../Img/svg/check-lg-ligth-blue.svg');
}

.alert.option-checked {
    background: url('../Img/svg/check-lg-dark-blue.svg') no-repeat;
    background-position-y: center;
    background-position-x: 95%;
}

.chosen-drop .active-result.option-checked {
    background: url('../Img/svg/check-lg-ligth-black.svg') no-repeat;
    background-position-y: center;
    background-position-x: 95%;
}

.chosen-drop .active-result.highlighted.option-checked {
    background-color: #3875d7;
    background-image: url('../Img/svg/check-lg-ligth-blue.svg');
    background-repeat: no-repeat;
    background-position-y: center;
    background-position-x: 95%;
}

.dropdown.protokol-edit form {
    min-height: 430px;
    max-height: 600px;
    min-width: 500px;
    max-width: 800px;
    padding: 2px 10px 0px 10px;
}

/*.dropdown.protokol-edit .dropdown-menu {
    min-height: 30%;
    max-height: 60%;
    min-width: 30%;
    max-width: 60%;
    padding: 2px 10px 0px 10px;
}
*/
input.voting {
    width: 60px;
    height: fit-content;
    font-weight: bolder;
}

/*https://stackoverflow.com/questions/31184000/making-a-bootstrap-table-column-fit-to-content*/
.table td.fit,
.table th.fit {
    white-space: nowrap;
    width: 1%;
}

table.table-fit {
    width: auto !important;
    table-layout: auto !important;
}

table.table-fit thead th,
table.table-fit tbody td,
table.table-fit tfoot th,
table.table-fit tfoot td {
    width: auto !important;
}

.accordion-button {
    padding: 12px 20px;
}

.accordion-button.collapsed {
    /*border: 1px solid #c5c5c5;*/
    background: #f6f6f6;
    color: #454545;
    font-weight: normal;
}

.input-sm {
    height: 28px;
    line-height: 28px;
}

input.input-sm {
    max-width: 130px;
    padding: 0px 5px;
}

input[type="text"][readonly].date-only {
    width: 100px;
    text-align: center;
}

.my-tooltip-primary {
    --bs-tooltip-bg: var(--bs-primary);
}

.my-tooltip-LightSkyBlue {
    /*--bs-tooltip-bg: #87CEFA;*/
    background-color: #87CEFA !important;
}

.tooltip-blue .tooltip-inner {
    background-color: #007bff; /* Яркий, небесный синий */
    color: #fff; /* Абсолютно белый текст */
}

.tooltip-blue .tooltip-arrow::before {
    /*border-top-color: #007bff; */
    border-right-color: #007bff; /* Arrow on right */
}

.tooltip-blue .tooltip-inner {
    font-size: 12px;
}

.tooltip-LightYellow {
    z-index: 99999999;
}

.tooltip-LightYellow .tooltip-inner {
    background-color: #FFFFE0;
    color: black;
    max-width: 600px;
    text-align: left;
    border: solid .7px #B8860B;
    -webkit-box-shadow: 2px 2px 8px 0px #d3d8dc;
    -moz-box-shadow: 2px 2px 8px 0px #d3d8dc;
    box-shadow: 2px 2px 8px 0px #d3d8dc;
}

.tooltip-custom-setttings {
    width: 300px;
}

.text-DarkBlue {
    color: #00008B;
}

.text-Navy {
    color: #000080;
}

.text-MidnightBlue {
    color: #191970;
}
