/*Общие настройки: обнуляем все стили*/
* {padding:0;margin:0;border:0;}
/*для удобного подсчета размера блока-верстка*/
*,*:before,*:after {-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;}
/*убираем обвотку у некоторых браузеров*/
:focus,:active {outline:none;}
a:focus,a:active {outline:none;}
/*делаем некоторые теги блочными*/
nav,footer,header,aside {display:block}
/*уравнивает шрифты и поведение для всех браузеров*/
html, body {/*height:100%;width:100%;*/font-size:100%;line-height:1;/*font-size:14px*/;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;}
/*наследование шрифта*/
input,button,textarea {font-family:inherit;}/*шрифт Times New Room*/
/*убариют прочие особенности использования в разных браузерах*/
input::-ms-clear {display:none;}
button {cursor:pointer;}
botton::-moz-focus-inner {padding:0;border:0;}
a, a:visited {text-decoration:none;}
a:hover {text-decoration:none;}
ul li {list-style:none;}
img {vertical-align:top;}
/* обнуляем все заголовки*/
h1,h2,h3,h4,h5,h6 {font-size:inherit;font-weight:inherit;}
/*-------------*/

/*-------------header-------------*/
/* body {
	background-color: rgb(242, 242, 242);/*#6c757d28;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
} */
/* ФОН пасхалка */
html {
	background-color: rgb(242, 242, 242);
}
body {
	background: transparent !important;
	isolation: isolate;
}
.photo-background {
	position: fixed;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	pointer-events: none;
}
.photo-background__card {
	position: absolute;
	left: 50%;
	top: 50%;
	width: min(var(--photo-width), 24vw);
	max-width: calc(100vw - 32px);
	max-height: 36vh;
	height: auto;
	padding: 6px;
	border: 1px solid rgba(35, 35, 35, 0.12);
	background: #fff;
	box-shadow: 0 8px 22px rgba(22, 28, 36, 0.22);
	object-fit: contain;
	opacity: 0;
	transform: translate(-50%, -50%) rotate(var(--photo-rotation));
}
.photo-background--ready .photo-background__card {
	opacity: 0.68;
}
@media (max-width: 600px) {
	.photo-background__card {
		width: min(var(--photo-width), 42vw);
		min-width: 120px;
		max-height: 30vh;
	}
}

body._lock {overflow: hidden;}
.wrapper {min-height:100%;}
.header {
	position:fixed;
	top:0;
	left:0;
	width:100%;
	z-index:10;
	background-color:#fff;/*6c757d;/*#666633;*/
	border-bottom:1px solid rgb(210, 210, 225);
	box-shadow:0 0 0 2px rgba(170, 170, 200, 0.18);
}
.header_container {
	max-width:100%;
	/* margin:0px 30px; */
	display:flex;
	padding:0px 30px;
	align-items:center;/*выравнить по центру*/
	justify-content:space-between;/*меню справа*/
	min-height:50px;
}
.menu_logo {
	display:flex;
	align-items:center;
	gap:10px;
	min-width:0;
}
.header_user {
	font-size:14px;
	font-weight:600;
	color:#404040;
	white-space:nowrap;
}
.header-pusi {
	margin-left:4px;
	color:#e0504b !important;
	font-size:12px !important;
	font-weight:600;
	white-space:nowrap;
	flex-shrink:0;
}
.header_logo {
	display:block;
	flex-shrink:0;
	width:40px;
	height:40px;
	min-width:40px;
	min-height:40px;
	border-radius:50%;
	background:#fff url(/frCSS/images/logo96.png) center center / cover no-repeat;
	position:relative;
	z-index:9;
}
.menu_icon {display:none;}
.menulist_item {
	position:relative;
	margin:0px 0px 0px 20px;
}
.menulist_link {
	color:#6c757d;
	font-size:14px;
}
.menulist_link:hover {/*реакция при наведении мыши*/
    /*text-decoration: underline;*/
	color:#2a2e33;
}
.menu_sub-list {
	position:absolute;
	/*display: none;невидно при загрузке страницы*/
	top:100%;
	right:0;
	background-color:rgba(0, 0, 0, 0.75);
	padding:15px;
	min-width:200px;
}
.menusub-list_item {margin:0px 0px 10px 0px;}
.menusub-list_item:last-child {margin:0;}
.menusub-list_link {color:#fff;}
.menusub-list_link:hover {text-decoration:underline;}/*реакция при наведении мыши*/
.menu_arrow {display:none;}/*скрываем стрелку*/

/*-------------header-------------*/
/*Метку для тела _mouse or _touch */
body._mouse .menulist_item:hover .menu_sub-list {
	opacity:1;
	/*display:block;*/
	visibility:visible;
	transform:translate(0px, 0px);
	pointer-events:all;
}
body._touch .menulist_item {
	display:flex;
	align-items:center;
}
body._touch .menulist_link {flex:1 1 auto;}
body._touch .menu_arrow {
	display:block;
	width:0;
	height:0;
	margin:0px 0px 0px 5px;
	transition:transform 0.3s ease 0s;
	border-left:5px solid transparent;
	border-right:5px solid transparent;
	border-top:10px solid #101010;
}
body._touch .menulist_item._active .menu_sub-list {/*в состоянии активная*/
	opacity:1;
	visibility:visible;
	transform:translate(0px, 0px);
	pointer-events:all;
}
body._touch .menulist_item._active .menu_arrow {transform:rotate(-180deg);}/*анимация стрелки*/

/*Флекc контейнер на экранах шире 767*/
@media (min-width:767px) {
	.menu_list{
		display:flex;
		align-items:center;
	}
	 .menulist_item {padding:15px 0;}/*отступ от ссылки*/
	 .menu_sub-list {
		transform:translate(0px,10%);/*опускаем меню на 10%*/
		opacity:0;
		visibility:hidden;
		pointer-events:none;/*запрещает любое взаимодействие с объектом*/
		transition:all 0.3s ease 0s;
	}
}

@media  (max-width:767px) {
	.menu_icon {
		z-index: 5;
		display: block;
		position: relative;
		width: 30px; 
		height: 18px;
		/*visibility: hidden; /*18px; ???разобраться к чему это*/
		cursor: pointer;
	}
	/*создание иконки бургера */
	.menu_icon span, .menu_icon::before, .menu_icon::after {
		left: 0;
		position: absolute;
		height: 10%;
		width: 100%;
		transition: all 0.3s ease 0s;
		background-color: #101010;
	}
	.menu_icon::before,.menu_icon::after {content: "";}
	.menu_icon::before {top: 0;}
	.menu_icon::after {bottom: 0;}
	.menu_icon span {
		top: 50%;
		transform: scale(1.0) translate(0px,-50%);
	}	
	.menu_icon._active span{transform: scale(0) translate(0px,-50%);}
	.menu_icon._active::before {
		top: 50%;
		transform: rotate(-45deg) translate(0px,-50%);
	}
	.menu_icon._active::after {
		bottom: 50%;
		transform: rotate(45deg) translate(0px,50%);
	}
	/*создание иконки бургера */
	.main_menu {
		position:fixed;
		top: 0;
		left: -100%;
		width: 100%;
		height: 100%;
		background-color: rgba(0, 0, 0, 0.85);
		padding: 100px 30px 30px 30px;
		transition: left 0.3s ease 0s;
		overflow: auto;/*возможность скрола ели меню больше для экрана по вертикали*/
	}
	.main_menu._active {left: 0;}
	.main_menu::before {
		z-index: 2;
		content: "";
		position: fixed;
		width: 100%;
		top: 0;
		left: 0;
		height: 50px;
		background-color:#fff;
	}
	.menulist_item {
		flex-wrap: wrap;/*позволяет элементам переход на новую строку*/
		margin: 0px 0px 30px 0px;
	}
	.menulist_item:last-child {margin-bottom: 0;}/*у последнего убирает отступ*/
	.menulist_item._active .menu_sub-list {
		display: block;
		background-color:rgba(0, 0, 0, 0.0);	
	}
	.menu_sub-list {
		position: relative;
		background-color: #fff;
		flex: 1 1 100%;
		margin: 20px 0px 0px 0px;
		display: none;
	}
	.main_menu._active .menu_arrow {border-top:10px solid #6c757d;}
	.menusub-list_link, .menulist_link {
		font-size: 24px;
		color: #6c757d;
	}
}  
/*-------------*/

/*-------------page-------------*/
.container_page {
	max-width:100%;
	/* margin:0px 30px; */
	display:flex;
	padding:0px 10px;
	align-items:center;/*выравнить по центру*/
	justify-content:space-between;/*меню справа*/
	min-height:30px;
}
@media (min-width:767px) {.page_list{display:flex;}}
.page_title {
	font-size:22px;
	color:#6c757d;
	position:relative; /*что бы другие объекты не перекрывали мотня например*/
}
.pagelist_item {
	position:relative;
	margin:0px 0px 0px 5px;
}
.pagelist_link {color:#6c757d;}
.pagelist_link:hover {/*реакция при наведении мыши*/
    /*text-decoration: underline;*/
	color:#2a2e33;
}

/*-------------page-------------*/
.content {padding:55px 5px 25px 5px;}/*отступ для header*/
.content_section {
	display: inline-block;
	padding: 10px 0px;
	vertical-align: top;
	max-width:100%;/*Ограничение по ширине*/
	margin: 0 0 5px 0;/*отступ от других элементов*/
	min-width:300px;
    background-color: #fff;
	border:1px solid  rgb(220, 200, 200);
	/* box-shadow:0 0 0 3px rgba(170, 170, 170, 0.12); */
}
.content_header {
	background-color: #fff;
	border:1px solid  rgb(220, 200, 200);
	max-width:100%;
	/* margin:0px 30px; */
	display:flex;
	padding:0px 10px;
	align-items:center;/*выравнить по центру*/
	justify-content:space-between;/*меню справа*/
	min-height:50px;
}
.content_title {
	font-size: 25px;
	font-weight: 600;
	color: #e0504b;
	background: none;
}
.content_title._inactive {color: rgb(220, 200, 200);}
.content_sub-title {position:relative;} 
.content_section_1lC,.content_section_1lCR {
	width:100%;
	overflow-y: auto;
}
.content_section_2lC, .content_section_2lCR {
	width:100%;
	padding:0px 10px;
	overflow-y: auto;
}
/*VK*/
.grid_content {
	display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    /* grid-template-rows: 1fr 1fr; */
	background-color: white;
}
.content_section_GROSS {
	border: none;
}
.block_par {
	margin: 0 1%;
}
/* .section_2lC {
	grid-row: span 2;
}
.section_3lC {
	grid-row: 2/3;
} */
.block_none {
	display: none;
}
/*VK*/
.tablink {
	color:rgba(134, 138, 141, 0.5);
	text-decoration: none;/*Убираем подчеркивание*/
	font-size: 25px;
	font-weight: 600;
	margin: 0 10px 0 0;
	/*для подчеркивания*/
	background: linear-gradient(to bottom,transparent 0%,transparent 90%, #e0504b 100% );
	background-size: 200% 100%;
	background-position: 200% 0;
	background-repeat: no-repeat;
	transition: all 0.2s linear;
}
.tablink:hover {
	color:rgba(134, 138, 141, 1);
	background-position: 100% 0;
}
.tablink._active {color: #e0504b;}
#return_TG td {border: 1px solid #a0a0a0;}
.content_section_3lC {width:100%;}
.content_section_3lC.block_calc {width: 30px;}

/*--Подвал--*/
.footer {
    /*position: fixed; не закрепляем на странице*/
    position:fixed;
	bottom:0;
	width:100%;
	height:auto;
	z-index:10;
	background-color:rgba(0, 123, 255, 0.8);
}
.footer_container {
    /*max-width: 1200px;*/
	margin:0px auto;
	font-size:0.70rem;
	display:flex;
	padding:0px 30px;
	align-items:center;/*выравнить по центру*/
	justify-content:space-between;/*меню справа*/
	min-height:20px;
	color:#fff;
}
.footer_item {
	float:left;/*обтекание блока слева*/
	position:relative;/*позиция элемента для дальнейшено сдвига*/
	margin: 6px;
	width:auto;
}
IMG.displayed {/*временное ихображение тех работ*/
	display: block;
	margin-left:auto;
	margin-right:auto;
	width:calc(100% / 2);
	object-fit:cover;
}
#pyrus-widget-container-element{
	bottom: 40px !important;
}
/*-------------*/

/*Переделать*/
.itemNA {display:none;}
.itemNA._active {display: inline-block;}

/* CheckBox в виде оформления IOS */
.checkbox-ios {
	display:inline-block;
	height:26px;
	line-height:26px;
	position:relative;
	vertical-align:middle;
	font-size:14px;
	/* user-select:none; */
}
.checkbox-ios .checkbox-ios-switch {
	position:relative;
	display:inline-block;
	width:46px;
	height:26px;
	border:1px solid rgba(0, 0, 0, 0.1);
	border-radius:25%/50%;
	vertical-align:top;
	background:#eee;
	transition:0.2s;
	box-shadow:inset 0px 0px 2px 2px rgba(0,0,0,0.10);
}
.checkbox-ios .checkbox-ios-switch:before {
	content:' ';
	position:absolute;
	top:1px;
	left:1px;
	display:inline-block;
	width:22px;
	height:22px;
	border-radius:50%;
	background:white;
	box-shadow:0 3px 5px rgba(0, 0, 0, 0.13);
	transition:0.15s;
}
.checkbox-ios input[type=checkbox] {
	display:block;
	width:0;
	height:0;
	position:absolute;
	z-index:-1;
	opacity:0;
}
.checkbox-ios input[type=checkbox]:not(:disabled):active + .checkbox-ios-switch:before{box-shadow:inset 0 0 2px rgba(0, 0, 0, 0.3);}
.checkbox-ios input[type=checkbox]:checked + .checkbox-ios-switch{background: rgb(115,230,115);}
.checkbox-ios input[type=checkbox]:checked + .checkbox-ios-switch:before{
	transform:translateX(20px);
	content:' ';
}
.checkbox-ios input[type="checkbox"]:not(:disabled) + .checkbox-ios-switch{
	cursor:pointer;
	border-color:rgba(0, 0, 0, 0.3);
}
.checkbox-ios input[type=checkbox]:disabled + .checkbox-ios-switch{
	filter:grayscale(70%);
	border-color:rgba(0, 0, 0, 0.1);
}
.checkbox-ios input[type=checkbox]:disabled + .checkbox-ios-switch:before{background:#eee;}
.checkbox-ios.focused .checkbox-ios-switch:before{box-shadow:inset 0px 0px 4px #ff5623;}
/*-------------*/
.check{
	display: none;
}

/*Всплывающее окно*/
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
	justify-content: center;  /* VK */
    align-items: center;  /* VK */
    /* z-index: 1000; */
}
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
	padding: 5px;
    z-index: 100;
	min-width: 60%;
    opacity: 0;
    transition: opacity 0.3s ease;
} 
/* VK */
/* .popup {
	background-color: white;
	padding: 20px;
	border-radius: 5px;
	width: 300px;
} */
#popup-toggle {
	display: none; /* Скрываем чекбокс */
}
#popup-toggle:checked + .popup-overlay {
	display: flex; /* Показываем всплывающее окно при чекбоксе */
}
/* VK */
.popup-content {text-align: center;}


/*-------------*/
.button {
    padding: 5px 10px;
    margin: 1px;
	border-radius: 25px;
    background-color:rgb(0, 55, 144);
	width: max-content;
    border: none;
    cursor: pointer;
    outline: none; /* Убрать фокус у кнопки */
    color: white;
    transition: all 0.3s ease;
    text-decoration: none; /* Если это ссылка */
	display:inline-block;
	font-size: 0.9em;
}
.button:hover {
    background-color:  rgb(15, 142, 255);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.button:active {
    background-color: rgb(0, 35, 92);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) inset;
}

.p_d {
	padding: 5px;
	background-color: rgb(242, 242, 242);
	transition: transform 0.1s, box-shadow 0.1s;
	display:inline-block;
}
.p_d:hover {background-color: rgb(242, 242, 242);}
.p_d:active {transform: scale(0.9);}

/*#top_b {
	display: none;
	border-radius: 100%;
	position: fixed;
	bottom: 30px;
	right: 50%;
	background-color: rgba(15, 143, 255, 0);
	z-index: 199999;
	padding: 10px;
}*/
#top_b {
		display: none; /* Скрыть кнопку по умолчанию */
		position: fixed; /* Фиксированное положение */
		bottom: 30px; /* Расположение от нижнего края */
		right: 2%; /* Расположение от правого края */
		transform: translateX(50%); /* Центрирование по горизонтали */
		z-index: 99; /* Убедитесь, что она находится над всеми другими элементами */
		border: none; /* Убрать стандартные стили кнопки */
		outline: none; /* Убрать стандартные стили кнопки */
		background-color: transparent; /* Прозрачный фон */
		cursor: pointer; /* Добавить стиль курсора при наведении */
		padding: 0px; /* Добавить некоторое пространство вокруг изображения */
		border-radius: 10px; /* Добавить закругленные углы */
		
	  }
	  
	  #top_b:hover {
		background-color: rgba(0,0,0,0.1); /* Добавить немного темного фона при наведении */
	  }

#response {
	height:300px; 
	width: 100%;
	border-radius: 0px;
}

.k {
	color: rgba(134, 138, 141);
	font-style:italic;
	font-size: 18px;
}