/*
** CSS Portfolio Général - Cédric Porcher
*/

/*
** Typographies externes
*/

@font-face
{
	font-family:"Exo Bold";
	src:url("../fonts/Exo_bold/Exo-Bold.eot?") format("eot"),url("../fonts/Exo_bold/Exo-Bold.woff") format("woff"),url("../fonts/Exo_bold/Exo-Bold.ttf") format("truetype"),url("../fonts/Exo_bold/Exo-Bold.svg#Exo-Bold") format("svg");
	font-weight:normal;
	font-style:normal;
}

@font-face
{
	font-family:"Exo Regular";
	src:url("../fonts/Exo_regular/Exo-Regular.eot?") format("eot"),url("../fonts/Exo_regular/Exo-Regular.woff") format("woff"),url("../fonts/Exo_regular/Exo-Regular.ttf") format("truetype"),url("../fonts/Exo_regular/Exo-Regular.svg#Exo-Bold") format("svg");
	font-weight:normal;
	font-style:normal;
}

html
{
	background-color: white;
}

body, div,
h1, h2, h3, h4, h5, h6, p
{
	display: block;
	margin: 0; /*initialisation des marges extérieures à 0 */
	padding: 0; /*initialisation des marges intérieures à 0 */
}

body
{
	font-family: Exo Regular, Verdana, Arial, serif;
	font-size: 16px;
	overflow-x: hidden;
}

/* Les liens */
a
{
   color: black;
   text-decoration: none;
   font-weight: bold;
   font-size: 15px;
}

a:hover
{
   color: #757575;
}

a:focus { outline:0 !important }

.section
{
	width: 95%;
	height: auto;
	margin: -1.5% auto 0 auto;
	font-size: 16px;
	text-align: justify;
	background-color: white;
	border-radius:7px 7px 0px 0px;
}

/* Titre de la page courante */
.titre
{
	width: 100%;
	display: block;
	margin: 0;
	padding-top: 2%;
	font-size: 22px;
	font-family: Exo Regular, Verdana, Arial, serif;
	text-align: left;
	font-weight: normal;
}

/* Menu de choix des langues */
#select_langues
{
	position : absolute;
	top : 12%;
	left : 0%;
	width : 30%;
}

#select_langues a { color: black; }

.titre a
{
	font-size: 22px;
	font-weight: normal;
}

/* Section de présentation des études actuelles et de la recherche de stage */
#presentation
{
	text-align: center;
	width: 92%;
	height: auto;
	font-size: 20px;
	padding: 1% 2% 12% 1%;
	margin-top: -2%;
}

/* Section de contact */
#contact
{
	width: 92%;
	margin-top: -2%; /* position du bloc section */
	margin-bottom: -0.3%;
	padding: 1% 2% 1% 1%;
}

/* Photo de profil dans le CV */
#img_profil
{
	max-width: 15%;

}

/* Section du pied de page */
#footer
{
	width: 100%;
	margin: auto;
	color: white;
	padding: 0.5% 0% 2% 0%;
}

#footer a
{
	color: white;
}

#footer a:hover
{
   color: #757575;
}

#pied_de_page
{
	display: block;
	width: 93%;
	color: #686868;
	font-size: 15px;
	text-align: center;
	background-color: black;
	padding: 1%;
	margin: -1.7% auto 2% auto;
	border-radius: 0px 0px 7px 7px;
}

/*
** Bouton de téléchargement du CV
*/

#button_cv
{
	width: 55%;
	height: 2%;
	font-size: 16px;
	text-align: center;
	margin: 2% auto 0 auto;
	margin-top: 5%;
	padding: 1%;
	background: #F3F3F3;
	border: 1px solid rgba(0,0,0,0.15);
	border-radius: 4px;
	transition: all 0.3s ease-out;
	box-shadow:inset 0 1px 0 rgba(255,255,255,0.3),0 2px 2px rgba(0,0,0,0.3),0 0 4px 1px rgba(0,0,0,0.2);
}

#button_cv > a
{
	float: none;
	display: block;
	color: black;
	font-weight: bold;
	text-align: center;
	height: 3%;
}

#button_cv:hover, #button_cv > a:hover
{
	background: #338BC4;
	color: white;
}

/*
** Menu de navigation
*/

#cssmenu,#cssmenu ul,#cssmenu ul li,#cssmenu ul li a,#cssmenu #menu-button
{
	margin: 0;
	padding: 0;
	border: 0;
	margin-top: 1%;
	list-style: none;
	line-height: 5;
	display: block;
	position: relative;
	z-index: 100;
}

#cssmenu #menu-button
{
	display: none;
}

#cssmenu  ul
{
	width: 95%;
	background-color: #338BC4;
	text-align: right;
	margin: 0 auto;
	border-radius:15px 15px 0px 0;
}

#cssmenu  ul  li
{
	display: inline-block;
}

#cssmenu > ul > li > a
{
	padding: 16px 20px;
	font-size: 14px;
	color: #ffffff;
	font-family: Exo Bold, Verdana, Arial, serif;
	font-size: 18px;
	text-transform: uppercase;
	text-decoration: none;
}

#cssmenu > ul > li > a:hover
{
	text-decoration: underline;
}

/* Réduction de l'espace entre les lignes sur mobile */
#cssmenu.small-screen ul li a
{
	line-height: 1;
	font-size: 14px;
	background: #338BC4;
	margin-top: 0;
}

#cssmenu.small-screen ul
{
	width: 100%;
	border-radius:0px;
	background-image: none;
}

#cssmenu.small-screen > ul > li,#cssmenu.small-screen.align-center
{
	float: none;
	display: block;
	text-align: left;
	border-top: 1px solid white;
	margin: 0;
}

#cssmenu.small-screen #menu-button
{
	display: block;
	padding: 16px 20px;
	cursor: pointer;
	font-size: 14px;
	text-decoration: none;
	color: #ffffff;
	text-transform: uppercase;
	letter-spacing: 1px;
	background: #338BC4;
	line-height: 1;
}

#cssmenu.small-screen #menu-button:after
{
	content: "";
	position: absolute;
	right: 20px;
	top: 17px;
	display: block;
	box-sizing: content-box;
	border-top: 2px solid #ffffff;
	border-bottom: 2px solid #ffffff;
	width: 22px;
	height: 3px;
	line-height: 1;
}

#cssmenu.small-screen #menu-button:before
{
	content: "";
	position: absolute;
	right: 20px;
	top: 27px;
	display: block;
	width: 22px;
	height: 2px;
	background: #ffffff;
	line-height: 1;
}

/* Mon logo personnel sur la barre de menu */
#logo_portfolio img
{
	display: none;
	max-width: 7%;
	position: absolute;
	margin-top: 1.5%;
	margin-left: 46%;
	text-align: center;
	z-index: 200;
}

/*
** Section du Curiculum Vitae
*/

#cv
{
	width: 92%;
	overflow: hidden;
	padding: 1% 2% 1% 1%;
	margin-top: -2%;
	font-size: 18px;
}

#cv h3
{
	display: block;
	padding: 0 0 1% 3%;
	text-align: center;
}

/* Bulle de présentation */

#a_propos
{
	width:50%;
	height: auto;
	padding: 1%;
	float: right;
	color: white;
	font-size: 18px;
	margin-right: 15%;
	background-color: #338BC4;
	border-radius:15px;
}

#a_propos:after, #a_propos:before
{
	right: 100%;
	border: solid transparent;
	content: "";
	position: absolute;
}
#a_propos:after
{
	border-right-color: #338BC4;
	border-width: 33px;
	margin-top: -33px;
}

#bloc1_cv
{
	width: 99%;
	margin-left: 1%;
	margin-top: 10%;
}

#bloc2_cv, #bloc3_cv
{
	width: 99%;
	margin-left: 1%;
	margin-top: 4%;
}

#bloc2_cv
{
	width: 99%;
	display:inline;
	float: left;
	position: relative;
	padding: 2%;
}

#bloc3_cv
{
	width: 99%;
	margin-top: 10%;
	float: left;
	position: relative;
}

#bloc4_cv
{
	width: 99%;
	margin-top: 10%;
	margin-bottom: 5%;
	display:inline-block;
	position: relative;
}

ul#formations li, ul#experiences li
{
	width: auto;
	height: auto;
	padding: 2%;
	margin-left: 1%;
	margin-bottom: 2%;
	background-color: #eee;
	border-radius: 15px;
}

ul#formations li p
{
	margin-top: 1%;
}

#cv  #bloc1_cv h3:before, #cv #bloc2_cv h3:before, #cv #bloc3_cv h3:before, #cv #bloc4_cv  h3:before
{
	width: 30px;
	height: 30px;
	content: '';
	display: inline-block;
	background-color: #338BC4;
	border-radius: 40px;
	margin-right: 10%;
}

/* Images des pictogrammes */

#bloc1_cv h3:before
{
	background:url('../images/profil.png') no-repeat 8px 8px;
}

#bloc2_cv  h3:before
{
	background:url('../images/formations.png') no-repeat 7px 7px;
}

#bloc3_cv h3:before
{
	background:url('../images/experiences.png') no-repeat 7px 7px;
}

#bloc4_cv h3:before
{
	background:url('../images/competences.png') no-repeat 8px 8px;
}

/* Minis pictogrammes */

ul#formations .lieu, ul#experiences .lieu
{
	background: url('../images/lieu.png') no-repeat;
	padding-left: 25px;
	margin: 0 10px 1px 10px;
	color: #999;
}

ul#formations .dates, ul#experiences .dates
{
	background: url('../images/date.png') no-repeat;
	padding-left: 25px;
	margin: 0 10px 1px 10px;
	color: #999;
}

.lieu a, .dates a
{
	font-size: 18px;
}

/* Cercles colorés des compétences */
.moncercle
{
	display: inline-block;
	width:5px;
	height:5px;
	padding: 6px;
	margin-left: 1%;
	margin-top: 1%;
	background:#338BC4;
	border: 1px solid #ccc;
	text-align: left;
	border-radius:50%;
}

.moncercle2
{
	display: inline-block;
	margin-left: 1%;
	margin-top: 1%;
	background:#e9f8fc;
	border-radius:50%;
	width:5px;
	height:5px;
	padding: 6px;
	border: 1px solid #ccc;
	text-align: left;
}

table
{
    width: 30%;
    margin:0;
    padding:0;
    border-collapse: collapse;
    border-spacing: 0;
		display: inline-block;
}

table tr
{
	border: 1px solid #ddd;
    padding: 5px;
}

  table th, table td
{
    padding: 10px;
    text-align: center;
}

td
{
	width: 40%;
	display: inline-block;
}

table th
{
   text-transform: uppercase;
   font-size: 14px;
   letter-spacing: 1px;
}

 #environnements
{
	margin-left: 2%;
}

#logiciels_auteurs
{
	margin-left: 2%;
}

#legende_cv /* Légende des compétences */
{
	margin-top: 2%;
	margin-bottom: 2%;
}

/*
** Mes créations
*/

/* Section de présentation de mes créations */
#creations
{
	text-align: center;
	width: 92%;
	padding: 1% 2% 1% 1%;
	margin-top: -2%;
}

/* Section individuelle de chaque création */
.creations
{
	width: 92%;
	padding: 0.5% 2% 2% 1%;
	text-align: center;
}

.descr_creations
{
	width: 92%;
	line-height: 1;
	padding: 1% 2% 1% 0%;
	font-size: 16px;
	text-align: left;
}

#actu
{
	width: 92%;
	height: auto;
	margin-bottom: 14%;
}

#text_actu
{
	width: 80%;
	line-height: 1.5;
	margin-left: 10%;
	display: block;
	position: absolute;
	text-align: justify;
	font-size: 18px;
}

#img_actu
{
	display: block;
	position: absolute;
}

#actu_titre
{
	width: 100%;
	display: block;
	margin: 0;
	margin-top: 2%;
	font-size: 24px;
	font-family: Exo Regular, Verdana, Arial, serif;
	text-align: left;
}

img
{
		display: block;
    margin-left: auto;
    margin-right: auto
}

ul
{
	list-style:none;
}

/* Titres des items (web, infographie, ...) */

.album
{
	width: 100%;
}
.album li
{
	display: inline-block;
	margin: 25px;
}
.album li > a, .album li > a img
{
	display: block;
}

.album li > a
{
	width: 220px;
	height: 170px;
	position: relative;
	padding: 10px;
	background-color: #BDBDBD;
	box-shadow: 1px 1px 2px #fff, 1px 1px 2px rgba(158,111,86,0.3) inset;
	border-radius: 4px;
}

.album li > a span
{
	width: 92%;
	height: 64%;
	top: 5%;
	left: 4%;
	display: block;
	position: absolute;
	text-align: center;
	padding-top: 22%;
	color: white;
	font-size: 22px;
	opacity: 0;
	background-color: rgba(168,168,168,255); /* couleur de fond de la vignette */
}

.album li > a:hover span
{
	opacity: 1;
}

/*
** Boutons réseaux sociaux
*/

@font-face
{
    font-family: 'si';
    src: url('../fonts/RS/socicon.eot');
    src: url('../fonts/RS/socicon.eot?#iefix') format('embedded-opentype'),
         url('../fonts/RS/socicon.woff') format('woff'),
         url('../fonts/RS/socicon.ttf') format('truetype'),
         url('../fonts/RS/socicon.svg#icomoonregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

.soc
{
    width: 100%;
		display: inline-block;
		overflow:hidden;
		left: 0;
    list-style:none;
		position: absolute;
		margin: -8% auto auto auto;
}

.soc li
{
    display:inline-block;
}

.soc li a
{
    font-family:si!important;
    font-style:normal;
    font-weight:400;
    box-sizing:border-box;
    transition:.1s;
    transition-property: transform;
    transform: translateZ(0);
    overflow:hidden;
    text-decoration:none;
    text-align:center;
    display:block;
    position: relative;
    z-index: 1;
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 16px;
    border-radius: 100px;
    margin-right: 10px;
    color: #ffffff;
    background-color: #696969;
}

.soc a:hover
{
    z-index: 2;
    background-color:black !important;
}

.soc-icon-last
{
    margin:0 !important;
}

/*.soc-email1:before
{
    content:'<';
}*/
.soc-facebook:before
{
    content:'b';
}
.soc-linkedin:before
{
    content:'j';
}
.soc-vimeo:before
{
    content:'s';
}

/*
** Section des mentions légales
*/

#mentions_legales
{
	display: block;
	width: 92%;
	margin-top: -2%;
	padding: 1% 2% 3% 1%;
}

#mentions_legales > p
{
	margin-bottom: 1%;
}


/*
** Barre de navigation pour mobile
*/

section
{
	box-shadow: none;
}

#presentation, #creations, #cv
{
	margin-top: 8%;
}

#contact, #mentions_legales, .creations
{
	margin-top: 6%; /* position du bloc section */
	margin-bottom: 4%;
}

#presentation /* bloc de présentation en page d'accueil */
{
	font-size: 22px;
}

.creations > p
{
	line-height: 2; /*espace en hauteur entre chaque ligne d'un paragraphe */
}

#actu
{
	width: 100%;
	height: auto;
	margin-bottom: 10%;
}

#text_actu
{
	width: 100%;
	line-height: 1.5;
	margin-left: 0%;
	display: block;
	position: static;
	text-align: justify;
}

#img_actu
{
	width: 20%;
	position: static;
}

#actu_titre
{
	width: 100%;
	display: block;
	margin: 0;
	margin-top: 2%;
	font-size: 16px;
	font-family: Exo Regular, Verdana, Arial, serif;
	text-align: left;
}

#auteur
{
	visibility: hidden;
}

#logo_portfolio img
{
	display: none; /* on n'affiche pas le logo dans le menu */
}

.titre
{
	width: 100%;
	display: block;
	margin: 0;
	font-family: Exo Regular, Verdana, Arial, serif;
	text-align: left;
	font-size: 18px;
}

.titre a
{
	font-size: 18px;
}

#img_profil
{
	max-width: 30%;
	display: block;
	position: absolute;
	margin-left: 28%;
	border: 5px solid #338BC4;
	border-radius: 15px;
}

#pied_de_page
{
	margin-top: -4.5%;
}

.petit_bloc
{
	width:95%;
}

#button_cv
{
	width: 65%!important;
	padding-top: 3%!important;
	padding-bottom: 3%!important;
	font-size: 13px!important;
	margin-top: 5%!important;
	margin-bottom: 14%!important;
	margin-left: 20%!important;
}


ul#portfolio-filter a.current
{
	display: none;
}

ul#portfolio-filter a
{
	background: none;
	font-size: 18px;
	display: inline-block;
}

/* CV */

#bloc1_cv
{
	display: block;
	width: 100%;
	height: auto;
	margin-left: 1%;
	margin-top: 8%;
}

#bloc1_cv h3, #bloc2_cv h3 , #bloc3_cv h3 , #bloc4_cv h3
{
	padding: 2%;
}

#a_propos
{
	width:98%;
	height: auto;
	padding: 1.5%;
	float: left;
	margin-right: 20%;
	margin-top: 60%;
	position: relative;
	border-radius:15px;
}

#a_propos:after, #a_propos:before
{
	display: none;
}
#a_propos:after
{
	display: none;
}

/* Boutons réseaux sociaux */
.soc
{
	width: 40%;
	display: inline-block;
	overflow:hidden;
	list-style:none;
	position: static;
	margin-top: 0%;
	margin-left: 0%;
}

.moncercle
{
	display: inline-block;
	margin-left: 1%;
	margin-top: 1%;
	border-radius:50%;
	width:10px;
	height:10px;
	padding: 3px;
	border: 1px solid #ccc;
	text-align: left;
}

.moncercle2
{
	display: inline-block;
	margin-left: 1%;
	margin-top: 1%;
	border-radius:50%;
	width:10px;
	height:10px;
	padding: 3px;
	border: 1px solid #ccc;
	text-align: left;
}

table
{
		display: block;
		border: 0;
		left: 0;
	}

	table tr
{
		margin-bottom: 10px;
		display: block;
		border-bottom: 2px solid #ddd;
	}

	table td
{
	width: 255px;
	display: block;
	text-align: center;
	font-size: 16px;
	border-bottom: 1px dotted #ccc;
	}

	table td:last-child
{
		border-bottom: 0;
	}

	table td:before
	{

		float: left;
		text-transform: uppercase;
		font-weight: bold;
	}

#logiciels_auteurs
		{
	margin: 0;
	margin-top: 2%;
	position: static;
}

#environnements
{
	margin: 0;
	margin-top: 2%;
	margin-bottom: 2%;
	position: static;
}

#legende_cv/* Légende des compétences */
{
	font-size: 13px;
}
