@font-face {
	font-family: 'Monotype Corsiva';
	src: url(../../fonts/MTCORSVA.TTF);
	}
	
@font-face {
    font-family: "a_Romanus";
    src: url(../../fonts/romanus.ttf) format('truetype');
}	

@font-face {
    font-family: "Calibri";
    src: url(../../fonts/calibri.ttf) format('truetype');
}

@font-face {
    font-family: "Peterburg";
    src: url(../../fonts/peterburg.ttf) format('truetype');
}

@font-face {
    font-family: "a_Empirial";
    src: url(../../fonts/a_empirial.ttf) format('truetype');
	src: url(../../fonts/a_empirial.otf) format('opentype');
}

@keyframes fadeout {
 0% {
opacity: 1;
z-index: 998;
}
 99% {
opacity: 0;
z-index: 998;
}
 100% {
opacity: 0;
z-index: -999;
}
}


  
a, a:hover {color: inherit; text-decoration: none;}

html {
		font-family: 'Calibri', arial;
		min-width: 990px;
		padding: 0;
		margin: 0; 
        background: url(../img/bna_bg.jpg) #fff no-repeat center center fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover; 	
        -o-background-size: cover;
		background-size: cover;


} 

h2 {font-family: 'Monotype Corsiva'; font-size: 32px;}
h3 {font-size: 21px;}
body {margin: 0; padding: 0; min-width: 990px; background: url(../img/legkie-miry_header_background.png) no-repeat center -30px; color: #263027;


}
.mainpage {width: 990px;margin:auto;height: 100%;}

.header {
		width: 100%;
		text-align: center;
		overflow: visible;
		backface-visibility: visible;
		height: 218px;
}
.logo {display: table-cell; vertical-align: top;}
.legkie {display: table-cell;vertical-align: top;padding: 26px 0;padding-left: 63px;}
.title {text-align: center;}
.menu {
		height: 400px;
	
}
.menu_items {
		font-family: 'Peterburg', arial;
		font-style:italic;
		font-weight:bold;
		font-size: 20px;
		color: #67631a;
		text-align: center;
		margin: auto;
		width: 100%;
		padding: 10% 0;
		line-height: 150%;
}

.button {  
        font-family: 'Peterburg', arial;
		text-shadow: 1px 1px 1px #fff, -1px -1px 1px #fff, -1px 1px #fff, 1px -1px #fff;
		font-style:italic;
		font-weight:bold;
		font-size: 20px;
		color: #67631a;
}

.button:hover, #left:hover, #right:hover {
	cursor: pointer;}

#copyright {
	width: 100%;
	text-align: center;
	font-size: 11px;
	color: #000;
	position: fixed;
	bottom: 10px;
	left: 0;
}

#page {width: 810px; font-family: 'Peterburg', arial; min-height: 478px; margin: auto;text-shadow: 0.5px 0.5px 0px #fff, -0.5px -0.5px 0px #fff, -0.5px 0.5px 0px #fff, 0.5px -0.5px 0px #fff;
}

#text_slide1, #text_slide2, #text_slide3 {
    position: relative;
    left: -25px;
    opacity:0;
	display: none;
	padding-bottom: 40px;}
	
#page p {
    font-size: 21px;
    margin: 0;
    text-indent: 47px;
	text-align: justify;}
	
.offline {color: #898989; cursor: default;}

.nosp {width: 1px; height: 1px; overflow: visible}

#sound {display: none;}
#soundbutton {position: fixed; z-index: 99999; right: 50px; bottom: 30px;}

#win1, #win2, #win3, #win4 {opacity: 0; display: none; position: relative; z-index:999; padding: 20px; transition: 0.3s all; margin:auto; bottom: 280px; left: 50%; z-index: 99999;}

.close {
	padding: 20px;
	padding-top: 0px;
    z-index: 9999;
    float: right;
    width: 30px;
    height: 30px;
    color: black;
    text-align: center;
    text-decoration: none;
    line-height: 26px;
    cursor: pointer;
}
.close:after {
    display: block;
    border: 2px solid black;
    -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: #ccc;
    color: #ccc;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);}
	
img.mayak_a  { width: 269px;}
.playbtn {width: 50px; position: relative;
    top: 50px; right: 25px;}

#overlay {
	background-color: rgba(0,0,0,0.52);
	position: fixed;
	width: 100%;
	height: 100vh;
	z-index: 998;
	display: none;
}

.mayak2 {display: inline-block; cursor: pointer;}

/*CINFO*/

#cinfobutton, #vkl, #vikl {cursor: pointer;}
#cinfo {position: fixed;z-index: 99999;right: 80px;bottom: 59px; 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; 
}
