/*  
Theme Name: Fundació J.V. Foix
Theme URI: http://wordpress.org/
Description: Web de la Fundació J.V. Foix
Version: 3.0
Author: zaatim
Author URI: http://www.zaatim.com
*/


/*********************** BASICS ************************/

* {
	margin:0;
	padding:0;
	outline: 0;
}

body,html {
	min-height:101%;
}
	
body {
	background: #fff;
	color: #545454;
	padding: 13px 0 25px 0;
}

body, select, input, textarea {
	font: 100% Verdana, Arial, Sans-Serif;
	border: #ccc 1px solid;
}
	
p {	
	margin: 15px 0;
	line-height: 15px;
}

a:link, a:visited {
	color: #666;
	text-decoration:none;
}

a:hover, a:active {
	color:#000;
	background: #eee;
	padding: 2px 0;
}

a.highslide:hover {
	background: none;
	padding: 0;
}

hr {
	display: block;
	height:1px;
	background:#eee;
	border:0;
}

small {
	font-size: 0.95em;
	background:#FFEFF0;
	padding:3px 6px;
}

img, a:link img, a:visited img {
	border: 0;
}

table.sortable thead {
    cursor: pointer;
}

	
/*************************  LAYOUT  ************************/

#page {
	width:970px;
	margin:0 auto;
	font-size:0.7em;
	background:#fff;
	padding: 0 0 35px 0;
}

#content {
	width: 550px;
	float: left;
	margin: 10px 35px 0 35px;
	color: #000;
}

.left {
	float:left;
	margin: 15px 0 0 0;
}

.right {
	float:right;
}

#sidebar {
	width: 175px;
	float: left;
}

#rightbar {
	width: 175px;
	float: right;
}

.espai_blanc {
	display: block;
	width: 175px;
	height: 20px;
	background: #fff;
	border-bottom: 1px solid #eee;	
	border-top: 1px solid #eee;
}

.espai_gris {
	display: block;
	width: 175px;
	height: 25px;
	background: #BCBDC0;
}
	
/*************************  HEADER  ************************/

#header1 {
	height: 100px;
	width: 100%;
	border-bottom: #eee 1px solid;
}

#branding {
	width: 175px;
	padding-bottom: 0;
}

#branding a:hover {
	background: transparent;
}

#logo2 {
	float: left;
	margin: 45px 0 0 35px;
}

h1 {
	font:2.95em Georgia, "Times New Roman", Times, serif;
	font-weight:bold;
	letter-spacing:-0.02em;
}
	
h2 {
	font: 2.3em Georgia, "Times New Roman", Times, serif;
	color: #9F0004;
	padding-bottom:8px;
	border-bottom:1px solid #eee;
	margin: 40px 0;
}

.title {
	color: #9F0004 !important;
}

.breadcrumb {
	position: relative;
	top: -30px;
	color: #666;
}

.pagenav {
	color:#9f0004;
	list-style: none;
	margin: 0 0 0 10px;
}

.pagenav ul{
	margin: 10px 0 10px 25px;
}

.pagenav li {
	color:#9f0004;
	margin: 5px 0 10px 25px;
}

.rss {
	display: block;
	margin: 45px 0 0 0;
	text-align: right;
}

/************************  NAVBAR  ****************************/

#nav, #nav * {
    line-height: 15px;
    z-index: 1;
}

/*
#nav li {
    color: #333;
    float: left;
    list-style: none;
    position: relative;
    border-right: 1px solid #eee;
	background: #dcddde;
}
*/

#nav li {
    color: #333;
    float: left;
    list-style: none;
    position: relative;
    border-left: 1px solid #fff;
	border-bottom: 1px solid #fff;
	background: #dcddde;
}

#nav a, #nav a:visited {
    display: block;
    text-decoration: none;
    padding: 3px 6px;
}

#nav a:hover {
    color: #000;
	background: #dcddde;
    text-decoration: none;
}

#nav li.current_page_item a, #nav li.current_page_item a:visited {
	background: #dcddde;
    color: #000 !important;
	padding: 3px 6px !important;
	font-weight: normal;
}

#nav li:hover {
    visibility: inherit;
}

#nav li:hover ul, #nav li.sfhover ul {
    left: 7px;
}

ul#nav li:hover li ul, ul#nav li.sfhover li ul {
    top: -999em;
}

ul#nav li li:hover ul, ul#nav li li.sfhover ul {
    left: 160px;
    top: 0;
}

ul#nav li li:hover li ul, ul#nav li li.sfhover li ul {
    top: -999em;
}

ul#nav li li li:hover ul, ul#nav li li li.sfhover ul {
    left: 160px;
    top: 0;
}

#nav li ul {
    height: auto;
    left: -999em;
    line-height: 1;
	margin: 0 0 0 -1px;
    position: absolute;
    width: 160px;
    z-index: 1 !important;
}

#nav li li {
	background: #dcddde;
	border-right: none;
    height: auto;
    padding: 0;
    width: 160px;
    z-index: 1000;
}

#nav li li a, #nav li li a:visited, #nav li.current_page_parent li.current_page_item a, #nav li.current_page_parent li.current_page_item a:visited {
	background: #dcddde !important;
    color: #666 !important;
    padding: 5px 8px !important;
}

#nav li li a:hover, #nav li li a:active, #nav li.current_page_parent li.current_page_item a:hover, #nav li.current_page_parent li.current_page_item a:active {
    color: #fff !important;
	background: #595959 !important;
}

#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul {
    left: auto;
}

#nav ul ul {
    margin: 0;
}

.current_page_item {
	color: #fff;
}

.current_page_item  a {
	color: #FFFFFF !important;
	font-weight:bold;
}

/************************  SIDEBAR  ****************************/

h3 {
	font-family: Georgia,"Times New Roman",Times,serif;
	font-size: 1.6em;
	font-weight: normal;
	text-transform: uppercase;
	margin-bottom:4px;
	color:#9f0004;
}

#sidebar h3, #sidebar h2 {
	font-family: Georgia,"Times New Roman",Times,serif;
	font-size: 1.4em;
	font-weight: normal;
	border-bottom:medium none;
	color: #fff;
	margin:0;
	padding: 10px 5px 5px 10px;
}

h3#respond {
	border-top:1px dotted #b6b6b6;
	margin-top:25px;
	padding-top:20px;
}

h3#comments {
	margin-top:32px;
}

/*
h4 {
	font-size:1.6em;
	margin-bottom:6px;
}
*/

.side_title {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 1.3em;
	display: block;
	background: #313131;
	color: #fff;
	text-align: left;
	padding: 3px 12px;
}

#side_menu {
	background: #9f0004;
	min-height: 250px;
	padding: 0 10px 0 10px;
}

#side_menu ul {
	list-style: none;
	padding-top: 6px;
}

#side_menu ul li {
	line-height: 16px;
	padding: 2px 0;
}

#side_menu a {
	color: #ddd;
}

#side_menu a:hover {
	display: inline;
	color: #333;
	background: #ddd;
	text-decoration: none;
	padding: 2px 0;
}

#side_menu ul li ul li {
	padding: 3px 0 3px 10px;
}

#side_menu2 {
	background: #BCBDC0;
	padding: 0;
	color: #666;
}

#sidelist {
	margin: 0;
	line-height: 20px;
}

#sidelist li {
	list-style: none;
	line-height: 16px;
	margin: 0px 0 9px;
}

.xoxo {
	margin: 0 10px;
	padding: 0 0 5px 0;
}

.xoxo a {
	color: #333;
	text-decoration: none;
}

.xoxo a:hover {	
	background: #ddd;
	color: #000;
	padding: 2px 0;
}
	
.bullets li {
	list-style:none;
	border-bottom:1px solid #FFF;
}
	
#sidelist .bullets li {
	list-style:square;
	margin-bottom:5px;
	line-height:115%;
	margin-left:22px;
}

#sidelist .children {
	background:#e4efd5;
}
	
#sidelist .children li {
	list-style: square;
	margin-left:28px;
	border-bottom:1px solid #e4efd5;
}
	
#sidelist .children li a, #sidelist .children li a:visited {
	padding:2px 2px 2px 0px;
	border:0;
	background:#e4efd5;
	color: #818d6f;
}

#sidelist .children li a:hover, #sidelist .children li a:active	{				
	color:#465d23
}

/************************  RIGHTBAR  *************************/

#consultes {
	background: #fcfcfc;
	padding: 12px;
	border-right: 1px solid #eee;
	border-left: 1px solid #eee;
	font-weight:normal;
	line-height:18px;
}

#frase {
	background: #fcfcfc;
	padding: 1px 12px;
	border-right: 1px solid #eee;
	border-left: 1px solid #eee;
	font-weight:normal;
	line-height:18px;
}

.marge_frase {
	
}

p.autor {
	text-align: right;
	font-weight: normal;
}

#audio {
	background: #fcfcfc;
	padding: 20px 5px 20px 12px;
	color: #000;
	border-right: 1px solid #eee;
	border-left: 1px solid #eee;
}

#right_menu li {
	list-style: none;
	text-indent: 3px;
	line-height: 20px;	
	padding: 10px 0 0 0;
}

#right_menu li a {
	color: #666;
}

#right_menu li a:hover {
	color: #000;
	background: #eee;
	padding: 2px 0;
}

#contact {
	background: #fcfcfc;
	height: 120px;
	padding: 10px 7px 0 7px;
	border-right: 1px solid #eee;
	border-left: 1px solid #eee;
}

#contact li {
	list-style: none;
	text-indent: 6px;
	line-height: 15px;	
	padding: 0;
}

#contact li a {
	color: #666;
	text-decoration: none;
}

#contact li a:hover {
	color: #000;
	background: #eee;
	padding: 2px 0;
}

#logos {
	background: #fff;
	height: 460px;
	padding: 10px 0 0 0;
	border-right: 1px solid #eee;
	border-left: 1px solid #eee;
	border-bottom: 1px solid #eee;
}

#logos li {
	list-style: none;	
	padding: 10px 12px 0 12px;
}

#adreca {
	float: left;
	margin: 20px 0 40px 0;
	width: 205px;
	line-height: 16px;
}
#telfax {
	float: left;
	margin: 32px 0 0 0;
	line-height: 16px;
}
	
/************************  TRANSLATE  *************************/

#translate {
	position: relative;
	top: 0;
}

#translate li {
	list-style: none;
	display: inline;
	padding: 0 8px 0 0;
}

#translate li a {
	color: #999;
	text-decoration: none;
}

#translate .active a {
	color: #9f0004;
}

/**************************  CONTENT  **************************/

.entry  {
	margin: 0 0 60px 0;
}
/*
.entry p a, .entry p a:visited {
	color: #9f0004;
	text-decoration: underline;
}
*/

.entry p a:hover {
	color: #000;
	background: #eee;
	padding: 2px 0;
	text-decoration: none;
}	

#taula {
	border-bottom: 1px solid #eee;
	width: 85%;
}

thead {
	line-height: 35px;
	background: #f1f1f1;
}

tbody tr {
	line-height: 25px;
}
/**************************  FORMS  **************************/

select {
	background:#f2f2f2;
	border:1px solid #9c9c9c;
	width:100%
}
	
#searchform {
	padding: 10px 0 0 0; 
}

.button {
	padding: 0 3px;
	background:#999;
	color:#fff;
	border:none;
}

.button:hover {
	background:#777;
	color:#FFF;
	text-decoration:none
}

#commentform input {
	width: 170px;
	margin: 5px 5px 1px 0;
}

#commentform textarea {
	width: 100%;
	margin-top:5px;
}

input#s {
	width: 149px;
}

#searchsubmit {
	vertical-align: top;
	border: none;
	padding: 0 0 0 5px;
}

/**************************   QUERY FORM  ****************************/

#queryform {
	float: left;
	width: 540px;
	padding: 20px 0;
	background: #eee;
}

#queryform p {
	color: #666;
	margin: 10px 0 3px 0;
}

#etiqueta {
	float: left;
	width: 200px;
	text-align: right;
	color: #666;
}

#formulari {
	float: right;
	width: 310px;
}

#mail_received {
display: block;
float: left;
width: 400px;
margin: 20px 0;
color: #9f0004;
font-size: 1.25em;
}

/**************************   COMMENTS  ****************************/

.commentlist {
	padding-left:30px;
}
	
.commentlist li {
	margin: 15px 0 3px;
	padding: 8px 15px 10px 15px;
	background:#f2f2f2;
	border-top: 1px solid #ddd;
}

#commentform small {
	background:#FFF;
	font-weight:bold;
	padding:0;
}
	
.commentmetadata {
	display: block;
}

.commentlist small {
	background:#e9e9e9
}

.commentlist cite {
	font: 1.6em Georgia, "Times New Roman", Times, serif;
	font-weight:bold;
	letter-spacing:-0.05em;
}	
	

/**************************   FLOATING  ****************************/

.clearfloat:after {
	display:block;
	visibility:hidden;
	clear:both;
	height:0;
	content:".";
}
	
.clearfloat {
	display:inline-block
}

.clearfloat {
	display:block
}

/**************************  FOOTER  **************************/

#footer {
	margin: 0 auto;
	font-size:0.7em;
	padding-top:15px;
	color:#666;
	text-align: center;
	}

#footer a {
	color:#666;
	text-decoration: none;
}

#footer a:hover {
	color:#000;
	background: #eee;
	padding: 2px 0;
}

/************************** SLIDEBOX  **************************/

.photo {
	height: 186px; 
	width: 175px; 
	margin: auto 
}


.slideshow { 
	height: 186px; 
	width: 175px; 
	margin: auto 
}
.slideshow img { 
	padding: 0; 
	border: none; 
	background-color: #fafaf1; 
}

/***********************  TOGGLEBOX  *************************/

h5.trigger {
	padding: 0;
	margin: -14px 0 15px 0;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: normal;
	float: left;
	width: 550px;
}

h5.trigger a {
	color: #666;
	text-decoration: none;
	display: inline;
}

h5.trigger a:hover {
	display: inline;
	color: #000;
	background: #eee; 
	padding: 2px 0;
}

p a.trigger {
	color: #666 !important;
	text-decoration: none !important;
	display: block;
	margin: -12px 0 17px 0;
}

p a.trigger:hover {
	display: inline-block;
	color: #000 !important;
	background: #eee; 
	margin: -14px 0 0 0;
	padding: 2px 0;
}

h5.closer {
	font-size: 11px;
	font-weight: normal;
}

h5.active {
	background-position: left bottom;
	font-size: 11px;
	font-weight: normal;
} /*--When toggle is triggered, it will shift the image to the bottom to show its "opened" state--*/

.toggle_container {
	margin: 0 0 5px;
	padding: 0;
	border-top: 1px solid #d6d6d6;
	overflow: hidden;
	font-size: 11px;
	width: 500px;
	clear: both;
}

.toggle_container .block {
	padding: 20px 0;
}

/***********************************  TOOLTIP  ***************************************/

#tooltip {
	position: absolute;
	z-index: 3000;
	border: 1px solid #ccc;
	background-color: #f1f1f1;
	padding: 5px;
	opacity: 0.85;
}
#tooltip h3, #tooltip div { 
	font: 100% Verdana, Arial, Sans-Serif;
	text-transform: none;
	margin: 0; 
}

/***********************  CMS PERSONAL CLASSES  *************************/

h4 {
	color: #9f0004;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 1.8em;
	font-weight: normal;
	text-transform: uppercase;
	margin: 0 0 15px 0;
}

.entry p a.vegeu {
	color: #666;
	text-decoration: none;
}

.entry p a.vegeu:hover {
	color: #000;
	background: #eee;
	padding: 2px 0;
}

.versal {
	font-variant : small-caps;
}

.vermell {
	color: #9f0004;
	font-size: 1.2em;
}

.vermell_n {
	color: #9f0004;
	font-weight: bold;
}

.img_esquerre {
	margin-top: 5px; 
	margin-right: 15px; 
	margin-bottom: 32px; 
	float: left;
}

a.ancora {
	color: #666 !important;
	text-decoration: none !important;
	font-style: italic;
	line-height: 2px;
}

a:hover.ancora {
	color: #333;
	text-decoration: none;
}

a.torneu {
	color: #666 !important;
	text-decoration: none !important;
	font-style: normal;
	line-height: 2px;
}

.article {
	font-weight: bold;
	color: #9f0004;
}

a:hover.torneu {
	color: #333;
	text-decoration: none;
}

.espai_50 {
	margin: 0 0 50px 0;
}

.espai_100 {
	margin: 0 0 100px 0;
}

.espai_150 {
	margin: 0 0 150px 0;
}
