﻿@font-face {
	font-family: 'bpmenu';
	src:url('../fonts/bpmenu/bpmenu.eot');
	src:url('../fonts/bpmenu/bpmenu.eot?#iefix') format('embedded-opentype'),
		url('../fonts/bpmenu/bpmenu.woff') format('woff'),
		url('../fonts/bpmenu/bpmenu.ttf') format('truetype'),
		url('../fonts/bpmenu/bpmenu.svg#bpmenu') format('svg');
	font-weight: normal;
	font-style: normal;
}
nav {
	font-size: 0.875em;
	font-family: caviardreams-webfont, Arial, sans-serif;
	font-weight: bold;
	position: relative;
	text-shadow: 0px 1px 0px #fcfbf7;
	letter-spacing: 1px;
}
nav ul {
	padding: 0;
	height: 3.5em;
	top: 6px;
	bottom: 8px;
	margin-top: 0;
    margin-bottom: 0;
}
nav li {
    border: 2px solid #9c9890;
	border-radius: 4px;
	display: inline;
	float: left;
	margin-top: 0.25em;
	margin-bottom: 0.25em;
	margin-left: .1em;
	background-color: #f9f9f9;
	text-align: center;
	width: 12%;
	-webkit-box-shadow:0px 0px 9px 0px #c1bfaf;
	box-shadow: 0px 0px 9px 0px #c1bfaf;
}
nav a {
	display: inline-block;
	text-align: center;
	text-decoration: none;
	padding-top: 0.8em;
	padding-bottom: 0.8em;
    border-radius: 0px;
    width: 100%;
}
nav a:hover, nav a:active {
    background-color: #fcdd42;
}
.menu-muz{
	font-size:0.875em;
}
/* Main menu wrapper */
.cbp-hsmenu-wrapper {
	position: relative;
}
/* Common style for all lists */
.cbp-hsmenu-wrapper ul {
	list-style: none;
	padding: 0;
	margin: 0 auto;
}
/* Main menu style */
.cbp-hsmenu-wrapper .cbp-hsmenu {
	padding: 0 0.875em;
}
.cbp-hsmenu > li {
	display: inline-block;
}
.cbp-hsmenu > li:first-child {
}
/* Main menu link style */
.cbp-hsmenu > li > a {
	color: #000;
	font-size: 1.0em;
	display: inline-block;
	position: relative;
	z-index: 499;
	outline: none;
	width: 100%;
	padding-left: 3px;
    padding-right: 3px;
    cursor: pointer;
}

/* Add an arrow to the main menu link if it has a submenu (not the only child) */
.cbp-hsmenu > li > a:not(:only-child):before {
	display: inline-block;
	font-family: 'bpmenu';
	font-style: normal;
	font-variant: normal;
	text-transform: none;
	content: "\f107";
	font-weight: bold;
	font-size: 100%;
	opacity: 0.7;
    margin-top: 3px;
	margin-right: 0;
    margin-bottom: -3px;
    margin-left: 2px;
    float: left;
}
.cbp-hsmenu > li.cbp-hsitem-open > a:not(:only-child):before {
	content: "\f106";
}
/* Submenu style */
.cbp-hssubmenu {
	position: absolute;
	left: 0;
	top: 100%;
	width: 98%;
	margin-left: 1%;
    margin-right: 1%;
	z-index: 0;
	text-align: center; /* for aligning the sub items */;
	visibility: hidden;
}
.cbp-hssubmenu:after { 
	clear: both; 
}
/* Let's allow 6 item in a row */
.cbp-hssubmenu > li {
	width: 13.2%;
	display: inline-block;
	vertical-align: top;
	opacity: 0;
	-webkit-transition: opacity 0.1s 0s;
	-moz-transition: opacity 0.1s 0s;
	transition: opacity 0.1s 0s;
    line-height: 1.2em;
   	margin: 10px 0px 0px 0px;
}
/* First 6 items don't have upper box shadow */
.cbp-hssubmenu > li:nth-child(-n+6) {
	float: none;
} 
/* Every 7th item does not have a left box shadow */
.cbp-hssubmenu > li:nth-child(6n+1) {
	float: none;
}
/* The first one does not have any box shadow */
.cbp-hssubmenu > li:first-child {
	box-shadow: none;
}
.cbp-hssubmenu > li a {
	text-align: center;
	color: #333;
	outline: none;
	padding: 1.5em;
    -webkit-box-shadow: 0px 9px 13px 9px #9f9e97;
    box-shadow: 0px 9px 13px 9px #9f9e97;
}
.cbp-hssubmenu > li a:hover,
.cbp-hssubmenu > li a:focus {
    color: #000;
}
.cbp-hssubmenu > li a img {
	border: none;
	outline: none;
	display: inline-block;
	margin: 0;
	max-width: 100%;
	-webkit-transition: opacity 0.2s;
	-moz-transition: opacity 0.2s;
	transition: opacity 0.2s;
}
.no-touch .cbp-hssubmenu > li a:hover img {
	opacity: 0.9;
}
.cbp-hssubmenu > li a span {
	display: block;
	min-height: 3em;
	margin-top: .4em;
}
.cbp-hsmenu > li.cbp-hsitem-open .cbp-hssubmenu {
	z-index: 1000;
	visibility: visible;
}
.cbp-hsmenu > li.cbp-hsitem-open .cbp-hssubmenu > li {
	opacity: 1;
	-webkit-transition: opacity 0.8s 0.1s;
	-moz-transition: opacity 0.8s 0.1s;
	transition: opacity 0.8s 0.1s;
}
/* Helper div for animating the background */
.cbp-hsmenubg {
	position: absolute;
	width: 100%;
	top: 100%;
	left: 0;
	z-index: 0;
	height: 0px;
}
.no-touch .cbp-hsmenubg {
	-webkit-transition: height 0.3s;
	-moz-transition: height 0.3s;
	transition: height 0.3s;
}

/* --1212-- */
@media screen and (max-width: 1212px) {
.cbp-hssubmenu > li {
   	margin: 16px 0px 0px 0px;
}
.cbp-hssubmenu > li {
	width: 15.2%;
}

}

/* --800-- */
@media screen and (max-width: 800px) {
.cbp-hssubmenu > li {
	width: 16.2%;
}
 .keyboard {
	background-size: 18% 100%;
}
nav li {
  	font-size: 92%;
}
nav ul {
	height: 3.5em;
}
.cbp-hsmenu > li.cbp-hsitem-open > a:after {
	border-top-color: #888;
  		margin-top: .125em;
}
.mast_title {
	visibility: hidden;
}
.text1 {
	font-size: 1.2em;
}
.profile-card header h1 {
	font-size: 1.6em;
}
.profile-card_St header h1 {
	font-size: 1.6em;
}
.profile-card_Key_header h1 {
	font-size: 1.6em;
}
.profile-card header h2 {
	margin-right: 17%;
}
.profile-card_St header h2 {
	margin-right: 17%;
}
.cbp-hssubmenu > li {
   	margin: 10px 0px 8px 0px;
}
.cbp-hssubmenu > li a {
	padding: 1.0em;
}
.cbp-hsmenu > li > a {
	font-size: 0.875em;
}
.yan_map {
	width: 600px;
}
.cbp-hsmenu > li > a:not(:only-child):before {
	font-size: 100%;
	margin-top: 1px;
	margin-right: 2px;
    margin-bottom: -3px;
    margin-left: 2px;
    float: left;
}
}

/* ---640-- */
@media screen and (max-width: 640px){
.keyboard {
   visibility: hidden;
}
nav { 
	height: auto;
}
nav li {
  		width: 50%;
  		position: relative;
   		font-size: 110%;
}
nav a {
    line-height: 2.45em;
}
nav ul {
	display: block;
	height: auto;
}
.cbp-hsmenu-wrapper {
	font-size: 100%;
}
.cbp-hsmenu-wrapper .cbp-hsmenu {
	padding: 0;
	max-width: none;
	width: 100%;
}
.cbp-hsmenu > li {
	text-align: center;
	margin: 2px 1%;
	display: block;
	width: 48%;
}
.cbp-hsmenu > li > a {
	display: block;
    font-size: 1.125em;
   	line-height: 2.0em;
}
.cbp-hsmenu > li > a:not(:only-child):before {
	line-height: 1.875em;
	right: 0;
	position: absolute;
	
	display: inline-block;
	font-size: 130%;
	margin-right: 8px;
	opacity: 0.7;
}
.cbp-hsmenubg {
	display: none;
}
.cbp-hsmenu > li.cbp-hsitem-open > a:after {
	margin-top: -0.5em;
}
.cbp-hssubmenu {
	position: relative; 
	overflow: hidden;
	height: 0;
}
.cbp-hsmenu > li.cbp-hsitem-open .cbp-hssubmenu {
	height: auto;
}


/* Let's only allow 3 item in a row now */
.cbp-hssubmenu > li {
	width: 96%;
	background: #f0f0f0;
}
.cbp-hssubmenu > li a {
	height: 5.5em;
	line-height: 1.25em;
	padding: 12px 4px 12px 1px; 
	width: 100%;
    height: 100%;
    display: -webkit-flex;
    -webkit-align-items: flex-start;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    justify-content: space-evenly;
   -webkit-box-shadow: 0px 0px 7px 4px #9f9e97;
    box-shadow: 0px 0px 7px 4px #9f9e97;

}
.cbp-hssubmenu > li a img {
	max-width: 50px;
    float: left;
    margin-right: 4px;
}
.profile-card header h1 {
	font-size: 1.5em;
}
.profile-card_St header h1 {
	font-size: 1.5em;
}
.profile-card_Key_header h1 {
	font-size: 1.5em;
}
.text_h3_Br {
	font-size: 1.25em;
}
.menu-muz{
	font-size:0.75em;
}

.yan_map {
	width: 530px;
}
.cbp-hssubmenu > li a {
   /* box-shadow: none; */
}

}

 @media screen and (min-width: 581px) {
  nav .outer {
    display: block !important;
 }
}

 /* 580	*/
@media only screen and (max-width : 580px) {
 
.newStyle1 {
	left: 28%;
}
 .img_Center_H {
	visibility: hidden;
	display: none;
} 
/* Навигатор NEW */
nav {
	float: right;
	padding: 3px;
	margin: 10px 10px 14px 10px;
	font-weight: bold;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	box-shadow: 0px 0px 2px #9d9574;
	width: 98%;
    margin: 10px 1% 14px 1%;
    font-size: 90%;
}
nav .outer {
    clear: both;
    float: left;
    display: none;
}

nav p.icons {
	padding: 10px;
	margin: 2px;
	cursor: pointer;
	float: right;
	outline: none;
	clear: both;
}
nav p.icons:hover { 
    background-color:#eeede8;
    transition-duration: .7s; 
   	border-radius: 4px;
}

nav p.icons span.icon {
    width: 34px;
    height: 4px;
    background: #cccabc;
    display: block;
    margin: 6px;
}
nav p.icons span.icon:nth-child(3n-1) {
    height: 4px;
}
nav p.icons span.icon:nth-child(3n) {
    height: 4px;
}
/* Навигатор new-end */
nav a {
    line-height: 3.0em; 
}
nav li {
   		font-size: 100%;
}
.cbp-hsmenu > li > a {
   	line-height: 2.0em;
}
.profile-card header h1 {
	font-size: 1.4em;
}
.profile-card_St header h1 {
	font-size: 1.4em;
}
.profile-card_Key_header h1 {
	font-size: 1.4em;
}
.text_h3_Br {
	font-size: 1.05em;
}
.yan_map {
	width: 310px;
}
.profile-card header h2 {
	margin-right: 8%;
	top: 6px;
}
.profile-card_St header h2 {
	margin-right: 8%;
	top: 6px;
}

}


/* Let's only __________400___________ */

@media only screen and (max-width : 400px) {

.profile-card header h1 {
	margin: 1px 2% 0px 0px;
	font-size: 1.5em;
	left: 27%;
	right: 10%;
}
.profile-card_St header h1 {
	margin: 8% 2% 0% 0%;
	font-size: 1.2em;
	left: 22%;
}
.profile-card header h2 {
	letter-spacing: 1px;
	top: 6px;
	padding: 4px;
}
.profile-card_St header h2 {
	font-size: 80%;
	letter-spacing: 1px;
	top: 6px;
}
.newStyle1 {
	left: 23%;
}
nav {
	font-size: 0.95em;
}
nav li {
	display: block;
	width: 80%;
}
.cbp-hssubmenu > li {
	 width: 92%;
}
.cbp-hsmenu > li {
	width: 82%;
}
.cbp-hssubmenu > li a {
    width: 100%;
    height: 100%;	}

.typewrite {
	font-size: 0.625em;
}
.typewrite {
	 font-size: 0.625em;
}

.profile-card_St header h2 {
	margin-right: 10%;
	padding:4px;
}
.text_h3_Br {
	font-size: 1.0em;
	margin: 5% 2% 0% 0%;
}
.yan_map {
	width: 300px;
}
.cbp-hssubmenu > li a img {
	max-width: 60px;
    float: left;
    margin-right: 7px;
}

}

