/*
 * jQuery FlexSlider v2.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 *
 * JS 8jun20: Several tweaks on .flex-control-nav
 * JS 6dec22: Updated styles for new 2022 motoko theme layout
 *
 */

 
/* 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;}

.slide a { margin:0 !important; padding:0 !important; }
.slide a:hover { -moz-border-radius:0 !important; border-radius:0 !important; }

/* FlexSlider Necessary Styles
*********************************/
.flexslider {margin: 0; padding: 0;}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {width: 100%; display: block;}
.flex-pauseplay span {text-transform: capitalize;}

/* 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 6px 0; background: #fff; position: relative; zoom: 1; width:100%; /*width:1024px; height:444px;*/ }
.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; }

.carousel li {margin-right: 5px}

/* ========== Direction Nav: Prev en Next ronde knopjes links en rechts ========== */

.flex-direction-nav {*height: 0;}

.flex-direction-nav a { width: 64px; height: 64px; display: block; position: absolute; top:calc(50% - 32px); z-index: 10; cursor: pointer; text-indent: -9999px; opacity: 0; -webkit-transition: all .3s ease; }
.flex-direction-nav .flex-next { background:url(images/nav-next.png) no-repeat; background-size: 64px; right: -36px; padding:0 !important; margin:0 !important; /* force padding+margins */ }
.flex-direction-nav .flex-prev { background:url(images/nav-prev.png) no-repeat; background-size: 64px; left: -36px; padding:0 !important; margin:0 !important; /* force padding+margins */ }

.flexslider:hover .flex-next { opacity: 0.85; right: 5px;}
.flexslider:hover .flex-prev { opacity: 0.85; left: 5px;}
.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover { opacity: 1.0; }
.flex-direction-nav .flex-disabled {opacity: .3!important; filter:alpha(opacity=30); cursor: default; }

/*.flex-direction-nav a:hover { background-color:transparent !important; }*/

/* we need the two rules below to overrule the standard A:hover behaviour set in the theme's style.css */
A.flex-next:hover { background:url(images/nav-next.png) no-repeat !important; background-size: 64px !important; }
A.flex-prev:hover { background:url(images/nav-prev.png) no-repeat !important; background-size: 64px !important; }

/* ========== Control Nav: de 'paging' balletjes onderin ========== */

/* The navigation bar with the balls at the bottom of the slideshow */
/* JS 8jun20: restyle the entire bar so that it is center aligned, dynamic width and looks like a ribbon with balls :) */
.flex-control-nav {
    position: absolute;
    text-align: center;
    z-index:1000;

    bottom: 5px; /* the bottom will be 10px when hovering, but we put it a bit lower here so that the position animates up */
    opacity:0; /* by default don't show the slider */
    transition: opacity 0.2s ease, bottom 0.2s ease; /* animate the opacity and position when hovering, see .flexslider:hover below */

    /* width: 100%; */
    /* bottom: 0px; */

    /*background-color: rgba(255, 255, 255, 0.8);*/ /* give a bit of background for the navbar */
    background:transparent;
    border-radius: 10px;
    padding: 3px 3px;
    height: 9px;
    overflow: hidden;

    /* we want to center align the navbar using this hack */
    /* source: https://stackoverflow.com/questions/9367852/how-do-i-centre-absolutely-positioned-content-of-unknown-width */
    left: 50%; /* move the element half way across the screen */
    width: auto; /* allow the width to be calculated dynamically */
    transform: translateX(-50%); /* then move the element back again using a transform */
}

/* when the user hovers the flexslider, show the navbar */
.flexslider:hover > .flex-control-nav { opacity:1; bottom: 10px; }

/* The 'balls' elements inside the nav-bar: these represent the individual slides */
.flex-control-nav li 					{ margin: 0 6px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-paging li a 				{ width: 5px; height: 9px; display: block; background: rgba(240,240,240,0.6); cursor: pointer; text-indent: -9999px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px; padding:0 2px !important; margin:0 -2px !important; /* force padding+margins */ }
.flex-control-paging li a:hover 		{ background: rgba(240,240,240, 1.0); }
.flex-control-paging li a.flex-active 	{ background: rgba(240,240,240, 1.0); 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;}

.theme-wsp-default-skin-1 .flex-control-paging li a {
	text-indent: 99999px;
	background: none;
	border: 2px solid black;
}

.theme-wsp-default-skin-1 .flex-control-paging li a.flex-active {
	background: black;
	background: rgba(0, 0, 0, 0.9);
}

.theme-wsp-default-skin-1 .flex-control-paging {
	bottom: 0;
	top: 2%;
	right: 0;
	text-align: right;
	left: 0;
}

.theme-wsp-default-skin-1 {
	border: 0;
	border-radius: 0px;
	margin-bottom:10px;
    -webkit-box-shadow: 0px 1px 5px 0px #4a4a4a;
    -moz-box-shadow: 0px 1px 5px 0px #4a4a4a;
    box-shadow: 0px 1px 5px 0px #4a4a4a;
}

/*Twenty Twelve fixes and other theme fixes and styles :( */

.flex-caption {
  background: #000;
  -ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000);
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000);
  zoom: 1;
}

.wsp_default_skin .flex-caption {
  position: absolute;
  width: auto;
  height: auto;
  /* bottom: -30px; */
  bottom:5px;
  left:5px;
  background: rgba(0,0,0,.8);
  color: #fff !important;
  font-size: 17px;
  z-index: 999;
  margin: 0 !important;
  opacity:0;
  font-style:italic;

	-moz-border-radius: 3px;
	border-radius: 3px;

	transition: opacity .2s ease-in-out;
	-moz-transition: opacity .2s ease-in-out;
	-webkit-transition: opacity .2s ease-in-out;
}

.flexslider:hover .flex-caption {
	opacity:1;
	/*bottom:0px;*/
}

.wsp_default_skin .flex-caption a {
  color: #fff !important;
  text-decoration: none;
}

.wsp_default_skin .flex-caption a:hover {
  color: #fff !important;
  text-decoration: none;
}

.wsp_default_skin .flex-caption span {
   padding: 5px 10px !important;
   color: #fff !important;
   display: block;
   text-transform:lowercase;
}

.ssp_slider_default > li.slide {
  position: relative;
}

.ssp_slider_default .slide_image {
  box-shadow: none !important;
  /*border-radius: 0;*/
  -moz-border-radius: 10px; border-radius: 10px;
}

.wsp_default_skin > li.slide, .wsp_default_skin > li.slide img {
  margin: 0;
  max-width: 100%;
}

.ssp_slider_default .flex-direction-nav, .flex-control-nav {
  list-style: none !important;
  margin: 0 !important;
}

.ssp_slider_default .flex-control-nav > li {
  margin: 0 6px;
}

.ssp_slider_default .flex-control-thumbs li {
  margin: 0px;
  margin-top: 5px;
}

.ssp_slider_default .flex-control-thumbs li img {
  margin-bottom: 0px;
  box-shadow: none;
  border-radius: 0px;
}

.ssp_no_chrome_slider_default {
  background: inherit;
  border: none;
  position: relative;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  -o-border-radius: 0px;
  border-radius: 0px;
  box-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  -o-box-shadow: none;
}

.wsp_default_skin .slide {
  margin: 0;
  padding: 0;
  list-style: none;
  list-style-type: none;
}

.ssp_slider_default .slide img {
  margin: 0;
  padding: 0;
}
.ssp_slider_default .slides{
  margin: 0;
  padding: 0;
}
.ssp_slider_default .flex-direction-nav li {
  list-style-type: none;
}
.ssp_slider_default .flex-direction-nav li a {
  position: absolute;

}

/** TT fixes and styles END **/

/** Slider Default HTML skin **/

.ssp_slider_default_html .flex-direction-nav {
  list-style: none !important;
}

.ssp_slider_default_html .flex-control-nav > li {
  margin: 0 6px;
}

.ssp_slider_default_html > li.slide {
  position: relative;
}

.ssp_slider_default_html > li.slide, .wsp_default_skin > li.slide img {
  margin: 0;
}

.ssp_slider_default_html .flex-direction-nav, .flex-control-nav {
  list-style: none !important;
  margin: 0 !important;
}

.ssp_slider_default_html .slides {
  list-style: none !important;
}

/** End styling for default html skin **/

/** Carousel skin **/
.ssp_carousel_skin .slide_image{
  margin-bottom: 0px;
}
.ssp_carousel_skin .c_slide {
  margin: 0px;
  margin-right: 5px;
}
/** End Styling **/

/* ================================================================================================== */
/*                                           Mobile / iPhone                                          */
/* ================================================================================================== */

@media screen and (max-width: 860px) {
	
	.flex-direction-nav a { width: 32px; height: 32px; top:calc(50% - 16px); }
	.flex-direction-nav .flex-prev { opacity: 1; left: 5px; background-size: 32px; border-radius:0 !important; }
	.flex-direction-nav .flex-next { opacity: 1; right: 5px; background-size: 32px; border-radius:0 !important; }

	A.flex-next:hover { background:url(images/nav-next.png) no-repeat !important; background-size: 32px !important; }
	A.flex-prev:hover { background:url(images/nav-prev.png) no-repeat !important; background-size: 32px !important; }
}