﻿
/*       CREATE POSTS             */
.Forum .CreatePost .field, .Forum .CreatePost .imageRow {
    width: 100%;
    border: 1px solid #b5b5b5;
    box-sizing: border-box;
    line-height: 28px;
    padding: 4px 0 4px 10px;
    margin-bottom: 11px;
}

.Forum .CreatePost .imageRow {
    line-height: 0;
    padding-top: 7px;
    display: none;
    padding-bottom: 7px;
}

.Forum .toolbar {
    margin-bottom: 10px;
    overflow: hidden;
}

.Forum .toolbar div {
    font-size: 16px;
    color: #b5b5b5;
    line-height: 20px;
    font-family: "ubuntu_condensedregular";
    background-position: left top;
    background-repeat: no-repeat;
    padding-left: 30px;
    float: left;
    margin-right: 10px;
}

.Forum .toolbar .post {
    background-image: url(/images/icon_pen.png);
    cursor: default;
}

.Forum .toolbar .addImage {
    margin-left: 9px;
    border-left: 1px solid #b5b5b5;
    background-image: url(/images/icon_plus.png);
    cursor: pointer;
}

.Forum .toolbar .removeImage {
    background-image: url(/images/icon_minus.png);
    cursor: pointer;
}

.Forum .toolbar .addImage:hover {
    color: #000;
}

.Forum .CreatePost {
    overflow: hidden;
}

.Forum .CreatePost .toolbar .removeImage {
    display: none;
}


.Forum .CreatePost.imageAttached .toolbar .addImage {
    display: none;
}

.Forum .CreatePost.imageAttached .toolbar .removeImage {
    display: block;
}

.Forum .CreatePost .submit {
    margin-top: 10px;
    float: right;
    width: 113px;
    height: 38px;
    line-height: 38px;
    color: #fff;
    font-size: 20px;
    font-family: "ubuntu_condensedregular";
    background-color: #626262;
    border: 0 none;
    padding: 0;
    margin: 0;
}





.js-answer {
    cursor: pointer;
}




/*POSTSLISTING*/
.PostsList {
    clear: both;
    margin-top: 50px;
}

.PostsList > .item {
    overflow: hidden;
    border-top: 1px solid #b5b5b5;
}


.PostsList h2 {
    margin-top: 11px;
    margin-bottom: 19px;
    text-decoration: none;
    color: #333;
}

.PostsList p {
    line-height: 23px;
    margin-bottom: 14px;
}


.PostsList > .item > .inner {
    padding-top: 30px;
    padding-bottom: 30px;
    overflow: hidden;
    position: relative;
}


.PostsList > .item:last-child > .inner {
    border-bottom: 1px solid #b5b5b5;
}

.PostsList > .item .credit {
    font-size: 16px;
    color: #b5b5b5;
    line-height: 20px;
    font-family: "antoniolight";
}

.PostsList .image {
    width: 300px;
    position: absolute;
    right: 0;
    top: 30px;
    bottom: 30px;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.PostsList .image + .content {
    width: calc(100% - 330px);
    float: left;
}


.PostsList > .item a.readmore {
    font-size: 16px;
    color: #000;
    line-height: 30px;
    font-family: "ubuntu_condensedregular";
    background-image: url(/images/icon_item.png);
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 13px;
}

.PostsList > .item .commentsCount {
    font-size: 16px;
    color: #b5b5b5;
    line-height: 18px;
    height: 20px;
    margin-top: -7px;
    margin-bottom: 7px;
    padding-top: 2px;
    font-family: "antoniolight";
    background-image: url(/images/icon_comment.png);
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 28px;
}

/* Comments*/

.PostsList.comments h2 {
    margin-top: 3px;
    margin-bottom: 11px;
    font-size: 20px;
    font-family: "antoniolight";
}

.PostsList.comments .image {
    width: 38px;
    height: 38px;
    float: left;
    right: initial;
    left: 0;
    bottom: initial;
    top: 0;
}

.PostsList.comments p {
    margin-bottom: 12px;
}

.PostsList.comments .lvl2 p {
    margin-bottom: 0;
}

.PostsList.comments .image + .content {
    float: right;
    width: calc(100% - 57px);
}


.PostsList.comments > .item.lvl2 {
    margin-left: 66px;
    border-left: 2px solid #b5b5b5;
    border-top: 0;
    padding-left: 10px;
}

.PostsList.comments > .item.lvl2 + .item.lvl1 {
    margin-top: 40px;
}

.PostsList.comments > .item:last-child > .inner {
    border: 0;
}

.PostsList.comments {
    margin-bottom: 30px;
}

.PostsList.comments > .item > .inner {
    margin-top: 17px;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 17px;
}

.PostsList.comments > .item.lvl2 > .inner {
    margin-top: 10px;
    margin-bottom: 10px;
}

.PostsList.comments > .item.lvl2 h2 {
    margin-bottom: 1px;
}


.PostsList.comments .answer {
    font-family: "antoniolight";
    font-size: 14px;
}

.PostsList.comments > .item .CreatePost {
    margin-left: 66px;
}

.PostsList.comments h2 .date {
    font-size: 13px;
    display: inline;
}

.deletePost {
    cursor:pointer;
    box-sizing:content-box;
    width:10px;height:13px;
    background-image: url(/images/icon_delete.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    padding-left: 10px;
    display: inline-block;
}
.deletePost:hover::after {
    padding-left:20px;
content:'delete';
}


@media (max-width: 710px) {

    .PostsList .item .inner > div {
        width: 100%;
        clear: both;
        float: none;
        position: initial;
    }

    .PostsList .item .inner .image {
        height: 300px;
        margin-bottom: 20px;
    }
}
