/* =============
===== GLOBAL =====
================ */
img {
  display: block;
}

.site-wrapper {
  padding: 50px 0;
}

.site-wrapper .content {
  flex: none;
  max-width: 100%;
}

.site-main {
  flex: 0 0 70%;
  padding: 0 25px 0;
}

.bg.orange {
  background: #e8ac28;
}
.bg.lgray {
  background: #D5D5D5;
}

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

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

.link.gray {
  color: #C0C0C0;
}

/* =============
===== TYPO =====
================ */
p + p, p + h1, p + h2, p + h3, p + h4, p + h5, p + h6, h1 + p, h1 + h1, h1 + h2, h1 + h3, h1 + h4, h1 + h5, h1 + h6, h2 + p, h2 + h1, h2 + h2, h2 + h3, h2 + h4, h2 + h5, h2 + h6, h3 + p, h3 + h1, h3 + h2, h3 + h3, h3 + h4, h3 + h5, h3 + h6, h4 + p, h4 + h1, h4 + h2, h4 + h3, h4 + h4, h4 + h5, h4 + h6, h5 + p, h5 + h1, h5 + h2, h5 + h3, h5 + h4, h5 + h5, h5 + h6, h6 + p, h6 + h1, h6 + h2, h6 + h3, h6 + h4, h6 + h5, h6 + h6 {
  margin-top: 1em;
}

/* =============
===== PAGES =====
================ */
aside section.widget:not(:first-child) {
  margin-top: 25px;
}

/* =============
===== ARCHIVE =====
================ */
.archive .agences {
  display: flex;
  flex-wrap: wrap;
  color: #000;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.15);
}
.archive .agences + .agences {
  margin-top: 25px;
}
.archive .agences h2 {
  color: #e8ac28;
  padding: 0 0 0.5em;
  border-bottom: 1px solid #e8ac28;
}
.archive .agences .thumbnail {
  flex: 0 0 50%;
}
.archive .agences .thumbnail img {
  object-fit: cover;
  height: 100%;
}
.archive .agences .entry-content {
  padding: 25px;
  flex: 1 1;
}

/* =============
===== SINGLE AGENCE =====
================ */
.single-agences aside {
  border-left: none;
}
.single-agences .fiche-agence {
  position: relative;
  z-index: 100;
  margin-top: -125px;
  background: #FFF;
}
.single-agences .fiche-agence .fiche-agence--inside {
  padding: 25px;
  border: 1px solid #d5d5d5;
  border-top: none;
}
.single-agences .fiche-agence .cover img {
  object-fit: cover;
  object-position: 50% 50%;
  max-height: 200px;
  width: 100%;
}
.single-agences .fiche-agence .profile-pic {
  position: relative;
  z-index: 2;
  overflow: hidden;
  margin-top: -75px;
  margin-bottom: 15px;
  height: 100px;
  width: 100px;
  border: 5px solid #FFF;
}
.single-agences .fiche-agence .profile-pic.rounded {
  border-radius: 999em;
}
.single-agences .content {
  margin-bottom: 100px;
}

.recent_posts--section {
  margin: 50px 0;
}

.recent_posts.agences {
  display: flex;
  margin: 25px 0;
}
.recent_posts.agences .agence {
  flex: 0 0 calc(33.3333333333% - 30px);
  margin: 0 30px 0 0;
}
.recent_posts.agences .agence .agence--content {
  border: 1px solid #D5D5D5;
  padding: 25px;
}
.recent_posts.agences .agence .agence--content h3 {
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.4em;
  margin-bottom: 0.5em;
  font-size: 1.5em;
}
.recent_posts.agences .agence .agence--content .link {
  margin-top: 0.5em;
}

/* =============
===== AUTRE =====
================ */
.buttons-container {
  text-align: center;
  display: flex;
  justify-content: center;
}

.button.big-button.alt {
  border: 3px solid #FFF;
  color: #FFF;
  background: transparent;
}
.button.big-button.alt:hover, .button.big-button.alt:active {
  background: #FFF;
  color: #e8ac28;
}

.button.alt, .button:visited.alt, a.button.alt, a.button:visited.alt {
  color: #e8ac28;
  border: 1px solid #e8ac28;
  background: transparent;
}
.button.alt:hover, .button.alt:active, .button:visited.alt:hover, .button:visited.alt:active, a.button.alt:hover, a.button.alt:active, a.button:visited.alt:hover, a.button:visited.alt:active {
  background: #e8ac28;
  color: #FFF;
}

img.trp-flag-image {
  width: auto !important;
}

@media screen and (max-width: 992px) {
  .archive .agences .thumbnail {
    flex: 0 0 100%;
  }
}
@media screen and (max-width: 782px) {
  .buttons-container {
    display: block;
  }
  .site-wrapper {
    padding-bottom: 0;
  }
}