﻿@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;
}
nav ul {
	padding: 0;
	height: 3.5em;
	top: 6px;
	bottom: 8px;
	margin-top: 0;
    margin-bottom: 0;
}

nav li {
	box-shadow: 0px 0px 9px 0px #c1bfaf;
	border: 2px solid #9c9890;
	border-radius: 4px;
	display: inline;
	float: left;
	margin-top: 0.25em;
	margin-bottom: 0.25em;
	margin-left: .1em;
	background-color: #e5e4dd;
	text-align: center;
	width: 12%;
	
}
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;
    border-radius: 0px;
}

nav a#pull {
	display: none;
}

.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;
}

/* 100% width bar for menu */

/* 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;
}

.cbp-hsmenu > li > a:hover,
.cbp-hsmenu > li.cbp-hsitem-open > a {
    color: #000;
	border-width: 0px;
	border-color: #3C281A;
	border-style: solid;
}

/* 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-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	content: "\f107";
	font-weight: bold;
	font-size: 100%;
	margin-right: 8px;
	opacity: 0.9;
	vertical-align: middle;
}

.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: 16.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 {
	/* display: block; */
	text-align: center;
	color: #333;
	outline: none;
	padding: 2.0em;
	letter-spacing: 1px;
    -webkit-box-shadow: 4px 9px 18px 4px #838178;
    box-shadow: 4px 9px 18px 4px #838178;
}

.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.7s 0.1s;
	-moz-transition: opacity 0.7s 0.1s;
	transition: opacity 0.7s 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;
}

/* --1140-- */

@media screen and (max-width: 1140px) {
.cbp-hssubmenu > li {
   	margin: 16px 0px 0px 0px;
}

}

/* --800-- */

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

 .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: 0.875em;
}

.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: 12px 0px 0px 0px;
}

.cbp-hssubmenu > li a {
	padding: 1.0em;
}
.cbp-hsmenu > li > a {
	font-size: 0.875em;
}

.yan_map {
	width: 600px;
}


}

/* Helper ---------------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;
    text-align: center;
  	width: 100%;
}
nav ul {
	display: block;
	height: auto;
	margin-right: 2px;
}

.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: 0.95em;
   	line-height: 1.5em;
}
					
.cbp-hsmenu > li > a:not(:only-child):before {
	line-height: 1.875em;
	right: 0;
	position: absolute;
}

.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: #dddbd2;
}
.cbp-hssubmenu > li a {
	height: 5.5em;
	line-height: 1.25em;
	padding: 12px 4px; 
	width: 100%;
    height: 100%;
    display: -webkit-flex;
    -webkit-align-items: flex-start;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

	
.cbp-hssubmenu > li a img {
	max-width: 50px;
	padding: 1%;
    float: left;
    margin-right: 12px;
}

.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 {
    -webkit-box-shadow: none;
    box-shadow: none;
}



}


/* Let's only __________580___________ 	*/


@media only screen and (max-width : 580px) {
 
.newStyle1 {
	left: 28%;
}
 .img_Center_H {
	visibility: hidden;
	display: none;
} 

nav a {
    line-height: 3.0em; 
}

nav {
	border-bottom: 0;	
}

nav ul {
	display: none; 
	height: auto;
}

/* pull */ 
nav a#pull,	.button-toggle-navigation {
	display: block;
	height: 28px;
	width: 40px;
	position: relative;
	float: right;
	margin-right: 12%;
	padding: 0px;
	background-color: transparent;
	margin-top: 20px;
	margin-bottom: 4%;
	outline: none;  
}

 nav a#pull::after, .button-toggle-navigation::after, .button-toggle-navigation::before {
	top: 8px;
} 

nav a#pull2, .button.burger.burger1 {
	display: block;
	float: right;
	height: 28px;
	width: 40px;
	position: relative;
	float: right;
	margin-right: 12%;
	padding: 0px;
	background-color: transparent;
	margin-top: 9%;
	margin-bottom: 4%;
}

nav a#pull2::after,	.button-toggle-navigation::after,
	.button-toggle-navigation::before {
	top: 8px;
}

.cbp-hsmenu > li > a {
   	line-height: 2.0em;
}

.cbp-hssubmenu > li a img {
	max-width: 40px;
	padding-bottom: 1%;
	margin-right: 12px;
}

.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.2em;
}

.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 __________380___________ */

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

.profile-card header h1 {
	margin: 1px 2% 0px 0px;
	font-size: 1.5em;
	left: 27%;
	right: 10%;
}

.profile-card_St header h1 {
	margin: 2% 2% 0% 0%;
	font-size: 1.4em;
	left: 27%;
}

.profile-card header h2 {
	font-size: 80%;
	letter-spacing: 1px;
	top: 6px;
}

.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%;
}

/* .arrow_box1 {
	display: none;
} 

.text_up2 {
	 display: none;
} */

.cbp-hssubmenu > li {
	 width: 91%;
}
.cbp-hsmenu > li {
	width: 80%;
}

.cbp-hssubmenu > li a {
	padding: 14px 4px;
	line-height: 0.95em;
    width: 100%;
    height: 100%;	}

.cbp-hssubmenu > li a img {
    max-width: 36px;
}
.typewrite {
	font-size: 0.625em;
}

.typewrite {
	 font-size: 0.625em;
}
	
.profile-card_St header h2 {
	margin-right: 10%;
}

.text_h3_Br {
	font-size: 1.0em;
}

.yan_map {
	width: 300px;
}


}

