/*------------Общий шаблон---------------*/
body, html {
	font-family: "Tahoma", sans-serif;
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#1e5799+0,1e5799+100&0.8+0,1+0,1+0,0+25,0+50,0.63+76,0+76,1+100,0.8+100,1+100 */
	background: -moz-linear-gradient(left,  rgba(30,87,153,1) 0%, rgba(30,87,153,0) 25%, rgba(30,87,153,0) 50%, rgba(30,87,153,0) 76%, rgba(30,87,153,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(left,  rgba(30,87,153,1) 0%,rgba(30,87,153,0) 25%,rgba(30,87,153,0) 50%,rgba(30,87,153,0) 76%,rgba(30,87,153,1) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to right,  rgba(30,87,153,1) 0%,rgba(30,87,153,0) 25%,rgba(30,87,153,0) 50%,rgba(30,87,153,0) 76%,rgba(30,87,153,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#1e5799',GradientType=1 );
}

.background-notes {
	background-image: url("../img/background.png");
	background-repeat: repeat;
	background-attachment: fixed;
	/*opacity: 0.7;*/
}

main {
	background-image: url("../img/blazer_blue.jpg");
	background-repeat: repeat;
	width: 980px;
	margin: 0 auto;
	color: #fff;
}

.clear:after {
	content: "";
	display: block;
	clear: both;
}

h1 {
	color: rgba(255, 255, 255, 0);
	position: absolute;
	top: -300px;	
}

.mainbanner {
	margin: 0 auto;
	position: relative;
	display: block;
}

header img {
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	margin: 0 auto;
	display: block;
}

header nav {
	width: 150px;
	position: absolute;
	top: 200px;
	left: 0px;
	border-radius: 10px;
	background-color: #41526e;
	opacity: 0.8;
}

header nav li {
	display: block;
}

header nav ul {
    padding-inline-start: 20px;
}

 /*  --  выпадающее меню --*/

/*правило для всех списков*/
nav ul {
	margin-top: 5px;
	margin-left:0;
	padding-left:0;
}

/*правило для всех пунктов списков*/
nav li {
	display: block;
	font-family: "Impact", sans-serif;
	margin-bottom: 10px;
}

/*** правило для списка первого уровня, непосредственного потомка nav */
nav > ul {
	width: 100px;
}

/*** правило для пунктов списка первого уровня,обращаемся к непосредсвенным дочерним li 
которые лежат в ul первого уровня */
nav > ul > li {
	position: relative;
	padding:0;
}

/*** правило для списка подпунктов */
nav > ul > li > ul {
	margin: 0;
	padding: 0;
	display: none;
	position: absolute;
	width: 120px;
	right: -115px;
	top: 0;
	background-color: #787c61;
	padding: 10px;
	border-radius: 0 5px 5px 5px;
	box-sizing: border-box;	
	}

nav > ul > li > ul a {
	color:#fff;
}

/*** правило для пунктов списка первого уровня при наведении */
nav > ul > li:hover {
	background-color: #787c61;
	border-radius: 5px;
}

/*** правило для ссылок, находящихся в li на который навели курсор */
nav > ul > li:hover a {
	color:#fff;
}

/*** ОСНОВНАЯ МАГИЯ: заставляем показаться список с подпунктами
при наведении на пункт меню */
nav > ul > li:hover > ul {
	display: block;
}/*  --  выпадающее меню --*/

header nav a {
	color: #fff;
	text-decoration: none;
	font-family: "Impact", serif;
	font-size: 1em;
	padding: 3px;
	display: block;
}
/*------------Главная страница---------------*/
.maincol {
	height: 660px;
	width: 100%;
	padding: 0;
	box-sizing: border-box;
	display: block;
}

.maincol h3 {
	margin: 0;
	font-size: 1em;
}

.maincol .leftcol {
	width: 50%;
	height: 100%;
	float: left;
	box-sizing: border-box;
	display: block;
}

figure {
	margin: 0;
}

.maincol h2 {
	margin: 0;
	margin-top: 5px;
	background-color: #787c61;
	padding: 3px 4px;
	border-radius: 4px;
	display: inline-block;
	margin-left: calc(50% - 110px);
	color: #fff;
	text-shadow: 2px 2px 3px #ccc;
	font-size: 1.3em;
}

a .about {
	width: 100%;
	height: 220px;
	box-sizing: border-box;
	margin: 0;
	color: #fff;
	border: 10px solid #787c61;
	display: block;
	float: left;
	overflow: hidden;
	opacity: 0.7;
}

a .about:hover {
	opacity: 1;
}

figure .about {
	height: 100%;
}

.about img {
	height: 100%;
	padding-right: 10px;
	display: block;
	float: left;
}

.about p {
	margin: 0;
}

a.victories {
	width: 33.3333%;
	height: 440px;
	display: block;
	float: left;
	opacity: 0.7;
}

a.victories:hover {
	opacity: 1;
}
	
figure.victories {
	width: 100%;
	height: 100%;	
	position: relative;
	text-align: center;
	margin: 0;
}

.victories img {
	width: 100%;
	height: 100%;
}

.victories h2 {
	position: absolute;
	bottom: 0px;
	left: 40px;
	color: #fff;
	text-shadow: 2px 2px 3px #ccc;
}

a.video {
	width: 66.6666%;
	height: 220px;
	float: right;
	margin: 0 auto;
	position: relative;
	display: block;
	overflow: hidden;
	opacity: 0.7;
}

a.video:hover {
	opacity: 1;
}

figure .video {
	width: 100%;
	float: right;
	margin: 0 auto;
	position: absolute;
	top: 0px;
	text-align: center;
}

.video img {
	height: 220px;
}

.video h2 {
	position: absolute;
	top: 15px;
	left: calc(50% - 100px);	
	color: #fff;
	text-shadow: 2px 2px 3px #ccc;
}

a.foto {
	height: 220px;
	width: 66.6666%;
	overflow: hidden;
	display: block;
	float: right;
	opacity: 0.7;
}

a.foto:hover {
	opacity: 1;
}

figure.foto {
	width: 100%;
	margin: 0;
	position: relative;
}

.foto img {
	height: 220px;
}

.foto h2 {
	position: absolute;
	top: 15px;
	left: 70px;
	text-align: center;	
	color: #fff;
	text-shadow: 2px 2px 3px #ccc;
}

.maincol .rightcol {
	width: 50%;
	height: 660px;
	float: right;
	box-sizing: border-box;
	display: block;
}


a.store {
	height: 440px;
	width: 293px;	
	float: left;
	display: block;
	opacity: 0.7;
}

a.store:hover {
	opacity: 1;
}
	
figure.store {
	height: 100%;
	margin: 0;
	position: relative;
}

.store img {
	height: 100%;
	width: 100%;
}

.store h2 {
	position: absolute;
	top: 15px;
	left: 160px;
	text-align: center;
	margin: 0;
	padding: 3px 2px;
	color: #fff;
	text-shadow: 2px 2px 3px #ccc;
}	

a.contacts {
	height: 440px;
	width: calc(100% - 293px);	
	float: right;
	display: block;
	opacity: 0.7;
}

a.contacts:hover {
	opacity: 1;
}

figure.contacts {
	height: 100%;
	margin: 0;
	position: relative;
}

.contacts img {
	height: 100%;
	width: 100%;
}

.contacts h2 {
	position: absolute;
	bottom: 5px;
	left: 54px;
	text-align: center;
	color: #fff;
	text-shadow: 2px 2px 3px #ccc;
}

a.events {
	width: 100%;
	height: 220px;
	display: block;
	opacity: 0.7;
	float: left;
}

a.events:hover {
	opacity: 1;
}

figure.events {
	width: 100%;
	height: 220px;
	float: left;
	margin: 0;
	color: rgba(255, 255, 255, 0.7);
	position: relative;
	border: 10px solid #787c61;
	box-sizing: border-box;
	margin-top: 0px;
	overflow: hidden;
}

.events img {
	height: 200px;
	float: left;
	padding-right: 10px;
}

.events h2 {
	color: #fff;
	text-shadow: 2px 2px 3px #ccc;
	position: absolute;
	bottom: 15px;
	left: 50px;
}

section span a{
	text-decoration: none;
	color: rgba(181, 0, 0, 0.7);
	text-shadow: 2px 2px 3px #ccc;
}

section span a:hover {
	color: rgba(181, 0, 0, 1);
	text-shadow: 3px 2px 3px #fff;
}

footer {
	position: relative;
}

.footer {
	width: 980px;
	height: 300px;
	padding: 30px 12% 30px 12%;
	box-sizing: border-box;
	color: rgba(255, 255, 255, 0.7);
	position: relative;
}

.footer h4 {
		text-shadow: 2px 2px 5px #ccc;
}

.column-footer {
	width: 33.3333%;
	float: left;
	padding: 10px;
	box-sizing: border-box;
	margin: 0 auto;
}

.column-footer p {
    padding-left: 40px;
	margin: 0;
	position: relative;
}

.friend-icon {
	padding: 0px;
	text-decoration: none;
	color: rgba(255, 255, 255, 0.7);
	position: relative;
}

a.friend-icon {
	padding-top: 10px;
}


.friend-icon img {
	width: 32px;
	border-radius: 50%;	
	float: left;
	position: absolute;
	top: 5px;
	left: 0;
}

.aya img {
	height: 32px;
	width: 45px;
}

.centercol p {
	padding: 0;
}

a.icon-link {
	display: block;
	float: left;
}

.rightcol .icon-link img{
	height: 30px;
	padding-right: 10px;
}

.imprint {
	text-align: center;
	padding: 0px;
	position: absolute;
	bottom: 20px;
	left: calc(50% - 120px);
	color: rgba(255, 255, 255, 0.7);
	text-shadow: 2px 2px 3px #ccc;
	opacity: 0.7;

}

.imprint a{
	text-decoration: none;	
	color: rgba(255, 255, 255, 0.7);
}

.imprint:hover {
	opacity: 1;
}

/*------------Типовая страница---------------*/

section {
	padding-left: 50px;
}

/*------------about---------------*/


img.administrator {
	height: 300px;
	float: left;
	margin-right: 20px;
	border: 10px solid #85afd9;
	padding: 0;
}


img.main {
	width: 300px;
	float: left;
	margin-right: 50px;
	border: 10px solid #85afd9;
	padding: 0;
}

section h2 {

	background-color: #787c61;
	padding: 3px 4px;
	border-radius: 4px;
	display: inline-block;
	color: #fff;
	text-shadow: 2px 2px 3px #ccc;
	font-size: 2em;
	text-align: center;
}

section div.main h3 {
	font-size: 1.5em;	
	color: #ff0000;
}

section div.main {
	width: calc(100% - 100px);
	padding: 20px;
	border: 5px solid #787c61;
	margin-bottom: 50px;
}

section span {
	font-size: 1.5em;

}

section p {
	font-size: 1.3em;
	margin: 0px;
	padding-right: 50px;
}

img.preview {
	width: 87px;
	float: left;
	margin-right: 10px;
	border: 3px solid #85afd9;
	margin-top: 30px;
}

div.preview {
	float: left;
}

div.foto {
	width: 156px;
	height: 107px;
	box-sizing: border-box;
	border: 5px solid #85afd9;
	display: block;
	float: left;
	overflow: hidden;
	margin: 5px;
	text-align: center;
}

div.foto img {
	width: 100%;
	height: 100%;
}

div.video_foto {
	width: 156px;
	height: 107px;
	box-sizing: border-box;
	border: 5px solid #85afd9;
	display: block;
	float: left;
	overflow: hidden;
	margin: 5px;
	text-align: center;
}

.html5-video-player:not(.ytp-transparent), .html5-video-player.unstarted-mode {
	float: left;
}

div.video_foto iframe {
	height: 220px;
	box-sizing: border-box;
	display: block;
	overflow: hidden;
	margin: 5px;
	text-align: center;
	float: left;
}

iframe.video_foto {

	
}

table {
	width: calc(100% - 50px);
	border: 5px solid #85afd9;	
}

thead {
	background: #85afd9;
}
	
td {
	border: 1px solid #85afd9;
	text-align: center;
}

td a {
	color: #fff;
	text-decoration: none;
}

.bx-wrapper {
	border: none !important;
	box-shadow: none !important;
}

div.bx-viewport {
	margin-top: -20px;
}

.bx-pager {
	text-align: center !important;
	width: 100% !important;
}

a.bx-prev, a.bx-next {
	top: 95% !important;
}



