/*
Theme Name:     Bryon Coastal Custom Site
Theme URI: 		 www.rexsoftware.com
Description:    A Rexsoftware Custom Theme
Author:         Rexsoftware
Version:        1
*/

/*	==========================================================================
	 Base
	========================================================================== */

html, body {
	font-family: Arial;
	color: #666666;
}

.is-mobile {
	display: none;
}

@media only screen and (max-width: 660px) {
	.is-desktop {
		display: none !important;
	}

	.is-mobile {
		display: block !important;
	}

	.l-inner {
		width: 320px;
	}
}

a {
	text-decoration: none;
}

a[href^=tel] {
	text-decoration:inherit;
	color: inherit;
}

/*	==========================================================================
	 Layout
	========================================================================== */
body {
	background: #fff url(images/background.jpg) no-repeat center top;
}


.pageWrapper {
	width: 1054px;
	background-color: #fff;
	-moz-box-shadow: 0 -30px 10px rgba(0,0,0,.28);
	-webkit-box-shadow: 0 -30px 10px rgba(0,0,0,.28);
	box-shadow: 0 -30px 10px rgba(0,0,0,.28);
	margin-left: auto;
	margin-right: auto;

	padding-left: 37px;
	padding-right: 37px;

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;

	overflow: visible;

}

@media only screen and (max-width: 1070px) {
	.pageWrapper {
		width: 100%;
		padding: 0;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
}

@media only screen and (max-width: 660px) {
	.pageWrapper {
		padding-top: 0px;
		width: 320px;
		margin-left: auto;
		margin-right: auto;
		overflow: hidden;
	}

}

.bordered-container {
	display: block;
	margin: 0 auto 17px;
	max-width: 964px;
	background-color: #ebebeb;
	padding: 8px;
}

.bordered-container-item {
	float: left;
	padding: 8px;
	background-color: #fff;
	border-radius: 5px;
	margin-left: 8px;
	height: 100%;
	
	position: relative;

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.bordered-container-item:first-child {
	margin-left: 0;
}

@media only screen and (max-width: 660px) {
	.bordered-container-item {
		border-left: 0;
		border-top: 8px solid #ebebeb;
	}

	.bordered-container-item:first-child {
		border-top: none;
	}
}

/*	==========================================================================
	 Buttons
	========================================================================== */


.btn,
input.btn-radio.checked + .btn {
	font-size: 14px;
	font-weight: 600;

	text-decoration: none;
	text-transform: uppercase;
	text-align: center;

	display: inline-block;
	zoom: 1;
	*display: inline;

	padding: 5px 10px;

	white-space: nowrap;

	background-color: #e6e64c;
	color: #021f3e;

	border: none;

	-webkit-appearance: none;

	letter-spacing: 0.001em;

	cursor: pointer;
}
.btn:hover,
input.btn-radio.checked + .btn:hover {
	background-color: #e9e825;
}

.btn:active,
input.btn-radio.checked + .btn:active {
	-moz-box-shadow: inset 0 3px 0 rgba(32,32,32,.1);
	-webkit-box-shadow: inset 0 3px 0 rgba(32,32,32,.1);
	box-shadow: inset 0 3px 0 rgba(32,32,32,.1);
}

.btn.btn-l,
.btn-radio.checked + .btn.btn-l  {
	line-height: 37px;
	padding: 0 25px;
}

.btn.btn-xl,
.btn-radio.checked + .btn.btn-xl  {
	padding: 0;
	line-height: 37px;
	width: 136px;
}

/* Disabled states */

.btn[disabled],
.btn.disabled,
.btn-radio + .btn {
	background-color: #cbcbcb;
	color: #fff;
}
.btn[disabled]:hover,
.btn.disabled:hover,
.btn-radio + .btn:hover{
	background-color: #b9b9b9;
}

.btn[disabled]:active,
.btn.disabled:active,
.btn-radio + .btn:active{
	-moz-box-shadow: inset 0 3px 0 rgba(94,94,94,.3);
	-webkit-box-shadow: inset 0 3px 0 rgba(94,94,94,.3);
	box-shadow: inset 0 3px 0 rgba(94,94,94,.3);
}

.btn.alt-disabled[disabled],
.btn.alt-disabled,
.btn-radio + .btn.alt-disabled {
	background-color: #0a1929;
	color: #fff;
}

.btn.alt-disabled[disabled]:hover,
.btn.alt-disabled:hover,
.btn-radio + .btn.alt-disabled:hover{
	background-color: #ffffff;
	color: #021f3e;
}

.btn.alt-disabled[disabled]:active,
.btn.alt-disabled:active,
.btn-radio + .btn.alt-disabled:active{
	-moz-box-shadow: inset 0 3px 0 rgba(32,32,32,.35);
	-webkit-box-shadow: inset 0 3px 0 rgba(32,32,32,.35);
	box-shadow: inset 0 3px 0 rgba(32,32,32,.35);
}


/* Clean up radio buttons */
.btn-radio {
	display: none;
}

.link-button, a.link-button, input[type="submit"] {
	background-color: #f99d24;
	color: #fff;
}

.link-button:hover,
a.link-button:hover,
input[type="submit"]:hover {
	background-color: #e58f1e;
}

/*	==========================================================================
	 Chosen Inputs
	========================================================================== */

/* Single Input*/

.chosen-container-single .chosen-single {
	height: 30px;
	line-height: 30px;
	border: none;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	background: #fff;
}

.chosen-container-single .chosen-single span {
	color: #afafaf;
	font-weight: normal;
	text-transform: none;

}

.chosen-container-single .chosen-single div b {
	background-position: 0 5px;
}

.chosen-container-active.chosen-with-drop .chosen-single div b {
	background-position: -18px 5px;
}

.chosen-container-active .chosen-single,
.chosen-container-active.chosen-with-drop .chosen-single {
	border: none;
	background: #fff;

}

.chosen-container.chosen-with-drop .chosen-drop {
	border: none;
}

.chosen-container-active.chosen-with-drop .chosen-choices {
	border-radius: 3px 3px 0 0;
}

/* Multiple Input */

.chosen-container-multi .chosen-choices {
	border: none;

	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;

	box-shadow: 0 0 3px #fff inset,0 1px 1px rgba(0,0,0,.1)
}

.chosen-container-multi .chosen-choices li.search-field input[type=text] {
	padding: 6px 5px 7px;
	color: #afafaf !important;
}


.chosen-container-multi .chosen-choices li.search-choice {
	line-height: 24px;
	padding-top: 0;
	padding-bottom: 0;
}

.chosen-container-multi .chosen-choices li.search-choice .search-choice-close {
	background: url(images/chosen-sprite.png) -42px 3px no-repeat;
}

.chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover {
	background-position: -42px 3px;
}

/* Options */

.chosen-container .chosen-results li {
	color: #021f3e;
	font-size: 12px;
}

.chosen-container .chosen-results li.highlighted {
	background: #f99d24;
	color: #fff;
}

.chosen-container-multi .chosen-drop .result-selected {
	color: #afafaf;
}




/* Chosen tokens */

.chosen-container-multi .chosen-choices li.search-choice {
	background: #dfdfdf;
	color: #494949;

	border: none;

	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
}

/*	==========================================================================
	 Header Styles
	========================================================================== */

header {
	width: 970px;
	height: 128px;
	padding-left: 10px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 20px;
	position: relative;
}

.header .logo {
	top: 28px;
	position: absolute;
}

.header-shadow {
	height: 46px;
	background-color: #fff;
	-moz-box-shadow: inset 0 -18px 21px rgba(32,32,32,.04);
	-webkit-box-shadow: inset 0 -18px 21px rgba(32,32,32,.04);
	box-shadow: inset 0 -18px 21px rgba(32,32,32,.04);

	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
}

.header-contact-bar {
	width: 720px;
	height: 64px;
	float: right;

	background: url(images/header-background.png)  bottom right;

	text-align: right;

	padding-right: 40px;
}

.mp-trigger,
.mp-close {
	width: 50px;
	height: 47px;
	background: #00bfe7 url(images/icons/hamburger.png) center center no-repeat;
	cursor: pointer;
}

.mp-trigger {
	position: absolute;
	left: 0px;
}

.mp-close {
	width: 100%;
	background-position: 10px center;
}

.mp-pushed .mp-trigger {
	visibility: hidden;
}


.header-contact-bar {
	font-size: 12px;
	text-transform: uppercase;
	text-align: right;
	padding-top: 37px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.header-contact-phone,
.header-contact-phone:hover,
.header-contact-phone:link,
.header-contact-phone:visited,
.header-contact-email,
.header-contact-email:hover,
.header-contact-email:link,
.header-contact-email:visited {
	color: #999999;
	text-decoration: none;
	margin: 0 0 0 28px;
	font-family: 'Myriad Pro';
}

.header-contact-email-icon {
	width: 13px;
	height: 10px;
	background-image: url(images/icons/email.png);
	display: inline-block;
	*display: inline;
	*zoom: 1;
	margin-right: 8px;
}

.header-contact-phone-icon {
	width: 8px;
	height: 13px;
	background-image: url(images/icons/phone.png);
	display: inline-block;
	*display: inline;
	*zoom: 1;
	margin-right: 8px;
	position: relative;
	top: 1px;
}

/*	==========================================================================
	 Navigation
	========================================================================== */

.expanded-header nav {
	position: absolute;
	bottom: 0px;
}

nav {
	width: 100%;
	background-color: #fff;
	background-color: rgba(255,255,255,0.9);
}

.nav-inner {
	float: right;
	margin: 11px 0;
}


/*
 * Globals
 */

.nav-menu .sub-menu-container {
	display: none;
	/*overflow: hidden;*/
}

.nav-menu .sub-menu {
	padding: 0;
	margin: 0;
	list-style-type: none;
	z-index: 2000;
	-moz-box-shadow: 2px 3px 2px rgba(32,32,32,.15);
	-webkit-box-shadow: 2px 3px 2px rgba(32,32,32,.15);
	box-shadow: 2px 3px 2px rgba(32,32,32,.15);

	background-color: #fff;

}


.nav-menu .menu-item {
    cursor: pointer; /* sets the mouse cursor to look like a link for menus that do not have an A element */
    position: relative; /* resets the positioning context */
}

.nav-menu .menu-item:hover,
.nav-menu .menu-item:active
{
    z-index: 2000; /* bring element top-most */
}

.nav-menu > .menu-item {
	float: left;
}

.nav-menu .menu-item:hover > .sub-menu-container, /* Show submenu on hover */
.nav-menu .menu-item:active > .sub-menu-container
{
	display: block; /* display the submenus when the LI is hovered over */
	position: absolute;
	z-index: 2000; /* top most */
}

.nav-menu > .menu-item:hover > div.sub-menu-container, /* Only first level of submenus */
.nav-menu > .menu-item:active > div.sub-menu-container
{
    top: 100%; /* set to the bottom of the menu */
    left: 0; /* move left 1px from left of LI element */
}

.nav-menu .menu-item:hover > .sub-menu-container, /* Only Rest of the submenus */
.nav-menu .menu-item:active > .sub-menu-container
{
    top: 0px; /* set to the top of the menu */
    left: 100%; /* set to the right of the menu  */
}

.menu-item a {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}





/*
 * Globals
 */

.nav-menu a,
.nav-menu a:hover,
.nav-menu a:link,
.nav-menu a:visited {
	color: inherit;
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	cursor: pointer;
	display: block;
}

/*
 * Top Level Items
 */
 .nav-menu > li {
 	float: left;
 }

.nav-menu > li > a {
	color: #021f3e;
	line-height: 22px;
	padding: 0 24px;
	margin: 6px 0;
	border-left: 2px solid #dbdbdb;
	font: 15px 'Myriad Pro';
	font-weight: 600;
}

.nav-menu > li:first-child > a {
	border-left: none;
}

/*
 * Dropdown Items
 */

 .nav-menu > li:hover {
 	background: #00bfe7;
 	color: #fff;
 }


 .nav-menu li li a,
 .nav-menu li li a:link,
 .nav-menu li li a:visited {
	line-height: 30px;
	padding: 0 15px;
	-ms-text-align-last: left;
	color: #999999;
	text-align: left;

	font-size: 12px;
	font-weight: bold;
}

 .nav-menu li li:hover a,
 .nav-menu li li:hover a:link,
 .nav-menu li li:hover a:visited {
	color: #666666;
}


/*
 * Navigation Bar
 */

.nav {
	width: 100%;
}

.nav-menu {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

.nav:after,
.nav-menu:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}

@media only screen and (max-width: 980px) {
	header .nav-menu > li > a {
		padding-left:0;
		padding-right: 0;
		font-size: 12px;
		margin: 0 10px;
	}
}

@media only screen and (max-width: 980px) {
	.nav-inner {
		width: 660px;
	}

	.nav-menu.home-large-menu > li > a {
		margin-left: 9px;
		margin-right: 9px;
	}
}

@media only screen and (max-width: 660px) {
	header {
		width: 100%;
		padding: 0;
		height: 123px;
	}

	.header-shadow {
		display: none;
	}

	.header .logo {
		position: relative;
		top: auto;
	}

	.home-second-row {
		height: auto;
	}

	.header-shadow {
		display: none;
	}

	.nav-inner {
		width: 320px;
	}

	.section-title {
		padding: 8px;
		font-family: 'Arial';
	}

	.header .logo {
		float: none;
		margin: 21px auto 13px;
		display: block;
	}

	.bordered-container-item {
		margin-left: auto;
	}

	.expanded-header nav {
		position: static;
	}


}




/*	==========================================================================
	 Footer
	========================================================================== */

.footer {
	background: #ebebeb;
	text-align: left;
}

.colophon {
	background-color: #f5f5f5;
	margin-top: -96px;
	position: relative;
}

div.pageWrapper {
	padding-bottom: 136px;
	display: table;
}

@media only screen and (max-width: 660px) {
	div.pageWrapper {
		padding-bottom: 101px;
	}
}


.nav-menu-footer {
	font-size: 13px;
	color: #999999;
	list-style-type: none;
	padding: 13px 22px;
	margin: 0;
	display: inline-block;
	*display: inline;
	*zoom: 1;
}

.nav-menu-footer a,
.nav-menu-footer a:link,
.nav-menu-footer a:visited {
	color: inherit;
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	cursor: pointer;
	display: block;
	text-align: left;
}
.nav-menu-footer a:hover {
	color: #666;
}

.nav-menu-footer a:hover {
	color: #666;
}

.nav-menu-footer > .menu-item {
	float: left;
	width: 106px;
	margin-left: 10px;
}
.nav-menu-footer > .menu-item {
	line-height: 24px;
}

.nav-menu-footer > .menu-item > a {
	font-weight: bold;
	margin-bottom: 13px;
	color: #555555;
}

.nav-menu-footer > .menu-item:first-child {
	margin-left: 0;
}

.nav-menu-footer .sub-menu {
	list-style-type: none;
	padding: 0;
	margin: 0;
}





/*	==========================================================================
	 Homepage
	========================================================================== */

.hero-box {
	width: 964px;
	height: 384px;
	background: #fff url(images/homepage-hero.png);
	border-radius: 5px;
}

.home-second-row {
	height: 312px;
}

.home-second-row .welcome-message {
	padding: 20px;
	font-size: 13px;
	width: 622px;
	line-height: 20px;
}

.home-second-row .feature-property {
	bottom: 0;
	padding: 20px;
	width: 334px;
}


.home-second-row .feature-propert-image {
	max-width: 327px;
	max-height: 246px;
	width: 100%;
	display: block;
}

.section-title {
	font-family: 'Myriad Pro';
}

.home-second-row .section-title {
	font-size: 16px;
	font-weight: 600;
	margin-top: 0;

}
.home-quicklink-container {
	width: 294px;
	height: 214px;
}

.home-quicklink {
	width: 100%;
	height: 100%;
	position: relative;
	overflow: hidden;	
	-webkit-background-size: 100% 100%;
	background-size: 100% 100%;
}

.home-quicklink img{
	
	position: absolute;
	top: -9999px;
	bottom: -9999px;
	left: -9999px;
	right: -9999px;
	
	margin: auto;
	
	max-width: 100%

}

.home-quicklink div {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	
	padding: 0 15px;

	line-height: 42px;

	font-size: 13px;
	font-weight: bold;
	font-family: Arial;
	color: #fff;
	
	background-color: rgba(47,47,47,0.6);
}

.home-featureproperty-container,
.home-quicklink-container {
	display: block;
	border-radius: 5px;
	-webkit-transition: border-color 0.4s;
	-moz-transition: border-color 0.4s;
	-ms-transition: border-color 0.4s;
	-o-transition: border-color 0.4s;
	transition: border-color 0.4s;
	border: 3px solid white;
	overflow: hidden;
	border-radius: 5px;
	position: relative;
}

.home-featureproperty-container:hover,
.home-quicklink-container:hover {
	border: 3px solid #555555;
}

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

	.home-quicklink-container {
		width: 261px;
		height: 90px;
	}

	.home-quicklink {
		width: 262px;
		height: 90px;
	}

	.hero-box,
	.bordered-container-padded.home-first-row {
		padding: 0;
		-webkit-border-radius: 0;
		-moz-border-radius: 0;
		border-radius: 0;
	}


	/* search results form adjustments */
	#searchform-properties div.options label {
		width: 290px;
		line-height: 18px;
	}

	#searchform-properties .options select, #searchform-properties .options select + .chosen-container {
		width: 210px;
	}
}


@media only screen and (max-width: 660px) {
	.home-first-row,
	.home-second-row {
		border: none;
	}

	.home-second-row {
		margin-bottom: 0;
	}

	.home-second-row,
	.home-third-row {
		max-width: 300px;
		margin-left: auto;
		margin-right: auto;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}

	.hero-box {
		width: 100%;
		height: 128px;
		-webkit-background-size: 100% auto;
		background-size: 100% auto;
	}

	.home-second-row .welcome-message {
		display: inline-block;
		*display: inline;
		*zoom: 1;
		width: auto;
		padding: 0;

	}

	.section-title {
		font-size: 25px;
		font-weight: normal;
	}

}


.mobile-contact {
	width: 300px;
	margin: 0 auto 19px;
}


.mobile-contact-button,
.mobile-contact-button:hover,
.mobile-contact-button:link,
.mobile-contact-button:visited {
	width: 148px;
	height: 40px;
	display: block;
	text-align: center;
	float: left;
	-moz-background-clip: padding;
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
	background: #f99d23;

	color: #fff;
	font-size: 13px;
	line-height: 40px;
	text-decoration: none;
	text-transform: uppercase;
}

.mobile-contact-button.email {
	-moz-border-radius: 3px 0 0 3px;
	-webkit-border-radius: 3px 0 0 3px;
	border-radius: 3px 0 0 3px;

	margin-right: 4px;

}


.mobile-contact-button.email .mobile-contact-icon {
	width: 13px;
	height: 10px;
	background-image: url(images/icons/email-white.png);
	display: inline-block;
	*display: inline;
	*zoom: 1;
	margin-right: 8px;

}

.mobile-contact-button.phone {
	-moz-border-radius: 0 3px 3px 0;
	-webkit-border-radius: 0 3px 3px 0;
	border-radius: 0 3px 3px 0;
}

.mobile-contact-button.phone .mobile-contact-icon {
	width: 8px;
	height: 13px;
	background-image: url(images/icons/phone-white.png);
	display: inline-block;
	*display: inline;
	*zoom: 1;
	margin-right: 8px;
	position: relative;
	top: 1px;
}

.listing-search-form .chosen-container-multi .chosen-choices {
	box-shadow: 0 0 5px rgba(0,0,0,.3);
}

.listing-search-form .form-option-select {
	width: 210px;
	float: right;

}
.listing-search-form .form-option-select.chosen + .chosen-container {
	float: right;
}

.listing-search-form .form-option-label {
	line-height: 30px;
	margin-bottom: 15px;
}


/*	==========================================================================
	 Inside Pages
	========================================================================== */

a.post-image:hover {
	border-color: #f99d24;
}

.navigation a:hover,
.navigation li.first:hover, .navigation li.last:hover {
	background-color: #f99d24;
}

.navigation li.active_page a {
	border-color: #f99d24;
}

/*	==========================================================================
	 Image Overwrites
	========================================================================== */

.picon {
	font-weight: 600;
	font-size: 17px;
	background: rgb(238,238,238) url('images/property_room_icons.png') 6px 5px no-repeat;
}

h1.house, h3.house {
	background-image: url('images/header_icons/house.png');
}
h1.houses, h3.houses {
	background-image: url('images/header_icons/houses.png');
}
h1.person, h3.person {
	background-image: url('images/header_icons/person.png');
}
h1.people, h3.people {
	background-image: url('images/header_icons/people.png');
}
h1.speech_bubble, h3.speech_bubble {
	background-image: url('images/header_icons/speech_bubble.png');
}
h1.speech_bubbles, h3.speech_bubbles {
	background-image: url('images/header_icons/speech_bubbles.png');
}
h1.speech_bubble_add, h3.speech_bubble_add,
.post-comments #reply-title {
	background-image: url('images/header_icons/speech_bubble_add.png');
}
h1.envelopes, h3.envelopes {
	background-image: url('images/header_icons/envelopes.png');
}
h1.arrows_right, h3.arrows_right {
	background-image: url('images/header_icons/arrows_right.png');
}
h1.twitter, h3.twitter {
	background-image: url('images/header_icons/twitter.png');
}
h1.phone, h3.phone {
	background-image: url('images/header_icons/phone.png');
}
h1.four04, h3.four04 {
	background-image: url('images/header_icons/404.png');
}

h1.folders, h3.folders,
#blog-sidebar aside.widget_categories h3.widget-title,
#general-sidebar aside.widget_categories h3.widget-title {
	background-image: url('images/header_icons/folders.png');
}
h1.search, h3.search {
	background-image: url('images/header_icons/search.png');
}
h1.tags, h3.tags,
#blog-sidebar aside.widget_tag_cloud h3.widget-title,
#general-sidebar aside.widget_tag_cloud h3.widget-title {
	background-image: url('images/header_icons/tags.png');
}
h1.quotes, h3.quotes {
	background-image: url('images/header_icons/quotes.png');
}
h1.facebook, h3.facebook {
	background-image: url('images/header_icons/facebook.png');
}


.featurebox .pages a,
.post-meta .date,
.post-meta .cats,
.post-meta .tags,
.post-meta .author,
.post-meta .comments,
aside.testespanel li span,
aside.widget_categories a,
.property-body .inspections-list li,
ol.inspections-list li span,
.phone,
.email {
	background-image: url('images/ui_elements.png');
	background-repeat: no-repeat;
}

.rental-available span {
	background-image: url("images/ui_elements.png");
}

/*	==========================================================================
	 Mobile Menu
	========================================================================== */


html, body, .container, .scroller {
	height: 100%;
}

html {
	overflow: hidden;
}

.scroller {
	overflow-y: scroll;
}

html[lang]  {
	margin-top: 0 !important;
}

.admin-bar-showing .scroller {
	margin-top: 28px;
	height: -wekbit-calc( 100% - 28px);
	height: calc( 100% - 28px);
}

.scroller,
.scroller-inner {
	position: relative;
}

.container {
	position: relative;
	overflow: hidden;
}

.menu-trigger {
	position: relative;
	padding-left: 60px;
	font-size: 0.9em;
}

.menu-trigger:before {
	position: absolute;
	top: 2px;
	left: 0;
	width: 40px;
	height: 6px;
	background: #fff;
	box-shadow: 0 6px #34495e, 0 12px #fff, 0 18px #34495e, 0 24px #fff;
	content: '';
}

.mp-pusher {
	position: relative;
	left: 0;
	height: 100%;
}

.mp-menu {
	position: absolute; /* we can't use fixed here :( */
	top: 0;
	left: 0;
	z-index: 1;
	width: 300px;
	height: 100%;
	-webkit-transform: translate3d(-100%, 0, 0);
	-moz-transform: translate3d(-100%, 0, 0);
	transform: translate3d(-100%, 0, 0);
}

.mp-level {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #00bfe7;
	-webkit-transform: translate3d(-100%, 0, 0);
	-moz-transform: translate3d(-100%, 0, 0);
	transform: translate3d(-100%, 0, 0);
}

/* overlays for pusher and for level that gets covered */
.mp-pusher::after,
.mp-level::after,
.mp-level::before {
	position: absolute;
	top: 0;
	right: 0;
	width: 0;
	height: 0;
	content: '';
	opacity: 0;
}

.mp-pusher::after,
.mp-level::after {
	background: rgba(0,0,0,0.3);
	-webkit-transition: opacity 0.3s, width 0.1s 0.3s, height 0.1s 0.3s;
	-moz-transition: opacity 0.3s, width 0.1s 0.3s, height 0.1s 0.3s;
	transition: opacity 0.3s, width 0.1s 0.3s, height 0.1s 0.3s;
}

.mp-level::after {
	z-index: -1;
}

.mp-pusher.mp-pushed::after,
.mp-level.mp-level-overlay::after {
	width: 100%;
	height: 100%;
	opacity: 1;
	-webkit-transition: opacity 0.3s;
	-moz-transition: opacity 0.3s;
	transition: opacity 0.3s;
}

.mp-level.mp-level-overlay {
	cursor: pointer;
}

.mp-level.mp-level-overlay.mp-level::before {
	width: 100%;
	height: 100%;
	background: transparent;
	opacity: 1;
}

.mp-pusher,
.mp-level {
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	transition: all 0.5s;
}

/* overlap */
.mp-overlap .mp-level.mp-level-open {
	box-shadow: 1px 0 2px rgba(0,0,0,0.2);
	-webkit-transform: translate3d(-40px, 0, 0);
	-moz-transform: translate3d(-40px, 0, 0);
	transform: translate3d(-40px, 0, 0);
}

/* First level */
.mp-menu > .mp-level,
.mp-menu > .mp-level.mp-level-open,
.mp-menu.mp-overlap > .mp-level,
.mp-menu.mp-overlap > .mp-level.mp-level-open {
	box-shadow: none;
	-webkit-transform: translate3d(0, 0, 0);
	-moz-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}

/* cover */
.mp-cover .mp-level.mp-level-open {
	-webkit-transform: translate3d(0, 0, 0);
	-moz-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}

.mp-cover .mp-level.mp-level-open > ul > li > .mp-level:not(.mp-level-open) {
	-webkit-transform: translate3d(-100%, 0, 0);
	-moz-transform: translate3d(-100%, 0, 0);
	transform: translate3d(-100%, 0, 0);
}

/* content style */
.mp-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mp-menu h2 {
	margin: 0;
	padding: 1em;
	color: #fff;
	text-shadow: 0 0 1px rgba(0,0,0,0.1);
	font-weight: 300;
	font-size: 2em;
}

.mp-menu.mp-overlap h2::before {
	position: absolute;
	top: 0;
	right: 0;
	margin-right: 8px;
	font-size: 75%;
	line-height: 1.8;
	opacity: 0;
	-webkit-transition: opacity 0.3s, -webkit-transform 0.1s 0.3s;
	-moz-transition: opacity 0.3s, -moz-transform 0.1s 0.3s;
	transition: opacity 0.3s, transform 0.1s 0.3s;
	-webkit-transform: translateX(-100%);
	-moz-transform: translateX(-100%);
	transform: translateX(-100%);
}

.mp-menu.mp-cover h2 {
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: 1px;
	font-size: 1em;
}

.mp-overlap .mp-level.mp-level-overlay > h2::before {
	opacity: 1;
	-webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
	-moz-transition: -moz-transform 0.3s, opacity 0.3s;
	transition: transform 0.3s, opacity 0.3s;
	-webkit-transform: translateX(0);
	-moz-transform: translateX(0);
	transform: translateX(0);
}

.mp-menu ul li > a {
	display: block;
	padding: 0.7em 1em 0.7em 1.8em;
	outline: none;
	box-shadow: inset 0 -1px rgba(0,0,0,0.2);
	text-shadow: 0 0 1px rgba(255,255,255,0.1);
	font-size: 1.4em;
	-webkit-transition: background 0.3s, box-shadow 0.3s;
	-moz-transition: background 0.3s, box-shadow 0.3s;
	transition: background 0.3s, box-shadow 0.3s;

	color: #ffffff;
	font-size: 15px;
	text-decoration: none;
}

.mp-menu ul li::before {
	position: absolute;
	left: 10px;
	z-index: -1;
	color: rgba(0,0,0,0.2);
	line-height: 3.5;
}

.mp-level > ul > li:first-child > a {
	box-shadow: inset 0 -1px rgba(0,0,0,0.2), inset 0 1px rgba(0,0,0,0.2);
}

.mp-menu ul li a:hover,
.mp-level > ul > li:first-child > a:hover {
	background: rgba(0,0,0,0.2);
	box-shadow: inset 0 -1px rgba(0,0,0,0);
}

.mp-menu .mp-level.mp-level-overlay > ul > li > a,
.mp-level.mp-level-overlay > ul > li:first-child > a {
	box-shadow: inset 0 -1px rgba(0,0,0,0);
}

.mp-back {
	background: rgba(0,0,0,0.1);
	outline: none;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 700;
	display: block;
	font-size: 0.8em;
	padding: 1em;
	position: relative;
	box-shadow: inset 0 1px rgba(0,0,0,0.1);
	-webkit-transition: background 0.3s;
	-moz-transition: background 0.3s;
	transition: background 0.3s;
}

.mp-menu .mp-level.mp-level-overlay > .mp-back,
.mp-menu .mp-level.mp-level-overlay > .mp-back::after {
	background: transparent;
	box-shadow: none;
	color: transparent;
}

/* Fallback example for browsers that don't support 3D transforms (and no JS fallback) */
/* We'll show the first level only */
.no-csstransforms3d .mp-pusher,
.no-js .mp-pusher {
	padding-left: 300px;
}

.no-csstransforms3d .mp-menu .mp-level,
.no-js .mp-menu .mp-level {
	display: none;
}

.no-csstransforms3d .mp-menu > .mp-level,
.no-js .mp-menu > .mp-level {
	display: block;
}