/*
 Theme Name:     La petite fabrique
 Author:         Hery
 Author URI:     https://www.heryrasolon.fr
 Template:       oracom
 Version:        1.0.0
 Description:    A Child Theme built for Oracom main Theme
*/

/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */

/***********************
  Layout.
***********************/

.wrapper {
  max-width: 100%;
}

.container,
.mid-container,
.tight-container {
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}
.mid-container {
  max-width: 980px;
}
.tight-container {
  max-width: 768px;
}

header.header {
  margin-bottom: 24px;
  background-color: #fff;
}

.masonry {
  columns: 1;
  column-gap: 1em;
}
.element {
  margin-bottom: 1em;
  /* No cross browser 'break-inside' property being supported yet: */
  display: inline-block;
}

.iframe-nl {
  width: 100%;
  min-height: 640px;
}

@media screen and (min-width: 35.5em) {
  /* -sm */
  .masonry {
    columns: 2;
  }
}

@media screen and (min-width: 49em) {
  /* -md */
  header.header {
    margin-bottom: 32px;
    border-bottom: 1px solid #eee;
  }
}

@media screen and (min-width: 64em) {
  /* -lg */
  .masonry {
    columns: 3;
  }
}

@media screen and (min-width: 80em) {
  /* -xl */
}

/***********************
  Navigation.
***********************/

.main-navigation {
  padding-top: 4px;
}

.main-navigation li {
  padding: 24px 24px 0 24px;
}
.main-navigation li.menu-item-has-children {
  padding: 32px 32px 0 24px;
}
.main-navigation li.menu-item-has-children:after {
  content: "\f078";
  font: normal normal normal 14px/1 FontAwesome;
  float: right;
  margin-top: -20px;
  margin-right: -22px;
  color: #97cdc6;
}

.main-navigation .menu-menu-1-container {
  float: right;
}
.main-navigation ul.sub-menu {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  border: 1px solid #d3d3d3;
  border-radius: 4px;
  background-color: #fff;
}
.main-navigation .sub-menu li {
  padding: 8px 16px 8px 16px;
}

#site-navigation .menu-toggle {
  background-color: #7d7296;
  border: none;
  color: #ffffff;
}

#site-navigation .menu-toggle {
  float: right;
}

/* Styling mobile side menu */
#site-navigation.toggled .menu-menu-1-container {
  background-color: #7d7296;
  position: absolute;
  margin-right: 0;
  top: 64px;
  width: 100%;
  left: 0;
  text-align: center;
  transition: all ease 0.25s;
  z-index: 2;
}

#site-navigation.toggled li {
  width: 100%;
  padding: 0;
}

#site-navigation.toggled li a {
  color: #ffffff;
  transition: all ease 0.25s;
  width: 100%;
  padding: 16px;
}

#site-navigation.toggled ul.sub-menu {
  left: -9999px;
}

#site-navigation.toggled ul.sub-menu li {
  float: right;
  z-index: 200;
}
#site-navigation.toggled ul.sub-menu a {
  color: #ffffff;
  width: 100%;
}

#site-navigation.toggled .focus ul.sub-menu {
  background-color: #97cdc6;
  position: relative;
  margin-left: 0;
  width: 100%;
  left: 0;
  border: 0;
  box-shadow: none;
  top: 0;
  transition: all ease 0.35s;
}

@media screen and (min-width: 35.5em) {
  /* -sm */
}

@media screen and (min-width: 49em) {
  /* -md */
  .main-navigation {
    padding-top: 16px;
  }
}

@media screen and (min-width: 64em) {
  /* -lg */
}

@media screen and (min-width: 80em) {
  /* -xl */
}

/***********************
  Components.
***********************/

.box-bubble,
.box-bubble span {
  position: relative;
  margin: 48px 0 80px 0;
  font-size: 20px;
  color: #333;
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 8px;
}
.box-bubble:after {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  background: #eee;
  border-radius: 100px;
  bottom: -115%;
  right: calc(50% - 50px);
  z-index: -1;
}
.box-bubble.yellow:after {
  background-color: #ffdf91;
}
.box-bubble.blue:after {
  background-color: #97cdc6;
  right: 46.75%;
}

.box {
  padding: 24px;
}

.box.box-simple {
  border: 1px solid #333;
  margin-bottom: 24px;
  transition: all ease 0.25s;
}
.box.box-simple:hover {
  border: 1px solid #97cdc6;
}

.box.box-centered {
  padding-top: 15%;
  padding-bottom: 15%;
}

.box.box-grey {
  border: 1px solid #eee;
  transition: all ease 0.25s;
}
.box.box-grey:hover {
  border: 1px solid #97cdc6;
}

.box.box-price {
  padding: 0px;
  transition: all ease 0.25s;
}
.box.box-price a.pre-arrow {
  border: 1px solid #97cdc6;
  background-color: #97cdc6;
  color: #fff;
  display: inline-block;
  transition: all ease 0.25s;
}
.box.box-price:hover a.pre-arrow {
  border-color: #f77b5d;
  background-color: #f77b5d;
}
.box.box-price:hover a.pre-arrow {
  background-color: #f77b5d;
}
.box.box-price a.pre-arrow:after {
  content: "";
  position: relative;
  right: -16px;
  border: 28px solid #97cdc6;
  border-right: none;
  border-left-width: 15px;
  border-top-color: transparent;
  border-bottom-color: transparent;
  float: right;
  transition: all ease 0.25s;
}
.box.box-price:hover a.pre-arrow:after {
  border: 28px solid #f77b5d;
  border-right: none;
  border-left-width: 15px;
  border-top-color: transparent;
  border-bottom-color: transparent;
}
.box.box-price .btn-pre {
  position: relative;
  display: inline-block;
  padding: 16px 16px 16px 24px;
  background-color: #fff;
  color: #97cdc6;
  transition: all ease 0.25s;
}
.box.box-price .btn-pre:after {
  content: "";
  position: absolute;
  top: -1px;
  left: 100%;
  border: 29px solid #fff;
  border-right: none;
  border-left-width: 15px;
  border-top-color: transparent;
  border-bottom-color: transparent;
}
.box.box-price:hover .btn-pre {
  color: #f77b5d;
}
.box.box-price .btn-self {
  display: inline-block;
  padding: 16px 8px 16px 32px;
  transition: all ease 0.25s;
}

.box-article-category {
  padding: 8px 16px;
  background-color: #97cdc6;
  color: #fff;
  display: inline-block;
  margin-top: 54px;
  position: absolute;
  z-index: 1;
}

.box-article-category a,
.box-article-category a:hover,
.box-article-category a:visited,
.box-article-category a:active {
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 20px;
}

.box-article .article-header {
  margin-bottom: 0;
  cursor: pointer;
}
.box-article .box-article-category {
  display: block;
  margin-top: 0;
  position: relative;
  padding: 4px 4px 0 4px;
}
.box-article .box-excerpt {
  min-height: 60%;
}

.box-article.vertical {
  min-height: 200px;
}
.box-article.vertical .box-excerpt {
  min-height: 270px;
}
.box-article.vertical .text-title a {
  font-size: 16px;
}
.box-article.vertical .article-header {
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding: 0 0 100%;
  position: relative;
  height: 100%;
  min-height: 270px;
}

.box-article:hover .box-article-category {
  background-color: #f77b5d;
  transition: all ease 0.4s;
}
.box-article:hover .text-title a,
.box-article:hover a.link-blue {
  color: #f77b5d;
  transition: all ease 0.3s;
}

#slider .box-article .box-article-category {
  display: inline-block;
  margin-top: 16px;
  position: relative;
  padding: 4px 4px 0 4px;
}
#slider .box-article .article-header {
  padding: 0 0 57%;
}
#slider .box-article .article-heading {
  background-color: rgba(255, 255, 255, 0.7);
  width: 100%;
  padding: 24px 32px 8px 24px;
}
#slider .box-article .article-heading .text-title {
  margin: 8px 0;
}

.badge-top {
  margin-top: -51px;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.badge-top span:after {
  content: "";
  position: relative;
  right: -24px;
  border: 17px solid #97cdc6;
  border-right: none;
  border-left-width: 16px;
  border-top-color: transparent;
  display: inline-block;
  border-bottom-color: transparent;
  top: 10px;
}
.badge-top span:before {
  content: "";
  border: 17px solid #97cdc6;
  border-left: none;
  border-right-width: 16px;
  border-top-color: transparent;
  border-bottom-color: transparent;
  display: inline-block;
  left: -24px;
  position: relative;
  top: 10px;
}

.top-social {
  margin: auto;
  max-width: 296px;
  text-align: center;
  padding: 8px 0 0 0;
  position: relative;
}
.top-social a,
.top-social a:visited {
  display: inline-block;
  padding: 0px 8px 4px 8px;
  color: #fff;
}

.round-badge {
  background-color: #97cdc6;
  padding: 64px 20px;
  color: #fff;
  border-radius: 140px;
  top: -80px;
  position: relative;
  margin: 48px 0 80px 0;
  font-size: 20px;
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 8px;
}

#newsletter {
  margin-top: 40px;
  border-top: 1px solid #eee;
}

/***********************
  Graphics.
***********************/

.bg-pattern {
  padding: 48px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.bg-white {
  background-color: #ffffff;
}
.bg-grey {
  background-color: #f7f7f7;
}
.bg-blue {
  background-color: #97cdc6;
}

.site-footer {
  background-color: #f77b5d;
}

.border-bottom {
  padding-bottom: 32px;
  border-bottom: 4px dotted #abd8d3;
}

footer a,
footer span,
footer a:visited,
footer a:active,
footer a:hover {
  color: #fff;
  text-decoration: none;
}

/***********************
  Pages.
***********************/

/* Article */
.article-header {
  margin-bottom: 32px;
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding: 0 0 60%;
  position: relative;
}

.article-heading {
  position: absolute;
  bottom: 0;
  margin: 0;
  z-index: 1;
  padding: 54px 0 16px 64px;
  color: #000000;
  background-color: rgba(255, 255, 255, 0.5);
  width: 100%;
}

#article ul {
  margin-left: 16px;
}

#article ul li,
#article ol li {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
  color: #404040;
}

#article h2,
#article h3,
#article h4,
#article h5 {
  font-weight: 700;
}

#article .chapo {
  font-size: 20px;
  font-weight: 700;
}

#article .article-header {
  padding: 0px 0 34%;
  max-width: 1100px;
  margin: 0 auto 64px auto;
}

@media screen and (min-width: 35.5em) {
  /* -sm */
}

@media screen and (min-width: 49em) {
  /* -md */
  .article-header {
    margin-bottom: 64px;
  }

  #article ul {
    margin-left: 3em;
  }
}

@media screen and (min-width: 64em) {
  /* -lg */
}

@media screen and (min-width: 80em) {
  /* -xl */
}

/***********************
  Images.
***********************/

/* Logo */
.logo-base .logo {
  max-width: 216px;
}

.img-280 {
  width: 100%;
  max-width: 280px;
  margin: auto;
}
.img-deco {
  position: relative;
}
.img-deco:after {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  top: 8px;
  z-index: -1;
  background: #a1d3cd;
  right: -16px;
}

a.nostyle {
  border: none;
  display: inline-block;
}

@media screen and (min-width: 35.5em) {
  /* -sm */
}

@media screen and (min-width: 49em) {
  /* -md */
  .header .logo-base a {
    margin: 0 auto;
  }
}

@media screen and (min-width: 64em) {
  /* -lg */
}

@media screen and (min-width: 80em) {
  /* -xl */
}

/***********************
  Typo.
***********************/

body,
p,
span,
a {
  font-family: "Merriweather", serif;
}
.font-meta {
  font-size: 18px;
  color: #333;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

h1,
h2,
h3,
h4,
.text-title,
.text-title a {
  font-family: "Merriweather", serif;
}
.text-title small {
  font-size: 12px;
}
h1 {
  font-size: 30px;
}
h2 {
  font-size: 24px;
}
h3 {
  font-size: 16px;
}
h4 {
  font-size: 16px;
}

h1.page-title {
  margin-top: 8px;
}

h2.section-title {
  letter-spacing: 0.5px;
  display: inline-block;
  background-color: #ffffff;
}
h2.section-title::before,
h2.section-title::after {
  display: none;
}

p {
  font-size: 16px;
  line-height: 1.7;
}

.main-navigation a {
  font-size: 18px;
  color: #333;
  font-family: "Open Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.main-navigation a:visited {
  color: #333;
}
.main-navigation a:hover,
.main-navigation a:active,
.main-navigation .current-menu-item a {
  color: #97cdc6;
  text-decoration: none;
}

.text-title,
.text-title a {
  display: block;
  font-size: 20px;
  color: #333;
  text-decoration: none;
}
.text-title a:hover {
  color: #f77b5d;
  text-decoration: none;
}

.text-subtitle {
  font-size: 18px;
}

.text-meta {
  font-weight: 700;
  color: #777;
  margin-bottom: 0;
  margin-top: 8px;
}

a.btn-action,
.btn-action,
input[type="submit"].btn-action {
  display: inline-block;
  padding: 16px 20px;
  border-radius: 6px;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 4px;
  text-decoration: none;
  transition: all ease 0.5s;
  opacity: 1;
  border: none;
}

a.btn-action.btn-purple,
.btn-action.btn-purple {
  background-color: #7d7296;
  color: #ffffff;
}
a.btn-action.btn-purple:hover,
.btn-action.btn-purple:hover {
  opacity: 0.75;
}

a.btn-action.btn-blue,
.btn-action.btn-blue {
  background-color: #97cdc6;
  color: #ffffff;
}
a.btn-action.btn-blue:hover {
  opacity: 0.75;
}

a.btn-action.btn-red {
  background-color: #f57a61;
  color: #ffffff;
}
a.btn-action.btn-red:hover {
  opacity: 0.75;
}

.font-purple {
  color: #7d7296;
}
.font-blue,
a.link-blue,
a.link-blue:hover,
a.link-blue:visited,
a.link-blue:active {
  color: #97cdc6;
}
a.link-blue:hover {
  color: #f77b5d;
}
a.link-blue {
  text-decoration: none;
  font-size: 16px;
}
.font-red {
  color: #f77b5d;
}
.font-white {
  color: #fff;
}

.font-secondary {
  color: #f57a61;
}
.font-small p {
  font-size: 13px;
}

@media screen and (min-width: 35.5em) {
  /* -sm */
}

@media screen and (min-width: 49em) {
  /* -md */
  h1 {
    font-size: 40px;
  }
  h2 {
    font-size: 32px;
  }
  h3 {
    font-size: 24px;
  }
  h4 {
    font-size: 20px;
  }
}

@media screen and (min-width: 64em) {
  /* -lg */
}

@media screen and (min-width: 80em) {
  /* -xl */
}
