
html, body {
	font-family: 'Open Sans', sans-serif;
	background-image: url('../img/dark_fabric.png');
	background-color: #333333;
	color: white;
}

@font-face {
	font-family: 'caviardreams_regular';
	src: url(caviar-dreams/CaviarDreams-webfont.woff) format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
	font-family: 'caviardreams_bold';
	src: url(caviar-dreams/CaviarDreams_Bold-webfont.woff) format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
	font-family: 'caviardreams_bold_italic';
	src: url(caviar-dreams/CaviarDreams_BoldItalic-webfont.woff) format('woff');
    font-weight: bold;
    font-style: italic;
}

@font-face {
	font-family: 'caviardreams_italic';
	src: url(caviar-dreams/CaviarDreams_Italic-webfont.woff) format('woff');
    font-weight: normal;
    font-style: italic;
}


h1, h2, h3 {
	font-family: 'caviardreams_regular', sans-serif;
}

h4 {
	font-family: 'caviardreams_bold';
}

a {
	text-decoration: none;
	color: white;
}

a:hover, a:focus, a:visited {
	color: white;
}

.text-small {
	font-size: 75%;
}

.font-title {
	font-family: 'Poiret One', sans-serif;
}



/* Color definitions */
.ui-bg-color01     {background-color: #1abc9c !important;} /*green*/
.ui-bg-color02     {background-color: #3498db !important;} /*blue*/
.ui-bg-color03     {background-color: #9b59b6 !important;} /*purple*/
.ui-bg-color04     {background-color: #e67e22 !important;} /*orange*/
.ui-bg-color05     {background-color: #e74c3c !important;} /*red*/
.ui-bg-color06     {background-color: #676767 !important;} /*grey*/

.ui-font-color01     {color: #1abc9c !important;} /*green*/
.ui-font-color02     {color: #3498db !important;} /*blue*/
.ui-font-color03     {color: #9b59b6 !important;} /*purple*/
.ui-font-color04     {color: #e67e22 !important;} /*orange*/
.ui-font-color05     {color: #e74c3c !important;} /*red*/
.ui-font-color06     {color: #676767 !important;} /*grey*/

/* Color definitions for hover effects */
.bg-color01::before {
	background-color: #6fc3df;
}

.bg-color02::before {
	background-color: #8d82c4;
}

.bg-color03::before {
	background-color: #ec8d81;
}

.bg-color04::before {
	background-color: #e7b788;
}

.bg-hover::before {
	transition: opacity 0.5s ease;
	bottom: 0;
	content: '';
	display: block;
	height: 100%;
	left: 0;
	opacity: 0.7;
	position: absolute;
	width: 100%;
	z-index: 2;
}

.bg-hover:hover::before {
	opacity: 0.5;
	text-decoration: none;
	color: inherit;
}

/* Header = Top Line (Name + home)*/
#header .container {
	padding-right: 0px;
	margin-right: 0px;
	min-width: 320px;
}

#header .container .row{
	margin: 0px;
}

#header div {
	min-height: 100px;
	max-height: 100px;
}

#header h1 {
	margin: 0;
	vertical-align: middle;
	line-height: 100px; 
}

#header div.title {
	float: left;
	width: calc(100% - 120px);
	padding-left: 20px;
}

#header div.title-link {
	min-width: 120px;
	max-width: 120px;
	cursor: pointer;
}

#header div.title-link a{
	min-height: 100px;
	max-height: 100px;
	display: block;
	padding: 10px;
	text-align: center;
	background-color: rgba(255,255,255, 0.1);
}

#header div.title-link a:hover{
	background-color: rgba(255,255,255, 0.15);
	text-decoration: none;
}

#header div.title-link a i{
	margin-top: 10px;
	font-size: 30px;
}

#header div.title-link a span{
	font-size: 16px;
	margin-top: 10px;
	display: block;
}

/* Index menu = Landing page menu */
#index-menu div.row {
	border: 0px none transparent;
	margin: 0;
	padding: 0;
}

#index-menu .row {
	margin: 0;
	padding: 0;
}

#index-menu .index-menu-item {
	padding: 5%;
	border: 0px none transparent;
	min-height: 320px;
	max-height: 320px;
	cursor: pointer;
}

#index-menu div.row.index-menu-row {
	min-height: 320px;
	max-height: 320px;
}

#index-menu .index-menu-item span:first-child {
	display: inline-block;
	border-bottom: 2px solid;
}

#index-menu .index-menu-item h2 {
	margin-top: 20px;
	margin-bottom: 20px;
}

#index-menu .index-menu-item h4 {
	margin-top: 20px;
}

#index-menu div a:hover, #index-menu div a:focus, #index-menu div a:visited{
	color: white;
	text-decoration: none;
}

/* Page menu = Category page menu */
#page-menu  {
	margin-bottom: 15px;
}

#page-menu div.row {
	border: 0px none transparent;
	margin: 0;
	padding: 0;
}

#page-menu .row {
	margin: 0;
	padding: 0;
}


/* Menu header */

/* Homepage menu style*/
#page-menu div a:hover, #page-menu div a:focus, #page-menu div a:visited{
	color: white;
	text-decoration: none;
}

#page-menu .page-menu-item {
	padding: 5%;
	border: 0px none transparent;
	min-height: 320px;
	max-height: 320px;
	cursor: pointer;
}

#page-menu div.row.page-menu-row {
	min-height: 200px;
	max-height: 200px;
}

.page-menu-item span{
	display: block;
}

.page-menu-item span:first-child {
	display: inline-block;
	border-bottom: 2px solid;
}

.page-menu-item h2 {
	margin-bottom: 20px;
}

.page-menu-item h4 {
	margin-top: 20px;
}

#page-menu .page-menu-row .page-menu-title {
	float: left;
	width: calc(100% - 480px);
	position: relative;
	min-height: 200px;
	max-height: 200px;
}

#page-menu .page-menu-row .page-menu-title-full {
	float: left;
	width: 100%;
	position: relative;
	min-height: 200px;
	max-height: 200px;
}

#page-menu .page-menu-row .page-menu-items {
	width: 480px;
	float: left;
	min-height: 200px;
	max-height: 200px;
}

#page-menu div {
	min-height: 100px;
	max-height: 100px;
}

#page-menu div.title {
	float: left;
	width: calc(100% - 120px);
	background-color: rgba(255,255,255, 0.1);
}

#page-menu h2 {
	margin: 0px;
	padding-left: 20px;
	vertical-align: middle;
	line-height: 100px; 
	height: 100px;
}

#page-menu h2 span.anim-title {
	overflow: hidden;
	display: inline-block;
	position: relative;
	height: 100px;
	vertical-align: middle;
	line-height: 100px; 
	top: -4px;
}
#page-menu h2 span.anim-list {
	display: inline-block;
	vertical-align: middle;
	/*font-variant-caps: small-caps; /* A améliorer - Changer la font family ?*/
	position: relative;
	white-space: nowrap;
	top: 0;
	left: 0;
	-webkit-animation: title-move 5s;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-delay: 2s;
}

/* A adapter en fonction du nombre de titres à faire défiler */
@keyframes title-move {
	0%  { top: 0px; }
	40% { top: -100px; }
	80% { top: -200px; }
}


#page-menu div.title-link {
	width: 120px;
	float: left;
}

#page-menu div.title-link a{
	min-height: 100px;
	max-height: 100px;
	display: block;
	padding: 10px;
	text-align: center;
	background-color: rgba(255,255,255, 0.2);
}

#page-menu div.title-link a:hover{
	background-color: rgba(255,255,255, 0.25);
	text-decoration: none;
	color: inherit;
}

#page-menu div.title-link a i{
	margin-top: 10px;
	font-size: 30px;
}

#page-menu div.title-link a span{
	font-size: 16px;
	margin-top: 10px;
	display: block;
}

#page-menu .page-menu-row .page-menu-items .nav {
	width: 480px;
	float: left;
	min-height: 100px;
	max-height: 100px;
}

#page-menu .page-menu-row .page-menu-items .nav > a.page-menu-item{
	display: block;
	float: left;
	position: relative;
	min-height: 100px;
	max-height: 100px;
	min-width: 120px;
	max-width: 120px;
	padding: 10px;
	text-align: center;
}

#page-menu .page-menu-row .page-menu-items .nav > a.page-menu-item i {
	margin-top: 10px;
	font-size: 30px;
}

#page-menu .page-menu-row .page-menu-items .nav > a.page-menu-item span {
	font-size: 16px;
	margin-top: 10px;
	display: block;
}

#page-menu .page-menu-row .page-menu-items .nav > a.page-menu-item i.fa {
	color: white;
}

#page-menu .page-menu-row .page-menu-items .nav > a:hover.page-menu-item span {
	color: white;
}

/* Make the menu stay on top */ 
/* Voir pour y integrer les boutons homepage et download ou pour ajouter ces boutons dans le menu de la page principale (avec un soft mouv) */
#page-menu .page-menu-row .page-menu-items .nav.fixed {
	position:fixed;
    top:0px;
	right:0px;
	z-index: 999;
	width: 480px;
	min-height: 120px !important;
	max-height: 120px !important;
}
/* CV page */
#page-cv {
	margin: 0 15px;
}

/* CV timeline */

#page-cv .timeline-footer {
	margin: 10px 0px;
	font-size: 75%;
	color: rgba(255, 255, 255, 0.5);
}
#page-cv .timeline-footer .timeline-date {
	width: 30%;
	display: inline-block;
	text-align: left;
}

#page-cv .timeline-footer .timeline-company {
	width: 70%;
	float: right;
	text-align: right;
}

#page-cv .timeline-body {
	text-align: justify;
}

#page-cv .timeline-body > ul > li {
	list-style-type: square;
	list-style-position: inside;
}

#page-cv .timeline > li > .timeline-panel::after {
    border-left: 14px solid #595959;
    border-right: 0 solid #595959;
}

#page-cv .timeline > li.timeline-inverted > .timeline-panel::after {
 	border-left: 0px none transparent !important;
}

#page-cv .timeline > li.timeline-inverted > .timeline-panel::before {
    border-right: 14px solid #595959;
    border-left: 0 solid #595959;
}

#page-cv .list-group{
	background-color: rgba(255,255,255,0.2);
	box-shadow: 6px 1px 6px rgba(0, 0, 0, 0.8);
}


#page-cv .list-group-item{
	color: white;
	background-color: transparent;
}

#page-cv .list-group-item p{
	margin: 1rem 0 0 0;
}

/* Footer */
#footer {
	bottom: 0px;
	min-height: 100px;
	max-height: 100px;
	margin: 10px 0px;
	width: 100%;
	background-color : rgba(255,255,255, 0.2);
}

a:hover, a:focus, a:visited {
	color: white;
}

#footer ul.nav li.nav-item a:hover, #footer ul.nav li.nav-item a:hover a:focus {
	text-decoration: none;
	color: white;
}


.ui-bg-cv, .ui-bg-cv-large, .ui-bg-contributions, .ui-bg-contributions-large, .ui-bg-handball, .ui-bg-handball-large, .ui-bg-blog, .ui-bg-blog-large  {
	background-repeat: no-repeat;
	background-size: 100%;
	background-position: center;
}

/* Portrait tablet to landscape and desktop */
@media screen and (min-width: 720px)  { 
	/* Index menu background images */

	/* Picture height is 320px */

	.ui-bg-cv{
		background-image: url('http://emmanuel.lebel.free.fr/documents/img/cv-1200.jpg');
	}

	.ui-bg-contributions {
		background-image: url('http://emmanuel.lebel.free.fr/documents/img/contributions-1200.jpg');
	}
	
	.ui-bg-contributions-large {
		background-image: url('http://emmanuel.lebel.free.fr/documents/img/contributions-1200.jpg');
	}

	.ui-bg-handball {
		background-image: url('http://emmanuel.lebel.free.fr/documents/img/handball-1200.jpg');
	}
	
	.ui-bg-handball-large {
		background-image: url('http://emmanuel.lebel.free.fr/documents/img/handball-1200-large.jpg');
	}

	.ui-bg-blog {
		background-image: url('http://emmanuel.lebel.free.fr/documents/img/blog-1200.jpg');
	}
	
	.ui-bg-blog-large {
		background-image: url('http://emmanuel.lebel.free.fr/documents/img/blog-1200.jpg');
	}
}

/* Portrait tablet and down */
@media screen and (max-width: 720px)  { 
	/* Index menu background images */

	/* Picture height is 240px */
	.ui-bg-cv{
		background-image: url('http://emmanuel.lebel.free.fr/documents/img/cv-720.jpg');
	}

	.ui-bg-contributions {
		background-image: url('http://emmanuel.lebel.free.fr/documents/img/contributions-720.jpg');
	}
	
	.ui-bg-contributions-large {
		background-image: url('http://emmanuel.lebel.free.fr/documents/img/contributions-720.jpg');
	}

	.ui-bg-handball {
		background-image: url('http://emmanuel.lebel.free.fr/documents/img/handball-720.jpg');
	}
	
	.ui-bg-handball-large {
		background-image: url('http://emmanuel.lebel.free.fr/documents/img/handball-720-large.jpg');
	}

	.ui-bg-blog {
		background-image: url('http://emmanuel.lebel.free.fr/documents/img/blog-720.jpg');
	}
	
	.ui-bg-blog-large {
		background-image: url('http://emmanuel.lebel.free.fr/documents/img/blog-720.jpg');
	}
	
	/* Reduce header font size */
	h1, .h1 {
		font-size: 34px;
	}
	
	h2, .h2 {
		font-size: 28px;
	}
}

@media screen and (max-width: 480px) {

	/* Picture height is 240px */

	/* Index menu background images */
	.ui-bg-cv{
		background-image: url('http://emmanuel.lebel.free.fr/documents/img/cv-480.jpg');
	}

	.ui-bg-contributions {
		background-image: url('http://emmanuel.lebel.free.fr/documents/img/contributions-480.jpg');
	}
	
	.ui-bg-contributions-large {
		background-image: url('http://emmanuel.lebel.free.fr/documents/img/contributions-480.jpg');
	}

	.ui-bg-handball {
		background-image: url('http://emmanuel.lebel.free.fr/documents/img/handball-480.jpg');
	}
	
	.ui-bg-handball-large {
		background-image: url('http://emmanuel.lebel.free.fr/documents/img/handball-480-large.jpg');
	}

	.ui-bg-blog {
		background-image: url('http://emmanuel.lebel.free.fr/documents/img/blog-480.jpg');
	}
	
	.ui-bg-blog-large {
		background-image: url('http://emmanuel.lebel.free.fr/documents/img/blog-480.jpg');
	}
	
	/* Reduce header font size */
	h1, .h1 {
		font-size: 24px;
	}
	
	h2, .h2 {
		font-size: 20px;
	}
}


@media screen and (max-width: 320px) {
	/* Do not support screens lower than 320px */
	
	/* Index menu background images */
	.ui-bg-cv{
		background-image: none;
	}

	.ui-bg-contributions {
		background-image: none;
	}

	.ui-bg-handball {
		background-image: none;
	}
	
	.ui-bg-handball-large {
		background-image: none;
	}

	.ui-bg-blog {
		background-image: none;
	}
}



