/*
Welcome to Custom CSS!

CSS (Cascading Style Sheets) is a kind of code that tells the browser how
to render a web page. You may delete these comments and get started with
your customizations.

By default, your stylesheet will be loaded after the theme stylesheets,
which means that your rules can take precedence and override the theme CSS
rules. Just write here what you want to change, you don't need to copy all
your theme's stylesheet content.
*/
.comments-area {
	visibility: hidden;
	display: none;
}

div.bx-wrapper {
	border-bottom: 1px solid #015DAA;
}

.slider-caption {
	background: rgba(0,0,0,0.3);
}

.slider-caption > .ak-container h2, .slider-caption > .ak-container h2 a, .slider-caption > .ak-container h1 {
	color: #fff;
	margin-bottom: 0;
	text-shadow: 1px 1px 0 rgba(150,150,150,1);
}

#masthead #top-header {
	background: url("wp-content/themes/accesspress-lite/images/biosynteesi_banner_2560x200.jpg") no-repeat scroll left bottom #fff;
	height: 200px;
}

@media screen and (max-width: 940px) {
	#masthead #top-header {
		background: url("wp-content/themes/accesspress-lite/images/biosynteesi_banner_1024x130.jpg") no-repeat scroll left bottom #fff;
		height: 130px;
	}
	
	.main-navigation .menu {
		position: absolute;
		left: 0;
		width: 100%;
		top: 48px;
		z-index: 9999;
		background: #fff;
	/* #0077B2; */
	}
	
	.main-navigation .menu li {
		width: 100%;
		float: none;
		line-height: 38px;
		border-bottom: 1px solid #015DAA;
	}
	
	.main-navigation ul ul {
		position: static;
		box-shadow: none;
		border: none;
	}
	
	.main-navigation ul ul a {
		padding: 0 20px;
	}
	
	.main-navigation .menu ul li {
		line-height: 38px;
		border-bottom: 1px solid #DDD;
		padding: 0;
	}
	
	.main-navigation ul ul ul {
		background: #F6F6F6;
	}
}

.ohjelma-table h4, .ohjelma-table h6 {
	margin-bottom: 0;
}

table {
	margin: 0 0 15px;
	width: 100%;
	border-collapse: collapse;
}

th {
	font-weight: bold;
	border: 0;
/* 1px solid #CCC; */
	padding: 5px 10px;
}

td {
	border: 0;
/* 1px solid #CCC; */
	padding: 5px 10px;
}

/*--------------------------------------------------------------
Menus
--------------------------------------------------------------*/
.main-navigation {
	clear: both;
	display: block;
	font-weight: 300;
	font-family: 'Lato', sans-serif;
	position: relative;
	border-bottom: 1px solid #015DAA;
	border-top: 8px solid #015DAA;
	background: #fff;
}

.main-navigation .ak-container {
	padding: 0 !important;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-navigation li {
	display: inline-block;
	position: relative;
	line-height: 28px;
	font-size: 18px;
	text-transform: uppercase;
	color: #000;
	white-space: nowrap;
}

.main-navigation.menu-right {
	text-align: right;
}

.main-navigation.menu-center {
	text-align: center;
}

.main-navigation.menu-right li {
	margin-left: 25px;
	margin-right: 0;
}

.main-navigation.menu-center li {
	margin-left: 12px;
	margin-right: 12px;
}

.main-navigation a {
	display: block;
	text-decoration: none;
	color: #000;
	padding: 0 18px;
	margin: 10px 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	display: none;
	left: 0;
	position: absolute;
	z-index: 99999;
	background: #FFF;
	top: 100%;
	border-bottom: 3px solid #04A3ED;
	border-top: 3px solid #04A3ED;
	transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-webkit-transition: all .3s ease-in-out;
}

.main-navigation ul li.more-menu-item > ul {
	right: 0;
	left: auto;
}

.main-navigation ul ul ul {
	left: 100%;
	top: 0;
	border-top: none;
}

.main-navigation ul ul a {
	min-width: 150px;
	padding: 0;
}

.main-navigation ul ul li {
	font-size: 16px;
	line-height: 18px;
	border-bottom: 1px solid #015DAA;
	margin: 0 !important;
	padding: 10px 15px;
	display: block;
	text-align: left;
	text-transform: none;
}

.main-navigation ul ul li:last-child {
	border-bottom: none;
}

.main-navigation li:hover > a {
	border-bottom: 8px solid #015DAA;
	background: none;
}

.main-navigation ul ul li:hover > a,
.main-navigation ul ul li.current-menu-item > a {
	color: #000;
}

.main-navigation ul ul a {
	color: #000;
	background: none !important;
}

.main-navigation ul ul a:hover {
}

.main-navigation ul li:hover > ul {
	display: block;
}

.main-navigation .current-menu-parent > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a,
.main-navigation .current_page_parent > a {
	border-bottom: 8px solid #015DAA;
	background: none;
}