

/*--------------------------------------------------------------
  Container
--------------------------------------------------------------*/

.main-header {
	display: flex;
	height: 90px;
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	flex-wrap: wrap;
	z-index: 9;
    background-color: #FFF;
	/*transition: all .2s;*/
}

#sticky-menu {
	height: 100%;
	width: 100%;
	padding: 0 20px;
	display: none;
	flex-wrap: wrap;
	transition: all .2s;
}

@media only screen and (min-width: 1024px) {
	.main-header {
		height: 120px;
	}

	#sticky-menu {
		height: 120px;
	}
}

.main-header-container {
	height: 100%;
	width: 100%;
	margin: auto;
	/* padding: 0 20px; */
	position: relative;
	display: flex;
	justify-content: space-between;
	/* border:1px solid; */
	padding:0 40px;

}

.main-header-container,
#sticky-menu {
	/* ta bort denna om menyraden ska vara fullwidth */
	max-width: 1290px;
	margin: auto;
	/* padding: 0 40px; */
}

@media only screen and (max-width: 600px) {
	.main-header-container,
	#sticky-menu {
		padding: 0px;
	}

	.main-header-container{
		width:90%;
		margin: auto;
	}
}

@media only screen and (min-width: 1024px) {
	.main-header-container,
	#sticky-menu {
		/* padding: 0px; */
	}
}




/*--------------------------------------------------------------
  Logo
--------------------------------------------------------------*/

.main-header .main-logo-container{
	height: 100%;
	/*display: inline-flex;*/
	/*justify-content: flex-start;*/
	position: absolute;
}

.main-header .logo {
	height: 100%;
	/*width: 30%;*/
	/*display: inline-flex;*/
	display: flex;
	/*justify-content: flex-start;*/
	top: 20%;
	max-height: 60%;
	position: relative;
}

.main-header .logo a {
	height: 100%;
}

.main-header .logo img {
	height: 100%;

	/* Denna hämtas med jquery pga bugg med svg-filer */
	width: auto;
}

/*#sticky-menu .logo a {
	width: auto !important;
}*/

/* mobile home */
.home .main-header-container .logo-light {
	display: block;
}

.home .main-header-container .logo-dark {
	display: none;
}

.home .main-header-container .small-logo-light {
	display: none;
}

.home .main-header-container .small-logo-dark {
	display: none;
}

/* mobile */
.main-header-container .logo-light {
	display: block;
}

.main-header-container .logo-dark {
	display: none;
}

.main-header-container .small-logo-light {
	display: none;
}

.main-header-container .small-logo-dark {
	display: none;
}

/* mobile sticky */
#sticky-menu .logo-light {
	display: block;
}

#sticky-menu .logo-dark {
	display: none;
}

#sticky-menu .small-logo-light {
	display: none;
}

#sticky-menu .small-logo-dark {
	display: none;
}

/* mobile menu */
.mobile-menu.pushed .logo-light {
	display: none;
}

.mobile-menu.pushed .logo-dark {
	display: none;
}

.mobile-menu.pushed .small-logo-light {
	display: none;
}

.mobile-menu.pushed .small-logo-dark {
	display: none;
}
.custom-logo-link::after{
	opacity: 0;
}
@media only screen and (min-width: 1024px) {
	.custom-logo-link::after{
		content: "connect";
		font-size: 24px;
		border-left: 2px solid;
		color: #B8C8D5 !important;
		padding-left: 6px;
		margin-top: 18px;
		position: absolute;
		background: #fff;
		opacity: 1;
	}

	/* desktop home */
	.home .logo-light {
		display: block;
	}

	.home .logo-dark {
		display: none;
	}

	.home .small-logo-light {
		display: none;
	}

	.home .small-logo-dark {
		display: none;
	}
	
	/* desktop */
	.logo-light {
		display: block;
	}

	.logo-dark {
		display: none;
	}

	.small-logo-light {
		display: none;
	}

	.small-logo-dark {
		display: none;
	}

	/* desktop sticky */
	#sticky-menu .logo-light {
		display: block;
	}

	#sticky-menu .logo-dark {
		display: none;
	}

	#sticky-menu .small-logo-light {
		display: none;
	}	

	#sticky-menu .small-logo-dark {
		display: none;
	}
}




/*--------------------------------------------------------------
  Desktop menu
--------------------------------------------------------------*/

.main-header nav {
	height: 90px;
	width: 100%;
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: flex-end;
}

@media only screen and (min-width: 1024px) {
	.main-header nav {
		height: 120px;
	}
}

.main-header nav a {
	font-size: 20px;
	font-weight: bold;
}

.desktop-menu {
	display: none;
}

.mobile-menu {
	display: none;
}

@media only screen and (min-width: 1024px) {
	.desktop-menu {
		height: 100%;
		display: flex;
		opacity: 1;	
	}

	.desktop-menu ul {
		display: flex;
	}

	.desktop-menu div {
		height: 100%;
	}

	.desktop-menu div > ul {
        height: 100%;
        margin: 0;
	}

	.desktop-menu div > ul li {
		position: relative;
		height: 100%;
		display: flex;
		align-items: center;
	}

	.main-navigation ul ul {
		float: left;
		position: absolute;
		z-index: 99999;
	}

	.desktop-menu div > ul > li > a {
		padding: 20px 15px;
	}
	.menu-item a,
	.menu-item a:hover,
	.menu-item a:active{
		text-decoration: none !important;
	}
    .menu-item a:hover::before{
        transition: color .2s;
        content: "";
        width: 20px;
        height: 4px;
        background-color: #849CB1;
        position: absolute;
        transition: color .2s;
        left: calc(50% - 10px);
        margin-top: 38px;
        border-radius: 4px; 
    }
	.desktop-menu a,
	.desktop-menu a:visited,
	.desktop-menu li.menu-item-has-children > a::after {
		transition: color .2s;
	}

	.desktop-menu a:hover,
	.desktop-menu a:active,
	.desktop-menu a:focus,
	.pixel-dekstop-menu li.menu-item-has-children > a:hover::after {
		transition: color .2s;
	}

	.desktop-menu li.menu-item-has-children > a:after {
	/*	content: '<i class="fab fa-500px"></i>';
		font-family: 'FontAwesome';
		display: inline-flex;
		transition: .2s color;
		margin-left: 5px;
		position: absolute;*/
	}

	.desktop-menu li.menu-item-has-children:hover > a:after {
	    transition: .2s color;
	}

	.desktop-menu .sub-menu {
		display: none;
		padding: 10px 0;
	}

	.desktop-menu li:hover .sub-menu {
		display: flex;
		flex-wrap: wrap;
		width: 200px;
		z-index: 10;
		top: 80%;
		left: 0;
        position: absolute;
	}

	#sticky-menu .desktop-menu li:hover .sub-menu {
		margin-top: 0;
		/*top: 100%;*/
	}

    .desktop-menu .sub-menu li {
        width: 100%;
    }

	.desktop-menu .sub-menu a {
		font-size: 18px;
		padding: 10px 20px;
        width: 100%;
	}
}

@media only screen and (min-width: 1280px) {
	.desktop-menu div > ul > li > a {
		padding: 20px 25px;
	}
}


/*--------------------------------------------------------------
  Fullscreen mobile menu
--------------------------------------------------------------*/

.mobile-menu {
	z-index: 100;
    opacity: 1;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate3d(0, -100%, 0);
    transition: transform 0.2s;
    display: block;

    /*background-color: #000;*/

	/* Hur mycket av skärmen som ska täckas av menyn */
    width: 100%; 
    min-height: 100%;
}

.mobile-menu.pushed {
	transform: translate3d(0, 0, 0);
    transition: transform .2s;
    height: 100%;
    overflow-y: auto;
}

.mobile-menu-container {
	display: flex;
	position: relative;
	flex-flow: row;
	flex-wrap: wrap;
	justify-content: flex-start;
	margin: 20px;
	margin-left: 40px;
	margin-right: 40px;
	margin-top: 0;
}

.mobile-menu-fullscreen {
	width: 100%;
	min-height: calc( 100vh - 30px );
}


ul.menu {
	width: 100%;
}

ul.menu > li {
    /*padding-left: 5px;*/
    position: relative;
}

ul.menu ul.sub-menu li {
	display: block;
}

ul.menu ul.sub-menu li a {
	font-size: 16px;
}

ul.menu ul.sub-menu li ul {
	margin-left: 20px;
}

.mobile-menu .mobile-menu-part {
	display: flex;
    width: 100%;
	margin-bottom: 20px;
	margin-top: 60px;
}
.mobile-menu .mobile-menu-part ul{
	padding: 0;
}

.mobile-menu .mobile-menu-part > div {
	width: 100%;
}

.mobile-menu a {
	display: inline-flex;
	padding: 10px 10px 10px 0;
	font-size: 24px;
}

.mobile-menu .logo {
	height: 40px;
}

.mobile-menu .logo img {
	height: 100%;
	width: auto;
}

#body-overlay {
	display: none;
	height: 100%;
	width: 100%;
	position: fixed;
	z-index: 99;
}

body {
	overflow-x: hidden;
}

/* Brytpunkt för när menyn inte är fullscreen längre */

@media only screen and (min-width: 600px) {
	.mobile-menu {
		/*width: 50%;*/
		/*transform: translate3d(200%, 0, 0);*/
	}
	
	.mobile-menu.pushed {
		/*transform: translate3d(100%, 0, 0);*/
		/*transition: transform .2s;*/
	}
}

@media only screen and (min-width: 1024px) {
	.mobile-menu {
		width: 33.3333%;
		transform: translate3d(310%, 0, 0);
	}
		
	.mobile-menu.pushed {
		transform: translate3d(201%, 0, 0);
		/*transition: transform .2s;*/
	}
}




/*--------------------------------------------------------------
  Mobile menu button
--------------------------------------------------------------*/

.mobile-menu-button-container {
	height: 70px;
	width: 70px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	position: relative;
	z-index: 999999;
	border-radius: 100%;
    background-color: #F2F5F7;
    margin-top:10px;
}

.mobile-menu .mobile-menu-button-container {
	position: absolute;
	top: 10px;
	right: -30px;
	padding: 0;
}

/* Här kan du inaktivera den mobila menyn från att synas på stor skärm om du 
avkommenterar nedanför */

@media only screen and (min-width: 1024px) {
	.main-header .mobile-menu-button-container {
		display: none;
	}

	.main-header .mobile-menu-button-container {
		margin-left: 20px;
	}
}

.mobile-menu-button {
	background: transparent;
	z-index: 999999;
	width: 25px;
	height: 20px;
	position: relative;
	transform: rotate(0deg);
	cursor: pointer;
}

.mobile-menu-button.open {
	z-index: 100;
}

.mobile-menu-button span {
    display: flex;
    position: absolute;
    height: 4px;
    width: 100%;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: all ease-in-out .3s;
    border-radius: 20px;
}

.mobile-menu-button span:nth-child(1) {
    top: 0px;
}

.mobile-menu-button span:nth-child(2),
.mobile-menu-button span:nth-child(3) {
    top: 8px;
}

.mobile-menu-button span:nth-child(4) {
	top: 16px;
}

.mobile-menu-button.open span:nth-child(1) {
	top: 10px;
	width: 0%;
	left: 50%;
}

.mobile-menu-button.open span:nth-child(2) {
	transform: rotate(45deg);
}

.mobile-menu-button.open span:nth-child(3) {
	transform: rotate(-45deg);
}

.mobile-menu-button.open span:nth-child(4) {
	top: 10px;
	width: 0%;
	left: 50%;
}




/*--------------------------------------------------------------
  Menu extra
--------------------------------------------------------------*/

.mobile-menu .cta a,
.desktop-menu .cta a {
	padding: 10px 20px;
	margin: 20px 0;
}

@media only screen and (min-width: 1024px) {
	.desktop-menu .cta a {
		padding: 10px 20px;
		margin: 0 20px;
	}

	#sticky-menu .desktop-menu .cta a {
		padding: 5px 10px;
	}
}


/*--------------------------------------------------------------
	Header (desktop container)
--------------------------------------------------------------*/

/* home, background */
.home .main-header {
	background-color: rgba(255, 255, 255, 1.0);
}

/* background */
.main-header-container {
	background-color: rgba(255, 255, 255, 1.0);
}

/* sticky, background */
#sticky-menu {
	background-color: rgba(255, 255, 255, 1.0);
}




/*--------------------------------------------------------------
	Header (desktop menu)
--------------------------------------------------------------*/

/* home, normal */
/*.home .desktop-menu a,*/
/*.home .desktop-menu a:visited,*/
/*.home .desktop-menu li.menu-item-has-children > a::after {*/
	/*color: #B8C8D5;*/
/*}*/

/* home, hover */
/*.home .desktop-menu a:hover,
.home .desktop-menu a:active,
.home .desktop-menu a:focus,*/
/*.home .desktop-menu .current-menu-item a,
.home .desktop-menu li.menu-item-has-children > a:hover::after,
.home .desktop-menu li.menu-item-has-children.current-menu-item > a::after {
	color: #B8C8D5;
}*/

/* normal */
.desktop-menu a,
.desktop-menu a:visited,
.desktop-menu a:active,
.desktop-menu li.menu-item-has-children > a::after {
    color: #B8C8D5;
    text-decoration: none;
}

/* hover */
.desktop-menu a:hover,
.desktop-menu a:active,
.desktop-menu a:focus,
/*.desktop-menu .current-menu-item a,*/
.desktop-menu li.menu-item-has-children > a:hover::after,
.desktop-menu li.menu-item-has-children.current-menu-item > a::after {
    color: #849CB1;
}

/* sticky, normal */
#sticky-menu .desktop-menu a,
#sticky-menu .desktop-menu a:visited,
#sticky-menu .desktop-menu li.menu-item-has-children > a::after {
	color: #B8C8D5;
}

/* sticky, hover */
#sticky-menu .desktop-menu a:hover,
#sticky-menu .desktop-menu a:active,
#sticky-menu .desktop-menu a:focus,
#sticky-menu .desktop-menu .current-menu-item > a,
#sticky-menu .desktop-menu li.menu-item-has-children > a:hover::after,
#sticky-menu .desktop-menu li.menu-item-has-children.current-menu-item > a::after {
	color: #849CB1;
}

/* submenu, background */
.desktop-menu .sub-menu {
	background-color: #F2F5F7;
}

/* sticky, submenu, background */
#sticky-menu .desktop-menu .sub-menu {
	background-color: rgba(0, 0, 0, 0.7);
}


/* submenu */
.desktop-menu .sub-menu a,
.desktop-menu .sub-menu a:visited {
	color: #B8C8D5;
}

/* sticky, submenu */
#sticky-menu .desktop-menu .sub-menu a,
#sticky-menu .desktop-menu .sub-menu a:visited {
	color: #B8C8D5;
}

/* submenu, hover */
.desktop-menu .sub-menu a:hover,
.desktop-menu .sub-menu a:active,
.desktop-menu .sub-menu a:focus,
.desktop-menu .sub-menu li.current-menu-item > a {
	color: #B8C8D5;
}

/* sticky, submenu, hover */
#sticky-menu .desktop-menu .sub-menu a:hover,
#sticky-menu .desktop-menu .sub-menu a:active,
#sticky-menu .desktop-menu .sub-menu a:focus,
#sticky-menu .desktop-menu .sub-menu li.current-menu-item > a {
	color: #B8C8D5;
}


/* cta, normal */
.cta a,
.cta a:visited {
	background-color: transparent;
	border-color: #EC685B;
	color: #EC685B;
}

/* cta, hover */
.cta a:hover,
.cta a:active,
.cta a:focus {
	background: transparent;
	border-color: #fff;
	color: #fff;
}

/* cta, home normal */
.home .cta a,
.home .cta a:visited {
	background: transparent;
	border-color: #EC685B;
	color: #EC685B;
}

/* cta, home hover */
.home .cta a:hover,
.home .cta a:active,
.home .cta a:focus {
	background: transparent;
	border-color: #fff;
	color: #fff;
}

/* cta, sticky normal */
#sticky-menu .cta a,
#sticky-menu .cta a:visited {
	background: transparent;
	border-color: #3D95CE;
	color: #3D95CE;
}

/* cta, sticky hover */
#sticky-menu .cta a:hover,
#sticky-menu .cta a:active,
#sticky-menu .cta a:focus {
	background: transparent;
	border-color: #333;
	color: #333;
}


.hide_me {
	display: none !important;
}


/*--------------------------------------------------------------
	Header (mobile menu)
--------------------------------------------------------------*/

/* background */
.mobile-menu {
	background-color: #F2F5F7;
}

/* normal */
.mobile-menu a,
.mobile-menu a:visited {
	color: #BECEDB;
}

/* hover */
.mobile-menu a:hover,
.mobile-menu a:active,
.mobile-menu a:focus {
    color: #5DA8BC;
}

/* body overlay */
#body-overlay {
	background-color: rgba(0, 0, 0, .5);
}




/*--------------------------------------------------------------
	Header (mobile menu button)
--------------------------------------------------------------*/

/* home, normal */
.home .mobile-menu-button-container span,
.home .mobile-menu-button-container .mobile-menu-button::before {
	background: #BECEDB;
	color: #BECEDB;
}

/* home, hover */
.home .mobile-menu-button-container:hover span,
.home .mobile-menu-button-container:hover .mobile-menu-button::before {
	background: #5DA8BC;
	color: #5DA8BC;
}

/* normal */
.mobile-menu-button-container span,
.mobile-menu-button-container .mobile-menu-button::before {
	background: #BECEDB;
	color: #BECEDB;
}

/* hover */
.mobile-menu-button-container:hover span,
.mobile-menu-button-container:hover .mobile-menu-button::before {
	background: #5DA8BC;
	color: #5DA8BC;
}

/* sticky, normal */
#sticky-menu .mobile-menu-button-container span,
#sticky-menu .mobile-menu-button-container .mobile-menu-button::before {
	background: #BECEDB;
	color: #BECEDB;
}

/* sticky, hover */
#sticky-menu .mobile-menu-button-container:hover span,
#sticky-menu .mobile-menu-button-container:hover .mobile-menu-button::before {
	background: #5DA8BC;
	color: #5DA8BC;
}

/* open, normal */
.mobile-menu-button-container .open span,
.mobile-menu-button-container .open.mobile-menu-button::before {
	background: #BECEDB;
	color: #BECEDB;
}

/* open, hover */
.mobile-menu-button-container:hover .open span,
.mobile-menu-button-container:hover .open.mobile-menu-button::before {
	background: #5DA8BC;
	color: #5DA8BC;
}


/*--------------------------------------------------------------
	Loign / logout (Desktop)
--------------------------------------------------------------*/


@media only screen and (min-width: 1024px) {
    .login-btn a,
    .logout-btn a {
        background: #F2F5F7;
        color: #B8C8D5;
        padding: 5px 15px !important;
        border-radius: 20px;
        margin-left: 50px;
    }

    .login-btn a:hover::after,
    .logout-btn a:hover::after{
        display: none;
    }

	
}

/*@media only screen and (min-width: 1024px) {
	.logout-btn a{
		max-width: 120px;
	}
	.logout-btn-active{
		border-bottom-left-radius: 0 !important;
		border-bottom-right-radius: 0 !important;
	}

	.menu-item a::after{
		display: none !important;
	}
	.sub-menu {
		background-color: transparent !important;
		margin-top: -22px !important;
	}
	.sub-menu a{
		border-top-right-radius: 0;
		border-top-left-radius: 0;
		max-width: 118px !important;
		padding: 5px 12px !important;
		border-bottom-left-radius: 15px !important;
		border-bottom-right-radius: 15px !important;
		
	}
}

.menu{
	list-style: none !important;
}
@media only screen and (max-width: 1024px) {
	.sub-menu{
		padding-left: 0;
	}
	.sub-menu a{
		font-size: 24px !important;
	}

}*/

.sub-menu a::after,
.sub-menu a::before {
	display: none;
}
.sub-menu a:hover {
	color: #91a2af !important;
}
.sub-menu li {
	margin: 5px 0;
}
.dropdown_arrow {
	padding-top: 7px;
	margin-left: 5px;
}

@media only screen and (min-width: 1024px) {
	.dropdown_arrow {
		display: inline-block;
		padding-top: 0;
	}
}

@media only screen and (max-width: 1024px) {
	#loggedin-menu{
	  list-style: none;
	}
}
