/**************/
/*** LAYOUT ***/
/**************/

/* Feed container */
[id^=sb_youtube_].sb_youtube {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
[id^=sb_youtube_].sb_youtube * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}
[id^=sb_youtube_].sb_youtube:after{
    content: "";
    display: table;
    clear: both;
}
[id^=sb_youtube_].sb_youtube iframe,
#sby_lightbox iframe{
    pointer-events: all !important;
}

/*********************/
/*** STYLE OPTIONS ***/
/*********************/
[id^=sb_youtube_].sb_youtube.sby_fixed_height{
    overflow: hidden;
    overflow-y: auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
[id^=sb_youtube_].sb_youtube .sby_items_wrap{
    width: 100%;
    float: left;
    line-height: 0;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* Items */
[id^=sb_youtube_].sb_youtube .sby_items_wrap .sby_item,
[id^=sb_youtube_].sb_youtube .sby_player_outer_wrap .sby_video_thumbnail_wrap,
[id^=sb_youtube_].sb_youtube .sby_player_wrap{
    display: -moz-inline-stack;
    display: inline-block;
    vertical-align: top;
    zoom: 1;
    *display: inline;

    max-height: 1000px;
    padding: inherit !important;
    text-decoration: none;
    opacity: 1;
    overflow: hidden;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
[id^=sb_youtube_].sb_youtube .sby_items_wrap .sby_item.sby_no_margin {
    margin: 0 !important;
}
[id^=sb_youtube_].sb_youtube .sby_items_wrap .sby_item {
    float: left;
}
/* Transition items in */
[id^=sb_youtube_].sb_youtube .sby_items_wrap .sby_item.sby_transition{
    opacity: 0;
    max-height: 0;
}

/* Cols */
[id^=sb_youtube_].sb_youtube.sby_col_0 .sby_items_wrap .sby_item{ width: 100%; }
[id^=sb_youtube_].sb_youtube.sby_col_1 .sby_items_wrap .sby_item{ width: 100%; }
[id^=sb_youtube_].sb_youtube.sby_col_2 .sby_items_wrap .sby_item{ width: 50%; }
[id^=sb_youtube_].sb_youtube.sby_col_3 .sby_items_wrap .sby_item{ width: 33.33%; }
[id^=sb_youtube_].sb_youtube.sby_col_4 .sby_items_wrap .sby_item{ width: 25%; }
[id^=sb_youtube_].sb_youtube.sby_col_5 .sby_items_wrap .sby_item{ width: 20%; }
[id^=sb_youtube_].sb_youtube.sby_col_6 .sby_items_wrap .sby_item{ width: 16.66%; }
[id^=sb_youtube_].sb_youtube.sby_col_7 .sby_items_wrap .sby_item{ width: 14.28%; }
[id^=sb_youtube_].sb_youtube.sby_col_8 .sby_items_wrap .sby_item{ width: 12.5%; }
[id^=sb_youtube_].sb_youtube.sby_col_9 .sby_items_wrap .sby_item{ width: 11.11%; }
[id^=sb_youtube_].sb_youtube.sby_col_10 .sby_items_wrap .sby_item{ width: 10%; }

/* Disable mobile layout */
/*
[id^=sb_youtube_].sb_youtube.sby_col_1.sby_disable_mobile .sby_items_wrap .sby_item{ width: 100%; }
[id^=sb_youtube_].sb_youtube.sby_col_2.sby_disable_mobile .sby_items_wrap .sby_item{ width: 50%; }
[id^=sb_youtube_].sb_youtube.sby_col_3.sby_disable_mobile .sby_items_wrap .sby_item{ width: 33.33%; }
[id^=sb_youtube_].sb_youtube.sby_col_4.sby_disable_mobile .sby_items_wrap .sby_item{ width: 25%; }
[id^=sb_youtube_].sb_youtube.sby_col_5.sby_disable_mobile .sby_items_wrap .sby_item{ width: 20%; }
[id^=sb_youtube_].sb_youtube.sby_col_6.sby_disable_mobile .sby_items_wrap .sby_item{ width: 16.66%; }
[id^=sb_youtube_].sb_youtube.sby_col_7.sby_disable_mobile .sby_items_wrap .sby_item{ width: 14.28%; }
[id^=sb_youtube_].sb_youtube.sby_col_8.sby_disable_mobile .sby_items_wrap .sby_item{ width: 12.5%; }
[id^=sb_youtube_].sb_youtube.sby_col_9.sby_disable_mobile .sby_items_wrap .sby_item{ width: 11.11%; }
[id^=sb_youtube_].sb_youtube.sby_col_10.sby_disable_mobile .sby_items_wrap .sby_item{ width: 10%; }
*/
/* Photos */
.sby-screenreader{text-indent: -9999px !important;display: block !important;width: 0 !important;height: 0 !important;line-height: 0 !important;}
[id^=sb_youtube_].sb_youtube .sby_video_thumbnail_wrap,
[id^=sb_youtube_].sb_youtube .sby_player_outer_wrap {
    width: 100%;
    position: relative;
    float: left;
}
[id^=sb_youtube_].sb_youtube .sby_video_thumbnail{
    display: block;
    position: relative;
    text-decoration: none;
    line-height: 0;
    z-index: 5;
}
[id^=sb_youtube_].sb_youtube .sby_video_thumbnail img{
    width: 100%;
    height: auto;
    border-radius: 0;
}
[id^=sb_youtube_].sb_youtube .sby_link{
    display: none;
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    width: 100%;
    padding: 0;
    background: #333;
    background: rgba(0,0,0,0.6);
    text-align: center;
    color: #fff;
    font-size: 12px;
    line-height: 1.1;
    overflow: hidden;
}
[id^=sb_youtube_].sb_youtube .sby_link.sby_default p,
[id^=sb_youtube_].sb_youtube .sby_link.sby_default span,
[id^=sb_youtube_].sb_youtube .sby_link.sby_default a{
    text-shadow: 0px 0px 10px #000;
}
[id^=sb_youtube_].sb_youtube .sby_link .sby_username a,
[id^=sb_youtube_].sb_youtube .sby_link .sby_youtube_link,
[id^=sb_youtube_].sb_youtube .sby_link .sby_hover_bottom,
[id^=sb_youtube_].sb_youtube .sby_link .sby_playbtn,
[id^=sb_youtube_].sb_youtube .sby_link .sby_lightbox_link,
[id^=sb_youtube_].sb_youtube .sby_link .svg-inline--fa.fa-play{
    filter: alpha(opacity=90);
    opacity: 0.9;
}
[id^=sb_youtube_].sb_youtube .sby_link .sby_username a:hover,
[id^=sb_youtube_].sb_youtube .sby_link .sby_youtube_link:hover,
[id^=sb_youtube_].sb_youtube .sby_link .sby_playbtn:hover,
[id^=sb_youtube_].sb_youtube .sby_link .sby_lightbox_link:hover,
[id^=sb_youtube_].sb_youtube .sby_link .svg-inline--fa.fa-play:hover{
    filter: alpha(opacity=100);
    opacity: 1;
}
[id^=sb_youtube_].sb_youtube .sby_link_area{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
}

[id^=sb_youtube_].sb_youtube .sby_link a{
    padding: 0;
    text-decoration: none;
    color: #ddd;
    color: rgba(255,255,255,0.7);
    line-height: 1.1;
    background: none;

    display: -moz-inline-stack;
    display: inline-block;
    vertical-align: top;
    zoom: 1;
    *display: inline;
}
[id^=sb_youtube_].sb_youtube .sby_link a:hover,
[id^=sb_youtube_].sb_youtube .sby_link a:active{
    color: #fff;
}

[id^=sb_youtube_].sb_youtube .sby_link .sby_lightbox_link{
    display: block;
    /*display: none;*/
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;

    margin-top: -24px;
    margin-left: -21px;
    padding: 0;
    font-size: 49px;
    font-style: normal !important;
}
[id^=sb_youtube_].sb_youtube .sby_type_video .sby_lightbox_link,
[id^=sb_youtube_].sb_youtube .sby_carousel_vid_first .sby_lightbox_link{
    display: none;
}

[id^=sb_youtube_].sb_youtube .sby_link .sby_youtube_link{
    /*float: right;*/
    font-size: 30px;
    position: absolute;
    z-index: 100;
    bottom: 0;
    right: 2px;
    padding: 8px;
}
[id^=sb_youtube_].sb_youtube .sby_link a:hover,
[id^=sb_youtube_].sb_youtube .sby_link a:focus{
    text-decoration: underline;
}

/* Player */
[id^=sb_youtube_].sb_youtube .sby_player_wrap {
    z-index: 1;
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    top: 0;
    left: 0;
}
[id^=sb_youtube_].sb_youtube .sby_player_wrap iframe {
    width: 100% !important;
    height: 100% !important;
}

/* Use CSS for lightbox fade instead of JS */
[id^=sb_youtube_].sb_youtube .sby_thumbnail_hover {
    opacity: 0;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
    color: #fff;
    background: #333;
    background: rgba(0,0,0,.6);
    transition: opacity .6s ease-in-out;
    -moz-transition: opacity .6s ease-in-out;
    -webkit-transition: opacity .6s ease-in-out;
}
[id^=sb_youtube_].sb_youtube.sby_layout_list .sby_thumbnail_hover {
    display: none;
}
.sby_video_title {
    display: inline-block;
    height: 100%;
    padding: 10px;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.2;
}
[id^=sb_youtube_].sb_youtube .sby_video_thumbnail:hover .sby_thumbnail_hover {
    opacity: 1;
    display: block;
    transition: opacity .2s ease-in-out;
    -moz-transition: opacity .2s ease-in-out;
    -webkit-transition: opacity .2s ease-in-out;
}
[id^=sb_youtube_].sb_youtube .sby_current .sby_thumbnail_hover {
    opacity: 1;
}
[id^=sb_youtube_].sb_youtube.sby_layout_list .sby_video_thumbnail:hover .sby_thumbnail_hover {
    opacity: 0;
    display: none;
    transition: none;
    -moz-transition: none;
    -webkit-transition: none;
}

a.sby_video_thumbnail:after {
    box-shadow: inset 0 0 1px 0 rgba(0,0,0,0.7);
    bottom: 0;
    content: '';
    left: 0;
    position: absolute;
    z-index: 1;
    right: 0;
    top: 0;
    width: 100%;
}

/* Play Button */
[id^=sb_youtube_].sb_youtube .sby_video_thumbnail:hover .sby_play_btn {
    opacity: .5;
}
[id^=sb_youtube_].sb_youtube .sby_play_btn {
    position: absolute;
    z-index: 1;
    left: 50%;
    bottom: 50%;
    top: 50%;
    right: 50%;
    margin-top: -25px;
    margin-left: -28px;
    color: #fff;
    width: 57px;
    height: 50px;
    opacity: 1;
    transition: opacity .2s ease-in-out;
    -moz-transition: opacity .2s ease-in-out;
    -webkit-transition: opacity .2s ease-in-out;
}
[id^=sb_youtube_].sb_youtube .sby_play_btn_bg {
    display: block;
    position: absolute;
    z-index: -1;
    top: 17px;
    left: 22px;
    width: 0;
    height: 0;
    border: 0 solid transparent;
    border-bottom-width: 9px;
    border-top-width: 9px;
    border-left: 16px solid #fff;
}
[id^=sb_youtube_].sb_youtube .sby_play_btn svg:not(:root).svg-inline--fa{
    width: 57px;
    height: auto;
    opacity: 0.75;
}

[id^=sb_youtube_].sb_youtube .sby_play_btn svg,
[id^=sb_youtube_].sb_youtube .sby_play_btn i{
    color: #000;
}
/* Medium */
[id^=sb_youtube_].sb_youtube.sby_medium .sby_play_btn {
    margin-top: -20px;
    margin-left: -22px;
    width: 45px;
    height: 40px;
}
[id^=sb_youtube_].sb_youtube.sby_medium .sby_play_btn_bg {
    top: 13px;
    left: 18px;
    border-bottom-width: 7px;
    border-top-width: 7px;
    border-left: 12px solid #fff;
}
[id^=sb_youtube_].sb_youtube.sby_medium .sby_play_btn svg:not(:root).svg-inline--fa{
    width: 45px;
}

/* Small */
[id^=sb_youtube_].sb_youtube.sby_small .sby_play_btn{
    margin-top: -16px;
    margin-left: -18px;
    width: 36px;
    height: 32px;
}
[id^=sb_youtube_].sb_youtube.sby_small .sby_play_btn_bg {
    top: 10px;
    left: 14px;
    border-bottom-width: 6px;
    border-top-width: 6px;
    border-left: 10px solid #fff;
}
[id^=sb_youtube_].sb_youtube.sby_small .sby_play_btn svg:not(:root).svg-inline--fa{
    width: 36px;
}

[id^=sb_youtube_].sby_layout_gallery .sby_player_outer_wrap .sby_play_btn {
    z-index: 10;    
}

/* Loader */
[id^=sb_youtube_].sb_youtube .sby_loader{
    width: 20px;
    height: 20px;

    position: relative;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    background-color: #000;
    background-color: rgba(0,0,0,0.5);

    border-radius: 100%;
    -webkit-animation: sby-sk-scaleout 1.0s infinite ease-in-out;
    animation: sby-sk-scaleout 1.0s infinite ease-in-out;
}
[id^=sb_youtube_].sb_youtube .sb_youtube_header br,
[id^=sb_youtube_].sb_youtube .sby_items_wrap br,
[id^=sb_youtube_].sb_youtube .sby_footer br{
    display: none;
}
.sby_footer p {
    display: inline;
    padding: 0;
    margin: 0;
}
/* Loader in button */
[id^=sb_youtube_].sb_youtube .sby_footer .sby_loader,
[id^=sb_youtube_].sb_youtube .sby_item .sby_loader,
[id^=sb_youtube_].sb_youtube .sby_player_outer_wrap .sby_loader{
    position: absolute;
    margin-top: -11px;
    background-color: #fff;
}
[id^=sb_youtube_].sb_youtube .sby_item.sby_player_loading,
[id^=sb_youtube_].sb_youtube .sby_player_outer_wrap.sby_player_loading {
    opacity: .8;
}
@-webkit-keyframes sby-sk-scaleout {
    0% { -webkit-transform: scale(0) }
    100% {
        -webkit-transform: scale(1.0);
        opacity: 0;
    }
}
@keyframes sby-sk-scaleout {
    0% {
        -webkit-transform: scale(0);
        -ms-transform: scale(0);
        transform: scale(0);
    } 100% {
          -webkit-transform: scale(1.0);
          -ms-transform: scale(1.0);
          transform: scale(1.0);
          opacity: 0;
      }
}

[id^=sb_youtube_].sb_youtube .fa-spin,
#sby_lightbox .fa-spin{
    -webkit-animation: fa-spin 2s infinite linear;
    animation: fa-spin 2s infinite linear
}

[id^=sb_youtube_].sb_youtube .fa-pulse,
#sby_lightbox .fa-pulse{
    -webkit-animation: fa-spin 1s infinite steps(8);
    animation: fa-spin 1s infinite steps(8)
}

@-webkit-keyframes fa-spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }
    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg)
    }
}

@keyframes fa-spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }
    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg)
    }
}

/* HEADER */
[id^=sb_youtube_].sb_youtube .sb_youtube_header{
    float: left;
    clear: both;
    margin: 0 0 15px 0;
    padding: 0;
    line-height: 1.2;
    width: 100%;
}
[id^=sb_youtube_].sb_youtube .sb_youtube_header a{
    float: left;
    display: block;
    /*width: 100%;*/
    min-width: 100%\9;
    text-decoration: none;
    transition: color 0.5s ease;
}
/** Medium Header */
/* Only use medium & large headers on devices above 480px */
@media all and (min-width: 480px){
    [id^=sb_youtube_].sb_youtube .sb_youtube_header.sby_medium .sby_header_img {
        width: 80px;
        height: 80px;
        border-radius: 40px;
    }
    [id^=sb_youtube_].sb_youtube .sb_youtube_header.sby_medium .sby_header_img img {
        width: 80px;
        height: 80px;
        border-radius: 40px;
    }
    [id^=sb_youtube_].sb_youtube .sb_youtube_header.sby_medium .sby_header_text h3 {
        font-size: 20px;
    }
    [id^=sb_youtube_].sb_youtube .sb_youtube_header.sby_medium .sby_header_text .sby_bio_info,
    [id^=sb_youtube_].sb_youtube .sb_youtube_header.sby_medium .sby_header_text .sby_bio{
        font-size: 14px;
    }
    [id^=sb_youtube_].sb_youtube .sb_youtube_header.sby_medium .sby_header_text h3,
    [id^=sb_youtube_].sb_youtube .sb_youtube_header.sby_medium .sby_header_text .sby_bio_info,
    [id^=sb_youtube_].sb_youtube .sb_youtube_header.sby_medium .sby_header_text .sby_bio{
        margin-left: 95px !important;
        line-height: 1.4
    }
    [id^=sb_youtube_].sb_youtube .sb_youtube_header.sby_medium .sby_header_text h3{
        margin-right: -85px !important;
    }
    [id^=sb_youtube_].sb_youtube .sb_youtube_header.sby_medium .sby_header_text .sby_bio_info{
        margin-top: 4px !important;
    }
    [id^=sb_youtube_].sb_youtube .sb_youtube_header.sby_medium .sby_header_text.sby_no_bio h3{
        padding-top: 20px !important;
    }
    /** Large Header */
    [id^=sb_youtube_].sb_youtube .sb_youtube_header.sby_large .sby_header_img {
        width: 120px;
        height: 120px;
        border-radius: 60px;
    }
    [id^=sb_youtube_].sb_youtube .sb_youtube_header.sby_large .sby_header_img img {
        width: 120px;
        height: 120px;
        border-radius: 60px;
    }
    [id^=sb_youtube_].sb_youtube .sb_youtube_header.sby_large .sby_header_text h3 {
        font-size: 28px;
    }
    [id^=sb_youtube_].sb_youtube .sb_youtube_header.sby_large .sby_header_text .sby_bio_info,
    [id^=sb_youtube_].sb_youtube .sb_youtube_header.sby_large .sby_header_text .sby_bio{
        font-size: 16px;
    }
    [id^=sb_youtube_].sb_youtube .sb_youtube_header.sby_large .sby_header_text h3,
    [id^=sb_youtube_].sb_youtube .sb_youtube_header.sby_large .sby_header_text .sby_bio_info,
    [id^=sb_youtube_].sb_youtube .sb_youtube_header.sby_large .sby_header_text .sby_bio{
        margin-left: 140px !important;
        line-height: 1.5;
    }
    [id^=sb_youtube_].sb_youtube .sb_youtube_header.sby_large .sby_header_text h3{
        margin-right: -120px !important;
    }
    [id^=sb_youtube_].sb_youtube .sb_youtube_header.sby_large .sby_header_text .sby_bio_info{
        margin-top: 12px !important;
    }
    [id^=sb_youtube_].sb_youtube .sb_youtube_header.sby_large .sby_header_text.sby_no_bio h3{
        padding-top: 32px !important;
    }
}

/* Header profile pic */
[id^=sb_youtube_].sb_youtube .sb_youtube_header .sby_header_img{
    float: left;
    position: relative;
    width: 50px;
    margin: 0 0 0 -100% !important;
    overflow: hidden;

    -moz-border-radius: 40px;
    -webkit-border-radius: 40px;
    border-radius: 40px;
}
[id^=sb_youtube_].sb_youtube .sb_youtube_header .sby_header_img img{
    float: left;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;

    -moz-border-radius: 40px;
    -webkit-border-radius: 40px;
    border-radius: 40px;
}
/* Profile pic hover */
/* Profile pic hover */
[id^=sb_youtube_].sb_youtube .sb_youtube_header .sby_header_img_hover{
    opacity: 0;
    position: absolute;
    width: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    text-align: center;
    color: #fff;
    background: rgba(0,0,0,0.75);
}
[id^=sb_youtube_].sb_youtube .sb_youtube_header.sby_no_consent .sby_header_img {
    height: 50px;
}
[id^=sb_youtube_].sb_youtube .sb_youtube_header.sby_no_consent .sby_header_img_hover{
    opacity: 1;
}
[id^=sb_youtube_].sb_youtube .sb_youtube_header .sby_header_img_hover .sby_new_logo{
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -12px;
    margin-left: -12px;
    width: 24px;
    height: 24px;
    font-size: 24px;
}
[id^=sb_youtube_].sb_youtube .sb_youtube_header .sby_header_img_hover i {
    overflow: hidden;
    background: url('../img/small-logo.png') no-repeat 0 0;
}
[id^=sb_youtube_].sb_youtube .sb_youtube_header .sby_header_img_hover{
    z-index: 2;
    transition: opacity 0.4s ease-in-out;
}
[id^=sb_youtube_].sb_youtube .sb_youtube_header .sby_fade_in{
    opacity: 1;
    transition: opacity 0.2s ease-in-out;
}
[id^=sb_youtube_].sb_youtube .sb_youtube_header .sby_header_img_hover{
    position: absolute;
    width: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    text-align: center;
    color: #fff;
    background: rgba(0,0,0,0.75);

    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    -moz-opacity: 0;
    -khtml-opacity: 0;
    opacity: 0;
    border-radius: 40px;
    transition: opacity 0.2s;
}
/* Fade the Youtube icon in when hovering on the header */
[id^=sb_youtube_].sb_youtube .sb_youtube_header a:hover .sby_header_img_hover,
[id^=sb_youtube_].sb_youtube .sb_youtube_header a:focus .sby_header_img_hover{
    opacity: 1;
}
/* Header text */
[id^=sb_youtube_].sb_youtube .sb_youtube_header .sby_header_text{
    float: left;
    width: 100%;
    padding-top: 5px;
}
[id^=sb_youtube_].sb_youtube .sb_youtube_header a{
    text-decoration: none;
}
[id^=sb_youtube_].sb_youtube .sb_youtube_header .sby_header_text .sby_bio,
[id^=sb_youtube_].sb_youtube .sb_youtube_header .sby_header_text h3{
    float: left;
    clear: both;
    width: auto;
    margin: 0 0 0 60px !important;
    padding: 0 !important;
}
[id^=sb_youtube_].sb_youtube .sb_youtube_header h3{
    font-size: 16px;
    line-height: 1.3;
}
[id^=sb_youtube_].sb_youtube .sb_youtube_header p{
    font-size: 13px;
    line-height: 1.3;
    margin: 0;
    padding: 0;
}
[id^=sb_youtube_].sb_youtube p:empty { display: none; }
[id^=sb_youtube_].sb_youtube .sb_youtube_header .sby_header_text img.emoji{
    margin-right: 3px !important;
}

/* No bio */
[id^=sb_youtube_].sb_youtube .sb_youtube_header .sby_header_text.sby_no_bio h3{
    padding-top: 9px !important;
}
[id^=sb_youtube_].sb_youtube .sb_youtube_header .sby_header_text.sby_no_bio .sby_bio_info{
    clear: both;
}

/* Buttons */
[id^=sb_youtube_].sb_youtube .sby_footer{
    float: left;
    clear: both;
    width: 100%;
    text-align: center;
}
[id^=sb_youtube_].sb_youtube .sby_footer .fa-spinner{
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -8px 0 0 -7px;
    font-size: 15px;
}
[id^=sb_youtube_].sb_youtube .sby_footer{
    opacity: 1;
    transition: all 0.5s ease-in;
}
[id^=sb_youtube_].sb_youtube .sby_load_btn .sby_btn_text, [id^=sb_youtube_].sb_youtube .sby_load_btn .sby_loader{
    opacity: 1;
    transition: all 0.1s ease-in;
}
[id^=sb_youtube_].sb_youtube .sby_hidden{
    opacity: 0 !important;
}
[id^=sb_youtube_].sb_youtube .sby_footer .sby_load_btn,
[id^=sb_youtube_].sb_youtube .sby_follow_btn a{
    display: -moz-inline-stack;
    display: inline-block;
    vertical-align: top;
    zoom: 1;
    *display: inline;

    padding: 7px 14px;
    margin: 5px auto 0 auto;
    background: #333;
    color: #eee;
    border: none;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.5;

    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
[id^=sb_youtube_].sb_youtube .sby_footer .sby_load_btn {
    position: relative;
}
/* Follow button */
[id^=sb_youtube_].sb_youtube .sby_follow_btn{
    display: -moz-inline-stack;
    display: inline-block;
    vertical-align: top;
    zoom: 1;
    *display: inline;
    text-align: center;
}
[id^=sb_youtube_].sb_youtube .sby_follow_btn.sby_top{
    display: block;
    margin-bottom: 5px;
}
[id^=sb_youtube_].sb_youtube .sby_follow_btn a{
    background: #408bd1;
    color: #fff;
}
[id^=sb_youtube_].sb_youtube .sby_follow_btn a,
[id^=sb_youtube_].sb_youtube .sby_follow_btn a,
[id^=sb_youtube_].sb_youtube .sby_footer .sby_load_btn{
    transition: all 0.1s ease-in;
}
/* Hover state for default colors */
[id^=sb_youtube_].sb_youtube .sby_footer .sby_load_btn:hover{
    outline: none;
    box-shadow: inset 0 0 20px 20px rgba(255,255,255,0.25);
}
[id^=sb_youtube_].sb_youtube .sby_follow_btn a:hover,
[id^=sb_youtube_].sb_youtube .sby_follow_btn a:focus{
    outline: none;
    box-shadow: inset 0 0 10px 20px #359dff;
}
/* If a custom color is applied then just use opacity for the hover effect */
[id^=sb_youtube_].sb_youtube .sby_follow_btn.sby_custom a:hover,
[id^=sb_youtube_].sb_youtube .sby_follow_btn.sby_custom a:focus,
[id^=sb_youtube_].sb_youtube .sby_footer .sby_load_btn.sby_custom:hover{
    box-shadow: inset 0 0 20px 20px rgba(255,255,255,0.15);
}
/* Active state */
[id^=sb_youtube_].sb_youtube .sby_follow_btn a:active,
[id^=sb_youtube_].sb_youtube .sby_footer .sby_load_btn:active{
    box-shadow: inset 0 0 10px 20px rgba(0,0,0,0.3);
}

[id^=sb_youtube_].sb_youtube .sby_follow_btn .fa,
[id^=sb_youtube_].sb_youtube .sby_follow_btn svg{
    margin-bottom: -1px;
    margin-right: 7px;
    font-size: 15px;
}
[id^=sb_youtube_].sb_youtube .sby_follow_btn svg{
    vertical-align: -.125em;
}
[id^=sb_youtube_].sb_youtube .sby_footer .sby_follow_btn{
    margin-left: 5px;
}

/* Media queries */
@media all and (max-width: 640px){
    /* Make 3-6 cols into 2 col */
    [id^=sb_youtube_].sb_youtube.sby_col_3.sby_mob_col_auto .sby_items_wrap .sby_item,
    [id^=sb_youtube_].sb_youtube.sby_col_4.sby_mob_col_auto .sby_items_wrap .sby_item,
    [id^=sb_youtube_].sb_youtube.sby_col_5.sby_mob_col_auto .sby_items_wrap .sby_item,
    [id^=sb_youtube_].sb_youtube.sby_col_6.sby_mob_col_auto .sby_items_wrap .sby_item{
        width: 50%;
    }
    /* Make 7-10 cols into 4 col */
    [id^=sb_youtube_].sb_youtube.sby_col_7 .sby_items_wrap .sby_item,
    [id^=sb_youtube_].sb_youtube.sby_col_8 .sby_items_wrap .sby_item,
    [id^=sb_youtube_].sb_youtube.sby_col_9 .sby_items_wrap .sby_item,
    [id^=sb_youtube_].sb_youtube.sby_col_10 .sby_items_wrap .sby_item,
    [id^=sb_youtube_].sb_youtube.sby_col_7.sby_mob_col_auto .sby_items_wrap .sby_item,
    [id^=sb_youtube_].sb_youtube.sby_col_8.sby_mob_col_auto .sby_items_wrap .sby_item,
    [id^=sb_youtube_].sb_youtube.sby_col_9.sby_mob_col_auto .sby_items_wrap .sby_item,
    [id^=sb_youtube_].sb_youtube.sby_col_10.sby_mob_col_auto .sby_items_wrap .sby_item{
        width: 25%;
    }
    [id^=sb_youtube_].sb_youtube.sby_col_2 .sby_items_wrap .sby_item{ width: 50%; }
    [id^=sb_youtube_].sb_youtube.sby_col_3 .sby_items_wrap .sby_item{ width: 33.33%; }
    [id^=sb_youtube_].sb_youtube.sby_col_4 .sby_items_wrap .sby_item{ width: 25%; }
    [id^=sb_youtube_].sb_youtube.sby_col_5 .sby_items_wrap .sby_item{ width: 20%; }
    [id^=sb_youtube_].sb_youtube.sby_col_6 .sby_items_wrap .sby_item{ width: 16.66%; }
    [id^=sb_youtube_].sb_youtube.sby_col_7 .sby_items_wrap .sby_item{ width: 14.28%; }
    [id^=sb_youtube_].sb_youtube.sby_col_8 .sby_items_wrap .sby_item{ width: 12.5%; }
    [id^=sb_youtube_].sb_youtube.sby_col_9 .sby_items_wrap .sby_item{ width: 11.11%; }
    [id^=sb_youtube_].sb_youtube.sby_col_10 .sby_items_wrap .sby_item{ width: 10%; }
    /* On mobile make the min-width 100% */
    [id^=sb_youtube_].sb_youtube.sby_width_resp{
        width: 100% !important;
    }
}
@media all and (max-width: 480px){
    /* Make all cols into 1 col */
    [id^=sb_youtube_].sb_youtube.sby_col_3.sby_mob_col_auto .sby_items_wrap .sby_item,
    [id^=sb_youtube_].sb_youtube.sby_col_4.sby_mob_col_auto .sby_items_wrap .sby_item,
    [id^=sb_youtube_].sb_youtube.sby_col_5.sby_mob_col_auto .sby_items_wrap .sby_item,
    [id^=sb_youtube_].sb_youtube.sby_col_6.sby_mob_col_auto .sby_items_wrap .sby_item,
    [id^=sb_youtube_].sb_youtube.sby_col_7.sby_mob_col_auto .sby_items_wrap .sby_item,
    [id^=sb_youtube_].sb_youtube.sby_col_8.sby_mob_col_auto .sby_items_wrap .sby_item,
    [id^=sb_youtube_].sb_youtube.sby_col_9.sby_mob_col_auto .sby_items_wrap .sby_item,
    [id^=sb_youtube_].sb_youtube.sby_col_10.sby_mob_col_auto .sby_items_wrap .sby_item,
    [id^=sb_youtube_].sb_youtube.sby_mob_col_1 .sby_items_wrap .sby_item{
        width: 100%;
    }
    [id^=sb_youtube_].sb_youtube.sby_mob_col_2 .sby_items_wrap .sby_item{ width: 50%; }
    [id^=sb_youtube_].sb_youtube.sby_mob_col_3 .sby_items_wrap .sby_item{ width: 33.33%; }
    [id^=sb_youtube_].sb_youtube.sby_mob_col_4 .sby_items_wrap .sby_item{ width: 25%; }
    [id^=sb_youtube_].sb_youtube.sby_mob_col_5 .sby_items_wrap .sby_item{ width: 20%; }
    [id^=sb_youtube_].sb_youtube.sby_mob_col_6 .sby_items_wrap .sby_item{ width: 16.66%; }
    [id^=sb_youtube_].sb_youtube.sby_mob_col_7 .sby_items_wrap .sby_item{ width: 14.28%; }
}

/* --- Lightbox --- */

.sby_lightboxOverlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99999;
    background-color: black;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
    opacity: 0.9;
    display: none;
}
.sby_lightbox {
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 100000;
    line-height: 0;
    font-weight: normal;
}
.sby_lightbox .sby_lb-image {
    display: block;
    height: auto;
    max-width: inherit;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;
}
.sby_lightbox a:hover,
.sby_lightbox a:focus,
.sby_lightbox a:active{
    outline: none;
}
.sby_lightbox a img {
    border: none;
}
.sby_lb-outerContainer {
    position: relative;
    background-color: #000;
    *zoom: 1;
    width: 250px;
    height: 250px;
    margin: 0 auto 5px auto;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;
}
.sby_lb-outerContainer:after {
    content: "";
    display: table;
    clear: both;
}
.sby_lb-container {
    position: relative;
    padding: 4px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    bottom: 0;
    right: 0;

    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;
}
.sby_lb-loader {
    position: absolute;
    top: 43%;
    left: 0;
    height: 25%;
    width: 100%;
    text-align: center;
    line-height: 0;
}
.sby_lb-cancel {
    display: block;
    width: 32px;
    height: 32px;
    margin: 0 auto;
    background-color: #666;
    background-color: rgba(255,255,255,0.5);

    border-radius: 100%;
    -webkit-animation: ctf-sk-scaleout 1.0s infinite ease-in-out;
    animation: ctf-sk-scaleout 1.0s infinite ease-in-out;
}


.sby_lb-nav {
    /*position: absolute;*/
    top: 0;
    left: 0;
    /*height: 100%;*/
    width: 100%;
    z-index: 10;
    /*pointer-events: none;*/
}
.sby_lb-container > .nav {
    left: 0;
}
.sby_lb-nav a {
    position: absolute;
    z-index: 100;
    top: 0;
    height: 90%;
    outline: none;
    background-image: url('data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==');
}


/* Arrows */
.sby_lb-prev, .sby_lb-next {
    height: 100%;
    cursor: pointer;
    display: block;
}
.sby_lb-nav a.sby_lb-prev {
    /*width: 30%;*/
    width: 50px;
    left: -70px;
    padding-left: 10px;
    padding-right: 10px;
    float: left;

    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0.5);
    opacity: 0.5;
    -webkit-transition: opacity 0.2s;
    -moz-transition: opacity 0.2;
    -o-transition: opacity 0.2s;
    transition: opacity 0.2s;

}

.sby_lb-nav a.sby_lb-prev:hover {
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
    opacity: 1;
}

.sby_lb-nav a.sby_lb-next {
    /*width: 30%;*/
    width: 50px;
    right: -70px;
    padding-left: 10px;
    padding-right: 10px;
    float: right;

    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0.5);
    opacity: 0.5;
    -webkit-transition: opacity 0.2s;
    -moz-transition: opacity 0.2s;
    -o-transition: opacity 0.2s;
    transition: opacity 0.2s;

}

.sby_lb-nav a.sby_lb-next:hover {
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
    opacity: 1;
}

.sby_lb-nav span{
    display: block;
    top: 55%;
    position: absolute;
    left: 20px;
    width: 34px;
    height: 45px;
    margin: -25px 0 0 0;
    background: url(../img/sby-sprite.png) no-repeat;
}
.sby_lb-nav a.sby_lb-prev span{
    background-position: -53px 0;
}
.sby_lb-nav a.sby_lb-next span{
    left: auto;
    right: 20px;
    background-position: -18px 0;
}


.sby_lb-dataContainer {
    margin: 0 auto;
    padding-top: 5px;
    *zoom: 1;
    width: 100%;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;

    -moz-border-radius-bottomleft: 4px;
    -webkit-border-bottom-left-radius: 4px;
    border-bottom-left-radius: 4px;
    -moz-border-radius-bottomright: 4px;
    -webkit-border-bottom-right-radius: 4px;
    border-bottom-right-radius: 4px;
}
.sby_lb-dataContainer:after {
    content: "";
    display: table;
    clear: both;
}
.sby_lb-data {
    padding: 0 4px;
    color: #ccc;
}
.sby_lb-data .sby_lb-details {
    width: 85%;
    float: left;
    text-align: left;
    line-height: 1.1;
}
.sby_lb-data .sby_lb-caption {
    float: left;
    font-size: 13px;
    font-weight: normal;
    line-height: 1.3;
    padding-bottom: 3px;
    color: #ccc;

    word-wrap: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}
.sby_lb-data .sby_lb-caption a,
.sby_lb-data .sby_lb-caption .ctf-screename-sep{
    color: #ccc;
    font-weight: bold;
    text-decoration: none;
}
.sby_lb-data .sby_lb-caption a:hover{
    color: #fff;
    text-decoration: underline;
}
.sby_lb-data .sby_lb-caption .sby_lightbox_username{
    float: left;
    width: 100%;
    color: #ccc;
    padding-bottom: 0;
    display: block;
    margin: 0 0 5px 0;
}
.sby_lb-data .sby_lb-caption .sby_lightbox_username{
    color: #ccc;
}
.sby_lb-data .sby_lb-caption .sby_lightbox_username:hover p{
    color: #fff;
    text-decoration: underline;
}
.sby_lightbox .sby_lightbox_username img {
    float: left;
    border: none;
    width: 48px;
    height: 48px;
    margin-right: 10px;
    background: #666;

    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}
.sby_lightbox_username p{
    float: left;
    margin: 0;
    padding: 0;
    color: #ccc;
    line-height: 32px;
    font-weight: bold;
    font-size: 13px;
    text-align: left;
}

.sby_lb-data .ctf-caption-text{
    width: 100%;
    margin-left: 58px;
    padding-top: 3px;
}
.sby_lb-data .sby_lb-caption .ctf-tweet-date,
.sby_lb-data .sby_lb-caption .ctf-author-screenname{
    font-weight: normal;
}
.sby_lb-data .sby_lb-info{
    width: 100%;
    float: left;
    clear: both;
}
.sby_lb-data .sby_lb-number {
    display: block;
    float: left;
    clear: both;
    padding: 5px 0 15px 0;
    font-size: 12px;
    color: #999999;
}
.sby_lb-data .sby_lb-close {
    display: block;
    float: right;
    width: 30px;
    height: 30px;
    background: url(../img/close.png) top right no-repeat;
    text-align: right;
    outline: none;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
    opacity: 0.7;
    -webkit-transition: opacity 0.2s;
    -moz-transition: opacity 0.2s;
    -o-transition: opacity 0.2s;
    transition: opacity 0.2s;
}
.sby_lb-data .sby_lb-close:hover {
    cursor: pointer;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
    opacity: 1;
}

/* Lightbox video - must go after lighbox CSS */
/* Leave a gap at the bottom of the nav for video controls */
.sby_lb-nav {
    height: auto;
}
/* Remove 4px padding from lightbox container so video lines up */
.sby_lb-container{
    padding: 0;
}
.sby_lb-container iframe {
    position: absolute;
    top: 0;
    left:0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
/* Lightbox action links */
#sby_lightbox .sby_lightbox_action{
    float: left;
    /*clear: both;*/
    position: relative;
    padding: 0 0 0 10px;
    margin: 5px 0 0 10px;
    border-left: 1px solid #666;
    font-size: 12px;
}
#sby_lightbox .sby_lightbox_action a{
    display: block;
    float: left;
    color: #999;
    text-decoration: none;
}
#sby_lightbox .sby_lightbox_action a:hover,
#sby_lightbox .sby_lightbox_action a:focus{
    color: #fff;
}
#sby_lightbox .sby_lightbox_action .fa,
#sby_lightbox .sby_lightbox_action svg {
    margin-right: 5px;
}
#sby_lightbox .sby_lightbox_action.sby_youtube .fa {
    font-size: 13px;
}
#sby_lightbox .sby_tooltip_social a svg {
    font-size: 19px;
    padding: 3px 4px;
    margin: auto;
}
/* Lightbox tooltip */
#sby_lightbox .sby_lightbox_tooltip{
    display: none;
    position: absolute;
    width: 100px;
    bottom: 22px;
    left: 0;
    padding: 5px 10px;
    margin: 0;
    background: rgba(255,255,255,0.9);
    color: #222;
    font-size: 12px;
    line-height: 1.3;

    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;

    box-shadow: 0 0 10px rgba(0,0,0,0.4);
    -moz-box-shadow: 0 0 10px rgba(0,0,0,0.4);
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.4);

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
#sby_lightbox .sby_lightbox_tooltip .fa-play{
    position: absolute;
    font-size: 8px;
    bottom: -6px;
    left: 36px;
    color: rgba(255,255,255,0.9);
}
#sby_lightbox .sby_tooltip_social a .fa{
    font-size: 16px;
    margin: 0;
    padding: 5px;
}
#sby_lightbox .sby_tooltip_social a#sby_facebook_icon .fa,
#sby_lightbox .sby_tooltip_social a#sby_twitter_icon .fa,
#sby_lightbox .sby_tooltip_social a#sby_pinterest_icon .fa{
    padding-top: 4px;
    font-size: 18px;
}
#sby_lightbox .sby_gdpr_notice {
    z-index: 6;
    display: block;
    position: absolute;
    top:  50%;
    left:  50%;
    margin-left: -44px;
    margin-top: -44px;
    padding: 20px;
}
#sby_lightbox .sby_gdpr_notice svg:not(:root).svg-inline--fa {
    position: relative;
    display: block !important;
    height: 48px;
    width: 48px;
    opacity: .8;
}
#sby_lightbox .sby_gdpr_notice:hover svg:not(:root).svg-inline--fa {
    opacity: 1;
}
/* Hide photos tooltip */
#sby_lightbox #sby_mod_box{
    width: 280px;
    padding: 5px 10px 7px 10px;
}
/* Social icons tooltip */
#sby_lightbox .sby_tooltip_social{
    width: 172px;
    padding: 5px 5px 4px 5px;
}
#sby_lightbox .sby_tooltip_social a{
    color: #333;

    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}
#sby_lightbox .sby_lightbox_action #sby_facebook_icon:hover{ background: #3b5998; }
#sby_lightbox .sby_lightbox_action #sby_twitter_icon:hover{ background: #00aced; }
#sby_lightbox .sby_lightbox_action #sby_google_icon:hover{ background: #dd4b39; }
#sby_lightbox .sby_lightbox_action #sby_linkedin_icon:hover{ background: #007bb6; }
#sby_lightbox .sby_lightbox_action #sby_pinterest_icon:hover{ background: #cb2027; }
#sby_lightbox .sby_lightbox_action #sby_email_icon:hover{ background: #333; }

.sby_lb-outerContainer, .sby_lb-dataContainer{
    min-width: 450px;
}
@media all and (max-width: 450px){
    .sby_lb-outerContainer, .sby_lb-dataContainer {
        min-width: 0; /* Remove min-width on lightbox on mobile */
    }
}
.sby_lightbox .sby_lb-image {
    display: block;
    height: auto;
    max-width: inherit;
    margin: 0 auto;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0;
}

/* Mod only error msgs */
#sby_mod_error{
    display: none;
    border: 1px solid #ddd;
    background: #eee;
    color: #333;
    margin: 10px 0 0;
    padding: 10px 15px;
    font-size: 13px;
    text-align: center;
    clear: both;
    margin-bottom: 10px;

    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}
#sby_mod_error p{
    padding: 5px 0 !important;
    margin: 0 !important;
    line-height: 1.3 !important;
}
#sby_mod_error ol,
#sby_mod_error ul{
    padding: 5px 0 5px 20px !important;
    margin: 0 !important;
}
#sby_mod_error li{
    padding: 1px 0 !important;
    margin: 0 !important;
}
#sby_mod_error span{
    font-size: 12px;
}

/* SVGs */
[id^=sb_youtube_].sb_youtube svg:not(:root).svg-inline--fa,
[id^=sb_youtube_].sb_youtube_lightbox svg:not(:root).svg-inline--fa{
    box-sizing: unset;
    overflow: visible;
    width: 1em;
}
[id^=sb_youtube_].sb_youtube .svg-inline--fa.fa-w-16,
[id^=sb_youtube_].sb_youtube .svg-inline--fa.fa-w-16{
    width: 16px;
}
[id^=sb_youtube_].sb_youtube .svg-inline--fa,
[id^=sb_youtube_].sb_youtube_lightbox .svg-inline--fa{
    display: inline-block;
    font-size: inherit;
    height: 1em;
    overflow: visible;
    vertical-align: -.125em;
}

[id^=sb_youtube_].sb_youtube.sby_player_loaded .sby_player_outer_wrap .sby_video_thumbnail,
[id^=sb_youtube_].sb_youtube.sby_player_loaded.sby_layout_list .sby_video_thumbnail{
    z-index: -1 !important;
}