:root {
    --main_color: #697790;
    --font_size:16px;
}


html 
{
  -moz-box-sizing: border-box; 
  box-sizing: border-box; 
  -webkit-box-sizing:border-box;
  margin: 0px;
  padding: 0px;
}

* , *::before , *::after
{
  -moz-box-sizing: border-box; 
  box-sizing: border-box; 
  -webkit-box-sizing:border-box;
}

@font-face
{
    font-family:icomoon;
    src:url(/fonts/icomoon.woff2) format("woff2");
    font-weight:400;
    font-style:normal;
    font-display:swap;
}

@font-face
{
 font-family: "Calibri"; 
 src: url("/fonts/calibri.ttf"); 
 src: url("/fonts/calibri.ttf") format("embedded-opentype"),
 url("/fonts/calibri.ttf") format("woff"), 
 url("/fonts/calibri.ttf") format("truetype"); 
 font-style: normal; 
 font-weight: normal; 
}

@font-face 
{
 font-family: "Calibri"; 
 src: url("/fonts/calibrib.ttf"); 
 src: url("/fonts/calibrib.ttf") format("embedded-opentype"),
 url("/fonts/calibrib.ttf") format("woff"), 
 url("/fonts/calibrib.ttf") format("truetype"); 
 font-style: bold; 
 font-weight: bold; 
}

@font-face 
{
 font-family: "Calibri"; 
 src: url("/fonts/calibrii.ttf"); 
 src: url("/fonts/calibrii.ttf") format("embedded-opentype"),
 url("/fonts/calibrii.ttf") format("woff"), 
 url("/fonts/calibrii.ttf") format("truetype"); 
 font-style: italic; 
 font-weight: normal; 
}

@font-face 
{
 font-family: "Calibri"; 
 src: url("/fonts/calibril.ttf"); 
 src: url("/fonts/calibril.ttf") format("embedded-opentype"),
 url("/fonts/calibril.ttf") format("woff"), 
 url("/fonts/calibril.ttf") format("truetype"); 
 font-style: italic; 
 font-weight: bold;
}



#coords {
    margin-top: 10px;
    font-size: 18px;
    font-weight: bold;
}

.class_nopadding{
    padding: 0px !important;
}

.navigation
 {
    border:0px;
	font-size:11px;
	color: #666;
	text-align:center;
	width:100%;
	padding-top:5px;
	padding-bottom:5px;
	border:solid 1px #e3dcdc;
	border-top:none;
	background-color:#F4F4F4;
}

.navigation A
{
	display:inline-block;
	width:auto;
	height:auto;
	
	text-decoration:none;
	padding:3px;
	padding-left:5px;
	padding-right:5px;
	
    border-radius:3px;
	
    background-image:-moz-linear-gradient(top,#ffffff,#efefef);
    background-image:-webkit-gradient(linear,left top,left bottom,from(#ffffff),to(#efefef));
	filter:progid:DXImageTransform.Microsoft.Gradient(startColorStr=#ffffff,endColorStr=#efefef);
	
    border:1px solid #999;
	color:#000;
	margin-left:1px;
	margin-right:1px;

}

.navigation A:hover 
{
    border:1px solid #F00;
	color:#F00;	
	
}

.navigation SPAN 
{
  display:inline-block;
  width:auto;
  height:auto;
	
  padding:3px;
  padding-left:5px;
  padding-right:5px;
	
  border-radius:3px;
	
  background-image:-moz-linear-gradient(top,#ffffff,#efefef);
  background-image:-webkit-gradient(linear,left top,left bottom,from(#ffffff),to(#efefef));
  filter:progid:DXImageTransform.Microsoft.Gradient(startColorStr=#ffffff,endColorStr=#efefef);
	
  border:1px solid #999;
  color:#F00;	
  margin-left:1px;
  margin-right:1px;
  font-weight:bold;
}

body
{
	color: #000;
	position:relative;
	width:100%;
	width:100%;
	padding:0px;
	margin:0px;
	background-repeat:repeat;
	font-size:16px;
	font-family: "Calibri", Tahoma, Geneva, sans-serif;
 }


select {
    /* all: unset; сбрасывает почти все стили */
    font-family: "Calibri", Tahoma, Geneva, sans-serif;
    /*padding: 0.5em;*/
    border: 1px solid #ccc;
    background: white;
    font-size:16px;
}

button{
    cursor: pointer;
}

img
{
  border:0px;
  display:block;
}

form
{
  padding:0px; 
  margin:0px;
  display:inline-block;
  box-sizing: border-box;
  width:100%;
}

.main_input
{
   border:solid 1px #CCC;
  border-radius:3px;
  padding:3px;
  padding-left:5px;		
  padding-right:5px;
    outline: none;
}


.time_input
{
   border:solid 0px #CCC;
  border-radius:3px;
  padding:3px;
  padding-left:5px;		
  padding-right:5px;
  font-weight:bold;
  color:#0080FF;
}

form input,form textarea , form select
{
   border:solid 1px #CCC;
  border-radius:3px;
  padding:3px;
  padding-left:5px;		
  padding-right:5px;		


	padding:5px !important;
	background-color:#f8f8f8;
	border:solid 1px #ededed;
	outline:none;

}

.bold{
    font-weight: bold;
    text-transform: uppercase;
}


.std_input
{
   border:solid 1px #CCC;
  border-radius:3px;
  padding:10px;
  padding-left:15px;		
  padding-right:15px;		
  width: 100%;
}

.std_input::placeholder{
    font-family: "Calibri", Tahoma, Geneva, sans-serif;
    font-style: normal;
    font-size: 16px;
    color: #cccccc;
}


.std_code {
  width: 80px;
}

.number
{
	text-align:right;
}

.number:focus
{
	text-align:left;
}

form input[disabled="disabled"]
{
	background-color:#EEE;
	color:#000;
}

form select
{
  border:solid 1px #ededed;
  border-radius:3px;
  padding:2px;
  padding-left:5px;		
  padding-right:5px;		
}

form textarea:focus
{
    box-shadow:4px 4px 4px rgba(0, 0, 0, 0.1);
	background-color:#FFFFE6;
}

form select:focus
{
    box-shadow:4px 4px 4px rgba(0, 0, 0, 0.1);
	background-color:#FFFFE6;
}

form input:focus
{
    box-shadow:4px 4px 4px rgba(0, 0, 0, 0.1);
	background-color:#FFFFE6;
}

p
{
	padding:0px;
	margin:0px;
}

h1,h2,h3,h4
{
	padding:0px;
	margin:0px;
}

img 
{
	display:inline-block;
}

label
{
	display:inline-block;
}

div
{

	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-box-sizing:border-box;

	display:inline-block;
	height:auto;
	width:auto;

	line-height:1.2;
}

#for_filter{
  display: block;
}

.main_screen {
  height: 100vh;
  width: 100%;
  background-color: #FFF;
  display: flex;
  flex-direction: column;
}

.m_scr 
{
  display: block;
  width: auto; 
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.header{
  display:block;
  height: auto;
  background-color: #f1f1f1;
    height: 40px; /* Фиксированная высота шапки */
    background-color: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: solid 1px #2a2f43;
}

.header_in{
  display: flex;
  height: auto;
  padding-top: 10px;
  padding-bottom: 10px;
  justify-content:space-between;
  align-items:center;
  padding-left: 20px;
  padding-right: 20px;
   width: 100%;
}

.logo_block {
    font-size: 24px;
    display: flex;
    align-items: center;
}

.logo_block img{
    height: 20px;
}

.logo_block a{
  display: block;
  text-decoration: none;
  color: #000;
}


.logo_block a:last-child{
}


.main_maps{
    flex: 1; /* Основной контент растягивается */
    background-color: #FFF;
    width: 100%;
    position: relative;
}



.main{
    flex: 1; /* Основной контент растягивается */
    background-color: #FFF;
    width: 100%;
    overflow: auto; /* Прокрутка, если контента много */
    padding: 20px;
    background-image:url(b4.jpg);
    background-size: contain;
}

.footer{
    display: flex;
    height: 50px;
    background-color: #2a2f43;
    justify-content: center;
    align-items: center;
    border-top: solid 1px #d9d9d9;
    color: #FFF;
}

.login_win
{
	  display:block;
	  width: auto;
	  height: auto;
}

.login_win h3{
  display: block;
  margin-bottom: 20px;
}
 

.login_win .line{
  display: flex;
}

.login_win .center{
	text-align: center;
	margin-top: 20px;
}

.login_win .row{
	display: block;
	margin-bottom: 15px;
}

.login_win .row_center{
    text-align: center;
}

.login_win .row:last-child{
	margin-bottom: 0px;
}

.login_win .row label{
	display: block;
	margin-bottom: 3px;;
}

.login_win a{
	text-decoration: underline;
	color: #0080FF;
	font-size: 14px;
	display: block;
	text-align:center;
}

#code_img{
  display: flex;
  align-items:center;
  gap: 10px;;
}

.red_border{
  border: solid 1px #F00;
}

.red_text{
  color: #F00;
}

.error_text{
  font-size: 11px;
  color: #F00;
  display: block;
}

.block_menu{
  display: flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
  align-items:center;
 
}

.block_menu_cell{
  border: solid 1px #aaa;
  padding: 10px;
  height: auto;
  width:auto ;
}

.block_menu_cell:hover{
  background-color: #0080FF;
}

.block_menu_cell a{
  text-decoration: none;
}

.block_menu_cell:hover a{
  color: #fff;
}

.block_message{
    padding: 20px;
    width: 100%;
    text-align: center;
}


.message_href{
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}


.block_edit_map{
    width: 100%;
}

.block_text{
  padding: 20px;
  padding-top: 0px;
  width: 100%;
}

.block_text p{
  display: block;
  margin-bottom: 10px;
}

.block_text h2
{
  margin-top: 20px;
  margin-bottom: 10px;
}

.block_text p + h2
{
  margin-top: 50px;
}

.no_point{
  list-style-type: none; 
  padding-left: 0;
  margin-left: 0;  
}

.no_point li{
  padding-left: 20px;

}

.short_form {
  display: block;
  margin-bottom: 10px;
  padding-left: 22px;
}

.short_form  label{
  display: block;
}

.block_text p a{
  color: #0080FF;
}


.a_navi
{
  display: block;
  background-color: #2a2f43;
}

.a_navi_in
{
  display: flex;
  width: 100%;
  color: #FFF;
}

.a_navi_sub{
    position: relative;
    display: flex;
    height: 100%;
    padding: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.a_navi_sub:hover{
    background-color: #0080FF;
}

.a_navi_sub_in{
    position: absolute;
    z-index: 11;
    background-color: #2a2f43;
    top:100%;
    left: 0px;
    box-shadow:4px 4px 4px rgba(0, 0, 0, 0.1);
    /*right: 0px;*/
    width: auto;
    transition:0.5s ease;
    opacity: 0;
    height: 0px;
    overflow: hidden;
}

.a_navi_sub_in_view{
    opacity: 1;
    height: auto;
}

.a_navi_in_mnu{
    position: relative;
    display: flex;
    height: 100%;
    padding:10px;
    padding-top: 10px;
    padding-bottom: 10px;
    white-space: nowrap;
}

.a_navi_in_mnu:hover{
    background-color: #0080FF;
}

.a_navi_in a{
  color: #FFF;
    text-decoration: none;
}

.table{
  border-collapse: collapse;
  border: 1px solid #e3dcdc;
  width: 100%;
}

.table td, .table th{
  border: 1px solid #e3dcdc;
  padding: 5px;;
}

.table_scroll{
  width: 100%;
  overflow-x: auto;
}

.scrshot{
  width: 100px;
  height: auto;
}

.td_center{
  text-align: center !important;
}





/******************************/

@keyframes gradient-animation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.gradient-text {
  background: linear-gradient(270deg, #ff6e02,#ff6e02,#ff6e02, yellow,#ff6e02,#ff6e02,#ff6e02);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-animation 5s ease infinite;
   font-weight: 700;
}

.fixed_block {
  display: flex;
  align-items: center; /* Центрирование по вертикали */
  justify-content: center; /* Центрирование по горизонтали */
  position: fixed;
  left: -1px;
  top: 50%;
  transform: translate(0, -50%); /* Смещает блок по центру экрана */
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  border: solid 1px #fed142;
  width: 40px;
  height: 200px;
  /*background-color: rgba(39, 42, 44, 0.8);*/
  background-image: url(blick.png);
}


/*
.fixed_block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center center, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0) 50%);
  opacity: 0.6; 
  pointer-events: none;
  z-index: 1;
}*/

.fixed_block a {
  color: #ff6e02;
  text-decoration: none;
  font-weight: bold;
  white-space: nowrap;
  display: flex;
  align-items: center; /* Центрирование по вертикали */
  justify-content: center; /* Центрирование по горизонтали */
  gap:10px;

  transform: rotate(-90deg);
  transform-origin: center center;
}

.el_select {
    border: solid 1px #FFF;
    padding: 5px;
    padding-left: 10px;
}


.color_marker {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: solid 1px #000;
}

.color_marker_yellow
{
    background-color: #fff000;
    border:none;
}

.color_marker_orange
{
    background-color: orange;
    border:none;
}

.color_marker_red
{
    background-color: red;
    border:none;
}

.color_marker_green
{
    background-color: green;
    border:none;
}

.button_main {
    background-color: #546ee5;
    border-radius: 3px;
    padding: 7px;
    padding-right: 8px;
    padding-left: 8px;
    padding-right: 5px;
    padding-left: 5px;
    border: solid 1px #546ee5;
    padding-left: 10px;
    padding-right: 10px;
    color: #FFF;
    cursor: pointer;
    width: 100%;
}

.button_main_no100{
    width: auto;
}

.sel_site{
    margin-bottom: 10px;
    display: flex;
    gap:20px;
    align-items:center;
}

.view_stat_buttons{
    border-radius:5px;
    background-color: #e8e8e8;
    padding: 7px;
    padding-left: 13px;
    padding-right: 13px;
    display: flex;
    align-items:center;
    gap:5px;
}

.hide_el{
    display: none;
}

.show_el{
    display: inline-block;
}

.login_block_in
{
    display: flex;
    gap:25px;
}

.login_block_in a{
    text-decoration: none;
    color: #000;
}

.login_block_in a:hover{
    text-decoration: underline;
}

.login_block div{
    display: flex;
    gap:10px;
}

.login_block a{
    text-decoration: none;
    color: #000;
}

.login_block a:hover{
    text-decoration:underline;

}

.pan_buttons{
    margin-top: 10px;
    display: flex;
    gap:10px;
}

.pan_buttons_center{
    display: flex;
    justify-content:center;
}

.header_h2{
    display: block;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.header_h2 h2{
    margin: 0px;
    color: #4f545f;
}

.header_h2 small{
    color: #aaa;
    margin: 0px;
}

.table_info_border{

}

.table_info_border tr th{
    background-color: #FFF;
}

.td_phone{
    text-align: center;
}

.td_mail{
    text-align: center;
}

.table_info_border tr td, .table_info_border tr th{
    border:solid 1px #ececec;
}

.table_info{
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.table_info th {
    background-color: #F0F0F0;
}

.table_info tr:nth-child(odd) {
    background-color: white; /* Белый */
}

.table_info tr:nth-child(even) {
    background-color: #f9f9fb; /* Светло-серый */
}

.table_info td, .table_info th {
    border: 1px solid #f2f2f3;
    padding: 12px;
}

.rect_color
{
    border: solid 1px #000;
    width: 28px;
    height: 28px;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
}

.rect_size
{
    border: solid 1px #000;
    width: auto;
    height: 28px;
    display: flex;
    align-items: center;
    cursor: pointer;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 3px;
    border: solid 1px #CCCCCC;
}


.block_section{
    display: block;
    margin-bottom: 40px;
}


.header_h2{
    display: block;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.block_section h3{
    margin: 0px;
    color: #4f545f;
    margin-bottom: 10px;
}

.header_h2 small{
    color: #aaa;
    margin: 0px;
}



.row_edit {
    display: block;
    margin-bottom: 14px;
}


.row_edit_flex {
    display: flex;
    gap:10px;

}

.row_edit_flex_nowith div{
    width: auto !important;
}

.row_edit_flex select{
    height: 38px;
}

.row_edit div{
    width: 100%;
}

.row_edit:last-child{
    margin-bottom: 0px;
}

.row_edit label, .row_edit input{
    display: block;
}

.row_edit input{
    width: 100%;
    padding: 10px !important;
    background-color: #f9f9f9  !important;
}

.row_edit textarea{
    width: 100%;
    padding: 10px !important;
    background-color: #f9f9f9  !important;
    font-size: 16px;
    font-family: "Calibri", Tahoma, Geneva, sans-serif;
}


.row_edit select{
    width: 100%;
    padding: 10px !important;
    background-color: #f9f9f9  !important;
}

.row_edit label{
    margin-bottom: 1px;
    color: #737373  !important;

}

.frm_closebtn{
    border:solid 1px #F00;
    display: inline-block;
    width: 18px;
    height: 18px;
}


.button_event {
    display: flex;
    gap:5px;
    background-color: #546ee5;
    border-radius: 3px;
    padding: 7px;
    padding-right: 8px;
    padding-left: 8px;
    padding-right: 5px;
    padding-left: 5px;
    border: solid 1px #546ee5;
    padding-left: 10px;
    padding-right: 10px;
    color: #FFF;
    cursor: pointer;
    width: auto;
    background: linear-gradient(to top, #546ee5, #6782ff);
}

.button_event_hide{
    display: none;
}


.button_dialog {
    background-color: #f0f0f0;
    border-radius: 3px;
    padding: 7px;
    padding-right: 7px;
    padding-left: 7px;
    padding-right: 8px;
    padding-left: 8px;
    padding-right: 5px;
    padding-left: 5px;
    border: solid 1px #b5b5b5;
    padding-left: 10px;
    padding-right: 10px;
    color: #000;
    cursor: pointer;
    background: linear-gradient(0deg, #ccc,#fff);
    display: flex;
    gap:5px;
    transition: background-color 0.3s ease; /* Плавный переход */
}

.button_dialog:active {
    background: linear-gradient(0deg, #aaa,#fff);
}

.block_section_header {
    background-color: #546ee5;
    /*background: linear-gradient(to top, #546ee5, #6782ff);*/
    color: #FFF;
    font-weight: bold;
    display: flex;
    width: 100%;
    border-top-left-radius:8px;
    border-top-right-radius:8px;
    align-items:center;
}

.block_section_header_lr{
    justify-content:space-between;
}

.block_section_header .div_line
{
    padding: 12px;
    border-right: solid 1px #FFF;
}

.block_section_header .div_line a{
    color: #FFF;
}

.block_section_header .div_line_l
{
    padding: 12px;
    border-left: solid 1px #FFF;
}


.block_section_header .div_line_nop
{
    padding: 3px;
    margin-right: 2px;
}

.block_section_header .div
{
    padding: 12px;
}


.two_flex{
    display: flex;
    width: 100%;
}

.two_flex .left_part {
    width: 122px;
}

.two_flex .right_part {
    width: 100%;
    padding-left: 20px;
}

.left_part_container {
    width: 120px;
    height: auto;
}

.left_part_container button{
    width: 100% !important;
}

.logo_man
{
    max-width: 120px;
    width: 100%;
    border: solid 1px #ededed;
    height: 120px;
    border-radius: 50%;
}

.logo_man img{
    max-width: 120px;
    width: 100%;
    height: 120px;
    border-radius: 50%;
    padding: 2px;
    border: solid 1px #f4f4f4;
}

#edf_image{
    display: none;
}

.small_logo_man{
    width: 40px;
    height: 40px;
    padding-left: 2px;
    border: solid 1px #aaa;
    border-radius: 50%;
}

.table-x-scroll {
    overflow-x: auto; /* Горизонтальная прокрутка */
    white-space: nowrap; /* Чтобы ячейки не переносились */
    width: 100%; /* Не выходить за границы */
    display: block;
}


.block_objects{
    display: flex;
    gap:20px;
    flex-wrap:wrap;
}

#small_map
{
    display: block;
    height: 200px;
    width: 200px;
    border: solid 1px #D7DCEA;
}

.block_object_item{
    display: flex;
    align-items:center;
    gap:10px;

}

.block_objects_left
{
    display: flex;
    flex-direction:column;
    gap: 10px;
}
.ymaps-2-1-79-copyrights-pane {
    display: none !important;
}

.table_info_nobott{
    margin-bottom: 0px;
}

.table_edit td, .table_edit th{
    padding:0px;
    height: 30px;
}

.table_edit td input{
    display: flex;
    height: 100%;
    width: 100%;
    height: 30px;
    border: none !important;
}

.table_edit td select {
    border: none !important;

}

.table_edit td input:focus , .table_edit td select:focus {
    box-shadow:none;
    background-color:#FFFFE6;
    background-color: #f9f9f9 !important;
}

.table_edit td select{
    width: 100%;
    /*height: 30px;*/
}

.panel_select{
    display: flex;
}

.td_num{
    text-align: right !important;
}

.actions{
    display: flex;
    justify-content:center;
    align-items:center;
}

.td_photo_block{
    display: flex;
    justify-content: space-between ;
}

.td_photo_block_photo{
    flex-grow:1;
}

.td_photo_block .btn{
    display: flex;
    width: auto;
}

.td_photo_block .btn button{
    width: 20px;
    background: linear-gradient(0deg, #ccc,#fff);
    border: solid 1px #b5b5b5;
    border-radius: 3px;
    cursor: pointer;
}


.row_edit + #IDmapsView:empty{
    margin-bottom: 0px;
    display: none;
}

.IDmapsView{
    display: none !important;
    height: 0px;
    width: 100%;
}

.IDmapsView:empty{
    display: none;
}

.IDmapsView_View
{
    display: block;
    height: 180px;
    padding: 2px;
    border: solid 1px #e3dddd;
    margin-bottom: 10px;
}



.move_button{
    border: none;
    background-color: #FFF;
    cursor: move;
}





.dragging {
    opacity: 0.5;
}



.images_rk{
    display: flex;
    overflow: hidden;
    overflow-x: auto;
    gap:10px;
    width: 100px;

    white-space: nowrap; /* Элементы в ряд */
    border: 1px solid #ddd; /* Легкая рамка */

    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #bbb transparent;

    padding: 2px;

}

.images_rk:empty{
    display: none;
}

/* Для Chrome, Edge, Safari */
.images_rk::-webkit-scrollbar {
    height: 3px; /* Тонкий скролл */
}

.images_rk::-webkit-scrollbar-track {
    background: transparent; /* Скрытие фона */
}

.images_rk::-webkit-scrollbar-thumb {
    background: #999; /* Цвет ползунка */
    border-radius: 5px;
}

.images_rk::-webkit-scrollbar-thumb:hover {
    background: #666;
}

.images_rk img {
    width: 30px;
    height: 20px;
    cursor: pointer;
}

#IDEdit_Map{
    width: 100%;
    position: relative;
    height: 100%;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
}


/******************************************************************/

/* Стили для модального окна */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 11;
}
.modal-content {
    position: relative;
    max-width: 600px;
    width: 90%;
    background: white;
    padding: 20px;
    border-radius: 10px;
}
.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: red;
    z-index: 10;
}

input[name="rk_nom"]
{
  width: 80px;
    margin-right: 5px;
}

.flex_input
{
    display: flex;
}

.flex_input_1
{
    flex-grow:0;
    width: auto !important;
}

.flex_input_2
{
    flex-grow:1;
    display: flex;
    flex-direction: column;
}

.flex_input_2in{
    display: flex;
}

.flex_input_2in_small{
    font-size: 12px;
    color: #737373 ;
}

.flex_input_2in_small #rk_koord_shir{
    margin-right: 10px;
}

/********************************************/

.fixed_left_panel {
    position: absolute; /* Фиксированное положение */
    top: 10px;
    left: 10px;
    /*bottom: 10px;*/
    width: 350px; /* Ширина панели */
    background: #f0f0f0; /* Цвет фона */
    overflow-y: auto; /* Вертикальная прокрутка */
    padding: 10px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.4); /* Тень справа */
    z-index: 1;
    border: solid 1px #ccc;
    display: flex;
    flex-direction: column;
}

.fixed_left_panel_bot10{
    bottom: 10px;
    background: #fff;
}

.fixed_left_panel:empty{
    display: none;
}

/******************************************************************/

.find_search
{
    width: 100%;
    border:solid 1px #ccc ;
    border-radius:5px;
    display: flex;
    align-items: center;
    gap:10px;
    padding-right: 10px;
    /*justify-content: center;*/
    /*margin-bottom: 10px;*/
    padding-top: 3px;
    padding-bottom: 3px;
    background-color: #FFF;
}

.find_search_header{
    padding:7px;
    margin-right:0px;
}

.find_search input{
    border: none;
    flex-grow:1;
    width: 100%;
    padding: 10px !important;
    background-color: #fff  !important;
    outline: none;
}

.find_search_header input{
    padding: 0px !important;
}

.find_search input::placeholder{
    font-style: italic;
    color: #cccccc;
}

.find_search a{
    border: none;
    display: inline-block;
    width: 14px;
    height: 14px;
}



.add_iner{
    width: 100%;
    padding:10px;
    background-color: #f0f0f0;
    margin-top: 10px;
}

/***************************************/

.table_fix_in{
    max-height: 100%; /* Ограничение высоты для прокрутки */
    overflow-y: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.table_fix {
    max-height: 100%; /* Ограничение высоты для прокрутки */
    overflow-y: auto;
    border-bottom: 1px solid #ccc;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.table_fix_maxheight{
    max-height: 500px !important;
    border-bottom:none;
}

.table_compact {
    width: 100%;
    border-collapse: collapse;
}

.table_compact thead {
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
}

.table_compact tr th{
    background-color: #f0f0f0;
    border-bottom: solid 1px #aaa;
    padding: 6px;
}

.table_compact td {
    padding: 3px;
    border: 1px solid #ddd;
    text-align: left;
}

/******************************************/

.loading-overlay {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background-color: rgba(255, 255, 255, 0.8);*/
     z-index: 9999;
    justify-content: center;
    align-items: center;
}

.loading-text {
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 5px 10px 5px 10px;
    font-size: 24px;

    -webkit-box-shadow:0px 0px 5px rgba(0, 0, 0, 0.5) ;
    -moz-box-shadow:0px 0px 5px rgba(0, 0, 0, 0.5);
    box-shadow:0px 0px 5px rgba(0, 0, 0, 0.5);
}

.loading-img{
    width: 50px;
    height: 50px;
}


.filters{
    display: flex;
    width: 100%;
    border: solid 1px #e8e8e8;
    margin-bottom: 5px;
    padding:2px;
    border-radius: 5px;
}

.filters select{
    width: 100%;
    padding: 10px;
    border: solid 1px #e8e8e8;
}

.div_baloon{
    width: 100%;
}

.table_balloon{
    border-collapse: collapse;
    border: 1px solid #e3dcdc;
    width: 100%;
}

.table_balloon td{
    border:solid 1px #e6e6e6 ;
    padding: 4px;
    background-color: #FFF;
    color: #000;
}


.block_in_balloon small{
    color: #aaa;
}

.block_in_balloon_button{
    text-align: center;
}

/****************************/

.m_scr_fixed {
    overflow-y: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.block_section_fix{
    overflow-y: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.table_norm_fix {
    width: 100%;
    border-collapse: collapse;
    box-shadow:4px 4px 4px rgba(0, 0, 0, 0.1);

}

.table_norm_fix tr:nth-child(even) {
    background-color: #f2f2f2; /* Цвет для чётных строк */
}

.table_norm_fix tr:nth-child(odd) {
    background-color: #ffffff; /* Цвет для нечётных строк */
}


.row_select_id {
    background-color: #fff000 !important;
    transition: background-color 3s ease;
}




.table_norm_fix tr:hover {
    background-color: rgba(174, 215, 255, 0.22);
    color: #000;
}


.table_norm_fix thead {
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
}

.table_norm_fix tr th{
    background-color: #f0f0f0;
    border: solid 1px #ececec;
    padding: 6px;
}

.table_norm_fix td {
    padding: 7px;
    border: solid 1px #ececec;
    text-align: left;
}

.paginations{
    display: flex;
    justify-content: center;
    gap:5px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.paginations_bot10{
    margin-bottom: 10px !important;

}

.paginations:empty
{
    display: none;
}

.pagination-num{
    padding: 3px;
    padding-left: 7px;
    padding-right: 7px;
    border: solid 1px #ececec;
    border-radius:3px;
    text-decoration: none;
    background: linear-gradient(0deg, #eee,#fff);
}

.list_items_a{
    display: flex;
    justify-content: flex-start;
    gap:10px;
    flex-wrap:wrap;
}

.list_items_a a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 100px;
    border: solid 1px #000;
    border-radius: 5px;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: #000;
    flex-wrap:wrap;
    padding: 5px;
    text-align: center;
    text-transform: uppercase;
}

.list_items_a a:hover{
    background-color: #0080FF;
    color: #FFF;
}

/**************************/
.baners{
    display: flex;
    gap:30px;
    justify-content:center;
    margin-bottom: 20px;
}
.baner_item{
    display: inline-block;
    height: auto;
    width: 300px;
    border:solid 1px #e6e6e6;
    padding: 20px;
    border-radius:8px;
    box-shadow:0px 0px 8px rgba(0, 0, 0, 0.1);

}

/*
#IDMainMap {
    width: 100%;
    height: 600px;
    margin-bottom: 20px;
    border: solid 1px #e6e6e6;
    position: relative;
}*/

.no_fixed{
    height: auto !important;
}

.a_select{
    text-decoration: none;
    color:#000;
}

.a_select:hover{
    border-bottom:dotted 1px #000;
    color: #546ee5;
}

.std_select{
    padding: 5px !important;
    background-color: #f9f9f9 !important;
    border: solid 1px #ededed;
    border-radius: 3px;
}


.td_point{
    max-width: 100px;        /* или любая нужная ширина */
    white-space: nowrap;     /* запрет переноса текста */
    overflow: hidden;        /* скрыть лишний текст */
    text-overflow: ellipsis; /* добавить троеточие */
}


.date_month{
    display: flex;
    align-items:center;
    position: relative;
    gap:5px;
}

.date_month_m{
    color: #FFF;
    text-decoration: none;
}

.date_month button{
    background-color:#546ee5;
    border: none;

}



.head_std_select{
    padding: 0px !important;
    background-color:#546ee5;
    border:none;
    border-radius: 3px;
    color: #FFF;
    font-size: 16px;
    cursor: pointer;
}

.head_std_select_b{
    font-weight: bold;
    text-transform: uppercase;

}


.win_date_win{
    display: flex;
    gap:10px;
    flex-direction:column;
}

.win_date_win_in{
    display: flex;
    gap:10px;
}

.win_date_win_sel {
    display: flex;
}

.win_date_win_sel select{
    padding:5px;
}
.win_date_win_sel select[id="IDDateMONTH"] {
    width: 100%;
}

#prokat_tip , #zapros_tip , #zaisite_tip , #IDSelect_types_view {
    font-weight: bold;
}


.top_fix_block{
    display: flex;
}

.top_fix_block_item{
    display: flex;
}

.loading-scr {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.loading-scr-img{
    width: 50px;
    height: 50px;
}

.body_hide_scroll {
    overflow: hidden;
}

.nofix_bottom{
    bottom: auto;
    background-color: #f1f1f1 !important;
}

.button_maps {
    display: flex;
    justify-content:center;
    align-items:center;
    padding-top: 10px;
}

.no_place{
    padding:20px;
    text-align: center;
    color: #F00;
    display: block;
    font-weight: bold;
}

.ymaps-2-1-79-balloon {
    z-index: 10000 !important;
}

.filters_map{
    display: flex;
    width: 100%;
    margin-bottom: 1px;
}

.filters_map select{
    width: 100%;
    padding: 4px;
}

.button_image_view{
    width: 100%;
    height: auto;
    text-align: center;
}

.button_image_view img{
    width: auto;
    height: auto;
    max-height: 260px;
    display: inline-block;
    max-width: 100%;
}

.sel_ball_button{
    display: flex;
    gap: 10px;
    justify-content:center;
    padding-bottom: 5px;
}

.relative_460_378
{
    display: block;
    position: relative;
    height: 328px;
    max-width: 460px;
    width: 100%;
    margin-bottom: 20px;
}


.block_in_balloon{
    display: flex;
    flex-direction:column;
    gap:10px;
    border: 1px solid #e3dcdc;
    padding: 15px;
    background-color: #ececec;
    text-align: center;
    position: absolute;
    left: 0px;
    top: 10px;
    right: 0px;
    bottom: 0px;
    z-index: 1;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.block_in_balloon_view{
    opacity: 1;
    pointer-events: all;
}



.td_photo_block_photo_flex{
    display: flex;
    justify-content:flex-start;
    max-width: 60px;
    overflow: hidden;
    gap:2px;
    height: 20px;
}

.td_photo_block_photo_flex a{
    padding: 1px;
    border: solid 1px #000;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    width: 20px;
    height: 20px;
    display: inline-block;
}


.view_photos {
    display: flex;
    width:100%;
    gap: 5px;
    overflow-x: auto;       /* Лучше чем scroll — появляется только при необходимости */
    overflow-y: hidden;     /* Чтобы не появлялся вертикальный скролл */
    white-space: nowrap;    /* Чтобы элементы не переносились на новую строку */
    height: 224px;
}

.view_photos_item{
    display: inline-block;
    height: 200px;
    width: auto;
    border: solid 1px #CCCCCC;
    padding: 1px;
    position: relative;
}

.view_photos_item img{
    width: auto;
    height: 196px;
    display: inline-block;
    cursor: pointer;
}


.icon-abs{
    position: absolute !important;
    right: 1px;
    top: 3px;
    display: inline-block;
    background-color: #FFF;
}

.view_photos_item_info{
    position: absolute;
    left: 0px;
    right: 0px;
    bottom: 0px;
    height: 30px;
    background: rgba(255, 255, 255, 0.7);
    color: #000;
    display: flex;
    justify-content:center;
    align-items:center;
}


/**********************************************************************/

.thumbnail {
    width: 200px;
    cursor: pointer;
}

#img-modal {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 12000;

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease;
}

#img-modal.show {
    opacity: 1;
    visibility: visible;
}

#img-modal.hide {
    opacity: 0;
//visibility: hidden;
}

#img-modal img {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 0 20px #fff;
    border-radius: 10px;
    transform: scale(0.9);
    transition: transform 0.4s ease;
    cursor: pointer;
}

#img-modal.show img {
    transform: scale(1);
}

#img-modal.hide img {
    transform: scale(0.9);
}

#img-modal .img-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    user-select: none;
    z-index: 12001;
}


/***************************************************************/
.lr_content{
    display: flex;
    justify-content:space-between;
}

.lr_content_left{
    width: 200px;
    padding: 10px;
    display: flex;
    flex-direction:column;
    gap:10px;
}

.lr_content_right{
    flex-grow:1;
    padding: 20px;
}

.content_win {
    border-top-left-radius:5px;
    border-top-right-radius:5px;
    display: block;
    box-shadow:4px 4px 4px rgba(0, 0, 0, 0.1);
    background-color: #FFF;

}

.content_win_head{
    border-top-left-radius:5px;
    border-top-right-radius:5px;
    display: block;
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
    background-color: #00AA00;
    color: #FFF;
    font-weight: bold;
    background: linear-gradient(to top, #546ee5, #6782ff);
}

.content_win_menu {
    display: flex;
    flex-direction:column;
}

.content_win_menu  a{
    padding: 5px;
    text-decoration: none;
    border-bottom: solid 1px #CCCCCC;
    color: #000;
    padding-left: 10px;
    padding-right: 10px;

}

.content_win_menu  a:hover{
    background-color: #007aff;
    color: #FFF;
}

.content_text {
    display: block;
    margin-right: auto;
    margin-left: auto;
    background-color: #FFF;
    border: solid 1px #AAA;
    max-width: 1000px;
    height: auto;
    padding: 20px;
    box-shadow:4px 4px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.content_button{
    display: flex;
    justify-content:center;
    align-items:center;
}

/***********************html_text***************************************/

.html_text {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Заголовки */
.html_text h1,
.html_text h2,
.html_text h3,
.html_text h4,
.html_text h5,
.html_text h6 {
    display: block;
    margin: 0 0 20px 0;
    font-weight: bold;
    line-height: 1.2;
    color: #222;
}

.html_text h1 {
    font-size: 2em;
    margin-top: 40px;
}

.html_text h2 {
    font-size: 1.75em;
    margin-top: 35px;
}

.html_text h3 {
    font-size: 1.5em;
    margin-top: 30px;
}

.html_text h4 {
    font-size: 1.25em;
    margin-top: 25px;
}

.html_text h5 {
    font-size: 1.1em;
    margin-top: 20px;
}

.html_text h6 {
    font-size: 1em;
    margin-top: 15px;
    color: #666;
}

/* Абзацы */
.html_text p {
    margin: 0 0 20px 0;
}

/* Списки */
.html_text ul,
.html_text ol {
    margin: 0 0 20px 40px;
    padding: 0;
}

.html_text li {
    margin-bottom: 10px;
}

/* Ссылки */
.html_text a {
    color: #0066cc;
    text-decoration: underline;
}

.html_text a:hover {
    text-decoration: none;
}

/* Цитаты */
.html_text blockquote {
    margin: 20px 0;
    padding: 10px 20px;
    border-left: 4px solid #ccc;
    background-color: #f9f9f9;
    color: #555;
    font-style: italic;
}

/* Изображения */
.html_text img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px 0;
}

/* Код */
.html_text pre,
.html_text code {
    font-family: monospace;
    background: #f4f4f4;
    padding: 4px 6px;
    border-radius: 4px;
}

.html_text pre {
    padding: 10px;
    overflow-x: auto;
    margin: 0 0 20px 0;
}


.vk_photo
{
    max-width: 120px;
    width: 100%;
    border: solid 1px #ededed;
    height: 120px;
}

.vk_photo img{
    max-width: 120px;
    width: 100%;
    height: 120px;
    padding: 2px;
    border: solid 1px #f4f4f4;
}


.vk_photo video{
    max-width: 120px;
    width: 100%;
    height: 120px;

}


.block_rows{
    display: flex;
    flex-wrap:wrap;
    gap:10px;
}

.block_baner{
    position: relative;
    width: 404px;
    height: 118px;
    border: solid  1px #CCCCCC;
    padding: 1px;
}

.block_baner_images{
    width: 200px;
    height: 139px;
}

.block_baner_images .bnr_images{
    width: 200px;
    height: 139px;
}

.block_baner_images .block_baner_text{
    font-size: 18px;

}

.block_baner_text{
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    display: flex;
    justify-content:center;
    align-items:center;
    font-size: 20px;
}

.block_baner_text_schema_0{
    color: #FFF;
    text-shadow: 1px 1px 2px #000;
}

.block_baner_text_schema_1{
    color: #000;
    text-shadow: 1px 1px 2px #FFF;
}


.block_baner .bnr{
    width: 400px;
    height: 114px;
}

.block_baner_action{
    position: absolute;
    z-index: 2;
    right: 4px;
    top: 2px;
}
.block_baner_action a{
    background-color: #FFF;
    padding: 1xp;
}

.edit_baner_image {
    display: flex;
    margin-bottom: 10px;
    justify-content:center;
}

.edit_baner_image img{
    width:100%;
    height: 182px;
    padding: 2px;
    border: solid 1px #919191;
}


.edit_baner_images {
    display: flex;
    margin-bottom: 10px;
    justify-content:center;
}

.edit_baner_images img{
    width:100%;
    height: 250px;
    padding: 2px;
    border: solid 1px #919191;
}



.block_baner_flexin
{
    display: flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
}

.block_baner_flexin div{
    background-color: #ffff00;
    color: #000;
    font-size: 12px;
    padding: 3px;
    padding-left: 7px;
    padding-right: 7px;
}

.row_edit_check{
    display: block;
}

.row_edit_checkbox
{
  display: flex;
    align-items: center;
    gap:5px;
}

.row_edit_title{
   margin: 0px;
    margin-bottom: 5px;
}

.maps_logo{
    background-image: url("logo.png");
    width: 80px;
    height: 18px;
    display: inline-block;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
}

.dv_logo{
    background-color:#FFF;
    padding-left: 8px;
    padding-right: 8px;
}


/**********************************************************************/
.custom-popup {
    position: absolute;
    background: white;
    /*border: 1px solid #ccc;*/
    padding: 0px;
    z-index: 999;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    display: none;
    min-width: 160px;
    padding: 10px;
}

.custom-popup label {
    margin-right: 10px;
}

.custom-button {
    background-color: #FFF;
    color: #000;
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    user-select: none;
}

.custom-button:hover {
    background-color: #FFF;
}

.custom-popup-checkbox{
    display: flex;
    flex-direction:column;
}

.custom-popup-checkbox-in
{
    display: flex;
    gap:5px;
    align-items: center;
}

.ymaps-2-1-79-float-button.ymaps-2-1-79-_checked {
    background-color: #FFF !important;
    color: white !important;
}

/* Убираем вообще hover-эффект от яндекса */
.ymaps-2-1-79-float-button:hover {
    background-color: #FFF !important;
}

.image_ob_view{
    width: 100px;
    height: 50px;
}


input[type="date"]{
    width: auto;
}

.td_nom {
    text-align: right !important;
}

#adw32fdf21543tysdfsdg {
    width: 60px;
}
.small_gray
{
    font-size: 11px;
    color: #AAA;
}

/*******************************************************************/

.fixed_panel {
    position: absolute; /* Фиксированное положение */
    top: 10px;
    left: 10px;
    /*bottom: 10px;*/
    width: 350px; /* Ширина панели */
    background: #f0f0f0; /* Цвет фона */
    overflow-y: auto; /* Вертикальная прокрутка */
    padding: 10px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.4); /* Тень справа */
    z-index: 1;
    border: solid 1px #ccc;
    display: flex;
    flex-direction: column;
    height:auto; /* calc(100% - 20px);*/
    max-height: calc(100% - 20px);
}

/*
.fixed_panel_full {
    bottom: 0px;
    background: #fff;
}*/


.fixed_panel:empty{
    display: none;
}

.std_input_sel{
    outline: none;
}

.std_input_sel:focus{
    border: solid 3px #0080FF;
}

.fixpan_flex{
    display: flex;
    gap:5px;
}