/**
 * Fade Slideshow for Joomla 6 - "simple" look.
 * Width, height and colours are set per module in an inline style.
 * GNU General Public License version 2 or later.
 */

/* Container */
.fds.fpss-template-simple {position:relative;width:415px;border-color:#ccc;border-style:solid;border-width:1px;overflow:hidden;font-family:"Trebuchet MS", Trebuchet, Arial, Verdana, sans-serif;}
.fds.fpss-template-simple .fpssTimer {display:none;}

/* Slides */
.fds.fpss-template-simple .slides-wrapper {width:415px;height:224px;margin:0;padding:0;position:relative;overflow:hidden;background:#000;}
.fds.fpss-template-simple .slides-wrapper .slides .slide {position:absolute;top:0;left:0;width:415px;height:224px;overflow:hidden;}
.fds.fpss-template-simple .slides-wrapper .slides .slide .slide-link {position:absolute;}
.fds.fds-fit-cover .slide .slide-link,.fds.fds-fit-contain .slide .slide-link {top:0;left:0;width:100%;height:100%;}
.fds.fds-fit-cover .slide .slide-link > span,.fds.fds-fit-contain .slide .slide-link > span {display:block;width:100%;height:100%;background:none !important;}
.fds.fpss-template-simple .slides-wrapper .slides .slide .slidetext {position:absolute;bottom:0;left:0;right:0;padding:4px 8px 12px 8px;margin:0;background:url(../images/caption_bg.png);z-index:1;}

/* Image fit: "width" scales to the slide width and crops the bottom (the classic look). */
.fds.fpss-template-simple .slide img {border:none;max-width:100%;height:auto;}
.fds.fds-fit-cover .slide img {width:100%;height:100%;max-width:none;object-fit:cover;}
.fds.fds-fit-contain .slide img {width:100%;height:100%;max-width:none;object-fit:contain;}
.fds.fds-fit-none .slide img {max-width:none;}

/* Captions */
.fds.fpss-template-simple .slidetext h1,
.fds.fpss-template-simple .slidetext h1 a {font-family:"Trebuchet MS", Trebuchet, Arial, Verdana, sans-serif;font-size:12px;line-height:120%;margin:0;padding:0;color:#fafafa;}
.fds.fpss-template-simple .slidetext h1 a:hover {color:#f00;text-decoration:none;}
.fds.fpss-template-simple .slidetext p {margin:4px 0;padding:0;color:#fff;}
.fds.fpss-template-simple .slidetext img {display:none;}

/* Caption bar: across the whole slide, or only as wide as its text (the classic look). */
.fds.fds-caption-full .slides-wrapper .slides .slide .slidetext {box-sizing:border-box;width:100%;}
.fds.fds-caption-fit .slides-wrapper .slides .slide .slidetext {width:auto;}
.fds.fds-caption-left .slidetext {text-align:left;}
.fds.fds-caption-center .slidetext {text-align:center;}
.fds.fds-caption-right .slidetext {text-align:right;}

/* Navigation (optional) */
.fds.fpss-template-simple div.navigation-wrapper {width:415px;border-top:2px solid #404040;margin:0;padding:2px 0;background:#222;}
.fds.fpss-template-simple ul.navigation {background:#222;margin:0;padding:0 16px 0 34px;list-style:none;text-align:right;float:right;}
.fds.fpss-template-simple ul.navigation li {display:block;width:20px;float:left;background:#222;border:1px solid #222;margin-right:4px;padding:0;}
.fds.fpss-template-simple ul.navigation li.active,
.fds.fpss-template-simple ul.navigation li:hover {border:1px solid #505050;}
.fds.fpss-template-simple ul.navigation li a {display:block;padding:1px;margin:0;text-decoration:none;font-family:Tahoma, Arial, sans-serif;font-size:10px;color:#fff;overflow:hidden;position:relative;text-align:center;}
.fds.fpss-template-simple ul.navigation li.active a,
.fds.fpss-template-simple ul.navigation li:hover a {color:#f00;}
.fds.fpss-template-simple ul.navigation li.navigation-previous,
.fds.fpss-template-simple ul.navigation li.navigation-next,
.fds.fpss-template-simple ul.navigation li.navigation-control {border:none;padding:1px;width:auto;}
.fds.fpss-template-simple ul.navigation li.navigation-control {clear:right;width:30px;}

/* Generic */
.fds.fpss-template-simple a {cursor:pointer;}
.fds.fpss-template-simple a:active,
.fds.fpss-template-simple a:focus {outline:0;}
.fds .fpss-clr {clear:both;float:none;height:0;line-height:0;margin:0;padding:0;border:0;}

@media (prefers-reduced-motion: reduce) {
  .fds .slide, .fds .slidetext {transition:none !important;}
}
