@import url('../minimatica/style.css');

/*
Theme Name: Child of Minimatica
Theme URI: http://www.?.org
Description: child theme
Author: Elsie
Template: minimatica
*/

#header {
	height:180px;
}

#site-title {
	width:940px;
	margin:0 auto;
	font-size:50px;
	line-height:auto;
	text-transform:none;
}

#site-title a {
	color:#151515;
	text-decoration:none;
}

#slider {
	position:relative;
	height:410px;
	padding:30px 0 30px 0;
	margin-bottom:20px;
	background:#726969;
	-moz-box-shadow:0px 0px 20px #999;
	-webkit-box-shadow:0px 0px 20px #999;
	box-shadow:0 0 20px #999;
}

#content {
	float:left;
	width:940px;
	margin:0;
	margin-right:20px;
}

.title-container {
	margin-bottom:30px;
	padding:20px 0;
	background:#726969;
	-moz-box-shadow:0px 0px 20px #999;
	-webkit-box-shadow:0px 0px 20px #999;
	box-shadow:0 0 20px #999;
}
.nav {
	width: 940px;
	height:0px;
	margin: 0 auto;
	margin-bottom:10px;
	font-size:19px;
	line-height:18px;
	background: #EFEFEF;
	display:block;
}

.nav ul li.current-menu-item {
	background:#FFFFFF!important; /*to highlight the current page*/
	width: 0 auto; /*to extend the width of the block*/
	white-space:nowrap; /*to ensure the text doesn’t wrap*/
}

.nav ul {
	position: relative;
	z-index:599; /*to move the dropdown up the stack*/
	/*top:auto !important;*/
	top:85% !important; /*to ensure the dropdown doesn’t overlap the text in the navigation*/
	bottom:100%;
	/*bottom:100%*/
	list-style: none;
	margin: 20px auto;
	background: #EFEFEF;
	width: 940px;
}

.nav ul ul {
	position:absolute;
	top:100%;
	left: 0px;
	margin-bottom:5px;
	margin-top: 5px;
	z-index:600;
	min-width:150px;
	background: #EFEFEF;
	border-bottom: none;
	border-top: none;
	display:block;
}
.nav ul li {
	float:left;
	height:34px;
	margin: 0;
	margin-right:40px; /*to fill up the navbar*/
	font-size: 17px;
	vertical-align: middle;
	display:inline;
	background: #efefef;
	padding: 4px; /*to provide space around the text*/
}

.nav ul li.hover,
.nav ul li:hover {
	position:relative; /*would normally be absolute because of the z index*/
	z-index:599;
	cursor:default;
	font-size: 17px;
	height: 34px;   /*must be the same as the navbar*/
	padding 5px 0 1px 0;
	display: block;
	background: #ffffff;
}
.nav ul li a {
	display:inline-block;
	color:#000000;
	height:20px;
	padding 5px;
	font-size: 17px;
	z-index: 601;  /*try to make it the top layer*/
}
.nav ul li a: hover{
	background:#CFCFCF!important;
}
.nav ul li:hover > ul {
	visibility:visible;
}

.nav ul ul li {
	float:none;
	height:auto !important;
	margin:0;
	background: #EFEFEF;
	padding:2px 3px 2px 5px; /*to make space around the text of the dropdown;*/
	border-bottom: none;
	display:block;
	white-space:nowrap;
	position: relative;
	width: 200px; /*to prevent it inheriting the 940 of nav ul;*/
}
.nav ul ul li: hover{
	background: #CFCFCF!important;
}

.page-title,
.single .entry-title,
.page .entry-title {
	width:940px;
	margin:0 auto;
	color:#FFF;
	font-size:40px;
	line-height:48px;
}
