/* cyrillic-ext */
@font-face {
	font-display: swap;
	font-family: 'Kurale';
	font-style: normal;
	font-weight: 400;
	src: local('Kurale Regular'), local('Kurale-Regular'), url(fonts/Kurale-cyrillic-ext.woff2) format('woff2');
	unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F;
}

/* cyrillic */
@font-face {
	font-display: swap;
	font-family: 'Kurale';
	font-style: normal;
	font-weight: 400;
	src: local('Kurale Regular'), local('Kurale-Regular'), url(fonts/Kurale-cyrillic.woff2) format('woff2');
	unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* devanagari */
@font-face {
	font-display: swap;
	font-family: 'Kurale';
	font-style: normal;
	font-weight: 400;
	src: local('Kurale Regular'), local('Kurale-Regular'), url(fonts/Kurale-devanagari.woff2) format('woff2');
	unicode-range: U+02BC, U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200B-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}

/* latin-ext */
@font-face {
	font-display: swap;
	font-family: 'Kurale';
	font-style: normal;
	font-weight: 400;
	src: local('Kurale Regular'), local('Kurale-Regular'), url(fonts/Kurale-latin-ext.woff2) format('woff2');
	unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
	font-display: swap;
	font-family: 'Kurale';
	font-style: normal;
	font-weight: 400;
	src: local('Kurale Regular'), local('Kurale-Regular'), url(fonts/Kurale-latin.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}

@font-face {
	font-display: auto;
	font-family: 'fontello';
	src: url('fonts/fontello.eot');
	src: url('fonts/fontello.eot') format('embedded-opentype'), url('fonts/fontello.woff') format('woff'), url('fonts/fontello.ttf') format('truetype'), url('fonts/fontello.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}

body {
	margin: 0;
	padding: 0;
	background-color: #abe6f3;
	color: #030B2C;
	background-image: url(/img/bg.jpg);
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	/*font-family: 'Roboto', sans-serif;*/
	font-family: Kurale, serif;
}

canvas.snow {
	pointer-events: none;
	position: fixed;
	top: 0;
	left: 0;
}

.d3-button {
	/* Structure */
	display: inline-block;
	font-size: 100%;
	padding: 0.2em 1em 0.25em;
	white-space: nowrap;
	text-align: center;
	cursor: pointer;
	-moz-user-select: -moz-none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
	margin: 2px;
	border: none;
	/* Presentation */
	color: #333;
	/* rgba supported */
	background-color: #ffb619;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80ffffff', endColorstr='#00ffffff', GradientType=0);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(255, 255, 255, 0.30)), color-stop(40%, rgba(255, 255, 255, 0.15)), to(transparent));
	background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0.30), rgba(255, 255, 255, 0.15) 40%, transparent);
	background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0.30), rgba(255, 255, 255, 0.15) 40%, transparent);
	background-image: -ms-linear-gradient(rgba(255, 255, 255, 0.30), rgba(255, 255, 255, 0.15) 40%, transparent);
	background-image: -o-linear-gradient(rgba(255, 255, 255, 0.30), rgba(255, 255, 255, 0.15) 40%, transparent);
	background-image: linear-gradient(rgba(255, 255, 255, 0.30), rgba(255, 255, 255, 0.15) 40%, transparent);
	text-decoration: none;
	border-radius: 4px;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25) inset, 0 2px 0 rgba(255, 255, 255, 0.30) inset, 0 1px 2px rgba(0, 0, 0, 0.15);
}

.d3-button:hover {
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#26000000', GradientType=0);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(transparent), color-stop(40%, rgba(0, 0, 0, 0.05)), to(rgba(0, 0, 0, 0.15)));
	background-image: -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05) 40%, rgba(0, 0, 0, 0.15));
	background-image: -moz-linear-gradient(top, transparent, rgba(0, 0, 0, 0.05) 40%, rgba(0, 0, 0, 0.15));
	background-image: -ms-linear-gradient(transparent, rgba(0, 0, 0, 0.05) 40%, rgba(0, 0, 0, 0.15));
	background-image: -o-linear-gradient(transparent, rgba(0, 0, 0, 0.05) 40%, rgba(0, 0, 0, 0.15));
	background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.05) 40%, rgba(0, 0, 0, 0.15));
}

.d3-button:active {
	border: inset 1px solid #999;
	/*IE 6/7/8*/
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#1A000000', endColorstr='#26000000', GradientType=0);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(0, 0, 0, 0.10)), to(rgba(0, 0, 0, 0.15)));
	background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.15));
	background-image: -moz-linear-gradient(top, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.15));
	background-image: -ms-linear-gradient(rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.15));
	background-image: -o-linear-gradient(rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.15));
	background-image: linear-gradient(rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.15));
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25) inset, 0 2px 4px rgba(0, 0, 0, 0.30) inset;
}

.d3-button i {
	font-family: "fontello";
	margin: 0 5px 0 0;
	font-style: normal;
	pointer-events: none;
}

.d3-button i.animate-spin {
    -moz-animation: spin 2s infinite linear;
    -o-animation: spin 2s infinite linear;
    -webkit-animation: spin 2s infinite linear;
    animation: spin 2s infinite linear;
    display: inline-block;
}

@keyframes spin {
  0% {
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -moz-transform: rotate(359deg);
    -o-transform: rotate(359deg);
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

.for-button {
	clear: both;
	text-align: center;
}

.on_page_button{
	transition: color .3s,background-color .3s,border-color .3s;
	padding: 8px;
	line-height: 14px;
	font-size: 13px;
	background-color: #f0f0f0;
	cursor: pointer;
	text-align: center;
	outline: none;
	color: #3F3F3F;
	font-family: Arial, sans-serif;
	font-weight: bold;
	border-radius: 3px;
	display: inline-block;
	vertical-align: middle;
	-moz-user-select: -moz-none;
	-ms-user-select: none;
	-webkit-user-select: none;
	user-select: none;
	border: 1px solid #D7D7D7;
	text-decoration: none;
	margin: 0 5px 5px 0;
}

.on_page_button:hover{
	background-color: #e2e2e2;
}

.on_page_button:active{
	padding-top: 9px;
	padding-bottom: 7px;
}

.on_page_button i{
	font-family: "fontello";
	margin: 0 5px 0 0;
	font-size: 14px;
	font-style: normal;
	pointer-events: none;
}


#wrapper {
	max-width: 1100px;
	margin: 0 auto;
}

#wrapper #header img{
	max-width: 100%;
}

#text {
	background-color: #fefeda;
	margin: -60px 0;
	padding: 10px;
	font-size: 1.1em;
	text-align: justify;
	box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12), 0 3px 1px -2px rgba(0, 0, 0, .2);
}

#wrapper #footer {
	width: 100%;
	border-radius: 0 0 10px 10px;
	text-align: center;
}

#footer {
	margin: 90px auto 30px auto;
	color: #fff;
	z-index: 1;
	position: relative;
}

#footer p{
	color: #fff;
    text-align: center;
    text-shadow: 1px 1px 1px #000;
    display: inline-block;
    margin: 15px 5px;
    padding: 0;
}

#footer a{
	color: #fff;
}

a#header{
	display: block;
}

.image-blur {
	display: inline-block;
	margin: 5px 10px;
	box-shadow: inset 0 0 5px 5px #fefeda;
	font: 0/0 Arial;
	max-width: 100%;
	background-size: 100%;
}

.image-blur img {
    opacity: 0;
	max-width: 100%;
}

@media (max-width:1100px){
	#text {
		padding: 10px 3px;
	}
	.image-blur {
		max-width: 100%;
		margin:5px auto;
		display: block;
		border: 0;
		float: none!important;
	}
	#text h1{
		line-height: 1.1em;
		margin-top: 40px;
		font-size: calc(22px + 14 * ((100vw - 320px) / 780));
	}
	#text h2{
		font-size: calc(22px + 14 * ((100vw - 320px) / 780));
	}
	.mobile-hidden{
		display: none;
	}
}