/*
 * @author:	Procurios
 * @about: 	mod-weblog.css - All kinds of snippets
 */

/*
	Defaults: CSS for weblog generic classes
*/

.wl-postList__title {
    position: static;
    margin-bottom: 1.1em;
    padding: 0;
}

body.show-heading .wl-postList__title {
    display: none;
}

/**
 * Author avatars
 */

.wl__credits {
    display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
    display: -ms-flexbox;  /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    min-height: 34px;
    margin: -5px 0 20px;
    line-height: 1.2;
    font-size: 12px;
}

.wl__avatar {
    width: 5.5em; /** 1.833333 * 3 */
    height: 5.5em;
    border-radius: 100%;
    border: 2px solid #fff;
}

@media screen and (max-width: 399px) {
    .wl__avatars {
        display: none;
    }
}

@media screen and (min-width: 400px) {
    div[class*='wl__credits--hasAvatars'] {
        margin-bottom: 2em;
    }

    .wl__credits--hasAvatars1 {
        padding-left: 6em;
    }

    .wl__credits--hasAvatars2 {
        padding-left: 10.5em;
    }

    .wl__credits--hasAvatars3 {
        padding-left: 14.6em;
    }

    .wl__avatars {
        white-space: nowrap;
        position: absolute;
        left: 0;
        bottom: 0;
        min-width: 5em;
    }

    .wl__avatar {
        margin-right: -2em;
    }
}

/*
	.wl-post-lists
	Weblog snippet: List of posts (titles only, titles + summary, full posts)
*/

.wl-postList__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.wl-postList__info {
    margin-top: 1em;
}

/**
 *  List: Titles + summary
 */

.article_first.article_last .wl-postList--introduction:only-child .wl-postList__list {
    margin-bottom: -32px;
}

.wl-postList--introduction .wl-postList__item--first {
    margin-top: -32px;
}

.show-heading .wl-postList--introduction .wl-postList__item--first {
    margin-top: 0;
}

.wl-postList--introduction .wl-postList__item--last {
    margin-bottom: -32px;
}

.wl-postList__imageContainer {
    display: block;
    margin: 0 -32px 10px;
    border-top: 16px solid #ebe9e9;
}

.wl-postList--introduction .wl-postList__item--first .wl-postList__imageContainer {
    border-top: 0;
}

.wl-postList__image {
    width: 100%;
}

.wl__imagePlaceholder--postList {
    height: 45px;
    background: #fff;
}

.wl-postList__itemContent {
    margin-bottom: 1.8333333333em;
}

.wl-postList__itemTitle {
    margin-bottom: 0.3em;
    font-size: 1.1em;
}

@media (min-width: 410px) {
    .wl-postList__itemTitle {
        font-size: 1.4em;
    }
}

.wl-postList__itemTitle a {
    display: block;
}

.wl-postList__itemTitle a:hover {
    text-decoration: none;
    color: #000;
}

.wl-postList__itemMeta {
    margin-bottom: .916666em;
}

.wl-postList__itemIntro p:last-child {
    margin-bottom: 0.3em;
}

.wl-postList__reactionCount {
    display: none;
}

.wl-postList__itemFooter {
    display: table;
    margin: 0 -32px;
    padding: 15px 32px;
    background: #deeef4;
    width: 100%;
}

.wl-postList__itemFooter .wl-tags {
    display: table-cell;
    margin-bottom: 0;
}

@media screen and (min-width: 680px) {
    .wl-postList__reactionCount {
        display: table-cell;
        padding: 8px 0 0 0;
        line-height: 1.5em;
        white-space: nowrap;
        text-align: right;
    }

    .wl-postList__reactionCount:before {
        content: "";
        display: inline-block;
        width: 35px;
        height: 25px;
        background: url(/ui/CU-2013/style/../img/news-sprite.png) no-repeat 0 0;
    }
}

/**
 * Lists only titles
 * .wlpl-title
 */

.wlpl-title ol {
    margin-left: 0;
    list-style: none;
}

.wlpl-title li {
    position: relative;
}

.wlpl-title li > span {
    display: block;
}

.wlplt-reaction-amount:before {
    content: "(";
}

.wlplt-reaction-amount:after {
    content: ")";
}

/**
 * Post url li
 */

.wlpl-post-url {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    text-indent: -999em;
}

/**
 * Full post
 */

/** generic */
.wl-fullPost__tags,
.wl-post-navigation {
    margin: 0 0 0 -32px;
    padding: 15px 0 15px 32px;
}

.wl-fullPost__imageContainer {
    margin: -32px -32px 10px;
}

.show-heading .wl-fullPost__imageContainer {
    margin-top: 0;
}

.wl-fullPost__image {
    width: 100%;
}

.wl__imagePlaceholder--fullPost {
    height: 200px;
    background-position: 50% 50%;
    background-size: cover;
}

.wl-fullPost__tags {
    background: #deeef4;
}

.wl-author-info img {
    max-width: none;
    max-width: 240px;
    margin-bottom: 1.8em;
    border-radius: 5px;
}

@media screen and (min-width: 980px) {
    .wl-author-info img {
        max-width: 304px;
    }
}

.wl-full-post__subTitle {
    margin-top: -1.6em;
    margin-bottom: 1.6em;
    font-family: "AlwynNewRounded-Regular", Tahoma, Geneva, sans-serif;
    font-size: 1.1em;
}

.wl-fullPost__content blockquote {
    border: 0;
}

.wl-fullPost__content blockquote > *:first-child:before {
    position: absolute;
    margin: -3px 0 0 -33px;
    font-family: Georgia, serif;
    color: #009ee1;
    width: 30px;
    height: 30px;
    font-size: 60px;
    line-height: 60px;
}

.wl-fullPost__content blockquote > *:last-child:after {
    content: "";
}

@media screen and (min-width: 376px) {
    .wl-fullPost__content blockquote {
        max-width: 66%;
    }
}

/**
 * Posts navigation
 */

.wl-post-navigation {
    display: table;
    table-layout: fixed;
    width: 100%;
    background: #deeef4;
}

.wl-post-navigation a {
    display: table-cell;
    padding-right: 20px;
    text-decoration: none;
}

.wl-post-nav-text {
    display: block;
    font-size: .9em;
    color: #555;
}

.wl-past-nav-sep {
    display: none;
}

.wl-post-nav-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wl-post-navigation a:hover .wl-post-nav-title {
    text-decoration: underline;
}

/**
 *  Related posts
 *  .wl-related
 */

.wl-related {
    margin-top: 32px;
}

.wl-related ul {
    margin: 0 0 0 -32px;
    list-style: none;
}

.wl-related li a {
    display: block;
    padding: 8px 48px 8px 32px;
    color: #606060;
    background: #deeef4 url(/ui/CU-2013/style/../img/list-arrow.png) no-repeat 100% 50%;
    -webkit-transition: all 0.1s ease-out;
    -moz-transition: all 0.1s ease-out;
    -o-transition: all 0.1s ease-out;
    transition: all 0.1s ease-out;
}

.wl-related li a:hover {
    text-decoration: none;
    color: #fff;
    background-color: #00a7eb;
}

.wl-related__time {
    float: left;
    width: 88px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.wl-related__title {
    margin-left: 96px;
}

/**
 * tagcloud
 * wl-tagcloud
 */

/**
 * Tags
 */

.wl-tags {
    color: #deeef4;
}

.wl-tagcloud ul {
    margin: 0;
}

.wl-tagcloud li {
    display: inline-block;
    margin: 0 .5em 1em 0;
}

.wl-tag,
.wl-tagcloud li a {
    display: inline-block;
    padding: 8px 16px 9px;
    border-radius: 4px;
    line-height: 1.5em;
    text-decoration: none;
    -webkit-transition: all 0.1s ease-out;
    -moz-transition: all 0.1s ease-out;
    -o-transition: all 0.1s ease-out;
    transition: all 0.1s ease-out;
}

.wl-tag {
    margin-bottom: .6em;
    background: #fff;
}

.wl-tagcloud li a {
    background: #deeef4;
}

.wl-tag:hover,
.wl-tagcloud li:hover a {
    text-decoration: none;
    color: #fff;
    background: #00a7eb;
}

/**
 *  Comments
 */

#wl-comments ol {
    margin-left: 0;
    list-style: none;
}

#wl-comments .wl-meta {
    margin-bottom: .9em;
}

#wl-comments .wl-meta img {
    float: left;
    margin: 0 15px 15px 0;
}

#wl-comments .wl-meta .author {
    margin-bottom: 0;
    line-height: 1;
    font-size: 1.3em;
}

#wl-comments .wl-meta + * {
    margin-left: 63px;
}

.wl-reactionsForm {
    margin-top: 64px;
}

/**
 * Share and like
 */

.wl-section {
    margin-bottom: 1.8333333em;
}

.wl-full-post .facebook-comments {
    border-bottom: 0;
}

/**
 * Author lists
 */

/** Generics */

.wl-authorlist-s ul,
.wl-authorlist-l ul {
    margin-left: 0;
    list-style: none;
}

.wl-author-name {
    font: normal 1.3em/1.3 "AlwynNewRounded", Tahoma, Geneva, sans-serif;
}

/** Small version */

.wl-authorlist-s li {
    margin-bottom: 2%;
}

.wl-authorlist-s a,
.wl-authorlist-s div {
    position: relative;
    display: block;
    overflow: hidden;
    height: 40px;
    padding: 10px 20px 10px 70px;
    border-radius: 4px;
    line-height: 1.2;
    background: #efeded;
    -webkit-transition: all 0.1s ease-out;
    -moz-transition: all 0.1s ease-out;
    -o-transition: all 0.1s ease-out;
    transition: all 0.1s ease-out;
}

.wl-authorlist-s a {
    background: #deeef4;
}

.wl-authorlist-s a:hover {
    text-decoration: none;
    color: #fff;
    background: #00a7eb;
}

.wl-authorlist-s li + .wl-authorlist-s li a,
.wl-authorlist-s li .wl-authorlist-s div {
    border-left: 1px solid #aaa;
}

.wl-authorlist-s__image {
    position: absolute;
    top: 0;
    left: 0;
    height: 60px;
    width: 60px;
}

.wl-authorlist-s .wl-author-name,
.wl-authorlist-s .wl-author-jt {
    display: block;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

/** Large version */

.wl-authorlist-l li {
    text-align: center;
}

@media screen and (min-width: 361px) {
    .wl-authorlist-l li {
        float: left;
        width: 48%;
    }

    .wl-authorlist-l li:nth-child(2n+2){
        margin-left: 4%;
    }
}

.wl-authorlist-l img {
    width: 100%;
    margin-bottom: 20px;
}

.wl-authorlist-l h3 {
    font-size: 16px;
    margin-bottom: 1.833333em;
}

.wl-authorlist-l a h3 {
    color: #00a7eb;
}

.wl-authorlist-l p {
    display: none;
}

/**
 * Webloglist pager
 */

.wl-postList + .pbuic-pager-container {
    margin: 32px -32px -64px;
    padding: 16px 0;
    border-top: 16px solid #eae8e8;
    background: #fff;
}

.wl-postList + .pbuic-pager-container,
.wl-postList--hasNoPager .wl-postList__itemFooter {
    border-bottom: 16px solid #eae8e8;
}

/**
 * UL and OL
 */

.body--singleSiteCU .wl-fullPost__content ul {
    margin-left: 0;
    list-style: none;
}

.body--singleSiteCU .fullwidthContainer .wl-fullPost__content ul {
    margin-left: auto;
}

.body--singleSiteCU .wl-fullPost__content ul li,
.body--singleSiteCU .wl-fullPost__content ol li {
    position: relative;
    margin-bottom: 1em;
    padding-left: 1.5em;
}

.body--singleSiteCU .wl-fullPost__content ul li::before {
    position: absolute;
    left: 0;
    top: 0.3em;
    width: 1em;
    margin-right: .2em;
    margin-left: .2em;
    display: inline-block;
    content: '\002b';
    font-family: "fontello";
    font-style: normal;
    font-weight: normal;
    speak: none;
    text-decoration: inherit;
    text-align: center;
    font-variant: normal;
    text-transform: none;
    line-height: 1em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #408BC2;
}

/**
 * Postlist inside fullwidth container
 */

.fullwidthContainer .wl-postList__list {
    display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
    display: -ms-flexbox;  /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    max-width: 1440px;
    margin-right: auto;
    margin-left: auto;
}

.fullwidthContainer .wl-postList--introduction .wl-postList__item--first {
    margin-top: 0;
}

.fullwidthContainer .wl-postList--introduction .wl-postList__item {
    width: 100%;
    background: #fff;
    padding: 2em 1.5em 8em;
    position: relative;
    margin-bottom: 4em;
}

@media (min-width: 600px) {
    .fullwidthContainer .wl-postList--introduction .wl-postList__item {
        width: calc(50% - 4em);
    }
}

@media (min-width: 1280px) {
    .fullwidthContainer .wl-postList--introduction .wl-postList__item {
        width: calc(33% - 4em);
    }
}

.fullwidthContainer .wl-postList--introduction .wl-postList__item--first .wl-postList__imageContainer {
    border-top: 0;
}

.fullwidthContainer .wl-postList__imageContainer {
    margin: -2em -1.5em;
    border-top: 0;
}

.fullwidthContainer .wl-postList__item .wl__credits {
    margin: 32px 0 20px;
}

.fullwidthContainer .wl-postList__itemFooter {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
    display: -ms-flexbox;  /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
    display: flex;
    justify-content: space-between;
    margin: 0;
    width: auto;
}

.fullwidthContainer .wl-postList--hasNoPager .wl-postList__itemFooter {
    border-bottom: 0;
}

.fullwidthContainer .wl-postList + .pbuic-pager-container {
    margin: 0 0 0 32px;
}

/**
 * Post details inside fullwidth container
 */

.blog-full-post .fullwidthContainer .Article--snippet {
    padding: 0;
}

.fullwidthContainer .wl-full-post {
    max-width: 944px;
    margin: 32px auto 0;
    background: #fff;
    padding: 0 32px;
}

.fullwidthContainer .wl-fullPost__credits ~ * {
    max-width: 38rem;
    margin-left: auto;
    margin-right: auto
}

.fullwidthContainer .wl-fullPost__credits ~ p {
    line-height: 1.6em;
}

.fullwidthContainer .wl-fullPost__tags,
.fullwidthContainer .wl-post-navigation {
    margin-right: -32px;
    width: calc(100% + 32px);
}

.fullwidthContainer .wl-post-navigation .wl-post-next {
    text-align: right;
}

@media screen and (max-width: 640px) {
    .blog-full-post .fullwidthContainer .article_content {
        width: calc(100% - 16px);
        padding-left: 8px;
        padding-right: 8px;
    }

    .fullwidthContainer .wl-full-post {
        margin-top: 8px;
    }
}
