﻿.wsCtBlogPost
{
    display: inline-block;
    max-width: 100%;
}

.wsCtBlogPost h2
{
    margin: 0 0 5px 0;
    font-weight: 500;
}

.wsCtBlogPost h3
{
    display: inline;
    font-weight: 500;
}

/* Basic information */
.wsCtBlogPost .wsPostInformations
{
    margin: 5px 0 15px;
}

/* Categories */
.wsCtBlogPost .wsPostCategories
{
    margin: 10px 0 20px;
}

.wsCtBlogPost .wsPostCategories input[type=button]
{
    margin-right: 10px;
    display: inline-block;
    font-size: 11px;
}

/* Tags */
.wsCtBlogPost .wsTags
{
    margin: 20px 0;
}

.wsCtBlogPost .wsTags span.wsTag
{
    margin-bottom: 10px;
    cursor: pointer;
}

/* Comments */
.wsCtBlogPost .wsCommentsWrapper
{
    margin-bottom: 40px;
}

.wsCtBlogPost .wsCommentWrapper
{
    color: #000;
}

.wsCtBlogPost .wsComment
{
    background-color: #F3F3F3;
    margin-bottom: 10px;
    padding: 15px;
}

.disabledComments 
{
    background-image: url(/file/app/1/content/icon/commentaires-desactives.svg?color1=r183g183b183&color2=r183g183b183);
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: center center;
    height: 25px;
    width: 25px;
    background-color: transparent;
    display: inline-block;
    vertical-align: middle;
    margin-right: 20px;
}

.wsCtBlogPost .wsComment.wsAnswer
{
    border-left: 5px solid #BBB9B9;
}

.wsCtBlogPost .wsAnswersWrapper
{
    margin-left: 30px;
}

.wsCtBlogPost .wsCommentAuthor
{
    font-size: 18px;
    font-weight: bold;
}

.wsCtBlogPost .wsCommentDateLog
{
    margin-left: 10px;
}

.wsCtBlogPost .wsCommentAnswerLink
{
    cursor: pointer;
    right: 10px;
    position: absolute;
}
@media screen and (max-width:499px) {
    .wsCtBlog .wsCommentsCount {
        display: block;
        margin-top: 10px;
    }
}
@media screen and (min-width:500px) {
    .wsCtBlog .wsCommentsCount {
        right: 0px;
        position: absolute;
    }
}

.wsCtBlogPost .wsFieldRequired
{
    background-image: url("/file/app/1/editor/icon/required.svg?color1=r239g38b38");
    background-size: 7px;
    width: 7px;
    height: 7px;
    display: inline-block;
    margin-left: 5px;
    vertical-align: top;
}

/* Controls style */

.wsCtBlogPost input[type=text],
.wsCtBlogPost input[type=email],
.wsCtBlogPost textarea
{
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid #777777;
    padding: 12px 15px;
    width: calc(100% - 20px);
    border-radius: 0px;
    font-family: arial;
    font-size: 16px;
    margin-bottom: 10px;
}

.wsCtBlogPost input[type=text],
.wsCtBlogPost input[type=email]
{
    max-width: 400px;
}

.wsCtBlogPost textarea
{
    resize: none;
    height: 100px;
}

.wsCtBlogPost input[type="button"] {
    cursor: pointer;
    border-radius: 0px !important;
    letter-spacing: .5px;
    border: none !important;
}

.wsCtBlogPost .wsButtonWrapper input[type="button"] {
    padding: 15px 30px !important;
    font-size: 16px;
    margin: 8px 0;
    
}

.wsCtBlogPost input[type="button"]
{
    padding: 8px 12px;
    border: none;
    border-radius: 3px;
    vertical-align: middle;
}

.wsCtBlogPost .wsTitle
{
    font-size: 150%;
    margin-top: 10px;
    margin-bottom: 10px;
}

.wsCtBlogPost .wsField {
    margin-bottom: 20px;
}

.wsCtBlogPost .wsField.wsButtonWrapper
{
    margin-top: 10px;
}

/* Content */
.wsCtBlogPost .wsContentsWrapper .Block
{
    position: relative;
    width: 100%;
    margin-bottom: 5px;
    margin-top: 20px;
    max-width: 100%;
}

.wsCtBlogPost .wsContentsWrapper .Block.Type_Text .Block_Wrapper,
.wsCtBlogPost .wsContentsWrapper .Block.Type_Title .Block_Wrapper,
.wsCtBlogPost .wsContentsWrapper .Block.Type_Form .Block_Wrapper,
.wsCtBlogPost .wsContentsWrapper .Block.Type_PaypalButton .Block_Wrapper,
.wsCtBlogPost .wsContentsWrapper .Block.Type_DownloadList .Block_Wrapper
{
    position: static;
}
/* Summary style */
.wsCtBlogPost .wsSeparator {
    padding-left: 10px;
    margin-left: 10px;
    border-left: 1px solid #AAA;
}
@media screen and (max-width:499px) {
    .wsCtBlogPost .wsCommentsCount {
        display: block;
        margin-top: 10px;
    }
}

@media screen and (min-width:500px) {
    .wsCtBlogPost .wsCommentsCount {
        right: 0px;
        position: absolute;
    }
}
/* Share buttons*/
.wsCtBlogPost .wsSharedButtons
{
    margin: 40px 0;
}

.wsCtBlogPost .wsSharedButtons > div
{
    display: inline-flex;
    align-items: center;
    padding: 5px 20px 5px 40px;
    min-width: 50px;
    min-height: 20px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 11pt;
    font-family: 'Signika', sans-serif;
    color: #fff;
}

.wsCtBlogPost .wsSharedButtons > div:not(:first-of-type)
{
    margin-left: 7px;
}

.wsCtBlogPost .wsSharedButtons .wsFacebook
{
    background-color: #4c76be;
    background-image: url('/file/app/1/blog/social/icon/facebook-share.png');
    background-repeat: no-repeat;
    background-position: 15px;
    background-size: 20px;
}

.wsCtBlogPost .wsSharedButtons .wsFacebook:hover
{
    background-color: #5d86cb;
}

.wsCtBlogPost .wsSharedButtons .wsTwitter
{
    background-color: #00c7ff;
    background-image: url('/file/app/1/blog/social/icon/twitter-share.png');
    background-repeat: no-repeat;
    background-position: 15px;
    background-size: 20px;
}

.wsCtBlogPost .wsSharedButtons .wsTwitter:hover
{
    background-color: #42e2ff;
}

.wsCtBlogPost .wsSharedButtons .wsLinkedin
{
    background-color: #0b86ca;
    background-image: url('/file/app/1/blog/social/icon/linkedin-share.png');
    background-repeat: no-repeat;
    background-position: 15px;
    background-size: 20px;
}

.wsCtBlogPost .wsSharedButtons .wsLinkedin:hover
{
    background-color: #1f99dd;
}

.wsCtBlogPost .wsPostHeader, .wsCtBlogPost .wsCommentThanks, .wsCtBlogPost .wsCommentForm
{
    display: block;
}

/* === Mobile only styles === */
Block.Type_Blog.wsMobile .Block_Wrapper
{
    position: relative
}

Block.Type_Blog.wsMobile .wsPostsWrapper Block.Type_Image
{
    width: 100%;
    height: auto;
}

Block.Type_Blog.wsMobile .wsPostsWrapper Block.Type_Image .Block_Wrapper > div
{
    position: initial
}

Block.Type_Blog.wsMobile .wsPostsWrapper Block.Type_Image .Block_Wrapper img
{
    width: auto;
    height: auto;
}
