#mainwrap,
.outerpagewrap,
#nslider-wrapper,
#slider-wrapper {
    top:119px;
}
.menu-header { top: 44px; }
#footer .menu li {width:100% !important; padding-top: 10px;}
.facebooklink { padding: 0; width: 200px; height: 50px; }


/* Own CSS */
    .no-margin-bottom { margin-bottom: 0 !important; }
    ul.margin-bottom { margin-bottom: 1.5em !important; }
    #logo a { border:none; }
    .fullwidth #contactform { margin:0 auto; }
    .content blockquote { float: none; }
    .content blockquote cite { font-style: normal; }
    .content blockquote cite:before { content:'\2014'; margin-right: 8px; }

    /* Header */
    #headerwrap { z-index: 1000; }

    @media screen and (min-width:0px) and (max-width:970px) {
        #headerwrap { padding-bottom: 0; }
    }

    /* Main menu */
    .menu-header { float: right; }
    .menu li { margin-left: 30px; }
    .menu li:first-child { margin-left: 0; }

    #header-facebook-page { position: relative; float: right; top: 37px; margin-left: 15px; }
    #header-facebook-page img { opacity: 0.7; }
    #header-facebook-page:hover img { opacity: 1; }

    @media screen and (min-width:0px) and (max-width:970px) {
        .menu-header { top: 10px !important; margin-bottom: 0 !important; }
        .menu li { float: none !important; display: inline-block !important; }
        #header-facebook-page { display: none; }
    }

    /* Main wrapper */
    @media screen and (min-width:0px) and (max-width:970px) {
        #mainwrap, .outerpagewrap, #nslider-wrapper, #slider-wrapper { top: 10px; clear: both; }
        .fullwidth { margin-top: 0; }
        .content form { margin: 0; }
    }

    /* Home */
        .bg-blue { position: relative; top: 119px; width: 100%; min-height: 100px; background: #1BAACC; }
        .bg-blue .container { width: 960px; margin: 0 auto; padding: 15px 0; position: relative; }
        .bg-blue img { border: 10px solid #fff; }
        .bg-blue .text-box { width: 350px; float: right; margin-top: 30px; }
        .bg-blue .text-box h1 { font-size: 24px !important; padding: 8px 25px 10px; }
        .bg-blue .text-box p { margin: 0; font-style: italic; color: #fff; text-shadow: 0 1px 0 rgba(0,0,0,0.3); }
        .bg-blue .text-box .button { background:#fff;background-color: rgba(255,255,255,1);padding:10px; z-index:9999 !important; padding:10px 15px 10px 20px;width:118px;cursor:pointer;margin:10px 0px 0 0px;float:left;-webkit-transition: background-color 0.2s ease-in-out;-moz-transition: background-color 0.2s ease-in-out;-o-transition: background-color 0.2s ease-in-out;-ms-transition: background-color 0.2s ease-in-out;transition: background-color 0.2s ease-in-out; }
        .bg-blue .text-box .button:hover { background-color: rgba(255,255,255,0.75);filter:alpha(opacity=75); }
        .bg-blue .text-box .box { background:#fff; padding:14px 20px 10px 20px; text-shadow:0 1px 0 rgba(0,0,0,0.1); }
        .bg-blue .text-box ul { margin:0; list-style:none; }
        .bg-blue .text-box .box, .bg-blue .text-box a.button, .bg-blue .text-box .button a { color: #1BAACC !important; }

        .tx-baseline { display: block; font-family: "Mistral"; font-size: 32px; text-align: center; color: #1BAACC; margin: 18px 0; }
        /*.tx-baseline { display: inline-block; padding: 6px 8px; position: absolute; left: 25px; right: 25px; bottom: -20px; font-family: "Mistral"; font-size: 30px; text-align: center; color: #1BAACC; background-color: #fff; }*/
        /*.tx-baseline { display: inline-block; padding: 6px 8px; position: absolute; right: 0; bottom: -20px; font-family: "Mistral"; font-size: 20px; text-align: center; color: #1BAACC; background-color: #fff; }*/

        /*a.btn-read-more { display: inline-block; width: 100%; padding: 6px 0; color:white !important; background: #1BAACC; text-align: center; }*/
        /*a.btn-read-more:hover { color: white !important; }*/

        @media screen and (min-width:0px) and (max-width:970px) {
            .bg-blue { top: 61px; }
            .bg-blue .container { width: 100% !important; }
            .bg-blue .text-box { float:none; margin:0 auto; }
            .bg-blue img { display: none; }

            body.home #mainwrap, body.home .outerpagewrap, body.home #nslider-wrapper, body.home #slider-wrapper { top: 50px; }
        }

        .homeBox .one_fifth, .homeBox .one_fifth.last{ min-height:150px;  }
        .homeBox .one_fifth div, .homeBox .last div { }
        .homeBox .one_fifth { width:150px !important; margin-right:50px !important; }
        .homeBox .one_fifth:hover{ text-shadow: 0 0 0 transparent, black 0px 1px 0px; }
        .homeBox .one_fifth h2 { position:relative; padding:0px; font-weight:normal; font-size:20px !important; line-height:0; text-align:center; }
        .homeBox .one_fifth .boxdescwraper { width: 131px; margin-top: 60px; }
        .homeBox .one_fifth:hover h2 { position: relative; }
        .homeBox .one_fifth h2 a { font-size:14px; text-align:center; text-transform:uppercase; }
        .homeBox .one_fifth h2 a span { font-size:11px; text-transform:uppercase; font-family: PT Sans !important; line-height: 13px; margin-top: -12px; display: inline-block; }
        .homeBox .one_fifth:hover .boxDescription { position: relative; }
        .homeBox .one_fifth.last{ margin-right: 0 !important; }
        .homeBox .one_fifth .boxImage { position:relative; float:left; margin:0px 0px 0 0px; background:#fff; width:150px; height:150px; border:1px solid #e3e2e2; -webkit-border-radius: 150px; -moz-border-radius: 150px; border-radius: 150px; text-align:center; cursor:pointer; }
        .homeBox .one_fifth .imagerecentholder { padding:5px; cursor:pointer; text-align: center; }
        .homeBox .one_fifth .imagerecentholder img { width:140px; height:140px; -webkit-border-radius: 180px; -moz-border-radius: 180px; border-radius: 180px; }
        .homeBox .one_fifth .boxImage img { margin:auto auto; cursor:pointer; }
        .homeBox .one_fifth h2, .homeBox .one_fifth .boxDescription, .homeBox .one_fifth .boxImage, .homeBox .one_fifth .boxImage img { -webkit-transition: all 0.2s linear; -moz-transition: all 0.2s linear; -o-transition: all 0.2s linear; transition: all 0.2s linear; }
        .homeBox .one_fifth h2 a { color: #ffffff !important; }

        @media screen and (min-width:0px) and (max-width:970px) {
            .homeBox .one_fifth {width:100% !important;margin:0 !important;  }
            .homeBox .one_fifth .boxImage {margin: 0px auto !important;   width:100% !important;background:none !important;border:none!important; }
            .homeBox .boxdescwraper { position:relative !important; top:-150px; display:inline-block; margin:0;}
            .homeBox .one_fifth, .homeBox .last {height:210px;}
        }

        @media screen and (min-width:479px) and (max-width:970px){
            .homeBox .one_fifth { width: 50% !important; text-align: center; margin: 0 auto; margin-right: 0px !important; }
        }

    /* Qualifications */
        ul.qualibat li { margin-bottom: 20px; }
        ul.qualibat li:last-child { margin-bottom: 0; }
        ul.qualibat li span.mention { display: block; margin-left: 44px; }

    /* Métiers */
        a.metier { position: relative; display: block; }
        a.metier span { position: absolute; top: 0; left: 0; right: 0; background-color: rgba(0, 0, 0, 0.8); color: #fff; font-size: 16px; padding: 10px 16px; display: block; }

    /* Realisations */
        .content.fullwidth + .pad { border-top: 2px solid #1BAACC; margin-bottom: 45px; }

    /* Footer */
        #footer { top: 119px; }
        .widget.contact a { text-transform: lowercase !important; }
        .contact_mail { font-size: 11px; }
        .contact_fax {display:block; width:36px; height:36px;margin:0px 0px 10px 00px;   font-size:10px;text-transform:uppercase; }
        .widget.contact .contact_fax .widgettmailicon{ background: url(images/icon-contact-fax.png) 5px 5px no-repeat; width:160px; height:36px;padding:9px 0 0px 45px !important;}

        @media screen and (min-width:0px) and (max-width:970px) {
            #footer { top: 10px; }
        }
