/* 
    Document   : styles
    Created on : 11.1.2013, 13:59:42
    Author     : Jaroslav Ascaria Svoboda
    Description:
        Posts component styles.
*/

div.posts {
    margin-right:30px;
    float:left;
}

div.posts.slim {
    width:300px;
}

div.post {
    margin:20px 0px;
}

div.post.detail  {
    margin-top:0px;
    width:90%;
}

div.post .date {
    width:45px;
    height:47px;
    margin-top:2px;
    padding-top:5px;
    text-align:center;
    line-height:17px;
    color:#666;
    background:url('../images/date-icon.png');
    overflow:hidden;
    float:left;
}
div.post .date span { 
    width:45px;
    display:block;
}
div.post h2 {
    font-size:15px;
    line-height:24px;
    color:#666;
    text-transform:uppercase;
}

div.posts .perex {
border-bottom: 2px dotted #7d7d7d;
}

div.post img.left {
    float: left;
    margin: 0 10px 10px 0;
    padding:3px;
    border: 1px solid #ccc;
    
    
}

div.post.detail p {
    text-indent: 3em;
    font-size: 14px;
    padding-bottom: 20px;
}

div.post.detail .perex {
    font-size: 14px;
    font-weight: bold;
    color: #666;
}

div.post .more {
    text-align: right;
}
div.post .perex p {
    text-indent: 0;
}

table, td, th
{
    border-color: #831b21;
    border-style: solid;
}

table
{
    border-width: 0 0 1px 1px;
    border-spacing: 0;
    border-collapse: collapse;
}

td
{
    margin: 0;
    padding: 4px;
    border-width: 1px 1px 0 0;
    background-color: #white;
}

th {
    background-color: #831b21;
    color: white;
    border-width: 1px 1px 0 0;
}

div.post div.post-text {
    margin:0px 0px 0px 60px;
}
div.post div.post-text-not-indented {
    margin:0px;
}
div.post div.post-text p {
    margin:15px 0px;
    padding:0px;
    text-indent:0px;
}

/**
 * Responsive addition
 */

@media screen and (max-width:790px) {

    div.posts {
        margin-right:0px;
        float:none;
    }

    div.posts.slim {
        width:auto;
    }
}
