
/* cyrillic-ext */
@font-face {
	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;
	font-display: swap;
}
/* cyrillic */
@font-face {
	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;
	font-display: swap;
}
/* devanagari */
@font-face {
	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;
	font-display: swap;
}
/* latin-ext */
@font-face {
	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;
	font-display: swap;
}
/* latin */
@font-face {
	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-display: swap;
}


/* cyrillic-ext */
@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 400;
	src: local('Roboto'), local('Roboto-Regular'), url(fonts/Roboto-cyrillic-ext.woff2) format('woff2');
	unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F;
	font-display: swap;
}
/* cyrillic */
@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 400;
	src: local('Roboto'), local('Roboto-Regular'), url(fonts/Roboto-cyrillic.woff2) format('woff2');
	unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
	font-display: swap;
}

/* latin-ext */
@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 400;
	src: local('Roboto'), local('Roboto-Regular'), url(fonts/Roboto-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;
	font-display: swap;
}
/* latin */
@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 400;
	src: local('Roboto'), local('Roboto-Regular'), url(fonts/Roboto-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, U+E0FF, U+EFFD, U+F000;
	font-display: swap;
}

@font-face {
	font-family: 'fontello';
	src: url('fonts/fontello.eot?v=1');
	src: url('fonts/fontello.eot?v=1') format('embedded-opentype'), url('fonts/fontello.woff?v=1') format('woff'), url('fonts/fontello.ttf?v=1') format('truetype'), url('fonts/fontello.svg?v=1') format('svg');
	font-weight: normal;
	font-style: normal;
}

#container{
	position: relative;
	margin: 0 0 0 240px;
	min-height: 100vh;
}

body{
	text-align: center;
	margin: 0;
	color: #000000;
	background-image: url(/ded-moroz/images/fon.jpg);
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	font-family: 'Roboto',sans-serif;
}


.letter_header, .letter_footer, .letter_content{
	width:80%;
	margin:0 auto;
}

.letter_header, .letter_footer{
	line-height: 0;
}

#letter-sample .letter_header, #letter-sample .letter_footer, #letter-sample .letter_content{
	width:100%;
}

.letter_header img, .letter_footer img{
	width:100%;
}

.letter_content{
	background-image: url(/ded-moroz/tpl/1/content.jpg);
	background-size: 100% auto;
	height: auto;
	padding: 7px 0;
	overflow: hidden;
}

#menu{
    position: fixed;
    width: 240px;
    height: 100%;
    top: 0;
    z-index: 999;
    background: rgba(255,255,255,0.3);
    font-size: 15px;
    overflow: visible;
    text-align: left;
    box-shadow: 1px 0 3px #000;
	transition: background-color 1s;
}

#menu:hover{
	background: rgba(255,255,255,0.9);
}

#menu h2{
	padding: 10px 0 10px 20px;
	color: #fff;
	margin: 0;
	font-size: 20px;
	background: #8F1402;
	text-align: center;
	background-image: url(../images/dm-icon.png);
	background-repeat: no-repeat;
	background-position: 5px center;
	box-shadow: -1px 1px 3px #333;
}

#menu h2 a{
	color: #fff;
	text-decoration: none;
}

#menu h2 a:hover{
	color: #999;
}

#action-buttons .d3-button img{
	margin: 0 5px -3px -5px;
}

#like-buttons .d3-button{
	margin: 0 auto;
	max-width: 440px;
}

#like-buttons .d3-button img{
	vertical-align: middle;
	margin-right: 5px;
}

.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 .mobile-hidden{
	pointer-events: none;
}

/*Small vertical like buttons*/
#vertical-like-buttons {
	position: absolute!important;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 25px;
	white-space: nowrap;
	padding: 3px;
}

#vertical-like-buttons>div {
	cursor: pointer;
	margin: 0 13px 0 0;
	padding-bottom: 5px;
	position: relative;
	display: inline-block;
	text-align: left;
}
#vertical-like-buttons>div>div:hover {
	opacity:0.5
}
#vertical-like-buttons>div>div {
	display: inline-block;
	width:24px;
	height:24px;
	padding: 0;
	vertical-align: middle;
}
#vertical-like-buttons div>span {
	vertical-align: middle;
	display:inline-block;
	z-index:10;
	height: 19px;
	margin-left:5px;
	background:#FFF;
	border-radius:4px;
	border:1px solid #AAA;
	box-shadow:0 0 5px rgba(0,0,0,0.25);
	text-align:center;
	color:#666;
	font:12px/20px Arial, sans-serif;
	padding:0 5px;
	position:relative;
}
#vertical-like-buttons div>span:before {
	content:'';
	position:absolute;
	top:50%;
	left:-5px;
	margin-top:-3px;
	width:5px;
	height:7px;
	background:url(data:image/gif;base64,R0lGODlhBQAHAJEDAKqqqsnJyf///////yH5BAEAAAMALAAAAAAFAAcAAAIMnBEXMijiXlts1lkAADs=) no-repeat;
}

.GAS {
	padding: 10px 0 0;
	position: relative;
	z-index: 33;
}

/*Left menu*/

#menu-block, #menu-block ul {
	list-style: none outside none;
	margin: 0;
	padding: 0;
	font: 16px/1.2 'Roboto',sans-serif;
}

#menu-block {
    display: block;
    padding: 5px;
    position: relative;
    width: 220px;
    perspective: 300px;
    margin: 10px 10px;
	user-select: none;
}

#menu-block ul {
	opacity:0;
	transform: rotateY(70deg);
	padding: 5px;
	position: absolute;
	transform-origin: 0 0;
	transition: transform 0.3s linear, opacity 0.3s linear;
	transition-delay: 0.2s;
	border: 1px solid #333;
	border-left: none;
	background: rgba(255,255,255,0.9);
	top: -999px;
	left: -999px;
}

#menu-block li {
    position: relative;
	width: 240px;
}

#menu-block li a, #menu-block li span {
    border-color: #DDDDDD #555555 #555555 #DDDDDD;
    border-bottom-style: solid;
    border-width: 1px;
    color: #000;
    display: block;
    padding: 8px 10px 8px 5px;
    text-decoration: none;
    width: 203px;
    transition: all 0.2s linear;
    cursor: pointer;
	line-height: 1.3em;
}

#menu-block li:last-child a, #menu-block li:last-child span {
    border-bottom: none;
}

#menu-block li:hover>a, #menu-block li:hover>span {
	background-color: #9199A0;
}

#menu-block li:hover ul {
    left: 225px;
    opacity:1;
    top: -5px;
    transform: rotateY(0deg);
	z-index: 1;
}

#menu-block li:hover ul:before {
	content: ' ';
	display: block;
	width: 41px;
	height: 100%;
	position: absolute;
	top: 0;
	left: -41px;
}

#menu-block li:last-child:hover ul:before {
	width: 80px;
	left: -80px;
}

#menu-block ul li {
    width: 100%;
}


#cards-promo, .cards-promo {
	z-index: 999;
	text-align: center;
	cursor: pointer;
	overflow: hidden;
	transition: opacity .3s ease-in-out;
	-webkit-transition: opacity .3s ease-in-out;
	-moz-transition: opacity .3s ease-in-out;
	border-radius: 5px;
	text-decoration: none;
	color: #000;
	background: #ff8500;
	transition: opacity .3s ease-in-out;
}

#google-bottom #cards-promo, #google-bottom .cards-promo {
	position: relative;
	display: block;
	transform: unset;
	right: 0;
	bottom: 0;
	width: 98%;
	background: #ffbe39;
	opacity: 1;
	font-size: 18px;
	line-height: 32px;
	color: #222;
	max-width: 384px;
	margin: 2px auto;
}

#google-bottom #cards-promo img, #google-bottom .cards-promo img {
	vertical-align: middle;
	margin-right: 5px;
}

#google-bottom #cards-promo:hover, #google-bottom .cards-promo:hover {
	background-image: linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.15));
	box-shadow: 0 0 0 1px rgb(0 0 0 / 25%) inset, 0 2px 4px rgb(0 0 0 / 30%) inset;
}

#cards-promo i, .cards-promo i{
	font-family: "fontello";
	margin: 0 5px 0 0;
	font-style: normal;
	pointer-events: none;
}

body>#cards-promo, body>.cards-promo {
	width: 310px;
	line-height: 37px;
	font-size: 24px;
	position: fixed;
	bottom: 0;
	right: 40px;
	margin-bottom: 280px;
	opacity: .7;
	transform: rotate(-90deg);
	transform-origin: right top;
}

#cards-promo:hover, .cards-promo:hover {
	opacity: 1;
}

#video-promo{
	z-index: 999;
	background-image: url(../images/video-promo.png);
	width: 40px;
	height:156px;
	position: fixed;
	bottom: 205px;
	right: 6px;
	overflow: hidden;
	border-radius: 5px;
	text-decoration: none;
}

#video-promo:hover{
	-webkit-filter: saturate(1.5);
	-moz-filter: saturate(1.5);
	filter: saturate(1.5);
}

h3.share-info{
	display: table;
	margin: 7px auto 0;
	color: #444;
	border-radius: 5px;
	mix-blend-mode: multiply;
	padding: 5px 10px;
	font-size: 16px;
    line-height: 23px;
}

h3.share-info div{
	color: #046ab7;
	font-size: 14px;
}

div.is_new_item, li.is_new_item{
	display: none;
}

#is_new_item div.is_new_item, #is_new_item li.is_new_item{
	display: block;
}

.on-share-success{
	max-width: 400px;
	margin: 0 auto;
}

.on-share-success img{
	max-width: 80%;
}

.on-share-success.DM_demo_letters img{
	max-width: 48%;
    margin: 0 1% 0 0;
}

.on-share-success img:hover{
	box-shadow: 0 0 3px #000;
}

#footer {
	margin: 90px auto 30px auto;
	color: #fff;
	text-align: center;
	position: relative;
	z-index: 1;
}

#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;
}

@media (max-device-width: 1200px) {
	body{
		min-width: 0;
		background: #1b2f74;
	}
	#menu{
		left: -240px;
		display: none;
	}
	#container{
		margin: 0;
	}
	.letter_header, .letter_footer, .letter_content{
		width: 100%;
	}
	.mobile-hidden{
		display: none;
	}
}

@media (max-device-width: 480px) {
	h3.share-info{
		font-size: 2em;
		line-height: 1em;
	}
	h3.share-info div{
		font-size: 1em;
	}
}