/*
Theme Name: Icoms Paper
Theme URI: http://ozanonay.com/blog/blogging/headless-wordpress-theme
Description: Headless WordPress theme is clean, pixel-perfect and grid-based. Since content is king, the 'header' is placed at the bottom leaving more content above the fold.
Version: 0.9.2
Author: Ozan Onay
Author URI: http://ozanonay.com/
Tags: simple, minimalist, fixed width, two columns, right sidebar, widget ready, valid CSS, valid XHTML, gray, white, gravatars

*************

Released on a Creative Commons GNU GPL license. See http://creativecommons.org/licenses/GPL/2.0/ for more details.

An 18px grid is used for aesthetic purposes. It is strictly adhered to on the vertical axis, and generally adhered to on the horizontal axis. Modifications will have the best result if all sizes (particularly line heights) are kept as multiples of 18. Notice that this can be a bit tricky when divs have borders (so for example where there's a 1px border, padding/margin should be 17/35/53 px).

I haven't styled the calendar, so you should style this before you use it.

*************/

/* Initialisation */
* { margin: 0px; padding: 0px; text-decoration:none; }
.clear, .postmetadata {clear: both;}


/* Core structure */
#page {
margin:auto; 
width: 917px;
overflow: auto;
background-image: url(images/content.png);
/*border: solid 1px #33CCFF;*/
padding: 20px 0 40px 0;
}

#header {
width: 917px;
height: 253px;
background-image: url(images/header.png);
margin: 50px auto 0 auto;
}

#header h1 {
width: 146px;
height: 90px;
float: left;
background-image: url(images/logo.gif);
position: relative;
top: 71px;
left: 94px;
}

#header h1 a {
width: 120px;
height: 75px;
display: block;
}

#header h1 a span {
display: none;
}


#header #nav {
width: 700px;
height:30px;
/*border: solid 1px #000000;*/
font-size: 1.48em;
float: left;
letter-spacing: -0.4px;
margin: 65px 0 0 326px;
text-transform: lowercase;
}

#header #nav ul {
list-style: none;
}

#header #nav ul li {
float: left;
margin-right: 40px;
height: 30px;
}

#header #nav ul a {
color: #FFFFFF;
height: 30px;
padding: 7px;
}

#header #nav ul a:hover {
background-color: #FFFFFF;
color: #333333;
}

#content {
float: left;
margin: 30px 0 0 70px;
width: 500px;
/*border: solid 1px #000000;*/
}

#content-home {
float: left;
margin: 0 0 0 60px; 
width: 790px;
min-height: 500px;
/*border: solid 1px #000000;*/
}

#content-home h3 {
font-size: 20px;
font-weight: normal;
margin: 0 0 16px 0;
}


#content-home ul {
margin: 0;
padding: 0;
list-style: none;
}

#content-home ul li {
background-image: url(images/portafolio-bullet.gif);
background-position: left;
background-repeat: no-repeat;
padding: 0 0 0 20px;
}


#sidebar{
float:right; 
margin: 30px 70px 0 36px; 
/*border: solid 1px #000000;*/
width: 200px;}


#footer {
margin: 0px auto 50px auto; 
clear: both;
background-image: url(images/footer.png);
background-position: bottom center;
background-repeat: no-repeat;
width: 917px;
height: 162px;
}


/* Universal typography and colors */
body {
font-size: 12px; 
line-height: 18px; 
font-family: 'Lucida Grande', 'Lucida Sans Unicode', Verdana, Helvetica, sans-serif;
color: #333333;
text-align: center; 
background: #fff url('images/background.jpg') repeat-x top center;
background-attachment: fixed;
}
#page {text-align: left;}
#sidebar, .postdetails, .posttags, #footer, .postmetadata, #commentform, .commentmetadata {color:#aaa;} /*this is the lighter, faux-transparent text color */
a {color:#0EB9F1;} 
a:hover {color:#6EDAF1;}
#sidebar a, .commentlist a, .postdetails a, .posttags a, #footer a, .postmetadata a, #commentform a {color:#0EB9F1;} /* this is the lighter, faux-transparent anchor color */
#sidebar a:hover, .commentlist a:hover, .postdetails a:hover, .posttags a:hover, #footer a:hover, .postmetadata a:hover, #commentform a:hover {color:#6EDAF1;}
.entry p a {border-bottom: 1px dotted #999;}
small {font-size: 10px; line-height:18px;}

#content .entry {


width: 100%;
}

.post h2 {
font-weight: normal;
letter-spacing: -0.03em;
line-height: 32px;
float: right;
font-size: 28px;
width: 445px;
text-align: left;
margin: 0 0 20px 0;
}

/* Universal header styles */
h1, h2, h3 {font-family: Georgia,'Times New Roman',Times,serif; font-weight:normal;}
h2, h3 {margin-bottom:35px;}
h1, h1 a {color:#999; font-size: 24px; line-height:36px; text-align: left;}
h1 a:hover {color:#666;}
h2 {font-size: 30px; line-height: 36px; font-weight:normal; font-family: Georgia, "Times New Roman", Times, serif;}
h3 {font-weight:bold;}
h2, h2 a {color:#0EB9F1;}
h2 a:hover {
	color:#6EDAF1;
}


/* Content, entries */
.entry ol, .entry ul {padding: 0 0 0 36px; margin:-9px 0px 9px 0px;}



.post {margin: 0 0 45px 0}
.post hr {display: block;}
#content .post p {
margin: 0;
padding: 14px 0 0 0;
font-size: 1.10em;
width: 100%;
clear: both;
}
#content .smallattachment {text-align: center;float: left;width: 128px;margin: 5px 5px 5px 0px;}
#content .attachment {text-align: center;margin: 5px 0px;}
.postdetails {margin-top: 20px; margin-bottom:18px; font-size: 12px;}


/* Sidebar */
#sidebar p {margin-bottom:18px;}
#sidebar h2 {font-size: 12px; line-height:18px; margin:0px; font-weight:normal; color:#aaa;}
#sidebar ul {list-style-type: none; color:#ccc; clear: both;}
#sidebar ul li {list-style-type: none; margin: 0 0 18px 0;}
#sidebar ul ul {list-style-type:none;}
#sidebar ul ul li {list-style-type:disc; margin:0px;}
#sidebar ul ul, #sidebar ul ol {margin: 0 0 0 12px;}
#sidebar ul ul ul, #sidebar ul ol {margin: 0 0 0 12px;}
ol li, #sidebar ul ol li {list-style: decimal outside;}


/* Footer 
#footer {background:#333;}
#footer #h1, #footer .description {font-family: 'Century Gothic', Helvetica, Verdana, Arial, Sans-Serif}
.description {color:#888;font-size: 14px;}
#footer p a, #footer h1 a, #footer ul a {color:#999;}
#footer p a:hover, #footer h1 a:hover, #footer ul a:hover {color:#fff;}
#footercontainer {width:865px; text-align:left; margin: 0px auto; padding: 18px 0px; color:#666;}*/
#footer ul { padding:0px; font-size: 14px; margin: 0 0 14px 0;}
#footer ul li {display:inline; font-weight:bold;}
#footer ul li a {margin-right:18px; border:0px;}


/* Comments */
.commentlist {color:#666; text-align: left;}
.commentlist li {background: #f8f8f8 url('images/headless_respondbg.jpg') repeat-x top; border: 1px solid #eaeaea; margin: 18px 0 0;padding: 17px; list-style: none; font-weight: bold;}
.commentlist li .avatar { float: right; padding:0px 0px 9px 18px;}
.commentlist cite, .commentlist cite a {font-weight: bold;font-style: normal;}
.commentlist p {font-weight: normal; font-size:12px; text-transform: none;}
.commentmetadata {margin: 0;display: block;font-weight: normal;}
.nocomments {text-align: center;margin: 0;padding: 0;}


/* Comments response form */
div#respond {background: #f8f8f8 url('images/headless_respondbg.jpg') repeat-x top; padding:17px; margin-top:36px; border:1px solid #eaeaea;}
#commentform input.text {width: 170px; line-height:18px; font-size:18px; margin: 9px 5px 0px 0px; background:#eaeaea url('images/headless_inputbg.jpg') repeat-x top; border:1px solid #dbdbdb;}
#commentform textarea {width: 94%;padding: 8px; background:#eaeaea url('images/headless_inputbg.jpg') repeat-x top; border:1px solid #dbdbdb; font-size: 12px; line-height: 18px; font-family: Helvetica, Verdana, Arial, Sans-Serif; color: #111; margin-bottom:9px;}
#commentform #submit {margin: 0;float: right;}
.entry form { /* This is mainly for password protected posts, makes them look better. */ text-align:center;}
select {width: 130px;}
.submit {position:relative; top:-18px;}


/* Searchbox (designed to be in sidebar but can be included elsewhere)
#searchbox { float:right; width: 198px; height: 36px; background: url(images/headless_searchbox.jpg) no-repeat; margin-bottom:18px;}
#searchbox #s { float: left; border: 0; margin:2px 0px 0px 6px; width: 152px; background: none; color:#999999; height:34px; font-size:24px; line-height:34px;}
#searchbox #go { float: right; width:36px; height:36px;  }*/

#searchbox { float:right; width: 198px; height: 60px; margin-bottom:18px; clear: both;}
#searchbox #s {  border: solid 1px #CCCCCC; float: left; width: 152px; color:#999999; height:34px; font-size:24px;}

/* Images */
p img {max-width: 100%;}
img.centered {display: block;margin-left: auto;margin-right: auto;}
img.alignright {margin: 0 0 2px 18px;display: inline;}
img.alignleft {margin: 0 18px 2px 0;display: inline;}



/* Calendar - this is not intended for the theme and thus not styled */
#wp-calendar #prev a, #wp-calendar #next a {font-size: 9pt;}
#wp-calendar a {text-decoration: none;}
#wp-calendar caption {font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;text-align: center;}
#wp-calendar th {font-style: normal;text-transform: capitalize;}
#wp-calendar {empty-cells: show; margin: 10px auto 0; width: 155px;}
#wp-calendar #next a {padding-right: 10px; text-align: right; }
#wp-calendar #prev a {padding-left: 10px; text-align: left;}
#wp-calendar a {display: block;}
#wp-calendar caption {text-align: center; width: 100%;}
#wp-calendar td {padding: 3px 0; text-align: center;}
#wp-calendar td.pad:hover { /* Doesn't work in IE */ background-color: #fff; }


/* Captions */
.wp-caption {text-align: center;background-color: #f3f3f3;}
/*.wp-caption img {margin: 0;padding: 0;border: 0 none;}*/
.wp-caption p.wp-caption-text {	font-size: 10px; line-height: 18px; margin: 0px !important; color:#999;}


/* Misc. */
.alignright {margin: 0 0 2px 18px; float: right;}
.alignleft {margin: 0 18px 2px 0; float: left}
.aligncenter, div.aligncenter {display: block;margin-left: auto;margin-right: auto;}
code {font-family:'Courier New', Courier, Fixed;}
blockquote {margin: 18px 30px 0 10px;padding-left: 20px;border-left: 5px solid #ddd;}
blockquote cite {margin: 5px 0 0;display: block;}
.center {text-align: center;}
.hidden {display: none;}
hr {display: none;}
a img {border: none;}

#content p, #content-home p{
margin: 0 0 35px 0;
}

#content-home ul {
margin: 0 0 20px 0;
clear: both;
}

#content ul {
margin: 20px 0 0 0;
}






/*HOMEPAGE*/

#welcomebanner {
width: 842px;
height: 276px;
/*background-image: url(images/welcomebanner.jpg);*/
margin: 0 0 20px 0;
position: relative;
top: -20px;
left: -5px;
}

#welcomebanner span {
display: none;
}

/*

#welcomebanner #screenshots {
width: 337px;
height: 187px;
position: relative;
left: 450px;
top: 55px;
}
*/

#content-home {
font-size: 1.2em;
line-height: 20px;
}


#content-home .separator {
width: 100%;
height: 20px;
clear: both;
background-image: url(images/separator.gif);
background-position: top center;
background-repeat: no-repeat;
margin: 0 0 20px 0;
}


#content-home h2{
color: #0EB9F1;
font-size: 28px;
font-weight: normal;
margin: 0 0 20px 0;
padding: 0;
width: 100%;
font-family: Georgia, "Times New Roman", Times, serif;
}

.pagetitle {
color: #ccc;
}

#content-home h2 span a{
color: #999999;
}

#content-home #col1 {
width: 420px;
text-align: justify;
/*border: solid 1px #000000;*/
overflow: auto;
float: left;
font-size: 0.86em;
}

#content-home #col2 {
/*border: solid 1px #000000;*/
overflow: auto;
float: right;
width: 300px;
margin: 0 0 30px 0;
font-size: 0.75em;
}

#col1 h2, #col2 h2{
margin: 0 0 30px 0;
color: #333333;
}

#content-home #productos-home .item {
width: 300px;
/*border: solid 1px #666666;*/
float: left;
margin: 0 0 30px 0;
line-height: 16px;
min-height: 120px;
overflow: auto;
color: #666666;
}

#content-home #productos-home h4 {
font-size: 14px;
margin: 0 0 11px 0;
width: 218px;
float: right;
color: #333333;
}

#content-home #productos-home p {
width: 210px;
margin: 0 0 0 20px;
text-align: justify;
float: left;
}

#content-home #productos-home .item img {
float: left;
}

.minientry {
margin: 0 0 30px 0;
width: 100%;
overflow: auto;
clear: both;
}

.post-date{
float: left;
display: inline;
margin: 6px 10px 0 0;
background: url(images/fecha-boton.gif) no-repeat;
width: 39px;
height: 40px;
text-align: center;
color: #FFFFFF;
}

.post-date .month{
font-size: 12px;
margin: -2px 0 0 0;
}

.post-date .day{
font-size: 20px;
font-weight: bold;
letter-spacing: -2px;
}

.minientry h3 {
font-size: 1.9em;
font-weight: normal;
letter-spacing: -0.03em;
line-height: 25px;
float: right;
width: 360px;
text-align: left;
margin: 0 0 20px 0;
}

.minientry p {
clear: both;
width: 360px;
float: right;
font-size: 1.01em;
line-height: 18px;
margin: 0 0 6px 0;
}

.minientry a.vermas {
float: right;
width: 360px;
text-align: left;
margin: -25px 0 0 0;
}

/*PORTAFOLIO*/

#portafolio {
width: 100%;
font-size: 0.90em;
}

#portafolio .item {
clear: both;
width: 100%;
margin: 0 0 80px 0;
overflow: auto;
}

#portafolio .item img {
float: left;
padding: 6px;
border: solid 1px #CCCCCC;
width: 544px;
}

#portafolio .item p {
width: 210px;
float: right;
margin: 0;
}

#portafolio .item ul {
list-style: none;
margin: 20px 0 0 0;
padding: 0;
clear: right;
float: right;
width: 210px;
/*border: solid 1px #000000;*/
}

#portafolio .item ul li{
margin: 0;
padding: 0;
border-bottom: dotted 1px #CCCCCC;
background-image: url(images/portafolio-bullet.gif);
padding: 4px 0 4px 20px;
background-repeat: no-repeat;
background-position: left;
}

.muestra {
width: 305px;
height: 260px;
float: left;
margin: 0 20px 10px 0;
border: solid 1px #ccc;
}

.muestra img {

}


