/*

    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;

}



/*  General CSS*/
body{
  background-color: #f8f8ff;


  
}

.wrapper{
    width: 92.72727272727273%;
    margin: 0 auto;
}

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: "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 }

.clearfix:before,  
.clearfix:after {  
    content: " ";  
    display: table;  

}  
.clearfix:after {  
    clear: both;  
}  
 
.clearfix {  
    *zoom: 1;  


}







/*  Header  */
@media (min-width:1099px){


    .logo2 {

        display: none;
    }
    header{
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 250px;
        min-height: 100%;
        padding: 0 0 0 50px;
        background-color: #2F2E33; 
        float: left;
        overflow: hidden;
        z-index: 9999;


    }

    header .logo{
        margin-top: 100px;
       width: 150%;
      margin-left: -32%;
       

      

    }

    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: white;
        font-family: "raleway-regular", arial;
        font-size: 14px;
        text-decoration: none;
        letter-spacing: 1px;
    }

    header nav ul li a:hover,
    header nav ul li a.selected{
        color: #fcbd8d;
        transition-duration: 0.3s;

    }

    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/sm3.png') no-repeat;
        background-position: 0 0;
    }


    header ul.social li a:hover{
        background: url('../img/sm_hover2.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: white;
        font-family: "raleway-regular", arial;
        font-size: 11px;
        letter-spacing: 1px;
        line-height: 18px;
    }

    header .rights a{
        color:white;
        text-decoration: none;
         font-family: "raleway-regular", arial;
            font-size: 11px;
        letter-spacing: 1px;
        line-height: 18px;
    }
     header .rights a:hover{
        color: #fcbd8d;
        transition-duration: 0.3s;


        
    }
    #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: 100%;
    padding-left: 300px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    z-index: 55;
    background: #F8F8FF;
    clear: both;
}







/*  Home/portfolio  */
.main .work{
    display: block;
    width: 33.333333333333333%;
    height: auto;
    float: left;
    position: relative;
    overflow: hidden;

  
    
}

.main .work .media{
    width: 100%;
    vertical-align: middle;
}

.main .work .caption{
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0; 
    left: 0;
    background: #ffffff;
    opacity: 0;
     transition: 0.3s;
}


.main .work a:hover .caption{
    opacity: 0.85;
      transition: 0.3s;
}


.work .caption .work_title{
    display: block;
    width: 100%;
    position: absolute;
    text-align: center;
    top: 50%;
    margin-top: -40px;
}

.main .work .caption h1{
    position: relative;
    display: inline-block;
    max-width: 90%;
    padding: 20px 0;
    z-index: 77;
    color: #454545;
    font-family: "raleway-regular", arial;
    font-size: 16px;
    letter-spacing: .5px;
    border-bottom: 1px solid #bfbbbb;
    border-top: 1px solid #bfbbbb;
}







/*  Inner Page  */
.top{
    width: 100%;
    height: 200px;
    overflow: hidden;
    display: block;
    position: relative;
    background: url('../img/banniere.jpg') no-repeat;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-position: 10% 10%;
}

.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: "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;
    left: 50%;
    margin-left: -46.36363636363637%;
}

.content{
    color: #4b4848;
    font-family: "raleway-regular", arial;
    font-size: 15px;
    line-height: 22px;
    padding: 60px 30px;
    background: #fff;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

.content p{
    color: #4b4848;
    font-family: "raleway-regular", arial;
    font-size: 15px;
    line-height: 24px;
    margin-bottom: 60px;
}

.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6{
    color: #4b4848;
    font-family: "raleway-semibold", arial;
    font-weight: bold;
    line-height: 28px;
    margin-bottom: 30px;

}







/*  Contact page map  */
#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;
}

#map img{
    max-width: none;
}







/*  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:1099px){
     .logo2 {

        display: content;
    }
     .logo{

        display: none;
    }
 
    header{
        display: block;
        width: 100%;
        min-height: 100px;
        padding: 0;
        position: relative;
           background-color: #2F2E33; 

text-align: center;

    }
    header .logo2{
       

       float: left;
       width: 250px;
 
       margin: 30px 0 30px 30px ;
     
    }
    header .footer{
        display: none;
    }
    header #menu_icon,
    header .close_menu{
        float: right;
        margin: 30px 30px 0 0;
      
    }
    
    header nav{
        width: 100%;
        position: absolute;
        top: 100px;
        left: 0;
        z-index: 9999;
    }

    header nav ul{
        list-style: none;
        display: none;
        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:hover{
      
           color: #fcbd8d;
        transition-duration: 0.2s;

    }
    header nav ul li a:active{
        background: #f7f5f5;
           color: #fcbd8d;
        transition-duration: 0.3s;

    }
    #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%;
    }

  
}


/* demo réel */

.video-responsive { 
overflow:hidden; 
padding-bottom:55%; 
position:relative; 
height:0;
width: 80%;
margin-left: 10%;
}

.video-responsive2 iframe {
left:0; 
top:0; 
height:100%;
width:100%;
position:absolute;
}

.video-responsive2 { 
overflow:hidden; 
padding-bottom:44.97%; 
position:relative; 
height:0;
width: 80%;
margin-left: 10%;
}

.video-responsive iframe {
left:0; 
top:0; 
height:100%;
width:100%;
position:absolute;
}

#texte_demo h1{

    text-align:center;
    margin-top: 5%;
}

#texte_demo h6{

  text-align:center;
  margin-bottom: 5%;
 
}
#texte_demo img{
    width: 95%;
    max-width: 100%;
    height: auto;
    margin-left: 2.5%;
    margin-top: 2.5%;

}
#texte_affiche {
   background-color:#FFFAFA;
}
#texte_affiche img{
    width: 60%;
    max-width: 100%;
    height: auto;
    margin-left: 20%;
    margin-top: 20%;


}

#texte_affiche2 img{
    width: 60%;
    max-width: 100%;
    height: auto;
    margin-left: 20%;
    margin-top: 20%;


}

/* Barre souris */

::-webkit-scrollbar{
  width: 10px;
}
::-webkit-scrollbar-track{
  background-color: #2F2E33;
}
 
::-webkit-scrollbar-thumb{
  background-color: white;
  border-radius: 5px;
}
 
::-webkit-scrollbar-button{
  background-color:#2F2E33;
  height: 4px;
}
 
::-webkit-scrollbar-corner{
  background-color: white;
}


/* Infos */




#texte_infos {
    width: 100%;

margin-top: 5%;


}




#bloc_infos_photo  {

  width: 60%;


  height: auto;

margin: auto;
    margin-top: 2%;
    margin-bottom: 2%;
}
#bloc_infos_photo  {
    max-width: 300px;
}

 #bloc_infos_texte {

 width: 80%;
 margin-left: 10%;


 
}
 #bloc_infos_texte h1{

    text-align:center;
    margin-top: 5%;
    margin-bottom: 5%;
}



/* page contact */ 



.contact-section h1{
  text-align: center;

  margin-top: 10%;
}
.border{
  width: 100px;
  height: 10px;
  background: #2F2E33;
  margin: 40px auto;
    padding: 0;
}

.contact-form{
  max-width: 600px;
  margin: auto;
  padding: 0 10px;
  overflow: hidden;
}

.contact-form-text{
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 16px 0;
  border: 0;
  background: #fcbd8d;
  padding: 20px 40px;
  outline: none;
  color:  #2F2E33;
  transition: 0.5s;
  font-weight: bold;
}
.contact-form-text:focus{
  box-shadow: 0 0 10px 4px #34495e;
}
textarea.contact-form-text{
  resize: none;
  height: 120px;
}
.contact-form-btn{
  float: right;
  border: 0;
  background: #2F2E33;
  color: #fff;
  padding: 12px 50px;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.5s;
}
.contact-form-btn:hover{

  color:#fcbd8d;
}

#cache {
   
    
   
   
    width: 10%;

  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}

#cache a {
   text-decoration: none;
}
#cache a:hover{
 color: #fcbd8d;
}

.cache2 {

  
}

#conteneur {
   
 display: flex; /* contexte sur le parent */
  flex-direction: column; /* direction d'affichage verticale */
  justify-content: center; /* alignement vertical */

  margin-top: 5%;
  margin-bottom: 5%;

}
  /* Vidéo fichier responsive*/


  #video {




position: relative;
width: 100%;
margin-left: 2.5%;
margin-top: 2%;


}
  #video video {

width: 95%;
height: auto;

  }



