/*
** 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 }

/* Les vidéos de motions design, jeux canvas et js */
video
{
    width :66%;
	height: 60%;
	display: block;
	margin: 0 auto 0 auto;
}

.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;
	box-shadow: inset 0 0px 10px grey;
}

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

.titre a
{
	font-size: 28px;
	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: 28px;
	padding: 1% 2% 12% 1%;
	margin-top: -2%;
}

/* 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% 5% 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;
}

#select_langues
{
	position : absolute;
	top : 12%;
	left : 5%;
	width : 30%;
}

#select_langues a { color: white; }

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

#button_cv
{
	width: 20%;
	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: 4;
	display: block;
	position: relative;
}

#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;
}

/* Affichage de mon nom d'auteur en haut à gauche du site */
#auteur
{
	display: block;
	width: 25%;
	font-size: 26px;
	font-weight: bold;
	font-family: Exo Bold, Verdana, Arial, serif;
	position: absolute;
	z-index: 201;
	margin-top: 4%;
	margin-left: 4%;
	color: white;
}

/*
** 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% 8%;
	position: relative;
}

/* Bulle de présentation */

#a_propos
{
	width:65%;
	height: auto;
	padding: 1%;
	float: right;
	color: white;
	font-size: 18px;
	margin-right: 1%;
	position: relative;
	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;
	top: 50%;
	margin-top: -33px;
}

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

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

#bloc2_cv
{
	margin-top: 25%;
}

#bloc3_cv
{
	margin-top: 4%;
}

#bloc4_cv
{
	width: 99%;
	margin-top: 4%;
	display:inline;
	float: left;
	position: relative;
	margin:1%;
	text-align: justify;
}

ul#formations li, ul#experiences li
{
	width: 70%;
	height: auto;
	padding: 1%;
	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: block;
	position: absolute;
	top: -8px;
	left: 0;
	background-color: #338BC4;
	border-radius: 40px;
}

/* 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;
}

#logiciels_auteurs
{
	margin-left: 2%;
}

#logiciels_auteurs
{
	margin-left: 2%;
	position: absolute;
}

#environnements
{
	margin-left: 34%;
	position: absolute;
}

#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: 76%;
	line-height: 1.5;
	margin-left: 14%;
	display: block;
	position: absolute;
	text-align: justify;
	font-size: 16px;
}

#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%;
	margin-top: 20%;
}
.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: -5% 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%;
}
