/* 
	2018-02-07
*/

/* Reset */
*,
*:before, 
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}


html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}
body {
    line-height:1;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display:block;
}
nav ul {
    list-style:none;
}
blockquote, q {
    quotes:none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}
a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}
/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}
/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000;
    font-style:italic;
    font-weight:bold;
}
del {
    text-decoration: line-through;
}
abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}
table {
    border-collapse:collapse;
    border-spacing:0;
}
/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}
input, select {
    vertical-align:middle;
}

/* End Reset */


/* MAIN CSS */

body{
	font-size:1rem;
}

.container{
	line-height: initial;
}

.page{
	position:relative;
	width:100%;
	margin:auto;
	line-height: initial;
}	

.page *{
	line-height: initial;
}

.page > .flex-list{
	/*margin-bottom:10px;*/
}

h1,
.h1{
	font-size:3rem;
	line-height: initial;
}

h2,
.h2{
	font-size:2rem;
	line-height: initial;
}

h3,
.h3{
	font-size:1.4rem;
	line-height: initial;
}

.tabs-container{
	background-color:#29ABE2;
}

.tabs-container .tabs{
	display:flex;
	flex-direction: row;
	position:relative;
	color:#2E3192;
	margin:auto;
	flex-wrap:wrap;
}

.tabs-container .tabs .tab{
	padding:0px 10px;
	line-height: 50px;
	font-size:1.6rem;
	width:auto;
	font-weight: bold;
}

.tabs-container .tabs .space{
	padding:0px 5px;
	line-height: 50px;
	font-size:1.6rem;
	font-weight: bold;
}

.tabs-container .tabs .space:after{
	content:'|';
}

.tabs-container .tabs .tab:hover{
	cursor:pointer;
	color:#FFFFFF;
}
.tabs-container .tabs .tab.active{
	color:#FFFFFF;
}


/* slideshow */
.slideshow {
	width: 100%;
	max-width: 640px;
	max-height:360px;
	min-height:300px;
	position: relative;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: flex-end;
}

.slideshow[data-transition="zoom"] {
	overflow: hidden;
}

/* slideshow item */
.slideshow-item {
	width:100%;
	height:calc(100% - 2em);
	position: absolute;
	left: 0;
	top: 0;
	visibility: hidden;
	overflow: hidden;
	background-repeat: no-repeat;
	background-position: center center;
	background-attachment: initial;
	background-size: contain;
	display:flex;
	justify-content: center;
}

.slideshow-item img{
	max-width: 100%;
	max-height:360px;
	min-height:100px;
  width: auto;
	height: auto;
	object-fit: contain;
	padding:10px;
	display: block;
}

.slideshow-bullet:checked + .slideshow-item {
	visibility: visible;
}

.slideshow[data-transition="fade"] .slideshow-item {
	visibility: visible;
	opacity: 0;
	transition: .3s ease-out opacity;
}

.slideshow[data-transition="fade"] .slideshow-bullet:checked + .slideshow-item {
	opacity: 1;
}

.slideshow[data-transition="zoom"] .slideshow-item img{
	visibility: visible;
	opacity: 1;
	transform: scale(0.000001);
	transition: .3s ease-out transform;
}

.slideshow[data-transition="zoom"] .slideshow-bullet:checked + .slideshow-item img{
	opacity: 1;
	transform: scale(1);
}

/* slideshow navigation */
.slideshow-nav{
	position: absolute;
	top: 0;
	bottom: 0;
	width: 50%;
	display: none;
	z-index: 88;
	cursor: pointer;
	color: transparent;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.slideshow-nav:after {
	display: block;
	content: '\25B6';
	font-size: 2em;
	color: rgba(128,128,128,0.2);
	position: absolute;
	top: 50%;
	right: 10px;
	margin-top: -.5em;
}

.slideshow-nav-previous {
	left: 0;
	display: block;
}

.slideshow-nav-previous:after {
	-webkit-transform: scaleX(-1);
	-moz-transform: scaleX(-1);
	transform: scaleX(-1);
	right: auto;
	left: 10px;
}

.slideshow-nav-next {
	left: 50%;
	display: block;
}

/* Radiobuttons to control the slideshow */
.slideshow .slideshow-bullet {
	font-size: .75em;
	width: 1em;
	height: 1em;
	margin:0.5em;
	outline:none;
	display: inline-block;
	position: relative;
	z-index: 99;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background: #ccc;
	border-radius: 1em;
	transition: .3s ease-out background,
				.3s ease-out transform;
}

.slideshow-bullet:checked {
	background: #999;
	outline: none;
	-webkit-transform: scale(1.3);
	-moz-transform: scale(1.3);
	transform: scale(1.3);
}

@media screen and (max-width: 1023px) {
	html,
	body{
		font-size: 1em;
	}
	
	.page{
		padding:10px;
		width:100%;
		display:block;
	}	
}

