/*
Theme Name: Deltebre Dansa
Theme URI: http://www.deltebredansa.com/
Version: 1.0
Author: Ex-Labs
Author URI: http://www.ex-labs.com/
*/

/*
=Miscellaneous
*/

/* Easy clearing of floats (see http://positioniseverything.net/easyclearing.html) */
.cf:after {display:block;clear:both;height:0;visibility:hidden;content:".";}
.cf {display:inline-block;}
* html .cf {height:1%;}
.cf {display:block;}


/* 
=Global 
*/
body {
	margin:0;
	padding:0;
	font-size:62.5%;
	font-family:'Lucida Sans';
	color:#333;
	background:#eee;
}

/* Headers */
h1, h2, h3, h4, h5 {
	padding:0;
	margin:2em 0 0 0;
}
h1 {
	color:#0856c0;
	margin-top:1em;
	margin-bottom:0.4em;
	font-size:2em;
}
h2 {
	margin-bottom:0.8em;
	font-size:1.6em;
}
h3 {
	margin-bottom:0.8em;
	font-size:1.4em;
}
h4 {
	margin-bottom:0;
	font-size:1.2em;
}
h5 {
	margin-bottom:0;
	font-size:1em;
}

/* Text */
p {
	font-size:1.2em;
	padding:0;
	margin:0 0 1em 0;
	line-height:1.4em;
}
.alignleft{
	float:left;
	margin:10px 10px 10px 0;
}
.alignright{
	float:right;
	margin:0 10px 10px 10px;
}

/* Links */
a {
	color:#000;
	text-decoration:none;
	border-bottom:1px solid #0856c0;
}
a:focus,
a:hover,
a:active {color:#0856c0;}
a img {border:none;}

/* Tables */
#content table {
	width:100%;
	text-align:left;
}
#content th,
#content td {padding:4px 4px 3px;}
#content th {
	color:#fff;
	background:#0856c0;
}
#content .table-alt {background:#e2e2e2;}

/*
=Background image
*/
#bg {
	z-index: -99;
	position: fixed;
	top: 0;
	left: 0;
	width:100%;
	height:100%;
	overflow:hidden;
}
#bg img {display:none;}
#bg img.primary {display:block;}


/*
=Header
*/

#header {position:relative;}

#logo {
	position:absolute;
	top:25px;
	left:50px;
}
#logo a {border:none;}


/*
=Main menu
*/

#main-menu {
	margin:0;
	padding:25px 30px 0 215px;
	background:url(i/header-b.png) no-repeat right;
	display:inline-block;
	height:34px;
	margin:45px 0 0 0;
}
#main-menu li {
	float:left;
	display:inline;
	list-style:none;
}
#main-menu li a {
	display:block;
	padding:5px 20px;
	border:none;
	font-weight:bold;
	font-size:1.4em;
}
#main-menu li a:hover,
#main-menu li a:focus,
#main-menu li a:active {text-decoration:underline;}
#main-menu .current_page_item a,
#main-menu .current_page_parent a {color:#0856c0;}

/* Sub menu */
#sub-menu {
	margin:0 0 1em;
	padding:0;
	background:#fff;
}
#sub-menu li {
	float:left;
	display:inline;
	list-style:none;
}
#sub-menu li a {
	display:block;
	padding:5px 10px;
	border:none;
	font-size:1.3em;
}
#sub-menu li.first a {padding-left:0;}
#sub-menu li a:hover,
#sub-menu li a:focus,
#sub-menu li a:active {text-decoration:underline;}
#sub-menu .current_page_item a,
#sub-menu .current_page_parent a {text-decoration:underline;}


/*
=Standard layout
*/
#content {
	margin:50px auto 0;
	width:960px;
}
#main {
	float:right;
	width:500px;
}

.edit-page {margin-top:2em;}

/* Box shadows */
.box-t {
	background:url(i/shadow-t-b.png) no-repeat 100% 0;
	height:10px;
}
.box-b,
.box-b div {
	background:url(i/shadow-t-b.png) no-repeat 0 100%;
	height:10px;
}
.box-b div {
	background-position:100% 100%;
	margin-left:10px;
}
.box-m {
	background:url(i/shadow-m.png) repeat-y 100% 0;
	padding:10px 18px 10px 10px;
}

/*
=Sidebar
*/
#sidebar {
	float:right;
	margin-right:10px;
	width:300px;
	padding:0 10px 10px;
}
#sidebar h1 {margin-top:0;}
#searchform {
	margin-top:2em;
	margin-bottom:3em;
}
#sidebar ul {
	padding:0;
	margin:0;
}
#sidebar li {
	list-style:none;
	margin:0;
	padding:0;
}

/*
=Blog
*/
.page-template-blog-php #main h2 {margin-top:0;}

/*
=Front page
*/
.front-page {text-align:right;}
.front-page h1 {
	color:#fff;
	display:inline-block;
	margin-top:0;
	font-size:4.5em;
}
.front-page a {
	font-size:2em;
	color:#fff;
	padding:5px;
	margin:0 10px;
	text-decoration:underline;
	border:none;
}
.front-page a:hover,
.front-page a:focus,
.front-page a:active {border:none;text-decoration:none;}
