
@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,900&display=swap');

/* {
   padding:0;
   margin:0;
}*/

html {
   padding:0;
   margin:0;
}

body {
   padding:0;
   margin:0;
   font-size:17px;
   font-weight:300;
   color:#353535;
   font-family:'Source Sans Pro', sans-serif;
   font-style:normal;
   line-height:1.8em;
   vertical-align:baseline;
}



a {
   color:#176ab4;
   font-weight:400;
   text-decoration:none;
   -webkit-transition:0.4; /* Safari */
   transition:0.4s;
}

a:hover {
   color:#353535;
   -webkit-transition:0.4; /* Safari */
   transition:0.4s;
}

aside,
details,
figcaption,
figure,
footer,
form,
header,
iframe,
main,
menu,
nav,
summary {
   display:block;
}

audio,
canvas,
progress,
video {
   display:inline-block;
   vertical-align:baseline;
}

[hidden],
template {
   display:none;
}

b, strong {
   font-weight:700;
}

p {
   margin:0 0 1.75em;
}

small {
   font-size:80%;
}

sub, sup {
   font-size:75%;
   line-height:0;
   position:relative;
   vertical-align:baseline;
}

sup {
   top:-0.5em;
}

sub {
   bottom:-0.25em;
}

img {
   border:0;
   width:auto;
   height:auto;
   display:block;
}

figure {
   margin:0;
}

hr {
   -webkit-box-sizing:content-box;
   -moz-box-sizing:content-box;
   box-sizing:content-box;
}

pre {
   white-space:pre-wrap;
   white-space:-moz-pre-wrap!important;
   white-space:-pre-wrap;
   white-space:-o-pre-wrap;
   margin:0 0 1.75em;
}

section {
   display:block;
   width:100%;
   height:auto;
}

fieldset {
   border:1px solid #d1d1d1;
   margin:0 0 1.75em;
   min-width:inherit;
   padding:0.875em;
}

fieldset > :last-child {
   margin-bottom: 0;
}

legend {
   border: 0;
   padding: 0;
}

textarea:hover {
   border:1px solid #d2d2d2;
}

optgroup {
   font-weight:bold;
}


h1 {
   font-size:2.6em;
   font-weight:600;
   line-height:1.22em;
}

h2 {
   font-size:1.7em;
   font-weight:600;
   line-height:1.1em;
   color:#af2c31;
}

h3 {
   font-size:1.6em;
   font-weight:700;
}

h4 {
   font-size:1.4em;
   font-weight:500;
}

h5 {

}

h6 {

}

img.alignright {
   float:right;
   margin:0 0 25px 25px;
}

img.alignleft {
   float:left;
   margin:0 25px 25px 0;
}

img.aligncenter {
   display:block;
   margin:0 auto 25px auto;
}

.alignright {
   float:right;
}

.alignleft {
   float:left;
}

.aligncenter {
   display:block;
   margin-left:auto;
   margin-right:auto;
}

.row, .row-2, .row-3,
.row-article,
.row-article-meta,
.row-footer {
   display:-ms-flexbox;
   display:flex;
   -ms-flex-wrap:nowrap;
   flex-wrap:nowrap;
   width:100%;
}

.container {
   padding:0 25px;
   max-width:970px;
   margin-right:auto;
   margin-left:auto;
}

.col-logo {
   width:30%;
   float:left;
}

.col-navigation {
   width:70%;
   float:left;
}

.col-2-gauche {
   width:50%;
   margin-right:30px;
}

.col-2-droite {
   width:50%;
   margin-left:30px;
}

.col-3-gauche {
   width:33%;
   margin-right:50px;
   float:left;
}

.col-3-centre {
   width:33%;
   float:left;
}

.col-3-droite {
   width:33%;
   margin-left:50px;
   float:left;
}

.wp-caption {

}

.wp-caption-text {
   margin-top:5px;
   text-align:center;
}

/*---------------------------------------------------------------------------
-----------------------------------------------------------------------------
Contenu
-----------------------------------------------------------------------------
----------------------------------------------------------------------------- */

#page {
   margin-top:160px;
   width:100%;
   position:relative;
   overflow:hidden;
}

#page-services {
   margin-top:100px;
   width:100%;
   position:relative;
   overflow:hidden;
   padding-bottom:80px;
}

article {
   padding-top:30px;
   display:block;
   height:auto;
   margin:0 auto;
}

article img {
   max-width:100%;
   display:flex;
   border:0;
   width:auto;
   height:auto;
}

.services {
   position:relative;
   z-index:2;
   background-color:rgba(255,255,255,0.91);
   width:100%;
   margin-top:130px;
   margin-bottom:80px;
   padding:25px 50px;
   box-shadow:0px 2px 9px #505050;
}

.services p {
   font-size:22px;
   font-weight:300;
}

.nous-joindre {
   position:relative;
   z-index:2;
   background-color:rgba(255,255,255,0.91);
   width:100%;
   margin-top:130px;
   margin-bottom:80px;
   padding:25px 50px;
   box-shadow:0px 2px 9px #505050;
}

.nous-joindre p {
   font-size:22px;
   font-weight:300;
}

#contenu-container-page {
   float:left;
   height:100%;
   display:block;
   width:73%;
}

#contenu-container {
   float:left;
   margin-top:20px;
   height:100%;
   display:block;
   width:73%;
}

#contenu-container article::after {
   content:"";
   display:table;
   clear:both;
}

#contenu-container-single {
   width:100%;
   float:left;
   margin-top:20px;
   height:100%;
}

#contenu-container-single::after {
   content:"";
   display:table;
   clear:both;
}

#image-pleine-page {
   position:absolute;
   height:100%;
   width:100%;
   z-index:1;
}

#accueil-001 {
   width:100%;
   height:auto;
   position:relative;
   z-index:999;
}

#accueil-002 {
   padding-bottom:40px;
   box-sizing:border-box;
}

#accueil-002 h2 {
   margin-top:-40px;
   margin-bottom:40px;
}

#accueil-003 {
   padding:80px auto 0;
   max-width:580px;
   height:500px;
   position:relative;
   z-index:4;
   margin:0 auto;
}

#nous-joindre-caption {
   padding:80px auto 0;
   height:600px;
   width:100%;
   position:relative;
   z-index:4;
   margin:0 auto;
}

#nous-joindre-caption .wp-caption {
   margin:0 20px;
   text-align:center;
}

#nous-joindre-caption .alignleft {

}

#accueil-003 .wp-caption {
   margin:0 20px;
   float:left;
}

.image-wrap {
   display:table;
   table-layout:fixed;
   width:100%;
   height:100%;
}

#image-accueil-001 {
   height:400px;
   width:100%;
   top:0;
   left:0;
   right:0;
   background-image:url('wp-content/themes/projet-energie/images/isolation-calorifugeage-rive-nord.jpg');
   background-size:100%;
   -webkit-background-size:100%;
	-moz-background-size:100%r;
	-o-background-size:100%;
   background-repeat:no-repeat;
   background-attachment:fixed;
   background-position:50% 50%;
   background-position:center;
   text-align:center;
   display:block;
   margin:0 auto;
}

#image-accueil-001 button {
   background-color:rgba(175,44,49,0.93);
   margin-top:170px;
   border:0;
   border-radius:6px;
   line-height:60px;
   color:#fff;
   font-size:18px;
   font-weight:300;
   padding:0 40px;
   letter-spacing:0.08em;
   text-transform:uppercase;
   -webkit-transition:0.3s; /* Safari */
   transition:0.3s;
}

#image-accueil-001 button:hover {
   background-color:rgba(255,255,255,0.93);
   -webkit-transition:0.3s; /* Safari */
   transition:0.3s;
   color:#373737;
   cursor:pointer;
}

.mt-5{
  margin-top:5em;
}
.mb-5{
  margin-bottom:5em;
}
.blogue-image-a-la-une img {
   max-height:260px;
   float:left;
   margin-right:25px;
   margin-bottom:25px;
}

.blogue-titre {
   margin-bottom:30px;
}

.blogue-contenu {
   margin:0;
   padding:0;
}

.nav-single {
   width:100%;
}

.nav-precedent {
   float:left;
   width:50%;
}

.nav-suivant {
   float:left;
   width:50%;
   text-align:right;
}

.entry-title {
   margin:30px 0 50px;
   text-align:center;
   color:#176ab4;
}

.entry-content {
   margin:0;
   padding:0;
}

.blogue-titre-single {
   margin-bottom:4px;
}

.article-single {
   width:73%;
}

.article-categorie {
   font-size:0.9em;
   width:50%;
   float:left;
}

.article-date {
   margin-bottom:30px;
   font-size:0.9em;
   width:100%;
}

.article-auteur {
   font-size:0.9em;
   width:50%;
   float:left;
   text-align: right;
}

.article-contenu {
   margin:0;
   padding:0;
}

.blogue-navigation {
   margin-bottom:10px;
}

/*---------------------------------------------------------------------------
-----------------------------------------------------------------------------
Header
-----------------------------------------------------------------------------
----------------------------------------------------------------------------- */

#header-principal {
   background:#000;
   width:100%;
   height:170px;
   -webkit-transition:0.3s; /* Safari */
   transition:0.3s;
   position:fixed;
   z-index:99999;
   top:0;
}

.principalDeux {
   height:100px!important;
   -webkit-transition:0.3s; /* Safari */
   transition:0.3s;
}

.custom-logo {
   vertical-align:middle;
   height:auto;
   max-width:320px;
   float:left;
   margin-top:50px;
}

/*---------------------------------------------------------------------------
-----------------------------------------------------------------------------
Navigation
-----------------------------------------------------------------------------
----------------------------------------------------------------------------- */

#navigation-primaire {
   float:right;
   max-width:650px;
   width:100%;
}

#primaire {
   max-height:80px;
   float:right;
}

#primaire li {
   display:block;
   margin:0 12px;
   float:left;
   font-size:17px;
   font-family:'Source Sans Pro', sans-serif;
   font-weight:500;
   width:auto;
   line-height:170px;
   text-transform:uppercase;
   page-break-after:always;
   letter-spacing:0.03em;
}

#primaire li:last-child {
   margin-right:0;
}

#primaire li a {
   color:#fff;
   padding:15px 16px;
}

#primaire li a:hover, #primaire li a:focus {
   -webkit-transition:0.3s; /* Safari */
   transition:0.3s;
   background-color:#af2c31;
   border-radius:6px;
}

#primaire li a:hover + .sub-menu {
   opacity:1;
   filter:alpha(opacity=1); /* For IE8 and earlier */
   visibility:visible;
   -webkit-transition:0.4s; /* Safari */
   transition:0.4s;
   color:#464646;
   font-weight:700;
}

#primaire li ul:hover {
   opacity:1;
   filter:alpha(opacity=1); /* For IE8 and earlier */
   -webkit-transition:0.4s; /* Safari */
   transition:0.4s;
   visibility:visible;
}

#primaire li ul {
   width:240px;
   position:absolute;
   opacity:0;
   filter:alpha(opacity=0); /* For IE8 and earlier */
   visibility:hidden;
   -webkit-transition:0.4s; /* Safari */
   transition:0.4s;
   background:rgba(70,70,70,1);
   z-index:99;

}

#primaire li ul li {
   float:left;
   font-weight:700;
   font-size:13px;
   text-align:left;
   -webkit-transition:0.4s; /* Safari */
   transition:0.4s;
   margin:0;
   padding:6px 20px;
   width:100%;
   max-width:200px;
   cursor:pointer;
   line-height:50px;
}

#primaire li ul li a {
   color:#fff;
}

#primaire li ul li a:hover {
   color:#fff;
}

#primaire li ul li:hover {
   background-color:rgba(113, 113, 113, 1);
   -webkit-transition:0.4s; /* Safari */
   transition:0.4s;
}

/*---------------------------------------------------------------------------
-----------------------------------------------------------------------------
Navigation (Hamburger / Adaptatif)
-----------------------------------------------------------------------------
----------------------------------------------------------------------------- */

.bar1, .bar2, .bar3 {
   width:44px;
   height:5px;
   background-color:#fff;
   border-radius:3px;
   margin:8px 0;
   transition:0.4s;
   z-index:99999;
}

.change .bar1 {
   -webkit-transform:rotate(-45deg) translate(-10px, 7px);
   transform:rotate(-45deg) translate(-6px, 7px);
}

.change .bar2 {
   opacity: 0;
}

.change .bar3 {
   -webkit-transform: rotate(45deg) translate(-11px, -12px);
   transform: rotate(45deg) translate(-11px, -12px);
}

.bascule {
   width:100%;
   position:absolute;
   z-index:999;
   opacity:0.94;
}

#hamburger {
   z-index:9999;
   position:fixed;
   width:100%;
   top:170px;
}

#hamburger ul {
   list-style-type:none;
   padding:0;
}

#hamburger li {
   background-color:#176ab4;
   line-height:60px;
}

#hamburger li a {
   color:#fff;
   cursor:pointer;
   border:none;
   text-align:left;
   outline:none;
   font-size:22px;
   font-weight:600;
   transition:0.4s;
   text-decoration:none;
   display:block;
   padding:2px 0px 0 0;
   text-align:center;
}

#hamburger li a:hover {
   background-color:#0f5694;
}

#hamburger li a:focus {
   background-color:#0f5694;
}

#hamburger li ul li {
   border-bottom:1px dotted #e1e1e1;
}

#hamburger li ul li a {
   font-size:14px;
   line-height:35px;
}

.menu-container {
   display:none;
   float:right;
   margin-top:58px;
   cursor:pointer;
}

/*---------------------------------------------------------------------------
-----------------------------------------------------------------------------
Footer
-----------------------------------------------------------------------------
----------------------------------------------------------------------------- */

#footer {
   height:auto;
   padding:30px 0 40px;
   width:100%;
   clear:both;
   margin-top:60px;
   z-index:3;
   position:relative;
}

.associations {
   max-width:800px;
   margin:0 auto;
}

.associations img {
   max-width:320px;
   max-height:78px;
   text-align:center;
}

.col-associations {
   max-width:496px;
   margin:0 auto;
}

.images-footer {
   margin:0 auto 20px;
   max-width:100%;
   height:auto;
}

.ligne-isolation-mecanique {
   height:7px;
   display:block;
   width:90%;
   margin:0 auto 60px;
   background-image:linear-gradient(to right, #176ab4, #ed1c24);
}

#credits {
   height:auto;
   width:100%;
   background-color:#000;
   color:#fff;
   line-height:40px;
   font-size:12px;
   letter-spacing:0.3em;
}

#credits aside {
   height:40px;
}

#credits p {
   margin:0;
}

#credits a {
   color:#fff;
}

#credits a:hover {
   color:#b6b6b6;
}

.widget-1 li, .widget-2 li, .widget-3 li {
   list-style:none;
}

.widget-1 {
   padding:0;
   margin:0;
   text-align:center;
}

.widget-2 {
   text-align:center;
}

.widget-3 {
   text-align:right;
}

.widget-titre {
   margin-bottom:10px;
}


/*---------------------------------------------------------------------------
-----------------------------------------------------------------------------
Sidebar
-----------------------------------------------------------------------------
----------------------------------------------------------------------------- */

#secondary {
   float:right;
   height:100%;
   width:22%;
   padding:30px 0 0 40px;
}

#secondary li {
   list-style:none;
}

.sidebar-container {
   float:right;
}

.sidebar-container ul {
   margin-top:10px;
}

#contenu-container-sidebar {
   padding-top:20px;
}

/*---------------------------------------------------------------------------
-----------------------------------------------------------------------------
@ Queries
-----------------------------------------------------------------------------
----------------------------------------------------------------------------- */

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

   .menu-container {
      display:none;
   }

   #hamburger {
      display:none;
   }

}

/* Pour iPad */
@media only screen and (max-width : 1024px) {

   #image-accueil-001 {
      background-size:1024px;
      background-attachment:unset;
   }

}

@media only screen and (max-device-width : 1024px) {

   #image-accueil-001 {
      background-size:1024px;
      background-attachment:unset;
   }

}

@media screen and (max-width:1120px) {

   #accueil-h1-001 {
      margin-top:-30px;
   }

   #accueil-h2-001 {
      margin-top:40px;
   }

}

@media screen and (max-width:960px) {

   #navigation-primaire {
      display:none;
   }

   .menu-container {
      display:block;
   }

   #hamburger {
      display:none;
   }

}

@media screen and (max-width:880px) {

   .row-3 {
      -ms-flex-wrap:wrap;
      flex-wrap:wrap;
    }


   article .col-3-gauche {
      width:45%;
      margin-right:30px;
      min-width:270px;
   }

   article .col-3-centre {
      width:45%;
      margin-left:30px;
      float:right;
      min-width:270px;
   }

   article .col-3-droite {
      width:45%;
      margin:30px auto 0;
      float:unset;
      min-width:270px;
}

@media screen and (max-width:850px) {

   #secondary {
      float:left;
      padding-left:0;
   }

   .sidebar-container {
      float:left;
   }

   .row-article {
      -ms-flex-wrap:wrap;
      flex-wrap:wrap;
   }

   #contenu-container {
      width:100%;
   }

   #contenu-container-page {
      width:100%;
   }

}

@media screen and (max-width:840px) {

   .services {
      margin-top:0;
   }

   .nous-joindre {
      margin-top:0;
   }

}

@media screen and (max-width:710px) {

   #accueil-003 .wp-caption {
      width:100%!important;
      margin:0 auto;
   }

   #accueil-003 .wp-caption img {
      margin:0 auto;
   }

   #footer {
      padding:80px 0 50px;
   }

}

@media screen and (max-width:660px) {

   article .col-3-gauche {
      width:60%;
      margin:0 auto;
      float:unset;
   }

   article .col-3-centre {
      width:60%;
      margin:30px auto 0;
      float:unset;
   }

   article .col-3-droite {
      width:60%;
      margin:30px auto 0;
      float:unset;
   }

   .row-2 {
      -ms-flex-wrap:wrap;
      flex-wrap:wrap;
   }

   .col-2-gauche {
      width:75%;
      margin:0 auto;
      float:unset;
   }

   .col-2-droite {
      width:75%;
      margin:30px auto 0;
      float:unset;
   }

   #credits .col-2-gauche {
      width:100%;
      margin:0 auto;
      float:unset;
   }

   #credits .col-2-droite {
      width:100%;
      margin:30px auto 0;
      float:unset;
      text-align:left!important;
   }

   .row-footer {
      -ms-flex-wrap:wrap;
      flex-wrap:wrap;
   }

   footer .col-3-gauche {
      width:45%;
      margin-right:20px;
   }

   footer .col-3-centre {
      width:45%;
      margin-right:0;
      float:left;
   }

   footer .col-3-centre aside {
      float:right;
   }

   footer .col-3-droite {
      width:100%;
      margin-left:0;
      float:left;
      margin-top:40px;
   }

   footer .col-3-droite aside {
      text-align:left;
   }

}

@media screen and (max-width:550px) {

   .col-associations img {
      margin:0 auto;
      padding:20px;
      float:unset;
   }

}

@media screen and (max-width:520px) {

   .blogue-image-a-la-une img {
      margin-right:170px;
   }

   article img {
      max-width:240px;
   }

   .size-full, .size-large {
      max-width:100%;
   }

   .ligne-isolation-mecanique {
      width:85%;
   }

}

@media screen and (max-width:500px) {

   article .col-3-gauche {
      width:70%;
   }

   article .col-3-centre {
      width:70%;
   }

   article .col-3-droite {
      width:70%;
   }

   .blogue-image-a-la-une {
      float:unset;
      margin:0 0 30px 0;
   }

}

@media screen and (max-width:450px) {

   #header-principal {
      height:157px!important;
      position:relative;
   }

   #header-principal .row {
      -ms-flex-wrap:wrap;
      flex-wrap:wrap;
   }

   #hamburger {
      top:0!important;
   }

   .menu-container {
      margin-top:26px!important;
      margin-left:auto;
      margin-right:auto;
      float:unset;
      width:44px;
   }

   .col-logo {
      width:100%;
   }

   .col-navigation {
      width:100%;
   }

   .custom-logo {
      width:100%;
      height:auto;
      margin-top:10px!important;
      margin-left:auto;
      margin-right:auto;
      float:unset;
   }

   #image-pleine-page {
      position:relative;
      height:280px;
      background-position:50% 50%!important;
   }

   .services, .nous-joindre {
      background-color:#fff;
      box-shadow:none;
      margin-bottom:0;
   }

   #image-accueil-001 {
      background-position:50% 50%;
   }

   #page-services {
      padding:0;
   }

   #page-services .container {
      padding:0;
   }

   article {
      padding:15px!important;
   }

   #hamburger {
      z-index:9999;
      position:relative;
      width:100%;
      top:157px;
   }

   #page {
      top:0;
      margin-top:30px;
   }

   #page-services {
      margin-top:0;
   }

   h1 {
      font-size:2.14em;
   }

   article {
      padding:25px!important;
   }

   .ligne-isolation-mecanique {
      width:100%;
   }

   footer .col-3-gauche {
      width:100%;
      margin-right:0px;
   }

   footer .col-3-centre {
      width:100%;
      margin-top:40px;
   }

   footer .col-3-centre aside {
      float:left;
   }

}

@media screen and (max-width:405px) {

   .col-2-gauche {
      width:100%;
      min-width:220px;
   }

   .col-2-droite {
      width:100%;
      min-width:220px;
   }

   .article-categorie {
      width:100%;
   }

   .article-auteur {
      width:100%;
      text-align:left;
   }

   .article-date {
      width:100%;
   }

   .nav-precedent {
      width:100%;
   }

   .nav-suivant {
      width:100%;
      text-align:left;
   }

   article img {
      width:100%;
      max-width:400px;
      max-height:none;
   }

}

@media screen and (max-width:380px) {

   #header-principal {
      height:147px!important;
      position:relative;
   }

   .blogue-image-a-la-une img {
      width:100%;
      height:auto;
      max-height:none;
   }

   .associations img {
      max-width:80%;
      height:auto;
      max-height:60px;
   }

}

@media screen and (max-width:360px) {

   .services p {
      font-size:19px;
   }

}

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

   article .col-3-gauche {
      width:100%;
      min-width:220px;
   }

   article .col-3-centre {
      width:100%;
      min-width:220px;
   }

   article .col-3-droite {
      width:100%;
      min-width:220px;
   }

}
.projet-energie h2 {
	margin-top: -40px!important;
    margin-bottom: 40px!important;
	}
