/* 

Theme Name: AFB
Theme URI: 
Description: Tema ajustat a l'imatge corporativa de l'AFB, inspirat en el tema WP-Andreas09 de <a href="http://www.andreasviklund.com/">Andreas Viklund</a>.
Version: 1.0
Author: AFB
Author URI: 

*/

/* General Element Styling */

body {
	background:#797;
	color:#303030;
	font:76% Verdana,Tahoma,Arial,sans-serif;
	margin:0;
	padding:0;
	text-align:center;
}

a {
	color:#505050;
	font-weight:bold;
	text-decoration:none;
}

a:hover {
	color:#808080;
	text-decoration:underline;
}

p {
	line-height:1.3em;
	margin:0 0 15px;
	padding: 0px;
	text-align: justify;
}

/*** Main container ***/

#container {
	color:#303030;
	margin:0;
	min-width:770px;
	padding:0;
	text-align:left;
	width:100%;
}

/*** Header section ***/

#sitename {
	background: url(images/headerbg.jpg) no-repeat bottom right; 
	color:#676;
	height:102px;
	margin:0 0px 0px;
	text-align:left;
}

#sitename h1,#sitename h2 {
	font-weight:bold;
	margin:0;
	padding:0;
}

#sitename h1 {
	font-size:2.8em;
	padding-top:20px;
	padding-left:20px;
}

#sitename h1 a {
	text-decoration: none;
}

#sitename h2 {
	font-size:1.6em;
	padding-left:20px;
}

/*** Horizontal menu ***/

#mainmenu {
	float:left;
	margin-bottom:25px;
}

#mainmenu ul {
	font-size:16px;
	margin:0;
	padding:0;
}

#mainmenu li.page_item {
	float:left;
	height:35px;
	list-style:none;
	margin:0;
	padding:0;
}

#mainmenu a {
	border-right:1px solid #b0b0b0;
	color:#606060;
	display:block;
	font-size:0.7em;
	padding:11px 10px 10px;
	text-transform:uppercase;
}

#mainmenu a:hover {
	text-decoration:none;
}

#mainmenu li.current_page_item {
	color:#505050;
	text-decoration:none;
}

/*** Content wrap ***/

#wrap {
	clear:both;
	font-size:0.9em;
	padding:0;
}

/*** Sidebars ***/

#leftside,#rightside {
	margin:0;
	padding:0 10px 10px;
	width:165px;
}

#leftside {
	float:left;
	margin-right:10px;
}

#rightside {
	float:right;
	margin-left:10px;
}

#rightside img {
	border: 0px;
}

/*** Sidebar menu ***/

#leftside h2, #rightside h2 {
/*	background:#6a8; */
/*	color:#efe; */
	font-size: 1.4em;
	margin-top: 10px;
	padding: 5px;
	border-bottom: 1px solid #BEBFC3;
}

#leftside ul {
	padding-left: 0px;
	margin: 0px;
}

#leftside li {
	list-style: none;
}

#leftside ul.box li a {
	background:#e8e9ea;
	border:1px solid #b0b0b0;
	color:#606060;
	display:block;
	margin-top:8px;
	padding:5px 4px 4px 10px;
	position:relative;
/*	text-transform: capitalize;*/
	width:140px;
}

#leftside ul.box li a:hover {
	background:#f8f9fa;
	border:1px solid #909090;
	color:#303030;
	text-decoration:none;
}

#leftside ul.children li a {
	font-size:0.8em;
	letter-spacing:1px;
	margin:3px 0 2px 10px;
	padding:4px 2px 2px 8px;
	width:125px;
}

#rightside ul {
	padding-left: 0px;
	margin: 0px;
}

#rightside li {
	list-style: none;
}

#rightside ul.box li a {
	background:#e8e9ea;
	border:1px solid #b0b0b0;
	color:#606060;
	display:block;
	margin-top:8px;
	padding:5px 4px 4px 10px;
	position:relative;
	text-transform: capitalize;
	width:140px;
}

#rightside ul.box li a:hover {
	background:#f8f9fa;
	border:1px solid #909090;
	color:#303030;
	text-decoration:none;
}

#rightside ul.children li a {
	font-size:0.8em;
	letter-spacing:1px;
	margin:3px 0 2px 10px;
	padding:4px 2px 2px 8px;
	width:125px;
}

li.feed {
	background: url(images/rss.gif) no-repeat left top;
	padding: 2px 0 8px 20px;
	list-style: none;
}



/*** Content ***/

#content,#contentalt {
	background-color:#fafcff;
	border:1px solid #909090;
	color:#2a2a2a;
	padding:15px 20px 5px;
}

#content {	
	margin:0 200px;
}

#contentalt {	
	margin:0 200px 0 20px;
}

#content h1,#contentalt h1,#contentalt h2 {
	background-color:#6a8;
	color:#efe;
	font-size:1.8em;
	font-weight:bold;
	letter-spacing:-1px;
	margin:0 0 15px;
	padding:0;
}

#content h1,#contentalt h1 {
	border-bottom: 2px solid #b0d0b0;
}

#content h2 {
	font-size:1.6em;
	color:#6a8;
}

#content h3,#contentalt h3 {
	background-color:#ddd;
	clear:left;
	color:#486;
	font-size:1.8em;
	font-weight:bold;
	letter-spacing:-1px;
	margin:0 0 15px;
	padding:0;
}

#content p,#contentalt p {
	font-size:1.2em;
}

#content img {
	background:#ffe;
/*	border:1px solid #b0b0b0; */
	margin:0 10px 0px 10px;
}

/* Archives/Links Page List styles */

.archives li, .linkspage li {
	list-style: none;
}

.archives ul.children {
	padding-left: 10px;
	margin-left: 10px;
}

/*** Footer ***/

#footer {
	background:#8b8b8b url(images/footerbg.jpg) top left repeat-x;
	clear:both;
	color:#000;
	font-size:0.9em;
	font-weight:bold;
	margin:0;
	padding:20px 0;
	text-align:center;
	width:100%;
}

#footer a {
	color: #d0d0d0;
	font-weight:bold;
}

/*** comments Form ***/

#comment {
	width: 100%;
	border:1px solid #b0b0b0;
}

#commentform {
	width: 97%;
}

#author {
	border:1px solid #b0b0b0;
}

#email {
	border:1px solid #b0b0b0;
}

#url {
	border:1px solid #b0b0b0;
}

#submit {
	background:#f0f0f0;
	border:1px solid #b0b0b0;
}

#submit:hover {
	background: #e8e9ea;
	border: 1px solid #848484;
	cursor: pointer;
}

/* Image Display */

.thumbnail {
	background:#fafbfc;
/*	border:1px solid #b0b0b0; */
	margin:0 0 10px 10px;
	padding:5px;
}

.left {
	background:#fafbfc;
/*	border:1px solid #b0b0b0; */
	float:left;
	margin: 5px 15px 6px 0px;
	padding:5px;
}

.right {
	background:#fafbfc;
/*	border:1px solid #b0b0b0; */
	float:right;
	margin: 5px 0px 6px 15px;
	padding:5px;
}

.noalign {
	background:#fafbfc;
/*	border:1px solid #b0b0b0; */
	margin: 5px 5px 5px 5px;
	padding:5px;
}

/* Search Form */

.searchform {
	margin: 0;
}

#searchbox {
	background:#f0f0f0;
	border:1px solid #b0b0b0;
	margin:0 4px 0 0;
	width:160px;
}

#searchbutton {
	background:#f0f0f0;
	border:1px solid #b0b0b0;
}

#searchbutton:hover {
	background: #e8e9ea;
	border: 1px solid #848484;
	cursor: pointer;
}

/*** Comments Display ***/

.postmetadata {
	background:#e8e9ea;
	font-size: 0.9em;
	border: 1px solid #b0b0b0;
	padding: 10px;
	margin: 0px;
}

ol.commentlist li {
	border: 1px solid #b0b0b0;
	padding: 10px;
	margin-bottom: 10px;
}

ol.commentlist li cite {
	text-transform: capitalize;
}

ol.commentlist li p {
	padding-top: 10px;
}

.alt {
	background:#e8e9ea;
}

/*** Text format ***/

.intro {
	font-size:1.1em;
	font-weight:bold;
	letter-spacing:-1px;
}

blockquote {
	background:#efffef;
	border: 1px dashed #b0b0b0;
	padding: 5px;
}

p {
	text-align: justify;
}

.small {
	font-size:0.8em;
}

.large {
	font-size:1.4em;
}

.center {
	text-align:center;
}

.category {
	border-bottom: 1px solid #b0b0b0;
}

.category a {
	color: #f08030;
}

.date {
	margin-top: -10px;
	padding-top: 0px;
	border-bottom: 1px solid #b0b0b0;
}

#page {
	border-bottom: 1px solid #b0b0b0;
	padding-bottom: 10px;
	margin-bottom: 10px;
}

#page img {
	background:#ffe;
/*	border:1px solid #b0b0b0; */
	margin:10px 0 10px 0px;
	padding:5px;
}

/* Previous/Next Page Navigation */

.navigation {
	background:#e8ffe8;
	margin: 0 0 20px 0;
	padding: 5px 0 20px 0;
	border-bottom: 1px dashed #b0b0b0;
}

.bottomnavigation {
	background:#e8ffe8;
	margin: 30px 0 0 0;
	padding: 5px 0 20px 0;
	border-top: 1px dashed #b0b0b0;
}

.alignleft {
	float: left;
	text-align: left;
}

.alignright {
	float: right;
	text-align: right;
}

.post {
	padding-top: 0px;
	padding-bottom: 10px;
	margin: 0px;
}

.entrytext {
	padding-top: 0px;
}

/*** Various classes ***/

.clearingdiv {
	clear:both;
	height:30px;
	width:1px;
}

.hide {
	display:none;
}

div.gallery {
	border-top: 1px solid #BEBFC3;
	padding: 0px 5px 5px 5px;
	margin: 5px 0 10px 0;
	overflow: auto;
}

.galleryleft {
	float: left;
	text-align: left;
	padding-right: 15px;
	padding-bottom: 0px;
}

.galleryright {
	text-align: justify;
}

small.tags {
	color: green;
	font-weight: bold;
	width: 99%;
	display: block;
	border: 1px dashed green;
	padding: 5px;
}

/*** End of file ***/
