﻿body {
	color:#000000;
	min-height: 100vh;
	scroll-behavior: smooth;
	background-color: #cecece;
	background-attachment: fixed;
	font-family: verdana, Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-style: normal;
	text-align: left;
	border-width: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}	
.footer {
	color:white;    
} 

h1 {
	font-size: 1.69em;
	margin: 10px;
}
h2 {font-size: 1.56em;} 
h3 {font-size: 1.44em;} 
h4 {font-size: 1.31em;} 
h5 {font-size: 1.19em;} 
h6 {font-size: 1.06em;} 

.region {
	width: 360px;
}

#find {
	min-width: 75%;
	width: 145px;
}

textarea {
	height:100px;
}

td {
	padding:5px;
}

#all {
	margin:0px;
	padding:0px;
}

.header_inner {
	display: flex;
	color:white;
	max-width: 1240px;
	margin: 0 auto;
	padding: 5px;
}

a {
	text-decoration: none;
}

/* Изменение цвета ссылок при наведении курсора */
.topnav a:hover, .navadmin a:hover {
	background-color: #795e5e;
	color: white;
}

/* Стили для карточек */
.FotoBigAnketa {
	float:left;
	padding-right:10px;
	margin: 5px 0;
	width: 30%;
} 

.FotoAnketa {
	width: 100%;
}

/* стили карточки при смене статуса */
.onecard_tuman {
	-webkit-filter: blur(2px);
  	filter: blur(2px);
}

.NZ {
	position: absolute; 
	z-index: 4; 
}

.onecard {
	width:328px;
	height:188px;
	float:left;
	border-style:groove;
	border-radius:15px;
	border-width:10px;
	border-color:red;
	margin: 0 5px 5px 0; 
	padding-left:5px;
	overflow-y:hidden;
	font-size:14px;
	background-color:#FFFFFF;
}

.dead {
	border-color: #595959;
}
/* КОНЕЦ стили карточки при смене статуса */

/* НОВАЯ ВЕРСИЯ САЙТА, Стили */
.header {
	max-height: 160px;
	height: 25vw;
	display: block;
	position: relative;
	box-sizing: inherit;
}
.headerSlogane { /* размеры слогана и меню*/
	height: 50%;
	padding: 5px;
	min-height: 50px;
	background-color: #0000ac;
}
.headerNav { /* размеры слогана и меню*/
	height: 50%;
	padding: 5px;
	min-height: 50px;
	max-height: 100px;
	background-color: #ffffff;
}

.slogane {
	height: 100%;
	text-align: center;
	color: #ffffff;
	text-transform: uppercase;
	font-size: max(16px, 4vw);
	font-weight: bold;
	display: flex;
	margin: auto;
	max-width: 1200px;
}
@media (min-width: 1200px) {
	.slogane {
		font-size: 48px;
	}
}

.sloganeText {
	margin: auto;
}

.topmenu {
	height: 100%;
	display: flex;
	margin: auto;
	max-width: 1200px;
}

.logoNG {
	height: 100%;
	min-height: 40px;
	max-height: 90px;
	margin-right: 5px
}

/*Наверное старое меню Начало*/
.menubutton {
	border-style:solid;
	border-width:1px 3px 3px 1px;
	border-color:red;
	border-radius:8px;
	padding:3px;
	background-color:#CCCCCC;
	font-size:14px;
	font-weight:bolder;
}

.odd {
	background-color:#AAAAAA;
}

.headform {
	background:url(/pic/bg-input.gif);
	color:white;
	padding:2px;
	margin:3px;
	width:108px;
}

.big_anketa_div {
	max-width: 900px;
	/* border-style:groove; */
	border-radius:15px;
	border-width:10px;
	/* border-color:red; */
	margin:5px 5px;
	padding: 10px;
	font-size: 1.1em;
	background-color:#FFFFFF;
	z-index:0;
	position:relative;
}

.big_anketa_tuman_div {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 4;
	text-align: center;
	font-size: 2em;
	font-weight: bolder;
	width: 100%;
	height: 100%;
}
/*Наверное старое меню Конец*/

/*стили нового меню начало*/
nav {
	margin: auto;
}

.nav a, .nav .a {
	display: block;
	text-decoration: none;
}
		
.dropdown {
    float: left;
    overflow: hidden;
}

.topnav {
	overflow: hidden;
	z-index: 2;
}
  
.topnav a {
	float: left;
	display: block;
	color: #ffffff;
	text-align: center;
	padding: 8px;
	text-decoration: none;
	font-size: 16px;
  }
  
.topnav .icon {
	display: none;
}
  
.active {
	background-color: #4CAF50;
	color: white;
}
  
.dropdown .dropbtn {
	font-size: 16px;    
	border: none;
	outline: none;
	color: white;
	padding: 10px 10px;
	font-family: inherit;
	margin: 0;
	background-color: #0000ac;
	margin: 0;
  }
  
.dropdown-content {
	display: none;
	position: absolute;
	background-color: #ffffff;
	min-width: 240px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1;
  }
  
  .dropdown-content a {
	  float: none;
	  color: black;
	  padding: 8px;
	  text-decoration: none;
	  display: block;
	  text-align: left;
  }
    
  .dropdown-content a:hover {
	  background-color: #c5c5c5;
	  color: black;
  }
  
  .dropdown:hover .dropdown-content {
	  display: block;
  }
  
  @media screen and (max-width: 600px) {
	.topnav a:not(:first-child), .dropdown .dropbtn {
	  display: none;
	}
	.topnav a.icon {
	  float: right;
	  display: block;
	  background-color: #0000ac;
	}
  }
  
  @media screen and (max-width: 600px) {
	.topnav.responsive {
		position: relative;
		left: -10vw;
	}
	.topnav.responsive .icon {
	  position: absolute;
	  right: 0;
	  top: 0;
	}
	.topnav.responsive a {
	  float: none;
	  display: block;
	  text-align: left;
	}
	.topnav.responsive .dropdown {float: none;}
	.topnav.responsive .dropdown-content {position: relative;}
	.topnav.responsive .dropdown .dropbtn {
	  display: block;
	  width: 100%;
	  text-align: left;
	  min-width: 240px;
	}
  }
/*стили нового меню конец*/

/*стили превью начало*/
.preview {
	background: url(/pic/preview1.jpg);
	max-height: 360px;
	color: #ffffff;
	font-size: 2vw;
	background-size: cover;
	height: 30vw;

}
.previewText {
	text-align: center;
	max-width: 40vw;
	margin: auto;
	background: #00000078;
	height: 100%;
	padding: 10px;
}
/*стили превью конец*/

/* Стилии для главной страницы */
.top_page {
	margin: auto;
	padding: 5px;
	max-width: 1210px;
}

/*стили "Пропали недавно" начало*/
.SearchNew {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;

}
.SearchNewCard {
	background-color: #ffffff;
	width: 240px;
	float: left;
	margin-right: 5px;
	margin-bottom: 5px;
	padding: 5px;
	border-radius: 10px;
}
.SearchNew:nth-last-child(1) {
	margin-right: 0;
}
.SearchNewBlock {
	text-align: center;

}
.SearchNewPhoto {
	width: 210px;
	object-fit: contain;
	height: 280px;
	margin: 5px;
}
.SearchFIO {
	font-size: 16px;
}
.h2main, .SearchFIO {
	text-align: center;
	margin-bottom: 5px;
}
/*стили "Пропали недавно" Конец*/

/*стили "Карусель" начало*/
.carousel {
    max-width: 1200px;
    width: calc(100vw - 10px);
    overflow-y: hidden;
    overflow-x: hidden;
    display: inline-block;
	display: flex;
 }
.row {
	display: flex;  /* где этот стиль? */
}
/*стили "Карусель" конец*/

/* стили Новости начало */
.posts-list {
	display: flex;
	flex-wrap:wrap;
	justify-content: space-around;
}
.newsContent {
	margin-top: 10px;
}

.newsPreview {
	width: 97%;
	margin: 5px;
	max-height: 260px;
	object-fit: contain;
}

.newsTopPageCards {
	background-color: #ffffff;
	padding: 5px;
	max-width: 390px;
	float: left;
	margin-bottom: 10px;
	border-radius: 10px;
}

.newsTitle {
	margin: 0;
	font-size: min-width(23px, 1.574vw);
	text-align: center;
}

.newsData {
	font-size: 14px;
}
.more-link {
	border: #0000ac 2px groove;
	border-radius: 5px;
	max-width: 350px;
	/* width: calc(30vw - 15px); */
	display: block;
	text-align: center;
	padding: 5px;
	margin: 5px;

} 
.newsText {
	padding: 0 10px;
}

/* новости картинки*/
.image-inline{
	align-items: flex-start;
	display: inline-flex;
	max-width: 100%;
} 
.image-style-align-left {
	float: left;
	margin-right: 12px;
}

.image-style-align-right {
	float: right;
	margin-left: 12px;
}

.image-style-block-align-left {
	margin-left: 0;
	margin-right: auto;
}

.image-style-block-align-right {
	margin-left: auto;
	margin-right: 0;
}

.image-style-side {
	float: right;
	margin-left: 12px;
	max-width: 50%;
}

.ck-content .image img {
	display: block;
	margin: 0 auto;
	max-width: 100%;
	min-width: 100%;
  }

  .image img {
	display: block;
	margin: 0 auto;
	width: 90vw;
    max-width: 560px;
  }
  .image.image_resized {
	margin: auto;
  }/*Новости конец*/

/* Комментарии ПСО начало */
.commentCard {
	background-color: #ffff;
	margin-bottom: 16px;
	padding: 8px;
	max-width: 580px;
	border-radius: 10px;
	text-align: center;
}
.commentTime {
	margin-bottom: 0;
}
.commentText {
	margin-top: 8px;
}
.h3main {
	text-align: center;
	margin-bottom: 8px;
	font-size: 18px;
}

legend {
	font-weight: bold;
}
/* стили нового меню конец */  

/*Стили Страниц информации о ПСО Content_Pso.tpl*/ 
.ContentPsoH1 {
	text-align: center;
}
.ContentPsoText {
	background-color: white;
	padding: 5px;
}
.ContentPsoLogo {
	width:150px;
	float:left;
	margin: 0px 10px 5px;
}

.ContentPsoH2 {
	text-align: center;
	margin: 10px 0;
}
.ContentPsoCard {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}

/*Рекламный баннер Босса SRTB_792789*/
div > iframe {
	/* width: 100%; */
	max-width: 97vw !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	/* height: auto; */
	/* max-height: 90px; */
}
div > iframe > html {
	display: flex;
	height: 100%;
}
div > iframe > html {
	display: flex;
	height: 100%;
}

iframe ~ html, div > iframe > html, div > iframe > * {
	width: 100% !important;
	max-height: 100% !important;
	display: flex;
  }
  
div > iframe > html > body > a > img {
	overflow: hidden;
}
div > iframe a img {
	width: 100%;
	max-height: 100% !important;
}
/*Рекламный баннер Босса SRTB_792789 Конец*/

.AdminForm {
	border-width: 5px;
	border-style: groove;
	border-color: #0000ac;
	max-width: 1040px;
	padding-left: 7px;
}

summary::marker {
	font-size: 18px;
}
  
/* подвал начало*/
.containerfoot {
	color: white;
	max-width: 1210px;
	margin: 0 auto;
}
.socialFoot {
	text-align: center;
	margin: 7px;
}
.fa {
	font-size: 24px;
	text-decoration: none;
	margin: 5px;
}
.fa:hover {
	opacity: 0.7;
}

/* стили большой карточки (content_anketa.tpl). Начало */
.statusAhketa {
	text-shadow: 3px 3px 3px white;
	/* text-transform: uppercase; */
	text-align: center;
	font-size: 40px;
	color:#e10000;
	margin: 0;
  }
  
  .FIOAhketa {
	font-size: 40px;
	text-align: center;
	margin: 0;
  }
  
  @media (max-width: 780px) {
	.statusAhketa, .FIOAhketa {
	  font-size: 30px;
	}
  }
  @media (max-width: 600px) {
	.statusAhketa, .FIOAhketa {
	  font-size: 24px;
	}
  }
  
.health {
	color:red;
	display: inline-block;
} 
	.health::first-letter {
	text-transform: uppercase;
} 

  @media (max-width: 493px) {
	.statusAhketa, .FIOAhketa {
	  font-size: 21px;
	}
  }
  
  .commentsAdmin {
	margin-bottom: 10px;
  }
  .commentsTime {
	font-weight: bolder;
	text-decoration: underline;
  }
  .commentAdmin, .commentsTime {
	background-color: white;
	padding: 5px;
  }
  
  .btn {
	display: inline-block; /* Строчно-блочный элемент */
	background: #8C959D; /* Серый цвет фона */
	color: #fff; /* Белый цвет текста */
	padding: 0.5rem 1rem; /* Поля вокруг текста */
	text-decoration: none; /* Убираем подчёркивание */
	border-radius: 3px; /* Скругляем уголки */
	border-style: double;
	border-color: black;
	margin: 5px 10px;
	border-width: 2px;
	z-index: 5;
  }
  
  .ya-share2 {
	margin-top: 10px;
  }
  
  /* пагинатор начало*/
  .pagination {
	text-align: center;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	margin: 10px;
  }
  
  .page {
	padding: 7px 10px;
	color: #0000ac;
  }
  .current {
	font-weight: bold;
	border: 1px solid #0000ac;
	border-radius: 3px;
  }
  
/* Стили для заполнения анкеты админом */
.AdminCard {
	max-width: 600px;
	width: 100%;
	height: 24px;
  }
  
  .center {
	margin: auto;
	max-width: 672px;
  }
/*создание ЗАявки */
.oddz {
	background-color:#bebebe;
}

.ZajavkaCard {
    max-width: 640px;
    width: 100%;
    height: 25px;
	margin: 0 0 3px 0;
}
textarea {
  max-width: 640px; 
  width: 100%; 
  height: 100px;
}

.cardShape {
	margin: auto;
	max-width: 600px;
}

.zajavkaLegend {
	background-color:#bebebe;
	border-radius: 5px;
	margin-top: 10px;
	padding: 2px 10px;
}



/* Новость большая */
p img {
	max-width: 485px;
  }

@media (max-width: 500px) {
p img {
	  max-width:calc(100vw - 20px);
	}	
}

#vk_comments {
	margin-bottom: 5px;
	max-width: 700px;
	width: 98%;
	height: 400px;
  }
  
/* ВНИМАНИЕ. ЗДЕСЬ СБРАСЫВАЕМ ВСЕ СТАНДАРТНЫЕ СТИЛИ */
/* Указываем box sizing */
*, *::before, *::after { 
	box-sizing: border-box;
  }
  
/* Убираем внутренние отступы */
ul[class], ol[class] { 
	padding: 0;
  }
  
/* Убираем внешние отступы */
h2, h3, h4, p, ul[class], ol[class], li, figure, figcaption, blockquote, dl, dd { 
	margin: 0;
  }

/* Удаляем стандартную стилизацию для всех ul и il, у которых есть атрибут class*/
ul[class], ol[class] {
	list-style: none;
  }
  
/* Элементы a, у которых нет класса, сбрасываем до дефолтных стилей */
a:not([class]) {
	text-decoration-skip-ink: auto;
  }

/* Наследуем шрифты для инпутов и кнопок */
input, button, textarea, select {
	font: inherit;
  }
  