/*
Theme Name: Produir
Author URI: www.produir.com
Version: 1.0
*/

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

* {
  box-sizing: border-box;
}

*::before,
*::after {
  box-sizing: border-box;
}

/**************************/
/*       Typography       */
/**************************/

html,
body {
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
  font-weight: normal;
  color: #000;
}

h1 {
  font-size: 2.5rem;
  margin-top: 1.25rem;
  margin-bottom: 1.875rem;
}

h2 {
  font-size: 1.875rem;
  line-height: 1.25;
  margin-bottom: 0.625rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.625rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
}

p {
  font-size: 1rem;
  line-height: 1.5;
}

@media (min-width: 992px) {
  p {
    font-size: 0.9rem;
  }
}

a,
a:hover,
a:focus {
  color: inherit;
  text-decoration: none;
}

strong {
  font-weight: 700;
}

input:focus {
  outline: 0;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1140px !important;
}

.collapse:not(.show) {
  display: none;
}

.collapsing {
  height: 0 !important;
  overflow: hidden !important;
  transition: height 0.35s ease !important;
}

.show {
  height: auto !important;
}

@media (min-width: 992px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .row {
    margin-left: -15px;
    margin-right: -15px;
  }

  [class^='col'] {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (min-width: 577px) {
  .col-2 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

span.bged {
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.inner {
  padding: 80px 0;
}

.text-ellipsis {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ellipsis-2 {
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.ellipsis-3 {
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

/**************************/
/*    Navigation menu     */
/**************************/

header {
  position: sticky;
  top: 0;
  background-color: #fff;
  z-index: 2000;
  height: auto;
  max-height: 100vh;
  overflow: auto;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.15);
}

header a {
  text-decoration: none;
  color: inherit;
}

header > .top-menu {
  display: none;
  background-color: #3e3b75;
}

header > .top-menu .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

header > .top-menu .menu {
  display: flex;
  align-items: center;
}

header > .top-menu .menu > li {
  padding: 1.25rem 0;
}

header > .top-menu .menu > li:not(:last-of-type) > a {
  border-right: 1px solid #fff;
}

header > .top-menu .parrainage {
  margin-left: 42px;
}

header > .top-menu a {
  padding: 0 12px;
  font-size: 0.75rem;
  color: #fff;
  background-color: #3e3b75;
}

@media (min-width: 992px) {
  header {
    overflow: unset;
    max-height: 180px;
  }

  header > .top-menu {
    display: block;
  }

  header > .top-menu li {
    position: relative;
    min-width: -webkit-max-content;
    min-width: -moz-max-content;
    min-width: max-content;
  }

  header > .top-menu .sub-menu {
    position: absolute;
    top: 75%;
    min-width: 100%;
    width: auto;
    background-color: #3e3b75;
    transform: scale(0);
    z-index: 10;
  }

  header > .top-menu .sub-menu li {
    padding: 0.625rem 0;
  }

  header > .top-menu .menu > li:hover ul.sub-menu {
    transform: scale(1);
  }
}

/**************************/
/*      Custom Logo       */
/**************************/

header .custom-logo-link {
  position: relative;
  display: inline-block;
  top: -20px;
  margin-right: 1.25rem;
}

header .custom-logo-link img {
  width: 100px;
}

header .main-navigation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  max-width: 1170px;
  margin-left: 0;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 1251px) {
  header .custom-logo-link {
    left: -35px;
  }

  header .main-navigation {
    margin-left: auto;
  }
}

@media (min-width: 992px) {
  header .custom-logo-link img {
    width: 170px;
  }

  header .main-navigation {
    flex-wrap: nowrap;
  }

  header .main-navigation .container {
    padding-bottom: 1rem;
  }
}

/**************************/
/*      Social menu       */
/**************************/

header .top-menu + .container {
  margin-bottom: 0.625rem;
}

header .social-menu,
header .main-menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0.625rem 0;
}

header .social-menu li:not(:last-of-type) {
  display: none;
}

header .social-menu li:last-of-type {
  padding: 4px;
  color: #fff;
  background-color: #96c11f;
  border-radius: 5px;
}

header .social-menu li:last-of-type a {
  display: inline-flex;
  align-items: center;
}

header .social-menu i {
  font-size: 1.25rem !important;
}

@media (min-width: 768px) {
  header .top-menu + .container {
    margin-bottom: 0;
  }

  header .social-menu li:not(:last-of-type) {
    display: inherit;
    margin-right: 1rem;
  }
}

/**************************/
/*       Menu mobile      */
/**************************/

header .menu-mobile li,
header .menu-main li {
  margin-bottom: 15px;
}

header .menu-mobile > li,
header .menu-main > li {
  height: 15px;
  overflow: hidden;
}

header .menu-mobile > li:hover,
header .menu-mobile > li:focus,
header .menu-mobile > li:focus-within,
header .menu-main > li:hover,
header .menu-main > li:focus-within,
header .menu-main > li:focus {
  height: unset;
  overflow: unset;
}

header .menu-mobile a {
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  font-size: 0.875rem;
  font-weight: 700;
}

@media (min-width: 992px) {
  header .menu-mobile {
    display: none;
    text-transform: uppercase;
  }

  header .menu-mobile > li,
  header .menu-main > li {
    height: unset;
    overflow: unset;
  }
}

/**************************/
/*       Main menu        */
/**************************/

header .main-menu-container {
  width: 100%;
  padding: 0;
  background-color: #fff;
  transition: all ease 0.2s;
}

header .menu-main a {
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  font-size: 0.875rem;
  font-weight: 700;
}

header .menu-mobile .sub-menu,
header .menu-main .sub-menu {
  margin-top: 15px;
  padding-left: 1.25rem;
}

header .menu-main .sub-menu li {
  flex: 0 0 33.33%;
}

header .menu-main .sub-menu li:hover a {
  text-decoration: underline;
}

header .menu-mobile > li.menu-item-has-children > a::after,
header .menu-main li.menu-item-has-children > a::after {
  content: url(./assets/images/keyboard-arrow-down.svg);
  margin-left: 14px;
}

@media (min-width: 1251px) {
  header .main-menu-container {
    padding-left: 50px;
  }
}

@media (min-width: 992px) {
  header .main-menu-container {
    display: flex !important;
    align-items: center;
    position: relative;
    max-width: calc(100% - 170px);
    top: 0;
    height: auto;
    padding: 0 15px;
    border-top: 1px solid #868686;
    border-bottom: 1px solid #868686;
    transform: scale(1);
    overflow: unset;
  }

  header .menu-main {
    display: flex;
    justify-content: flex-start;
  }

  header .menu-main li {
    margin-bottom: 0;
    padding: 15px 0;
  }

  header .menu-mobile > li.menu-item-has-children > a::after,
  header .menu-main li.menu-item-has-children > a::after {
    margin-top: -3px;
  }

  header .menu-main a {
    text-transform: uppercase;
  }

  header .menu-main > li:not(:last-of-type) > a {
    border-right: 1px solid #868686;
  }

  header .menu-main .sub-menu {
    position: absolute;
    top: 47px;
    left: 0;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding: 1.25rem;
    z-index: 10;
    background-color: #fff;
    transform: scale(0);
    transform-origin: top left;
  }

  header .menu-main > li:hover .sub-menu {
    margin-top: 0;
    transform: scale(1);
  }

  header .menu-main li.menu-item-has-children:hover > a::after,
  header .menu-main li.menu-item-has-children:focus > a::after {
    transform: rotate(180deg);
  }
}

/**************************/
/*      Search form       */
/**************************/

header .header-form {
  display: flex;
  align-items: center;
  min-width: 1.875rem;
  margin-left: auto;
  padding: 15px;
}

header .search-button {
  display: none;
}

header button {
  justify-content: center;
  align-items: center;
  width: 1.875rem;
  height: 1.875rem;
  padding: 0;
  border: 0;
  outline: 0;
  background: none;
  overflow: hidden;
  cursor: pointer;
}

header .button-close-form {
  display: none;
  margin-left: 15px;
}

header .form-search {
  width: 100%;
}

header .search-button.active + .button-close-form {
  display: inline-flex;
}

header .search-button.active ~ .form-search {
  transform: scale(1);
}

header .header-form .form-search label {
  display: inline-block;
  margin-bottom: 0.625rem;
}

header .header-form .form-search input[type='text'] {
  width: 100%;
  height: 2.5rem;
  padding: 5px 0.625rem;
  border-radius: 0;
  border: 1px solid #868686;
  outline: 0;
}

header .button-toggle-menu {
  display: inline-flex;
  margin-top: -10px;
  margin-left: auto;
}

header .button-toggle-menu svg + svg {
  display: none;
}

@media (min-width: 992px) {
  header .header-form {
    justify-content: center;
    height: 1.875rem;
    padding: 0;
  }

  header .search-button {
    display: inline-block;
  }

  header .header-form .form-search {
    position: absolute;
    left: 0;
    top: 120%;
    background-color: #fff;
    padding: 15px;
    z-index: 10;
    width: 100%;
    transform: scale(0);
    transform-origin: top left;
  }

  header .button-toggle-menu {
    display: none;
  }
}

/**************************/
/*         Content        */
/**************************/

#page-wrapper {
  max-width: 1920px;
  margin: 0 auto;
  overflow: hidden;
}

main {
  position: relative;
}

body.main-menu-hover-active main::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

/************************/
/*       Home page      */
/************************/

#promote-publication {
  padding: 2.5rem 0;
  background-color: #fff;
}

#promote-publication h1 {
  font-size: 3rem;
  text-decoration: underline;
  text-transform: initial;
  margin-bottom: 1.25rem;
}

.recent-post {
  display: flex;
  flex-wrap: wrap;
}

@media (min-width: 992px) {
  #promote-publication {
    padding: 80px 0;
  }

  #promote-publication h1 {
    font-size: 4.5rem;
    margin-bottom: 2.5rem;
  }
}

/*      Article A la une     */

.overlay {
  position: relative;
  width: 100%;
  height: 300px;
  /* background-color: #3e3b75; */
  opacity: 0.73;
  z-index: 2;
}

.overlay ~ div:not(:last-of-type) {
  background: #fff;
}

.presentation {
  position: fixed;
  top: 0;
  width: 100%;
  max-width: 1920px;
  height: 300px;
  object-fit: cover;
  margin: 102px auto auto;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.presentation video {
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom center;
}

@media (min-width: 992px) {
  .overlay {
    height: calc(100vh - 178px) !important;
    min-height: 550px;
  }

  .presentation {
    height: 100vh !important;
    min-height: 550px;
  }
}

@media (min-width: 768px) {
  .overlay,
  .presentation {
    height: 400px;
  }
}

/*      Article A la une     */

.recent-post > li {
  margin-bottom: 1.875rem;
}

.recent-post .post-promoted {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column-reverse;
}

.recent-post .post-promoted .post-thumbnail,
.recent-post .post-thumbnail {
  margin-bottom: 0.625rem;
}

.recent-post .post-promoted .post-content a {
  display: inline-block;
  margin-top: 0.625rem;
  color: #3e3b75;
  font-weight: 700;
  text-decoration: underline;
}

.recent-post .post-thumbnail img,
.recent-post .post-thumbnail {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.recent-post .post-date {
  display: inline-block;
  margin-bottom: 0.625rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #868686;
}

.recent-post .post {
  display: none;
}

.recent-post .post h3 {
  font-size: 1.25rem;
}

@media (min-width: 992px) {
  .recent-post .post-promoted {
    flex-direction: row;
  }

  .recent-post .post-promoted .post-content {
    flex: 0 0 40%;
    order: 0;
    z-index: 2;
  }

  .recent-post .post-promoted .post-thumbnail {
    position: relative;
    top: -50px;
    flex: 0 0 60%;
    height: auto !important;
    max-height: 425px;
    z-index: 1;
    overflow: hidden;
  }

  .recent-post .post-promoted .post-thumbnail img {
    height: 100% !important;
    object-fit: cover;
  }

  .recent-post .post-promoted .post-content h3 {
    width: 125%;
    margin-bottom: 2.5rem;
    font-size: 2.1875rem;
    text-transform: none;
  }

  .recent-post .post-promoted .post-content h3 span {
    padding: 2px 8px 6px;
    color: #fff;
    line-height: 1.125;
    background-color: #3e3b75;
  }

  .recent-post .post-promoted .post-content span.post-date {
    display: none;
  }

  .recent-post .post-promoted .post-content p,
  .recent-post .post-promoted .post-content a {
    margin-left: 70px;
  }

  .recent-post .post-promoted .post-content p {
    margin-bottom: 2.5rem;
    margin-right: 35px;
    font-size: 1.25rem;
  }

  .recent-post .post {
    flex: 0 0 33.33%;
    padding-right: 1.875rem;
    overflow: hidden;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .recent-post .post {
    flex: 0 0 50%;
    max-width: 50%;
    padding-right: 1.875rem;
  }

  .recent-post .post:last-of-type {
    display: none;
  }
}

@media (min-width: 768px) {
  .recent-post .post-thumbnail img,
  .recent-post .post-thumbnail {
    height: 350px;
  }

  .recent-post li .post-link {
    color: inherit;
    text-decoration: none;
  }

  .recent-post .post {
    display: initial;
  }
  .recent-post .post .post-thumbnail {
    display: inherit;
    width: 300px;
    height: 180px;
    object-fit: cover;
  }

  .recent-post li h3 {
    margin-top: 15px;
    font-size: 1.125rem;
    text-transform: uppercase;
  }

  .recent-post .post span {
    display: block;
    margin-bottom: 1.25rem;
    font-size: 0.75rem;
    color: #868686;
    font-weight: 500;
  }

  .recent-post li p,
  .recent-post .post-promoted a {
    padding-left: 1.875rem;
  }

  .recent-post li .post-details {
    font-size: 0.75rem;
    font-weight: 700;
    color: #868686;
  }

  .recent-post li p {
    padding-left: 0;
  }

  .recent-post .post p {
    display: block;
  }

  .recent-post .post-promoted a {
    padding-left: 0;
  }

  .recent-post .post .post-thumbnail {
    display: none;
  }

  .recent-post .post h3,
  .recent-post .post span {
    position: relative;
    padding-left: 1.875rem;
  }

  .recent-post .post h3 {
    max-width: 100%;
    margin-top: 0;
    white-space: initial;
    text-overflow: ellipsis;
    overflow: hidden;
  }

  .recent-post li.post h3::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 0;
    width: 0.625rem;
    height: 13px;
    background-color: #96c11f;
  }
}

#promote-publication .more {
  margin-top: 60px;
  background-color: #000;
}

#promote-publication .more-link {
  display: inline-block;
  padding: 0.625rem;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  background-color: #96c11f;
}

.two-columns {
  padding-bottom: 80px;
}

.two-columns .col-12 {
  margin-bottom: 2.5rem;
  overflow: hidden;
}

.two-columns .post-promoted {
  display: flex;
  position: relative;
}

@media (min-width: 600px) {
  .two-columns .post-promoted {
    height: 440px;
  }
}

.two-columns img {
  min-width: 425px;
  max-width: 425px;
  height: 100%;
  margin-left: auto;
}

@media (max-width: 500px) {
  .two-columns img {
    min-width: initial;
    max-width: 100%;
  }
}

.two-columns h2,
.two-columns p {
  position: absolute;
  left: 0;
}

.two-columns h2 {
  font-size: 1.875rem;
  padding: 5px 0.625rem 0.625rem 0;
  text-decoration: underline;
  color: inherit;
  background-color: #fff;
}

.two-columns p {
  width: 95%;
  bottom: 1.25rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.two-columns video,
.two-columns iframe {
  width: 100%;
  margin-top: 60px;
  height: auto;
  min-height: 225px;
}

@media (min-width: 992px) {
  .two-columns .col-12:first-of-type {
    padding-right: 36px;
  }
}

@media (min-width: 768px) {
  .two-columns p {
    width: 60%;
  }

  .two-columns iframe {
    height: 300px;
  }
}

.two-columns p span {
  padding: 0.3125rem 0.625rem 0.625rem;
  background-color: #3e3b75;
}

#composantes {
  padding-bottom: 100px;
}

#composantes .row {
  position: relative;
}

#composantes .box-text {
  position: relative;
  min-height: 300px;
  padding: 1.25rem 1.25rem 1.875rem;
  color: #fff;
  background-color: #3e3b75;
  z-index: 2;
}

#composantes .box-image {
  position: absolute;
  left: 250px;
  min-width: 750px;
  margin-top: 2.625rem;
  text-align: right;
  z-index: 1;
}

#composantes .box-image img {
  height: auto;
  max-height: 450px;
}

#composantes .box-text h2 {
  margin-bottom: 1.875rem;
  text-decoration: underline;
  color: #fff;
}

#composantes .box-text h2 a {
  color: #fff;
}

#composantes .box-text p {
  margin-bottom: 1.25rem;
  color: #3e3b75;
  font-size: 1.25rem;
  font-weight: 700;
}

#composantes .box-text p span {
  padding: 5px 0.625rem 5px;
  background-color: #fff;
}

#composantes .box-text ul {
  margin-left: 36px;
}

#composantes .box-text ul li {
  padding-bottom: 0.5rem;
}

@media (min-width: 426px) {
  #composantes .box-text ul li {
    padding-right: 1.25rem;
  }
}

#composantes .box-text ul li a {
  display: flex;
  align-items: center;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.5;
  color: currentColor;
}

#composantes .box-text ul li a svg {
  margin-left: auto;
  fill: #fff;
}

@media (min-width: 992px) {
  #composantes {
    padding-bottom: 150px;
  }
}

@media (min-width: 768px) {
  #composantes .box-text {
    width: 400px;
  }

  #composantes .box-text p {
    width: 85%;
  }
}

/*   Call to action: home page   */

#card-list {
  padding: 36px 0;
  background-color: #e8e8e8;
}

#card-list .card {
  min-width: calc(100% - 2rem);
  margin-left: 1rem;
  margin-right: 1rem;
}

.call-to-action .card:not(:last-of-type) {
  margin-bottom: 1rem;
}

.call-to-action .card:first-of-type {
  color: #3e3b75;
  background-color: #fff;
}

.call-to-action .card:nth-of-type(2) {
  background-color: #e0922c;
}

.call-to-action .card:last-of-type {
  background-color: #96c11f;
}

.call-to-action .card:first-of-type .card-action {
  background-color: #e0922c;
}

.call-to-action .card {
  display: flex;
  flex-direction: column;
  height: 100%;
  height: 330px;
  padding: 1.25rem;
  text-align: center;
  color: #fff;
}

.call-to-action .card .card-body {
  padding: 0;
}

.call-to-action .card .card-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

@media (min-width: 992px) {
  #card-list .card {
    min-width: initial;
  }

  #card-list .card:first-of-type {
    margin-left: 1rem;
  }

  #card-list .card:nth-of-type(2) {
    margin-left: 0;
    margin-right: 0;
  }

  #card-list .card:last-of-type {
    margin-right: 1rem;
  }

  .call-to-action .card:not(:last-of-type) {
    margin-bottom: 2.5rem;
  }
}

#sidebar-content .card:first-of-type {
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
}

/* .call-to-action {
  padding: 55px 15px 0;
  background-color: #fff;
} */

.call-to-action .card .card-image {
  margin-bottom: 1.25rem;
}

.call-to-action .card .card-body {
  margin-bottom: 1.25rem;
}

.call-to-action .card .card-title {
  font-size: 1.5625rem;
}

.call-to-action .card .card-action {
  align-self: center;
  margin-top: auto;
  padding: 0.625rem 1.25rem;
  text-align: center;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  background-color: #003399;
}

#sidebar-content {
  background: none;
}

#sidebar-content.call-to-action .card {
  margin-bottom: 2.5rem;
}

@media (min-width: 992px) {
  .call-to-action .row {
    justify-content: space-between;
    align-items: stretch;
  }

  .call-to-action .card {
    max-width: 300px;
  }

  .call-to-action .card:not(:last-of-type) {
    margin-bottom: 0;
  }

  .call-to-action .card .card-action {
    min-width: 65%;
  }

  .call-to-action .card .card-body {
    max-width: unset !important;
  }
}

@media (min-width: 768px) {
  .call-to-action .card .card-body {
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 577px) {
  .call-to-action .card .card-action {
    max-width: 300px;
  }
}

/********************************/
/*       Page        */
/********************************/

article {
  width: 100%;
  padding-bottom: 2.5rem;
}

@media (min-width: 992px) {
  article {
    padding-bottom: 80px;
  }
}

article h2,
article h3 {
  margin-bottom: 0.625rem;
  text-transform: uppercase;
}

article h2 {
  font-size: 1.25rem;
  margin-top: 1.875rem;
}

article p {
  margin-bottom: 0.625rem;
}

article ul,
article ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  list-style: disc;
  font-family: inherit;
  font-size: 0.9rem;
}

article ol {
  list-style: decimal;
}

article ol li,
article ul li {
  margin-bottom: 0.625rem;
  line-height: 1.5;
}

article img {
  height: auto;
}

article .post-details {
  display: flex;
  align-items: center;
  margin-bottom: 2.5rem;
  color: #676767;
}

article .post-details span {
  font-size: 0.75rem;
  font-weight: 700;
}

article .post-details span:first-of-type {
  font-weight: 700;
  text-transform: uppercase;
}

article a {
  color: #3e3b75;
  text-decoration: none;
  font-weight: 700;
}

aside {
  flex: 1 0 0;
}

aside .widget_recent_entries li {
  position: relative;
  margin-bottom: 0.625rem;
  padding-left: 1.25rem;
}

aside .widget_recent_entries li::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 0;
  width: 0.625rem;
  height: 0.625rem;
  background-color: #96c11f;
}

aside .widget_recent_entries li a {
  display: flex;
  max-width: 250px;
}

aside .widget_recent_entries li a::after {
  content: url(./assets/images/keyboard-arrow-black.svg);
  width: 0.625rem;
  height: 0.625rem;
  margin-left: auto;
  color: #fff;
}

aside .widget_recent_entries li a {
  text-decoration: none;
  color: #000;
}

/********************************/
/*          Page: Home          */
/********************************/

#actualites h2 {
  margin-top: 0.25rem;
  font-size: 1.5rem;
}

#actualites img {
  margin-bottom: 0.625rem;
  max-height: 280px;
  object-fit: cover;
}

#actualites .row .col-lg-6 {
  margin-bottom: 1.25rem;
}

#actualites .row .col-lg-6:first-of-type {
  min-width: 100%;
}

@media (min-width: 768px) {
  #actualites .row .col-lg-6:first-of-type h2 {
    font-size: 2.1875rem;
  }
}

#actualites .row .col-lg-6:first-of-type img {
  max-height: 400px;
  margin-bottom: 1.25rem;
}

/********************************/
/*   Content Recent  */
/********************************/

.recent-article > h2 {
  margin-bottom: 1.25rem;
  padding-bottom: 12px;
  border-bottom: 1px solid #000;
}

.recent-article .post {
  display: initial;
}

/********************************/
/*     Page: Mot du ministre    */
/********************************/

#mot-ministre {
  padding: 60px 0 80px;
  background-color: #e8e8e8;
}

#mot-ministre h1 {
  font-size: 1.875rem;
  text-decoration: underline;
  text-transform: initial;
  color: initial;
}

#mot-ministre .post-images {
  position: relative;
}

#mot-ministre .page-bg {
  max-width: 300px;
}

#mot-ministre .page-bg img {
  margin-bottom: 2.5rem;
}

#mot-ministre .post-images > img {
  display: none;
}

#mot-ministre .bged {
  max-width: 326px;
  padding: 4px 8px;
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
  background-color: #3e3b75;
}

#mot-ministre + .recent-article {
  padding-top: 48px;
  padding-bottom: 100px;
}

@media (min-width: 992px) {
  #mot-ministre .col-lg-6:last-of-type {
    padding-left: 60px;
  }

  #mot-ministre .post-images > img {
    display: inline-block;
  }

  #mot-ministre .page-bg {
    position: absolute;
    top: 150px;
    right: -20px;
    padding: 26px 0 12px 26px;
    background-color: #e8e8e8;
  }
}

/********************************/
/*    With sidebar   */
/********************************/

.with-sidebar {
  padding-top: 80px;
  padding-bottom: 80px;
}

.with-sidebar .col,
.with-sidebar .col-1-3 {
  flex: 0 0 100%;
}

.with-sidebar p {
  margin-bottom: 0.625rem;
  line-height: 1.5;
}

.with-sidebar ul {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  margin-left: 1.875rem;
  list-style: initial;
}

.with-sidebar li {
  margin-bottom: 15px;
  line-height: 1.25;
}

/********************************/
/*        Page: Contact         */
/********************************/

.single h1,
.blog h1,
.page:not(.home) h1 {
  color: #003399;
  text-transform: initial;
}

.wpcf7-form.invalid {
  display: flex;
  flex-direction: column;
}

.wpcf7-form.invalid .wpcf7-response-output {
  margin: 0.5rem 0 2rem;
  order: -1;
}

.form-inline .form-group {
  flex-grow: 1;
  min-width: 100%;
  margin-bottom: 1rem;
}

.form-inline .form-group:last-of-type {
  margin-bottom: 0;
}

.custom-control .wpcf7-list-item.first {
  margin-left: 0;
}

.wpcf7-form-control-wrap,
.wpcf7-form-control-wrap .form-control {
  width: 100%;
}

.faq-btn {
  background-color: #003399;
}

.wpcf7-not-valid-tip {
  font-size: 0.875rem;
  padding: 0.5rem 0 0;
}

.form-submit {
  width: 100%;
  margin-top: 1rem;
  color: #fff;
  background-color: #96c11f;
}

@media (min-width: 576px) {
  .form-submit {
    width: 190px;
    margin-top: 2rem;
  }
}

@media (min-width: 768px) {
  .form-inline .form-group {
    max-width: calc(50% - 0.5rem);
    min-width: initial;
    margin-bottom: 0;
  }
}

/********************************/
/*          Page: home          */
/********************************/

.page-template article.passation-marche,
.page-template article.publications,
.page-template article.press-room,
.archive article.post,
.blog article.post {
  width: 100%;
  padding: 1.875rem 0;
  border-bottom: 1px solid #ebebeb;
}

article.passation-marche .post-thumbnail,
article.publications .post-thumbnail,
article.press-room .post-thumbnail,
article.post .post-thumbnail {
  max-height: 225px;
}

article.passation-marche .post-thumbnail img,
article.publications .post-thumbnail img,
article.press-room .post-thumbnail img,
article.post .post-thumbnail img {
  object-fit: cover;
  object-position: center;
}

@media (min-width: 501px) {
  .page-template article.passation-marche,
  .page-template article.publications,
  .page-template article.press-room,
  .archive article.post,
  .blog article.post {
    display: flex;
    height: 200px;
  }

  article.passation-marche .post-thumbnail,
  article.publications .post-thumbnail,
  article.press-room .post-thumbnail,
  article.post .post-thumbnail {
    max-height: initial;
    flex: 0 0 150px;
    margin-right: 1.875rem;
  }

  article.passation-marche .post-thumbnail img,
  article.publications .post-thumbnail img,
  article.press-room .post-thumbnail img,
  article.post .post-thumbnail img {
    height: 100%;
  }
}

article.passation-marche .post-content,
article.publications .post-content,
article.press-room .post-content,
article.post .post-content {
  flex: 1;
}

article.passation-marche .post-content .post-tag,
article.publications .post-content .post-tag,
article.press-room .post-content .post-tag,
article.post .post-content .post-tag {
  position: relative;
  padding-left: 1rem;
  font-size: 0.75rem;
}

article.passation-marche .post-content .post-tag::before,
article.publications .post-content .post-tag::before,
article.press-room .post-content .post-tag::before,
article.post .post-content .post-tag::before {
  content: '';
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #003399;
  margin-right: 7px;
  position: absolute;
  left: 0;
  top: 4px;
}

article.passation-marche .post-content .post-category,
article.publications .post-content .post-category,
article.press-room .post-content .post-category,
article.post .post-content .post-category {
  display: block;
}

article.post .post-content .post-category a {
  font-weight: 700;
  color: #003399;
}

article.passation-marche .post-content .post-date,
article.publications .post-content .post-date,
article.press-room .post-content .post-date,
article.post .post-content .post-date {
  font-weight: 700;
  color: #676767;
}

article.passation-marche .post-content h3,
article.publications .post-content h3,
article.press-room .post-content h3,
article.post .post-content h3 {
  font-size: 1rem;
}

article.passation-marche .post-content .post-link,
article.publications .post-content .post-link,
article.press-room .post-content .post-link,
article.post .post-content .post-link {
  color: #2c3032;
  text-decoration: none;
}

article.passation-marche .post-content .post-link:focus,
article.passation-marche .post-content .post-link:hover,
article.publications .post-content .post-link:focus,
article.publications .post-content .post-link:hover,
article.press-room .post-content .post-link:focus,
article.press-room .post-content .post-link:hover,
article.post .post-content .post-link:focus,
article.post .post-content .post-link:hover {
  color: #5c6468;
}

article.passation-marche .post-content .post-exceprt,
article.publications .post-content .post-exceprt,
article.press-room .post-content .post-exceprt,
article.post .post-content .post-exceprt {
  font-size: 0.875rem;
}

.page-template .navigation.pagination,
.archive .navigation.pagination,
.blog .navigation.pagination {
  margin-top: 1.5rem;
}

.page-template .navigation.pagination .nav-links,
.archive .navigation.pagination .nav-links,
.blog .navigation.pagination .nav-links {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.page-template .navigation.pagination .page-numbers,
.archive .navigation.pagination .page-numbers,
.blog .navigation.pagination .page-numbers {
  padding: 4px;
}

.page-template .navigation.pagination .page-numbers:hover,
.page-template .navigation.pagination .page-numbers:focus,
.archive .navigation.pagination .page-numbers:focus,
.archive .navigation.pagination .page-numbers:hover,
.blog .navigation.pagination .page-numbers:focus,
.blog .navigation.pagination .page-numbers:hover,
.page-template .navigation.pagination .page-numbers.current,
.archive .navigation.pagination .page-numbers.current,
.blog .navigation.pagination .page-numbers.current {
  font-weight: 700;
  color: #003399;
}
