/* ---------------------------------------------------
  					PAGE PORTFOLIO
   --------------------------------------------------- */


/* --------------------------------------
	Styles GENERAUX
   -------------------------------------- */

body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizelegibility;
    background-color: #141414;
    color: #dfecf3;
    font: 14px/20px "Lato",sans-serif;
    margin: 0;
}


noscript{
	display: block;
	text-align: center;
	padding: 20px 2% 0 2%;
	color: #f4204d;
	font-size: 22px;

}

noscript a{
	text-decoration: none;
	color: #dfecf3;
}

noscript a:hover{
	text-decoration: underline;
	color: #dfecf3;

}

a:hover, a:focus{
	text-decoration: none;
	color: transparent;
}

header{
    padding-top: 30px;
}

h1{
	
    font-size: 18px;
    font-weight: normal;
    margin-bottom: 15px;
    margin-left: 70px;
    margin-top: 8px;
    width: 170px;
	text-shadow: 0px 1px 0px;
}

h2 {
    font-size: 22px;
    font-weight: normal;
    line-height: 155%;

}

section{
	width:100%;
	margin: 3% 5%;
	text-align: center;
}


article{

	padding: 3%;
}

ul{
    margin-bottom: 0;
}

section > #vignettes > img, 
article > #diapo, 
article > #diapo > ul, 
article > #diapo > ul > li, 
article > #diapo > ul > li > img{
    box-sizing: content-box;
}


footer {

	border-top: 1px solid #4d4e50;
    padding-top: 10px;
    margin-top: 3%;
    
}


/* --------------------------------------
   Navbar
   -------------------------------------- */


.navbar{

	border-top: 0;
	border-radius: 0;
	height: 30px;
    margin: 45px auto 10px;
    padding: 5px 2px 10px 0;
    width: 100%;
	border-top: 0;
	background-color:#4ca5d0; 
	
}

.navbar ul{
	float: right;
}

.navbar ul li{
	width: 120px;
	  text-align: center;
	  height: 45px;
	line-height: 43px;
}

.navbar ul li:hover a{
	display: block; /* -> this makeS all the block clickable */
	color: #162b56  ; 
	border-radius: 5px ; 
	background: url("../images/fond_contenu.png"); 
	color: #dfecf3;
	text-decoration: underline;
	
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	-ms-transition: all .2s ease-in-out;
	-o-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;

}

.navbar-toggle{
	background-color: transparent;
	border: 1px solid #fff;
	padding: 0;
	top: 10px;
	padding: 8px 5px;
	border-radius: 2px;
	
	-webkit-transition:background 0.7s ease;
	-moz-transition:background 0.7s ease;
	-o-transition:background 0.7s ease;
	-ms-transition:background 0.7s ease;
	transition:background 0.7s ease;
	
}

.navbar-toggle:hover {
	background-color: #2881ac;
	border-radius: 8px;

	
	
}

.navbar-toggle:focus{
	background-color: #2881ac;
	
	
}

.navbar-toggle .toggle-text{
	color: #8d8d8d;
	display: inline-block;
	font-size: 16px;
	font-weight: bold;
	line-height: 1px;
	padding-right: 5px;
	position: relative;
	top: -2px;
	
}

.navbar-toggle .toggle-bars{
	display: inline-block;
	margin-top: 5px;
}

.navbar-toggle .icon-bar {
    background-color: #fff;
    width: 35px;
}

.navbar-responsive-collapse{
	background-color: #4ca5d0; 
	border-radius: 0;
    height: auto;
    position: absolute;
    width: 100%;
    z-index: 100;
}

.navbar-nav {
    margin-top: 0;
    margin-right: 7px;
}


.navbar-nav > li > a {
 	border-radius: 0;
    padding-bottom: 13px;
    color: #fff;
     padding-left: 10px;
    
}

.navbar-nav > li > a:hover{
	background: url("../images/fond_contenu.png");
    color: #fff;

}

.navbar-nav > .active > a, 
.navbar-nav > .active > a:hover, 
.navbar-nav > .active > a:focus {
    color: #fff;
	background: url("../images/fond_contenu.png");
	text-decoration: underline;
	border-radius: 5px 5px 5px 5px ; 
	
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	-ms-transition: all .2s ease-in-out;
	-o-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
}



/* --------------------------------------
   Styles DIESE
   -------------------------------------- */


#test{
	height:40px;
}


#traitbleu{
	background-color:#4ca5d0;
	height:10px;
	position:fixed;
	margin-bottom:30px;
	width:100%;
	z-index:1000; 
}

#main{
	
    background: url("../images/fond_contenu.png");
    margin: 0 auto;
    width: 75%;
   

}

#tiret {
    margin-left: 92px;
    width: 100px;
}

#identite p {
    font-size: 42px;
    font-variant: small-caps;
    font-weight: normal;
    margin-bottom: -10px;
    margin-left: 40px;
    width: 325px;
	text-shadow: 0px 0px 1px;
}

#rezo{
	width: 100px; /* 184px; */
    position: absolute;
    top: 120px;
    right: 17px; /* 40px; */
}

#projet{
	border-bottom: 1px solid;
    margin-bottom: 15px;
    margin-left: 5%;
    margin-top: 20px;
    padding-bottom: 12px;
    width: 90%;
}

 #carrousel {
	margin-top: 2%;
}

#vign{
	margin-left: 3%;
}

#carrous{
	
    margin-left: 5%;

}

#ico_html{

	width: 480px;
	margin-top: 0px;
	float: left; 
	margin-left: 6%;

}

#copyright{
	width: 300px;
	margin-left:20px;
	font-size: 13px;
	opacity:0.7;
}



/* --------------------------------------
   Styles CLASS
   -------------------------------------- */

.survol{
   -webkit-transition: all 200ms ease-in;
   -webkit-transform: scale(1);
   -ms-transition: all 200ms ease-in;
   -ms-transform: scale(1);
   -moz-transition: all 200ms ease-in;
   -moz-transform: scale(1);
   transition: all 200ms ease-in;
   transform: scale(1);

}

.survol:hover{
   /* box-shadow: 0px 0px 150px #000000;
	     z-index: 2; */
   -webkit-transition: all 200ms ease-in;
   -webkit-transform: scale(1.5);
   -ms-transition: all 200ms ease-in;
   -ms-transform: scale(1.5);
   -moz-transition: all 200ms ease-in;
   -moz-transform: scale(1.5);
   transition: all 200ms ease-in;
   transform: scale(1.5);
}

.espacement{
	margin-left: 2px;
 	margin-right:2px;
}

.alignement{
	display:inline-block;
	vertical-align:top;
}

.colorfont{
	color: #dfecf3;
}

.couleur{
	color: #dfecf3;
  	opacity: 0.8;
  	line-height: 22px;
  	font-style: 16px;

}

.mescompetences {
    margin-left: 13%;
}

.police {
    font-size: 17px ; 
    font-variant: small-caps;
}



/* --------------------------------------
   			CAROUSEL
   -------------------------------------- */

	
	/*  Styles DIESES
	----------------------- */
	
	#vignettes{
		width:100%; 
		margin-top:-5px;
		
	}

	#diapo{
		
		width: 96%; 
		padding:8px;
		border:1px solid #dfecf3;
		overflow:hidden;
	
	}

	#diapo ul{
		list-style-type:none;
		width:100%; 
		margin-top: 0px;
		padding-left: 0;
		
	}

	#diapo ul  li{
		overflow:hidden;
	}

	#diapo ul  li img{
		width: 100%;
	}


	#bloclegende{
		width: 100%; 
		background-color:rgba(255, 255, 255, 0.2);
		text-align:left;
	/*	margin-top: -3px; */
		padding: 0 0 15px 0;
		color: #DFEBE9; /*#dfecf3 #DFECFE #DFEEF9 */
		vertical-align:bottom;
		
	}

	#legende{
		width: 92%; 
		padding: 0 4%;

		
	}

	
	#spam{
		margin-left: 5%;
		margin-top: 20px;
		width: 90%;
	}

	#spambloc{ 
		padding-bottom: 10px;
	}
	
	.spamText{
		font-size: 110%;
		padding:20px;
	}
	

	/*  Sttyles CLASSES
	------------------------ */

	.puce{
		width: 60px; 
		height: 40px;  
		display:inline-block;
		margin:8px; 
		cursor:pointer;
		vertical-align:top;
		 opacity:0.6; 
		border: 6px solid transparent;
		box-shadow: 0px 0px 3px 1px #dfecf3;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
	}

	.activated{
		opacity:1; 
		box-shadow: 0px 0px 3px 3px #dfecf3; 
	}

	.activated:hover{
		/* box-shadow: 0px 0px 3px 2px #dfecf3;
		 border-bottom:1px solid #4ca5d0; */
	}




/* --------------------------------------
   Media Queries
   -------------------------------------- */
   


@media (max-width: 1024px) {
	
	

	
		.puce{
		width: 45px; 
		height: 30px;  
		/*margin: 3%; */
	}
	
	#projet{

	    margin-left: 6.5%;

	    width: 87%;
	}

	#vign {
	    margin-left: 4.5%;
	}


	#ico_html{

		margin-left: 8%;

	}

}

@media (max-width: 940px) {
	

	article {
	    margin-bottom: 30px;
	    margin-top: 30px;
	    padding: 0;
	}
	
	.puce{
		width: 50px; 
	}


	#ico_html{

		margin-left: 8%;

	}	

}


@media (max-width: 812px) {

	#vign{
		margin-left: 2%;
	}
	

	section {
		width: 130%;
	}

	.puce{
		width: 20%; /* 43px */
	}

	#carrous {
	    margin-left: 8%; /* 10px */
	}

	article {
	    margin-top: 10px;
	}


}



@media (max-width: 800px) {

	#vign{
		margin-left: 3%;
	}
	

	section {
		width: 120%;
	}

	article {
	    margin-top: 8px;
	}

	.puce{
		width: 20%; /* 43px */
	}


}


@media (max-width: 768px) {

	/* Styles GENERAUX
	---------------------------  */

	header {
	    margin-left: 0;
	    text-align: center;
	}

	h1{
		font-size: 17px;
		margin-left: 12px;

	}

	
	h2 {
	    font-size: 21px; 
	}

	section{
		width: 128%;
		margin: 3% -6%;
		
	}

	article {
	    	margin-top: 0px;
	}

	footer{
/*		text-align: center;
*/		margin-left: 0;
	    padding-left: 3%;
	}

	footer #ico_html img{
		height: 24px;
	    width: auto;
	}



	/* Styles DIESE
	---------------------------  */

	#tiret {
	    margin-left: 0;
	}

	#identite p {
	   font-size: 39px;
	   margin-left: 0;
	   width: 100%;
	}

	#identite p span{
		font-size: 34px;
	}

	#rezo{
		width:40%;
		top: 107%; /* 22%; */
		right: 30%;
	}

	#projet{
		text-align: center;
	}

	#carrousel {
	    margin-top: 2%;
	}	

	#vign {
	    margin-left: 7%;
	}

	#vignettes {
	    margin-top: -2px;
	}


	#carrous {
	    margin-left: 10px;
	    padding-left: 3%;
	    margin-top: 2%;
	}

	#ico_html {
		margin-left:5%;
	    width: 100%;
	}

	#copyright {
	    margin-left: 2%;
	    width: 70%;
	    font-size: 80%;
	    line-height: 143%;
	    margin-top: -1%;
	}



	/* Styles CLASS
	---------------------------  */

	.espacement{
			margin-left:1%;
			margin-right:1%;
	}

	.navbar-responsive-collapse {
	    
	    top: 0px;  /* 43px */ 
	   
	}

	.navbar ul {
	    float: left;
	}	


	.navbar-nav {
	    margin-top: 8px;	/* 25px */ 
	    width: 100%;
	    margin-bottom: 0px;	/* 15px */
		margin-right: 0px; 
	}
	
	.navbar ul li {   
	    text-align: center;	/* left */
	    width: 21%;	/* 96% */
	    margin: 0 2%;
	}


	.navbar-nav > li > a {
	 	padding-bottom: 20px;    
	    padding-left: 0px;   
    	padding-top: 15px ;
    	line-height: 30px ;
	    
	}

	.nav > li > a {
		padding: 10px 0px !important;

	}

	.puce {
	    width: 20%;
	    height: 26px;
	}
	
	.police {
	    font-size: 100%;
	    
	}



}



@media(max-width:740px){

	.navbar-responsive-collapse {
	    
	    top: 43px ; /*  */
	   
	}

	.navbar ul li {

	    text-align: left;
	    width: 96%;
	    margin: 4% 2%;

	}

	.nav > li > a {
    	padding: 10px 10px !important;
	}

	#vign {
	    margin-left: 0;
	}

	section {
		width: 100%;
	    	margin: 3% 0%;
	}

	#carrous {
	    margin-left: 0;
	    padding-left: 3%;
	    margin-top: 10%;
	}

	.puce {
	    width: 12%;
	    height: 40px;
	}


}


@media screen and (max-width: 478px){
		
	/* Styles GENERAUX
	---------------------------  */
			
	h1 {
	    font-size: 15px; 
		margin-left: 0;
		width: 100%;
	}

	h2 {
	    
	    font-size: 20px;
	}
	
	footer{
	    text-align: center;
	    padding-left: 2.5%;

	}

	footer #ico_html img{
		height: 24px;
	    width: auto;
	}



	/* Styles DIESE
	---------------------------  */


	#tiret {
	   width: 85px;
	}

	#identite p {
	   font-size: 35px;
	   margin-left: 0;
	   width: 100%;
	}

	#identite p span{
		font-size: 30px !important;
	}

	#rezo{
		width:45%;
		top: 110%;
		right: 27%;
	}

	#rezo img{
	   width: 24px !important;
	   height: 24px !important;
	}

	#compet2 .col-sm-6 {
	    padding-left: 0;
	    padding-right: 0;
	    
	}

	#ico_html {
		margin-left:0;
	    width: 100%;
	}

	#copyright {
	    margin-left: 0;
	    width: 70%;
	    font-size: 80%;
	    margin-top: 0;
	}
	
	/* Styles CLASS
	---------------------------  */

	.navbar-nav {
	    margin-bottom: 15px;
	    
	}
/*	
	.navbar ul li {
		width: 94%;
	}
*/
	.police {
    	font-size: 100%;
    
	}

	.puce{
		width: 19%; 
	 	height: 32px; 
		

	}

}

@media screen and (max-width: 320px){

	#main{
		width: 80%;
	}

	#identite p {
	   font-size: 28px;
	   margin-left: 0;
	   width: 100%;
	}

	#identite p span{
		font-size: 24px !important;
	}

	#rezo{
		width: 100%;
		right: 1%;
		top: 113%;
	}

	#rezo img{
		width: 20px !important;
		height: 20px !important;
	}

	h2 {
	    font-size: 19px; 
	}

	.navbar-nav {
	    margin-bottom: 15px;
	    
	}
/*	
	.navbar ul li {
		width: 91%;
	}
*/	

	section{
		width: 100%;
		margin: 3% 0;
	}

	#vign {
	    margin-left: 0;
	}


	#carrous {
	    padding-left: 7px;
	    padding-right: 14px;
	    margin-left: 0;
	}
	
	#copyright {
	   
	    margin-top: 5px;
	}


}