/* 
   ------------------------------------------------------
            Flex Slider
   ------------------------------------------------------
*/

/* Browser Resets */
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus  {outline: none;}
.slides,
.flex-control-nav,
.flex-direction-nav {margin: 0; padding: 0; list-style: none;} 


/* FlexSlider Necessary Styles
*********************************/ 
.flexslider {margin: 0; padding: 0;}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden; padding:0;margin-right: 20px;} /* Hide the slides before the JS is loaded. Avoids image jumping */
#entry-post .flexslider .slides > li, #entry-blog .flexslider .slides > li {border-top:0;}
.widget-slider .slides > li { border-top:0; }
.widget-carousel .slides > li {margin-right: 10px;}
.flex-main.flexslider .slides > li {margin-right: 0px;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {width: 100%; display: block;}
.flex-pauseplay span {text-transform: capitalize;}

.widget-slider .title-mask { display: none;
    position: absolute;
    right: 0;
    top: 20px;
  max-width:200px;
  }
.home .widget-slider .title-mask {display:block;}
.widget-slider .content-mask { position:absolute; top:90px; right:0; width: 50%; display:none;}
.content-mask p { margin-bottom:0; }
.title-mask .entry-title, .content-mask p { 
  background: #FFF; background: rgba(255, 255, 255, 1); margin-bottom:0; padding:15px; text-transform: uppercase;
}
.content-mask p { text-transform:none;}


/* Clearfix for the .slides element */
.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;} 
html[xmlns] .slides {display: block;} 
* html .slides {height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {display: block;}

/* FlexSlider Default Theme
*********************************/
.flexslider {margin: 0 0 20px; position: relative;  zoom: 1; }
.flex-carousel { margin:0;} /* for carousel widget */
.flex-viewport {max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;}
.loading .flex-viewport {max-height: 300px;}
.flexslider .slides {zoom: 1;}

.widget-slider, .widget-carousel, .small-slider { margin:0;}
.widget-carousel { margin-top:10px;}

.carousel li {margin-right: 5px}


/* Direction Nav */
.flex-direction-nav {*height: 0;}
.flex-direction-nav a {
background: url("img/icons/bg_direction_nav.png") no-repeat scroll 0 1px transparent;
    cursor: pointer;
    display: block;
    height: 38px;
    margin: -15px 0 0;
    opacity: 1;
    position: absolute;
    text-indent: -9999px;
    top: 50%;
    transition: all 0.3s ease 0s;
    width: 20px;
}
.flex-direction-nav .flex-next {background-position: 0 -37px;
right: 15px; }
.widget-slider .flex-direction-nav .flex-prev {left: 15px;}
.flexslider .flex-next:hover, .flexslider .flex-prev:hover {opacity: 1; }
/*.flex-direction-nav .flex-disabled {opacity: 0.3!important; filter:alpha(opacity=30); cursor: default;}*/

/* Control Nav */
.flex-control-nav {width: 100%; position: absolute; bottom: -40px; text-align: center;}
.flex-control-nav li {margin: 0 6px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-paging li a {width: 11px; height: 11px; display: block; background: #666; background: rgba(0,0,0,0.5); cursor: pointer; text-indent: -9999px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px; box-shadow: inset 0 0 3px rgba(0,0,0,0.3);}
.flex-control-paging li a:hover { background: #333; background: rgba(0,0,0,0.7); }
.flex-control-paging li a.flex-active { background: #000; background: rgba(0,0,0,0.9); cursor: default; }

.flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;}
.flex-control-thumbs li {width: 25%; float: left; margin: 0;}
.flex-control-thumbs img {width: 100%; display: block; opacity: .7; cursor: pointer;}
.flex-control-thumbs img:hover {opacity: 1;}
.flex-control-thumbs .flex-active {opacity: 1; cursor: default;}

/* Carousel Widget and One Column Widget */
.flex-carousel .flex-direction-nav a,
.gallery .flexslider .flex-direction-nav a,
#entry-post .flex-direction-nav a {width: 25px; height: 30px;background: url('img/icons/bg_direction_nav.png') no-repeat -5px -72px; /*opacity: 0; filter:alpha(opacity=0)*/;}
.small-slider .flex-direction-nav a {width: 25px; height: 25px;/*opacity: 1; filter:alpha(opacity=100);*/}
.small-slider .meta { padding-bottom: 0; }
.small-slider .entry-title { padding-right: 45px; }

.flex-carousel .flex-direction-nav .flex-next { background: url("img/rightArrow.png") no-repeat scroll 0 0 transparent;
  height: 106px;
  width: 41px; 
  right: -8px;
  /*top: 57px;*/
  top:-175px;
  position: absolute;
}

.gallery .flexslider .flex-direction-nav .flex-next, #entry-post .flex-direction-nav .flex-next { background-position: 0 -94px; right: -20px; }
.gallery .flexslider .flex-direction-nav .flex-prev, #entry-post .flex-direction-nav .flex-prev { background-position: 0 -80px; left: -20px;}

.small-slider .flex-next { background-position: 0 -97px;
bottom: 40px;
right: 0;
top: inherit; }
.small-slider .flex-prev { background-position: 0 -75px;
bottom: 40px;
right: 20px;
top: inherit; }
.small-slider { /*position: initial !important;*/ }

.flex-carousel .flex-direction-nav .flex-prev {
  background: url("img/leftArrow.png") no-repeat scroll 0 0 transparent;
  height: 106px;
  width: 41px;
  left: 0px;
  /*top: 57px;*/
  top: -175px;
  position:absolute;
}

.flex-carousel:hover .flex-direction-nav .flex-next,
.gallery .flexslider:hover .flex-direction-nav .flex-next,
#entry-post .flexslider:hover .flex-next {opacity: 100; filter:alpha(opacity=100); }

.flex-carousel:hover .flex-direction-nav .flex-prev,
.gallery .flexslider:hover .flex-direction-nav .flex-prev,
#entry-post .flexslider:hover .flex-prev {opacity: 100; filter:alpha(opacity=100);}


/* Carousel for Flex Slider Widget */
.widget-carousel .flex-direction-nav a {width: 25px; height: 30px;background: url('img/icons/bg_direction_nav.png') no-repeat 0 -64px; opacity: 0; filter:alpha(opacity=0);}
.widget-carousel .flex-direction-nav .flex-next {background-position: 0 -94px; right: -20px; }
.widget-carousel .flex-direction-nav .flex-prev {left: -20px;}
.widget-carousel:hover .flex-direction-nav .flex-next {right: 0px;opacity: 100; filter:alpha(opacity=100); }
.widget-carousel:hover .flex-direction-nav .flex-prev {left: 0px;opacity: 100; filter:alpha(opacity=100);}


/* Flex Slider Widget */
.widget-slider .flex-direction-nav {
background: none repeat scroll 0 0 white;
    border-color: #C6C6C6 !important;
    border-radius: 0 10px 10px 0;
    border-style: solid !important;
    border-width: 1px 1px 1px 0 !important;
    box-shadow: 4px 3px 5px rgba(0, 0, 0, 0.15); 
  border-radius: 0px 6px 6px 0px !important;
    height: 60px;
    position: absolute;
    right: -121px;
    top: -21px;
    width: 100px;
}

.widget-slider li { position:relative; }
.widget-slider .flex-direction-nav a { margin: 10px 0 0;}

.title-mask{
  text-align: center;
}

#block-talktalk-help-videos-talktalk-video-home a.color2, #block-talktalk-help-videos-talktalk-video-home a.color4 {
 font-size: 15px;
}

.help_video_carousel .flex-control-nav {
  bottom:-10px;
}

.help_video_carousel.flexslider .slides > li {
  margin-right:10px;
}

.help-video-preview {
  cursor:pointer;
}
.title-mask a{
  font-size: 12px;
}
.video-runtime {
  font-size: 12px; 
  padding-top: 4px;
}

.flex-direction-nav a.flex-disabled {
  display:none;  
}


.video-runtime {
  font-size: 12px;   
  padding: 4px 3px 3px;
  border-bottom: 10px none;
  color: #FFFFFF;
  display: inline-block;
  margin-left: -2px;
  position: absolute;
  top: 92px;
  right:1px;
  background: none repeat scroll 0 0 #000000;
}


.help-video-preview-inner {
  height: 115px;
  overflow: hidden;
  position: relative;
  top: -17px;
}

.flex-direction-nav {
  top:32px;
}
/*
#block-talktalk-help-videos-talktalk-video-home .panelBox {
  min-height: 187px;
}*/

.video-tab-show {
  display: block;
}

.video-tab-hide {
  display: none;
}

.field-name-field-video-url .media-youtube-video{ 
  text-align: center;
}

.field-name-field-help-description { 
  padding-top: 20px;
}

#block-talktalk-help-videos-talktalk-video-home {
  padding-top: 17px;
}