/* CSS Document */

/* Here we save the header-related css. Everything used on header (except for the colors) should be here */

header{
	/* height: 300px;
	background: rgb(0,0,0);
	background: linear-gradient(180deg, rgba(0,0,0) 0%, rgba(0,0,0,0.82) 10%, rgba(0,0,0,0) 80%); */
	z-index: 10;
	position: absolute;
	top: 0px;
	width: 100%;
}

header #header_div{
	display: flex;
	align-content: center;
	align-items: center;
	justify-content: space-between;
	max-width: 1920px;
    margin: auto;
}

header #header_logo img{
	margin: 12px 20px 15px 10px;
    max-height: 45px;
}

header ul#header_menu{
	display: flex;
	justify-content: space-around;
	flex-grow: 1;
	vertical-align: middle;
	max-width: 50%;
}

header ul#header_menu li, footer ul#footer_menu li{
	display: inline-block;
}

header.fr #header_right{
	display: flex;
	justify-content: space-between;
	flex-grow: 1;
	max-width: 13%;
	align-items: center;
}

header.en #header_right{
	display: flex;
	justify-content: space-between;
	flex-grow: 1;
	max-width: 11%;
	align-items: center;
}

header #header_right>div{
	height: 65px;
	display: flex;
	align-content: center;
	align-items: center;
	/*background-color: black;*/
}

header #header_right a{
	display: inline-block;
}

header #header_right img{
	padding: 30px 20px 30px 20px;
}

header ul#header_menu li a, header #header_right a, header #header_right{
	font-family: "AgendaMedium", Agenda, Gill Sans, Arial;
	text-transform: uppercase;
	text-decoration: none;
}

header ul#header_menu li a, header #header_right a, #header_right span{
	font-size: 1.4em;
	margin: 0 3px;
}

/* The sticky class is added to the header with JS when it reaches its scroll position */
.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  height: 65px;
  /*background: linear-gradient(180deg, rgb(0, 0, 0) 0%, rgba(0,0,0,0.7155637254901961) 60%, rgba(255,255,255,0) 100%);*/
  background: white;
  border-bottom: #dddddd 1px solid !important;
}

/* Add some top padding to the page content to prevent sudden quick movement (as the header gets a new position at the top of the page (position:fixed and top:0) */
.sticky + #slider_div {
  padding-top: 0px;
}

.whitehead{
	border-bottom: #dfdfdf 1px solid;
	height: 65px;
	background: white;
}

#hamburger_toggle{
	cursor: pointer;
}

#header_hamburger{
	position: fixed;
	top: 65px;
	right: 0px;
	padding: 10px;
	max-width: calc(100% - 20px);
	max-height: 100%;
	overflow: auto;
	display: none;
}

#header_hamburger #hamburger_logo_image{
	height: 40px;
	text-align: left;
}

#header_hamburger #hamburger_close{
	float: right;
	padding: 10px;
}

#hamburger_content{
	display: flex;
	flex-direction: row;
	margin-top: 10px;
	min-height: 320px;
	min-width: 320px;
}

#hamburger_content a, #hamburger_top a{
	text-decoration: none;
	text-transform: uppercase;
}

#hamburger_top{
	display: none;
	flex-direction: row;
	min-width: 350px;
	width: 100%;
}

#hamburger_top_left {
    margin-top: 5px;
    margin-right: 10px;
    display: flex;
    flex-direction: column;
    width: 80%;
	text-align: right;
	font-size: 1.2rem;
}

#hamburger_top_right{
	display: flex;
	flex-direction: column;
	border-left: 1px solid;
	padding-left: 15px;
	justify-content: space-between;
	margin-top: 5px;
	font-size: 1.2rem;
}

#hamburger_top a{
	font-size: 1.3em;
	line-height: 2;
}

#hamburger_social{
	display: flex;
	flex-direction: column;
	border-left: 1px solid;
	padding-left: 15px;
	justify-content: space-between;
	padding-bottom: 20px;
}

#hamburger_social a{
	margin: 5px;
}

#hamburger_social a:first-of-type{
	margin-top: 0px;
}

#hamburger_social a:last-of-type{
	margin-bottom: 0px;
}

#hamburger_social a img{
	height: 35px;
}

#hamburger_links{
	margin-right: 10px;
	display: flex;
	flex-direction: column;
	width: 80%;
	margin-top: -20px;
}

#hamburger_links ul{
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

#hamburger_links ul li{
	margin: 5px 0;
	font-size: 1.2rem;
	font-family: "AgendaMedium";
	/*line-height: 2rem;*/
}

#hamburger_links #mobileham{
	display: none;
}


.greylink_nav a {
    color: #fff;
    font-size: 1.15em;
    line-height: 2.8;
}


/* Sugarnation stuff */

div#sugarnation_join{
	width: 100%;
	display: flex;
	align-items: center;
}

div.sugarnation_sides{
	height: 1px; margin: 30px 10px; background-color: white; display: inline-flex; flex-grow: 1;
}

div#sugarnation_content{
	width: 1180px;
	flex-grow: 0;
	display: inline-flex;
	margin: 10px 0;
	align-items: center;
}

div#sugarnation_button{
	border: 1px solid;
	padding: 2px 30px;
	display: flex;
	flex-grow: 0;
	align-items: center;
	font-size: 1.6rem;
	font-family: AgendaMedium;
	margin: 10px 0px;
}

div#sugarnation_button a{
	text-decoration: none;
}

div#sugarnation_social{
	display: flex;
	flex-grow: 0;
	align-items: center;
	font-size: 1.1rem;
    font-family: 'Lato';
}

div#sugarnation_social a{
	margin-right: 10px;
}

div#sugarnation_social a:last-of-type{
	margin-right: 0px;
}

div#whitehead_top_margin{
	margin-top: 60px;
}
