/*
Theme Name: Twentyeleven Child
Description: Child theme for the twentyeleven theme 
Author: Your name here
Template: twentyeleven
*/

@import url("../twentyeleven/style.css");

body {
    background: #e2e2e2;
    background-image: url(images/bg5.png);
    background-color: rgb(194, 176, 122);
    background-repeat: repeat repeat;
    /*font-family: constantia,'hoefler text','palatino linotype',serif !important;*/
}

p, li, th, td {
    color: #111111;
    font-family: 'Esteban',  serif;
    font-size-adjust: none;
    font-style: normal;
    font-variant: normal;
    font-weight: 400;
    font-size: 1.25em;
    text-indent: 0em;
    line-height: 1.714;
}

pre {
    background: none;
    margin-bottom: 0;
}

.entry-title {
    font-family: constantia,'hoefler text','palatino linotype',serif !important;
    color: #333333 !important;
}

footer.entry-meta {
    padding: 1em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: constantia,'hoefler text','palatino linotype',serif !important;
    color: #333333 !important;
}

h1 { font-size: 2.2em; }
h2 { font-size: 2.1em; }
h3 { font-size: 2.0em !important; text-transform: none !important; font-weight: bold; font-style: italic; }
h4 { font-size: 0.95em; font-family: 'Belgrano', serif; font-weight: bold; }
h5 { font-size: 1.3em; font-family: 'Belgrano', serif; font-weight: bold; font-style: italic }
h6 { font-size: 0.7em; font-weight: bold; }

table { 
    border: 1px solid #dbdbda;
    padding: 0.2em;
    margin-bottom: 1em;
    -webkit-box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 10px;
    -moz-box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 10px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 10px;
}


th {
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    padding-left: 1em;
    padding-right: 1em;
    font-weight: bold;
    border-bottom: 1px solid #aaaaaa;
}

td {
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    padding-left: 1em;
    padding-right: 1em;
}

/* Table rows with strips in sets of three */
.three tr:nth-child(6n+0) { background: #FFFAF0; }
.three tr:nth-child(6n+1) { background: #FFFFFA; }
.three tr:nth-child(6n+2) { background: #FFFFFA; }
.three tr:nth-child(6n+3) { background: #FFFFFA; }
.three tr:nth-child(6n+4) { background: #FFFAF0; }
.three tr:nth-child(6n+5) { background: #FFFAF0; }

/* Table rows with strips in sets of three, with table header */
.three-th tr:nth-child(6n+2) { background: #FFFFFA; }
.three-th tr:nth-child(6n+3) { background: #FFFFFA; }
.three-th tr:nth-child(6n+4) { background: #FFFFFA; }
.three-th tr:nth-child(6n+5) { background: #FFFAF0; }
.three-th tr:nth-child(6n+0) { background: #FFFAF0; }
.three-th tr:nth-child(6n+1) { background: #FFFAF0; }
.three-th th { background: #FFFFFA; }

article { padding-top: 0px !important; }

.singular .entry-header, .singular .entry-content, .singular footer.entry-meta, .singular #comments-title
{
    width: 85%;
}

blockquote {
    margin-bottom: 1em;
}

p img {
    margin: 0em 0.5em 0em 0.5em;
    -webkit-box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 10px;
    -moz-box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 10px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 10px;
}

#page
{
    padding-top: 9px;
    margin-bottom: 75px;
    -moz-border-radius: 9px;
    border-radius: 9px;
    background: #f9f9f9;
    -webkit-box-shadow: rgba(0, 0, 0, 0.6) 0px 0px 15px;
    -moz-box-shadow: rgba(0, 0, 0, 0.6) 0px 0px 15px;
    box-shadow: rgba(0, 0, 0, 0.6) 0px 0px 15px;
    opacity: 0.95;
    filter: alpha(opacity=95); /* For IE8 and earlier */
    /*  border: 1px solid #9f9a8c; */
}

#branding {
    background: none;
    border: none;
}

#site-title a {
    font-family: constantia,'hoefler text','palatino linotype', serif !important;
    color: #333333;
}

#site-title {
    padding-top: 0em;
    margin-top: 1em;
    margin-bottom: 1.25em;
}

#branding #searchform {
    display: none;
    position: absolute;
    top: 3.8em;
    right: 7.6%;
    text-align: right;
}

#branding #site-description {
    position: absolute;
    margin: 0;
    top: 18px;
    right: 5%;
    text-align: right;
    font-style: italic;
    color: #555555 !important;
}

#access {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

#access a {
    font-family: 'Source Sans Pro', serif;
    font-size: 15px !important;
    line-height: 3em;
    color: #eeeeee;
}

#access ul ul a {
    background: #333333;
    border-bottom: none;
    color: #d9d9d9;
    font-size: 11px;
    font-weight: normal;
    height: auto;
    line-height: 1.1em;
    padding: 7px 7px;
    opacity: 0.99;
    filter: alpha(opacity=99);
    width: 300px;
}

#access li:hover > a,
#access ul ul :hover > a,
#access a:focus {
    background: #333333;
}
#access li:hover > a,
#access a:focus {
	background: #222222; /* Show a solid color for older browsers */
	color: #ffffff;
}

#main {
    padding: none;
}

#site-generator {
    /*display: none;*/
    background: none;
}
#site-generator a { font-weight: normal; }

div.code-block {
    padding: 0.3em;
    margin-bottom: 1em;
    background: white;
    -webkit-box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 10px;
    -moz-box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 10px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 10px;
}

div.drop {
    padding: 0.3em;
    margin-bottom: 1em;
    background: white;
    border: 1 solid black;
    -webkit-box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 10px;
    -moz-box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 10px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 10px;
}

/* "No comment" is invisible */
p.nocomments {
    display: none;
}

.centre {
    text-align: center;
}

/* -------------------------------------------------------------- Code */
.code-lead p {
    margin-top: 0em;
    margin-bottom: 0em;
}

.code-lead p+p {
    margin-top: 1em;
    margin-bottom: 0em;
}

/* -------------------------------------------------------------- Essay Style */

.essay h1, .essay h2 {
    font-family: constantia,'hoefler text','palatino linotype',serif !important;
    font-size: 28px;
    color: #555555 !important;
    position: relative;
    top: 0.4em;
}

.essay h1 {
    padding-bottom: 0.75em;
}

.essay h2 {
    font-style: italic;
    font-weight: normal;
    font-size: 24px;
}

.essay p+p, .essay .dialog+p {
    text-indent: 3em;
    margin-top: -1.55em;
}

.essay h1+p:first-letter, .essay h2+p:first-letter
{
    text-indent: 0em;
    font-size: 3em; 
    float: left; 
    background:#555 url('images/stripes.png') repeat; 
    color:#fff; 
    margin: .105em .1em 0 0; 
    padding: .1em; 
    line-height: .7em;
    border: 1px outset;
}

.normal
{
    text-indent: 0em !important;
    padding-top: 1em;
}

/**
.mac .essay > p:nth-child(1):first-letter { 
    margin: .105em .1em 0 0; 
    padding: .1em;
}


.mac .chrome .essay > p:nth-child(1):first-letter { 
    margin: .105em .1em 0 0; 
    padding:.22em .05em .0em .05em; 
}

.safari .essay > p:nth-child(1):first-letter { 
    margin: .105em .1em 0 0; 
    padding:.22em .05em 0em .05em; 
}

.opaqueme {
    opacity: 0.92 !important;
}

.ie7 .essay > p:nth-child(1):first-letter { 
    line-height:1em !important;
}
.ie8 .essay > p:nth-child(1):first-letter {
    line-height:.8em; 
    padding:.25em .25em .0em .25em;
    margin-right: 0.2em;
    border: outset #ffffff 1px;
}
*/

code { 
    border: 1px solid #dbdbda;
    padding: 0.2em;
    margin-bottom: 1em;
    width: 100%;
    font-size: 1.24em;
    line-height: 135%;
    -webkit-box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 10px;
    -moz-box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 10px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 10px;
}


table.dialog {
    padding-bottom: 0.5em !important;
    border: none !important;
    position: relative;
    top: -.45em;
    -webkit-box-shadow: none; 
    -moz-box-shadow: none;
    box-shadow: none;
}

.dialog th {
    border: none !important;
    padding-left: 6em !important;
    padding-right: 0em !important;
    padding-top: 0em !important;
    line-height: 1.7em;
}

.dialog td {
    border: none !important;
    padding-right: 3em !important;
    font-size: small;
    line-height: 1.7em;
}

.dialog p, .dialog p+p {
    text-indent: 6em;
}

div.hr, .essay hr, .fleuron {
    height:4.8em; 
    background:url('images/fleuron.png') center 1em no-repeat; 
    margin: 3.2em 0 2.4em; display:block; border-width:0px; border-style: none !important;
    border: none !important;
}

div.hr hr {
    display: none;
}

.section-title {
    width: 100%; 
    text-align: center; 
    margin-bottom: 3em;
    font-family: constantia,'hoefler text','palatino linotype',serif !important;
}

.endnotes p, .endnotes p+p
{
    text-indent: 0em;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

/* Endnotes */
a.footnote {
    color: #333333 !important;
    font: small-caption !important;
    font-size: x-small !important;
    font-style: normal;
    font-weight: normal;
    top: -0.75em;
    left: -0.00em;
    position: relative;
}

a.footnote:link    { text-decoration:none; }
a.footnote:visited { text-decoration:none; }
a.footnote:hover   { color: black; text-decoration:underline; }
a.footnote:active  { text-decoration:none; }

.reference p, .reference p+p {
    text-indent: -5em;
    padding-left: 5em;
    padding-top: 0.5em;
}






