/*
Created: december 25, 2013
*/
* {
	margin: 0;
	padding-top: 10;
	padding-right: 0;
	padding-bottom: 10;
	padding-left: 0;
	line-height: 30px;
}
body {
	font-family: "Century Gothic";
	font-size: 100%;
	background: url(../images/pattern.png);
	margin: 0;
	padding: 0;
	color: #000000;
	text-shadow: 0 0px, 1px 1px #ffffff;
}
h1 {
	color: #000000;
	font-size: 2.42857em;
	font-family: "Century Gothic";
	font-weight: bold;
	line-height: 85px;
}
h2, h3 {
	color: #000000;
	font-size: 1.71429em;
	font-family: "Century Gothic";
	font-weight: bold;
	line-height: 45px;
}
h3 {
	font-family: Century Gothic;
	border-bottom: 1px solid #858585;
	padding-bottom:5px;
	margin:20px 0;
}
a img { 
	border: none;
}
a {
	color: #0000CC;
}
a:hover, a:active, a:focus {
	color: #0099FF;
}
h1 a {
	color: #363636;
	float: left;
	padding-top: 30px;
	padding-right: 0;
	padding-bottom: 10px;
	padding-left: 0;
	font-family: Arial, Helvetica, sans-serif;
}
img {
	max-width: 100%;
	height: auto;
	width: auto;
}
p {
	line-height: 140%;
}
hr {
	margin:5px 0 15px 0;
	background:#858585;
	height:1px;
	border:0;
}
.more {
	padding-top:5px;
}
.wrapper {
	width: 93.75%; /* 960px/1024px  #99ccff;*/
	margin: 0 auto
}
.headerPicContainer {
	background: none;
}
.websiteDescription {
	padding:15px;
}
.mainContent {
	float: right;
	width: 72.91666666666667%; /* 700px/960px  */
}
.parkNewsLast {
	padding-right:0px !important;
}
.parkNews li {
	list-style: none;
	width: 31.42857142857143%; /* 220px/700px */
	display: inline;
	float: left;
	padding-right: 02.85714285714286%;
}
.blockTitle {
	color: #000000;
	padding: 0 0 10px 0;
}
.birchNews {
	float: left;
	width: 65.71428571428571%; /* 460px/700px */
}
.birchNews li {
	list-style:none;
	display:block;
	float:left;
	padding-bottom:24px;
}
.birchNewsLast, .ourParkLast {
	padding-bottom:0px !important;
}
.birchNewsPic {
	float:left;
	width: 47.82608695652174%; /* 220px/460px */
}
.birchNewsContent {
	padding-left: 52.17391304347826%; /* 240px/460px */
}
.ourPark {
	margin-left:68.57142857142857%; /* 480px/700px */
}
.ourPark li {
	padding-bottom:20px;
	list-style:none;
}
.sidebar {
	margin:0 75% 0 0 ; /* 720px/960px  */
}
.sidebarFirst {
	border-top:1px solid #858585;
}
.sidebar li {
	list-style:none;
	width:100%;
	border-right:0px solid #858585;
	border-bottom:0px solid #858585;
	border-left:0px solid #858585;
}
.sidebar li a {
	display: block;
	padding: 7px 10px 7px 17px;
}
.sidebar li a:hover {
	color: #363636;
	background-color: #39F;
}
footer {
	background: #f3f3f3;
	margin-top:20px;
}
footer ul {
	padding: 20px 0;
	text-align:center;
}
footer li {
	display: inline;
	padding: 0 1%;
}
footer li span {
	color: #363636;
}
footer a {
	text-decoration: underline;
}
.clearfloat { 
	clear: both;
	height: 0;
	line-height: 0px;
}

.leftimg {
    float:left; /* Выравнивание по левому краю */
    margin: 5px 5px 5px 0; /* Отступы вокруг картинки */
   }
   .rightimg  {
    float: right; /* Выравнивание по правому краю  */ 
    margin: 5px 0 5px 5px; /* Отступы вокруг картинки */
   }
/**************************/
/*********************************Begin main menu****************************************/
/**************************/
nav {
	float:right;
	padding-top:30px;
}
nav li {
	display: inline;
	list-style: none;
	padding:1px;
}
nav li a {
	font-size: 1.285714285714286em;
	display: inline;
	color: #ffffff;
	text-shadow: none;
	padding: 4px 7px;
	background-color: #333399;
}
nav li a:hover {
	color:#ffffff;
	background-color: #0000FF;
}
nav #active a {
	background:#d34e16;
	color:#ffffff;
}
/**************************/
/*********************************End main menu****************************************/
/**************************/
/*********************************Begin Media Queries****************************************/
/**************************/
/* for 960px or less */
@media screen and (max-width: 960px) {
	.wrapper {
		width:93.75%; /* 960px/1024px  */
		margin:0 auto;
	}
	.headerPic {
		width: auto;
		float: none;
		padding:20px;
	}
	.websiteDescription {
		margin-left:0;
	}	
}
/* for 768px or less */
@media screen and (max-width: 768px) {
	.birchNews {
		float:none;
		width:auto;
	}
	.ourPark {
		margin-left:0;
	}
	.mainContent {
		float:none;
		width:auto;
	}
	.sidebar {
		margin:0;
	}
	h1 {
		text-align:center;
	}
	h1 a {
		float:none;
	}
	nav {
		float: none;
		padding-top: 10px;
	}
	nav li {
		display: block;
		list-style: none;
		padding:1px;
		text-align:center;
	}
	nav li a {
		display: block;
	}
}
/* for 480px or less */
@media screen and (max-width: 480px) {
	.parkNews li {
		display:block;
		width:auto;
		padding-right:0 !important;
		padding-bottom:20px;
	}
	h1 {
		text-align:center;
		font-size:2.42857em;
	}
	h1 a {
		float:none;
	}
	nav {
		float: none;
		padding-top: 10px;
	}
	nav li {
		display: block;
		list-style: none;
		padding:1px;
		text-align:center;
	}
	nav li a {
		display: block;
	}
	.birchNewsPic {
		float:none;
		width:auto;
	}
	.birchNewsContent {
		padding-left:0;
	}
}
@media (min-width: 981px) {
	.headerPic {
		width:500px;
		float:left;
		padding:20px;
	}
	.websiteDescription {
		margin-left:500px;
	}	
	.birchNews {
		float:none;
		width:auto;
	}
	.birchNews li {
		display: inline;
		float: left;
		list-style: none outside none;
		padding-right: 2.85714%;
		width: 31.4286%;
	}
	.birchNewsPic {
		float:none;
		width:auto;
	}
	.birchNewsContent {
		padding-left:0;
	}
	.birchNewsLast {
		padding-right:0 !important;
	}
	.ourPark {
		margin-left:0;
	}

}
/**************************/
/*********************************End Media Queries****************************************/
/**************************/


 
   
#popup {
  display: table;
  position: fixed; top: 0; left: 0;
  z-index: 100;
  height: 100%;
  width: 100%;
  background: rgba(240,240,240,.9);
  visibility: hidden;
  -webkit-animation: animaciya 1s 5s forwards; /* 5s - это количество секунд по истечении которых появляется сообщение */ 
  animation: animaciya 1s 1s forwards; /* 5s - это количество секунд по истечении которых появляется сообщение */ 
  cursor: pointer;
}
@-webkit-keyframes animaciya {   
  from {visibility: hidden;}  
  to {visibility: visible;} 
}
@keyframes animaciya {   
  from {visibility: hidden;}  
  to {visibility: visible;} 
}
#popup figure {
  display: table-cell;
  vertical-align: middle;
}
#popup div, #popup figcaption, #popup figure:before {
  max-width: 500px; /* максимальная ширина */ 
  margin: 0 auto;
  border-style: solid; 
  border-color: rgb(88,125,164);
  background: #fff;
}
#popup figure:before { /* стиль кнопки "закрыть" */ 
  content: "Закрыть";
  display: block;
  padding: 0 1%;
  border-width: 4px 4px 0 4px;
  border-radius: 5px 5px 0 0;
  text-align: right;
  color: rgb(88,125,164);
}
#popup div, #popup figcaption {
  padding: 1%;
  cursor: default;
}
#popup figcaption {
  position: relative;
  border-width: 0 4px 0 4px;
  font-size: 150%;
  text-transform: uppercase;
  color: rgb(100,100,100);
}

#popup div {
  border-width: 0 4px 4px 4px;
  border-radius: 0 0 5px 5px;
}