@import url(http://fonts.googleapis.com/css?family=Exo+2:400,400italic,500,600,700);

* {
    font-family: 'Montserrat', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 20px!important;
    line-height: 100%!important;
    text-align: left!important;
}

p, li{
    text-align:  justify;
    text-justify: auto;
    font-size: 1.1em;
}

p{
    margin: 40px 0;
}
    

a{
    font-size: 1.1em;
}

body {
    background-attachment: fixed;
    padding-bottom: 100px;
}

/* Header */

.navbar-default {
    background-color: #ffffff;
    height: 48px;
    box-shadow: 0px 0px 10px #000;
    background: transparent url(./img/header-bg-2.jpg) repeat-x left top;
    border-width: 0;
    border-radius: 0;
    border-color: transparent;
    margin: 0;
}

.navbar-default .container-fluid {
    background: transparent url(./img/header-grid-bg-2.png) no-repeat center top;
    /*background-position: 140px -4px;*/
}

#yltec-logo {
    position: absolute;
    z-index: 1000;
    background: #ffffff url(./img/header-bg-2.jpg) repeat-x left top;
    top: 0px;
    border-radius: 6px;
}

#yltec-logo img{
    padding: 15px 20px 10px 20px;
    background: transparent url(./img/header-grid-bg-2.png) no-repeat -130px 0px;
    border-radius: 6px;
}

.navbar-nav > li > a, navbar-nav > li:hover > a, .navbar-nav > li:focus > a, .navbar-nav > li.active > a{
    background: none!important;
    text-transform: uppercase;
    text-decoration: none;
    outline: none;
    font-weight: 500!important;
    color: #000 !important;
}

.navbar-nav > li.divider::after {
    content: "|";
    line-height: 50px;
}

.navbar-nav > li.divider:last-child::after{
    content: "";
}

@media (min-width: 1200px) {

    .navbar-nav{
        padding-right: 100px;
    }

}

/* master slide */

.ms-caption{
    font-size: 38px;
    color: #484848;
    text-shadow: 0px 0px 20px #ffffff;
    padding: 33.5px 100px;
    text-align: left;
    background: -moz-linear-gradient(bottom right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 99.99%);
    background: -webkit-linear-gradient(bottom right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 99.99%);
    background: -ms-linear-gradient(bottom right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 99.99%);
    background: -o-linear-gradient(bottom right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 99.99%);
    right: 0px;
    top: 50px;
}

.ms-caption-full-gradient{
    background: -moz-linear-gradient(bottom right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 99.99%);
    background: -webkit-linear-gradient(bottom right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 99.99%);
    background: -ms-linear-gradient(bottom right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 99.99%);
    background: -o-linear-gradient(bottom right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 99.99%);
    padding-left: 200px;
}

/* main menu */

#yltec-main-menu{
    position: fixed;
    bottom: 0px;
    left: 0px;
    right: 0px;
    height: 100px!important;
    max-height: 100px;
    background: #858486 url(img/body-2-bg.jpg) repeat center;
}

#yltec-main-menu > div.repeat-bg{
    position: absolute;
    left: 100px;
    right: 100px;
    height: 100px;
    background: #858486 url(img/body-2-bg.jpg) repeat center;
}

#yltec-main-menu > div.right-bg{
    position: absolute;
    right: 0px;
    width: 100px;
    height: 100px;
    background: background: #858486 url(img/body-2-bg.jpg) repeat center;
}


.yltec-menu-item{
    overflow: hidden;
    background-color: #ffffff;
    border: 1px solid #000000;
    margin-top: 8px;
    text-decoration: none!important;
    background-size: 45px 45px;
    background-position: center 0px;
    background-repeat: no-repeat;
    border: 1px solid #484848;
    transition: background 0.5s;
}

.yltec-menu-item:hover{
    background-color: #484848;
}

.yltec-menu-item:hover > span{
    color: #ffffff;
}
.yltec-cintrage{
    background-image: url(img/cintrage-travail-tube.png);
}

.yltec-cintrage:hover{
    background-image: url(img/cintrage-travail-tube-survol.png);
}

.yltec-industrialisation{
    background-image: url(img/industrialisation.png);
}

.yltec-industrialisation:hover{
    background-image: url(img/industrialisation-survol.png);
}

.yltec-prototypage{
    background-image: url(img/prototypage-et-petites-series.png);
}

.yltec-prototypage:hover{
    background-image: url(img/prototypage-et-petites-series-survol.png);
}

.yltec-tolerie{
    background-image: url(img/tolerie-et-chaudronnerie-de-precision.png);
}

.yltec-tolerie:hover{
    background-image: url(img/tolerie-et-chaudronnerie-de-precision-survol.png);
}

.yltec-traitement{
    background-image: url(img/traitement-de-surface-finition.png);
}

.yltec-traitement:hover{
    background-image: url(img/traitement-de-surface-finition-survol.png);
}

.yltec-menu-item > span {
    display: block;
    width: 100%;
    padding: 0 20%;
    position: absolute;
    font-weight: 500;
    margin-top: 85px;
    color: #000;
    text-align: center;
    text-decoration: none!important;
    background: none;
    transition: color 0.5s;
}

.yltec-industrialisation > span{
    margin-top: 100px;
}


.yltec-menu-item{
    display: inline-block;
    width: 48px;
    height: 48px;
    border-radius: 79px;
    margin-right: 5px;
}

.a-footer{
    font-weight: 300;
    font-size: 15pt;
    text-decoration: none;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    margin-top: 7px;
}

.fa-footer{
    position: relative;
    display: inline-block;
    top: 8px;
    margin-left: 10px;
    background-color: #484848;
    overflow: hidden;
    border: 1px solid #fff;
    transition: all 0.5s;
    border-radius: 79px;
    width: 48px;
    height: 48px;
    background-size: 32px 22px;
    background-repeat: no-repeat;
    background-position: center 13px;
}

.fa-footer:hover{
    background-color: #fff;
    border: 1px solid #484848;
}

.enveloppe{
    background-image: url('img/enveloppe.png');
}

.enveloppe:hover{
    background-image: url('img/enveloppe-noir.png');
}

.dl{
    background-image: url('img/dl.png');
}

.dl:hover{
    background-image: url('img/dl-noir.png');
}

.yt{
    background-image: url('img/yt.png');
}

.yt:hover{
    background-image: url('img/yt-noir.png');
}

.fa-footer-2{
    position: relative;
    top: 8px;
    display: inline-block;
    margin-left: 10px;
    background-color: #484848;
    overflow: hidden;
    border: 1px solid #fff;
    transition: all 0.5s;
    border-radius: 79px;
    width: 50px;
    height: 50px;
    background-size: 32px 22px;
    background-repeat: no-repeat;
    background-position: center 11px;
}

.fa-footer-2:hover{
    background-color: #fff;
    border: 1px solid #484848;
}

.fa-footer-3{
    position: relative;
    top: 8px;
    display: inline-block;
    margin-left: 10px;
    background-color: #484848;
    overflow: hidden;
    border: 1px solid #fff;
    transition: all 0.5s;
    border-radius: 79px;
    width: 50px;
    height: 50px;
    background-size: 32px 22px;
    background-repeat: no-repeat;
    background-position: center 13px;
}

.fa-footer-3:hover{
    background-color: #fff;
    border: 1px solid #484848;
}

.a-footer:hover{
    color: #fff;
    text-decoration: none;
}

.form{
    display: inline-block;
    width: 225px;
    top: -12px;
    position: relative;
}

#search-form-q{
    background: #fff url("../img/loupe.png");
    background-repeat: no-repeat;
    padding-left: 42px;
    display: inline-block;
    width: 120px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11pt;
}

.barre_recherche{
    font-size: 18px;
    line-height: 24px;
    margin: 0px;
    float: left;
    border-radius: 4px 0px 0px 4px;
    padding-left: 13px;
    color: #252525;
    height: 30px;
    display: inline-block;
    width: 600px;
    border: 1px solid #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
}

.btn-sub{
    display: inline-block;
    height: 30px;
    padding: 0px 15px;
    background-color: #484848;
    border-radius: 0px 2px 2px 0px;
    border: 1px solid #fff;
    cursor: pointer;
    color: #fff;
    font-size: 9pt;
}

.fa{
    color: #fff;
    cursor: pointer;
}

.trait{
    border-top: 1px solid #000;
    width: 675px;
    margin-left: 250px;
}

/* Contenu */
#societe, #competences, #secteur{
    text-align:  justify;
    text-justify: auto;
}

#societe .container, #competences .container, #secteur .container{
    padding: 120px 10px 90px 10px;
    background-color: #ffffff;
}

#societe p, #competences p, #secteur p{
    display: block;
    clear: both;
}

#societe .container > div, #competences .container > div, #secteur .container > div{
    padding: 0 40px;
}

@media (min-width: 1200px){
    #societe .container, #competences .container, #secteur .container{
        width: 1140px;
    }
}

#societe{
    min-height: 100%!important;
}

.yltec-animated-content .container{
    overflow-x: hidden;
}

.yltec-animated-content h1, .yltec-animated-content h4, .yltec-animated-content p, .yltec-animated-content li {
    opacity: 0;
    position: relative;
}

.yltec-animated-content h1, .yltec-animated-content p, .yltec-animated-content li{
    left: -100px;
}

.yltec-animated-content h4{
    left: 100px;
}

#accueil, #societe, #competences, #secteur, .row{
    margin-left: 0px!important;
    margin-right: 0px!important;
    width: 100%!important;
    max-width: 100%!important;
}

/* menu droite */
.right-menu-container{
    display: block;
    float: right;
}

#right-menu{
    display: block;
    position: fixed;
    z-index: 10;
    padding: 0;
    margin-top: 100px;
    margin-left: -30px;
}

#right-menu li{
    display: block;
    float: right;
    clear: both!important;
    background: #ffffff;
    height: 30px;
    width: 30px;
    border-bottom: 1px solid #535355;
}

#right-menu li a{
    display: block;
    width: 30px;
    height: 30px;
    background-position:  center center;
    background-repeat: no-repeat;
    text-indent: -9999px;
    transition: background 0.5s;
}

#right-menu li a:hover{
    background-color: #484848;
}

.icon-search{
    background-image: url(img/icon-search.jpg);
}

.icon-search:hover{
    background-image: url(img/icon-search-survol.png);
}

.icon-newsletter{
    background-image: url(img/icon-newsletter.png);
}

.icon-newsletter:hover{
    background-image: url(img/icon-newsletter-survol.png);
}

.icon-c{
    background-image: url(img/icon-c.png);
}

.icon-c:hover{
    background-image: url(img/icon-c-survol.png);
}

.icon-msg{
    background-image: url(img/icon-msg.png);
}

.icon-msg:hover{
    background-image: url(img/icon-msg-survol.png);
}

/* 17 sept 2014 */
/* Modification bootstrap */

navbar-nav>li>.dropdown-menu {
    margin-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

@media (min-width: 768px){
    .navbar-right .dropdown-menu {
        left: -1px;
        margin-top: -1px;
        right: auto;
        background-color: rgba(0,0,0,.7);
    }
    
    .navbar-right .dropdown-menu > li > a {
        color: #ffffff;
    }
    
    .navbar-right .dropdown-menu > li > a:before {
        content: "> ";
        position: relative;
        left: -10px;
    }
    
    .navbar-right .dropdown-menu > li:hover > a {
        color: #000000;
    }
    
    .navbar-default .navbar-nav>.open>a, 
    .navbar-default .navbar-nav>.open>a:hover, 
    .navbar-default .navbar-nav>.open>a:focus {
        color: #ffffff!important;
        background-color: rgba(0,0,0,.7)!important;
        padding-top: 10px;
        margin-top: 5px;
        border-top-left-radius: 4px;
        border-top-right-radius: 4px;
    }
}

.circle-img{
    position: relative;
    width: 60%;
    margin: -40px 20% 0 20%;
    height: auto;
    border-radius: 50%;
    overflow: hidden;
}

.circle-img > img{
    width: 100%;
    height: auto;
}

.popup{
    display: none;
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background: rgba(0,0,0,.6);
    z-index: 2000;
}

.popup > .content{
    display: block;
    margin: auto;
    width: 700px;
    height: 400px;
    overflow: auto;
    padding: 40px 0;
    border: 1px solid #484848;
    border-radius: 4px;
    background: #ffffff;
}

.popup > .content > p{
    text-align: center;
}

.popup > .content > .scroller{
    display: block;
    padding: 0 40px;
    height: 100%;
    overflow: auto;
}

.popup .bar{
    display: block;
    float: right;
}

.popup .bar .btn{
    /*position: absolute;
    margin-top: -70px!important;
    margin-left: 38px;
    border: none;
    background: none;
    color: #fff;
    background: #484848;
    height: 28px;
    border: 2px solid #ffffff;
    float: right;
    border-radius: 20px;
    padding: 4px;*/
    display: block;
    position: fixed;
    margin-top: -70px!important;
    margin-left: 38px;
    width: 36px;
    height: 36px;
    background-image: url(fancybox_sprite.png);
    background-position: center 0;
    background-repeat: no-repeat;
    background-color: transparent!important;
}

.popup .bar .btn i{
    display: none;
}

.white-bg{
    
}

/* fancybox */

.fancybox-large{
    display: block;
    clear: both;
}

p.fancybox{
    padding: 30px 0;
}

p.fancybox > a > img{
    padding-right: 10px;
}


.fancybox-large > a , .fancybox-search{
    padding: 10px 20px;
    padding-bottom: 20px;
}

.fancybox-large > a > img, .fancybox-search >img{
    max-width: 100%;
    border: 1px solid #484848;
}

.fancybox-thumb, .iframe{
    display: none;
}

ul.inline{
    padding: 0;
}

ul.inline > li {
    display: inline;
    padding: 0 7px 0 15px;
}

ul.inline > li:before{
    content: "•";
    position: absolute;
    margin-left: -15px;
}

ul.no-padding{
    padding-left: 16px;
}

#mention p {
    text-align: left;
}

.hidden-thumb{
    display: none!important;
}

.fancybox-more{
    display: block;
    position: absolute;
    background: rgba(0,0,0,.5);
    top: 11px;
    left: 21px;
    width: 100%;
    height: 100%;
    font-size: 50px;
    color: #ffffff;
    transition: background 0.5s;
}

.fancybox-more:hover{
    background: rgba(0,0,0,.8);
}

.fancybox-more:before{
    display: block;
    width: 100%;
    text-align: center;
    line-height: 100%;
} 

#download h1{
    margin: 0;
    padding: 0;
    text-align: left;
}
#download p{
    margin-top: 0px!important;
    margin-bottom: 20px!important;
    text-align: left;
}

#download .row{
    padding: 0;
}

.download-button{
    display: block;
    padding: 189px 0 0 0;
    border: 1px solid #484848;
    border-radius: 12px;
    background-image: url(img/pdf-icone.jpg);
    background-position: center 10px;
    background-repeat: no-repeat;
}

.download-button > span{
    display: block;
    color: #fff;
    background-color: #484848;
    border-radius: 10px;
    padding: 5px 10px;
    text-align: center;
}

#download-form input, #download input{
    
}

#download-form .form-control::-webkit-input-placeholder {
    
}

#download-form input[type=submit]{
    
}

.has-error{
    border-color: #ff0000;
    color: #ff0000;
}