/*
 * Layout: brick
 */

@import url('https://fonts.googleapis.com/css?family=Open+Sans');

.sboard.sb-brick a,
.sboard.sb-brick span,
.sboard.sb-brick div {
    font-family: 'Open Sans', sans-serif;
    line-height: 24px;
    font-size: 16px;
    font-weight: normal;
}
.sboard.sb-brick .sb-item.sb-solo a,
.sboard.sb-brick .sb-item.sb-solo span,
.sboard.sb-brick .sb-item.sb-solo div {
    font-size: 13px;
}
.sboard.sb-brick .sb-item.sb-solo .sb-user .sb-utitle {
    line-height: 170%;
}
.sboard.sb-brick {
    display: inline-block;
    font-size: 16px !important;
}
.sboard.sb-brick .sb-item {
    overflow: hidden;
    height: 100%;
    width: 100%;
}
.sboard.sb-brick .sb-item.sb-twofold {
    font-size: 16px !important;
}
.sboard.sb-brick .sb-item .sb-thumb a {
    height: 100%;
}
.sboard.sb-brick .sb-item .sb-thumb a img {
    object-fit: cover;
    height: 100%;
}
.sboard.sb-brick .sb-column {
	float: left;
    font-size: 100% !important;
    cursor: default;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
    box-sizing: content-box;
    padding: 0;
}
.sboard.sb-brick .sb-container {
    position: relative;
    height: 100%;
}
.sboard.sb-brick .sb-thumb {
  opacity: 1;
  display: block;
  width: 100%;
  height: 100%;
  transition: .5s ease;
  backface-visibility: hidden;
	z-index: 4;
}
.sboard.sb-brick .sb-container .sb-inner {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}
.sboard.sb-brick .sb-item .sb-inner {
    padding: 0;
    height: 100%;
}
.sboard.sb-brick .sb-item .sb-inner2 {
    overflow: hidden;
    height: 100%;
    padding: 0 15px 0 15px;
}
.sboard.sb-brick .sb-item .sb-inner3 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 8px 0 35px 0;
    line-height: 0.75em;
}
.sboard.sb-brick .sb-item .sb-inner3 > div {
    border-bottom: 1px solid #EEE;
    padding: 0 15px 0 15px;
}
.sboard.sb-brick .sb-container:hover .sb-thumb {
  opacity: 0.1;
}
.sboard.sb-brick .sb-container:hover .sb-inner {
  opacity: 1;
}
.sboard.sb-brick .sb-container.sb-nothumb:hover .sb-thumb {
  opacity: 0;
}
.sboard.sb-brick .sb-container.sb-nothumb .sb-inner {
  opacity: 1;
}
.sboard.sb-brick .sb-item .sb-inner .sb-text {
    display: block;
    height: 100%;
    max-height: calc(100% - 140px);
    margin-bottom: 0;
    padding: 20px 0 10px 0;
}
.sboard.sb-brick .sb-item .sb-inner .sb-user {
    float: none;
    display: inline-block;
    width: 100%;
    padding: 0;
    margin: 0;
}
.sboard.sb-brick.sb-carousel .sb-item .sb-user {
    height: 44px;
}
.sboard.sb-brick .sb-item .sb-inner .sb-thumb {
    background-color: transparent;
}
.sboard.sb-brick .sb-item .sb-thumb img {
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
}
.sboard.sb-brick .sb-item .sb-user .sb-uinfo {
    margin-top: 0;
    line-height: 12px;
    width: 50%;
}
.sboard.sb-brick .sb-item .sb-user .sb-uinfo.sb-nouthumb {
    margin-top: 0;
    width: 85%;
}
.sboard.sb-brick .sb-item .sb-user .sb-utitle,
.sboard.sb-brick .sb-item .sb-user .sb-uname {
    margin-left: 10px;
}
.sboard.sb-brick .sb-item .sb-inner .sb-info .sb-date {
    float: left;
    line-height: 0;
}
.sboard.sb-brick .sb-item .sb-inner .sb-info .sb-date a {
    line-height: 21px;
}
.sboard.sb-brick .sb-item .sb-inner .sb-info {
    padding: 0 15px 7px 15px;
    line-height: 2em;
    margin: 0;
    font-style: normal;
    font-size: 13px !important;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
}
.sboard.sb-brick .sb-item .sb-inner .sb-info a {
    font-size: .8em;
}
.sboard.sb-brick .sb-item .sb-inner .sb-share a {
    width: 15px;
    height: 15px;
}
.sboard.sb-brick .sb-sicon.sb-facebook { background-position: -2.5% center; }
.sboard.sb-brick .sb-sicon.sb-twitter { background-position: 11.5% center; }
.sboard.sb-brick .sb-sicon.sb-pinterest { background-position: 26.5% center; }
.sboard.sb-brick .sb-sicon.sb-linkedin { background-position: 41.5% center; }
.sboard.sb-brick.sb-widget.border {
    border: 1px solid #EDEDED;
}
.sboard.sb-brick.timeline .timeline-row .timeline-content img {
    margin-bottom: 0;
}
.sboard.sb-brick .sb-item .sb-uthumbcon {
    float: left;
    display: inline-block;
}
.sboard.sb-brick .sb-item .sb-bico {
    background-image: url(../img/board-icons-w.png);
    opacity: 0.6;
}
.sboard.sb-brick .sb-item .sb-user .sb-uthumb {
    border-radius: 50%;
    display: inline-block;
    float: left;
    width: 28px;
    height: 28px;
    line-height: 1.42857;
    padding: 2px;
    transition: all 0.2s ease-in-out 0s;
    box-sizing: content-box;
    margin: 0 5px 0 0;
}
.sboard.sb-brick .sb-item .sb-user .sb-uthumb img {
    width: 26px;
    height: 26px;
    margin: 1px;
    border-radius: 50%;
}
.sboard.sb-brick .sb-item .sb-user .sb-uthumb a {
    line-height: 0;
}
.sboard.sb-brick .sb-item .sb-user .sb-uinfo {
    display: inline-block;
    float: left;
    width: 75%;
}
.sboard.sb-brick .sb-item .sb-user .sb-utitle {
    font-size: 140%;
    line-height: 125%;
    margin: 0;
    white-space: nowrap;
    overflow: hidden; 
    text-overflow: ellipsis;
    color: unset;
    width: calc(100% - 90px);
}
.sboard.sb-brick .sb-iconm {
    position: absolute;
    right: 0px;
    top: 0px;
    border-radius: 0px;
    display: inline-block;
    width: 30px;
    height: 30px;
    z-index: 9;
}
.sboard.sb-brick .sb-iconm::before {
    content: "";
    position: absolute;
    width: 0px;
    height: 0px;
    top: 0px;
    right: 0px;
    border-style: solid;
    border-width: 0px 60px 60px 0px;
    opacity: 0.8;
}
.sboard.sb-brick .sb-iconm-inner {
    position: absolute;
    left: auto;
    right: 4px;
    top: 6px;
}
.sboard.sb-brick .sb-item .sb-inner .sb-inner3 .sb-metadata {
    position: absolute;
    top: 18px;
    right: 15px;
    z-index: 1;
    padding: 0;
}
.sboard.sb-brick .sb-item .sb-inner .sb-inner3 .sb-meta {
    display: inline-block;
    clear: none;
}
.sboard.sb-brick .sb-item .sb-inner .sb-inner3 .sb-meta span {
    float: right;
}
.sboard.sb-brick .sb-item .sb-inner .sb-metadata .sb-meta span:last-child {
    margin: 0 8px 5px 0;
	float: right;
}
.sboard.sb-brick .sb-item .sb-inner .sb-metadata .sb-meta span:first-child {
    margin: 0 0 5px 0;
}
.sboard.sb-brick .sb-item.sb-advert img {
    object-fit: cover;
    height: 100%;
}

/* Scrolling Text */
.sboard.sb-brick .sb-container .sb-inner .marquee:hover {
    position: relative;
    box-sizing: border-box;
    animation: marquee 5s ease-out infinite;
}
/* Make it move! */
@keyframes marquee {
    from {top: 0%;}
    to {top: -80%;}
}

/* Light skin */
.sb-brick-light-skin a,
.sb-brick-light-skin span,
.sb-brick-light-skin div,
.sb-brick-light-skin p {
    color: #252525;
}
.sb-brick-light-skin .sb-item {
    background-color: rgba(255,255,255,0.8);
}
.sb-brick-light-skin .sb-item .sb-inner3 {
    background-color: #fff;
}
.sb-brick-light-skin .sb-item .sb-inner3 a {
    color: #000;
}
.sb-brick-light-skin .sb-item .sb-inner .sb-info {
    background-color: #fff;
}
.sb-brick-light-skin .sb-item .sb-user .sb-uthumb {
    background-color: #fff;
    border: 1px solid #ddd;
}
.sb-brick-light-skin .sb-item .sb-inner .sb-info a {
    color: #999;
}
.sboard.sb-brick.sb-brick-light-skin .sb-item .sb-bico {
    background-image: url(../img/board-icons.png);
}
.sb-brick-light-skin .sb-hover {
    background-color: #c0c0c0;
}

/* Dark skin */
.sb-brick-dark-skin a,
.sb-brick-dark-skin span,
.sb-brick-dark-skin div,
.sb-brick-dark-skin p {
    color: #efefef;
}
.sb-brick-dark-skin .sb-item {
    background-color: rgba(0,0,0,0.9);
}
.sb-brick-dark-skin .sb-item .sb-inner3 {
    background-color: #0c0c0c;
}
.sb-brick-dark-skin .sb-item .sb-inner3 a {
    color: #fff;
}
.sb-brick-dark-skin .sb-item .sb-inner .sb-info {
    background-color: #0c0c0c;
}
.sb-brick-dark-skin .sb-item .sb-user .sb-uthumb {
    background-color: #000;
    border: 1px solid #eee;
}
.sb-brick-dark-skin .sb-item .sb-inner .sb-info a {
    color: #dadada;
}
.sb-brick-dark-skin .sb-hover {
    background-color: transparent;
}

/* Big screen */
@media (min-width: 1919px) {
    .sboard.sb-brick .sb-column {
        height: 540px;
    }
}
