/** FACEBOOK OVERRIDES **/
.cff-posts-wrap{max-width:1080px !important;margin-left:-12px;}
.cff-item{
    border-radius:8px !important;
    max-width:280px;
    clear:none !important;
    box-sizing:border-box;
    position:relative;
    margin-bottom:0 !important;
    padding-bottom:0 !important;
    padding:0 !important

}

.feedouter{
    position:relative;
    width: 100%;
    background: #FFFFFF;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.1), 0px 5px 7px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    text-align:left;
    margin:12px;

}
#cff p {
    margin: 0 !important;
}
.cff-author{padding:6px 16px 0 !important;margin-bottom:0 !important}

.cff-page-name a{
    font-family: 'Open Sans',sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    line-height: 19px;
     color: #212E31;
}
#cff .cff-author-img {width:35px  !important;height:35px !important;}
#cff .cff-author .cff-page-name.cff-author-date, #cff-lightbox-wrapper .cff-author .cff-page-name.cff-author-date {
    padding: 0;
}
.cff-post-text{
    min-height:145px;
    padding:11px 16px 16px !important;
}
.cff-post-text .cff-text{
   }
a.cff-post-text-link{color: #212E31 !important; text-decoration:none !important}
.cff-post-text a{color:#3495FF;}
.cff-meta-wrap {
    margin: 5px 0 0 0;
    position: absolute;
    bottom: 18px;
    height: 116px;
}
.cff-post-links.cff-left,
.cff-post-links.cff-left a {
   display:block;
    margin:0;
    width: 100%;
    height: 100%;
    text-indent:-10000px;
}

.cff-photo{
    display:block;
    height:138px;
    overflow:hidden;
    text-align:center;
    border:0;
    width:100% !important;
    border-radius:0 0 8px 8px;
}
.cff-photo:after{border:0 !important}

#cff .cff-photo img,
.cff-photo img {

    float: none ;
    clear:both;
    display:block;
    margin: 0 auto !important;
    padding: 0 !important;
    height: auto !important;
    width: 100% !important;
}

/** Youtube overrides */
.yt-feed{max-width:1354px;}
.sb_youtube{margin:0 !important;}
.sby-owl-stage{padding-bottom:16px;}
.sby_layout_carousel{max-width:1072px;}
.sby_username_wrap{
    margin-top:8px;
    background-repeat:no-repeat;background-size:25px;background-position: 0 center;height:28px;line-height:28px;padding-left:33px;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    color: #212E31;
}
.sb_youtube_header{display:none}
.sby_items_wrap{padding:0 !important;}
.sby_video_title_wrap{text-align:left;}
.sby_meta{text-align:right;}
.sby_username_wrap{width:100%;display:block;text-align:left;}


.sb_youtube .sby_meta > span + span::before {display:none !important;}
.sb_youtube .sby_meta  span.sby_view_count::after {content:" | " !important;}
.sby-owl-dots {text-align: left;}
.sby-owl-dots .sby-owl-dot span {
    display: block;
    width: 9px;
    height: 9px;
    margin: 5px 6px;
    border:1px solid #9A9A9A;
    background: transparent;
    opacity:1;
}
.sby-owl-dots .sby-owl-dot.active span {
    display: block;
    width: 9px;
    height: 9px;
    margin: 5px 6px;
    border:1px solid #000;
    background: #000;
    opacity:1;
}
.sby_item.sby_no_margin{
    background: #FFFFFF;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.1), 0px 5px 7px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    text-align:left;
}
.sby_info.sby_info_item{padding:16px;}
.sby_video_title {
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

/** TWITTER OVERRIDES **/
.ctf-tweet-media a.ctf-image{display:none !important;}
.ctf-tweet-media a.ctf-image:nth-child(1){display:block  !important;}
.ctf-item{border-top:0 !important;padding:0 !important;}

.ctf-author-box{position:relative;max-width:100%;}
.ctf-author-avatar{margin-left:16px !important;}
#ctf.ctf-super-narrow .ctf-author-box {
    padding-left: 0;
    padding-top:16px;
}
.ctf-tweet-media {
    margin: 0 0 -8px !important;
    width:100%;
    clear:both;
    min-height:156px;
    max-height:156px;
    display: block;
    position: relative;
    overflow:hidden;
}

.ctf-image {
    max-width:100% !important;
    margin: 0  !important;
    border-radius: 0 0 8px 8px !important;
}

.ctf-tweet-media a::after {
  border: 0 !important;
  display:none !important;
}
#ctf p.ctf-tweet-text{min-height:126px;max-height:500px;padding:16px !important;}
#ctf .ctf-tweet-media img, #ctf .ctf-tweet-media video {
    border-radius: 0 !important;
}
#ctf .ctf-tweet-media .ctf-lightbox-link {
    position: absolute;
    display: block;
    clear:both;
    bottom: 0;
}

.ctf-author-name{display:none !important;}
.ctf-author-screenname{
    display:block !important;
    position:absolute;
    left:48px;
    top:13px;
    font-weight: bold;
    font-size: 14px !important;
    text-decoration:none;
    line-height: 19px;
    color: #212E31;
}
.ctf-tweet-meta{position:absolute;top: 30px;
}
.ctf-tweet-meta a.ctf-tweet-date{
    font-style: normal;
    font-weight: normal;
    font-size: 12px !important;
    color: #AFAFAF !important;
    text-decoration:none;
}
#ctf p.ctf-tweet-text{
    font-style: normal;
    font-weight: normal;
    font-size: 14px !important;
    line-height: 19px !important;
    color: #212E31 !important;
}
#ctf p.ctf-tweet-text a{
   color:#3495FF; !important;
}
.ctf-tweet-text br{display:none;}

.ctf-screename-sep{display:none !important}

#ctf_lightbox .ctf-author-avatar {
    margin-left: 0px !important;
}
#ctf_lightbox .ctf-author-box {
    padding-left: 0px;
    width: 100%;
}

#ctf_lightbox .ctf-author-screenname {
    padding-left: 5px;
}

#ctf_lightbox .ctf_lb-data .ctf-caption-text {
    width: 100%;
    margin-left: 0px;
    padding-top: 62px;
    padding-bottom: 10px;
}
#ctf .ctf-author-name,
#ctf .ctf-author-screenname{
    margin-top: 2px;
}

@media (max-width:810px) {
    .fb-feed .cff-item {
        max-width: 100%;
    }
}
    @media (max-width:480px){
.fb-feed .cff-viewpost-facebook{display:none}
 .fb-feed .cff-item {
        max-width: 100%;
    }
    .fb-feed .cff-photo {
        height: 140px;
    }
}
    @media (max-width:428px){

    #ctf.ctf-narrow .ctf-tweet-actions, #ctf.ctf-narrow .ctf-tweet-content {
        margin-left: 0;
        margin-top: 40px;
    }
    .twitter-feed .ctf-author-avatar {
        margin-left: -40px !important;
    }
    #ctf p.ctf-tweet-text {
        padding: 15px 20px 10px !important;
    }
    #ctf.ctf-narrow .ctf-author-box {
        padding-top: 15px;
        padding-left: 56px;
    }
    #ctf .ctf-author-name, #ctf .ctf-author-screenname, #ctf .ctf-tweet-meta, #ctf .ctf-verified, #ctf_lightbox .ctf-author-name, #ctf_lightbox .ctf-author-screenname, #ctf_lightbox .ctf-tweet-meta, #ctf_lightbox .ctf-verified {
        margin-left: 14px;
        margin-right: 4px;
        margin-top: 8px;
    }
    .ctf-author-screenname {
        left: 54px;
}
    .ctf-tweet-meta{margin-left:8px !important;}
    .ctf-tweet-media {
        margin: 0 0 -40px !important;
        min-height: 197px;
        max-height: 200px;
    }
}

.cff-post-text{float:none !important;clear: both !important;}

.fbnoimage{
    display:block;
    width:100%;
    height:138px;
    border-radius: 0 0 8px 8px;
    background-image: url( ../images/fbg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position:relative;

    }