html, body {
    scrollbar-gutter: stable;
}

a, a:hover {
    color: #272727;
    text-decoration: none;
}

#left_panel {
    background-color: #f9f9f9;
    color: #272727;
    width: 70px;
    padding: 10px 0px 30px 25px;
    height: 100%;
    position: fixed;
    overflow: hidden;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    -webkit-box-shadow: 4px 0px 7px -6px rgba(34, 60, 80, 0.18);
    -moz-box-shadow: 4px 0px 7px -6px rgba(34, 60, 80, 0.18);
    box-shadow: 4px 0px 7px -6px rgba(34, 60, 80, 0.18);
    transition: .3s;
}

#left_panel .main_menu {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
}

#left_panel .bottom_menu {
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: start;
}

#left_panel .menu_section {
    transition: .3s;
    margin-top: 10px;
}

#left_panel .menu_section .menu_link {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: baseline;
    min-height: 35px;
}

#left_panel .menu_section .menu_link_title {
    display: none;
    text-wrap: wrap; /* nowrap */
    margin-left: 10px;
}

#left_panel .menu_section .menu_sub_links {
    padding-left: 30px;
}

#left_panel .menu_section .menu_sub_links .menu_sub_link {
    display: none;
    text-wrap: wrap; /* nowrap */
}


/* плашка итогов внизу */
#total_outcome {
    padding: 20px;
    position: fixed;
    bottom: 0;
    right: 100px;
    z-index: 1000;
    
    border-radius: 10px 10px 0px 0px;
    -webkit-box-shadow: 0px -4px 18px -9px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 0px -4px 18px -9px rgba(34, 60, 80, 0.2);
    box-shadow: 0px -4px 18px -9px rgba(34, 60, 80, 0.2);
    transition: .3s;
}

.bg-lightgreen {
    background-color: #dce9d5 !important;
}

.bg-lightyellow {
    background-color:#fffd54 !important;
}

.bg-lightred {
    background-color:#eecdcd;
}

.bg-lightbeige {
    background-color:#fbe5a2 !important;
}

.bg-lightbeige-2 {
    background-color:#fbe5a2 !important;
}

.bg-lightblue {
    background-color:#ccdaf5 !important;
}

.bg-lightgray {
    background-color:#ebf1fe !important;
}

/* всплывающая индикация работы ajax-функций */
#hidden_messages {
    position: fixed;
    right: 50px;
    top: 20px;
    z-index: 1000;
  }
  
  .success-msg {
    font-size: 10px;
    color: rgb(128, 128, 128);
    display: none;
  }
  
  .error-msg {
    font-size: 10px;
    color: rgb(128, 128, 128);
    display: none;
  }
  
  
  .loading {
    width: 35px;
    height: 20px;
    overflow: hidden;
    background: url('../img/loading.gif') center center no-repeat;
    background-size: contain;
    display: none;
  }
  
  /* .loading-visible {
    width: 35px;
    height: 20px;
    overflow: hidden;
    background: url('../img/loading.gif') center center no-repeat;
    background-size: contain;
  } */
  /* end всплывающая индикация работы ajax-функций */


/* custom scrollbars */
/* Firefox */
.scrollbar-type-1 {
    scrollbar-width: thin;
    scrollbar-color: #D5D5D5 #F7F7F7;
}

/* Chrome, Edge and Safari */
.scrollbar-type-1::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.scrollbar-type-1::-webkit-scrollbar-track {
  border-radius: 5px;
  background-color: #F7F7F7;
}

.scrollbar-type-1::-webkit-scrollbar-track:hover {
  background-color: #F4F4F4;
}

.scrollbar-type-1::-webkit-scrollbar-track:active {
  background-color: #F4F4F4;
}

.scrollbar-type-1::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background-color: #D5D5D5;
}

.scrollbar-type-1::-webkit-scrollbar-thumb:hover {
  background-color: #C5C5C5;
}

.scrollbar-type-1::-webkit-scrollbar-thumb:active {
  background-color: #ADADAD;
}


/* вложения */
#attachments {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-left: 0px;
    margin-bottom: 0px;
    padding-left: 0px;
    list-style: none;
  
}
  
#attachments li {
    width:200px;
    height: 50px;
    overflow: hidden;
    margin: 10px;
    padding: 10px;
    border-radius: 5px;
    display: flex;
    flex-direction: row;
    justify-content: start;
    background-color: #8494c42f;
    position: relative;
}

#attachments li img {
    width: 100%;
}

#attachments li p.filename {
    font-size: 10px;
    color: #0f185f;
    width: 120px;
    height: 30px;
    overflow: hidden;
    position: relative;
    margin-left: 10px;

}

#attachments li p.filename:after {
    content: "";
    text-align: right;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 70%;
    height: 1.2em;
    background: linear-gradient(to right, rgb(255 255 255 / 0), rgb(232, 235, 244, 1));
    pointer-events: none;
}

#attachments .attachment-delete {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
}

.attachment-add {
    width: 50px;
    height: 50px;
    overflow: hidden;
    margin: 10px;
    padding: 10px;
    border-radius: 5px;
    display: flex;
    flex-direction: row;
    justify-content: start;
    background-color: #8494c42f;
    position: relative;
    cursor: pointer;
}

.js-download {
    cursor: pointer;
}


/* .td-week-fp {
    min-width: 200px;
    font-size: 12px;
} */

/* font-size */
.fs-14 {
    font-size: 14px;
}

.fs-20 {
    font-size: 20px;
}

.fs-06rem {
    font-size: .6rem;
}

.fs-07rem {
    font-size: .7rem;
}

.fs-08rem {
    font-size: .8rem;
}

.fs-09rem {
    font-size: .9rem;
}

/* sizing */
.min-w-150 {
    max-width: 120px;
}

.max-w-50 {
    max-width: 50px;
}

.max-w-90 {
    max-width: 90px;
}

.max-w-100 {
    max-width: 100px;
}

.max-w-120 {
    max-width: 120px;
}



/* forms */

input.input-bordless {
    background-color: transparent;
    border-width: 0px 0px 1px 0px;
    border-style: solid;
    border-color: #E0E0E0;
    font-weight: 500;
    line-height: 20px;
    transition: 0.3s;
}

input.input-bordless:focus {
    border-width: 0px 0px 1px 0px;
	border-color: #333333;
	outline: none;
}

/* bootsrtap style corrections */
.form-switch {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
}

/* смена статуса заявки на ФП */
.re-states-wrapper {
    position: absolute;
    top: 10px;
    left: 45px;
    width: 130px;
    overflow: hidden;
    background-color: #ffffff;
    padding: 0px;
    border-radius: 5px;
    z-index: 1000;
    -webkit-box-shadow: 0px 0px 13px -6px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 0px 0px 13px -6px rgba(34, 60, 80, 0.2);
    box-shadow: 0px 0px 13px -6px rgba(34, 60, 80, 0.2);
}

.re-state-choice {
    cursor: pointer;
    display: block;
    padding: 10px;
}

.re-state-choice:hover {
    background-color: #f0eeee;
}

/* строка заявки в ФП */

.fp-re-row {
    line-height: 32px;
    vertical-align: baseline;
}

/* поле вывода отчета */
.report-window {
    width: 100%;
    height: 90vh !important;
    overflow: auto;
    background-color: #e9ecef;
    border: 1px solid #ccc;
    padding: 10px 30px;
}

.report-window .report-page {
    width: 90%;
    margin: 0px auto;
    background-color: #fff;
    padding: 30px;
    -webkit-box-shadow: 0px 0px 13px -6px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 0px 0px 13px -6px rgba(34, 60, 80, 0.2);
    box-shadow: 0px 0px 13px -6px rgba(34, 60, 80, 0.2);
}

/* other */

.cursor-pointer {
    cursor: pointer;
}

.hidden {
    display: none;
}

.disabled {
    pointer-events: none;
}

.op-03 {
    opacity: .3;
}

.mb-6 {
    margin-bottom:7em;
}

.text-decoration-dotted {
    text-decoration: underline dotted !important;
}

.text-decoration-dynamic:hover {
    text-decoration: none !important;
}

.transition-03 {
    transition: .3s;
}


/* bp table */
/* .td-title {
    width: 25%;
}

.td-sum {
    width: 10%;
}

.td-but {
    width: 10%;
}

.td-del {
    width: 2%;
} */