/*
Theme Name: Fun Kids Live
Theme URI: http://funkidslive.com
Author: David Kenny
Author URI: http://graftwork.com
Description: HTML5 driven, fully responsive bespoke theme for funkidslive.com, built in 2015.
Version: 1.0
License: Not for use without express written permission from Graftwork Studio LTD
*/

/* My Minimal WordPress Styling comes here */

/* This is a small security for too long strings titles */
body {
	word-wrap: break-word;
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}


/* Images and wp-captions should always fit and be responsive */
img {
	display: inline-block;
	height: auto;
	max-width: 100%;
}
img[class*="wp-image-"] {
	margin-top: 10px;
	margin-bottom: 10px;
}
.wp-caption {
	border: 1px solid #ccc;
	margin-bottom: 10px;
	max-width: 100%;
	border: 1px solid #ccc;
	border-radius: 4px;
	padding: 0 10px;
}
.wp-caption.aligncenter {
	margin-bottom: 10px;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
}
.wp-caption .wp-caption-text {
	text-align: center;
	margin-top: 10px;
}

/* WP Gallery */
.gallery {
	margin-bottom: 1.5em;
}
.gallery a img {
	border: none;
	height: auto;
	max-width: 90%;
}
.gallery dd {
	margin: 0;
}
.gallery-caption {
	display: block;
}

/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
	max-width: 100%;
}


/* Text meant only for screen readers */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}
.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar */
}


/* Content */
.main-content-inner {
	padding-bottom: 1.5em;
}
.hentry {
	margin: 0 0 1.5em;
}
.sticky {
	display: block;
}
.bypostauthor {
	display: block;
}


/* Clearing */
.clear {
	clear: both;
}

/* Navigation */

.dropdown-submenu{position:relative;}
.dropdown-submenu>.dropdown-menu{top:0;left:100%;-webkit-border-radius:0 6px 6px 6px;-moz-border-radius:0 6px 6px 6px;border-radius:0 6px 6px 6px;}
.dropdown-submenu:active>.dropdown-menu, .dropdown-submenu:hover>.dropdown-menu {
display: block;
}
.dropdown-submenu>a:after{display:block;content:" ";float:right;width:0;height:0;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;border-left-color:#cccccc;margin-top:5px;margin-right:-10px;}
.dropdown-submenu:active>a:after{border-left-color:#ffffff;}
.dropdown-submenu.pull-left{float:none;}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px;}


/* Here some needed widget styles
 * Most widgets are adapted in the file bootstrap-wp.js - and REALLY easy to modify! ;) */
.widget { margin-bottom: 2em; }
.widget_nav_menu ul.sub-menu li, .widget_pages ul.children li { padding-left: 15px; }

/* Hiding the search widget's button in widgets. thats just too old-skool. :) but if you want it back, just delete the next line.
 * Note: you can change the whole appearance of the search_form() function in our searchform.php */
.widget_search .search-form input[type="submit"] { display: none; }

/* Make sure select elements fit in widgets */
.widget select {
	max-width: 100%;
}

/* Nested comments? They are threaded and nested already, you just need to add your own styling to finalize!
 * For example with some margin, like the line below ;) Delete, modify, change classes in HTML if you desire another style */
 .comment .children { margin-left: 1.5em; }

/**
* Some WP Theme Repository requirements
*/

.sticky {
}

.gallery-caption {

}

.bypostauthor {

}

.entry-meta {
	clear: both;
}

/*
 == Quick CSS styling tips ==

 You can start off in a rough direction with some minimal styles.
 See below for some tips. ;)


 == Want to have the whole site wrapped? ==

 Just fill the .container class with some background color to have a the whole site "wrapped".
 This works so easy because every main part is wrapped only once into a container class by bootstrap.
 Try out by decommenting the next line and go from there.

 .container { background: #f9f9f9; border-right: 1px solid #eee; border-left: 1px solid #eee; }


 == Want to wrap just the content and sidebar in Bootstrap style? ==

 That one is a great example to show that some things are much cleaner and easier to do via just adding some HTML classes.
 In this case, we will add just one CSS class "panel", look for example at the beginning in content.php!


 == Infinite Scrolling by Jetpack ==
 You can enable this cool feature by simply decommenting the lines below and make sure you use the same classes on the right place in your html..

/* Globally hidden elements when Infinite Scroll is supported and in use.
 * Older / Newer Posts Navigation (the pagination, must always be hidden), Theme Footer only when set to scrolling.. */

/*
.infinite-scroll .page-links,
.infinite-scroll.neverending .site-footer {
	display: none;
}
*/

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */

/*
.infinity-end.neverending .site-footer {
	display: block;
}
*/

/* Hey, if you don't need my comments anymore, just delete me! :)  */

/* reduce padding in menu */

#main-menu > li.menu-item > a{
	padding-left: 10px;
	padding-right: 10px;
}

/* youtube light embed */

.fk-fast-youtube-player {
	position: relative;
	padding-bottom: 56.23%;
	/* Use 75% for 4:3 videos */
	height: 0;
	overflow: hidden;
	max-width: 100%;
	background: #000;
	margin: 5px;
}

.fk-fast-youtube-player iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	/*z-index: 100;*/
	background: transparent;
}

.fk-fast-youtube-player img {
	bottom: 0;
	display: block;
	left: 0;
	margin: auto;
	max-width: 100%;
	width: 100%;
	position: absolute;
	right: 0;
	top: 0;
	border: none;
	height: auto;
	cursor: pointer;
	-webkit-transition: .4s all;
	-moz-transition: .4s all;
	transition: .4s all;
}

.fk-fast-youtube-player img:hover {
	-webkit-filter: brightness(75%);
}

div .play {
	height: 150px;
	width: 150px;
	left: 50%;
	top: 50%;
	margin-left: -75px;
	margin-top: -75px;
	position: absolute;
	background: url("/img/play-button-w.svg") no-repeat;
	background-size: cover;
	cursor: pointer;
	/*opacity: 50%;*/
}

/* JW Player Version */

.fk-fast-jwplayer {
	position: relative;
	padding-bottom: 56.23%;
	/* Use 75% for 4:3 videos */
	height: 0;
	overflow: hidden;
	max-width: 100%;
	background: #000;
	margin: 5px;
}

.fk-fast-jwplayer iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	/*z-index: 100;*/
	background: transparent;
}

.fk-fast-jwplayer img {
	bottom: 0;
	display: block;
	left: 0;
	margin: auto;
	max-width: 100%;
	width: 100%;
	position: absolute;
	right: 0;
	top: 0;
	border: none;
	height: auto;
	cursor: pointer;
	-webkit-transition: .4s all;
	-moz-transition: .4s all;
	transition: .4s all;
}

.fk-fast-jwplayer img:hover {
	-webkit-filter: brightness(75%);
}

.fk-fast-jwplayer .play {
	height: 72px;
	width: 72px;
	left: 50%;
	top: 50%;
	margin-left: -36px;
	margin-top: -36px;
	position: absolute;
	background: url("//i.imgur.com/TxzC70f.png") no-repeat;
	cursor: pointer;
}

div.type-post.category-quiz .caption{
    background: #ff33cc url('/wp-content/themes/funkidslive/_img/ui/halftone01.png') no-repeat right bottom;
    background-size: contain;
}

div.type-post.category-quiz .label {
    background: #ff33cc;
}

div.type-post.category-books .caption{
    background: #02c2c2 url('/wp-content/themes/funkidslive/_img/ui/halftone01.png') no-repeat right bottom;
	background-size: contain;
}

div.type-post.category-books .label {
    background: #02c2c2;
}

select.ui-datepicker-year {
    color: #1c94c4 !important;
}

select.ui-datepicker-month {
    color: #1c94c4 !important;
}

body.home .now-and-next .onair-next, body.home .now-and-next .onair-later{
	padding: 7px !important;
}

.full-width{
	width: 100%;
}

/* presenter colours */

.onair-next.conor,
.onair-later.conor,
.onair-promo .mini-schedule .conor {
  background: #FF7100 !important;
}

.onair-next.non-stop-fun-kids,
.onair-later.non-stop-fun-kids,
.onair-promo .mini-schedule .non-stop-fun-kids {
  background: #02c2c2 !important;
}

.avatar{
	right: 0px !important;
}
.ad-leaderboard{
	max-width: 100%;
	min-width: 300px;
}
.navbar-fixed-top .navbar-collapse,
.navbar-fixed-bottom .navbar-collapse {
	max-height: calc(100vh - 60px) !important;
}

header[role=banner] .navbar-nav>li.listen-on-mobile>a{
	background-color: #e41f27 !important;
}

header[role=banner] .navbar-nav>li.listen-on-mobile>a:hover, header[role=banner] .navbar-nav>li>a:focus{
	background-color: #b6161c !important;
}

.banner-404{
	background-color: #fcdd4c; 
	color: #000;
	margin-bottom: 30px;
	margin-top: 0px;
}

#banner-404-right {
	width: inherit;
	min-width: 200px;
	max-width: 200px;
	min-height: 100%;
	position:relative;
}

#banner-404-left {
	margin-top: 30px;
	margin-bottom: 30px;
	width:calc(100% - 200px);
}

@media (max-width: 992px){
	.banner-404{
		margin-left: -15px;
    	margin-right: -15px;
    	margin-top: -15px;
	}
	#banner-404-left {
		margin-top: 15px;
	}
}

@media (max-width: 650px){
	#banner-404-left {
		width: 100%;
	}
	#banner-404-right {
		display: none;
	}
}

@media (max-width: 415px){
	#banner-404-left h1 {
		font-size: 33px;
	}
}

@media (max-width: 375px){
	#banner-404-left h1 {
		font-size: 30px;
	}
}

@media (max-width: 360px){
	#banner-404-left h1 {
		font-size: 25px;
	}
}

/* marvel battleworld */

#frm_form_771_container{
	background: none;
	border: none;
}

#frm_form_771_container .form-header{
	
}

#frm_form_771_container .form-footer{
	
}

#frm_form_771_container .frm_fields_container{
	padding: 25px;
    background-image: url('./_img/marvel/battleworld/middle-v3.png');
    background-size: 100%;
}

#frm_form_771_container fieldset::after{
	width: 100%;
    height: 100px;
    content: "";
    display: block;
    background-image: url('./_img/marvel/battleworld/tail.png');
    background-repeat: no-repeat;
    background-size: 100%;
}

#frm_form_771_container .frm_final_submit{
	background-image: url('./_img/marvel/battleworld/submit.png');
	background-color: transparent;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 100%;
    box-shadow: unset;
}

/* JW Player Fix for mobile */

@media screen and (max-device-width: 480px) and (orientation: portrait) {
	.jw-flag-floating .jw-wrapper {
		top: auto !important;
		bottom: 0px !important;
		max-width: 260px !important;
		margin-right: 10px !important;
		margin-bottom: 10px !important;
	}
}

/* events calendar fixes */

div.tribe-events-single-event-description.tribe-events-content > div{
	width: auto;
}

div.tribe-events-single-event-description.tribe-events-content > div > div > div > div > blockquote{
	quotes: none;
}

.card-element{
	height: 3.2rem !important;
}

.payment-form-button{
	font-size: unset !important;
}

.page-container{
	position: relative; 
	top: -48px; 
	margin: -15px;
}

@media (min-width: 768px) {
	.page-container{
		position: relative; 
		top: -32px;
		margin: 0px;
	}
}

.podcast-plus-price-blocks{
	padding: 30px 60px;
	border-radius: 30px;
}

.invisible{
	opacity: 0;
}

.payment-form-email-section input{
    width: 100%;
    margin: 0px 0px 15px;
}

.carousel-item{
	margin: 0px !important;
}

.colour-white a{
	color: white;
}

@media (min-width: 1200px){
	.container.narrow {
		width: 1000px;
	}
}

.sc-request-access-form input[type="email"] {
	width: 100%;
}

.sc-request-access-form .button__main{
	margin: 15px 0;
}

#podcast_player{
	padding-left: 0px;
}

.content-header__copy h2{
	margin-bottom: 30px;
}

.podcast-player-item-content {
    line-height: unset !important;
}

.btn .wp-block-button__link{
	background-color: unset;
    border-radius: unset;
    box-shadow: unset;
    text-decoration: unset;
    /* padding: unset; */
    font-size: unset;
}

.member-feed__podcast-copy{
	max-width: calc(100% - 110px);
}

.podcast-plus.membership-bar{
	text-align: right;
}

.home-page-below{
	background-color: #008AFF; 
	border-radius: 30px; 
	padding: 0px 60px; 
	margin-top: 25px;
}

.home-page-below h1,.home-page-below h2,.home-page-below h3,.home-page-below p,.home-page-below div{
	color: white;
}

.woocommerce-Reviews #comments{
	background: unset;
}

.woocommerce div.product .woocommerce-tabs ul.tabs{
	margin: 0;
}

/* schedule.css */
body.page-template-schedule .anna-louise:hover{background:rgba(240,194,56,.8)}body.page-template-schedule .anna-louise{background:#f2c84c}body.page-template-schedule .anna-louise>div:first-of-type{background:#d8a610}body.page-template-schedule .danny:hover{background:rgba(236,80,201,.8)}body.page-template-schedule .danny{background:#ee62ce}body.page-template-schedule .danny>div:first-of-type{background:#e419b6}body.page-template-schedule .afternoons-with-dan:hover{background:rgba(245,167,69,.8)}body.page-template-schedule .afternoons-with-dan{background:#f5a745}body.page-template-schedule .afternoons-with-dan>div:first-of-type{background:#ed8a0d}

/* bootstrap-mods.css */
@media(max-width:767px){#page-hero p{width:100% !important}#page-hero{padding-top:0;padding-bottom:0}.btn{white-space:unset}}

/* https://github.com/paulirish/lite-youtube-embed */

lite-youtube {
    background-color: #000;
    position: relative;
    display: block;
    contain: content;
    background-position: center center;
    background-size: cover;
    cursor: pointer;
    max-width: 720px;
}

/* gradient */
lite-youtube::before {
    content: attr(data-title);
    display: block;
    position: absolute;
    top: 0;
    /* Pixel-perfect port of YT's gradient PNG, using https://github.com/bluesmoon/pngtocss plus optimizations */
    background-image: linear-gradient(180deg, rgb(0 0 0 / 67%) 0%, rgb(0 0 0 / 54%) 14%, rgb(0 0 0 / 15%) 54%, rgb(0 0 0 / 5%) 72%, rgb(0 0 0 / 0%) 94%);
    height: 99px;
    width: 100%;
    font-family: "YouTube Noto",Roboto,Arial,Helvetica,sans-serif;
    color: hsl(0deg 0% 93.33%);
    text-shadow: 0 0 2px rgba(0,0,0,.5);
    font-size: 18px;
    padding: 25px 20px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    box-sizing: border-box;
}

lite-youtube:hover::before {
    color: white;
}

/* responsive iframe with a 16:9 aspect ratio
    thanks https://css-tricks.com/responsive-iframes/
*/
lite-youtube::after {
    content: "";
    display: block;
    padding-bottom: calc(100% / (16 / 9));
}
lite-youtube > iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: 0;
}

/* play button */
lite-youtube > .lty-playbtn {
    display: block;
    /* Make the button element cover the whole area for a large hover/click target… */
    width: 100%;
    height: 100%;
    /* …but visually it's still the same size */
    background: no-repeat center/68px 48px;
    /* YT's actual play button svg */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 68 48"><path d="M66.52 7.74c-.78-2.93-2.49-5.41-5.42-6.19C55.79.13 34 0 34 0S12.21.13 6.9 1.55c-2.93.78-4.63 3.26-5.42 6.19C.06 13.05 0 24 0 24s.06 10.95 1.48 16.26c.78 2.93 2.49 5.41 5.42 6.19C12.21 47.87 34 48 34 48s21.79-.13 27.1-1.55c2.93-.78 4.64-3.26 5.42-6.19C67.94 34.95 68 24 68 24s-.06-10.95-1.48-16.26z" fill="red"/><path d="M45 24 27 14v20" fill="white"/></svg>');
    position: absolute;
    cursor: pointer;
    z-index: 1;
    filter: grayscale(100%);
    transition: filter .1s cubic-bezier(0, 0, 0.2, 1);
    border: 0;
}

lite-youtube:hover > .lty-playbtn,
lite-youtube .lty-playbtn:focus {
    filter: none;
}

/* Post-click styles */
lite-youtube.lyt-activated {
    cursor: unset;
}
lite-youtube.lyt-activated::before,
lite-youtube.lyt-activated > .lty-playbtn {
    opacity: 0;
    pointer-events: none;
}

.lyt-visually-hidden {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }

.logo-strapline{
	width: 165px;
	height: 14.4px;
}

.navbar{
	max-height: 82.4px;
}

.wp-block-funkids-blocks-video-instream {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
	background-color: lightblue;
}

.wp-block-funkids-blocks-video-instream .jwplayer {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

.sidebar .ad-container {
	min-width: 360px;
    height: 308px;
}

.getty-oembed-wrapper{
	max-width: 500px;
    width: 100%;
    height: auto;
    aspect-ratio: 1.35;
    overflow: hidden;
}

#searchlink{
	width: 47px;
	height: 42px;
}

nav div.row div.navbar-header a div.logo-container img{
	width: 145px;
	height: 40px;
}

nav.shrink div.row div.navbar-header a div.logo-container img{
	width: 100px;
	height: 28px;
}

.logo-strapline p{
	width: 165px;
	height: 15px;
}

.jw-preview.jw-reset {
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/wcAAgEBACOt9L8AAAAASUVORK5CYII=');
    background-size: cover;
}