﻿@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');
}

@font-face {
    font-family: "Artist_Modern";
    src: url(../../fonts/artist_modern.ttf) format('truetype');
}

@import url('https://fonts.googleapis.com/css?family=Caveat&display=swap');

 @keyframes fadeout {
 0% {
opacity: 1;
z-index: 998;
}
 99% {
opacity: 0;
z-index: 998;
}
 100% {
opacity: 0;
z-index: -999;
}
}


html {
		font-family: 'Calibri', arial;
		min-width: 990px;
		padding: 0;
		margin: 0; 
        background: url(../img/nepspb_bg.jpg) #fff no-repeat center center fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover; 	
        -o-background-size: cover;
		background-size: cover;


} 

h1 {font-family: 'Monotype Corsiva';color: #dddddd;font-size: 49px;}
h2 {font-family: 'Monotype Corsiva'; font-size: 32px; color: #636363}
h3 {font-size: 21px;}

body {

margin: 0;

padding: 0;

min-width: 990px;

color: #263027;

}
.mainpage {width: 990px;margin:auto;height: 100vh;}

.header {
		width: 990px;
		margin: auto;
		height: 138px;
    vertical-align: top;
    display: table;
}
.logo {display: table-cell; vertical-align: top; position: relative;}
.legkie {display: table-cell;vertical-align: top;padding: 26px 0;padding-left: 63px;}
.title {    width: 990px;
    text-align: center;
    margin: auto;}
.menu {
		height: 400px;
	
}
.menu_items {
		font-family: 'Miriad pro', arial;
		font-style:italic;
		font-weight:bold;
		font-size: 20px;
		color: #67631a;
		text-align: center;
		margin: auto;
		width: 100%;
		padding: 10% 0;
}

#copyright {
	width: 100%;
	text-align: center;
	font-size: 11px;
	color: #a29696;
	position: fixed;
	bottom: 10px;
	left: 0;
}

#copyright a {color: #a29696}

.button {transition: 0.7s all;}
.button:hover { transform: scale(1.2);}

.nepspbvidcont div {
	padding: 10px 10px;
	font-family: 'Peterburg', arial;
	font-style: italic;
	font-weight: bold;
	font-size: 22px;
	color: white;
	line-height: 150%;
	cursor: pointer;
	animation: 1.5s jem ease-in-out alternate infinite;
	}
	
@keyframes jem {from {transform: scale(1)}to {transform: scale(0.97)}}

	
.close {
	z-index: 9999;
	float: right;
	width: 30px;
	height: 30px;
	color: rgba(228,228,228,1.00);
	text-align: center;
	text-decoration: none;
	line-height: 26px;
	cursor: pointer;}
	
.close:after {
	display: block;
	border: 2px solid rgba(228,228,228,1.00);
	-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);
}
	
#win1, #win2, #win3, #win4, #win5 {
	transition-duration: 1s;
	opacity: 0;
	display: none;
	z-index: 999;
	padding: 20px;
    position: absolute;
	left: 50%;
	top: 50%;
	margin-left: -300px;
	margin-top: -200px;
}


#overlay {
	background-color: rgba(0,0,0,0.52);
	position: fixed;
	width: 100%;
	height: 100vh;
	z-index: 998;
	display: none;
}	

.nosp {width: 1px; height: 1px; overflow: visible}

#sound {display: none;}

/*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; 
}
