/*-------------------------
	Simple reset
--------------------------*/


*{
	margin:0;
	padding:0;
}


/*-------------------------
	Built-in
--------------------------*/

._apmsdescr { font-family: 'El Messiri', sans-serif !important; line-height:25px; }
._apdes { color: #37fcf2; }
._approj { color: #ec23ef; }
._apsandwich { position: absolute; top:3px; left:calc(100% - 57px); color: #fff; z-index:300; }
._apsandwich i { font-size: 48px !important; font-style:normal !important; }

/*-------------------------
	General Styles
--------------------------*/


html{
	background-color:#fff;
}


body{
	padding: 0 0 50px;
	font:14px/1.3 'Segoe UI',Arial, sans-serif;
	overflow:hidden;
}

#apopheoz-canvas {
	display:table;
	background:url('../img/bg-texture.jpg') center center no-repeat;
	background-size: cover !important;
	height:100vh;
	width:100%;
}

a, a:visited {
	text-decoration:none;
	outline:none;
	color:#54a6de;
}

a:hover{
	text-decoration:underline;
}

section, footer, header{
	display: block;
}


#timeline-embed {
	position:absolute;
	top:0;
	width: 100%;
	height: 100%;
	background-color: transparent !important;
}

#timeline-embed .tl-slidenav-icon,
#timeline-embed .tl-slidenav-title,
#timeline-embed .tl-slidenav-description
{ color: #fff !important; text-shadow: 1px 1px 1px #000 !important; }

#timeline-embed .tl-message-content { text-shadow: none !important; }

#timeline-embed h2.tl-headline-title {
	padding:15px;
	margin:0px !important;
	font-family: 'El Messiri', sans-serif !important;
	background-color: rgba(255,255,255,.1);
	color:#111;
}

#timeline-embed h2.tl-headline {
	padding:15px;
	font-family: 'El Messiri', sans-serif !important;
	background-color: rgba(255,255,255,.1);
	color:#111;
}

#timeline-embed .tl-text-content { font-family: 'El Messiri', sans-serif !important; }
/* #timeline-embed .tl-media-content-container { padding: 20px 0px !important; } */
#timeline-embed .tl-headline-date { display: none; }
#timeline-embed .tl-timemarker-media-container, #timeline-embed .tl-attribution { display: none; }
#timeline-embed .tl-timenav { box-shadow:  0 0px 15px rgba(0,0,0,0.7); z-index:10; }
#timeline-embed .tl-timemarker-text .tl-headline  { padding: 3px !important; }
#timeline-embed .tl-slidenav-description { display: none; }

/*----------------------------
	Medias
-----------------------------*/

@media(min-width:200px){
	#timeline-embed .tl-text-content-container h2.tl-headline { font-size: 14pt; line-height:25px }
	#timeline-embed .tl-media .tl-media-content-container .tl-media-content { margin-top: 0px; }
}

@media(min-width:360px){ 
	#timeline-embed .tl-text-content-container h2.tl-headline { font-size: 16pt; line-height:25px }
}

@media(min-width:400px){
	#timeline-embed .tl-text-content-container h2.tl-headline { font-size: 18pt; line-height:25px; }
}

@media(min-width:500px){ }


@media(min-width:601px){ 
	#timeline-embed .tl-text-content-container h2.tl-headline { font-size: 20pt; line-height:25px; }
}

@media(max-width:650px){
	#timeline-embed .tl-media .tl-media-content-container .tl-media-content { margin-top: 0px; }
}

@media(min-width:651px){
	#timeline-embed .tl-media .tl-media-content-container .tl-media-content { margin-top: 70px; }
}

@media(max-width:767px){
	#timeline-embed .tl-slide .tl-slide-content-container .tl-text-content  { margin-top: 70px; }
	#timeline-embed .tl-slide .tl-slide-content-container { vertical-align: top !important; } 
	#timeline-embed { top:0; height:100%; }
	#timeline-embed .tl-slide { padding-top: 0px !important; }
	#timeline-embed .tl-text-content-container h2.tl-headline { position:absolute; z-index:200; left:0; top:0; width:100% !important; padding-left:-10px !important; padding-right:-10px !important; margin:0px !important; }
	#timeline-embed .tl-text { margin-top:0px !important; }
	#timeline-embed .tl-text-content-container h2.tl-headline-title { line-height:25px; }
	#timeline-embed .tl-text-content-container { padding-top: 0px !important; padding-bottom: 0px !important; }
	#timeline-embed .tl-media { padding-top: 0px !important; border-top:none; }
	#timeline-embed .tl-timemarker-text .tl-headline { padding: 3px; }
	header { display: none; }
	._apmsdescr { font-size: 15pt; }
}

@media(min-width:768px){
	#timeline-embed .tl-slide .tl-slide-content-container { vertical-align: middle !important; } 
	#timeline-embed .tl-media .tl-media-content-container .tl-media-content { margin-top: 10px; }
	#timeline-embed { top:150px; height: calc(100% - 150px); }
	#timeline-embed .tl-text-content-container h2.tl-headline { margin:15px 0px !important; }
	#timeline-embed .tl-text-content-container { padding: 0px 5px !important; }
	header { left:108px; }
	._apmsdescr { font-size: 20pt; }
	._apsandwich { display: none; }
	._aphdrmcont > a { margin:0px 20px; }
}

@media(min-width:992px){
	header { left:22%; }
	._apmsdescr { font-size: 24pt; }
	._aphdrmcont > a { margin:0px 25px; }
}

@media(min-width:1200px){
	._apmsdescr { font-size: 28pt; }
	#timeline-embed h2.tl-headline-title { font-size: 36pt; }
	header { left:23%; }
	._aphdrmcont > a { margin:0px 30px; }
}


/*----------------------------
	Back to Tzine header
-----------------------------*/


header{
	width:170px;
	height:153px;
	position:fixed;
	top:0;
}

header:hover #apopheoz-header-link {
	background:url('../img/apbookmark.png') no-repeat;
}

header #apopheoz-header-link {
	border:none !important;
	text-indent:-9999px;
	overflow:hidden;
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background:url('../img/apbookmark-bw.png') no-repeat;
	z-index:11111;
}

#timeline-embed A.portfolio-link, A.portfolio-link:VISITED { display: inline-block; height:17px !important; color:#dd7f04 !important; text-decoration:none; border-bottom: 1px dotted #dd7f04; }
#timeline-embed A.portfolio-link:HOVER { color:#f9a331 !important; text-decoration:none; border-bottom: 1px dotted #f9a331; }

._apsidenav {
	height: 100%;
	width: 0;
	position: fixed;
	z-index: 301;
	top: 0;
	right: 0;
	background-color: rgba(0,0,0,.8);
	overflow-x: hidden;
	transition: 0.3s;
	padding-top: 60px;
}

._apsidenav a {
	padding: 8px 8px 8px 32px;
	text-decoration: none;
	font-size: 25px;
	color: #eee;
	display: block;
	transition: 0.3s;
}

._apsidenav a:hover, .offcanvas a:focus{
	color: #fff;
}

._apsidenav ._apclosebtn {
	position: absolute; top:-5px; left:calc(100% - 89px); color: #fff; z-index:300;
}

._apsidenav ._apclosebtn i { font-size: 48px !important; font-style:normal !important;  }

@media screen and (max-height: 450px) {
	._apsidenav {padding-top: 15px;}
	._apsidenav a {font-size: 18px;}
}

#apopheoz-header { display: none; }
._aphdrmcont {
	opacity:0;
	display:none;
	width:0px;
	height:136px;
	background-color:#fff;
	border-radius:18px;
	margin-left:100px;
	text-align:center;
	padding-left:70px;
	padding-right:30px;
	overflow:hidden;
}

._apvisible { display: block !important; }
._aphdrmcont > a, ._aphdrmcont > a:visited  {
	line-height:136px;
	display: inline-block;
        font-family: 'El Messiri', sans-serif;
        font-size: 15pt;
	text-decoration:none;
	color:#444;
}
._aphdrmcont > a:hover { color:#000; text-decoration:underline; }