/* vim: set ts=4 sw=4 et: */

@import url(normalize.css);

@-webkit-keyframes fade {from {opacity: 0;} to { opacity: 1;}}
@-moz-keyframes    fade {from {opacity: 0;} to { opacity: 1;}}
@-ms-keyframes     fade {from {opacity: 0;} to { opacity: 1;}}
@-o-keyframes      fade {from {opacity: 0;} to { opacity: 1;}}
@keyframes         fade {from {opacity: 0;} to { opacity: 1;}}


body {
    font-family: "Georgia", "Century Schoolbook L", "Nimbus Roman No9 L", "Norasi", "Rekha", serif;
    font-size: 18px;
    line-height: 1.5em;
    color: #444;
    background-color: #F7FFF1;
    /* background-image: url("/theme/img/background-squares.jpg"); */
    -webkit-animation: fade 600ms 1 ease-in-out;
    -moz-animation: fade 600ms 1 ease-in-out;
    -ms-animation: fade 600ms 1 ease-in-out;
    -o-animation: fade 600ms 1 ease-in-out;
    animation: fade 600ms 1 ease-in-out;
}

h1, h2, h3,
h4, h5, h6,
.meta {
    font-family: "Lucida Grande", "Gargi_1.7", "Garuda", "Jamrul", "Loma", "Malayalam", "Mukti Narrow", sans-serif;
    color: #2A5909;
    line-height: 1.1em;
    font-weight: normal;
}

hr {
    border-top: 1px solid #2A5909;
}

article {
    margin-bottom: 4em;
}

article header h1 {
    padding: .1em 0;
    margin: 0;
}

article header .meta {
    font-size: .9em;
}

/* article header .meta a { text-decoration: none; } */
article header .meta a:hover {
    text-decoration: underline;
}

article:after {
    content: "* * *";
    /* content: '\00A7'; */
    display: block;
    text-align: center;
    font-weight: lighter;
    font-size: 1.5em;
}

article:last-of-type:after {
    content: '';
}

/* page head */

#page-head {
    text-align: left;
    padding-top: 0.1em;
}

#page-head table {
    border: none;
    border-bottom: 1px solid #61784F;
    text-align: left;
    width: 100%;
}

#page-head tr td {
    border: none;
    padding-top: 0;
    padding-bottom: 0;
}

/* page side */

#page-side {
    line-height: 1.2em;
}

#page-side ul {
    padding: 0 0 0 1.3em;
    margin: .4em 0 .6em .4em;
    list-style-type: square;
}

#page-side li a {
    color: #555;
}

#page-side li.active {
    color: firebrick;
}

#page-side li.active a {
    color: #222;
}

/* page foot */
#page-foot {
    background-color:#61784F;
    color: #F0FCE7;
}

#page-foot p {
    padding: 0.5em;
    text-align: right;
}

#page-foot {
    font-size: .8em;
    text-align: center;
}

/* */
#pagination {
    display: block;
    margin-bottom: 4em;
    text-align: center;
}

#tag-cloud li {
    margin: .2em 1em;
    transition: transform 200ms linear;
}

#tag-cloud li a {
    text-decoration: none;
    color: #222;
}

#tag-cloud li:hover {
    transform: rotate(0deg) scale(1.3, 1.3)!important;
}

#tag-cloud li:hover a {
    color: black;
}

h1.small-title {
    font-size: 1em;
    font-style: italic;
    font-weight: normal;
}

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

a:hover {
    border: none;
    text-decoration: underline;
}

a:active, a:focus {
    outline-width: 1px;
    outline-style: dotted;
}

h1 a, h1 a:visited,
h2 a, h2 a:visited,
h3 a, h3 a:visited,
h4 a, h4 a:visited,
h5 a, h5 a:visited,
h6 a, h6 a:visited {
    color: #2A5909;
    text-decoration: none;
}

a.goto {
    font-size: .8em;
    color: #444;
    padding: 0;
    margin: 0em .2em;
}

code, pre {
    font-family: Consolas, monospace, Courier New !important;
    background-color: #f0f0f0;
    font-size: 0.85em;
}

p code {
    padding: 0.1em;
}

pre {
    font-size: 0.95em;
    line-height: 1.15em;
    background-color: #f0f0f0 !important;
    margin: 1em auto;
    overflow-x: auto;
    text-indent: 0px;
    display: inline-block;
    padding: 0.5em;
    /*padding: 0.75em 1.5em;*/
    border: 1px solid #ddd;
    height: auto;
    width: 100%;
    max-height: 35em;
    overflow: auto;
    word-break: normal !important;
    word-wrap: normal !important;
    white-space: pre !important;
    max-width: 100%;
}

/*pre {
    font-family: monospace;
    font-size: 0.95em;
    line-height: 1.15em;
    background-color: #F5F5F5;
    padding: 0.5em;
    max-width: 100%;
}*/

img {
    margin-top: 15px;
    margin-bottom: 15px;
    margin-right: 0;
    margin-left: -15px; /* move left to paragraph indent */
    border-width: 1px;
    border-style: solid;
    border-color: #BEEE97;
}

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

img.img-right {
    float: right;
    margin: 0px 0px 15px 15px;
}

table td, table th {
    border: 1px solid silver;
    padding: .15em .3em;
}

figure * { border: none; margin: auto; padding: auto; }

@media screen and (max-width: 650px) {
    body {
        font-size: 15px;
    }
    div.site-title {
        font-size: 2.5em !important;
    }
    div.site-subtitle {
        font-size: 1.0em !important;
    }
}

@media screen and (max-width: 500px) {
    body {
        font-size: 14px;
    }
    #page-head h1 {
        font-size: 2em;
    }
    div.site-title {
        font-size: 1.5em !important;
        display: none;
    }
    div.site-subtitle {
        font-size: 0.8em !important;
        display: none;
    }
}

blockquote {
    display: block;
    position: relative;
    background: #FDFFF1;
    border-left: 3px solid #D27C5A;
    margin: 1.5em 1em;
    padding: 1px 10px 1px 50px;
    font-size: 1em;
    font-style: italic;
    -moz-box-shadow: 2px 2px 15px #ccc;
    -webkit-box-shadow: 2px 2px 15px #ccc;
    box-shadow: 2px 2px 15px #ccc;
}

blockquote::before{
    content: "\201C"; /*Unicode for Left Double Quote*/
    font-family: Georgia, serif;
    font-size: 60px;
    font-weight: bold;
    color: #D27C5A;
    position: absolute;
    left: 5px;
    top: 0.5em;
}

div.site-title {
    color: #61784F;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 3.0em;
    font-weight: bold;
    font-stretch: condensed;
    text-transform: uppercase;
    text-align: right;
    word-break: keep-all !important;
    padding: 1.0em 0 0.5em 0;
}

div.site-title a, div.site-title a:visited {
    color: #07452A;
    text-decoration: none;
}

div.site-title a:hover {
    text-decoration: none;
    color: #536445;
}


div.site-subtitle {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.2em;
    font-stretch: condensed;
    text-align: right;
}

pre .err {
    color: unset !important;
    background-color: unset !important;
}

pre .s, pre .se, pre .s1, pre .s2 {
    color: #8e5757 !important;
    background-color: unset !important;
}

.post-footer {
    padding-top: 1em;
}

header.post-header h1, header.post-header h1 a, header.post-header h1 a:visited,
h1.page-title, h1.page-title a, h1.page-title a:visited
{
    /* font-size: 1.4em !important; */
    font-weight: bold;
    text-shadow: #ccc;
    color: #01321D;
    line-height: 1.1em;
}

header.post-header h1, header.post-header h1 a, header.post-header h1 a:visited {
    /* padding-top: 10px; */
    margin-top: 15px;
    margin-bottom: 5px;
}

.post-content p, .page-content p {
    text-indent: 1em;
    font-size: 1.1em;
    line-height: 1.2em;
    margin-top: 3px;
    margin-bottom: 3px;
    text-align: justify;
}

.post-content ul, .page-content ul {
    margin-top: 0;
    margin-bottom: 0;
}

#page-body div {
    padding-bottom: 20px;
}

/* Secondary menu */
div.secondary-menu a, div.secondary-menu a:visited {
    color: #07452A;
    font-weight: bold;
    text-decoration: none;
}

div.secondary-menu a:hover {
    border: none;
    color: #D27C5A;
    text-decoration: none;
}

