body{
	background: #fff;
	text-size-adjust: none;
    -ms-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
}

.flex-container {
	display: -webkit-flex;
	display: inline-flex;
	justify-content: flex-start;
}
.header{
	height: 30px;
	position: fixed;
	background: url(../i/footer.gif) repeat-x;
}
.flex-header {
	display: -webkit-flex;
	display: flex;
}
.footer {
  width: 100%;
  height: 30px;
  background: url(../i/footer.gif) repeat-x;
}

#panel{
	width:100%; 
	padding-left: 333px;
	padding-right: 323px;
}/**/

.left{
	display: flex;
	height: 100vh;
	width: 308px;
	background-color: #eee; 
	border-right: 3px solid #ddd;
    padding: 10px; 
	padding-top: 39px;
	/*padding-bottom: -30px;*/
	overflow-y: auto;
	/*overflow: auto; /*overflow-y: scroll;*/
}

.content{
	width: 100%; 
	margin-left: 1px;
	background-color: #fff; 
	padding: 35px; /* 15px; */ 
}
.content1{
	width: 100%;
	/*height: 100%;*/	
	margin: 20px 0 0 0px;
	background-color: #fff;
}

#flex-box {
	display: flex; /*отображает контейнер как блочный элемент*/
}
.flex-item {
  display: flex;
  justify-content: center;
  align-items: start; 
}
.flex-item1 {
  display: flex;
  justify-content: center;
  align-items: start;
  /*margin-top: -10px;*/
  background: linear-gradient(to bottom, #F4F4F4 5%, #ffffff 95%); 
}
//--------------------------/* 
footer[role="contentinfo"] {
  flex: none;
  height: 40px;
  background: #FF9D3C;
  vertical-align: middle;
  align-items: center;
}
//--------------------------- */

/****** Определение в рамке *****/
.termin{
	width: 80%;
	/*position: center;*/	
	border-radius: 10px; 
	border: 1px solid #B2CDEC; 
	color: #003399; 
	text-align: justify; 
	/*margin: 20px 0px 20px 0px; */
	margin:20px 10% 20px 10%;
	background-color: #F2F8FF; 
	padding: 18px; 
	box-shadow: 5px 5px 15px 5px #DEDEDE;
}
.plus{
	margin-left:40px; 
	color:#777; 
	font-size: 17px;
}
/***** Mодальное окно *****/
.modal {
    max-width: 900px;
    width: 100%;
    /*height: 400px; - удалено, т.к. ограничивает просмотр на смартфонах */
	margin: auto; /* добавлено для смартфонов */
}
h3 {
    text-align: center;
}
.text {
	margin: 5px;
	width: 800px;
	text-align: justify;
	font-family: Verdana;
    font-size: 15px;  
}
/***** END Mодальное окно *****/

/***** Всплывающая подсказка *****/
#hint {
	color:#003399; /*004189; */
	cursor:help; 
	/*border-bottom:1px;*/
	font-family:Tahoma,Arial,Sans-serif; 
	color:#000; 
	font-size:14px; 
	text-align:justify;
}
.tooltip { /* стиль текста, наведя или нажав на который появится пояснение */
  display: inline-block;
  position: relative;
  background: transparent; /*#E6E6E6; /* цвет фона */
  text-indent: 0px;
  /*font-family:Times New Roman;*/ 
  font-size: inherit;
  color: #003399; /*004189; /*000080; */
  border-bottom:1px dashed;
  cursor: help; /* вид курсора */
}
.tooltip > span { /* стиль появляющейся подсказки */
  position: absolute;
  bottom: 100%;
  left: -20em; /* = max-width */
  right: -20em; /* = max-width */
  width: -moz-max-content;
  width: -webkit-max-content;
  width: max-content;  /* ширина подсказки может быть не более содержимого */
  max-width: 20em;  /* ширина подсказки может быть не более 20em */
  max-height: 80vh; /* необязательное ограничение по высоте подсказки, 1vh Ч это 1% от ширины окна */
  overflow: auto;
  visibility: hidden;
  margin: 0 auto .4em; /* поднята на .4em над текстом, наведя или нажав на который появится пояснение */
  padding: .5em;
  border: solid 1px rgb(200,200,200); 
  /*box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);*/
  box-shadow: 10px 8px 15px #D6D6D6;
  font-size: 90%;
  background: #fff;
  line-height: normal;
  cursor: auto;
}

.tooltip.left > span { /* начинается от левого края */
  left: 0;
  right: -20em;
  margin: 0 0 .4em;
}
.tooltip.right > span { /* начинается от правого края */
  left: -20em;
  right: 0;
  margin: 0 0 .4em auto;
}

.tooltip.left:after {
  left: 1em;
}
.tooltip.right:after {
  left: auto;
  right: .6em; /* 1em - .4em */
}
.tooltip:before { 
  content: "";
  position: absolute;
  top: -.4em;
  left: 0;
  right: 0;
  height: .4em;
  visibility: hidden;
}
.tooltip:hover > span,
.tooltip:hover:before,
.tooltip:hover:after,
.tooltip:focus > span,
.tooltip:focus:before,
.tooltip:focus:after {
  visibility: visible;
  transition: 0s .4s;
}
.tooltip:focus { /* убрать рамку в Хроме */
  outline: none;
}
.tooltip.anim > span,
.tooltip.anim:after { /* анимация */
  opacity: 0;
  transform: translateY(1.5em) scale(.3);
  transform-origin: center bottom;
}
.tooltip.anim:after {
  transform: translateY(.7em) scale(.3); /* 1.7 = 1.5 / (1.4*2) */
}
.tooltip.anim:hover > span,
.tooltip.anim:hover:after,
.tooltip.anim:focus > span,
.tooltip.anim:focus:after {
  opacity: 1;
  transition: .6s .4s;
  transform: translateY(0);
}
@media (max-width: 20em) { /* ширина подсказки может быть не более ширины окна браузера */
  .tooltip > span {
    max-width: 100vw; /* в 100vw входит полоса прокрутки, но на мобильных она часто отсутствует */
    box-sizing: border-box;
  }
}
/***** END Всплывающая подсказка *****/ 


/***** Всплывающая картинка *****/ 
.ienlarger {
	float: none;
	clear: none;
	padding-bottom: 0px;
	padding-right: 0px; 
}
.ienlarger a { 
	display: inline;
	text-decoration: none;
	color: #003399; /*004189;*/
	cursor:help;
	border-bottom:1px dashed;
}
.ienlarger a:hover{
 	position: relative; 
}
.ienlarger span img {
	border: 1px solid #d6d6d6;
	box-shadow: 10px 8px 15px #D6D6D6;
}
.ienlarger a span {
	position: absolute;
	display:none;
	/*background-color: #000000;*/
}
.ienlarger img { 
border-width: 0;
}
.ienlarger a:hover span { 
	display:block;
	top: -150px;/*-175px; *30px;*/
	right: 30%; /*150px;*/
	z-index: 2;/*100;*/
}

.resize_thumb {
	width: 18px;
	height : auto;
}
/***** END left *****/

/* Увеличитель (right) */
.ienlarger1 {
	float: none; /right;/
	clear: none;
	padding-bottom: 0px;
	padding-right: 0px;
}
.ienlarger1 a { 
	display:block;
	text-decoration: none;
	cursor:default;
}
.ienlarger1 a:hover{
 	position:relative;
}
.ienlarger1 span img {
	border: 1px solid #FFFFFF;
}
.ienlarger1 a span {
	position: absolute;
	display:none;/*block;*/
	background-color: #000000;
}
.ienlarger1 img { 
border-width: 0;
}
.ienlarger1 a:hover span { 
	display:block;
	top: -175px;/*30px;+/
	right: 20%;/*150px;*/
	z-index: 100;
}

/* Код увеличителя (right) закончен */

/***** END Всплывающая картинка *****/ 


/***** Фиксированный фрагмент *****/
.sidebar {
LEFT: 0px; position: fixed; BOTTOM: 0px;
 }
.sidebar1 {
RIGHT: 0px; position: fixed; BOTTOM: 0px;
 }
.sidebar2 {
BOTTOM: 0px; position: fixed; WIDTH: 100%;

 }
 /***** END Фиксированный фрагмент *****/
 
/***** Кнопка ВВЕРХ *****/
/*.totop {
RIGHT: 5px; position: fixed; BOTTOM: 0px;
 } */

 /***** Кнопка ВВЕРХ *****/ 
 a.goTop {
 position: fixed; /*позиционирование кнопки фиксированное*/
 z-index: 9999; /*отображаем поверх всех элементов*/
 bottom: 2px; /*0%;/*-15px; /*положение снизу*/
 right: 2px; /*положение справа*/
 background: url(../i/totop.png); /*фон, можно указать любую картинку*/
 opacity: .5; /*прозрачность*/
 color: #000; /*цвет текста*/
 width: 30px; /*30px;*/
 height: 30px; /*30px;*/
 padding: 0px; /*внутренние отступы*/
 margin: 5px 1px 1px 5px; /*внешние отступы*/
}
a.goTop:hover {
 opacity: 1;
}
 
 a.idTop {
 position: fixed; /*позиционирование кнопки фиксированное*/
 z-index: 9999; /*отображаем поверх всех элементов*/
 bottom: 5px; /*0%;/*-15px; /*положение снизу*/
 right: 5px; /*положение справа*/
 background: url(../i/totop.png); /*фон, можно указать любую картинку*/
 opacity: .5; /*прозрачность*/
 color: #000; /*цвет текста*/
 width: 30px; /*30px;*/
 height: 24px; /*30px;*/
 padding: 0px; /*внутренние отступы*/
 margin: 5px 1px 1px 5px; /*внешние отступы*/
}
a.idTop:hover {
 opacity: 1;
}
/***** END Кнопка ВВЕРХ *****/


/***** Кнопка ИГРЫ и т.п. *****/
.button {
  width: 300px;
  /*border: 2px solid #004189;*/
  border-radius: 20px;
  border: 1px solid #d6d6d6;
	box-shadow: 10px 8px 15px #D6D6D6;
	background: linear-gradient(to bottom, #4A90DD, #004189);/*4BAFE8 357CC9*/
    font-family: Tahoma; 
	font-size:15px;
	font-weight:bold;
	text-align: center;	
	padding: 7px;
	color: #fff;
	text-decoration: none;
}
/***** END Кнопка ИГРЫ и т.п. *****/

.btn {
    background: #eee;
	border-radius: 4px; border: 4px outset #DBD8D8; text-align: center; /*background-color: #eee;"*/
	/*#004189; /*003399; /*0033cc; /*#5d8f76; /* Цвет фона */
    /*font:12px/1.6 Verdana;*/
	font-family: Verdana;
	font-size: 13px;
	font-weight:bold;
	text-align: center;
	/*font-family: Tahoma;
	font-size: 16px;*/
	color: #000; /*fff; /* Цвет текста */
    padding: 10px 12px; /* Поля */
    margin-bottom: 1em; /* Отступ снизу */
   }
   .btn:hover {
    background: #fff; /*#0061cd; /*0066cc;/*#1e6550; /* Цвет фона при наведении курсора */
	border: 4px inset #DBD8D8;
	cursor: pointer;
   }
   /*.btn-flat {
    border: 1px transparent; /* Прозрачная рамка */
   /*}*/
   .btn-round {
    border-radius: 20px; /* Радиус скругления */
   }   



/***** Шрифты *****/
.txt17 {
	font-family: Tahoma; 
	margin: 0px 0px 15px 0px; 
	font-weight:bold; 
	font-size:18px; 
	color: #003399; /*#004189;*/
} 
.txt16 {
	font-family: Times New Roman, Trebuchet MS, Segoe UI, MS Sans Serif, Arial; 
	color: #000; 
	font-size:18px; 
	text-align: justify;
	line-height: 1.5em;
	margin: 5px;
}
.txt12{
	font-family: Tahoma, Trebuchet MS, Segoe UI, MS Sans Serif, Arial; 
	color: #666; 
	font-size:13px;
	text-align: center;
	line-height:13px; /*-0.9em;*/
}
	a:hover {color: #990000; text-decoration: none}
:visited {color: #3366CC; text-decoration: none}
/*:link {text-decoration: none}*/

.txt10 {
	font-family: Tahoma; 
	font-size:30px;
	font-weight:bold; 
	color: lightblue; 
	line-height: 32px;} /*color: #777;*/
	
.txt {margin:0 0 0 6; font:12px/1.6 Verdana;font-weight:bold; line-height:14px;}
.txt a {color:#0033cc; text-decoration:none;}
.txt a:hover {color:#cc0000;text-decoration:none;}

.txt1 {margin: 10px; font:12px/1.6 Verdana; font-weight:bold; line-height:16px;}
.txt1 a:hover {color:#aa0000;text-decoration:none;}

.thin {margin:0 0 0 0; font:12px/1.4 Verdana; color:black;}
.black {margin:0 0 0 0; font-family: Verdana; color:black; font-size:16px; font-weight:bold; line-height:20px; text-align:center;}
.white {margin:0 0 0 0; font-family:Verdana,Tahoma,Sans-serif,Arial; color:white; font-weight:bold; line-height:22px; font-size:15px; letter-spacing:1px;}

   .blok{
    width: 80px; height: 15px; 
    background: #fffff6; 
	border: 3px outset #DBD8D8; 
    border-radius: 3px; 
    display: inline-block; 
}

/****** spoiler *****/
.spoiler input, .spoiler div  { 
    display: none; /* Скрываем содержимое */
}
.spoiler label::before {
    content: '[показать]'; /* Текст перед заголовком */
    margin-right: 5px; /* Расстояние до текста */
	color: #990000; /*#993300;
	text-decoration: underline;*/
	cursor: pointer;
	/*font-weight: 700;*/
	/*font-size: 20px;*/ 
}	
   /* Открытый спойлер */
.spoiler :checked + label::before 
   { content: '[скрыть]'; 
   color: #009900;
}
.spoiler :checked ~ div {
    display: block; /* Показываем спойлер */
    padding: 10px; /* Поля вокруг текста */
}
 
