.primary_menu {
	z-index:-1;
	
}

#block-doina-theme-main-menu, #block-doina-theme-archivemenu {
	position: absolute;
	top: -29px;
}

#block-doina-theme-main-menu ul.menu, #block-doina-theme-archivemenu  ul.menu{
	display: flex;	
	margin-left:30px;
	margin-bottom:0;
}

#block-doina-theme-main-menu .menu li, #block-doina-theme-archivemenu  ul.menu li {
	display: flex;
	align-items: left;
	list-style: none;
	cursor: pointer;
	margin-right: 6px;
	border: 1px solid #FFF8EE;
	border-bottom: 0;
	border-radius: 7px 7px 0 0;
}

#block-doina-theme-main-menu .menu li.menu-item--active-trail, #block-doina-theme-archivemenu  ul.menu li.menu-item--active-trail {
	border-bottom: 1px solid #000022;
}

#block-doina-theme-main-menu .menu li a, #block-doina-theme-archivemenu  ul.menu li a {
	text-decoration: none;
	display: block;
	padding:5px 10px 7px;
	cursor: pointer;
	font-size: 9px;
	text-transform: uppercase;
	color: #fff;
	font-family: 'replica-regularregular', sans-serif;
	opacity: 0.7;
}

.menu li a:active {
	border:none;
}
#block-doina-theme-main-menu .menu li a:hover, #block-doina-theme-archivemenu  ul.menu li a:hover {
	opacity: 1;	
	color: #fff;
}
#block-doina-theme-main-menu .menu li a:focus, #block-doina-theme-archivemenu  ul.menu li a:focus {
	color: #000;
	outline: none;
	box-shadow: none;
	opacity: 1;	
	
}

#block-doina-theme-main-menu ul.menu li a.is-active, #block-doina-theme-archivemenu  ul.menu li a.is-active {
	opacity: 1;	
	border-bottom: 0;
	color: #fff;
}

/* submenu stuff */
#block-doina-theme-submenu {
	float:right;
	width:25%;
	padding: 30px 30px 50px;
}

#block-doina-theme-submenu ul.menu {
	text-align:right;
}

#block-doina-theme-submenu ul li {
	list-style: none;
}

#block-doina-theme-submenu ul li a {
	color:#fff;
}

#block-doina-theme-submenu ul li a:hover {
	text-decoration: underline;
}

#block-doina-theme-submenu ul li a:focus {
	text-decoration: underline;
	border:none
}
#block-doina-theme-submenu ul li a.is-active {
	
	text-decoration: underline;
}

.news-menu {
	display: block;
	cursor: pointer;	
}

.news-menu span:hover {
	text-decoration: underline;
}


@media only screen and (max-width: 768px) {

	#block-doina-theme-main-menu, #block-doina-theme-archivemenu  {
		width:100%;
		top: -39px;
		left:0;
	}

	#block-doina-theme-main-menu ul.menu, #block-doina-theme-archivemenu  ul.menu {
		max-height: 38px;
		margin-left:10px;
	}

	#block-doina-theme-main-menu ul.menu li.menu-item, #block-doina-theme-archivemenu  ul.menu li.menu-item{
		overflow: hidden;
		width: 8%;
		margin-right:2%;
		min-height: 38px;
	}


	#block-doina-theme-main-menu ul.menu li.menu-item--active-trail, #block-doina-theme-archivemenu  ul.menu li.menu-item--active-trail {
		overflow: visible!important;
		width: auto!important;
		max-width:26%;
		border-bottom:0;
	}

	#block-doina-theme-main-menu ul.menu li.menu-item:hover {
		
	}

	#block-doina-theme-submenu {
		padding-right:30px;
	}

}
