/*------------------------------------*\
    MAIN
\*------------------------------------*/

@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,600);

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
html {
    height: 100%;
}
body {
    min-height: 100%;
}
body {
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 14px; 
	color:#444;
	background-color:#fff9e3;
}
#custom-background {
    background: #fff url('../img/background.jpg') no-repeat center center fixed;
            background-size: cover;
       -moz-background-size: cover;
         -o-background-size: cover;
    -webkit-background-size: cover;
            background-size: cover;
}

/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	vertical-align:bottom;
	max-width: 100%;
	height: auto;
}
a {
	color:#444;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
    text-decoration: none;
}
a:hover,
a:active {
	outline:0;
    text-decoration: none;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}
.center-bloc {
    float: none;
    margin: 0 auto;
}
.float-left {
    float: left;
}

/*------------------------------------*\
MENU
\*------------------------------------*/

nav#menu-top {      
    font-size: 18px;
}
nav#menu-top a:link {      
    text-transform: uppercase;
    font-weight: 600;
}
nav#menu-top ul.nav-top, nav#menu-top .submenu {
    list-style: none;
    text-align: center;
    margin: 0;
    padding: 0;
}
nav#menu-top ul.nav-top {
    text-align: center;
}
nav#menu-top .submenu {
    text-align: left;
}
nav#menu-top .nav-top li {
    display: inline-block;
    position: relative;
    top: 0;
}
nav#menu-top .nav-top { /* Background du menu */
    background-color: #1D1D1B;
    width: 100%;
}
nav#menu-top .nav-top li a { /* Couleur liens par défaut*/
    display: block; 
    padding: 15px 30px;
    text-decoration: none; 
    color: #fff;
    transition: all ease .5s; 
}
nav#menu-top .nav-top li.menu-item-has-children a { /* Espace des liens du menu à droite pour le triangle vers le bas */
    padding: 15px 40px 15px 30px; 
}
nav#menu-top .nav-top > li:hover > a { /* Background & couleur des liens au survol */
    background: #fff;
    color: #2e5a90;
    transition: all ease .5s;
} 
nav#menu-top .submenu li { /* Background du container sous-menu */
    white-space: nowrap;
    padding: 0 10px; 
    width: 100%;
    background-color: #1d1d1b;
}
nav#menu-top .submenu a:hover { /* Background & couleur des liens du sous-menu au survol */
    background: #fff;
    color: #2e5a90;
}
nav#menu-top .nav-top:hover li a {
    opacity: .5;
    transition: all ease .5s;
}
nav#menu-top .nav-top li:hover a {
    opacity: 1;
}
nav#menu-top .submenu {
    position: absolute; 
    border-top: 15px solid transparent; 
    left: -9999px;
    z-index: 999;
}
nav#menu-top .nav-top li:hover > .submenu {
    left: 0;
}
nav#menu-top .menu-item-has-children:after {
    display: inline-block;
    position: absolute;
    content: "";
    top: 25px;
    right: 20px;
    /* borders to make down arrow */
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #fff;
    opacity: .7;
    transition: all ease .3s;
}
nav#menu-top .menu-item-has-children:hover:after {
    /* borders to make down arrow */
    border-left: 5x solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #2e5a90;
}
nav#menu-top .nav-top > li:hover .menu-item-has-children:after {
    opacity: 1;
} 
nav#menu-top .submenu:before {
    content: ""; 
    position: absolute;
    z-index: 1; 
    margin-top: -10px; 
    left: -9999px; 
    /* borders for up arrow */
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #1D1D1B;
}
nav#menu-top .nav-top li:hover .submenu:before {
    left: 15px;
}
nav#menu-top .submenu li:first-child {
    padding-top: 10px;
}
nav#menu-top .submenu li:last-child {
    padding-bottom: 10px;
}
nav#menu-top .submenu a {
    font-size: 13px;
    margin: 0; 
    transition: background ease .3s; 
}
nav#menu-top .nav-top li.menu-item-has-children .submenu li a {
    padding: 6px 10px;
    margin: 0;
    border: 0;
}
nav#menu-top .nav-top {
    border-top: 7px solid #2a5a90;
}


/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* header */
.header {
    height: 113px;
}
#tel p {
    margin: 0;
    padding: 0;
}
#tel p strong {
    display: block;
    line-height: 36px;
    margin-top: 20px;
}
#tel img {
    margin: 2px 20px 19px 30px;
}

/* logo */
.logo {
    text-align:left;
}
.logo-img {
    margin: 12px 0 0 15px;
}

/* vignettes */
#vignettes-container {
    margin-bottom: 40px;
}
.vignette {
    text-align: center;
    padding: 0;
    margin: 0 auto;
    width: 165px;
}
.vignette h3 {
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 14px;
}
.vignette p {
    margin-top: 0;
    margin-bottom: 0;
}
.vignette p, .vignette h3 {
    color: #000;
}
body.accueil h1 {
    margin-top: 0;
    margin-bottom: 0;
    line-height: 18px;
}
body.accueil h1 span {
    font-size: 14px;
}
.vignette img {
    margin-bottom: 14px;
}

/* wrapper */
.wrapper {
	max-width:1170px;
	width: 100%;
	margin:30px auto 30px;
	position:relative;
    background-color: #fff;
}

/* sidebar */
.sidebar {
    
}

/* footer */
footer p, footer #footer-widget, footer .textwidget {
	display: inline-block;
}
footer {
	position: relative;
    text-align: center;
    clear: both;
    background-color: #2e5a90;
    color: #fff;
}
footer a, footer a:hover, footer a:active {
    color: #fff;
}
#lapetiteboite {
	display: block;
	position: absolute;
	float: right;
	line-height: 48px;
}

/* contact */
.ninja-forms-all-fields-wrap {
    position: relative;
}
.ninja-forms-required-items {
    position: absolute;
    bottom: -30px;
    left: 5px;
}
input#ninja_forms_field_12 {
    margin-left: 0;
    margin-top: 5px;
}
#nf_submit_2 {
    position: relative;
}
input#ninja_forms_field_13 {
    position: absolute;
    top: 24px;
    right: 0;
}

/* page */

body.page-template-page-presta-php h1 {
    margin-bottom: 8px;
    margin-top: 0;
    line-height: 20px;
}
body.page-template-page-presta-php section {
    margin-top: 20px;
}
img.attachment-vignette {
    float: left;
    margin-right: 15px;
    margin-bottom: 15px;
}
.wpb_content_element {
    margin-bottom: 15px !important;
}

/*------------------------------------*\
    SLIDER
\*------------------------------------*/

#slider {
    height: 350px;
    position: relative;
}
img#slider-separation {
    z-index: 555;
    position: absolute;
    bottom: 0px;
    left: 0;
}

.rslides_container {
    margin-bottom: 0;
}

img.rsImg, img.rsMainSlideImage {
    margin-top: 0 !important;
}

/*------------------------------------*\
    PAGE
\*------------------------------------*/

.accueil-container {
    min-height: 200px;
    padding-top: 20px;
}
.submit-wrap {
    margin-top: 20px;
}
.post-thumb {
    float: left;
}
body.page-template-page-presta-php main .post-content .float-left {
    float: none !important;
}

/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

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

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width:320px) {

}
@media only screen and (min-width:480px) {

}
@media only screen and (min-width:768px) {

}
@media only screen and (min-width:1024px) {

}
@media only screen and (min-width:1140px) {

}
@media only screen and (min-width:1280px) {

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    DEBUG GALLERY VISUAL COMPOSER
\*------------------------------------*/

/* Galerie Image */
div.wpb_gallery_slides {
	overflow: hidden;
}
.wpb_gallery .wpb_flexslider .flex-control-nav {
	bottom: 5px !important;
}
.flex-control-paging li a {
	background-color: rgba(255,255,255,1) !important;
}
.flex-control-paging li a.flex-active {
	background-color: rgba(126,126,126,1) !important;
}
.flex-direction-nav a {
	color: rgba(255,255,255,0.9) !important;
}
.flexslider {
	border: 0 !important;
	margin-bottom: 0 !important;
	    border-radius: 0 !important;
-webkit-border-radius: 0 !important;
   -moz-border-radius: 0 !important;
           box-shadow: none !important;
      -moz-box-shadow: none !important;
   -webkit-box-shadow: none !important;
}

/* Caroussel */
.vc_images_carousel {
	margin: 0 20px;
}
.vc_images_carousel a.vc_right {
	right: -60px !important;
}
.vc_images_carousel a.vc_left {
	left: -60px !important;
}
.vc_images_carousel {
margin: 0 auto !important;
}
.vc_images_carousel .vc_carousel-indicators {
bottom: -35px !important;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

/* ------------------------------------------------------- Tablettes ------------------------------------------------------- */

/* -- Landscape -- */
@media only screen 
and (max-device-width : 1024px) 
and (orientation : landscape) {
    
    .wrapper {
        margin: 0 auto;
    }
    #custom-background {
        background-color: #fff;
        background-image: none;
    }
    h1 {
        font-size: 26px;
    }
    body.accueil h1 {
        font-size: 24px;
    }
    #tel p strong {                   /* Tel header */
        font-size: 26px;
    }
    #slider {                         /* Slider */
        height: 290px;
    }
    #footer-widget {
        display: block;
        width: 100%;
        white-space: nowrap;
    }
    .ninja-forms-required-items {
        bottom: -50px;
    }

}

/* -- Portrait -- */
@media only screen 
and (max-device-width : 1024px) 
and (orientation : portrait) {

    .wrapper {
        margin: 0 auto;
    }
    #custom-background {
        background-color: #fff;
        background-image: none;
    }
    h1 {
        font-size: 20px;
    }
    body.accueil h1 {
        font-size: 18px;
    }
    #tel p strong {                   /* Tel header */
        font-size: 14px;
    }
    #slider {                         /* Slider */
        height: 230px;
    }
    #slider img {
        width: 100% !important;   
        height: auto !important;
    }
    #footer-widget {                  /* Footer */
        display: block;
        width: 100%;
        white-space: nowrap;
    }
    .ninja-forms-required-items {     /* Contact */
        bottom: -50px;
    }
    nav#menu-top .nav-top li a {      /* Menu */
        padding: 15px 10px;
        font-size: 16px;
    }
    nav#menu-top .nav-top li.menu-item-has-children a {
        padding: 15px 20px 15px 10px;
        font-size: 16px;
        white-space: nowrap;
    }
    nav#menu-top .nav-top .submenu a {
        font-size: 12px !important;
    }
    nav#menu-top .menu-item-has-children:after {
        right: 0;
    }
    
}

/* ------------------------------------------------------- Smartphones (portrait) ------------------------------------------------------- */

/* Big Smarthphone */
@media only screen 
and (max-device-width : 640px) 
and (orientation : portrait) {

    .wrapper {
        margin: 0 auto !important;
    }
    #custom-background {
        background: #fff url();
    }
    header .logo {
        float: none !important;
        text-align: center !important;
    }
    header {
        height: 90px;
    }
    img.logo-img {
        margin: 20px 0 0;
    }
    h1 {
        font-size: 20px;
    }
    body.accueil h1 {
        font-size: 18px;
    }
    #tel p strong {                   /* Tel header */
        font-size: 14px;
    }
    #slider {                         /* Slider */
        height: 230px;
    }
    #footer-widget {                  /* Footer */
        display: block;
        white-space: normal;
    }
    .ninja-forms-required-items {     /* Contact */
        bottom: -15px;
    }
    #tel {
        display: none;
    }
    #slider-separation {
        position: absolute;
        top: 73px;
    }
    #slider {
        border-top: 7px solid #2a5a90;
    }
    article.page, #vignettes-container {
        margin-top: -120px;
    }
    body.accueil article.page {
        margin-top: 0;
    }
    .post-contact {
        clear:both;
        padding-top: 50px;
    }
    #ninja_forms_form_2_cont input[type="submit"] {
        float: left !important;
        left: 0 !important;
    }
    .post-thumb {
        text-align: center;
        float: none;
    }
    .post-thumb img {
        float: none;
        width: 75%;
    }

    
}

/* Iphone 5 */
@media only screen 
and (max-device-width : 568px) 
and (orientation : portrait) {

    .wrapper {
        margin: 0 auto !important;
    }
    #custom-background {
        background: #fff url();
    }
    header .logo {
        float: none !important;
        text-align: center !important;
    }
    header {
        height: 90px;
    }
    img.logo-img {
        margin: 20px 0 0;
    }
    h1 {
        font-size: 20px;
    }
    body.accueil h1 {
        font-size: 18px;
    }
    #tel p strong {                   /* Tel header */
        font-size: 14px;
    }
    #slider {                         /* Slider */
        height: 230px;
    }
    #footer-widget {                  /* Footer */
        display: block;
        white-space: normal;
    }
    .ninja-forms-required-items {     /* Contact */
        bottom: -15px;
    }
    #tel {
        display: none;
    }
    #slider-separation {
        position: absolute;
        top: 73px;
    }
    #slider {
        border-top: 7px solid #2a5a90;
    }
    article.page, #vignettes-container {
        margin-top: -120px;
    }
    body.accueil article.page {
        margin-top: 0;
    }
    .post-contact {
        clear:both;
        padding-top: 50px;
    }
    #ninja_forms_form_2_cont input[type="submit"] {
        float: left !important;
        left: 0 !important;
    }
    .post-thumb {
        text-align: center;
        float: none;
    }
    .post-thumb img {
        float: none;
        width: 75%;
    }
    
}

/* Iphone 2G-4S */
@media only screen 
and (max-device-width : 480px) 
and (orientation : portrait) {

    .wrapper {
        margin: 0 auto !important;
    }
    #custom-background {
        background: #fff url();
    }
    header .logo {
        float: none !important;
        text-align: center !important;
    }
    header {
        height: 90px;
    }
    img.logo-img {
        margin: 20px 0 0;
    }
    h1 {
        font-size: 20px;
    }
    body.accueil h1 {
        font-size: 18px;
    }
    #tel p strong {                   /* Tel header */
        font-size: 14px;
    }
    #slider {                         /* Slider */
        height: 230px;
    }
    #footer-widget {                  /* Footer */
        display: block;
        white-space: normal;
    }
    .ninja-forms-required-items {     /* Contact */
        bottom: -15px;
    }
    #tel {
        display: none;
    }
    #slider-separation {
        position: absolute;
        top: 73px;
    }
    #slider {
        border-top: 7px solid #2a5a90;
    }
    article.page, #vignettes-container {
        margin-top: -120px;
    }
    body.accueil article.page {
        margin-top: 0;
    }
    .post-contact {
        clear:both;
        padding-top: 50px;
    }
    #ninja_forms_form_2_cont input[type="submit"] {
        float: left !important;
        left: 0 !important;
    }
    .post-thumb {
        text-align: center;
        float: none;
    }
    .post-thumb img {
        float: none;
        width: 75%;
    }
    
}

/* ------------------------------------------------------- Smartphones (landscape) ------------------------------------------------------- */

/* Big Smarthphone */
@media only screen 
and (max-device-width : 640px) 
and (orientation : landscape) {

    .wrapper {
        margin: 0 auto !important;
    }
    #custom-background {
        background: #fff url();
    }
    header .logo {
        float: none !important;
        text-align: center !important;
    }
    header {
        height: 90px;
    }
    img.logo-img {
        margin: 10px 0 0;
    }
    h1 {
        font-size: 20px;
    }
    body.accueil h1 {
        font-size: 18px;
    }
    #tel p strong {                   /* Tel header */
        font-size: 14px;
    }
    #slider {                         /* Slider */
        height: 230px;
    }
    #footer-widget {                  /* Footer */
        display: block;
        white-space: normal;
    }
    .ninja-forms-required-items {     /* Contact */
        bottom: -15px;
    }
    #tel {
        display: none;
    }
    #slider-separation {
        position: absolute;
        top: 73px;
    }
    #slider {
        border-top: 7px solid #2a5a90;
    }
    article.page, #vignettes-container {
        margin-top: -120px;
    }
    body.accueil article.page {
        margin-top: 0;
    }
    .post-contact {
        clear:both;
        padding-top: 50px;
    }
    #ninja_forms_form_2_cont input[type="submit"] {
        float: left !important;
        left: 0 !important;
    }
    .post-thumb {
        text-align: center;
        float: none;
    }
    .post-thumb img {
        float: none;
        width: 75%;
    }

    
}

/* Iphone 5 */
@media only screen 
and (max-device-width : 568px) 
and (orientation : landscape) {

    .wrapper {
        margin: 0 auto !important;
    }
    #custom-background {
        background: #fff url();
    }
    header .logo {
        float: none !important;
        text-align: center !important;
    }
    header {
        height: 90px;
    }
    img.logo-img {
        margin: 10px 0 0;
    }
    h1 {
        font-size: 20px;
    }
    body.accueil h1 {
        font-size: 18px;
    }
    #tel p strong {                   /* Tel header */
        font-size: 14px;
    }
    #slider {                         /* Slider */
        height: 230px;
    }
    #footer-widget {                  /* Footer */
        display: block;
        white-space: normal;
    }
    .ninja-forms-required-items {     /* Contact */
        bottom: -15px;
    }
    #tel {
        display: none;
    }
    #slider-separation {
        position: absolute;
        top: 73px;
    }
    #slider {
        border-top: 7px solid #2a5a90;
    }
    article.page, #vignettes-container {
        margin-top: -120px;
    }
    body.accueil article.page {
        margin-top: 0;
    }
    .post-contact {
        clear:both;
        padding-top: 50px;
    }
    #ninja_forms_form_2_cont input[type="submit"] {
        float: left !important;
        left: 0 !important;
    }
    .post-thumb {
        text-align: center;
        float: none;
    }
    .post-thumb img {
        float: none;
        width: 75%;
    }
    
}

/* Iphone 2G-4S */
@media only screen 
and (max-device-width : 480px) 
and (orientation : landscape) {

    .wrapper {
        margin: 0 auto !important;
    }
    #custom-background {
        background: #fff url();
    }
    header .logo {
        float: none !important;
        text-align: center !important;
    }
    header {
        height: 90px;
    }
    img.logo-img {
        margin: 10px 0 0;
    }
    h1 {
        font-size: 20px;
    }
    body.accueil h1 {
        font-size: 18px;
    }
    #tel p strong {                   /* Tel header */
        font-size: 14px;
    }
    #slider {                         /* Slider */
        height: 230px;
    }
    #footer-widget {                  /* Footer */
        display: block;
        white-space: normal;
    }
    .ninja-forms-required-items {     /* Contact */
        bottom: -15px;
    }
    #tel {
        display: none;
    }
    #slider-separation {
        position: absolute;
        top: 73px;
    }
    #slider {
        border-top: 7px solid #2a5a90;
    }
    article.page, #vignettes-container {
        margin-top: -120px;
    }
    body.accueil article.page {
        margin-top: 0;
    }
    .post-contact {
        clear:both;
        padding-top: 50px;
    }
    #ninja_forms_form_2_cont input[type="submit"] {
        float: left !important;
        left: 0 !important;
    }
    .post-thumb {
        text-align: center;
        float: none;
    }
    .post-thumb img {
        float: none;
        width: 75%;
    }
    
}
