/*Main Menu*/

/**
 * Header Styles
 */

#header {
	position: absolute;
	z-index: 99;
	width: 100%;
	min-height: 105px;
	top: 0;
	background-color: #fff;
	box-shadow: 5px 2px 20px rgba(0, 0, 0, 0.3);
	-webkit-transition: .3s ease-in-out;
	-moz-transition: .3s ease-in-out;
	-o-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}

#header.ishome {
	background-color: rgba(0, 0, 0, 0);
	box-shadow: none;
	background-size: 10px;
	background-repeat: repeat-x;

}

#logo.ishome {
	background-image: url("/themes/custom/boatclub/img/boatclublogo_white.svg");
}

/****************  NAVBAR ( the 3 colums) ****************************/

#navbar {
	background-color: #fff;
	background-size: 11px;
	background-color: transparent;
	background-position: bottom;
	width: 95%;
    margin: auto;
	border-bottom: 1px solid rgba(199, 199, 199, 0.4);
}


/**************** LOGO ****************************/

#logo {
	background-image: url("/themes/custom/boatclub/img/boatclublogo_gradient.svg");
	display: block;
	background-repeat: no-repeat;
	min-height: 57px;
	margin: 24px auto;
    background-position: center;
}

#logo.dark {
	background-image: url("/themes/custom/boatclub/img/boatclublogo_white.svg");
}


.branding_bah{ background-image: url("/themes/custom/boatclub/img/boatclublogo_gradient.svg");}
.branding_cafe{ background-image: url("/themes/custom/boatclub/img/cafeboatclub_gradient.svg");}
.branding_dockside{ background-image: url("/themes/custom/boatclub/img/dockside_gradient.svg");}

/****************  Icons ****************************/

#header-icons{
	padding-top: 43px;
}

#header-icons ul{
	display: flex;
	list-style: none;
	max-width: 200px;
}

#header-icons ul li{
	margin: auto;
}

#header-icons a i{
	font-family: FontAwesome;
}
#header-icons a i{ color: #333; }
#header-icons.ishome a i{ color: #fff;}


#header-icons a i span{	
	font-family: 'Open Sans', sans-serif;
	display: none;
}

#header-icons a i span{ color: #333;}
#header-icons.ishome a i span{ color: #fff;}


.reserve_slip_btn{

	
}


/****************  HAMBUREGER ****************************/

.header_burger {
	min-height: 100px;
}

#hamburger {
	width: 45px;
	height: 45px;
	position: relative;
	margin: 30px auto;
	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
	-o-transform: rotate(0deg);
	transform: rotate(0deg);
	-webkit-transition: .5s ease-in-out;
	-moz-transition: .5s ease-in-out;
	-o-transition: .5s ease-in-out;
	transition: .5s ease-in-out;
	cursor: pointer;
	display: block;
	background-color: transparent;
	border: none;
	z-index: 2;
}

#hamburger span {
	background: #333;
	display: block;
	position: absolute;
	height: 4px;
	width: 85%;
	opacity: 1;
	left: 2px;
	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
	-o-transform: rotate(0deg);
	transform: rotate(0deg);
	-webkit-transition: .25s ease-in-out;
	-moz-transition: .25s ease-in-out;
	-o-transition: .25s ease-in-out;
	transition: .25s ease-in-out;
}

#hamburger.ishome span {
	background: #fff;
}

#hamburger span.dark {
	background: #fff;
}

#hamburger span:nth-child(1) {
	top: 12px;
}

#hamburger span:nth-child(2),
#hamburger span:nth-child(3) {
	top: 22px;
}

#hamburger span:nth-child(4) {
	top: 32px;
}

#hamburger.open span:nth-child(1) {
	top: 18px;
	width: 0%;
	left: 50%;
}

#hamburger.open span:nth-child(2) {
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
}

#hamburger.open span:nth-child(3) {
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

#hamburger.open span:nth-child(4) {
	top: 18px;
	width: 0%;
	left: 50%;
}

a.up{
	color: #1c3f74 !important;
}

/****************  DROPDOWN MENU ****************************/

.nav-wrapper{
	display: none;
	background-color: #fff;
	position: fixed;
	z-index: 100;
	width: 100%;
	bottom: 0px;
	top: 0px;
	box-shadow: 4px 0 5px -5px #000;
}

.dropdow_menu {
	min-height: 0;
	overflow: hidden;
	width: 100%;
	z-index: 5;
	background-color: #fff;
}

#menu-logo{
	background-image: url("/themes/custom/boatclub/img/emblem_menu.svg");
	display: block;
	background-repeat: no-repeat;
	min-height: 65px;
    margin: 17px 23px 0px 32px;
}

#close_menu{
	overflow: hidden;
	float: right;
	padding: 12px 22px;
    background-color: #fff;
    border: none;
    font-size: 37px;
    color: #aaa;
	-webkit-transition: .3s ease-in-out;
	-moz-transition: .3s ease-in-out;
	-o-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}

#close_menu:hover{
	color: #1c3f74;
}

#sm {

	background-color: #fff;
	overflow: hidden;
	width: 100%;
	padding-bottom: 70px;
}


#sm a {
	color: #282828;
	font-family: 'Open Sans', sans-serif;
	font-weight: 600;
	-webkit-transition: color .2s;
	-moz-transition: color .2s;
	-o-transition: color .2s;
	transition: color .2s;
}

#sm a:hover {
	color: #1c3f74;
	text-decoration: none;
	background-color: #eee;
}

#sm ul {
	display: none;
}

#sm li a {
	padding: 10px 0 10px 35px;
	display: block;
	font-size: 1.1em;
	text-transform: uppercase;
}

#sm li {
	padding: 0;
	list-style-type: none;
	border-bottom: 1px solid #eee;
}


#sm .has_submenu a:after {
	content: "\f105";
	display: inline-block;
	-webkit-font-smoothing: antialiased;
	padding-left: 20px;
	font-family: FontAwesome;
}

#sm .has_submenu > .up {
	background-color: #eee;
}

#sm .has_submenu > .up:after {
	content: "\f106";
}

#sm .is-active {
	text-decoration: none;
}

#sm .no_submenu a:after {
	content: ""
}

#sm .submenu_1 li a {
	margin-left: 25px;
}

#sm .has_submenu_2.up a {
	margin-left: 0;
}

#sm .has_submenu_2 .no_submenu {
	margin-left: 25px;
}



/* Medium devices (tablets, 768px and up)*/

@media (min-width: 768px) {

    #header {
        position: fixed;
    }

	/****************  SOCIAL MEDIA ****************************/
	ul.header_social {
		list-style: none;
		margin: 0;
		padding: 0;
		min-height: 65px;
		margin-top: 41px;
	}

	ul.header_social li {
		display: inline-block;
		width: 50px;
		height: 50px;
	}

	ul.header_social li a {
		width: 100%;
		height: 22px;
		background-repeat: no-repeat;
		display: block;
	}

	ul.header_social li:nth-child(1) a {
		background-image: url("/themes/custom/boatclub/img/facebook_icon_dark.svg");
	}

	ul.header_social.ishome li:nth-child(1) a,
	ul.header_social.dark li:nth-child(1) a {
		background-image: url("/themes/custom/boatclub/img/facebook_icon.svg");
	}

	ul.header_social li:nth-child(2) a {
		background-image: url("/themes/custom/boatclub/img/instagram_icon_dark.svg");
	}

	ul.header_social.ishome li:nth-child(2) a,
	ul.header_social.dark li:nth-child(2) a {
		background-image: url("/themes/custom/boatclub/img/instagram_icon.svg");
	}

	ul.header_social li:nth-child(3) a {
		background-image: url("/themes/custom/boatclub/img/twitter_icon_dark.svg");
	}

	ul.header_social.ishome li:nth-child(3) a,
	ul.header_social.dark li:nth-child(3) a {
		background-image: url("/themes/custom/boatclub/img/twitter_icon.svg");
	}

	.header_social {
		display: block;
		text-align: right;
	}


	/************ LOGO ********/
	#logo {
		min-height: 65px;
		margin: 20px 240px 20px 50px;
	}
	
	.nav-wrapper{
		width: 40%; 
		max-width: 350px;
	}

}


/* Medium Devices, Desktops */
@media only screen and (min-width: 992px) {


	/************ Icons *************/

	#header-icons a i span{
		display: inline;
	}


}
