/*
Theme Name: Apeloig
Author: Moody Communication
Author URI: http://www.moody-communication.com
Version: 1.0 modif 2018-01-18
*/

@charset "UTF-8";

html {
  box-sizing:border-box
}

*, :after, :before {
  box-sizing:inherit
}

* {
  -webkit-transform-style: flat;
  transform-style: flat;
  -webkit-user-drag: none;
  outline: 0;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing:border-box
}



.click-menu-active .threeLines .line {
  background-color: #FF0000 !important;
}

#click-menu .threeLines {
  width: 22px !important;
  height: 19px !important;
}

#click-menu .threeLines .line {
  height: 3px !important;
  margin-bottom: 5px !important;
}

#responsive-menu {
  width: -moz-available !important;
  width: fill-available !important;
  width: -webkit-fill-available !important;
  padding: 0 10px;
}

#responsive-menu .sub-menu,
#responsive-menu .responsive-menu li a,
body #responsive-menu .responsive-menu li li a {
  padding-left: 0 !important;
}

body #responsive-menu .responsive-menu li li a,
#responsive-menu .responsive-menu li a {
  width: 100% !important;
}

#responsive-menu .sub-menu li {
  margin-bottom: 2px;
}

#responsive-menu .sub-menu li.current-menu-item {
  margin-top: 5px;
  margin-bottom: 7px;
}

#responsive-menu .sub-menu li.current-menu-item a {
  padding: 6px 0 !important;
}

#responsive-menu li.current_page_parent>a {
  color: #FF0000 !important;
}

#responsive-menu li.menu-item-language {
  width: 30px !important;
  float: left;
}

#responsive-menu li.menu-item-language a {
  border-top: 0 !important;
}

#responsive-menu ul.responsive-menu>li:nth-last-child(3) {
  border-bottom: 1px solid #999;
}

.menu-item-language a {
  color: #666 !important;
}

.menu-item-language-current a {
  color: #FF0000 !important;
}

/* Masonry */
.grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  clear: both;
  background-color: #F0F0F0;
}

.grid .infscroll {
  display: block;
  margin: 0 0 22px 0;
  max-width: 100%;
}

.category .grid .infscroll {
  margin-bottom: 30px;
  /* Modif 2018-01-17 : Réduction de l'espace vertical entre les briques de l'affichage en grille (valeur initiale : 60px) */
}

.page-template-page-clients section ul {
  padding: 0;
  margin: 60px 0 0 0;
  list-style: none;
}

.page-template-page-clients section ul li {
  margin: 0 0 15px;
  border-top: 1px solid #999;
  width: 100%;
  padding-top: 5px;
}

/* Infinite Scroll */
.load-more-manual #page-nav {
  display: block !important;
}

#page-nav {
  display: none;
  text-align: center;
}

.load-more-manual #page-nav a {
  margin: 20px auto 10px auto;
  display: inline-block;
  width: auto;
}

.load-more-manual #page-nav a {
  font-weight: bold;
  display: inline-block;
  font-size: 15px;
  position: relative;
  transition-duration: 150ms;
  text-decoration: none;
}

#infscr-loading {
  text-align: center;
  z-index: 100;
  position: fixed;
  left: 50%;
  bottom: 20px;
  width: 200px;
  margin-left: -100px;
  padding: 10px;
  color: #999;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  max-height: 140px;
}

#infscr-loading img {
  display: none;
}

.more {
  width: 300px;
}

* {
  box-sizing: border-box;
}

a {
  color: #000;
  text-decoration: none;
}

html {
  height: 100%;
}

body {
  background-color: #F0F0F0;
  font-family: 'Roboto', sans-serif;
  margin: 0;
}

body.tax-type,
body.category,
body.home {
  height: 100%;
  margin-bottom: 3px;
}

header {
  margin-bottom: 30px;
}

.single-post header,
.single-project header {
  margin-bottom: 60px;
}

header nav {
  display: none;
}

.wrap {
  width: 100%;
  padding: 10px;
}

img {
  max-width: 100%;
}

/******************** AJOUT POUR CADRE BLANC AUTOUR DES POSTS (COMME POUR LES PROJECTS) 2018-01-18 ********************/
img.attachment-post-thumbnail {
  background-color: #FFFFFF;
  padding: 15px;
}

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

.home h1 {
  display: inline-block;
  font-weight: bold;
  font-size: 1em;
}

.clear {
  clear: both;
  height: 0;
}

.buttons {
  margin: 10px 0;
}

.buttongris,
.hupso_pop {
  background-color: #CCC;
  font-size: 0.750em;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 4px;
}

.hupso_pop {
  /*font-size:0.875em;*/
}

.hupso-share-buttons {
  /*padding-top:12px !important;*/
  float: left;
  padding-top: 0 !important;
  margin-right: 15px;
}

.buttons {
  margin-top: 100px;
}

.espacement-share {
  margin: 15px 0 35px;
}

#hupso_menu a {
  text-decoration: none !important;
}

#hupso_menu img {
  margin-bottom: 8px !important;
  vertical-align: middle;
}

#hupso_menu {
  width: 110px !important;
}

#menu_hupso_buttons_0>div,
#menu_hupso_buttons_1>div {
  width: 130px !important;
}

p.author,
.post-info {
  margin: 3px 0;
  font-size: 1em;
}

p.post-info span a {
  text-decoration: none;
  color: #000;
}

.post-info+.post-content {
  margin-top: 15px;
  word-wrap: break-word;
}

#responsive-menu-title {
  display: none;
}

#responsive-menu {
  font-size: 0.875em !important;
}

#responsive-menu .current-menu-item>a {
  border-top: 1px solid #FF0000 !important;
  border-bottom: 1px solid #FF0000 !important;
}

#responsive-menu .responsive-menu li li a {
  padding: 0px 0 0px 5% !important;
  border: 0;
}

#responsive-menu .responsive-menu {
  padding-top: 45px;
}

#responsiveSearch {
  display: none !important;
}

.appendLink {
  border: 0 !important;
  margin-top: 1px;
  line-height: 19px !important;
  height: 19px !important;
}

.rm-append-active+a {
  border-top: 1px solid #FF0000 !important;
  border-bottom: 1px solid #FF0000;
  font-weight: bold;
  color: #FF0000 !important;
}

.sub-menu {
  padding: 10px 5px 25px;
}

.logo a {
  color: #000;
  text-decoration: none;
  font-size: 1em;
}

.post {
  width: 100%;
}

.post .post-thumbnail {
  padding-bottom: 12px;
  border-bottom: 1px solid #999;
}

.post-content,
.description-article p,
.description-projet p {
  font-size: 0.875em;
  line-height: 20px;
}

/***************************************** AJOUTS ET MODIFICATIONS CI-DESSOUS POUR L'APPARENCE DES LIENS — 11/01/2018 *****************************************/
.post .post-content a,
.post .post-content a:visited {
  color: #000;
  text-decoration: underline;
  text-decoration-style: dotted;
}

.post .post-content a:hover {
  text-decoration: none;
}

.post-content a,
.post-content a:visited {
  color: #000;
  text-decoration: underline;
  text-decoration-style: dotted;
}

.post-content a:hover {
  text-decoration: none;
}

.description-article a,
.description-article a:visited {
  color: #000;
  text-decoration: underline;
  text-decoration-style: dotted;
}

.description-article a:hover {
  text-decoration: none;
}

/*****************************************/
h2.post-title {
  font-size: 1em;
}

.post .post-title {
  margin: 6px 0 2px;
}

.post .post-title a {
  color: #000;
  text-decoration: none;
  font-size: 1em;
  line-height: 22px;
}

.post .post-info {
  margin-top: 2px;
}

.post .post-info a {
  color: #000;
  text-decoration: none;
  font-size: 1em;
}

.side h4 {
  margin-top: 0;
  border-top: 1px solid #999;
  padding-top: 5px;
  font-size: 1em;
  line-height: 22px;
  margin-bottom: 15px;
}

.side ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.side ul li a {
  border-bottom: 1px solid #999;
  padding: 5px 0 10px;
  display: block;
  color: #000;
  text-decoration: none;
  font-size: 0.813em;
  line-height: 18px;
}

.side ul li:last-child a {
  border-bottom: 0;
}

.side .widget_archive {
  margin-top: 25px;
  border-top: 1px solid #999;
  border-bottom: 1px solid #999;
  padding: 5px 0 40px;
}

.side .widget_archive select {
  margin-top: 20px;
  width: 100%;
  padding: 2px;
}

.side .widget_archive h4 {
  display: none;
}

.side .widget_archive+p {
  margin: 0;
  padding-top: 5px;
}

.side .widget_archive label,
.side .widget_archive+p a {
  font-size: 1em;
  line-height: 22px;
}

div.post-info-bis {
  border-top: 1px solid #999;
  margin-top: 20px;
  clear: both;
  font-size: 1em;
  line-height: 22px;
}

body.single-post .post-info-bis .post-info {
  font-size: 1em !important;
  line-height: 22px !important;
}

div.post-info-bis p {
  font-size: 1em;
  /* Modification du: 2015-09-14 par: Yannick James/Studio Apeloig. Changement: padding-bottom=0 Raison: bas de page/article, espacement entre la ligne de texte et l'auteur trop important */
  padding: 5px 0 0px;
  margin: 0;
  display: inline-block;
}

div.post-info-bis p.post-info,
div.post-info-bis p.link {
  display: block !important;
  border-top: 1px solid #999;
}

section.content article.post-content .hupso-share-buttons:first-child {
  margin: 0 0 50px;
}

section.content article.post-content .hupso-share-buttons:last-child {
  float: left;
  margin-right: 10px;
  margin-top: 40px;
}

article+.buttons {
  margin-top: 66px;
}

#menu_hupso_buttons_1 {
  margin-top: -13px;
}

/*__ CSS CHROME ET SAFARI 5.1 __*/
@media screen and (-webkit-min-device-pixel-ratio:0) {
  section.content article.post-content .hupso-share-buttons:last-child {
    margin-top: 35px;
  }

  #menu_hupso_buttons_1 {
    margin-top: 0;
  }
}

section.content p.post-title {
  font-weight: normal;
  font-style: italic;
}

section.content p.post-title+p {
  display: inline;
}

#lang_sel_list a.lang_sel_sel,
#lang_sel_list a.lang_sel_sel:visited,
#lang_sel_list ul a.lang_sel_other,
#lang_sel li ul a:link,
#lang_sel_list ul a.lang_sel_other:visited {
  background: transparent !important;
}

#lang_sel_list ul {
  border: 0 !important;
}

#responsive-menu.admin-bar-showing {
  padding-top: 70px !important;
}

footer nav .menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer nav {
  display: inline-block;
  margin: 20px 0;
}

footer nav+p {
  margin: 0;
  display: inline-block;
}

footer nav .menu li {
  display: inline-block;
  margin-right: 5px;
}

#fixIE {
  display: -ms-grid;
  -ms-grid-columns: min-content;
  padding: 0 !important;
  margin: 0 !important;
}

.single-post section.content h1,
.page h1.post-title {
  border-top: 1px solid #999;
  padding-top: 8px;
  font-size: 1em;
}

body.single-post h1 {
  font-size: 1.250em !important;
  line-height: 25px;
}

body.single-post .post-info {
  font-size: 1.250em;
  line-height: 25px;
}

.page h1.post-title+article.post-content {
  margin-top: 40px;
}

#lang_sel_list {
  clear: both;
  margin-top: 10px;
}

#lang_sel_list a {
  padding-left: 0 !important;
  padding-right: 11px;
}

.fotorama {
  margin-bottom: 20px;
}

.fotorama__html div,
.fotorama__html a {
  display: block;
  height: 100%;
}

.survol h2 {
  font-size: 1em;
  margin: 0 0 2px;
}

.survol {
  display: none;
  bottom: 5px;
  font-size: 0.813em;
  line-height: 18px;
  position: absolute;
  width: 100%;
  background-color: #FFF;
  padding: 12px 8px 15px;
}

.masonry-project .infscroll a {
  /* display: block; */
}

.masonry-project .infscroll a img {
  background-color: #FFF;
  padding: 8px;
  /* width: 100%;
  display: block;
  height: auto; */
}

.masonry-project .infscroll:hover .survol {
  display: block;
}

.single-project .side div {
  font-size: 0.813em;
  line-height: 18px;
  border-top: 1px solid #999;
  padding-top: 4px;
  margin-bottom: 15px;
}

.single-project .side div:last-child {
  border-top: 0;
}

.single-project .side .terms {
  font-weight: bold;
}

.single-project .side .client,
.single-project .side .date-projet,
.single-project .side .technique-info p,
.single-project .side .link {
  margin: 0;
}

.single-project .side .technique,
.single-project .side .credit {
  display: inline;
}

.single-project .side h1 {
  font-size: 1em;
}

.single-project #menu_hupso_buttons_0,
.single-project #menu_hupso_buttons_1 {
  position: fixed !important;
}

#menu_hupso_buttons_0 *,
#menu_hupso_buttons_1 * {
  box-sizing: initial;
}

.side .hupso-share-buttons {
  padding-top: 12px !important;
  float: none;
}

.side .hupso-share-buttons .hupso_pop {
  font-size: 0.923em;
}

.hupso_pop>img {
  vertical-align: top;
  border: 0;
  opacity: 0;
}

.page-template-page-clients h1 {
  font-size: 1em;
  border-top: 1px solid #999;
  padding-top: 8px;
}

#columns {
  margin-top: 80px;
  width: 100%;
}

#columns p {
  margin: 0;
  border-top: 1px solid #999;
  display: inline-block;
  width: 100%;
}

#columns p a {
  display: block;
  padding: 7px 0 14px;
  font-size: 0.813em;
  line-height: 18px;
}

iframe {
  max-width: 100% !important;
}


.Fixedbug {
  margin-top: 50px;
}

.lang_sel_list_horizontal {
  display: none;
}

@media screen and (max-width: 490px) {
  .masonry-project .infscroll {
    margin-left: 0;
    margin-right: 0;
  }

  .masonry-project .infscroll .espace {
    margin-left: 0;
  }

  .grid .infscroll {
    /*max-width:20%;*/
    width: 250px;
    /*background:#FFF;*/
    margin-left: auto;
    margin-right: auto;
    position: initial !important;
  }
  iframe{
    max-height: 200px;
  }
}

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

  .wrap {
    width: 100%;
    margin: 0 auto;
    padding-left: 25px;
  }

  header {
    padding-top: 25px;
    height: 55px;
    position: fixed;
    background: rgba(240, 240, 240, 0.8);
    width: 99%;
    z-index: 99;
    margin-bottom: 0;
    top: 0;
    padding-right: 10px;
  }

  .single-post header,
  .single-project header {
    margin-bottom: 30px !important;
  }

  .lang_sel_list_horizontal {
    display: block;
  }

  .menu-item-language {
    display: none !important;
  }

  body.tax-type #grid-container {
    margin-top: 50px !important;
  }

  header+section,
  header+div,
  header~.fotorama,
  header+#fixIE section:first-child {
    padding-top: 80px !important;
    margin-top: 30px !important;
  }

  .fotorama {
    text-align: center;
  }

  header:hover {}

  header nav {
    display: inline-block;
    margin-left: 35px;
  }

  header nav ul.sub-menu {
    display: none;
  }

  header nav .menu {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
  }

  header nav .menu li {
    display: inline-block;
  }

  header nav .menu li a {
    color: #000;
    text-decoration: none;
  }

  header nav .menu>li {
    padding-bottom: 10px;
  }

  header nav .menu>li>a {
    margin-right: 15px;
    padding-bottom: 10px;
  }

  header nav .menu li.current-menu-item>a {
    color: #FF0000;
  }

  header nav .menu li>a:hover {
    color: #FF0000;
  }

  header nav .menu li.menu-item-has-children ul {
    position: absolute;
  }

  header nav .menu li.current-menu-item ul,
  header nav .menu li.current-menu-parent ul {
    display: block;
    z-index: 999;
  }

  body.home header nav .menu li.current-menu-item ul {
    display: none;
  }

  header nav .menu li.current-menu-item~div,
  header nav .menu li.current-menu-parent~div {
    display: block;
  }

  header nav .menu li.menu-item-has-children a:hover+ul,
  header nav .menu li.menu-item-has-children a+ul:hover {
    display: block;
    z-index: 88;
  }

  body.home header nav .menu li.current-menu-item~div,
  body.home header nav .menu li.current-menu-parent~div {
    display: none;
  }

  header nav .menu li#menu-item-24:hover~div,
  header nav .menu li#menu-item-60:hover~div {
    display: none;
  }

  header nav .menu li+div {
    display: none;
    position: absolute;
    background: rgba(240, 240, 240, 0.8);
    width: 100%;
    left: 0;
    height: 40px;
    margin-top: 0px;
  }

  body header nav .menu li.menu-item-has-children:hover~div {
    display: block;
  }

  header nav .menu ul.sub-menu {
    margin-top: 9px;
  }

  article+.buttons a {
    padding-top: 5px;
  }

  .description-article,
  .single-post .post-title,
  .single-post .post-info,
  .single-post .post-info-bis {
    width: 500px;
  }

  .description-projet {
    width: 500px;
  }

  /*__ CSS CHROME ET SAFARI 5.1 __*/
  @media screen and (-webkit-min-device-pixel-ratio:0) {
    header nav .menu li+div {
      margin-top: 2px;
    }

    header nav .menu ul.sub-menu {
      padding-top: 10px;
    }

    header nav .menu ul.sub-menu {
      margin-top: 8px;
    }

    article+.buttons a {
      padding-top: 4px;
    }

    article+.buttons {
      margin-top: 67px;
    }
  }

  /*___ Chrome only (28-40+) ____*/
  @media all and (-webkit-min-device-pixel-ratio:0) and (min-resolution: .001dpcm) {
    header nav .menu li+div {
      margin-top: 2px;
    }

    article+.buttons {
      margin-top: 70px !important;
    }

    article+.buttons a {
      padding-top: 5px;
    }
  }

  header nav .menu ul.sub-menu li a {
    border-right: 1px solid #999;
    padding-right: 10px;
    margin-right: 8px;
    padding-top: 7px;
    padding-bottom: 3px;
  }

  header nav .menu li:last-child a,
  header nav .menu ul.sub-menu li:last-child a {
    margin-right: 0px !important;
  }

  header nav .menu ul.sub-menu li:last-child a {
    border-right: 0;
  }

  .sub-menu {
    padding: 7px 0px 20px;
  }

  #lang_sel_list {
    margin-right: 0;
    float: right;
    margin-top: 0px;
  }

  section.content {
    width: -moz-min-content;
    width: -webkit-min-content;
    width: min-content;
    width: intrinsic;
    float: left;
    position: relative;
  }

  .single-project section.grid {
    margin-top: 100px;
    border-top: 1px solid #999;
    padding-top: 50px;
  }

  .Fixedbug {
    position: absolute;
    right: 0;
    top: 80px;
    margin-top: 0;
  }

  .side {
    width: 160px;
    position: fixed;
    margin-left: 25px;
  }

  footer {
    clear: both;
  }

  .masonry-project .infscroll a img {
    padding: 15px;
  }

  .masonry-project .infscroll .survol {
    padding-left: 15px;
    padding-right: 15px;
  }

  .post-content p:first-child {
    margin-top: 0;
  }

  .page-template-page-clients section ul li {
    margin-left: 19px;
    width: 137px;
    float: left;
  }

  .page-template-page-clients section ul li:nth-child(6n+1) {
    margin-left: 0;
    clear: left;
  }

  #columns {
    -webkit-columns: 6 auto;
    -moz-columns: 6 auto;
    columns: 6 auto;
    -webkit-column-gap: 20px;
    /* Chrome, Safari, Opera */
    -moz-column-gap: 20px;
    /* Firefox */
    column-gap: 20px;
  }

  .single-post section.content,
  .single-project section.content {
    /*min-width:500px;*/
    /* l'image détermine la largeur du contenu, il faudra donc que le Webmasteur prenne en compte cela afin d'éviter d'avoir un contenu trop étroit */
    max-width: 749px;
    min-height: 500px;
  }

  .single-post section.content img,
  .single-project section.content img,
  .single-post section.content iframe,
  .single-project section.content iframe {
    max-width: 749px !important;
    /*height: auto !important;*/
  }
  .single-post section.content img,
  .single-project section.content img {
    /*max-width: 749px !important;*/
    height: auto !important;
  }

  .single-post section.content figure {
    display: inline;
  }

  .page-template-default section {
    max-width: 500px;
  }

  .grid .infscroll {
    /*max-width:20%;*/
    width: 250px;
    /*background:#FFF;*/
  }

  .grid .infscroll-w-2 {
    width: 525px;
  }

  .grid .infscroll-w-3 {
    width: 800px;
  }

  #grid-container-news.grid .infscroll {
    width: 220px;
  }

  .category-news .grid .infscroll,
  .category-actualites .grid .infscroll {
    width: 215px;
    float: left;
  }

  .description-article iframe,
  .description-projet iframe {
    max-width: 500px !important;
  }

  iframe {
    /* max-height: 420px;
    max-width: 749px;*/
  }


}

.single-post section.content img,
.single-project section.content img/*,
.single-post section.content iframe,
.single-project section.content iframe*/ {
  /* max-width:749px !important; */
  height: auto !important;
}