/* body – вся видимая часть HTML-документа */

body {
	max-width: 1577px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 15px;
	padding-right: 15px;
	background-color: white;
	font-family: Verdana, Arial, sans-serif;
	font-size: 12pt;
	color: RGB(0,28,72);
	text-align: center;
	line-height: 1.4;
	}

/* Параметры заголовков */

h1, h2, h3 {
	color: RGB(11,140,177);
	background: linear-gradient(90deg, RGB(220,255,245), RGB(240,255,255));
	font-weight: bold;
	}

h1 {
	font-family: "Times New Roman", serif;
	font-style: italic;
	font-size: 24pt;
	}

.glavstranica {
	font-family: "Times New Roman", serif;
	font-style: italic;
	font-size: 28pt;
	}

h2 {
	font-family: Garamond, serif;
	font-size: 22pt;
	}

h3 {
	font-family: "Times New Roman", serif;
	font-size: 20pt;
	font-style: italic;
	}

/* Элементы div, span, параграфы */

div {
	text-align: center;
	}

main {
	width: 100%;
	}
	
.fotoblok {
	margin: auto;
	max-width: 1400px;
	border: 3px;
	border-style: solid;
	border-color: RGB(11,140,177);
	}


.menu {
	display: inline-block;
	width: 31%;
	vertical-align: top;
	padding-left: 5px;
	padding-right: 5px;
	}

.stroka {
	width: 100%;
	}

span {
	font-weight: bold;
	}

p {
	text-align: justify;
	line-height: 1.5;
	}

.photo {
	text-align: center;
	}

.itog {
	background-color: RGB(11,140,177);
	font-weight: bold;
	text-align: center;
	color: white;
	}

.mobiln {
	display: none;
	}

/* Текстовые гиперссылки разных классов */

a {
	font-weight: bold;
	text-decoration: none;
	}

.verh {
	color: RGB(11,140,177);
	font-family: "Times New Roman", serif;
	font-size: 18pt;
	font-style: italic;
	}
	
.text {
	color: RGB(11,140,177);
	}
	
.srednie {
	color: RGB(15,20,205);
	}
	
.krasn {
	color: RGB(250,20,55);
	}

.varpoisk {
	font-family: "Times New Roman", serif;
	font-size: 18pt;
	font-style: italic;
	color: RGB(250,20,55);
	}
	
/* :hover – изменение параметров элемента (гиперссылки) при наведении указателя мыши */

a.mal:hover, a.verh:hover {
	background-color: RGB(240,255,240);
	}
	
a.srednie:hover {
	background-color: RGB(245,250,255);
	}
	
a.dalnie:hover, a.varpoisk:hover {
	background-color: RGB(255,245,245);
	}
	
/* Таблица. Строка. Ячейки разных классов */

table {
	max-width: 1100px;
	margin: auto;
	border: 3px;
	border-style: solid;
	border-color: RGB(11,140,177);
	border-collapse: collapse;
	line-height: 1.5;
	}

tr {
	text-align: center;
	}

th, td {
	border: 2px;
	border-style: solid;
	border-color: RGB(11,140,177);
	border-collapse: collapse;
	vertical-align: middle;
	padding-left: 7px;
	padding-right: 7px;
	}
	
.foto {
	width: 130px;
	}
	
.A {
	width: 80px;
	}

.B {
	width: auto;
	}

/* Рисунки */

img.standart, .abc, .vertical {
	border: none;
	}
	
.standart {
	width: 200px;
	height: 150px;
	}
	
.vertical {
	width: 150px;
	height: 200px;
	}

/* Формы и их элементы (кнопка, поле ввода) */

form {
	line-height: 1.5;
	}

.knopka {
	font-family: "Times New Roman", serif;
	font-style: italic;
	font-weight: bold;
	font-size: 16pt;
	color: white;
	background-color: RGB(11,140,177);
	text-align: center;
	}
	
.vvod {
	font-family: Verdana, Arial, sans-serif;
	font-size: 12pt;
	font-weight: bold;
	color: RGB(11,140,177);
	}

/* Свойства для малых экранов (до 800 px включительно) */

@media screen and (max-width: 800px) {
	
	body {
		width: 96%;
		padding-left: 0px;
		padding-right: 0px;
		}
	
	.fotoblok {
		width: 100%;
		}

	.risunok, .menu {
		display: block;
		width: 100%;
		padding-left: 0px;
		padding-right: 0px;
		}

	img.standart, .vertical, .abc {
		max-width: 100%;
		height: auto;
		}
		
	table {
		width: 100%;
		border: 2px;
		border-style: solid;
		border-color: RGB(11,140,177);
		}
	
	th {
		display: none;
		}
		
	td {
		border: 2px;
		border-style: solid;
		border-color: RGB(11,140,177);
		padding-left: 4px;
		padding-right: 4px;
		}
	
	.A, .foto {
		width: 9%;
		}
	
	.mobiln {
		display: block;
		}

}