/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
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: 16px;
	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;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*
 * Unreset
 */
.article p,
.article dl,
.article ul,
.article ol {
	margin: 1em 0;
}

.article dd,
.article ol,
.article ul {
	padding: 0 0 0 40px;
}

.article h1,
.article h2,
.article h3,
.article h4,
.article h5,
.article h6,
.article b,
.article strong {
	font-weight: bolder;
}
.article i,
.article em,
.article cite,
.article var,
.article dfn {
	font-style: italic;
}
.article a,
.article u,
.article ins {
	text-decoration: underline;
}
.article s,
.article strike,
.article del {
	text-decoration: line-through;
}
.article q {
	quotes: initial;
}
.article q:before {
	content: open-quote;
}
.article q:after {
	content: close-quote;
}

.article pre {
	font-family: monospace;
}
.article big {
	font-size: larger;
}
.article small {
	font-size: smaller;
}
.article sub {
	vertical-align: sub;
	font-size: smaller;
	line-height: normal;
}
.article sup {
	vertical-align: super;
	font-size: smaller;
	line-height: normal;
}

.article ul {
	list-style-type: disc;
}
.article ol {
	list-style-type: decimal;
}
.article ol,
.article ul {
	list-style-position: outside;
}
.article ul ul {
	list-style-type: circle;
}
.article ul ol ul, .article ul ul ul {
	list-style-type: square;
}

.article table {
	border-collapse: separate;
	border-spacing: 2px;
	border-color: gray;
}
.article caption {
	text-align: center;
}
.article tbody {
	vertical-align: middle;
	border-color: inherit;
}
.article tr {
	vertical-align: middle;
	border-color: inherit;
}
.article th,
.article td {
	vertical-align: inherit;
	text-align: inherit;
	padding: 1px;
}
.article th {
	font-weight: bold;
}

.article hr {
	border: 1px inset;
	margin: 0.5em auto;
	color: gray;
}

/*
 * ��� �����
 */
.clearfix:after {
    content: "";
    display: block;
    clear: both;
}
h1	{
	font-size: 40px;
}
h2	{
	font-size: 25px;
	font-family: "Times New Roman", Helvetica, serif;
	text-align: center;
	margin-bottom: 15px;
}
h5	{
	font-size: 12px;
	margin-top: 3px;
}
p 	{
	font-size: 19px;
	margin-top: 10px !important;
	margin-bottom: 10px !important;
}
ul	{
	list-style: none;
/*	margin: 0;*/
	margin-left: 0;
}
li 	{
	font-size: 19px;
/*	margin-top: 6px;
	margin-bottom: 6px;*/
}

.li-mrgn-btm-15 {
	margin-bottom: 15px;
}

.ads 	{
	list-style: square outside;
	font-size: 19px;
	margin-left: 5px;
	margin-top: 10px;
	margin-bottom: 5px;
	border: 0;
}
a	{
	text-decoration: none;
	}
a:LINK,
a:VISITED,
a:ACTIVE {
	color: navy;
	text-decoration: none;
	}
a:HOVER {
	color: Gold;
	text-decoration: none;
	}
img	{
	border:0;
	}
.Header {
	text-align:center;
	font-size:19px;
	}
.main	{
	width: 960px;
	margin: 0 auto;
	}
.page 	{
	margin-left: 5px;
	margin-right: 10px;
	margin-top: 15px;
	}
.top_banner {
	width:550px; 
	display: inline-block;
	padding-bottom: 4px;
	}
.nav {
	display: inline-block;
	padding-top: 30px;
	text-align: right;
	float: right;
  }
.row {
  display: inline-block;
	}
.logo {
	border-top: 5px solid black;
  width: 100%;
  }
.menu {
	font-size: 22px;
	width: 250px;
	float: left;
	padding-top: 30px;
	padding-right: 5px;
	text-align:right;
	}
.menu li 	{
	font-size: inherit;
	padding-top: 6px;
	padding-bottom: 6px;
	border-bottom: 1px solid DarkSlateGrey;
	}
.content {
	border:0 solid blue;
	width: 700px;
	height: 2500px;
	float: left;
	}
.blue {
	color: blue;
	}
.justify {
	text-align: justify;
	}
.center {
	text-align: center;
}
.right {
	float: right;
}
.left {
	float: left;
}
.p_right {
	text-align: right;
	margin-top: 2px !important;
	margin-bottom: 2px !important;
}
/*.frame {
	border-color: #aaaaaa;
	border-width: 1px;
	border-style: solid;
}*/
td.center {
	text-align: center !important;
}
/*td.left {
	text-align: left !important;
}*/
table.line	{
    border-collapse: collapse;
}

.th	{
	text-align: center !important;
	vertical-align: middle !important;
	font-weight: bolder !important;
	font-size: 18px !important;
	padding: 1px 4px 1px 4px !important;
	border-color: #aaaaaa;
	border-width: 1px;
	border-style: solid;
}
.td	{
	text-align: left !important;
	vertical-align: top !important;
	font-size: 19px !important;
	padding: 1px 4px 1px 4px !important;
	border-color: #aaaaaa;
	border-width: 1px;
	border-style: solid;
}
/*.block_5 {
	margin-top: 100px !important;
	margin-bottom: 100px !important;
	
}*/
/* ������� ����� ����, ���������� � ���������� ���� */
.overlay {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  display: none;
  /* ��� ���������� */
  background: rgba(102, 102, 102, 0.5);
  position: fixed; /* ������������� ���������������� */
  cursor: default; /* ��� ������� */
}
 
/* ���������� ���� ���������� */
.overlay:target {
  display: block;
}
 
/* ����� ���������� ���� */
.popup {
  top: -100%;
  right: 0;
  left: 50%;
  /*font-size: 14px;*/
  z-index: 20;
  margin: 0;
  width: 85%;
  min-width: 520px;
  max-width: 700px;
  /* ������������� ����������������, ���� ��������� ��� ��������� */
  position: fixed;
  padding: 15px;
  border: 1px solid #383838;
  background: #fefefe;
  /* ���������� ����� */
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  border-radius: 4px;
  font: 14px/18px 'Tahoma', Arial, sans-serif;
  /* ������� ���� */
  -webkit-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
  -moz-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
  -ms-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
  box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
  -webkit-transform: translate(-50%, -500%);
  -ms-transform: translate(-50%, -500%);
  -o-transform: translate(-50%, -500%);
  transform: translate(-50%, -500%);
  -webkit-transition: -webkit-transform 0.6s ease-out;
  -moz-transition: -moz-transform 0.6s ease-out;
  -o-transition: -o-transform 0.6s ease-out;
  transition: transform 0.6s ease-out;
}
   
/* ���������� ��������� ���� */
.overlay:target+.popup {
  -webkit-transform: translate(-50%, 0);
  -ms-transform: translate(-50%, 0);
  -o-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
  /*top: 20%;*/
  top: 60px;
}
   
/* ��������� ������ �������� */
.close {
  top: -10px;
  right: -10px;
  width: 20px;
  height: 20px;
  position: absolute;
  padding: 0;
  border: 2px solid #ccc;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  -ms-border-radius: 15px;
  -o-border-radius: 15px;
  border-radius: 15px;
  background-color: rgba(61, 61, 61, 0.8);
  -webkit-box-shadow: 0px 0px 10px #000;
  -moz-box-shadow: 0px 0px 10px #000;
  box-shadow: 0px 0px 10px #000;
  text-align: center;
  text-decoration: none;
  font: 13px/20px 'Tahoma', Arial, sans-serif;
  font-weight: bold;
  -webkit-transition: all ease .8s;
  -moz-transition: all ease .8s;
  -ms-transition: all ease .8s;
  -o-transition: all ease .8s;
  transition: all ease .8s;
}
   
.close:before {
  color: rgba(255, 255, 255, 0.9);
  content: "X";
  text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
  font-size: 12px;
}
   
.close:hover {
  background-color: rgba(252, 20, 0, 0.8);
  -webkit-transform: rotate(360deg);
  -moz-transform: rotate(360deg);
  -ms-transform: rotate(360deg);
  -o-transform: rotate(360deg);
  transform: rotate(360deg);
}


/* CSS Mobile */
@media only screen 
and (min-device-width: 320px)
and (max-device-width: 968px) 
{

	.main {
		width: 100%;
		margin: 0 auto;
		text-align: center;
	}

	.main, .top_banner a, .nav a, .row .menu a {
		color: white;
		letter-spacing: 0.17em;
	}

	.upframe, .menu {
		background-color: #518bb2;
	}
	
	.upframe {
		
		width: 100%;
		height: 40%;
		text-align: center;
	}
	.top_banner {
		width: 100%;
		margin: 0 auto;
		text-align: center;
	}
	.nav {
		width: 100%;
		padding: 5px 0px;
		margin: 0 auto;		
		text-align: center;
	}	

	.logo {
		min-width: 100%;
		margin: 0 auto;		
	}
	.row {
		width: 100%;
		margin: 0 auto;		
	}
	.menu {
		
		width: 100%;
		margin: 0 auto;
		padding: 0;
		text-align: center;
	}
	iframe {
		margin: 0;
		padding: 0;
	}
	.content {
	border: 0 solid blue;
	width: 100%;
	height: 560px;
	padding-right: 5px;
	
	}

}

/* ���������� popup ���� */
.popup_window {
	position: fixed;
	top: 10px;
	left: 100px;
	right: 100px;
	display: none;
	padding: 10px 20px;
	color: #FFF;
	background: #337AB7;
	border-top: 4px solid #BFE2FF;
}

.popup_frame {
	width: 100%;
	height: 550px;
}

/* ���������� ������ */
.popup_btn {
	position: relative;
	display: inline-block;
	margin: 10px 6px 4px 6px;
	padding: 4px 12px;
	text-decoration: none;
	font-size: 13px;
	color: #FFF;
	font-weight: bold;
	text-transform: uppercase;
	background: #337AB7;
	border: 2px solid #BFE2FF;
}

.popup_btn:hover {
	color: #FFF;
}

.popup_btn:after,
.popup_btn:before {
	position: absolute;
	left: 50%;
	height: 2px;
	bottom: -6px;
	width: 0;
	transition: all 280ms ease-in-out;
	content: "";
	background: #FFF;
}

.popup_btn:before {
	top: -6px;
}

.popup_btn:hover:after,
.popup_btn:hover:before {
	width: 100%;
	left: 0;
}

.btn-center {
	display: flex;
	justify-content: center;
}
