* {
	box-sizing: border-box;
}

/* Мобильное меню */
.zanaves {
	display: none;
}

nav {
	display: none;
}

.mobile_nav_button span {
	border: 1px solid black;
	width: 1.5em;
	display: block;
	margin-top: .6em;
	text-align: right;
}


#logo, .mobile_nav_button {
	display: inline-block;
}

.impressum {
	display: none;
}

.mobile_nav_button {
	float: right;
	margin-right: .6em;
}

.zanaves {
    display: none;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    position: fixed;
    width: 100vw;
    height: 100vh;
}

.mobile_nav {
    top: 0;
    left: 0;
    position: fixed;
    z-index: 1002;
    width: 70vw;
    height: 100vh;
    display: none;
    background-color: white;
}
.mobile_nav ul li {
    display: block;
    margin-top: 2em;
    text-align: center;
}

.mobile_nav ul {
    margin: 0 auto;
}
.open {
    display: block !important;
}

.nagrada ~ div {
	display: none;
}
.nagrada a {
	text-align: center;
}

.nagrada a img {
	display: block;
	margin: 0 auto;
	max-height: 250px;
}

.bar_chart {
	fill: #43a738;
}

main {
  margin-top: 1em;
}
main a {
 text-decoration: none;
     color: #2E2E2E;

}
tr td {
  padding: .2em;
}
main a:hover {
  color: #CE4A2E;
}
table {
   color: #2E2E2E;
}

nav a, .impressum a, .gh_link {
    color: #2E2E2E;
}
  .text a {
        color: #A32C29;;
  }
nav a {
    font-size: 16px;
}
nav a:hover, .impressum a:hover {
    background-color: #43A738;
    color: white;
}

#logo img {
  width: 100%;
  max-width: 150px;
}

/* Repeating */
.full {
  display: none;
}
  .mobile {
    display: block;
  }

body {
  width: 95%;
  margin: 0 auto;
  max-width: 1000px;
  	border-top: 3px solid #2E2E2E;
	font-family: sans-serif;
}

body {


	max-width: 1000px;

}

nav ul li {
    list-style: none;
    display: inline;
    padding: 3px;
  }
nav ul {
  padding: 0;
  margin: 0;
}
h2 {
  font-size: 1.2em;
}
table td:nth-child(2) {
  display: none;
}

footer {
  margin-top: 2em;
  font-size: .8em;
}
#tooltip {
	display: none;
}

@media (min-width: 700px) {
.impressum {
	display: block;
}
	.mobile_nav_button, .mobile_nav {
		display: none;
	}
	#logo img {
		  max-width: 350px;
	}
body {
	width: 80%;
	margin: 0 auto;
	max-width: 1000px;
	border-top: 3px solid #2E2E2E;
	font-family: sans-serif;
}

/* Заголовок страницы */
header {
	margin-top: .3em;
}
header nav {
	float: right;
}
.main_header {
	max-width:   350px;
	width: 100%;
	height: auto;
}

/* Навигация*/
  header #logo, header nav {
    display: inline-block;
  }
  header nav {
    width: calc(100% - 360px);
    text-align: right;
    vertical-align: top;
  }
ul {
	margin: 0;
	padding: 0;
}
ul li {
	list-style: none;
}

/* Галерея наград на главной */
	.nagrada ~ div {
	display: inline-block;
}
	
.gallery {
	margin-top: 2em;
	display: flex;
}
.nagrada {
	width: 33%;
  display: inline-block;
}
.nagrada:first-child {
		float: left;
}
.nagrada:last-child {
		float: right;
}
.nagrada:nth-child(2) {
  margin-left: auto;
	margin-right: auto;
	display: block;
}
.nagrada a {
	text-align: center;
}
.nagrada img {
	display: block;
	margin-left: auto;
	margin-right: auto;
	height: auto;
	max-height: 300px;
}
/* Оформление ссылок и таблиц */
.gallery a, table a, .gh_link {
	color: /* #a32c29; */ black;
	text-decoration: none;
}
.gallery a:hover, table a:hover, .gh_link:hover {
    color: /* #CE4A2E; */ #CE4A2E;
    }
table td {
    padding: .3em;
    }
table td:nth-child(2) {
  display: table-cell;
}
nav a {
    float: right;
    margin-top: 0;
    margin-left: 5px;
    padding: 5px;
    display: inline;
    font-size: 16px;
}
nav a:hover, .impressum a:hover {
    background-color: #43A738;
    color: white;
}
nav a, .impressum a, .gh_link {
    text-decoration: none;
    color: #2E2E2E;
}
.impressum a {
    padding: 5px;
    }
nav {
    margin-top: 0;
}

/* Страница награды */
.nagrada_image {
	float:left;
	max-height: 300px;
	margin-right: .5em;
}
.description {
	overflow: hidden;
	margin-bottom: 2em;
}

/* Страница награжденного  */

.personal_data td:first-child {
	padding-left: 0;
}

.personal_data td:nth-child(2),
.personal_data td:nth-child(3) {
	padding: .5em;
	text-align: center;
}
.personal_data td:last-child {
	text-align: right;
	padding-right: 0;
}
.personal_data th:first-child {
	text-align: left;
	padding-left: 0;
}
.personal_data th:last-child {
	text-align: right;
}
/* Статистика */
.stats {
}
.bar_chart {
	fill: #43a738;
}
.ru_bar_chart {
	fill: black;
}
.xAxis .tick {
	font-size: 0.8em;
}

/* Поисковая строка и поисковая выдача */
input {
	min-width: 99%;
	padding: .8em 0 .8em .3em;
	font-size: 1em;
	border: 1px solid black;	
}
#data_found ul {
	padding-left: .5em;
	padding-right: .5em;
}
#data_found li {
	list-style: none;
	padding: .3em 0;
}
#data_found .date {
	float: right;
}
#data_found a {
	text-decoration: none;
	color: #A32C29;
}
.hidden {
    display: none;
}
/* Таблица награжденных  */
.last_honoured {
	margin-bottom: 1em;
}
table {
	width: 100%;
}
table td {
	padding-left: 0;
}
table td:nth-child(even) {
	text-align: right;
}
/* Пагинатор */
.page_button {
	padding: 0.4em .7em;
	margin: .3em;
	color: black;
	border: 1px solid black;
	cursor: pointer;
}
.page_button:first-child {
	margin-left: 0;
}
.active {
	color: white;
	background-color: white;
	text-decoration: none;
	background-color: #b81007;
	cursor: auto;
}

/* Подвал  */
footer {
	margin-top: 2em;
}
footer .cc_logo, footer .text, footer .impressum {
	float: left;
}
footer .cc_logo {
	  padding-right: .5em;
}
footer .impressum {
	float: right;
}
.text a, table.personal_data a  {
	color: #A32C29;
	text-decoration: none;
}

#tooltip {
  position: absolute;
  width: auto;
  height: auto;
  padding: 1px 2px;
  background-color: white;
  pointer-events: none;
  font-size: .6em;
  border: 1px solid black;
}
}
