h1 {
	display: inline-block;
	/* width: 100%; */
	-moz-text-shadow: 0 0 5px #ffffff;
	-webkit-text-shadow: 0 0 5px #ffffff;
	/* text-shadow: 0 0 5px #ffffff; */
	font-family: 'Oswald', sans-serif;
	font-size: 1.2em;
	font-weight: 700;
	margin: 20px 0 20px 0;
	padding: 2px 10px;
	color: #01628d;
	/* background-image: linear-gradient(to right,rgba(0, 0, 0, 0.62),rgba(74, 150, 227, 0),rgba(74,150,227,0)); */
}
header {
	display: flex;
	flex-direction: column;
}
header nav a {
	font-family: 'Oswald', sans-serif;
	display: block;
	text-decoration: none;
	border: 1px solid #01628daa;
	padding: 5px 20px;
	border-radius: 10px;
	background-color: #01628d;
	color: #ffffff;
	margin: 5px;
}
section#content {
	background-color:#ffffffaa;
}
footer {
	color: #fff;
	font-size: 14px;
	background-color: #01628d;
	padding: 7px;
	font-family: 'Oswald', sans-serif;	
}

div#advface {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}
div#advface p {
	font-size: 12px;
	color: #565656;
	margin: 0 50px 15px 50px;
	text-indent: 0;
	line-height: normal;
	text-align: justify;
}
div.photoadv {
	width: 400px;
	margin: 0 auto 0 auto;
}
div.photoadv img {
display:block;
margin:auto;
}
div#partblock {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}
div#partblock div
{
	width:300px;
	margin: 0 auto 0 auto;	
}

.nko {
	text-align: center;
	font-size: 34px;
	color: #01628d;
	/* float: left; */
	/* margin-left: 165px; */
	/* margin-top: 16px; */
	/* line-height: 24px; */
	/* position: absolute; */
	-moz-text-shadow: 0 0 5px #ffffff;
	-webkit-text-shadow: 0 0 5px #ffffff;
	text-shadow: 0 0 5px #ffffff;
	font-family:'Oswald', sans-serif;
}


form#response fieldset
{
	border-radius:10px 10px 10px 10px;
	-moz-box-shadow:0 0 7px #48a3da;
	-webkit-box-shadow:0 0 7px #48a3da;
	box-shadow:0 0 7px #48a3da;
	margin:12px;
	padding:12px;
width: 600px;
max-width: 90%;
margin-left: auto;
margin-right: auto;
}
form#response textarea {
	width: 100%;
	height: 120px;
	border: 1px solid #01628d;
	resize: none;
}
form#response legend
{
	color:#ffffff;
	font-family: 'Oswald', sans-serif;
	background-color:#01628d;
	border:#01628d solid 2px;
	border-radius:10px 10px 10px 10px;
	-moz-box-shadow:0 0 7px #48a3da;
	-webkit-box-shadow:0 0 7px #48a3da;
	box-shadow:0 0 7px #48a3da;
	font-size:16px;
	font-weight:400;
	text-align:left;
	padding:5px 15px;
}

form#response label {
	color: #01628d;
	font-family: 'Oswald', sans-serif;
	margin: 7px auto 1px 0;
	display: block;
	font-size: 14px;
}
form#response input[type=submit] {
	font-family: 'Oswald', sans-serif;
	color: #ffffff;
	background-color: #01628d;
	margin: 15px auto auto auto;
	padding: 10px;
	border-radius: 10px;
	width: 170px;
	/* box-shadow: none; */
	border: none;
	display: block;
}
form#response input[type=submit]:hover {
	background-color: #01628daa;	
}
form#response input[type=text]
{
	font-family:'Ubuntu Condensed', sans-serif;
	border:1px solid #01628d;
	width:100%;
}
div#headquote {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}
div#headphones {
	flex: 1 0 auto;
	align-content: flex-end;
	align-self: center;
	margin: 10px 10px 10px auto;
}

div#headphones a {
	font-size: 25px;
		font-family:'Oswald', sans-serif;
	color: rgb(69,6,6);
	-moz-text-shadow: 0 0 5px #ffffff;
	-webkit-text-shadow: 0 0 5px #ffffff;
	text-shadow: 0 0 5px #ffffff;
	text-align: right;
	display: block;
	text-decoration: none;
}
nav {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	width: 100%;
	justify-content: space-around;
	margin: 10px auto 10px auto;
}
article p {
margin: 10px 20px 10px 20px;
font-family: Arial, serif;
text-indent: 20px;
text-align: justify;
}
article ul {
	margin: 10px 10px 10px 30px;
	line-height: 1.6;
}
article li {
font-family: Arial, serif;
}
article date {
	float: right;
	font-size: 10px;
	color: #000000aa;
	margin-right: 10px;
}
article hr {
    border: 0;
    height: 1px;
	background-image:linear-gradient(to right,rgba(74,150,227,0),rgba(74,150,227,0.75),rgba(74,150,227,0));	
}
article h2 {
 margin: 10px auto 10px 15px;
}
article h2 a {
text-decoration:none;
}
article h2 a:link, article h2 a:visited, article h2 a:active {
color: #01628d;
}
article h2 a:hover {
text-decoration:underline;
}
section#content table {
	margin: 10px auto 10px auto;
	border-spacing: 0;
	border-collapse: collapse;
	font-family: Arial, serif;
	max-width: 95%;
	max-width: calc(100% - 20px);
}
section#content table td,section#content table th
{
	border:1px;
	border-collapse:collapse;
/*	color:#004f8e;*/
	font-size:14px;
	font-weight:400;
	text-align:left;
	vertical-align:top;
	border-color:#cccccc;
	border-style:solid;
	padding:3px;
}
section#content table th
{
color:#000000cc;
background-color:#01628d10;
}
center.mapya
{
	width:auto;
	height:500px;
	margin: 10px auto 10px auto;
}


div.response {
	width: 95%;
	margin-left: auto;
	margin-right: auto;
}
.respdate {
	color: #ffffff;
	float:right;
	padding: 5px 25px;
	font-size: 12px;
}
.respname {
	font-family: 'Oswald', sans-serif;
	color: #ffffff;
	background-color: #01628d;
	-moz-box-shadow:0 0 7px #48a3da;
	-webkit-box-shadow:0 0 7px #48a3da;
	box-shadow:0 0 7px #48a3da;
	-moz-border-radius:16px 16px 0 0;
	-webkit-border-radius:16px 16px 0 0;
	border-radius:16px 16px 0 0;
	padding: 5px 25px;
	margin-bottom: 1px;	
	font-size: 16px;
}
.resptext {
	-moz-box-shadow:0 0 7px #48a3da;
	-webkit-box-shadow:0 0 7px #48a3da;
	box-shadow:0 0 7px #48a3da;
	padding: 15px 25px;
	font-size: 14px;
	margin-top: 1px;
	margin-bottom: 20px;
	border-radius: 0 0 16px 16px;
	    line-height: 1.7em;
	    text-indent: 20px;
	    font-style: oblique;
}
.resptext video {
	padding: 15px 25px;
display:block;
}

.contacts {
	font-size: 18px;
	color: #01628d;
	/* margin-left: 800px; */
	/* margin-top: 80px; */
	/* position: absolute; */
	-moz-text-shadow: 0 0 15px #ffffff;
	-webkit-text-shadow: 0 0 15px #ffffff;
	text-shadow: 0 0 15px #ffffff;
	text-align: center;
		font-family: 'Oswald', sans-serif;
}
.quote {
	font-family: 'Marck Script', cursive;
	font-size: 21px;
	color: rgb(0, 79, 142);
	/* margin-left: 30px; */
	/* margin-top: 70px; */
	/* width: 700px; */
	/* position: absolute; */
	max-width: 700px;
	width: 100%;
	align-self: center;
	margin-left: 10px;
}
@media only screen and (max-width:700px) {
.quote {
display:none;
}
header nav a {
	width: 21%;
}
}
@media only screen and (max-width:645px) {
header nav a {
	width: 40%;
}
}

