
.custom-wrapper {
    background-color: rgba(18, 5, 80, 1);
    margin-bottom: 1em;
    -webkit-font-smoothing: antialiased;
    /*height: 2.1em;
    overflow: hidden;*/
    -webkit-transition: height 0.5s;
    -moz-transition: height 0.5s;
    -ms-transition: height 0.5s;
    transition: height 0.5s;
	position:fixed;
	z-index: 1000;
	width: 100%;
	padding: 1vw 0 0 0;
}

/*.custom-wrapper.open {
    height: 14em;
}*/

.custom-menu-3 {
    text-align: right;
}

.custom-toggle {
    width: 34px;
    height: 34px;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    display: none;
}

.custom-toggle .bar {
    background-color: #fff;
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 100px;
    position: absolute;
    top: 18px;
    right: 7px;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    transition: all 0.5s;
}

.custom-toggle .bar:first-child {
    -webkit-transform: translateY(-6px);
    -moz-transform: translateY(-6px);
    -ms-transform: translateY(-6px);
    transform: translateY(-6px);
}

.custom-toggle.x .bar {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.custom-toggle.x .bar:first-child {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

div#menu > .pure-u-lg-2-3 {
    display: block;
}

div#menu.open > .pure-u-lg-2-3 {
    display: block;
}
@media (max-width: 47.999em) {
	div#menu > .pure-u-lg-2-3 {
    	display: none;
	}
	
	div#menu.open > .pure-u-lg-2-3 {
		display: inherit;
		/*background-color: rgba(18, 5, 80, 0.9);*/
	}
    .custom-menu-3 {
        text-align: left;
    }

    .custom-toggle {
        display: block;
    }


}



div#menu > .pure-u-lg-2-3 {
	position: relative;
    top: 0;
    left: 0;
}
div#menu > .pure-u-lg-2-3 div.pure-menu-list {
	display:flex;
	border-bottom: 4px solid rgb(18, 5, 80);
}
div#menu > .pure-u-lg-2-3 div.pure-menu-list div.pure-menu-item {
	flex-grow: 1;
}
div#menu > .pure-u-lg-2-3 div.pure-menu-list div.pure-menu-item a.pure-menu-link {
    text-align: center;
	outline: none;
}
.pure-menu-active>.pure-menu-link, .pure-menu-link:focus, .pure-menu-link:hover {
    background-color: transparent;
}
@media (max-width: 47.999em) {
	div#menu > .pure-u-lg-2-3 div.pure-menu-list {
		flex-direction: column;
		display:block;
	}
	div#menu > .pure-u-lg-2-3 div.pure-menu-list div.pure-menu-item a.pure-menu-link {
		text-align: left;
		padding-left: 0;
		padding-top:3.75vh;
		display:block;
		position: relative;
		
	}
	.pure-menu.custom-can-transform {
		width: 85%;
    	padding: 5.5vh 0 0 15%;
		height:100vh
	}
	div#menu > .pure-u-lg-2-3 {
		background-color: rgba(18, 5, 80, 0);
	}
	.custom-wrapper {
		height: 2.1em;
    	background-color: rgba(18, 5, 80, 0.9);
	}
	.custom-wrapper.open {
		height: 100%;
	}
	div#menu > .pure-u-lg-2-3 div.pure-menu-list {
		border-bottom: 4px solid rgba(18, 5, 80, 0);
	}
	.custom-toggle{
		transform: scaleX(0.85) scaleY(0.85) translateX(4px) translateY(2px);
		transition:ease 0.5s transform;
	}
	.custom-toggle.x{
		/*transform:  scaleX(0.85) scaleY(0.85) translateX(4px)  translateY(-1px);*/
		transform:  scaleX(1.85) scaleY(1.85) translateX(-5px)  translateY(23px) ;
	}


}
.max-fit.controlBG {
	max-width: 100%;
	width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    height: 60px;
    background: #fff;
    z-index: 0;
}

@media screen and (min-width: 480px) and (max-width: 58em){
	.max-fit.controlBG {
		height: 120px;
	}
}
@media screen and (max-width: 479.999px){
	.max-fit.controlBG {
		height: 90px;
	}
	.wufoo li {
   		width: 100%;
  	}
}
.pure-menu.pure-menu-horizontal {
    padding-left: 2%;
    padding-right: 2%;
}