/*

    Template Author : pixelhint.com
    Author Email    : contact@pixelhint.com
    Template Name   : Magnetic
    
    
    *****************************************
    
    
    - Fonts
    - General CSS
    - Header
    - Home/portfolio 
    - Inner page 
    - Map/Contact page  
    - Tooltip 
    - Responsive code
  
    
*/



/*  Fonts  */
@font-face {
    font-family: 'raleway-regular';
    src: url('../fonts/raleway-regular.eot');
    src: url('../fonts/raleway-regular.eot?#iefix') format('embedded-opentype'),
         url('../fonts/raleway-regular.woff') format('woff'),
         url('../fonts/raleway-regular.ttf') format('truetype'),
         url('../fonts/raleway-regular.svg#ralewayregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

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

}

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

}

	/* Rajout */
@font-face { 
 	font-family: 'AGENCYR'; 
    src: url('../fonts/AGENCYR.eot');
    src: url('../fonts/AGENCYR.eot?#iefix') format('embedded-opentype'),
         url('../fonts/AGENCYR.woff') format('woff'),
         url('../fonts/AGENCYR.ttf') format('truetype'),
         url('../fonts/AGENCYR.svg#AGENCYR') format('svg');
    font-weight: normal;
    font-style: normal;
 }

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


/*  General CSS*/
body{
    background: #fff;
}

.wrapper{
    width: 92.72727272727273%;
    margin: 0 auto;

	float: left;
    /*left: 50%;*/
    /*margin-left: -46.36363636363637%;*/
	border-bottom: 0.5px solid #bfbbbb;
}
}

header ul.social li a,
.main .work a .caption,
header nav ul li a{
    transition:all .1s linear;
    -webkit-transition:all .1s linear;
    -moz-transition:all .1s linear;
    -o-transition:all .1s linear;
}

h1, /*h2, h3,*/ h4, h5 ,h6{
    color: #4b4848;
    font-family: "AGENCYR" /*va po*/, "raleway-regular", arial;
    letter-spacing: 1px;
}



h1              { font-size: 2em; margin: .67em 0 }
/*h2              { font-size: 1.5em; margin: .75em 0 }*/
/*h3              { font-size: 1.17em; margin: .83em 0 }*/
h5              { font-size: .83em; margin: 1.5em 0 }
h6              { font-size: .75em; margin: 1.67em 0 }
h1, /*h2, h3, h4,*/
h5, h6          { font-weight: bolder }

/* Explication de clearfix http://www.web-d.be/post/263/css-float-:-le-parent-s%27adapte-avec-clearfix.html + Display : table; Permet de simuler une structure en tableau, de façon propre car en CSS -> http://iamvdo.me/blog/imbrication-de-boites-en-css-avec-display-table*/
.clearfix:before,  
.clearfix:after {  
    content: " "; /* Bug Opera */ 
    display: table; /* Pour que :before contienne le margin-top des éléments enfants */
}  
.clearfix:after {  
    clear: both;  
}  
 
.clearfix {  
    *zoom: 1; /* Pour IE 6 et 7 */ 
}







/*  Header  */
@media (min-width:1000px){
    header{
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 250px;
        min-height: 100%;
        padding: 0 0 0 50px;
        background: #ffffff; 
        float: left;
        overflow: hidden;
        z-index: 9999;
    }

    header .logo{
        margin-top: 100px;
    }

    header nav ul{
        display: block;
        overflow: hidden;
        margin-top: 100px;
        list-style: none;
    }

    header nav ul li{
        display: block;
        margin-bottom: 30px;
    }

    header nav ul li a{
        color: #454545;
        font-family: "AGENCYR", "raleway-regular", arial;
        font-size: 20px; /* 14px; avec "raleway-regular"*/
		font-weight: normal;
        text-decoration: none;
     }

    header nav ul li a:hover,
    header nav ul li a.selected{
        color: #000000; /*969595;*/
		font-family: "AGENCYR", "raleway-semibold", arial;
		/*font-weight: bold; /* ca fé tri gro ka meme */
		font-weight: normal;
		border-bottom: 0.5px solid #bfbbbb;
    	border-top: 0.5px solid #bfbbbb;
    }

    header .footer{
        position: absolute;
        bottom: 50px;
    }

    header ul.social{
        list-style: none;
        margin-bottom: 5px;
    }

    header ul.social li{
        display: block;
        float: left;
        position: relative;
        margin: 0 15px 15px 0;
    }


    header ul.social li a{
        display: block;
        width: 30px;
        height: 30px;
        background: url('../img/sm.png') no-repeat;
        background-position: 0 0;
    }


    header ul.social li a:hover{
        background: url('../img/sm_hover.png') no-repeat;
    }



    header ul.social li a.fb,
    header ul.social li a.fb:hover{
        background-position: 0 0;
    }


    header ul.social li a.google,
    header ul.social li a.google:hover{
        background-position: -31px 0;
    }

    header ul.social li a.behance,
    header ul.social li a.behance:hover{
        background-position: -62px 0;
    }

    header ul.social li a.twitter,
    header ul.social li a.twitter:hover{
        background-position: -93px 0;
    }

    header ul.social li a.dribble,
    header ul.social li a.dribble:hover{
        background-position: -124px 0;
    }

    header ul.social li a.rss,
    header ul.social li a.rss:hover{
        background-position: -155px 0;
    }

    header .rights p{
        color: #454545;
        font-family: "raleway-regular", arial;
        font-size: 11px;
        letter-spacing: 1px;
        line-height: 18px;
    }

    header .rights a{
        font-family: "raleway-bold", arial;
        font-weight: bold;
        text-decoration: none;
    }
    #menu_icon,
    .close_menu{
        display: none;
    }

}

#menu_icon,
.close_menu{
    float: right;
    margin-right: 40px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    background: url('../img/men_icons.png') no-repeat;
}

#menu_icon{    
    background-position: 0 0;
}
.close_menu{
    background-position: -41px 0!important;
}






/*  Main  */
.main{
    width: 100%;
    height: auto; /* 100%; */
    padding-left: 300px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    z-index: 55;
    background: #FFF; /*f6f6f6; = gris clair */
	clear: both;
}







/*  Home/portfolio  */
.main .work{
    display: block;
	width: 33.33333333333333%;   
	height: auto;
    float: left;
    position: relative;
    overflow: top; 
	background-color: #F00;
}

.main .work .media{
    width: 100%;
    vertical-align: top; /* middle; */
}

.main .work .caption{
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0; 
    left: 0;
    background: #ffffff;
    opacity: 0;
}

.main .work a:hover .caption{
    background: #E6E6E6;
	opacity: 0.95; 
}

.work .caption .work_title{
    display: block;
    width: 100%;
    position: absolute;
    text-align: center;
    top: 50%;
    margin-top: -40px;
	background: #ffffff;
	opacity: 1;
}

.main .work .caption h1{
    position: relative;
    display: inline-block;
    max-width: 90%;
    padding: 20px 0;
    z-index: 77;
    color: #000000;
    font-family: "AGENCYR", "raleway-regular", arial;
    font-size: 16px;
	font-weight: normal;
    letter-spacing: .5px;
    border-bottom: 1px solid #bfbbbb;
    border-top: 1px solid #bfbbbb;
}



/* Essai */
div#divacacher {
	display: none;
	float: right;
	background-color: #F90;
	/*padding: 4px 3px 0 4px; /* haut, droite, bas, gauche*/
}



/*  Inner Page  */
.top{
    width: 100%;
    height: 350px;
    overflow: hidden;
    display: block;
    position: relative;
    background: no-repeat; /*url('../img/logo.jpg') no-repeat;*/
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-position: 50% 50%;
}


.work_nav{
    display: block;
    width: 100%;
}

/*.work_nav .btn{
    float: right;
}*/

.work_nav ul{
    list-style: none;
}

.work_nav ul li{
    display: block;
    float: left;
    margin: 0 0 1px 1px;
    position: relative;
}

.work_nav a{
    display: block;
    width: 40px;
    height: 40px;
    background: url('../img/p_navigation.png') no-repeat;
    background-position: 0 0;
}

.work_nav a.previous{
    background-position: 0 0;
}

.work_nav a.grid{
    background-position: -41px 0;
}

.work_nav a.next{
    background-position: -82px 0;
}

.top .title{
    display: block;
    width: 100%;
	color: #4b4848;
    font-family: "AGENCYR", "raleway-bold", arial;
    font-size: 26px;
    font-weight: bold;
    background: rgba(255, 255, 255, .7);
    padding: 20px;
    text-transform: uppercase;
    line-height: 30px;
    margin: 0!important;
    overflow: hidden;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;

}

.content_header{
    position: absolute;
    bottom: 0;
    margin: 0 auto;
	border-bottom: 0.5px solid #bfbbbb;
}

.content{
    color: #4b4848; /*#69C;*/
    font-family: "raleway-regular", arial;
    font-size: 15px;
    line-height: 22px;
    box-sizing: border-box;
		-webkit-box-sizing: border-box;
   		-moz-box-sizing: border-box;
    	-ms-box-sizing: border-box;
}

.content p{
    /*color: #4b4848;*/
    font-family: "raleway-regular", arial;
    font-size: 15px;
	text-align: justify;
    line-height: 24px;
    margin-bottom: 10px;
}

/*.content h1,*/
.content h2,{
    color: #4b4848; /*#69C;*/
    font-family: "AGENCYR", "raleway-semibold", arial;
    font-weight: bold;
    line-height: 28px; 
    margin-top: 50px; /*Rajout;*/
	margin-bottom: 10px; /*30px;*/
}

.content h3{
    color: #4b4848;
    font-family: "AGENCYR", "raleway-semibold", arial;
    font-size: 10px;
	font-weight: normal;
	text-align: center;
    line-height: 14px; 
    margin-top: 5px;
	margin-bottom: 5px;
}

.main_about {
    display: flex;
		display: -webkit-flex;
  		display: -ms-flexbox;
	flex-wrap: wrap;
		-webkit-flex-wrap: wrap;
  		-ms-flex-wrap: wrap;
	width: 100%; 
	margin: 4px;
	border-collapse: seperate;
}
.main_about .work{
    display: flex;
		display: -webkit-flex;
  		display: -ms-flexbox;
	width: 30.66666666666667%;
	background-color: #FFF;
	margin: 4px;
	padding: 15px;
	/*box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15) inset;*/
}

.main_about .work p{
    /*color: #4b4848;*/
    font-family: "raleway-regular", arial;
    font-size: 13px;
	text-align: justify;
    line-height: 24px;
    margin-top: 10px;
	margin-left: 8px;
	margin-right: 8px;
}

.main_about .work h1{
    color: #4b4848;
    font-family: "AGENCYB", "raleway-semibold", arial;
    font-size: 30px;
	font-weight: normal;
	text-align: justify; /*left;*/
    line-height: 40px;
	letter-spacing: -0.7px;
	transform: scaleY(2.3); 
		-moz-transform: scaleY(2.3);
		-webkit-transform: scaleY(2.3);  
		-o-transform:scaleY(2.3);
		-ms-transform:scaleY(2.3);
		-khtml-transform:scaleY(2.3);
}
.main_about .work h2 a {
	color: #69C;
    font-family: "AGENCYB", "raleway-semibold", arial;
    font-size: 18px;
	font-weight: normal;
	text-align: justify; /*left;*/
	/*vertical-align: baseline;*/
    line-height: 25px;
    margin-bottom: 35px;
	font-variant: small-caps;
	letter-spacing: 4.6px;	
    text-decoration: none;
}

.main_about .work h2 a:hover{
	/*color: #FFF;
	background-color: #69C;*/
	text-decoration: underline;
}

.main_about .work h3{
    color: #4b4848;
    font-family: "AGENCYB", "raleway-semibold", arial;
    font-size: 18px;
	font-weight: normal;
	text-align: center ; /*left;*/
    line-height: 20px;
    margin-bottom: 25px; /* 60px; */
	/*margin-left: 8px;
	margin-right: 4px;*/
}

.main_about .work h4{
    color: #4b4848;
    font-family: "AGENCYB", "raleway-semibold", arial;
    font-size: 15px;
	font-weight: normal; /* bold ;*/
	text-align: right;
	vertical-align: baseline;
    line-height: 10px;
    /*margin-bottom: 10px;
	margin-left: 8px;
	margin-right: 4px;*/
}
.main_about .work h5{
    color: #4b4848;
    font-family: "AGENCYB", "raleway-semibold", arial;
    font-size: 12px;
	font-weight: normal; /* bold ;*/
	text-align: right;
	vertical-align: text-bottom;
    /*line-height: 0.2px;*/
    margin-top: -1px;
	/*margin-left: 8px;
	margin-right: 4px;*/
}





/*  Contact formulaire map  */
.work_coordonnees{
    display: block; /*inline-block;*/
	width: 30.66666666666667%; /* 100 - 8px des margin / 3 colonnes  Avant = 33.33333333333333%;*/  
	height: auto;
    float: left;
    position: relative;
    /*overflow: top; /* middle;*/
	/*background: none; /* #E6E6E6; = gris clair */
	margin: 4px;
	border-bottom: 0.5px solid #bfbbbb;
    border-top: 0.5px solid #bfbbbb;
}

.work_coordonnees_img{
	display: inline-block;
	width: 40%;
	height: auto;
	background: #963; 
    vertical-align: top;
    float: left;
	margin: 0 auto;
}

.work_coordonnees_img .media_qr{
    width: 100%;
    vertical-align: top; /* middle; */
	margin: 0 auto;
}

/*#code_qr{
	text-align: left;
}
#code_qr img{
	text-align: left;
}*/

.work_coordonnees_text{
	display: inline-block;
	width: auto; /*40%;*/
	background: #C6F;
	height: auto;
    float: left; 
	vertical-align: top;
	margin: 0 auto;
}

.work_coordonnees_text p{
    color: #4b4848;
    font-family: "raleway-regular", arial;
    font-size: 13px;
	text-align: left; /*center;*/
    line-height: 24px;
	margin-top: 25px;
	margin-left: 5px;
}


.work_coordonnees_signature{
	display: block;
	width: 100%; /*auto; /*40%;*/
	background: # C6F;
	height: auto;
    float: left; 
	vertical-align: top;
	margin: 0 auto;
}

.work_coordonnees_signature h4{
    color: #4b4848;
    font-family: "AGENCYB", "raleway-semibold", arial;
    font-size: 14px;
	font-weight: normal; /* bold ;*/
	text-align: right; /*center;*/
    line-height: 18px; /*28px;*/
    margin-top: 50px;
	margin-bottom: 5px; /*10px; /* 60px;*/ 
	/*margin-left: 8px;
	/*margin-right: 4px;*/
}

.work_coordonnees_signature h2{
    color: #4b4848;
    font-family: "AGENCYB", "raleway-semibold", arial;
    font-size: 10px;
	font-weight: normal; /* bold ;*/
	text-align: right; /*center;*/
    line-height: 14px; /*28px;*/
	margin-bottom: 5px; /*10px; /* 60px;*/ 
	/*margin-left: 8px;
	margin-right: 4px;*/
}




form label {
	display: inline-block;
	width: 48.65%;
	float: left;
	margin-bottom: 2.5px;
	border: none;
	/*text-align: left;*/
}

form input {
	display: inline-block;
	width: 48.65%;
	margin-bottom: 10px;
	background-color: #FFF;
	border: none;
	font-family: 'HelveticaNeueLT Std Lt Cn', Arial, Verdana, Geneva, sans-serif;
	font-size: 13px;
	color: #666;
}

.input_nom {
	margin-right: 4px;
}

.input_prenom {
	margin-left: 9px;
}

form textarea {
	display: block;
	width: 100%;
	heigth: 75px;
	background-color: #FFF;
	border: none;
	font-family: 'HelveticaNeueLT Std Lt Cn', Arial, Verdana, Geneva, sans-serif;
	font-size: 13px;
	color: #666;
}

form input[type="submit"] {
 	width: 100%;
 	margin-top: 10px;
 	font-family: 'HelveticaNeueLT Std Lt Cn', Arial, Verdana, Geneva, sans-serif;
 	font-size: inherit;
 	color: white;
	text-align: center;
 	background: #000;
}

.label {
	display: block;
	width: 100%;
	margin-bottom: 2.5px;
	border: none;
}

.input {
	display: block;
	width: 100%;
	margin-bottom: 10px;
	background-color: #FFF;
	border: none;
	font-family: 'HelveticaNeueLT Std Lt Cn', Arial, Verdana, Geneva, sans-serif;
	font-size: 13px;
	color: #666;
}




#map .map_adresse{
    font-family: 'raleway-regular', arial;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 1px;
}

#map .map_address,
#map .map_tel{
    padding: 5px;
}

#map .map_address .address,
#map .map_tel .tel{
    font-family: 'raleway-bold', arial;
    font-weight: bolder;
}







/*  Tooltip  */
.tooltip{
    display: block;
    padding: 7px 10px;
    background: #454545;
    color: #fff;
    font-family: "raleway-regular", arial;
    font-size: 12px;
    position: absolute;
    white-space: nowrap;
    z-index: 999;
    opacity: 0;
    text-align: center;
    letter-spacing: .5px;

}

.tooltip:after{
    content: '';
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 3px 3px 0 3px;
    border-color: #454545 transparent transparent transparent;
    display: block;
    text-align: center;
    position: absolute;
    bottom: -3px;
    left: 50%;
    margin-left: -3px;
}







/*  Responsive code  */
@media (max-width:1100px){

    header{
        display: block;
        width: 100%;
        min-height: 100px;
        padding: 0;
        position: relative;
    }
    header .logo{
        margin: 40px 0 0 30px;
        display: inline-block;
    }
    header .footer{
        display: none;
    }
    header #menu_icon,
    header .close_menu{
        float: right;
        margin: 30px 30px 0 0;
    }
    header nav ul{
        list-style: none;
        display: none;
        margin-top: 35px;
        position: relative;
    }
    header nav ul li a{
        display: block;
        width: 100%;
        padding: 30px 0;
        text-align: center;
        color: #454545;
        font-family: "raleway-regular", arial;
        font-size: 14px;
        text-decoration: none;
        border-top: 1px solid #f7f5f5;
        background: #fff;
    }
    header nav ul li a:active{
        background: #f7f5f5;
    }
    #menu_icon,
    .close_menu,
    .show_menu{
        display: block;
    }
    .show_menu{
        display: block;
    }

    .main .work{
        width: 50%;
    }
    .main{
        width: 100%;
        position: relative;
        padding-left: 0;
    }
    #map{
        margin: 0!important;
    }
}

@media (max-width:550px){
     .main .work{
	width: 100%;
    }
}
