
/* cyrillic-ext */
@font-face {
	font-display: swap;
	font-family: 'Kurale';
	font-style: normal;
	font-weight: 400;
	src: local('Kurale Regular'), local('Kurale-Regular'), url(/css/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(/css/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(/css/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(/css/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(/css/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;
}

/* cyrillic-ext */
@font-face {
	font-display: swap;
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 400;
	src: local('Roboto'), local('Roboto-Regular'), url(/css/fonts/ek4gzZ-GeXAPcSbHtCeQI_esZW2xOQ-xsNqO47m55DA.woff2) format('woff2');
	unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F;
}
/* cyrillic */
@font-face {
	font-display: swap;
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 400;
	src: local('Roboto'), local('Roboto-Regular'), url(/css/fonts/mErvLBYg_cXG3rLvUsKT_fesZW2xOQ-xsNqO47m55DA.woff2) format('woff2');
	unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin-ext */
@font-face {
	font-display: swap;
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 400;
	src: local('Roboto'), local('Roboto-Regular'), url(/css/fonts/Fcx7Wwv8OzT71A3E1XOAjvesZW2xOQ-xsNqO47m55DA.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: 'Roboto';
	font-style: normal;
	font-weight: 400;
	src: local('Roboto'), local('Roboto-Regular'), url(/css/fonts/CWB0XYA8bzo0kSThX0UTuA.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;
}

#container{
	position: relative;
	margin: 0 0 0 240px;
	min-height: 100vh;
}

body{
	text-align: center;
	margin: 0;
	color: #000000;
	min-width: 1150px;
	background-image: url(/images/fon.jpg);
	background-size: cover;
	background-position: center;
	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(/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: 9999;
    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 2px #151517;
}

#menu h2 a{
	color: #fff;
	text-decoration: none;
}

#menu h2 a:hover{
	color: #999;
}

#action-buttons .d3-button img{
	margin: 0 5px -3px -5px;
}

.d3-button {
	/* Structure */
	border: none;
	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;

	/* 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;
}

/*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;
}

#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;
	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;
}

#menu-block li:last-child a, #menu-block li:last-child span {
    border-bottom: none;
}

#menu-block li a:hover, #menu-block li span:hover {
	background-color: #9199A0;
}

#menu-block li:hover ul {
    left: 225px;
    opacity:1;
    top: -5px;
    transition-delay: 0.2s;
    transform: rotateY(0deg);
}

#menu-block ul li {
    width: 100%;
}


#cards-promo {
	z-index: 999;
	background: #ff8500;
	width: 310px;
	line-height: 37px;
	text-align: center;
	font-size: 24px;
	position: fixed;
	bottom: 0;
	right: 40px;
	margin-bottom: 280px;
	cursor: pointer;
	overflow: hidden;
	opacity: .7;
	transition: opacity .3s ease-in-out;
	-webkit-transition: opacity .3s ease-in-out;
	-moz-transition: opacity .3s ease-in-out;
	border-radius: 5px;
	transform: rotate(-90deg);
	transform-origin: right top;
	color: #000;
	text-decoration: none;
}

#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);
}