/* General styles for all menus */

.body-wrapper{
	max-width:100%;
	overflow-x:hidden;
	background: #E9EAEE;
}

.node-type-profile .body-wrapper{
	max-width:none;
	overflow-x: visible;
	}

.body-wrapper.mobile-nav{
	overflow-y:hidden;
	max-height:100vh;
}

body.mobile-nav{
	position:fixed;
}

.cbp-spmenu-push{
	height:0px;
	max-height:0;
	position:absolute;
	left:0;
	top:0;
	background:#fff;
	padding-left:20px;	
}

.cbp-spmenu{
	border-left:none;
}

.cbp-spmenu-push.open{
	height:100vh;
	max-height:100%;
	padding-left:20px;
	background:#fff;
	z-index:5000;	
	width:100%;
}

.cbp-spmenu-push .cbp-spmenu-vertical{
	height:0px;
	max-height:0;
}

.cbp-spmenu-push.open .cbp-spmenu-vertical{
	height:100%;
	max-height:100%;
	width:100%;	
}

.cbp-spmenu {
	background: transparent;;
	position: relative;
}

.cbp-spmenu h3 {
	color: #afdefa;
	font-size: 1.9em;
	padding: 20px;
	margin: 0;
	font-weight: 300;
	background: #0d77b6;
}

.cbp-spmenu a {
	display: block;
	color: #444;;
	font-size: 1.1em;
	font-weight: 300;
}

.cbp-spmenu a:hover {
	background: #429db5;
	color:white;
}

.cbp-spmenu a:active {
	background: #429db5;
	color: #FFFFFF;
}

/* Orientation-dependent styles for the content of the menu */

.cbp-spmenu-vertical {
	width: 240px;
	height: 100%;
	top: 0;
}

.cbp-spmenu-vertical a {
	border-bottom: 1px solid #429db5;
	padding: .7em;
}

.cbp-spmenu-horizontal {
	width: 100%;
	height: 150px;
	left: 0;
	z-index: 1000;
	overflow: hidden;
}

.cbp-spmenu-horizontal h3 {
	height: 100%;
	width: 20%;
	float: left;
}

.cbp-spmenu-horizontal a {
	float: left;
	width: 20%;
	padding: 0.5em;
}

/* Vertical menu that slides from the left or right */

.cbp-spmenu-left {
	left: -240px;
}

.cbp-spmenu-right {
	right: -240px;
}

.cbp-spmenu-left.cbp-spmenu-open {
	left: 0px;
}

.cbp-spmenu-right.cbp-spmenu-open {
	right: 0px;
}

/* Horizontal menu that slides from the top or bottom */

.cbp-spmenu-top {
	top: -150px;
}

.cbp-spmenu-bottom {
	bottom: -150px;
}

.cbp-spmenu-top.cbp-spmenu-open {
	top: 0px;
}

.cbp-spmenu-bottom.cbp-spmenu-open {
	bottom: 0px;
}

/* Push classes applied to the body */

.cbp-spmenu-push {
	overflow-x: hidden;
	position: relative;
	left: 0;
}

.cbp-spmenu-push-toright {
	left: 240px;
}

.cbp-spmenu-push-toleft {
	left: -240px;
}

/* Transitions */

.cbp-spmenu,
.cbp-spmenu-push {
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

/* Example media queries */

@media screen and (max-width: 55.1875em){

	.cbp-spmenu-horizontal {
		font-size: 75%;
		height: 110px;
	}

	.cbp-spmenu-top {
		top: -110px;
	}

	.cbp-spmenu-bottom {
		bottom: -110px;
	}

}

@media screen and (max-height: 26.375em){

	.cbp-spmenu-vertical {
		font-size: 90%;
		width: 190px;
	}

	.cbp-spmenu-left,
	.cbp-spmenu-push-toleft {
		left: -190px;
	}

	.cbp-spmenu-right {
		right: -190px;
	}

	.cbp-spmenu-push-toright {
		left: 190px;
	}
}



.menu-mobile-a{
	position:relative;
	display:block;
    -webkit-transition: opacity 0.2s cubic-bezier(0.645, 0.045, 0.355, 1),-webkit-transform 0.4s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    transition: opacity 0.2s cubic-bezier(0.645, 0.045, 0.355, 1),-webkit-transform 0.4s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    transition: opacity 0.2s cubic-bezier(0.645, 0.045, 0.355, 1),transform 0.4s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    transition: opacity 0.2s cubic-bezier(0.645, 0.045, 0.355, 1),transform 0.4s cubic-bezier(0.4, 0.01, 0.165, 0.99),-webkit-transform 0.4s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    -webkit-tap-highlight-color: transparent;
    width: 48px;
	height:48px;
    max-height: 48px;
}

.menu-mobile-a.checked{
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.menu-bread-container{
	position:absolute;
    display: block;
    width: 48px;
	height:48px;
    max-height: 48px;
}


.navbar-default .container{
	width:100% !important;
}

.menu-bread{
	position:absolute;
	height:1px;
	background:black;
	display:block;
	width:17px;
    -webkit-transition: -webkit-transform 0.2s;
    transition: -webkit-transform 0.2s;
    transition: transform 0.2s;
    transition: transform 0.2s, -webkit-transform 0.2s;	
	left:16px;
}

.menu-bread-top{
	top:23px;
    -webkit-transition: -webkit-transform 0.2s 0.2s;
    transition: -webkit-transform 0.2s 0.2s;
    transition: transform 0.2s 0.2s;
    transition: transform 0.2s 0.2s, -webkit-transform 0.2s 0.2s;
    -webkit-transform: translateY(-3px);
    -ms-transform: translateY(-3px);
    transform: translateY(-3px) scaleX(1.5);
}

.menu-bread-bottom{
	bottom:23px;
    -webkit-transition: -webkit-transform 0.2s;
    transition: -webkit-transform 0.2s;
    transition: transform 0.2s;
    transition: transform 0.2s, -webkit-transform 0.2s;
    transform: translateY(3px) scaleX(1.5);;	
}

.menu-mobile-a.checked .menu-bread-container-top{
    -webkit-transition: -webkit-transform 0.25s 0.2s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    transition: -webkit-transform 0.25s 0.2s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    transition: transform 0.25s 0.2s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    transition: transform 0.25s 0.2s cubic-bezier(0.4, 0.01, 0.165, 0.99), -webkit-transform 0.25s 0.2s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);

}

.menu-mobile-a.checked .menu-bread-container-bottom{
    -webkit-transition: -webkit-transform 0.25s 0.2s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    transition: -webkit-transform 0.25s 0.2s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    transition: transform 0.25s 0.2s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    transition: transform 0.25s 0.2s cubic-bezier(0.4, 0.01, 0.165, 0.99), -webkit-transform 0.25s 0.2s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);

}

.nav-container{
	padding-left:10px;
	padding-right:15px;
	position:relative;
	background-color: #fff;
}

.menu-mobile-a.checked .menu-bread-top{
    transform: translateY(0) scaleX(1.5);
}

.menu-mobile-a.checked .menu-bread-bottom{
	transform: translateY(0) scaleX(1.5);
}

.cbp-hrmenu > ul > li > a:hover,
.cbp-hrmenu > ul > li > a:focus{
	font-weight:500 !important;
}


@media screen and (max-width: 1200px){
	.master-logo{
		background-size:100%;
		width:100px;
		background-repeat:no-repeat;
		margin-top:10px;
		margin-bottom:0;
	}
	
	.cbp-hrmenu > ul{
		padding-top:20px;
	}
	
	.cbp-hrmenu > ul > li > a{
		font-size:12px;
		padding-left:10px;
	}
	
	.cbp-hrmenu li.pull-right a{
		padding-bottom:10px !important;
		margin-bottom:10px !important;
	}
}



@media screen and (max-width: 900px){
	.no-tab{
		display:none !important;
	}
	
	.no-mob{
		display:none !important;
	}
}

@media screen and (max-width: 800px){
	.menu__mobile {
	    display: block;
	}
	
	.no-tab{
		display:none;
	}
	
	.no-mob{
		display:none;
	}
	
	.master-logo{
		margin-bottom:0px;
	}
	
	.video-background{
		display:none;
	}
	
	.new-landing-header .arrow-box{
		display:none !important;
	}
	
	.new-landing-header .container{
		background:white !important;			
		height:275px !important;
	}

	.special-pad {
		padding: 3% 7%;
	}

	@media (max-width: 800px) {
		.special-pad {
		padding: 2%;
	}
	}
	
	.new-landing-header{
		height:300px !important;
	}
	
	.motto .text{
		color:black;
		width:100% !important;
	}
	
	.main-container{
		margin-top:-15px;
	}
	
	
	
}