/*
Theme Name: Es Reguinyol
Theme URI: http://www.danielnabil.com/
Description: Disseny per la nova web de l'Associació de Xeremiers de Muro 'Es Reguinyol'
Version: 1
Author: Daniel Nabil
Author URI: http://www.danielnabil.com/


/* ----------------------------------------------
	RESET 
-------------------------------------------------*/

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { margin: 0; padding: 0; }
table { border-collapse:collapse; border-spacing:0; }
fieldset,img { border:0; }
address,caption,cite,code,dfn,em,strong,th,var { font-style:normal; font-weight:normal; }
ol,ul { list-style:none; }
caption,th { text-align:left; }
q:before,q:after { content:''; }
abbr,acronym { border:0; }


/* ----------------------------------------------
	FONTS 
-------------------------------------------------*/

body { font-family: "Trebuchet MS", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif; }
h2, h3, #nav, li.cat-item { font-family: Georgia, "Times New Roman", Times, serif; }


/* ----------------------------------------------
	BLOCKS 
-------------------------------------------------*/

body { background: #111 url(/wp-content/themes/reguinyol/images/bg.jpg) repeat left top; color: #444; font-size: 13px; line-height: 18px; }
#page { width: 920px; margin: 15px auto; padding: 15px; background-color: #fff; }
	.bar { background: #fff url(/wp-content/themes/reguinyol/images/bg-bar.jpg) no-repeat; height: 35px; color: #111; overflow: hidden; padding: 6px 0 0 0; }
		#nav { width: 620px; text-transform: uppercase; font-weight: bold; float: left; margin-left: 5px; font-size: 12px; }
		#nav li { float: left; margin-right: 8px; padding: 3px 6px; }
		#nav a:link, #nav a:visited { color: #111; padding: 1px 3px; }
		#nav a:hover { color: #743708; }
		#nav .current_page_item a:link, #nav .current_page_item a:visited { background-color: #743708; color: #f3f3f3; padding: 1px 3px; }
		.info { float: right; font-size: 12px; padding: 3px 10px 3px 5px; }
	#header1 { clear: both; width: 918px; height: 376px; margin: 0 auto 25px auto; }
	#header2 { clear: both; width: 918px; height: 197px; margin: 0 auto 25px auto; }
	#content { width: 555px; float: left; margin-bottom: 45px; border-right: 1px dashed #ccc; }
		#mainContent { width: 540px; float: left; }
			.home-left { width: 250px; float: left; }
			.home-right { width: 270px; float: right; }
			.entrada { margin-bottom: 30px; clear: both; font-size: 12px; line-height: 16px; min-height: 156px; }
			#mainContent ul { list-style: square; list-style-position: outside; margin: 15px 0 30px 30px; }
			#mainContent li { margin-bottom: 10px; }
			.destacado { clear: both; width: 228px; padding: 10px; margin-bottom: 15px; background-color: #faf9f8; border: 1px solid #dcdcdc; font-size: 12px; }
			.destacado h4 { font-size: 11px; text-transform: uppercase; }
			.destacado object, .destacado embed { width: 226px; height: 197px; margin-bottom: 20px; }
			
	#sidebar { width: 350px; float: right; line-height: 16px; margin-bottom: 15px; }
		#sidelist li { list-style: none; font-size: 12px; margin-bottom: 35px; clear: left; }
		#sidelist li.categories { margin: 0 0 15px 0; overflow: hidden; }
		#sidelist li.categories li.cat-item { clear: none; float: left; margin: 0 4px 5px 0; }
		li.cat-item a:link, li.cat-item a:visited { display: block; text-transform: uppercase; font-weight: bold; width: 168px; height: 23px; line-height: 25px; text-align: center; background: #fff url(/wp-content/themes/reguinyol/images/bg-catitem.jpg) no-repeat; }
		
		li.cat-item a:hover, li.categories .current-cat a:link, li.categories .current-cat a:visited, #cats-agenda .cat-item-3 a, #cats-autors .cat-item-17 a, #cats-fotos .cat-item-4 a, #cats-noticies .cat-item-8 a, #cats-videos .cat-item-6 a { color: #fff; background: #fff url(/wp-content/themes/reguinyol/images/bg-catitem.jpg) no-repeat left bottom; }
		
		#linkcat-2 ul li { list-style: square; margin: 0 0 0 15px; }
		#sidebar h3 { font-size: 13px; text-transform: uppercase; border-bottom: 2px solid #efd150; margin-bottom: 15px; }
		#sidebar h3.noMargin { margin-bottom: 0; }
		#sidebar h4 { font-size: 13px; margin: 0 0 12px 0; }
		#sidebar h4 a:link, #sidebar h4 a:visited { font-weight: bold; color: #743708; }
		.agenda-item, #sidelist .recent-comments li { border-bottom: 1px dotted #ccc; margin: 0 15px 10px 15px; }
		#sidelist li.concurs a { width: 350px; height: 93px; background: url(/wp-content/themes/reguinyol/images/premis-es-reguinyol.jpg) no-repeat; text-indent: -9999px; overflow: hidden; display: block; }
		#sidelist .recent-comments li { padding-bottom: 10px; }
		#sidelist li.mp3player { margin-bottom: 0; }
		#wimpyplayer iframe { border: 1px solid #ccc; }
		#wimpyplayer a:link, #wimpyplayer a:visited { color: #777; }
	#footer { position: relative; clear: both; font-size: 11px; padding: 12px; line-height: 15px; background: #efd150 url(/wp-content/themes/reguinyol/images/bg-footer.jpg); color: #333; border: 1px solid #837726; }
		#footer a:link, #footer a:visited { color: #111; }


/* ----------------------------------------------
	HEADINGS 
-------------------------------------------------*/

h1 a { width: 920px; text-indent: -9999px; overflow: hidden; display: block; }
#header1 h1 a { background: #fff url(/wp-content/themes/reguinyol/images/bg-header-jun2010.jpg) no-repeat; height: 376px; }
#header2 h1 a { background: #fff url(/wp-content/themes/reguinyol/images/bg-header2-jun2010.jpg) no-repeat; height: 197px; }

h2 { font-size: 28px; line-height: 28px; margin-bottom: 12px; }
	h2 a:link, h2 a:visited { color: #743708; }
	h2 a:link, h2 a:visited, .recent-comments a:link, .recent-comments a:visited, #linkcat-2 a:link, #linkcat-2 a:visited { display: block; }
	#home h2 { font-size: 18px; line-height: 20px; margin-bottom: 2px; }
	#home .destacado h2 { font-size: 16px; }
	h2.pagetitle { display: block; text-decoration: none; padding-bottom: 6px; border-bottom: 1px solid #ddd; }
h3 { font-size: 18px; }
	#mainContent h3 { margin: 35px 0 16px; }
	h3#respond, h3#comments { font-size: 22px; margin: 35px 0 20px 0; }
	h3.agenda a:link, h3.agenda a:visited, #mainContent ul.archive li a:link, #mainContent ul.archive li a:visited { display: block; background-color: #efd150; padding: 3px 6px; border: 1px solid #ddd; text-decoration: none; }
	h3.agenda a:hover, #mainContent ul.archive li a:hover { background-color: #eee; }
h4 { font-size: 14px; line-height: 18px; margin-bottom: 12px; }
h5 { font-size: 13px; margin: 35px 0 6px 0;  }
h6 { font-size: 12px; margin: 20px 0 6px 0; }



/* ----------------------------------------------
	STYLES 
-------------------------------------------------*/

a, a:link, a:visited { color: #333; outline: none; }
a:hover, a:active, .recent-comments a:hover, #wimpyplayer a:hover, h3.agenda a { color: #743708; }

.editar a:link, .editar a:visited,
.navigation a:link, .navigation a:visited,
.fotoNav a:link, .fotoNav a:visited,
#nav a:link, #nav a:visited,
li.cat-item a:link, li.cat-item a:visited,
#sidebar h3 a:link, #sidebar h3 a:visited, 
h2 a, h2 a:link, h2 a:visited,
.recent-comments a:link, .recent-comments a:visited, 
#linkcat-2 a:link, #linkcat-2 a:visited { text-decoration: none; }
a, a:link, a:visited, a:hover, a:active, h2 a:hover, #linkcat-2 a:hover { text-decoration: underline; }

p {	margin-bottom: 12px; }
strong { font-weight: bold; }
strong.search-excerpt { background-color: #f9d948; }
em { font-style: italic; }
.clear { clear: both; }
.entry .alignleft { float: left; margin: 0 10px 10px 0; }
.entry .alignright { float: right; margin: 15px 0 10px 10px; }
img.alignleft, img.alignright { padding: 5px; background-color: #fafafa; }
.right { text-align: right; }
.wp-caption-text { font-size: 11px; color: #666; }
p.cats { padding: 3px 6px; font-size: 10px; text-align: right; }

.entry { padding-top: 6px; line-height: 20px; }
.entry img { margin: 25px 0; }
.entry img, .home-thumb { border: 1px solid #ddd; padding: 3px; background-color: #f2f2f2; }
.home-thumb { margin: 0 0 10px 10px; float: right; width: 100px; height: 100px; }
.detalles, .editar, .postmetadata, .commentmetadata { font-size: 11px; line-height: 14px; }
#home .detalles a { color: #999; }
#home a.seguir { color: #AB7E7E; }
.metadata, #mainContent ul.archive2 p.metadata { padding-top: 3px; margin-top: 20px; border-top: 1px dotted #bbb; font-size: 11px; clear: right; }
#mainContent ul.archive2 p.metadata, #mainContent ul.archive2 p.metadata a { color: #858678; }
#mainContent ul.archive2 p.metadata a:hover { color: #222; }

#page, .destacado, #footer, .commentlist li, div.success, .contactform, #mainContent ul.archive2 li { -moz-border-radius: 3px; -khtml-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }

.editar { text-align: right; }
	.editar a:link, .editar a:visited { color: #fff; text-transform: uppercase; padding: 2px 3px; background-color: #da221a; }
	.editar a:hover { background-color: #efd150; }

#mainContent ul.archive { list-style: none; font-size: 15px; margin-left: 15px; list-style-position: outside; }
#mainContent ul.archive li { margin-bottom: 6px; }

#mainContent ul.archive2 { list-style: none; margin-left: 0; list-style-position: outside; font-size: 15px; }
#mainContent ul.archive2 li { margin-bottom: 12px; background-color: #F0F2D8; overflow: hidden; padding: 10px; }
#mainContent ul.archive2 h3 { margin: 0 0 12px 0; font-size: 15px; }
#mainContent ul.archive2 p { font-size: 12px; }
.entry ul.archive2 img { margin: 0 0 10px 10px; }

#mainContent ul.blogroll { list-style: none; list-style-position: outside; }
#mainContent ul.blogroll a { font-weight: bold; }

.postmetadata { clear: both; color: #888; margin-top: 25px; padding-top: 6px; border-top: 1px dotted #a7a89f; }

#searchform { position: absolute; top: 15px; right: 15px; }
#searchsubmit { width: 80px; }
#s { width: 240px; font-size: 14px; }

#commentform input { width: 200px; margin: 0 5px 5px 0; }
#commentform textarea { width: 470px; margin-bottom: 5px; }

.commentlist { list-style: decimal; list-style-position: outside; color: #111; }
	.commentlist li { margin: 15px 0 3px 30px; padding: 10px; background-color: #efd150; }
	.commentlist li.alt { background: #f1e5b0; }
	.commentlist a { color: #111; }
	.commentmetadata { display: block; margin-bottom: 12px; background-color: #555; color: #fff; padding: 3px 5px; }
	.commentmetadata a:link, .commentmetadata a:visited { color: #fff; }

.navigation { margin: 50px 0 25px; border-top: 3px solid #333; font-size: 12px; }
.navigation a:link, .navigation a:visited { display: block; width: 100px; text-align: center; font-weight: bold; color: #fcfcfc; text-transform: uppercase; padding: 2px 6px; background-color: #743708; margin-top: 6px; }
.navigation a:hover { background-color: #333; }
.navigation .alignleft { float: left; }
.navigation .alignright { float: right; }

#mainContent .wp-pagenavi { margin: 0 0 25px 0; text-transform: uppercase; font-size: 12px; text-align: right; }
#mainContent .wp-pagenavi span.pages { background-color: #DABF4A; margin: 0 3px 0 0; padding: 3px 6px; color: #fff; border: 1px solid #C1A941; }
#mainContent .wp-pagenavi a, #mainContent .wp-pagenavi a:visited, #content .wp-pagenavi .current { margin-right: 3px; border: 1px solid #333; color: #333; padding: 3px 6px; }
#mainContent .wp-pagenavi a:hover { background-color: #DABF4A; }
#mainContent .wp-pagenavi .current { background-color: #333; border: 1px solid #333; padding: 3px 6px; color: #fff; }



/* ----------------------------------------------
	GALLERY 
-------------------------------------------------*/

.gallery-item { float: left; margin: 0px 15px 12px 0; }
.gallery-caption { display: none; }
.fotoNav { border-top: 1px solid #111; margin-bottom: 25px; padding: 6px; text-align: center; }
.fotoNav a { background-color: #333; color: #fcfcfc; font-size: 11px; padding: 2px 6px; text-transform: uppercase; text-align: center; }
.fotoNav a.back2gallery { background-color: #777; color: #fff; }
.fotoNav a:hover { background-color: #743708; color: #fff; }
.entry .gallery img { margin: 0; }


/* ----------------------------------------------
	CONTACT FORM 
-------------------------------------------------*/

#mainContent div.wpcf7 { font-size: 11px; margin: 25px 0; width: 500px; margin: 30px 0; border-top: 3px solid #555; padding-top: 15px; }
#mainContent div.wpcf7 .your-name input, #mainContent div.wpcf7 .your-email input, #mainContent div.wpcf7 .your-message textarea, #mainContent div.wpcf7 input#antispam { padding: 5px; font-size: 14px; width: 300px; border: none; margin-top: 3px; background-color: #e8e8e8; border: 1px solid #ccc; }
#mainContent div.wpcf7 .wpcf7-submit { font-size: 11px; text-transform: uppercase; width: 120px; height: 30px; }
#mainContent div.wpcf7 .your-message textarea { font-family: "Lucida Grande", Helvetica, "Trebuchet MS", Arial, sans-serif; width: 480px; }
#mainContent div.wpcf7 span.wpcf7-not-valid-tip { font-size: 11px; font-weight: bold; background-color: #984646; color: #fff; text-align: center; border: none; }
#mainContent div.wpcf7 div.wpcf7-response-output { margin: 25px 0; font-size: 13px; text-align: center; }
#mainContent div.wpcf7 div.wpcf7-validation-errors { background-color: #F7E700; color: #111; }
#mainContent div.wpcf7 div.wpcf7-mail-sent-ok { background-color: #51CB1C; color: #fff; font-weight: bold; }
#mainContent div.wpcf7 .submit { text-align: right; font-size: 14px; }



