/**
 *
 **/

.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

ol.post-list,
ol.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* General Post Styles */
.post-list li:after {
    content: ' ';
    clear: both;
    display: block;
}

.post-entry {
    overflow: hidden;
    margin: 0 0 20px;
}

.post-date {
    margin: 0 0 20px;
}

.post-image {
    float: left;
    margin-right: 10px;
}

.post-meta {
    clear: both;
    margin: 0 0 20px;
    text-align: left;
}

.post-meta .post-meta-item {
    display: inline-block;
    margin-right: 10px;
}

.post-readmore {
    margin-top: 10px;
}

.post-entry iframe {
    max-width: 100%;
}

/* Comments */
.comment-list-item {
    margin: 0 0 20px;
}

.comment-list.children {
    margin-top: 20px;
}

.comment-image {
    float: left;
    margin: 0 10px 10px 0;
}

.comment-meta {
}

.comment-author {
    font-weight: bold;
    display: block;
}

.comment-date {
}

.comment-entry {
    clear: both;
    margin: 0 0 20px;
}

/* Widgets */
.block-blog .block-title {
    text-transform: uppercase;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #c6c6c6;
}

.block-blog .block-title > strong {
    font-size: 24px;
    font-weight: 300;
}

.block-blog ul, .block-blog ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

.block-blog-cloud li {
    display: inline;
    margin: 0;
}

.block-blog-categories ul.level1 {
    margin-top: 1rem;
}

/** Customization that is general available on multiple page-types */

.is-blog .block-blog-archives #wp-archive-list {
    padding-left: 5px;
}

.is-blog .block-blog {
    clear: both;
}

.is-blog .block-recent-posts .item {
    height: 100%;
    clear: both;
    padding-left: 0;
    padding-right: 5px;
}

.is-blog .block-recent-posts .item .recentpost-image {
    padding-left: 0;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 5px;
    float: left;
}

.is-blog .block-recent-posts .item .recentpost-title {
    padding: 5px;
    float: left;
}

.recentpost-title-top {
    /*padding: 5px; Also disabled.*/
}

.recentpost-title-bot {
    /*padding: 20px 5px 0 5px; Disabled...*/
    text-align: left;
}

/** End Customization that is general available on multiple page-types */

/** Customization for Marsum CH Blog HOMEPAGE*/

@media screen and (min-width: 767px) {
    .wordpress-posttype-view .sidebar,.wordpress-term-view .sidebar,.wordpress-archive-view .sidebar {
        width: 22% !important;
    }

    .wordpress-posttype-view .main,.wordpress-term-view .main,.wordpress-archive-view .main {
        width: 78% !important;
    }
}

.wordpress-posttype-view .post-date {
    margin: 0;
    padding-top: 5px;
    padding-bottom: 5px;
}

.wordpress-posttype-view .post-meta {
    border-bottom: 1px solid #F2F2F3;
    border-top: 1px solid #F2F2F3;
}

.wordpress-posttype-view .post-list-wrapper {
    padding: 15px 50px;
}

.post-image {
    min-width: 39%;
    float: left;
    text-align: center;
}


.post-image img {
    width: 100%;
    height: 100%;
}


.wordpress-posttype-view .post-excerpt {
    float: left;
    text-align: left;
    vertical-align: middle;
    max-height: 350px;
}

.wordpress-posttype-view .button-effect {
    font-size: 17px;
    padding: 16px 40px;
}

@media screen and (max-width: 768px) {
    .wordpress-posttype-view .post-image {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .wordpress-posttype-view .post-excerpt {
        width: 100%;
    }

    .recentpost-image a img {
        max-width: 150px;
    }

}

/**End of Customization for Marsum CH Blog HOMEPAGE*/

@media screen and (min-width: 767px) {
    .sidebar {
        width: 24% !important;
    }

    .main {
        width: 76% !important;
    }
}

/** Customization for Marsum CH Blog POST page*/


/** Only for large screens */
@media screen and (min-width: 767px) {
    /** Customization for whole homepage width */
    .page-main {
        width: 85% !important;
    }


    /*On the post view , the image should be smaller than full width of the container if full-hd*/
    .wordpress-post-view .post-image img{
        max-width:65%;
    }
}

/** Center the main post image*/
.post-view .post-entry .post-image {
    text-align:center;
}
/** A little space between the post content and the post's main image*/
.post-view .post-entry .post-content {
    margin-top:30px;
}
