/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* LOGO DISPLAY */
a.brand  div.logo{display:inline-block; width : 50%;}

@media (min-resolution: 192dpi), (-webkit-min-device-pixel-ratio: 2), (min--moz-device-pixel-ratio: 2), (-o-min-device-pixel-ratio: 2/1), (min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
    a.brand  div.logo {
        background-image: url('../img/lorenz_hamilton_logo@2x.png');
        background-size: 166px 113px;
    }

}


.navbar {/* background: url(../img/header-tail.png) center top repeat-x; */padding-top : 5px;}
p , ul , li {font-size : 13px;}
h1 { text-transform : uppercase;}
p  , li {color: #666;}
p strong {color : #333;}
.clear {clear : both;}
.container_bloc{
    background-color : #fff; border:1px solid #ddd; padding : 20px; padding-top : 25px; margin-bottom: -1px;
    border-radius : 1px;
    /*width : 910px;*/
}
.metro {background: url(../img/m_paris.png) no-repeat; padding-left:35px; height: 32px; display:inline-block; line-height:30px; margin-bottom:3px;}
.nomarging {margin : 0;}
a { color:#333;}
a.title { color:#333;}
.container_bloc_background {background: url(../img/header_back.jpg) repeat-x 0px 0px #fff;}

h1.fontlorenz,h2.fontlorenz,h3.fontlorenz {font-family: 'Open Sans', sans-serif; font-weight : 300; color : #000;}


div.uploader {margin-left : -2px;}

li.marker {
    background: url(../img/marker.gif) no-repeat 1px 11px;
    margin: 0;
    padding: 0 0 0 17px;
    list-style: none;
    line-height: 21px;
    /*color : #757575;*/
}
input[type="submit"], input[type="reset"] {
    position: relative;
    display: inline-block;
    padding: 0 18px;
    line-height: 35px;
    color: #4d4d4d;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    background-color: white;
    border: none;
    height: 35px;
    cursor: pointer;
    margin-right: 4px;
    /*font-family: "trebuchet MS", Helvetica, sans-serif;*/
}
input, select, textarea {
    /*font-family: Arial, Helvetica, sans-serif;*/
    font-size: 1em;
    vertical-align: middle;
    font-weight: normal;
    border: 1px solid #dbdbdb;
    outline: none;
}
input[type="radio"] {
    box-sizing: border-box;
}
a  , a:hover { text-decoration : none;}

.widget module  {font-size : 13px; }
.grid_1, .grid_2, .grid_3, .grid_4, .grid_5, .grid_6, .grid_7, .grid_8, .grid_9, .grid_10, .grid_11, .grid_12, .grid_13, .grid_14, .grid_15, .grid_16, .grid_17, .grid_18, .grid_19, .grid_20, .grid_21, .grid_22, .grid_23, .grid_24 {
    display: inline;
    float: left;
    position: relative;
    margin-left: 0px;
    margin-right: 0px;
}
.grid_15 {
    padding-top : 13px;
    width: 60.5%; margin-right:5px;
}
.content-left-top p {
    line-height: 19px;
    color : #666;
}
.grid_9 {
    width: 33%; margin-right : 0px; float:right;
}
.box {
    float:right;
    width: 290px;
    padding:13px;
    padding-top : 18px;
    overflow: hidden;
    background: #fff;
    border-radius: 1px;
    -moz-border-radius: 1px;
    -webkit-border-radius: 1px;
    border:1px solid #eee;
    box-shadow: 0px 8px 12px #ddd;
    color: #666;
    /*
    background-image: -moz-linear-gradient(top, #ffffff, #f6f6f6);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f6f6f6));
  background-image: -webkit-linear-gradient(top, #ffffff, #f6f6f6);
  background-image: -o-linear-gradient(top, #ffffff, #f6f6f6);
  background-image: linear-gradient(to bottom, #ffffff, #f6f6f6);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#f6f6f6', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);*/
    background-image: url(../img/splash.gif);
}
.span_box_img{
    padding: 3px;
    background-color: #FFF;
    border-radius: 1px;
    -moz-border-radius: 1px;
    -webkit-border-radius: 1px;
    box-shadow: 0 0 2px #e6e6e6;
    -moz-box-shadow: 0 0 2px #e6e6e6;
    -webkit-box-shadow: 0 0 2px #e6e6e6;
    background-image: none;
    border : 0;

}

.span_box {

    padding:13px;
    padding-top : 13px;
    border-radius: 0px;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    box-shadow: 0 0 2px #ccc;
    -moz-box-shadow: 0 0 2px #ccc;
    -webkit-box-shadow: 0 0 2px #ccc;
    background-color: #fff;
    background-image: url(../img/splash.gif);
}
.underline { border-bottom : 1px solid #ddd; padding-bottom : 5px;}

.box .inner-1 {

    overflow: hidden;
}
#wpsb {
    margin-bottom: -20px;
}
#wpsb h2 {
    margin-bottom: 18px;
}
#wpsb input[type="text"] {
    border: 1px solid #c1c1c1;
    /*background: none;*/
    color: #5d5d5d;
    padding: 8px 13px 9px 13px;
    width: 90%;
}
#wpsb input[type="submit"] , .span5  input[type="submit"],  input[type="submit"] ,  input[type="reset"]{
    background: #F1692E;
    color: white;
    font-weight: bold;
    /*font-family: Arial, Helvetica, sans-serif;*/
    text-transform: capitalize;
    font-size: 13px;
    float: right;
    margin: 0;
    height: 31px;
    line-height: 31px;
    padding: 0 16px;
    position: relative;
    top: -10px;
    z-index: 99;
}
#wpsb label {
    cursor: pointer; font-size:12px;
}
#wpsb .wpsb_form_radio {
    border: none;
    position: relative;
    top: -2px;
}
.wpsb_form_submit {}
.widget {
    margin-bottom: 30px;font-size : 13px;
}
h1 {
    /*font-size: 2.769em;*/
    line-height: 1.2em;
    margin: 0 0 0.55em;

    color: #333333;
    font-weight: normal;
}
h2 {
    font-size: 2.1em;
    line-height: 1.2em;
    margin: 0 0 1em;
    text-transform : uppercase;
    color: #333333;
    font-weight: normal;
}
h2.smaller{font-size: 1.5em;}
h2.smaller2{font-size: 1.3em;}
h3 {
    font-size: 1.1em;
    line-height: 1.2em;
    margin: 0 0 10px 0;
    text-transform : none;
    color: #333333;
    font-weight: normal;
}
h4 {
    font-size: 1em;
    line-height: auto;
    margin: 0;
    text-transform : none;
    color: #666;
    font-weight: normal;
    margin-bottom : 15px;
}
.span4 {color: #666;}
.span4 h2 ,.span4_s h2 ,.span4_b h2 , .span5 h2 , .span7 h2 , .span8 h2{font-size: 1.5em; margin-bottom : 10px;}
.span4 h3 , .span5 h3{margin-bottom : 5px; font-weight : bold; color : #666;}
.textwidget { /*text-align:justify; */}
.fright { float : right;}
.tright { text-align : right;}
.span7 , .span8 {margin-top : 13px;}
#content-top { margin-bottom:30px;}

.slider-wrapper {
    width: 80%;
    margin: 100px auto;
}
/* Footer
---------------------------------------- */
#footer {
    width:100%;
    color:#6a6a6a;
    background:#1f1f1f;
    position:relative;
    z-index:2;
    font-size : 12px;
}
#footer .site-name {color:#fff; text-decoration:none;}
#footer .site-name:hover {text-decoration:underline;}

/* Footer logo */
#footer .logo {
    padding:5px 0 0;
    float:none;
}
#footer .logo h1,
#footer .logo h2 {
    font-size:35px;
    line-height:1.2em;
    letter-spacing:normal;
    margin:-8px 0 -5px -2px;
}
#footer .logo h1 a,
#footer .logo h2 a {
    color:#f7f7f7;
    text-decoration:none;
}
#footer .logo .tagline {
    font-size:11px;
    /*text-transform:uppercase;*/
    color:#767676;
    margin:-3px 0 0 0;
    /*letter-spacing:1px;*/
}
#footer a {color : #999; }
.footer-top {
    width:100%;
    padding:0;
    padding-top : 38px;
    padding-bottom : 10px;
    background:url(../img/footer-top-tail.jpg) center top repeat-x #292929;
}
.footer-bot {
    width:100%;
    padding:10px 0;
}
#footer .textwidget {margin-right:40px;}

#footer li {
    font-size:12px;
    line-height:16px;
    padding:3px 0 13px 17px;
    background:url(images/marker-1.gif) 0 9px no-repeat;
    font-weight:normal;
    text-transform:none;
}
#footer li a {
    display:inline-block;
    color:#fff;
}
.footer_icons {
    float: right;
}
.social-networks {float:left; margin:0;}
.social-networks li {float:left; padding:0 0 0 3px !important; background:none !important;}
.social-networks > li:first-child {padding-left:5px;}

/* Footer widget */
#widget-footer {
    color: #fff;
}


#widget-footer .social-networks li {
    list-style-type:none;
    padding:0 0 .5em 0;
    margin:0;
}

/* Footer navigation */
nav.footer {
}
nav.footer ul {
    overflow:hidden;
    margin:0;
}
nav.footer ul li {
    list-style-type:none;
    float:left;
    padding:0 15px 0 0;
    margin:0;
    background:none;
    text-transform:none;
    font-weight:normal;
    font-size:12px;
    line-height:16px
}
nav.footer a {color:#fff;}

.container_24 {
    margin-left: auto;
    margin-right: auto;
    width: 960px;
}
#back-top {
    position: fixed;
    bottom: -8px;
    right:0;
    /*margin-left: 500px;*/
    display: none;
}
#back-top a {
    display: block;
    width: 53px;
    height: 35px;
    text-align: center;
    font: 12px/33px Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    background: url(../img/top-bg.png) 0 0 no-repeat;
    -webkit-transition: 0.25s;
    -moz-transition: 0.25s;
    transition: 0.25s;
    position: relative;
}
#back-top a:hover {
    color: #fff;
}

/* Slider
---------------------------------------- */

#slider-wrapper {
    /*width:994px;*/

    height:473px;
    position:relative;
    background:url(../img/slider-shadow_v2.png) no-repeat center bottom;
    margin:0 auto;
    /*
    border : 1px solid #ddd;
    border-bottom : 0;*/
}
.slider-wrapper {
    width:992px;
    height:414px;
    overflow:hidden;
    background:#F1692E;
    margin:0 auto;
    margin-left : -1px;
    /*border : 1px solid #ddd;
    border-bottom : 0;*/
}
#slider {
    position:relative;
    width:650px;
    height:414px;
    background:url(../img/loading.gif) no-repeat 50% 50% #3d3d3d;
}
#slider img {
    position:absolute;
    top:0px;
    left:0px;
    display:none;
}
#slider a {
    border:0;
    display:block;
}


/* The Nivo Slider styles */
.nivoSlider {
    position:relative;
}
.nivoSlider img {
    position:absolute;
    top:0px;
    left:0px;
}
/* If an image is wrapped in a link */
.nivoSlider a.nivo-imageLink {
    position:absolute;
    top:0px;
    left:0px;
    width:100%;
    height:100%;
    border:0;
    padding:0;
    margin:0;
    z-index:60;
    display:none;
}
/* The slices in the Slider */
.nivo-slice {
    display:block;
    position:absolute;
    z-index:50;
    height:100%;
}
.nivo-box {
    display:block;
    position:absolute;
    z-index:5;
}
/* Caption styles */
.nivo-caption {
    position:absolute;
    right:-322px;
    bottom:0px;
    opacity:1; /* Overridden by captionOpacity setting */
    width:385px;
    height:444px;
    z-index:89;

}
.nivo-caption h1 {
    color:#fefefe;
    font-size:45px;
    text-transform:capitalize;
    margin-bottom:24px;
    font-weight:normal;
}
.nivo-caption h3 {
    margin-bottom:9px;
    color:white;
    font-size:14px;
    line-height : 18px;
    font-weight:normal;
}
.nivo-caption p {
    font-size:12px;
    line-height:18px;
    color:#f5f5f5;
}
.nivo-caption .nivo-caption-inner {
    padding:99px 40px 0 40px;
    margin:0;
    text-align:center;
}
.nivo-caption a {
    display:inline !important;
}
.nivo-html-caption {
    display:none;
}
/* Direction nav styles (e.g. Next & Prev) */
.nivo-directionNav a {
    position:absolute;
    top:45%;
    z-index:99;
    cursor:pointer;
}
.nivo-prevNav {
    left:0px;
}
.nivo-nextNav {
    right:0px;
}
/* Control nav styles (e.g. 1,2,3...) */
.nivo-controlNav {
    position:absolute;
    width:375px;
    height:17px;
    right:-12px;
    bottom:60px;
    text-align:center;
    z-index:9999;
}
.nivo-controlNav a {
    position:relative;
    z-index:99;
    cursor:pointer;
    display:inline-block !important;
    width:15px;
    height:0;
    padding-top:17px;
    overflow:hidden;
    background-repeat:no-repeat;
    background-position:-15px top;
    background-image:url(../img/nivo-pagination.png);
}
.nivo-controlNav a.active,
.nivo-controlNav a:hover {
    background-position:left top;
}

.nivo-directionNav {

}
.nivo-directionNav a {
    position:absolute;
    display:block;
    width:36px;
    height:35px;
    text-indent:-9999px;
    border:0;
    top:50%;
    margin-top:-17px;
    background:url(images/direction_nav.png) no-repeat 0 0;
}
a.nivo-nextNav {
    right:15px;
    background-position:-36px 0;
}
a.nivo-nextNav:hover {
    background-position:-36px -35px;
}
a.nivo-prevNav {
    left:15px;
    background-position:0 0;
}
a.nivo-prevNav:hover {
    background-position:0 -35px;
}

#slider .nivo-controlNav img {
    display:inline; /* Unhide the thumbnails */
    position:relative;
    margin-right:10px;
    width:120px;
    height:auto;
}

.color_lh {
    color : #910c92;
    color : #333;
}
/*.span4_b img { max-height : 157px;}*/



/********************************************************MEDIA QUERIES ************************************************/
/********************************************************MEDIA QUERIES ************************************************/
/********************************************************MEDIA QUERIES ************************************************/
/********************************************************MEDIA QUERIES ************************************************/

@media (min-width: 1024px) {
    .container_slider{ width : 990px; margin-bottom : -60px;}
    .container_under_slider {padding-top : 50px;}

    /* CONTACT FORM */
    #contact input[type="text"] { width : 400px; }
    #contact textarea { width : 475px; height : 256px; }
    div.uploader{width : 418px;}
    div.uploader span.filename {width : 258px; text-align : left;}
    div.uploader span.action {width : 137px;}

    #contact .span5_message {width : 470px;}
    #contact .span5 {width : 430px;}
    #contact .table_file{width : 414px;}
    #contact .table_captcha{width : 414px;}
    #contact #captcha {width:285px;}
}

@media (max-width: 1023px) {

    #contact textarea { width : 100% }
    #contact input[type="text"] { width : 100% }
    #contact .table_captcha{width : 100%;}
    #contact #captcha {width:120px;}

}
@media (max-width: 800px) {
    div.uploader{width : 297px;}
    div.uploader span.filename {width : 127px; text-align : left;}
    div.uploader span.action {width : 147px;}
}


@media (max-width: 767px) {

    .grid_15 {
        width: 100%; margin-right:0px;
        clear:both;
        margin-bottom:20px;
    }
    .grid_9 {
        width: 100%; margin-right:0px;
        clear:both;
    }

    #wpsb input[type="text"] {
        width: 95%;
    }
    .box {
        width: auto;
        float : none;
    }
    #footer {
        /*
        margin-right: -20px;
        margin-left: -20px;*/
    }
    .footer-top , .footer-bot {
        /*padding-left : 20px;
        padding-right : 20px;*/
    }
    .footer-bot {background : #1f1f1f}
    .span7 { margin-top : 15px;}
    h1 {font-size : 1.8em;}
    h2 {font-size : 1.6em;}
    .container_bloc{padding:0; border : 0; background : none;}

}


@media (max-width: 767px) {
    body {padding-right: 0px;padding-left: 0px;}
    .navbar .btn-navbar {margin-left: 5px;}
    .navbar-fixed-top{margin : 0;}
    .container {padding :0 20px;}
    .container_slider{ padding : 0;}
}

/** ECRAN INFERIEUR à 1024 px de large : slider img à 100% slider caption dessous.**/
@media (max-width: 1023px) {
    .container_slider{width : 100%;}
    #slider-wrapper {background:none;}
    .slider-wrapper {width:100%; margin-left:0px;}
    #slider {width:100%;}
    .nivo-caption {
        position:absolute;
        left:0px;
        bottom:0px;
        background:#000;
        color:#fff;
        width:100%;
        z-index:99;
        padding: 5px 10px;
        opacity: 0.8;
        overflow: hidden;
        -moz-opacity: 0.8;
        filter:alpha(opacity=8);
        -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
        -moz-box-sizing: border-box;    /* Firefox, other Gecko */
        box-sizing: border-box;         /* Opera/IE 8+ */
        height : 110px;
    }
    .nivo-caption p {
        padding:5px;
        margin:0;
    }
    .nivo-caption a {
        display:inline !important;
    }
    .nivo-html-caption {
        display:none;
    }
    .nivo-caption .nivo-caption-inner {
        padding:10px ;
        margin:0;
        text-align:left;
    }

    .nivo-caption h1 {
        color:#fefefe;
        font-size:16px;
        text-transform:capitalize;
        margin-bottom:0px;
        font-weight:normal;
    }
    .nivo-caption h3 {
        margin:0px;
        padding : 0px;
        height : auto;
        color:white;
        font-size:12px;
        line-height : 14px;
        font-weight:normal;
        margin-bottom : 5px;
    }
    .nivo-caption p {
        font-size:10px;
        line-height:12px;
        color:#a5a5a5;
        padding : 0px;
    }
    .nivo-controlNav {
        right:10px;
        bottom:65px;
        width : 50px;
    }
    h1 {font-size : 1.8em;}

    #slider-wrapper {height : 415px;}

}
@media (max-width: 599px) {
    #slider-wrapper {
        height:430px;
    }
    .slider-wrapper {
        height:430px;
    }
    .nivo-caption {
        /*-moz-opacity: 1;
        filter:alpha(opacity=10);*/
    }


}
@media (max-width: 768px) and (min-width: 600px){
    #slider-wrapper {
        height:410px;
    }
    .slider-wrapper {
        height:384px;background:none;
    }
    #slider {background:none;height: 400px;}
}

/* home page : bottom bloc x3 : same height */
@media (max-width: 979px) and (min-width: 768px) {
    .home_box {min-height : 360px; position : relative;}
    .home_box .btn {position : absolute; bottom : 20px; width : 90px; right : 15px;}
}
/**************************************************/

@media (max-width: 979px) and (min-width: 768px) {
    .box {
        width: 201px;
    }
    #wpsb input[type="text"] {
        width: 86%;
    }
}
/* iphone portrait */
@media (max-width: 479px) {
    #wpsb input[type="text"] {
        width: 89%;
    }
    #slider { height : 320px;}
    #slider-wrapper {
        height:325px;
    }
    .slider-wrapper {
        height:320px;
    }
    .nivo-controlNav {
        right:10px;
        bottom:75px;
        width : 50px;
    }
    #logo_footer { width : 165px;}
    .footer_icons img { width : 30px;}
    h1 {font-size : 1.7em;}
}
/* iphone landscape */
@media (max-width: 599px) and (min-width: 480px){
    #wpsb input[type="text"] {
        width: 89%;
    }
    #slider { height : 293px;}
    #slider-wrapper {
        height:313px;
    }
    .slider-wrapper {
        height:293px;
    }
    .nivo-controlNav {
        right:10px;
        bottom:80px;
        width : 50px;
    }
    #logo_footer { width : 180px;}
    .footer_icons img { width : 30px;}
}

@media (max-width: 801px) and (min-width: 601px){
    #wpsb input[type="text"] {
        width: 89%;
    }
    #slider { height : 480px;}
    #slider-wrapper {
        height:480px;
    }
    .slider-wrapper {
        height:480px;
    }
    .nivo-controlNav {
        right:10px;
        bottom:65px;
        width : 50px;
    }
}


@media (max-width: 485px) and (min-width: 480px){
    #wpsb input[type="text"] {
        width: 93%;
    }
}

