@charset "utf-8";
/* CSS Document */

* {
	transition-duration: 1s;
}

a, .nohref {color: rgb(0, 0, 238); cursor: pointer;}

@keyframes wave {
0% {
transform: translateX(10px) translateY(3px);
}
25% {
transform: translateX(-6px) translateY(0px);
}
75% {
transform: translateX(6px) translateY(-2px);
}
100% {
transform: translateX(10px) translateY(3px);
}
}
 @keyframes wave-2 {
0% {
transform: translateX(0px) translateY(0px);
}
25% {
transform: translateX(6px) translateY(-3px);
}
75% {
transform: translateX(-6px) translateY(1px);
}
100% {
transform: translateX(0px) translateY(0px);
}
}
 @keyframes fadein {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes heart {
0% {
transform: scale(0.8);
}
80% {
transform: scale(1.1);
}
100% {
transform: scale(0.8);
}
}
 @keyframes fadeout {
 0% {
opacity: 1;
z-index: 998;
}
 99% {
opacity: 0;
z-index: 998;
}
 100% {
opacity: 0;
z-index: -999;
}
}

@keyframes win4 {
10% {transform: rotate(0deg)}
15% {transform: rotate(-6deg)}
25% {transform: rotate(3deg)}
30% {transform: rotate(0deg)}
60% {transform: rotate(0deg)}
65% {transform: rotate(6deg)}
75% {transform: rotate(-3deg)};
76%	{transform: rotate(0deg)}

	
	
}


@font-face {
	font-family: 'Monotype Corsiva';
	src: url('/fonts/MTCORSVA.TTF');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'Kelly Slab';
	src: url('/fonts/kslab.ttf');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'Myriad Pro';
	src: url('/fonts/myriad_i.ttf');
	src: url('/fonts/myriad_i.otf');
	font-weight: normal;
	font-style: italic;
}

@font-face {
	font-family: 'Myriad Pro';
	src: url('/fonts/myriad.ttf');
	src: url('/fonts/myriad.otf');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Old Standard TT';
	src: url('/fonts/OldStandard-Italic.ttf');
	font-weight: normal;
	font-style: italic;
}

@font-face {
	font-family: 'Calibri';
	font-weight: 100;
	src: url('/fonts/calibrili.ttf');
	font-style: italic;
}

@font-face {
	font-family: 'Calibri';
	src: url('/fonts/calibri.ttf');
	font-style: normal;
}


.pixel {
	width: 0px;
	height: 0px;
	overflow: visible;
}
.wave-1 {
	position: relative;
	animation: wave 4s infinite ease-in-out;
}
.wave-2 {
	position: relative;
	animation: wave-2 4s infinite ease-in-out;
}
body {
	min-width: 1100px;
	margin: 0px;
	padding: 0px;
	background-color: #bdb5f0;
	background-image: url(mainpage_background.png);
	background-position: top, center;
	background-repeat: no-repeat;
	font-family: "Myriad Pro", sans-serif;
}
div {
	background: none;
	border: 0px;
	padding: 0px;
	margin: 0px;
}
#mainpage {
	background: url(mainpage_title_background.png);
	background-position: top, center;
	background-repeat: no-repeat;
	width: 100%;
	min-height: 100%;
	text-align: center;
}
#mainpage_main {
	margin-top: 6px;
	width: 933px;
	display: inline-block;
}
#mainpage_content {
	color: #31358a;
	background-image: url(img/mainpage_menu_background.png);
	background-repeat: no-repeat;
	background-position: 180px 60px;
}
#mainpage_titletext {
	animation: fadein 0.5s 1 ease-in;
	animation-fill-mode: backwards;
}
#mainpage_logo {
}
#mainpage_descr {
	text-align: left;
	animation: fadein 0.8s 1 ease-in;
	animation-fill-mode: backwards;
}
#mainpage_descr_left {
	display: inline-block;
	vertical-align: top;
	position: relative;
	top: 45px;
	text-align: center;
	width: 300px;
	height: 150px;
	font-size: 28px;
}
#mainpage_descr_right {
	display: inline-block;
	width: auto;
	text-align: left;
	font-size: 18px;
	height: 150px;
	position: relative;
	right: 10px;
	top: 15px;
	padding-left: 10px;
}
#mainpage_descr_right p {
	margin-bottom: 7px;
	padding: 0px;
	margin-top: 0px;
}
.dm-modal p {
	margin-top: 20px !important;
}
#mainpage_menublock {
	height: 360px;
	text-align: left;
	font-size: 18px;
	padding: 20px 0px;
}
#mainpage_menublock div {
	vertical-align: top;
	text-align: left;
	width: 1px;
	height: 1px;
	overflow: visible;
}
#mainpage_menu_item1 a {
	color: #355f2a;
	text-decoration: none;
	text-shadow: 0px 0px 8px #EDEDED;
}
#mainpage_menu_item2 a {
	color: #608bc7;
	text-shadow: 0px 0px 8px #EDEDED;
	text-decoration: none;
}
#mainpage_menu_item3 a {
	font: italic 20px "Myriad Pro", Helvetica, Arial, sans-serif;
	color: #33348e;
	text-shadow: 0px 0px 8px #EDEDED;
	text-decoration: none;
}
#mainpage_menu_item1 {
	transition-duration: 1s;
	animation: fadein 1s 1 ease-in;
	position: relative;
	left: 22px;
	top: 37px;
	animation-fill-mode: backwards;
}
#mainpage_menu_item1:hover, #mainpage_menu_item2:hover, #mainpage_menu_item3:hover, #mainpage_menu_item4:hover, #mainpage_menu_item5:hover {
	transform: translateY(-5px)
}
#mainpage_menu_item2 {
	transition-duration: 1s;
	animation: fadein 1s 1 ease-in;
	animation-delay: 0.5s;
	animation-fill-mode: backwards;
	position: relative;
	left: 42px;
	top: 161px;
	font: italic 18px "Myriad Pro", Helvetica, Arial, sans-serif;
	color: #355f2a;
	text-shadow: 0px 0px 8px #EDEDED;
}
#mainpage_menu_item3 {
	transition-duration: 1s;
	animation: fadein 1s 1 ease-in;
	animation-delay: 1s;
	animation-fill-mode: backwards;
	position: relative;
	left: 157px;
	top: 293px;
	font: italic 18px "Myriad Pro", Helvetica, Arial, sans-serif;
	color: #33348e;
	text-shadow: 0px 0px 8px #EDEDED;
}
#mainpage_menu_item4 a {
	font: italic 25px "Calibri", Helvetica, Arial, sans-serif;
	color: #608bc7;
	text-shadow: 0px 0px 8px #EDEDED;
	text-decoration: none;
	white-space: nowrap;
	line-height: 0.5em;
}
#mainpage_menu_item4 {
	transition-duration: 1s;
	animation: fadein 1s 1 ease-in;
	animation-delay: 1.5s;
	animation-fill-mode: backwards;
	position: relative;
	left: 350px;
	top: 295px;
}
#mainpage_menu_item5 {
	transition-duration: 1s;
	animation: fadein 1s 1 ease-in;
	animation-delay: 2s;
	animation-fill-mode: backwards;
	position: relative;
	left: 428px;
	top: 181px;
	font-family: 'Kelly Slab', arial;
	font-size: 19px;
	color: #31398a;
	text-shadow: 0px 0px 8px #EDEDED;
}
#mainpage_menu_item5 a {
	font-family: 'Kelly Slab', arial;
	font-size: 17px;
	color: #31398a;
	text-shadow: 0px 0px 8px #EDEDED;
	text-decoration: none;
}
#mainpage_menu_image {
	height: 100px;
	overflow: visible;
	position: relative;
	top: -79px;
	left: 714px;
	display: inline-block;
}
#copyright {
	text-align: center;
	position: relative;
	width: 933px;
	font-size: 11px;
	color: #1b1a49;
	bottom: -10px;
}
.lpx {
	width: 1px;
	height: 1px;
	overflow: visible;
}
.sfera {
	position: relative;
	top: -13px;
	left: 120px;
	z-index: -1;
}
#mainpage_menu_item2 img {
	position: relative;
	right: 70px;
	top: 14px;
}
/*МОДАЛЬНОЕ ОКНО*/

/* Стили модального окна и содержания 
-------------------------------------------------------------------------------*/
 
/* слой затемнения */
 
.dm-overlay {
	position: fixed;
	top: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.65);
	display: none;
	overflow: auto;
	width: 100%;
	height: 100%;
	z-index: 1000;
}
/* активируем модальное окно */
 
.dm-overlay:target {
	display: block;
	-webkit-animation: fadein .6s;
	-moz-animation: fadein .6s;
	animation: fadein .6s;
}
/* блочная таблица */
 
.dm-table {
	display: table;
	width: 100%;
	height: 100%;
	position: relative;
	z-index: 10001;
}
/* ячейка блочной таблицы */

 
.dm-cell {
	display: table-cell;
	padding: 0 1em;
	vertical-align: middle;
	text-align: center;
}
/* модальный блок */
 
.dm-modal {
	display: inline-block;
	padding: 20px 100px;
	min-width: 600px;
	max-width: 50em;
	background: #f5fdff;
	-webkit-box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.22), 0px 19px 60px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.22), 0px 19px 60px rgba(0, 0, 0, 0.3);
	box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.22), 0px 19px 60px rgba(0, 0, 0, 0.3);
	color: #0f4965;
	text-align: left;
}
/* изображения в модальном окне */
 
.dm-modal img {
	height: auto;
}
/* миниатюры изображений */
 
.pl-left, .pl-right {
	width: 25%;
	height: auto;
}
/* миниатюра справа */
 
.pl-right {
	float: right;
	margin: 5px 0 5px 15px;
}
/* миниатюра слева */
 
.pl-left {
	float: left;
	margin: 5px 15px 5px 0;
}
/* встраиваемое видео в модальном окне */
 
.video {
	position: relative;
	overflow: hidden;
	padding-bottom: 56.25%;
	height: 0;
}
.video iframe, .video object, .video embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
/* рисуем кнопарь закрытия */
 
.close {
	z-index: 9999;
	float: right;
	width: 30px;
	height: 30px;
	color: #0f4965;
	text-align: center;
	text-decoration: none;
	line-height: 26px;
	cursor: pointer;
}

#enigma .enclose .close:after {color: #0f4965 !important; border: 2px solid #0f4965;}

#win1 .close {
	color: #fff !important;
	padding-left: 10px;
}
#win14 .close {
	color: #fff !important;
	padding-left: 10px;
}
#win1 .close:after {
	color: #fff !important;
	border: 2px solid #FFFFFF;
}
#win14 .close:after {
	color: #fff !important;
	border: 2px solid #FFFFFF;
}
.close:after {
	display: block;
	border: 2px solid #0f4965;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	content: 'X';
	-webkit-transition: all 0.6s;
	-moz-transition: all 0.6s;
	transition: all 0.6s;
	-webkit-transform: scale(0.85);
	-moz-transform: scale(0.85);
	-ms-transform: scale(0.85);
	transform: scale(0.85);
}
/* кнопка закрытия при наведении */
 
.close:hover:after {
	border-color: #fff;
	color: #fff;
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
}
/* варианты фонвой заливки модального блока */
 
.green {
	background: #388e3c!important;
}
.cyan {
	background: #0097a7!important;
}
.teal {
	background: #00796b!important;
}
/* движуха при появлении блоков с содержанием */
 
@-moz-keyframes fade {
 from {
 opacity: 0;
}
 to {
 opacity: 1
}
}
@-webkit-keyframes fade {
 from {
 opacity: 0;
}
 to {
 opacity: 1
}
}
@keyframes fade {
 from {
 opacity: 0;
}
 to {
 opacity: 1
}
}
div.dm-modal p {
}
.dm-modal2 {
	padding: 20px;
	width: 98%;
	background: url(img/2323.jpg) 0px -37px no-repeat;
	background-size: cover;
	max-width: 98%;
	min-width: 1200px;
	text-align: center;
}
.dm-modal2 p {
	margin: 0.4vw !important;
	font-size: 1.18vw;
	color: #0d1438;
}
.dm-modal2 a, .dm-modal2 .nohref {
	text-decoration: none;
	color: #0070c0
}
#modal12_3 p {
	font-size: 1vw !important;
	color: white;
}
 @keyframes zarimg1 {
0% {
opacity: 1
}
10% {
opacity: 1
}
11% {
opacity: 0
}
14% {
opacity: 0
}
15% {
opacity: 1
}
60% {
opacity: 1
}
61% {
opacity: 0
}
70% {
opacity: 0
}
71% {
opacity: 1
}
80% {
opacity: 1
}
81% {
opacity: 0
}
90% {
opacity: 0
}
91% {
opacity: 1
}
100% {
opacity: 1
}
}
@keyframes zarimg2 {
0% {
opacity: 0
}
10% {
opacity: 0
}
11% {
opacity: 1
}
14% {
opacity: 1
}
15% {
opacity: 0
}
60% {
opacity: 0
}
61% {
opacity: 1
}
70% {
opacity: 1
}
71% {
opacity: 0
}
80% {
opacity: 0
}
81% {
opacity: 1
}
90% {
opacity: 1
}
91% {
opacity: 0
}
100% {
opacity: 0
}
}
.zar {
	width: 1px;
	height: 1px;
	position: relative;
	top: 300px;
	left: 57px;
	transition-duration: 1s;
	animation: fadein 1s 1 ease-in;
	animation-delay: 2.3s;
	animation-fill-mode: backwards;
}
#zar1 {
	animation: 4.4s zarimg1 linear alternate infinite;
	width: 65px;
	cursor: pointer;
}
#zar2 {
	animation: 4.4s zarimg2 linear alternate infinite;
	position: relative;
	top: -1px;
	width: 65px;
	cursor: pointer;
}
#win1 {
	transition-duration: 1s;
	opacity: 0;
	display: none;
	position: absolute;
	z-index: 999;
	padding: 20px;
}
#overlay {
	background-color: rgba(0,0,0,0.52);
	position: fixed;
	width: 100%;
	height: 100vh;
	z-index: 998;
	display: none;
}
.win15-p p {letter-spacing: 1px;}
#win15 a, #win4 a { text-decoration:none; font-size: 105%;}
#win14 {overflow: hidden;}
#win4 p {text-decoration:none;font-size: 120%;font-family: 'Calibri';margin: 7px !important;}
#win4 .dm-modal {max-width: 80%;}

/*CINFO*/

#cinfobutton, #vkl, #vikl {cursor: pointer;}
#cinfo {position: fixed;z-index: 99999;right: 80px;bottom: 122px; height: 0px; overflow: hidden; width: 0px; max-height: 65%; max-width: 50%; background: #f5fdff;border: 1px solid #3574b9;border-radius: 25px; transition: all 1s; color: #0f4965; font-family: 'Calibri'; font-size: 14px; text-align: left; 	}

#cinfo.opened {width: 50%; height: 490px;}
#cinfo p {display: block;
    margin: 14px 0; letter-spacing: 0.4px;}
	
#cinfo hr {width: 100%; color: inherit; size: 1px;}	
#cinfo a, #cinfo strong {color: inherit;}
#soundbutton {position: fixed; z-index: 99999; right: 50px; bottom: 30px;}
.cinfo_container {padding-left: 20px;}

.cinfo_wrapper::-webkit-scrollbar-button { 
background-image:url(''); 
background-repeat:no-repeat; 
width:6px; 
height:0px 
} 

.cinfo_wrapper {overflow-y: auto;
    overflow-x: hidden;
    padding: 0 20px;
    margin: 16px;
    height: 90%;}

.cinfo_wrapper::-webkit-scrollbar-track { 
    background-color: #3574b9;
    border-radius: 5px;
    box-shadow: 0px 0px 1px #598620 inset;
    margin-bottom: 25px;
} 

.cinfo_wrapper::-webkit-scrollbar-thumb { 
-webkit-border-radius: 5px; 
border-radius: 5px; 
background-color:#d7d7d7; 
box-shadow:0px 1px 1px #fff inset; 
background-image:url('/img/scroll.png'); 
background-position:center; 
background-repeat:no-repeat; 
} 

.cinfo_wrapper::-webkit-resizer{ 
background-image:url(''); 
background-repeat:no-repeat; 
width:7px; 
height:0px;
} 

.cinfo_wrapper::-webkit-scrollbar{ 
width: 11px; 
}

#enigma {width: 0px; height: 0px; color: #0f4965; background: #e9f2f2; text-align: left; overflow: hidden; position: relative; z-index: 9999;}

#enigma.opened {width: 818px; height: 420px; padding: 20px;}