/* reset*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
/*end reset*/

body {
	line-height: 1;
	background-image:url(img/bgc.jpg);
	background-attachment: fixed;
	background-repeat: repeat;
}


/* header start  */
header { 
	width: 90%;
	height:70px;
	/*position:relative;*/
	background-image:url(img/bgun.gif);
	margin: 3px auto;
	border:#666 solid 2px;
	border-radius:15px;
	-khtml-border-radius:15px;
}
header h3 { 
	padding-top:13px;
	text-align: center;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 1.2em;
	color: blue;
}
header img  {
    float:left; /* Выравнивание по левому краю  */ 
     margin: 1px 30px 1px 30px;/* Отступы вокруг картинки */
   }
   /* header stop  */
   
   /*content*/
   
.containt {
	width: 90%;
	display: table;
	border-collapse: separate;
	border-spacing: 3px;
	margin: 0 auto;
   }
.containt-row {
	display: table-row; 
 }
 
   /* main start  */
main { 
	display: table-cell;
	padding: 20px;
	background-color: #fff;
	border:#666 solid 2px;
	border-radius: 10px;
	-khtml-border-radius:10px;
	font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif;
    font-style: italic;
   }

main h1 { 
	color: blue;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-style: italic;
	font-size: 1.4em;
	text-align: center;
	margin-bottom: 10px;
	margin-top: 10px;
	}
main h2 { 
	color: blue;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-style: italic;
	font-size: 1.3em;
	margin-bottom: 10px;
	margin-top: 10px;
	}	
main ul {
	margin: 10px 0 10px 95px;
	list-style: circle;
}

main li { 
	margin: 5px;
	cursor: pointer;
	color: blue;
	font-size: 1.1em;	
 } 
main li:hover {
    color: black; /* Цвет ссылки при наведении на нее курсора мыши */  
    text-decoration: underline; /* Добавляем подчеркивание */
   }     
.leftimg  {
    float:left; /* Выравнивание по левому краю  */ 
    margin: 0 20px 10px 5px;/* Отступы вокруг картинки */
   }
   input { text-align: center;}
      
.onfocus { 
	border: solid greenyellow 2px;
	background-color: #f6f6f6;
    } 

main a {
	color: blue;
}
main a:hover {
	color: black;
	text-decoration: none;
	font-size: 1.05em;
}	
.cls {
	clear: both;
	content: "";
	margin-bottom: 20px;
}
textarea, input {
	max-width: 90%;
}

   /* main stop  */
   
   /* aside start  */
 aside {
	width: 250px;
	display: table-cell;
	vertical-align: top;
	background-image:url(img/unm.jpg);
	border:#666 solid 2px;
	border-radius: 10px;
	-khtml-border-radius:10px;
}
menu div { 
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	text-align:center;
	color: black;
	background-color: #fff;
	padding: 5px;
	margin-bottom: 5px;
	border-top: #666 solid 2px;
	border-top-left-radius: 10px; 
	border-top-right-radius: 10px;
}
menu a { 
	text-decoration: none;
	color: black;
}
menu a:hover{ 
	font-style:italic;
	color: blue;
}
   /* aside stop  */
   /*/content*/
   
   /* footer start  */
 footer { 
	width: 90%;
	height:70px;
	color: blue;
	/*position:relative;*/
	margin:3px auto;
	border:#666 solid 2px;
	border-radius:15px;
	-khtml-border-radius:15px;
	background-image:url(img/bgun.gif); 
}
.leftimg2  {
    float:left; /* Выравнивание по левому краю  */ 
    margin: 17px 65px 0 25px;/* Отступы вокруг картинки */
   }
.rightimg { 
	float: right;
	padding-right:30px;
	padding-top:24px;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 17px;
	color: black;
}
.rightimg a { 
	color: black;
	text-decoration: none;
} 
.rightimg a:hover {
	font-size: 1.05em;
	color: green;
	font-style: italic;
}   
   /* footer stop  */
   
   /*media*/  
@media (max-width: 720px), (orientation: portrait) {
	
  .containt, .containt-row, main, aside {
    display: block;
  }
  .containt {
    margin-bottom: 3px;
  }
  aside {
    width: 100%;
	margin-top: 3px;
    box-sizing: border-box;
  }
  header img, .leftimg2 {
	  display: none;
  }
  header h4 {
	  margin:0 auto;
	  font-size: 1.1em;
  }
  #soz {
	  display: none;
  }
  .dan {
	  clear: left;
	  margin-top: 10px;
  }
} 
  @media print { /* Стиль для печати */
	header, aside, ul, main p, footer, #sub, main h1 {
	  display: none;
	}
	main {
		border: none;
		padding: 5px;
	}
	main h2 {
		font-size: 1.2em;
	}
	main {
		font-size: 15px;
	}
  }