/*----------------------------------------------------------------
  Posts
----------------------------------------------------------------*/

.b-stream-header {
    margin-top: 0;
}

.b-post-wrapper .b-post {
    margin-bottom: 1rem;
    -webkit-transition: all 0.3s ease-in-out 0s;
    -moz-transition: all 0.3s ease-in-out 0s;
    -ms-transition: all 0.3s ease-in-out 0s;
    -o-transition: all 0.3s ease-in-out 0s;
}

.b-post-wrapper .b-post a {
    text-decoration: none!important;
}

.b-post-wrapper:not(.b-post-page) .b-post:hover {
    transition: all 0.3s ease-in-out 0s;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.10);
    -moz-box-shadow: 0px 0px 20px rgba(0,0,0,0.10);
    -o-box-shadow: 0px 0px 20px rgba(0,0,0,0.10);
}

.b-post-wrapper .b-post .b-post-image {
    height: 160px;
    background-size: cover;
    background-repeat: no-repeat;
}

.b-post-wrapper .b-post .b-post-content {
    height: 220px;
    padding: 13px 20px 18px;
    color: #000!important;
    background: #fff;
    overflow: hidden;
}

.b-post-wrapper .b-post .b-post-content .b-post-data {
    font-size: 0.8rem;
    font-weight: 500;
}

.b-post-wrapper .b-post .b-post-content h3.b-post-name {
    margin: 10px 0 1rem;
    font-size: 0.9rem;
    font-weight: 700;
}

.b-post-wrapper .b-post .b-post-content p {
    margin-top: 6px;
    font-size: 0.8rem;
}

/*----------------------------------------------------------------
  Single post
----------------------------------------------------------------*/

.b-post-wrapper.b-post-page .b-post .b-credentials {
    margin-bottom: 1rem;
}

.b-post-wrapper.b-post-page .b-post .b-credentials .b-userpic { 
    display: block;
    float: left;
    margin-right: 5px;
    min-width: 20px;    
    border-radius: 50%; 
}

.b-post-wrapper.b-post-page .b-post .b-username {
    margin-right: 5px;
}

.b-comment-form {
    padding: 15px 20px;
    background: #efefef;
}

.b-comment-form .b-form-header {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.b-comment-form .b-form-auth .userpic {
    display: block;
    float: left;
    margin-right: 5px;
    min-width: 20px;    
    border-radius: 50%; 
}

.b-comment-form .b-form-auth .userpic:first-child {
    margin-left: 0;
}

.b-comment-form .b-form-auth .b-logout-link {
    margin: 0 0 0 4px;
}

.b-comment-form .b-form-buttons .b-cancel-button {
    display: none;
}

.b-comment-form .errormsg {
    margin-left: 0;
}

.b-comment-form .form-control.error {
    border-color: red;
}


/*----------------------------------------------------------------
  Sidebar
----------------------------------------------------------------*/

ul.b-blog-list,
ul.b-timeline-list,
ul.b-sub-list {
    margin-bottom: 1rem;
    padding-left: 0;
    list-style-type: none;
}

ul.b-blog-list li,
ul.b-timeline-list li {
    margin-top: 1px;
    background: #efefef;
}

ul.b-blog-list li a,
ul.b-timeline-list li a {
    display: block;
    padding: 11px 19px 12px;
    background: #efefef;
    font-size: 0.9rem;
    line-height: 16px;
    text-decoration: none;
}

ul.b-blog-list li.is-selected a,
ul.b-timeline-list li.is-selected > a {
    color: #fff;
}

ul.b-timeline-list li.is-selected > a i {
    float: right;
    width: 16px;
    height: 16px;
    border-radius: 100%;
    background-color: #fff;
    font-size: 1rem;
    text-align: center;
}

ul.b-timeline-list li.is-selected > a i[aria-expanded="false"] {
    line-height: 16px;
}

ul.b-timeline-list li.is-selected > a i[aria-expanded="false"]:before {
    content: "\f107";
}

/*----------------------------------------------------------------
    Album
----------------------------------------------------------------*/

.p-photo-list.p-thumb-list .p-photo-item {
    position: relative;
    margin-bottom: 1rem;
}

.p-photo-list.p-thumb-list .p-photo-item img.p-photo-image {
    width: 100%;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

.p-photo-list.p-thumb-list .p-photo-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    overflow: hidden;
    padding: 0 1em;
    width: 100%;
    height: 100%;
    border-bottom: none;
    color: #fff;
    text-align: center;
    opacity: 0;
    filter: alpha(opacity=0);
    cursor: pointer;
    -moz-opacity: 0;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    -webkit-transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
}

.p-photo-list.p-thumb-list .p-photo-item .overlay:hover {
    opacity: 0.9;
    filter: alpha(opacity=100);
    -moz-opacity: 1;
}

.p-photo-list.p-thumb-list .p-photo-item .overlay .overlay-content {
    -webkit-transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
}

.p-photo-list.p-thumb-list .p-photo-item .overlay .overlay-content i {
    font-size: 2em;
    line-height: 1.8;
}

.p-photo-list.p-thumb-list .p-photo-item .overlay .overlay-content h2 {
    margin-top: 0.67em;
    color: #fff;
    text-transform: uppercase;
    font-size: 0.889em;
}

.p-photo-list.p-thumb-list .p-photo-item .overlay:hover .overlay-content i {
    -webkit-animation: overlay .5s ease forwards;
    -moz-animation: overlay .5s ease forwards;
    animation: overlay .5s ease forwards;
}

@-webkit-keyframes overlay {
    from {
        -webkit-transform: translateY(-0.5em);
    }
}

@-moz-keyframes overlay {
    from {
        -moz-transform: translateY(-0.5em);
    }
}

@keyframes overlay {
    from {
        transform: translateY(-0.5em);
    }
}

/*----------------------------------------------------------------
    Color scheme
----------------------------------------------------------------*/

/* DARK */
html.color_scheme_dark ul.b-blog-list li.is-selected a,
html.color_scheme_dark ul.b-timeline-list li.is-selected > a {
    background-color: rgba(83, 86, 103, 1);
}

/* GRAY */
html.color_scheme_gray ul.b-blog-list li.is-selected a,
html.color_scheme_gray ul.b-timeline-list li.is-selected > a {
    background-color: rgba(170, 178, 189, 1);
}

/* RED */
html.color_scheme_red ul.b-blog-list li.is-selected a,
html.color_scheme_red ul.b-timeline-list li.is-selected > a {
    background-color: rgba(254, 102, 88, 1);
}

/* ORANGE */
html.color_scheme_orange ul.b-blog-list li.is-selected a,
html.color_scheme_orange ul.b-timeline-list li.is-selected > a {
    background-color: rgba(253, 109, 82, 1);
}

/* YELLOW */
html.color_scheme_yellow .b-blog-list li.is-selected a,
html.color_scheme_yellow ul.b-timeline-list li.is-selected > a {
    background-color: rgba(255, 205, 82, 1);
}

/* GREEN */
html.color_scheme_green ul.b-blog-list li.is-selected a,
html.color_scheme_green ul.b-timeline-list li.is-selected > a {
    background-color: rgba(159, 211, 103, 1);
}

/* MINT */
html.color_scheme_mint ul.b-blog-list li.is-selected a,
html.color_scheme_mint ul.b-timeline-list li.is-selected > a {
    background-color: rgba(73, 207, 174, 1);
}

/* AQUA */
html.color_scheme_aqua ul.b-blog-list li.is-selected a,
html.color_scheme_aqua ul.b-timeline-list li.is-selected > a {
    background-color: rgba(79, 192, 234, 1);
}

/* BLUE */
html.color_scheme_blue ul.b-blog-list li.is-selected a,
html.color_scheme_blue ul.b-timeline-list li.is-selected > a {
    background-color: rgba(0, 109, 202, 1);
}

/* PURPLE */
html.color_scheme_purple ul.b-blog-list li.is-selected a,
html.color_scheme_purple ul.b-timeline-list li.is-selected > a {
    background-color: rgba(171, 146, 237, 1);
}

/* PINK */
html.color_scheme_pink ul.b-blog-list li.is-selected a,
html.color_scheme_pink ul.b-timeline-list li.is-selected > a {
    background-color: rgba(236, 135, 193, 1);
}

/*----------------------------------------------------------------
    Media settings
----------------------------------------------------------------*/

@media (max-width: 1023px) {
    
    h1.b-post-name {
        font-size: 1.2rem;
    }

}