/*
Theme Name: Matala
Theme URI: http://ma.tt
Description: Theme for ma.tt, beginning March 2008.
Version: 1.0
Author: Nicolò Volpato |MC|
Author URI: http://www.gnvpartners.com
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: fixed-width, threaded-comments, translation-ready
*/

/*-----------------------------------------------------------------------------------------------
  Global Styles
-----------------------------------------------------------------------------------------------*/
/*   *:first-child+html body   hack for IE7 */

* {
	padding:0;
	margin:0;
	outline:0;
}

h1, h2, h3, h4, h5, h6, p, pre, .category-quote, label, ul, ol, dl, fieldset, address { font-weight:normal; }

li, dd { margin-left:5%; }

.clear{ clear:both; height:0px; font-size:0px; line-height:0px; }

a img{ border:none; }

html{
	background-color:#fef3d7;
	background-position:center top;
	background-repeat:repeat;
}

body{
	background:transparent url(img/bg_body.jpg) repeat-x left bottom;
	color:#261A11;
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
	line-height:18px;
}

#wrapper{
	background:transparent url(img/bg_wrapper.jpg) repeat-x left top;
}

#container{
	background-color:transparent;
	background-position:center top;
	background-repeat:no-repeat;
}

#content{
	background-color:transparent;
	background-position:center bottom;
	background-repeat:no-repeat;
	padding:0;
}

.inside{
	margin:0 auto;
	width:960px;
}

#site-title a, #site-description {
font-family:Georgia, serif;
color:white;
top: 0px;
text-shadow:0 -2px 2px rgba(0,0,0,0.8);
font-weight:normal;
}

#site-title a{
font-size:164px;
position:absolute;
margin-bottom:200px;
margin-left:310px;
}

#site-description {
position:absolute;
top: 110px;
font-size:32px;
}

/*--- H and Generic Elements----------------------------------------------------*/

h1, h1 a, h2, h2 a, h3, h3 a, h4, h4 a, .date, .date a,  .navigation, .navigation a, .numbers a{
	font-family:Georgia, "Times New Roman", Times, serif;
	color:#D8471D;
	text-decoration:none;
	font-weight:bold;
}

h1, h1 a, h2, h2 a{
	font-size:24px;
	line-height:26px;
}

h2, h2 a{
	color:#3D271A;
}	
	

h3, h3 a{
	font-size:17px;
	line-height:24px;
}

h4, h4 a{
	font-size:12px;
	line-height:18px;
	font-weight:normal;
}

h4 a{
	font-weight:bold;
}


h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover{
	color:#98B100;
}

h5{
	font-family:Arial, Helvetica, sans-serif;
	font-size:11px;
	line-height:18px;
	color:#644A3D;
}

h5 a{
	color:#261A11;
}

h5 a:hover{
	border-bottom:1px solid #D8471D;
}


p, blo.category-quote{
	margin-bottom:15px;
}

p a, .category-quote a, .category-quote p a, .comlink a, li a, .caption  table a{
	color:#D8471D;
	border-bottom:1px solid #fff;
}

p a:hover, .category-quote a:hover, .category-quote p a:hover, .comlink a:hover, li a:hover {
	border-bottom:1px solid #C5AE7C;
}

.category-quote, .category-asides p {
	font-family:Arial, Helvetica, sans-serif;
	font-size:16px;
	line-height:22px;
	border-left:2px solid #D8471D;
	padding:0 10px 0 20px;
	color:#534133;
}

.category-asides p{
	font-size:12px;
	line-height:18px;
	margin-bottom:20px;
}

a{
	text-decoration:none;
}

blockquote {
	background: url(img/cat_quote.gif) transparent no-repeat top right;
	background-color:#F6F2E8;
	margin-left: 30px;
	padding: 5px;
	font-size: 14px;
	font-style: italic;
}

/*--- #Content ----------------------------------------------*/

/* HEADER */
.menu-header {
	height:260px;
}

#menu-main-menu{
	width:400px;
	height:51px;
	float:left;
	margin:167px 0 30px 15px;
	margin /**/:167px 0 30px 30px;
	-webkit-transform: rotate(1deg); 
	-moz-transform: rotate(1deg);
}

#menu-main-menu li{ 
	display:block;
	float:left;
	background-color:transparent;
	height:51px;
	padding: 15px 12px 0px 0px;
	margin:0;
	font-size:15px;
	min-width:66px;
	font-family:Georgia, serif;
	font-weight:bold;
	-webkit-transform: rotate(2deg); 
	-moz-transform: rotate(2deg);
}

#menu-main-menu li:hover, #menu-main-menu li.current-menu-item, #menu-main-menu li.current-post-ancestor {
	background:transparent url(img/bg_selector.gif) no-repeat top center;
	background-position: -8px 0;
}

#menu-main-menu li:nth-child(even){ 
	-webkit-transform: rotate(-4deg); 
	-moz-transform: rotate(-4deg);
}

#menu-main-menu li a {
	color:#261A11;
	display:block;
	width:100%;
	height:100%;
	border:0;
}

/*--- Main Column ------------------------------------------------------------------------------*/
.main_col, .sidebar{
	float:left;
	padding:0;
}

.main_col{
	width:635px;
	margin:0 40px 0 15px;
	margin /**/:0 51px 0 20px;
}

.date{	
	height:50px;
	width:82px;
	float:left;
	font-size:14px;
	line-height:12px;
	text-align:center;
	text-transform:uppercase;
	background:transparent url(img/bg_date.gif) no-repeat center center;
	padding:10px 0 0 0;
	margin-top:15px;
}
.date span{
	color:#261A11;
	font-size:30px;
	line-height:30px;
	font-weight:normal;
	font-style:italic;
}


.title{
	background:transparent url(img/bg_title_big.gif) no-repeat left top;
	padding:15px 0 15px 20px;
	width:460px;	
	margin:0 0 10px 0;
	float:left;
}


a.icon{
	display:block;
	float:right;
	height:50px;
	width:50px;
	margin-top:10px;
	text-indent:-99999px;
	background-color:transparent;
	background-repeat:no-repeat;
	background-position:left center;
	background-image:url(img/video_32x32.png);
	border-bottom:none;
}

a.icon:hover{
	border-bottom:none;
}


/*--- .post ---*/
.post{
	margin-bottom:20px;
	overflow:hidden;
}

.post p{
	margin:0 0 15px 10px;
	font-size:13px;
}

.post img, .random img, .post a img , .random a img, .post object, .post embed{
	border:3px solid #DACDAB;
	padding:1px;
}

.post .wp-smiley {
	border: 0;
	padding: 0;
	margin: 0;
}

.post a img, .random a:hover img, .post a:hover img{
	border:3px solid #C5AE7C;	
}

.post img, .post img a, .post a img{
	margin-bottom:15px;
}

.post object, .post embed{
	display:block;
}

.post .comlink a {
	float:right;
	margin:0 10px 20px 0;
}

.category-quote a.icon{ 
	background-image:url(img/cat_quote.gif);
}

.category-quote .date, .category-quote .title h1, .picture .date, .picture .title h1, .category-asides .date, .category-asides .title, .category-asides a.icon, .category-asides .comlink { 
	display:none; 
}

.post {
	clear: both;
}

.category-quote .title h5, .video .title h5, .picture .title h5{ 
	padding-top:8px; 
}

.category-quote .title, .picture .title, .video .title{ 
	background:none; 
	padding-left:10px; 
	margin-bottom:0; 
}

.category-picture a.icon{
	background-image:url(img/cat_photo.gif);
}

/*--- Comments ---*/

.commentlist {
	list-style-type: none;
}

.commentlist ul {
	margin:-15px 0 0 15px;
	list-style-type: none;
}

.commentlist ul ul, .commentlist ul ul ul {
	margin: 0 0 0 15px;
	list-style-type: none;
}

.commentlist .children li {
	margin: 0 0 5px;
}

#cancel-comment-reply {
	margin: -10px 0 0 4%;
}

.comment{
	padding:15px;
	margin-left:10px;
}

.pingback .text {
	margin-left: 80px;
}


.post .ablock, .post .ablock:hover {
	background-color: #fff;
	padding:1px;
	border:1px solid #DACDAB;
	margin:0 15px 5px 0;
	float:left;
	display: block;
}

.post .ablock img, .post .ablock img:hover {
	border:none;
	margin:0;
}

.text{
	width:85%;
	float:left;
}

.bypostauthor{
	background-color:#F6F2E8;
	margin-left:10px;
	padding:15px;
}

/*--- Comment Form ---*/
#commentform{
	border-top:1px solid #DACDAB;
	padding-top:15px;
}

#commentform .left, #commentform .right{
	width:50%;
}

#commentform input, #commentform textarea{
	border: 1px solid #DACDAB;
	background: #fff;
	padding: 8px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #8E7152;
	width: 86%;
	width /**/:90%;
	margin: 0 0 15px 4%;
}

#commentform textarea{
	height:110px;

}

/*--- .navigation (prev and next buttons)---*/
.navigation, .pagination{
	margin-bottom:15px;
	clear: both;
}

.navigation .prev, .navigation .next{
	background-color:transparent;
	background-repeat:no-repeat;
	background-position:center center;
}

.navigation .prev a, .navigation .next a{
	height:25px;
	display:block;
	font-size:13px;
	line-height:14px;
}

.navigation .prev a span, .navigation .next a span{
	color:#644E3d;
	font-size:11px;
	line-height:12px;
	text-transform:lowercase;
}

.navigation .prev{
	float:left;
	background-image:url(img/bg_nav_prev.gif);
	text-align:right;
}

.navigation .prev a{
	padding:15px 25px 20px 0;
	width:135px;
}

.navigation .next{
	float:right;
	background-image:url(img/bg_nav_next.gif);
}

.navigation .next a{
	padding:15px 0 20px 35px;
	width:125px;
}

.multipage {
	font-size:14px;
}


/*--- Sidebar ---------------------------------------------------------------------------------------*/
.sidebar{
	width:200px;
	width /**/:240px;
	padding:10px 0 0 10px;
	margin:200px 0 0 0;
	color:#463B33;
}

/*-- .random: see also line 289 for .random img and .random a img ---*/
.random{ 
	margin-bottom:20px;
	text-align :center;
	background:transparent url(img/bg_random.jpg) no-repeat 45% bottom;
	padding:0 5px 30px 5px;
	width:auto;
} 




.sidebar .title{
	background:transparent url(img/bg_side_title.gif) no-repeat left center;
	width:222px;
	width /**/:238px;
	float:none;
}

.block{ 
	border-bottom:1px solid #D2C4A2;
	padding:10px 0 5px 0;
	margin:0 0 20px 10px;
	margin /**/:0 10px 20px 10px;
}
.sidebar .block p{
	margin-bottom:10px;
}


/*-- .sidebar UL ---*/
.sidebar ul{
	margin:0 10px 20px 10px;
}

.sidebar ul li{
	list-style-type:none;
	margin:0;
	padding:1px 0 2px 0;
	border-bottom:1px solid #D2C4A2;
}

.sidebar ul li a{
	color:#463B33;
}

.sidebar ul li a:hover{
	color:#D8471D;
}
/*-- List with get feed mini button ---*/
.sidebar ul li a.rss{
	float: right;
	background: url(img/img_feed_mini.jpg) no-repeat left center;
	padding:0 1px 0 16px;
}

.sidebar .title.getfeed{
	padding:20px 0 10px 8px;
}

.sidebar .title.getfeed h5{
	padding-bottom:5px;
	margin-top:-5px;
}

a#subscribe{
	display:block;
	float:left;
	height:30px;
	width:30px;
	margin-right:5px;
	padding:5px 0 5px 5px;
}


/*--- #Footer -----------------------------------------------------------------------------*/

.footer{
	padding:200px 0 50px 0;
	color:#8E7152;
	font-size:11px;
	line-height:15px;
}

.footer a{
	color:#8E7152;
}

.footer a:hover{
	color:#D8471D;
}


a#WP_logo{
	height:53px;
	width:52px;
	text-indent:-99999px;
	background:transparent url(img/WP_logo.jpg) no-repeat center center;
	float:left;
	margin:10px;
}

.footer .block{
	width:550px;
	padding:5px 0 5px 20px;
	margin:0;
	border-left:1px solid #f0e3c5;
	float:left;
}

.main_col .block{
	margin-left:0;
	margin-right:0;
}

.left, .right, .caption{
	width:33%;
	float:left;
}


/*--- .Photo (big photo), .thumb, .set ------------------------------------------*/

.photo, .set, .thumb{
	background-color:transparent;
	background-repeat:no-repeat;
	background-position:center bottom;
	padding-bottom:6px;
	margin-bottom:10px;
	text-align:center;
	width:auto;
}
.photo a, .thumb a, .set a{
	background-color:transparent;
	background-repeat:no-repeat;
	background-position:right top;
	padding-top:15px;
	display:block;
}


.photo{
	background-image:url(img/bg_photo.jpg);
	padding-bottom:10px;
	margin:0 auto 20px auto;
}
.photo a, .photo a:hover{
	background-image:url(img/bg_photo_a.jpg);
	background-position:center top;
}
.photo img, .set img, .thumb img{
	border:5px solid #DACDAB;
	padding:1px;
}

.set{
	float:left;
	background-image:url(img/bg_set.jpg);
}
.set a{
	background-image:url(img/bg_set_a.gif);
	padding-top:8px;
}
.right .set{
	float:right;
}

.thumb{
	background-image:url(img/bg_thumb.gif);
	background-position:center bottom;
	width:150px;
	padding-bottom:10px;
	margin-bottom:0;
}

.thumb a{
	background-image:url(img/bg_thumb_a.gif);
	background-position:center top;
	padding-top:10px;
}

.thumb a:hover{
	background-image:url(img/bg_thumb_a.gif);
}





.block .text{
	width:500px;
	float:right;
}



.caption{
	margin-top:30px;
	font-size:14px;
	line-height:18px;
	color:#534942;
}


/*____________________________________________________________
	Single Photo Page 
_______________________________________________________________*/

.single_photo_col, .photo_set_col{
	width:850px;
	margin:0 auto;
}

.navigation, .pagination{
	border-bottom:1px solid #D2C4A2;
	padding-bottom:20px;
}

.single_photo_col .navigation .prev{
	background-image:url(img/left_narrow.gif);
	background-position:left center;
	width:40%;
	margin-top:10px;
	text-align:left;
}

.single_photo_col .navigation .prev a{
	height:10px;
	padding:0 0 10px 50px;
}


.single_photo_col .navigation .next{
	background-image:url(img/right_narrow.gif);
	background-position:right center;
	text-align:right;
	margin-top:10px;
}

.single_photo_col .navigation .next a{
	height:10px;
	padding:0 50px 10px 0;
}


.single_photo_col .navigation h2{
	width:40%;
	float:right;
	text-align:right;
	margin-bottom:0;
}

h3.comment_title{
	text-align:right;
	background:transparent url(img/bg_h3comment.jpg) no-repeat right bottom;
	padding-bottom:30px;
	margin-bottom:10px;
}

.comment {
	padding:15px;
	margin-left:0;
}

.text{
	width:85%;
}

.separator{
	border-bottom:1px solid #D2C4A2;
	margin:40px 0 15px 0;
}


/*____________________________________________________________
	Photo Set Page 
_______________________________________________________________*/

/*--- Numbers Navigation ---*/
.pagination{
	background:transparent url(img/left_narrow.gif) no-repeat 125px center;
}

.numbers{
	background:transparent url(img/right_narrow.gif) no-repeat right center;
	width:470px;
	margin:0 auto;
}

a.numb{
	height:22px;
	width:24px;
	padding:4px 0 0 0;
	display:block;
	float:left;
	text-align:center;
}

a.numb:hover, a.numb.selected{	
	background:transparent url(img/bg_numb_hover.gif) no-repeat center center;
}

.main_col .block .text{
	width:360px;
	float:right;
	margin-top:10px;
}

.main_col .gallery {
	clear: both;
	margin-bottom: 20px;
}

.main_col .gallery .title {
	width: 380px;
}

.photo_set_col .block .text p, .photo_set_col .block .text h2, .photo_set_col .block .text h2 a{
	margin-left:20px;
}

.photo_set_col .navigation{
	border-bottom:none;
}

.post .dates {
	margin-top: 2em;
}
.post .dates li {
	margin-bottom: 5px;
}

img#wpstats{width:0px;height:0px;padding:0px;border:none;overflow:hidden; position: absolute;}

div.text-alignright {
	text-align: right;
}

div.text-alignright button {
	border: 0 none;
	background: transparent;
}

/* Double col layout */

html {
	background-image: url(img/bg_html_2col.jpg);
}

#container{
	background-image:url(img/bg_container_2col.jpg);
}

#content{
	background-image:url(img/bg_content_2col.jpg);
}


.gallery {
	margin: auto;
}
.gallery-item {
	float: left;
	margin-top: 10px;
	text-align: center;
	width: 33%;
}

.gallery-caption {
	margin-left: 0;
}

/* Single col layout for attachments */

body.attachment #container{
	background-image:url(img/bg_container_1col.jpg);
}

body.attachment #content{
	background-image:url(img/bg_content_1col.jpg);
}

body.attachment .block{
	margin-left:0;
	margin-right:0;
}

body.attachment .left, body.attachment .right, body.attachment .caption{
	width:30%;
	float:left;
}

body.attachment .left .navigation, body.attachment .right .navigation{
	border:none;
}

body.attachment .caption{
	margin-top:3px;
	font-size:14px;
	line-height:18px;
	color:#534942;
	width:40%;
}

body.attachment .caption h3{
	border-bottom:1px solid #D2C4A2;
}

body.attachment .bigcaption {
	font-family: Georgia, "Times New Roman", Times, serif;
	width:750px;
	margin:0 auto 20px auto;
	text-align: center;
	font-size: 36px;
	line-height: 42px;
}

body.attachment .longdesc {
	width:40%;
	margin:0 auto 30px auto;
}

body.attachment .photo-tech {
	margin-bottom: 15px;
	margin:0 auto; 
	width:100%;
	line-height:20px;	
	padding:15px 10px 15px 10px;
}

body.attachment .photo-tech th {
	text-align: left;
}

body.attachment .photo-tech td {
	padding-left:15px;
}


/*____________________________________________________________
	Single Photo Page 
_______________________________________________________________*/

body.attachment .single_photo_col, body.attachment .photo_set_col{
	width:820px;
	width /**/:850px;
	margin:0 auto;
	padding-left:20px;
	padding-left /**/:0;
}

body.attachment .navigation, body.attachment .pagination{
	border-bottom:1px solid #D2C4A2;
	padding-bottom:20px;
}

body.attachment .single_photo_col .navigation .prev{
	background-image:url(img/left_narrow.gif);
	background-position:left center;
	width:40%;
	margin-top:10px;
	text-align:left;
}

body.attachment .single_photo_col .navigation .prev a{
	height:10px;
	padding:0 0 10px 50px;
}


body.attachment .single_photo_col .navigation .next{
	background-image:url(img/right_narrow.gif);
	background-position:right center;
	text-align:right;
	margin-top:10px;
}

body.attachment .single_photo_col .navigation .next a{
	height:10px;
	padding:0 50px 10px 0;
}


body.attachment .single_photo_col .navigation h2{
	width:40%;
	float:right;
	text-align:right;
	margin-bottom:0;
}

body.attachment h3.comment_title{
	text-align:right;
	background:transparent url(img/bg_h3comment.jpg) no-repeat right bottom;
	padding-bottom:30px;
	margin-bottom:10px;
}

body.attachment .comment {
	padding:15px;
	margin-left:0;
}

body.attachment .text{ 
	width:88%;
}
body.attachment .block .text{
	width:500px;
	float:right;
}

/*____________________________________________________________
	Photo Set Page 
_______________________________________________________________*/


/*--- Numbers Navigation ---*/
body.attachment .pagination{
	background:transparent url(img/left_narrow.gif) no-repeat 125px center;
}

body.attachment .numbers{
	background:transparent url(img/right_narrow.gif) no-repeat right center;
	width:470px;
	margin:0 auto;
}

body.attachment a.numb{
	height:22px;
	width:24px;
	padding:4px 0 0 0;
	display:block;
	float:left;
	text-align:center;
}

body.attachment a.numb:hover, body.attachment a.numb.selected{	
	background:transparent url(img/bg_numb_hover.gif) no-repeat center center;
}

body.attachment .block .text{
	width:500px;
	float:right;
	margin-top:10px;
}

body.attachment .photo_set_col .block .text p, body.attachment .photo_set_col .block .text h2, body.attachment .photo_set_col .block .text h2 a{
	margin-left:20px;
}

body.attachment .photo_set_col .navigation{
	border-bottom:none;
}

/* Special WordPress styles */
.alignleft, {
	float: left;
}

.alignright{
	float: right;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	background: #f1f1f1;
	line-height: 18px;
	margin-bottom: 20px;
	padding: 6px;
	text-align: center;
}

div.wp-caption img {
	margin: 0;
	padding: 0;
}

.wp-caption p.wp-caption-text {
	color: black;
	font-size: 12px;
	margin: 5px;
}
