@charset "UTF-8"

*{
  margin: 0;
  padding: 0;
  outline: none;
}

html{
  height: 100%;
  width: 99%;
}

body{
  width: 100%;
  height: 100%;
  color: #444;
  font-size: 1em;
  font-family: "Segoe UI", sans-serif;
  line-height: 135%;
}

a{
  color: #66d;
  text-decoration: none;
  transition: all.6s ease;
  -moz-transition: all.6s ease;
	-webkit-transition: all.6s ease;
	-ms-transition: all.6s ease;
}

a:hover {
  color: #449;
	text-decoration: none;
	transition: all.6s ease;
	-moz-transition: all.6s ease;
	-webkit-transition: all.6s ease;
	-ms-transition: all.6s ease;
}

img{
	max-width: 100%;
	height: auto;
	width: auto;
}

li {
    list-style-type: none; /* Убираем маркеры */
}
/* Стили для шапки */

#header{
  border-bottom: 1px solid #eee;
  display: block;
  float: left;
  width: 100%;
}

.menu {
  float: left;
  width: 100%;
  height: 25px;
}

.menu li{
  float: left;
  margin-left: 2px;
  border-left: 1px solid white;
  margin-bottom: 5px;
}

.menu li a{
  font-size: 1.2em;
  float: left;
  color: white;
  background-color: skyblue;
  height: 18px;
  padding: 10px 8px;
  text-align: center;
}

.menu li a:hover{
  color: #fafafa;
  background-color: blue;
}

/*Стили для содержимого  */

section{
  margin-top: 15px;
  width: 96%;
  float: left;
  margin-left: 2%;
}

#main_content{
  float: left;
  width: 69%;
  min-height: 600px;
  border: 1px solid silver;
  background-color: #fafafa;
  border-radius: 5px;
}

#main_content p{
  margin-top: 7px;
  margin-bottom: 11px;
  float: left;
  width: 90%;
  margin-left: 5%;
  text-align: justify;
}

.contact{
  float: left;
  width: 90%;
  margin-left: 5%;
  text-align: justify;
}

.contact span, .contact p{
  float: left;
  margin-top: 7px;
  margin-bottom: 11px;
  margin-left: 10px;
}

.title_contact{
  font-weight: bold;
}

.mainpageimg{
  width: 40%;
  float: left;
  margin-left: 30%;
  height: auto;
}

.file{
  text-decoration: underline;
  font-size: 2em;
}

.document{
  width: 90%;
  float: left;
  margin-left: 5%;
  text-align: right;
  font-size: 1.5em;
  text-decoration: underline;
  margin: 10px 0;
}

.pre{
  white-space: pre-wrap;
}

#alert{
  font-size: 1.5em;
  text-align: center;
}

span{
  float: left;
}

.event, .publication, .news{
  float: left;
  width: 80%;
  margin-left: 10%;

}

.event span, .publication span, .news span{
  margin-top: 7px;
}

.date{
  width: 100%;
  text-align: right;
  float: left;
  margin: 10px 0;
}

.signature {
  margin-top: 7px;
  margin-bottom: 11px;
  float: right;
}

figure{
  height: 125px;
  float: left;
  display: block;
  width: 170px;
  margin-left: 20px;
  margin-right: 5px;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 10px;
  overflow:hidden;
}

.view_full{
  height: 50px;
  width: 150px;
  float: left;
  margin-left: 20px;
  margin-right: 5px;
  margin-top: 75px;
  margin-bottom: 10px;
  font-size: 1.2em;
  text-decoration: underline;
}

.right_panel{
  float: left;
  width: 25%;
  margin-left: 5%;
  border: 1px solid silver;
  background-color: #fafafa;
  margin-bottom: 20px;
  border-radius: 5px;
}

.map_site, .news{
  float: left;
  margin-left: 8%;
  width: 84%;
  margin-top: 5px;
  margin-bottom: 5px;
}

.map_site a, .news a{
  text-decoration: underline;
}

.data, .news_text{
  float: left;
}

.news_img{
  width: 60%;
  margin-left: 20%;
  margin-top: 10px;
  margin-bottom: 10px;
  float: left;
  text-align: center;
  display: block;
}

#archive_news{
  margin-top: 10px;
  margin-bottom: 10px;
  width: 90%;
  margin-left: 5%;
  text-align: right;
}

h1, h3{
  float: left;
  width: 90%;
  margin-left: 5%;
  text-align: center;
  line-height: normal;
}
/* Стили для подвала */

footer{
  float: left;
  margin-top: 15px;
  width: 100%;
  text-align: center;
  border-top: 1px solid silver;
}
