﻿@font-face {
  font-family:'Regular';
  src: url(fonts/SourceSans3-Regular.ttf) format('truetype');
  font-weight: 500;
}
@font-face {
  font-family:'Italic';
  src: url(fonts/SourceSans3-Italic.ttf) format('truetype');
  font-weight: 500;
}
@font-face {
  font-family:'Bold';
  src: url(fonts/SourceSans3-Bold.ttf) format('truetype');
  font-weight: 700;
}
@font-face {
  font-family:'ExtraBold';
  src: url(fonts/SourceSans3-ExtraBold.ttf) format('truetype');
  font-weight: 800;
}
a{
	text-decoration:none;
	color:black;
}
body{
	margin:0 auto;
	display:flex;
	flex-direction:column;
	align-items:center;
	font-family:'Regular';
	font-size:1.2em;
	line-height:1.2em;
    background-image: url("./images/bg.jpg");
    background-size: cover;
    background-position: center;
	background-attachment:fixed;
}
h1{
	font-family:'ExtraBold';
	font-size:1.4em;
	padding:0 auto;
	margin:0 auto;
	padding-bottom:15px;
	text-align:center;
	width:100%;
}
h2{
	font-family:'Bold';
	font-size:1.3em;
	margin:0 auto;
	padding:0 auto;
	text-align:center;
	width:100%;
}
h3{
	font-family:'Bold';
	font-size:1.1em;
	margin:0 auto;
	padding:0 auto;
	width:100%;
	font-weight:600;
	text-decoration:underline;
}
p{
	font-family:'Regular';
	margin:0 auto;
	padding:0 auto;
}
i{
	font-family:'Italic';
}
#header{
	width:960px;
	min-height:200px;
	display:flex;
	flex-direction:column;
	align-items:center;
	margin-top:20px;
	margin-bottom:10px;
}
#menu{
	padding:0 auto;
	margin:0 auto;
	width:960px;
	height:35px;
	background-image:url('images/bg.png');
	display:flex;
	flex-direction:row;
	align-items:center;
	justify-content:center;
	-webkit-box-shadow: 0px 0px 17px -4px rgba(0,0,0,0.63);
	-moz-box-shadow: 0px 0px 17px -4px rgba(0,0,0,0.63);
	box-shadow: 0px 0px 17px -4px rgba(0,0,0,0.63);
}
.menu-item{
	padding-left:10px;
	padding-right:10px;
	font-family:Bold;
	font-weight:500px;
	font-size:1.0em;
	cursor: pointer;
	text-decoration: none;
}
.menu-item:hover{
	text-decoration: underline;
}
#content{
	width:930px;
	min-height:50px;
	background-image:url('images/bg.png');
	padding:15px;
	margin-bottom:15px;
	-webkit-box-shadow: 0px 0px 17px -4px rgba(0,0,0,0.63);
	-moz-box-shadow: 0px 0px 17px -4px rgba(0,0,0,0.63);
	box-shadow: 0px 0px 17px -4px rgba(0,0,0,0.63);
}
.gramota-without-v{
	display:flex;
	flex-direction:row;
	align-items:center;
	margin-bottom:5px;
	padding:10px;
}
.gramota{
	display:flex;
	flex-direction:row;
	align-items:center;
	margin-bottom:5px;
	padding:10px;
}
.gramota:hover{
	background-image:url('images/bghv.png');
}
.gramota-image{
	width:312px;height:220px;
}
.gramota-description{
	width:588px;text-align:justify;padding-left:15px;
}
.gramotav-image{
	width:220px;height:312px;
}
.gramotav-description{
	width:680px;text-align:justify;padding-left:25px;
}

#footer{
	width:930px;
	padding:15px;
	min-height:50px;
	background-image:url('images/bg.png');
	display:flex;
	flex-direction:column;
	align-items:center;
	justify-content:space-between;
	-webkit-box-shadow: 0px 0px 17px -4px rgba(0,0,0,0.63);
	-moz-box-shadow: 0px 0px 17px -4px rgba(0,0,0,0.63);
	box-shadow: 0px 0px 17px -4px rgba(0,0,0,0.63);
}