
/*
EKD_TYPE
*/
.ekdType{
	opacity: 0;
    filter: alpha(opacity = 0);
	position: relative;
	top:10px;
	transition: all 2s;
}
.ekdTypeShadow{
    opacity: 0;
    filter: alpha(opacity = 0);
    position: relative;
    transition: all 1s;
}
.ekdShow{
	opacity: 1;
    filter: alpha(opacity = 100);
	top:0px;
}
.ekdTypeMove{
    position: relative;
    top: 10px;
    transition: all 2s;
    display: inline-block;
}
.moveMatrix{
    opacity: 0;
    filter: alpha(opacity = 0);
    transition: all 1s;
    transform: matrix3d(0.95,0,0.00,0,0.00,0.1,0.00,0.0007,0,0,1,0,0,20,10,1);
    -webkit-transform: matrix3d(0.95,0,0.00,0,0.00,0.1,0.00,0.0007,0,0,1,0,0,20,10,1);
    transform-origin: center bottom 0px;
    transition: all 1s ease 0s;
    -webkit-transform-origin: center bottom 0px;
    -webkit-transition: all 1s ease 0s;
    transition-delay:1s;
    margin-right: 7px;
    Click throughmargin-bottom: 15px;
}
.ekdShowMatrix{
    opacity: 1;
    filter: alpha(opacity = 100);
    transform: matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1) !important;
    -webkit-transform: matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1) !important;
}
/*
EKD_FRAME
*/
[ekd-frame]{
	position: absolute;
	z-index:1;
	left: 0;
	right: 0;
    height: 100%;
}
.ekd-frame{
	position: absolute;
}
[position="left-lateral"],
[position="left-bottom"],
[position="right-bottom"],
[position="right-lateral"]{
    z-index: 6;
}
/*
EKD_TIME_LINE_YEARS
*/
[ekd-timeline]{
	position: absolute;/****************/
	z-index:1;
	left: 50%;
	top:100vh;
	transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
	transition: top 3s cubic-bezier(0.8, 0, 0.2, 1);

    /*height: 100%;*/
}
[year]{
	position:relative;
	/*top:100%;
	width: 100%;
    /*height: 100%;*/

}
[year-top]{

	/*width: 100%;*/
    height: 10%;
}

[year-bottom]{

	width: 100%;
    /*height: 70%;*/
}

[year-mid]{
    color: white;
    text-align: center;
    transform: translate(-40%,0%);
    -webkit-transform: translate(-40%,0%);
    font-size: 4em;
    box-sizing: border-box;
    padding: 20px 0;
    font-family: 'Merriweather', sans-serif;
    font-weight: 900;
}
[year-mid] > span{
    position: relative;
    left: -10px;
}
[year-mid] > span.bc{
    white-space:nowrap;
    position: relative;
    left: -45px;
}

[year-mid] > p{
    white-space:nowrap;
    font-family: 'Montserrat', sans-serif;
    margin-top: 15px;
    font-size: 14px;
}
/*
fullpage nav
*/
header{
	position: absolute;/*****************/
    z-index: 2;
    cursor: pointer;
    top: 50%;
    right: 7%;
    opacity: 0;
    filter: alpha(opacity = 0);
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transition: 1s ease;
}
header > ul {
	list-style: none;
	margin: 0px;
    padding: 0;
    padding-right: 1px;
    font-size: 0.8em !important;
}
header > ul > div {
	height: 0%;
    position: absolute;
    width: 175%;
    left: -40%;
    background-color: rgba(255,255,255,0.3);
    top: 4%;
    z-index:-1;
    transition: 3s ease;
}
header > ul > div > div {
    width: 49px;
    /*background-color: #D16A4A;*/
    color: white;
    padding: 5px;
    right: 0px;
    position: absolute;
    bottom: 0px;
    z-index: -1;
    font-size: 0.9em;
    transition: 0.5s ease;
    height: 17px;
}

[mini-timeline]{
	position:absolute;
    width: 100%;
	transition: 3s ease;
    font-size: 0.9em;
}
header > ul > [nav-position] > div {
	overflow: hidden;
}
header > ul > [nav-position] > div > div > span {
	position:absolute;
    top: 20px;
    opacity: 1;
    filter: alpha(opacity = 100);
    white-space:nowrap;
}
header > ul > li{
	margin:-100% 0;
	border: 1px solid rgba(255,255,255,0.7);
    width: 6px;
    height: 6px;
    border-radius: 100%;
    position:relative;
    transition: margin 1s ease;
}
header > ul > li:hover,
.fullpage-nav-active{
	border: 1px solid transparent;
	background-color: white;
    transition: 1s ease;
}
header > ul > li:hover > span,
header > ul > li:hover > span:hover,
header > ul > li > span:hover{
    opacity: 1;
    width: 50px;
    overflow: hidden;
    color: white;
    right: -5px;
    position: absolute;
    top: -170%;
    z-index: -1;
    font-size: 0.8em;
    filter: alpha(opacity = 100);
    transition: 0.3s ease;
    white-space:nowrap;

}
.fullpage-nav-active > span{
	display: none !important;
}

header > ul > li > span{
	opacity: 0;
	width: 0px;
    padding: 5px;
    overflow: hidden;
    padding: 7px 5px;
    z-index: -2;
    position: absolute;
    filter: alpha(opacity = 0);
	}

 /*************/
 #scene{
 	position: absolute;
    z-index: 20;
    left: 50%;
    transform: translateX(-50%) !important;
    -webkit-transform: translateX(-50%) !important;
 }
 #intro-controller{
 	position:absolute;
 	top:100%;
 	transition: top 3s;
 }

/*
nav years
*/
[fullpage-nav="3"]:hover > span {
    background-color: rgba(236,107,72,1);
}
[fullpage-nav="4"]:hover > span {
    background-color: rgba(208,54,60,1);
}
[fullpage-nav="5"]:hover > span {
    background-color: rgba(138,142,197,1);
}
[fullpage-nav="6"]:hover > span {
    background-color: rgba(252,199,94,1);
}
[fullpage-nav="7"]:hover > span {
    background-color: rgba(113,154,103,1);
}
[fullpage-nav="8"]:hover > span {
    background-color: rgba(122,189,203,1);
}
[fullpage-nav="9"]:hover > span {
    background-color: rgba(0,161,153,1);
}
[fullpage-nav="10"]:hover > span {
    background-color: rgba(138,142,197,1);
}
[fullpage-nav="11"]:hover > span {
    background-color: rgba(249,183,91,1);
}
[fullpage-nav="12"]:hover > span {
    background-color: rgba(196,55,61, 1);
}
[fullpage-nav="13"]:hover > span {
    background-color: rgba(113,154,103,1);
}

[fullpage-nav="14"]:hover > span {
    background-color: rgba(199,93,158,1);
}


@media (max-width: 1024px) and (orientation: portrait) {
    [responsive-mobile-tl] {
    opacity: 0;filter: alpha(opacity = 0);
    }
    [year-top],
    [year-bottom]{
        opacity: 0;filter: alpha(opacity = 0);
    }
    #frame-container{
        transform: scaleY(0.93);
        -webkit-transform: scaleY(0.93);
        position: absolute;
        width: 100%;
        height: 100%;
        top: 3%;
        z-index: 6;
    }
}

@media (max-width: 768px) and (orientation: portrait) {
	#frame-container{
		display:block;
	}
}

@media (max-width: 1280px) and (orientation: landscape) and (max-height: 632px){/*Tablet*/

    header > ul > li {
        width: 15px;
        height: 15px;
    }
    header > ul > div > div{
        height: 20px;
    }
    header > ul > [nav-position] > div > div > span{
        top: 25px;
    }
    i.timeline-chev{
        top:60%;
    }
    header > ul > li > span {
        display: none;
    }
    .vid8,.vid9,.vid12{
        display: none;
    }
}
@media (max-width: 1024px) and (max-height: 768px) and (orientation: landscape) {
    header > ul > li {
        width: 15px;
        height: 15px;
    }
    [responsive-mobile-tl] {
    opacity: 0;filter: alpha(opacity = 0);
    }
    [year-top],
    [year-bottom]{
        opacity: 0;filter: alpha(opacity = 0);
    }
    .ekd-frame{
        display:none;
    }
    [year-mid]{
        position: relative;
        top:-60px;
    }
    [year-mid] > p {
        margin: 5px;
    }
    #frame-container{
        display:none;
    }
}
