
html {
    box-sizing: border-box;
    overflow-y: scroll;
}

@font-face {
    font-family: robotom;
    src: local(roboto), url('../static/fonts/Roboto-Medium.ttf') format("truetype");
}

@font-face {
    font-family: robotol;
    src: local(roboto), url('../static/fonts/Roboto-Light.ttf') format("truetype");
}

body {
    margin: 0;
    font-family: robotom, sans-serif;
    color: black;
    background: #f1f3f7;
}

a, a:visited {
    text-decoration: none;
    color: black;
}

.content_block {
    max-width: 80%;
    min-width: 660px;
    margin-right: auto;
    margin-left: auto;
    padding: 10px 15px 20px 15px;
    font-weight: 400;
    line-height: 1.5 ;
}

.content_header {
    max-width: 80%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*margin-top: 5px;*/
}
.logo_header {
    display: flex;
    font-size: 25px;
    font-family: calibri, sans-serif;
    margin-top: 5px;
}

.menu_header {
    display: flex;
    justify-content: left;
}


.user_header {
    font-size: 12px;
    font-style: italic;
    text-align: center;
    margin-right: 20px;
    /*display: flex;*/
    /*flex-direction: column;*/
}
.menu_exit {
    margin-top: 7px;
}



.line {
    /*margin-top: 5px;*/
    background: linear-gradient(to right, #ff3d01 0%, #ffb200 17%, #9ace03 34%, #8dc41a 50%, #9ace03 66%, #ffb200 83%, #ff3d01 100%);
    height: 2px;
}

.norms_list_buton_block {
    display: flex;
 }

.btn_year{
      border: 2px solid transparent;
      background: #3498DB;
      color: #ffffff;
      font-size: 12px;
      line-height: 10px;
      padding: 0;
      text-decoration: none;
      text-shadow: none;
      border-radius: 3px;
      box-shadow: none;
      transition: 0.25s;
      display: block;
      width: 100px;
      height: 25px;
      margin: 10px 10px 10px 0px;
}

.btn_year {
  position: relative;
}

.btn_year:hover {
  background-color: #2980B9;
  cursor: pointer;
}

.hover-text {
  display: none;
  top: 0;
  left: 0;
}

.btn_year:hover .default-text {
  display: none;
}

.btn_year:hover .hover-text {
  display: inline;
}

/* Стили для модального окна */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fefefe;
  margin: 300px auto;
  padding: 5px;
  border: 1px solid #888;
  width: 350px;
  height: 150px;
}

/* Кнопка закрытия модального окна */
.close {
  color: #525252;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.modal_X {
    text-align: right;
    background: #badbf1;
    padding: 5px;
    line-height: 0.5;
}

.modal_block {
    /*position: fixed;*/
    /*top: 50%;*/
    /*left: 50%;*/
    /*transform: translate(-50%, -50%);*/
}
.modal_block_label {
    margin-top: 10px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal_block_button {
    display: flex;
    justify-content: center;
}

/* Стили для контейнера выпадающего списка */
.modal_block_label select {
    width: 30%;
    padding: 3px;
    margin-left: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    box-sizing: border-box;
    border: 1px solid #cccccc;
    border-radius: 4px;
    background-color: #f8f8f8;
    font-size: 14px;
    text-align: center;
}

/* Стили для каждого элемента списка */
.modal_block_label option {
    padding: 8px;
    background-color: #ffffff;
}

/* Стили для активного (выбранного) элемента списка */
.modal_block_label select:focus {
    outline: none;
    border-color: #9fb5d5;
    box-shadow: 0 0 10px rgba(151, 189, 239, 0.5);
}

/* Стили для стрелки в выпадающем списке */
.modal_block_label select::-ms-expand {
    display: none;
}

/* Стили для hover-эффекта элементов списка */
.modal_block_label option:hover {
    background-color: red;
}

.home {
  margin: 0;
  transform: translate(-50%, -50%);
  position: absolute;
  top: 50%;
  left: 50%;
}


.content_home {
    max-width: 80%;
    margin: auto;
    display: flex;
    justify-content: center;
}

.button_input {
  margin-left: 50px;
  width: 170px;
  height: 50px;
  background-color: #3498DB;
  font-family: "Times New Roman", cursive;
  font-size: 20px;
  font-weight: bold;
  color: white;
  border-style: none;
  border-radius: 10px 1px 10px 1px;
  box-shadow: 10px 10px 10px #C5E5F5;
}

.button_input:hover {
  background-color: #2980B9;
  transition: 1s;
}

.button_input:active {
  transform: scale(0.95);
  transition: 0.1s;
}

.organization {
    display:inline-block;   
    font-size: 22px;
    font-weight: bold;
    color: #2980B9;
    text-align: center;    
    height: 30px;
    text-shadow: 2px 4px 3px rgba(0,0,0,0.1);
}

.current_name {
    margin: 10px 0 5px 0;
    font-weight: bold;
    font-size: 20px;
    height: 26px;
}

.my_table {
    display: table;
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}


.table_header {
    display: table-row;
    height: 25px;
    background-color: #badbf1;
}

.table_line {
    display: table-row;
}

.table_line:hover {
    background-color: #dbe9fd;
}
.table_line a {
    display: block;
}

.clickable_line {
    cursor: pointer;
}

.table_line_depart {
    display: table-row;
    background-color: #f1f3f7;
    font-size: 14px;
    font-weight: 200;
    padding: 10px 2px;
}

.table_heading {     
    /* display: table-caption; */
    display: table-row-group;
    text-align: center;
    border-left: 1px solid #2980B9;
    border-right: 1px solid #2980B9;
    vertical-align: middle;
    padding: 0 5px 0 5px;
    font-weight: bold;
    font-size: 16px;
    border-collapse: collapse;
    /* height: 30px; */    
}

.table_cell {
    display: table-cell;
    text-align: center;
    border: 1px solid #2980B9;
    vertical-align: middle;
    padding: 0 5px 0 5px;
    height: 30px;
}

.table_type_ter {
    display: table-row;
    border: 1px solid #2980B9;
    text-align: left;
    font-weight: bold;
    vertical-align: middle;
    line-height: 30px;

}

.table_type_ter_text {
    padding-left: 10px;
}


.table_name_org {
    width: 45%;
}

.table_dim {
    width: 15%;
}

.table_value {
    width: 10%;
}

.table_year {
    width: 12%;
}

.table_left {
    text-align: left;
}

.table_bold {
    font-weight: bold;
}

.table_depat {
    font-weight: bold;
    vertical-align: middle;
    line-height: 30px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
    border-collapse: collapse;
}

.table_depat_text {
    border-left: 1px solid #2980B9;
    border-right: 1px solid #2980B9;
    display: table;
    width: 100%;
    text-align: center;
}


.remains_days {
    color: blue;
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
  20% {
    opacity: 0.3;
  }
}

.login {
    box-shadow: 0 0 5px 2px rgba(119, 119, 119, 0.4);
    margin: auto;
    margin-top: 150px;
    width: 300px;
}

.login-screen {
    background-color: #FFF;
    padding: 20px;
    border-radius: 5px
}

.app-title {
    text-align: center;
    color: #777;
}

.login-form {
    text-align: center;
}



.login input {
    text-align: center;
    background-color: #ECF0F1;
    border: 1px solid transparent;
    border-radius: 3px;
    font-size: 16px;
    font-weight: 200;
    padding: 10px 0;
    width: 250px;
    transition: border .5s;
    /*box-shadow: 0 0 2px 1px rgba(119, 119, 119, 0.5);*/
}

.btn {
  border: 2px solid transparent;
  background: #3498DB;
  color: #ffffff;
  font-size: 16px;
  line-height: 25px;
  padding: 10px 0;
  text-decoration: none;
  text-shadow: none;
  border-radius: 3px;
  box-shadow: none;
  transition: 0.25s;
  display: block;
  width: 250px;
  margin: 0 auto;
}
.btn-margin {
    margin-top: 15px;
}

.btn:hover {
  background-color: #2980B9;
  cursor: pointer;
}

.login-link {
  font-size: 12px;
  color: #444;
  display: block;
  margin-top: 12px;
}

.error {
    text-align: center;
    color: red;
}

.btn2 {
    font-size: 12px;
    width: 100px;
    height: 25px;
    line-height: 10px;
    padding: 0;
    margin: 10px 10px 10px 0px;
}

.btn3 {
    font-size: 12px;
    width: 100px;
    height: 25px;
    line-height: 10px;
    padding: 0;
    margin: 0px 10px 10px 0px;
}

.table_line input {
    background-color: #f1f3f7;
    border: 2px solid transparent;
    font-size: 14px;
    font-weight: 200;
    padding: 10px 2px;
    outline:none
}

.my_input:hover {
    background-color: #f1f3f7;
}

.table_cell input {
    border: 0;
    padding: 0;
    font-size: 14px;
    font-family: robotom, sans-serif;
}

.table_cell button {
    border: 0;
    padding: 0;
    margin: 0;
}


.table_name_org input {
    text-align: left;
    width: 95%;
}

.table_dim input {
    text-align: center;
    width: 95%;
}

.table_value input {
    text-align: center;
    width: 90%;
}

.tab_create_year {
    width: 5%;
}
.tab_create_ter {
    width: 10%;
}
.tab_create_name {
    width: 33%;
    text-align: center;
}
.tab_create_norm {
    /*width: 57%;*/
    text-align: center;
}

.table_dim_create {
    width: 12%;
}
.table_value_create {
    width: 10%;
}

.tab_create_value {
    width: 10%;
}

.tab_create_value input{
    text-align: center;
    width: 90%;
}
.tab_create_name input {
    width: 95%;
}

.tab_create_dim input {
    text-align: center;
    width: 90%;
}

.table_input {
    background: white;
    box-sizing: border-box;
}

.table_input input{
    border: none;
    outline: none;
    width: 100%;
    color: #012acb;
}
.table_input_centre input {
    text-align: center;
}
.table_red input {
    color: #f50505;
}

.tab_create_year select,
.tab_create_ter select {
    border: none;
    font-family: robotom, sans-serif;
    font-size: 14px;
}

.btn4 {
    width: 26px;
    margin: 0;
}
.table_btn {
    display: flex;
    justify-content: center;
    margin: 0;
}

.btn_ok {
    width: 30px;
    background-color: rgb(31, 129, 31);
}

.btn_ok:hover {    
    background-color: rgb(8, 105, 8);
}

.btn_cancel{
    width: 30px;
    font-size: 18px;
}

.btn_del {
    width: 30px;
    margin: 15px;
    background-color: #e01616;
}

.btn_del:hover {
    background-color: #b81a1a;
}


/*Убрать стрелки Chrome*/
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/*Убрать стрелки Firefox*/
input[type="number"] {
  -moz-appearance: textfield;
}
input[type="number"]:hover,
input[type="number"]:focus {
  -moz-appearance: number-input;
}

/*Убрать стрелки для других*/
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

ul {
    margin-left: 0;
    padding-left: 0;
}

li {
    list-style: none;
    float:left; 
    position:relative; 
    margin-left: 0; 
}

.add_line {
    border: 2px solid #3498DB;
    border-radius: 0 7px 7px 0;
    font-size: 12px;
    width: 125px;
    height: 22px;
    line-height: 22px;
    padding: 0;
    margin: 10px 10px 10px 0px;
    text-align: center;
    display: inline-block;
    vertical-align: middle;
}    

@media print {
    .no_print {
        display: none;
    }
}

/*Удаление норм*/
.del_norm_block {
    border: 1.5px outset #2980B9;
    text-align: center;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    min-width: 250px;
    width: 50%;
    padding-top: 20px;
    padding-bottom: 20px;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.3);
}
.del_norm_block_text {
    text-align: center;
    margin: 5px;
}


.norms_list_buton_block_centr {
    justify-content: center;
}


.enterprise_index_block {
    display: table;
    /*display: table-cell;*/
    height: 50px;
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.enterprise_index {
    text-align: left;
    width: 300px;
    /*max-width: 300px;*/
}
.enterprise_index_name {
    /*width: 50%;*/
    /*width: 100%;*/
    width: auto;
    text-align: left;
}
.departments_not {
    display: flex;
    margin-top: 20px;
}
.departments_not_text {
    margin: auto 10px auto 0;
}
.depart_table_head_name {
    width: 60%;
    text-align: center;
}

.depart_table_name {
    width: 60%;
    text-align: left;
}

.depart_table_lp {
    width: 20%;
}

.norm_month_kv {
    margin-top: 5px;
    margin-bottom: 10px;
    font-size: 14px;
    font-family: robotom, sans-serif;
}

.department_list select {
    margin: 20px auto 20px auto;
    font-size: 15px;
    height: 25px;
    border: 1px solid #3498DB;
    /*border: none;*/
    outline: none;
    width: 80%;
    text-align: center;
    background: none;
    padding-right: 20px;
}

.table_norm_calc {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 600px;
}
.table_header_norm_calc {
    height: 25px;
    background-color: #badbf1;
}
.table_cell_norm_calc {
    text-align: center;
    border: 1px solid #2980B9;
    vertical-align: middle;
    padding: 0 5px 0 5px;
    height: 30px;
}

.table_cell_norm_calc input {
    border: 0;
    padding: 0;
    font-size: 14px;
    font-family: robotom, sans-serif;
}


.table_header_name_calc {
    width: 40%;
    text-align: center;
    border: 1px solid #2980B9;
    vertical-align: middle;
    padding: 0 5px 0 5px;
    height: 30px;
}

.table_name_calc {
    width: 40%;
    text-align: left;
    border: 1px solid #2980B9;
    vertical-align: middle;
    padding: 0 5px 0 5px;
    height: 30px;
}

.table_value_calc {
    width: 10%;
}

.table_value_calc input {
    text-align: center;
    width: 90%;
    /*color: #ec1111;*/
    color: #012acb;

}

.table_total {
    /*color: #012acb;*/
    /*font-weight: bold;*/
}

.table_right {
    text-align: right;
}

.positive {
    color: red;
}

.negative {
    color: black;
}
.table_nowrap {
    white-space: nowrap;
}


.table_tab_menu {
    display: flex;
    justify-content: right;
}


.tab_kv {
    border: 1px solid #2980B9;
    border-radius: 5px 5px 0 0;
    font-size: 12px;
    line-height: 10px;
    padding: 0;
    width: 100px;
    height: 25px;
    margin: 3px 0 -1px 3px;
    background-color: #ececf3;
    color: #777777;

}
.tab_kv:hover {
    background-color: #9bc5ea;
    cursor: pointer;
}
.tab_kv_active {
    background-color: #f1f3f7;
    border-bottom: 1px solid #f1f3f7;
    color: black;
}

.table_tab_bloc {
    text-align: center;
    border: 1px solid #2980B9;
    margin: 0;
    border-bottom: none;
    line-height: 35px;
}



.btn_menu {
    border: 2px solid transparent;
    background: #3498DB;
    color: #ffffff;
    font-size: 12px;
    width: 70px;
    height: 25px;
    line-height: 10px;
    padding: 0;
    margin: 0 3px 3px 0;
    text-decoration: none;
    text-shadow: none;
    border-radius: 3px;
    box-shadow: none;
    transition: 0.25s;
    display: block;
    /*width: 250px;*/
    /*margin: 0 auto;*/
}

.btn_menu:hover {
  background-color: #2980B9;
  cursor: pointer;
}

.btn_menu_active {
  background-color: #2980B9;
  cursor: pointer;
}

.energy_source_name {
    display: inline-block;
    border: 1px solid #2980B9;
    border-bottom: 1px solid #f1f3f7;
    border-radius: 5px 5px 0 0;
    margin: 20px 0 -1px 0;
    width: auto;
    text-align: center;
    line-height: 25px;
    padding: 5px 10px 5px 10px;
}

.energy_source {
    border: 1px solid #2980B9;
    width: auto;
    padding-top: 10px;
    padding-bottom: 10px;
}

.open_Modal_Ab {
    color: #012acb;
}

@media print {
    .table_tab_bloc {
        border: none;
    }
    .no_print {
        display: none !important;
    }
    .organization {
        /*display:inline-block;*/
        font-size: 16px;
        font-weight: bold;
        color: black;
        text-align: center;
        height: 30px;
    }
    .table_header_norm_calc {
        background-color: white;
    }
    .table_header_name_calc {
        border: 1px solid black;
    }
    .table_cell_norm_calc {
        border: 1px solid black;
    }
    .table_name_calc {
        border: 1px solid black;
    }
    .table_value_calc input {
        color: black;
    }
    .table_input input{
        color: black;
    }
    .open_Modal_Ab {
        color: black;
    }
    .positive {
        color: black;
    }
}