/*
 Theme Name:   Caleece
 Description:  Thème de base Artisans Gabon
 Author:       Brice Meye • (+237) 695-194-022 • ebess.core@gmail.com
 Author URI:   http://caleece.com
 Template:     twentytwenty
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  caleece
*/
:root {
  --theme-main-color: orange;
  --theme-secondary-color: #242424;
  --theme-main-font: "MavenPro", NonBreakingSpaceOverride, "Hoefler Text", Garamond, "Times New Roman", serif;
  --theme-secondary-font: "Inter var", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
}

@font-face {
	font-family: "Cabin";
	font-weight: normal;
	font-style: normal;
	src: url(./assets/fonts/Cabin-Regular.ttf);
}

@font-face {
	font-family: "MavenPro";
	font-weight: normal;
	font-style: normal;
	src: url(./assets/fonts/MavenPro-Regular.ttf);
}


/* color */

body {
	background: #f5efe0;
	letter-spacing: -0.015em;
  font-family: var(--theme-main-font);
}

a,
.has-drop-cap:not(:focus)::first-letter,
.wp-block-button.is-style-outline,
.wp-block-pullquote::before
 {
	color: var(--theme-main-color);
}

blockquote {
	border-color: var(--theme-main-color);
}

button,
.button,
.faux-button,
.wp-block-button__link,
.wp-block-file .wp-block-file__button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.social-icons a,
.comment-reply-link,
.footer-social a {
	background-color: var(--theme-main-color);
  font-family: var(--theme-main-font);
  font-weight: bold;
  border-radius: 3px;
}

body:not(.overlay-header) .primary-menu > li > a, body:not(.overlay-header) .primary-menu > li > .icon, .modal-menu a, .footer-menu a, .footer-widgets a, #site-footer .wp-block-button.is-style-outline, .wp-block-pullquote::before, .singular:not(.overlay-header) .entry-header a, .archive-header a, .header-footer-group .color-accent, .header-footer-group .color-accent-hover:hover {
  color: var(--theme-main-color) !important;
}

button, .button, .faux-button, .wp-block-button__link, .wp-block-file .wp-block-file__button, input[type="button"], input[type="reset"], input[type="submit"], .btn {
  padding: 0.4em 0.9em;
}

button, .button, .faux-button, .wp-block-button__link, input[type="button"], input[type="reset"], input[type="submit"], .btn {
  font-size: inherit !important;
}

button .icone {
  display: inline-block;
  margin-right: 10px;
  font-size: 120%;
}

h1, .heading-size-1 {
  font-size: 5.4rem;
}

.search-form .search-field {
  border-radius: 5px 0 0 5px;
}

.search-form .search-submit {
  margin-left: 0;
  border-radius: 0 5px 5px 0;
}

.flex {
	display: flex;
}

.h-spacer {
	flex: 1 1 auto;
}

.widget_text p, .widget_text ol, .widget_text ul, .widget_text dl, .widget_text dt, .widget-content .rssSummary {
    font-family: var(--theme-main-font);
    letter-spacing: normal;
    font-size: 1.5rem;
}

.icon-button {

}

.icon-button svg.svg-icon {
  fill: white;
}

/* HEADER */
h1.entry-title, h2.entry-title {
  color: var(--theme-main-color);
}

#site-header {
  /* background: transparent; */
  position: fixed;
  width: 100%;
  z-index: 98;
  top: 0;
}

#site-header ul.primary-menu li.menu-item a {
  font-family: var(--theme-secondary-font);
  font-weight: bolder;
}

#site-header.has-featured-image {
  color: white;
  background: transparent;
}

#site-header.has-featured-image ul.primary-menu > li.menu-item > a {
  color: white !important;
}

#site-header.has-featured-image button * {
  color: white !important;
}

#site-header.has-featured-image button svg.svg-icon {
  fill: white;
  color: white;
}

#site-header .site-logo img {
  height: 9rem;
  transition: height 500ms;
}

#site-header.sous-la-banniere {
  box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2);
}

#site-header.sous-la-banniere .site-logo img {
  height: 6rem;
  transition: height 500ms;
}

.header-inner {
  padding: 1rem 0;
}

.singular .entry-header {
  padding: 14rem 0 2rem 0;
  background-color: transparent;
}

.entry-header {
  background-size: cover;
  background-position: center;
  position: relative;
}

.entry-header.has-featured-image::before {
  background: rgba(0, 0, 0, 0.3)/*linear-gradient(to top, black, transparent)*/;
  content: ' ';
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 0;
}

.entry-header.has-featured-image {
  color: white;
}

.entry-header .entry-title {
  position: relative;
}

.entry-header .entry-title::after {
  content: " ";
  width: 100px;
  height: 5px;
  background: var(--theme-main-color);
  display: block;
  margin: auto;
  margin-top: 30px;
}

.entry-header.has-featured-image .entry-title::after {
  background: white;
  display: none;
}

.entry-header.has-featured-image h1.entry-title, #site-header.has-featured-image .entry-header.has-featured-image h2.entry-title {
  color: white;
}

.singular .entry-header.has-featured-image {
  padding: 14rem 0 3rem 0;
}

.premier-titre {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

section .premier-titre {
  position: relative;
  top: -20px;
  font-weight: 100;
}

section .premier-titre::after {
  content: " ";
  width: 100px;
  height: 3px;
  background: var(--theme-main-color);
  display: block;
  margin: auto;
  margin-top: 20px;
}

section.blanc {
  color: white;
}

section.blanc .premier-titre::after {
  background: white;
}

/* POST */
.post-inner {
  padding-top: 5rem;
}

.entry-content {
  font-family: var(--theme-main-font);
  font-size: 1.7rem;
}

.entry-content > :not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
  max-width: 80rem;
  width: calc(100% - 4rem);
}

.entry-content > .alignwide:not(.wp-block-group.has-background), .entry-content > .alignfull:not(.wp-block-group.has-background) {
  /* margin-bottom: 1rem !important;
  margin-top: 1rem !important; */
}

.entry-content > .alignwide:not(.wp-block-group.has-background):first-child, .entry-content > .alignfull:not(.wp-block-group.has-background):first-child {
  margin-bottom: 8rem;
  margin-top: 0rem;
}

section {}

#banniere {
  height: 100vh;
  background-size: cover;
  position: relative;
}

/* #banniere::before, */
#carouselAccueil .carousel-inner::after {
  content: ' ';
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 0;
}

#banniere .titre {
  font-family: var(--theme-primary-font);
  font-size: 13rem;
}

#banniere .motto {
  font-size: 3rem;
  line-height: 1em;
  position: relative;
  top: -3rem;
}

#banniere .more {
  top: -1rem;
  position: relative;
}

#banniere .formulaire-recherche {
  position: absolute;
  bottom: 20%;
  width: 100%;
  z-index: 20;
}

#banniere .formulaire-recherche .titre-formulaire {
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
}

.formulaire-recherche button {
  padding: 0.9rem 1rem !important;
  border-radius: 5px !important;
}

#apercus-services {
  padding-bottom: 3rem;
}

#apercus-services .apercu {
  position: relative;
  /* cursor: pointer; */
  top: 0;
  left: 0;
  transition: top 500ms, left 500ms;
  margin-bottom: 50px;
}

#apercus-services .apercu:hover {
  top: -10px;
  left: -5px;
  transition: top 500ms, left 500ms;
}

#apercus-services .apercu > .titre {
  position: relative;
  left: 10px;
  top: -30px;
}

#apercus-services .apercu > .titre span {
  background: linear-gradient(to top, orange, red);
  font-weight: bold;
  color: white;
  padding: 1rem 1.4rem;
  position: absolute;
  right: 0;
}

#apercus-services .apercu > .illustration {
  height: 250px;
  background-size: cover;
  box-shadow: 10px 10px 0 orange;
  /* border-left: 5px solid black; */
}

#apercus-services .apercu > .bouton {
  text-align: right;
  position: relative;
  left: 10px;
  /* top: 10px; */
}

#apercus-services .apercu button {
  background: black !important;
  font-size: 80% !important;
}

#numero-vert {
  background: linear-gradient(to top right, dodgerblue, purple);
}

#numero-vert .btn {
  border-width: 2px;
  /* margin-bottom: 10px; */
  /* font-weight: bold; */
  /* text-transform: none; */
}

#points-forts {
  background: linear-gradient(to top right, orange, red);
  padding-bottom: 1rem;
}

#points-forts .point {
  margin-bottom: 8rem;
}

#points-forts .icone-wrapper {
  padding-bottom: 30px;
}

#points-forts .icone {
  font-size: 10rem;
}

#news {
  /* background: white; */
}

#news .apercu {

}

#news .apercu h5.titre {
  padding: 2rem 0 1rem 0;
  margin: 0;
}

#news .apercu {

}

section#temoignages {
  /* background: green; */
  /* padding: 0; */
  /* padding: 0; */
  position: relative;
  /* height: 500px; */
  background-size: cover;
}

section#temoignages .premier-titre::after {
  display: none;
}

#temoignages .container {
  position: relative;
  max-width: 900px;
}

#carouselTemoignages {
  /* position: absolute; */
  /* top: 100px; */
  /* width: calc(100% - 30px); */
}

#carouselTemoignages .carousel-inner {
  position: relative;
}

#carouselTemoignages .carousel-item {
  position: relative;
}

#carouselTemoignages .carousel-item-content {
  /* position: absolute;
  bottom: 0; */
}

#carouselTemoignages .carousel-inner > img {
  /* height: 100px; */

}

#carouselTemoignages .photo-auteur {
  border-radius: 200px;
  height: 20rem;
  width: 20rem;
  background-size: cover;
  display: inline-block;
}

#carouselTemoignages .caption {
  max-width: 600px;
  width: 100%;
  position: relative;
}

#carouselTemoignages .nom-auteur {
  margin-top: 10px;
  margin-bottom: 10px;
}

#carouselTemoignages .contenu {
  /* font-style: italic; */
  font-family: var(--theme-secondary-font);
  opacity: 0.8;
  font-size: 90%;
  position: relative;
  padding-left: 10px;
}

#carouselTemoignages .caption .deco-quote-debut {
  font-size: 7rem;
  position: absolute;
  font-family: var(--theme-secondary-font);
  right: 0px;
  top: 0px;
  z-index: 99;
}

#carouselTemoignages .carousel-indicators {
  bottom: auto;
  top: -15px;
  margin-top: -30px;
}


/* FOOTER */

.footer-top {
  padding: 0.8em 0;
  border-bottom: 0.1rem solid #434343;
  display: flex;
}

#site-footer {
  padding: 0.5em 0;
}

.footer-nav-widgets-wrapper, #site-footer {
  background-color: var(--theme-secondary-color);
  border-color: #434343;
  color: white;
}

.footer-copyright a,
.powered-by-wordpress a {
	color: inherit;
}

.footer-copyright a {
	font-size: 80%;
}

.footer-widgets-outer-wrapper {
  border-bottom: 0.1rem solid #434343;
}

.nav-toggle-wrapper {
  display: none;
}

.powered-by-wordpress {
  float: right;
  font-size: 80%;
  color: #b0b0b0;
}

.footer-widgets-outer-wrapper {
  padding: 2.5em 0;
}

.footer-widgets {
  font-size: 1.5rem;
  color: inherit;
}

#site-footer.widget_archive li, #site-footer.widget_categories li, #site-footer.widget_pages li, #site-footer.widget_meta li, #site-footer.widget_nav_menu li {
  color: white;
}

.footer-widgets .menu {
  font-size: inherit !important;
}

.footer-widgets .menu li {
  font-size: inherit !important;
}

.footer-widgets .menu li a {
  font-family: var(--theme-main-font);
  color: white !important;
  font-size: 1.5rem !important;
}

.footer-widgets .widget-title {
  color: var(--theme-main-color);
  font-size: 2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.footer-social-wrapper {

}

.contact-infos {
  font-family: var(--theme-main-font);
  display: flex;
}

.contact-infos > .bloc {
  min-width: 220px;
  display: flex;
  font-size: 1.4rem;
}

.contact-infos > .bloc > .info {
  flex-grow: auto;
}

.contact-infos > .bloc > .info > .label {
  opacity: 0.5;
}

.contact-infos > .bloc > .icon-wraper {
  color: var(--theme-main-color);
  font-size: 2.8rem;
  padding-right: 0.5em;
}

.newsletter-wraper {

}

.newsletter-wraper input {
  flex-grow: auto;
  width: 100%;
  border-width: 0;
  /* padding: 0.2rem 0; */
  border-bottom: 1px solid rgb(220, 220, 220);
  background: transparent !important;
  color: white;
  font-family: var(--theme-main-font);
}

.newsletter-wraper input::placeholder {
  color: white;
  font-family: var(--theme-main-font);
}

.newsletter-wraper button {
  width: 7rem;
  height: auto !important;
  padding: 1rem 1rem !important;
  border-radius: 0 5px 5px 0;
}

.form-control {
  font-size: inherit;
  width: auto;
  display: inline-block;
  padding: 1rem .75rem !important;
  height: auto;
  margin-bottom: 10px;
  max-width: 100%;
  border-radius: 5px!important;
  font-family: inherit !important;
}

[class^="col-"], .col, .form-group {
  /* padding: 5px; */
}

.formulaire-recherche {
  padding: 50px 0;
  padding-bottom: 20px
}

.formulaire-recherche h4 {
  margin-top: 0;
}

.formulaire-recherche .container {
  margin: auto;
  padding: 0;
}

#carouselAccueil {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px !important;
  left: 0;
  z-index: 0;
  overflow: hidden;
}

#carouselAccueil .carousel-item {
  background: rgba(0, 0, 0, 0.7);
  text-align: center;
  position: relative;
  overflow: hidden;
}

#carouselAccueil .carousel-item img {
  margin: auto;
  min-height: 100vh;
  min-width: 100vw;
  width: auto !important;
}

a.btn {
  text-decoration: none;
}

.card-img-wraper {
  height: 250px;
  background-size: cover;
  background-position: left 35%;
}

.card-title {
  font-weight: 600;
}

.inline-icon {
  margin-right: 5px;
  display: inline-block;
  /* vertical-align: middle; */
}

.text-muted {
  font-size: 90%;
  opacity: 0.7;
}

.card {
  margin: 0 !important;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.card-body {
  padding: 15px 15px;
}

.card .text-muted {
  margin-bottom: 15px;
}

.beau-survol {
  position: relative;
  top: 0;
  transition: top 400ms;
  /* cursor: pointer; */
}

.beau-survol:hover {
  top: -20px;
  transition: top 400ms;
}

.--belle-image {
  border-radius: 5px;
}

.--cliquable {
  cursor: pointer;
}

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

  h1, .heading-size-1 {
    font-size: 4.4rem;
  }

  .nav-toggle-wrapper.toggle-wrapper {
    display: inline-block;
  }

  .footer-top {
    display: block;
  }

  .contact-infos {
    display: block;
  }

  .contact-infos > .bloc {
    display: flex;
    margin: 20px 0;
  }

  .wp-block-media-text .wp-block-media-text__content {
    padding: 3rem 0rem;
  }

  #banniere .form-control,
  #banniere button
   {
    display: block;
    width: 100%;
  }

}
