/*
Theme Name: Hestia Child
Theme URI: https://www.wpzoom.com/themes/Hestia/
Author: Vincent Picard
Author URI: https://animanet.fr
Description: Thème enfant de Hestia
Template: hestia
Version: 1.0.0
Text Domain: hestia-child
*/

/* 
⚠️ IMPORTANT
Le thème parent Hestia charge ses CSS depuis assets/css/.
Ce fichier sert à :
- surcharger le CSS du parent
- ajouter tes styles spécifiques (plugins, composants, etc.)
*/

:root {
  --hestia-primary-color: #ac967f;
}


/* =========================
   FONTS
========================= */
@font-face {
  font-family: 'CloisterBlack';
  src: url('assets/fonts/CloisterBlack.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* =========================
   FONTS
========================= */
@font-face {
  font-family: 'PtSerif';
  src: url('assets/fonts/PTSerif-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}





h1,
h2,
h3,
h4,
h5,
.h1,
.h2,
.h3,
.h4,
.h5 {
  font-family: PtSerif;
}

.footer .widget h5,
.hestia-info h4.info-title,
h4.card-title,
section.contactus h4.hestia-title {
  font-size: 1.5rem;
}

.header-filter {
  /* background-image: none !important; */
}

.header-filter-gradient {
  background: var(--hestia-primary-color);
}

.page-header {
  max-height: 100vh !important;
  /* min-height: unset !important; */
}

body:not(.home) .page-header {
  background-color: var(--hestia-primary-color) !important;
}

.header-filter {
  overflow: hidden;
  /* z-index: 10; */
  /* background-image: none !important; */
}

body:not(.home) .header-filter {
  /* display: none !important; */
}

.header-filter::before {
  background-color: rgba(0, 0, 0, 0.3);
}


body:not(.home) .header-filter::before {
  background-color: rgba(0, 0, 0, 0.6);
  filter: grayscale(1);
}



.hs-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.8s ease;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}


.hs-slide.hs-current {
  opacity: 1;
  z-index: 2;
}


.hs-slide.hs-next {
  opacity: 1;
  z-index: 3;
}

#carousel-hestia-generic .container {
  z-index: 20;
}


.navbar.hestia_left .title-logo-wrapper {
  width: 450px;
}

header .navbar .container {
  max-width: unset !important;
  width: unset !important;

}

.navbar .navbar-header .navbar-brand {
  margin: 0 !important;
}

.navbar .navbar-header .navbar-brand img {
  max-height: 120px;
}

.navbar.hestia_left .title-logo-wrapper {
  width: unset !important;
  min-width: none;
}


.navbar .navbar-nav>li a {
  font-size: 110%;
}

.navbar .navbar-nav>li .dropdown-menu li:hover>a {
  background-color: var(--hestia-primary-color);
  color: white;
}


body.home .carousel h1.hestia-title {
  font-family: CloisterBlack !important;
  font-weight: normal !important;
  font-size: 10rem;
  line-height: 1;
  text-shadow: 2px 2px 0px #222;
}

body.home .carousel span.sub-title {
  display: block;
  margin: 10px 0 0;
  font-size: 3rem;
  font-weight: bold;
  font-family: "PtSerif", serif !important;
  text-shadow: 1px 1px 0px #222;
}

body.home .carousel .buttons a {
  display: inline-block;
  /* important si ce n’est pas déjà le cas */
  padding: 1.5rem 4rem !important;
  font-size: 2rem;
  line-height: 1.5;

}

.hestia-features-content {}

.hestia-features-content .row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 25px;
}


.hestia-features-content .feature-box {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
}

.hestia-info {

  height: 100%;
  position: relative;
}

.feature-box .hestia-info {
  border: 0px solid #ac967f;
  background-color: rgba(172, 150, 127, 0.08);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 0 !important;

}

/* Base commune */
.feature-box .hestia-info::before {
  content: "";
  display: block;
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 50%;
  background-size: contain;
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 2px 2px 3px #ddd;
}



/* 1 */
.feature-box:nth-child(1) .hestia-info::before {
  background-image: url('/wp-content/themes/hestia-child/assets/img/homepage-01-patrimoine.jpg');
}

/* 2 */
.feature-box:nth-child(2) .hestia-info::before {
  background-image: url('/wp-content/themes/hestia-child/assets/img/homepage-02-recherche.jpg');
}

/* 3 */
.feature-box:nth-child(3) .hestia-info::before {
  background-image: url('/wp-content/themes/hestia-child/assets/img/homepage-03-musee.jpg');
}

/* 4 */
.feature-box:nth-child(4) .hestia-info::before {
  background-image: url('/wp-content/themes/hestia-child/assets/img/homepage-04-publication.jpg');
}

/* 5 */
.feature-box:nth-child(5) .hestia-info::before {
  background-image: url('/wp-content/themes/hestia-child/assets/img/homepage-05-institutions.jpg');
}

/* 6 */
.feature-box:nth-child(6) .hestia-info::before {
  background-image: url('/wp-content/themes/hestia-child/assets/img/homepage-06-memoire.jpg');
}

.feature-box .hestia-info a {
  display: block;
  flex: 0 0 60px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #3C4858 !important;
  padding: 0 15px;
  line-height: 1.2;
  margin: 0 !important;
  cursor: default;
}

.feature-box .hestia-info a:hover,
.feature-box .hestia-info a:hover .info-title {
  opacity: 1 !important;
}

.feature-box .hestia-info p {
  flex: 0 0 50px;
  line-height: 1.2;
  padding: 0 15px;
  color: #444;
}




.page-header.header-small .container {
  /* background-image: url(/wp-content/themes/hestia-child/assets/img/logo-header.png); */
  /* background-image: none !important; */
  background-repeat: no-repeat;
  background-position: center calc(100% - 30px);
  padding-top: 180px !important;
  padding-bottom: 50px;
}

.page-header.header-small .container h1 {
  font-family: PtSerif;
  font-style: normal;
  font-size: 4rem;
}


.hestia-about {}

.hestia-about a {
  color: white !important;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color .3s ease;
}

.hestia-about a {
  color: white !important;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color .3s ease;
  opacity: 1 !important;
}

.hestia-about a::before {
  content: "\f054";
  /* fa-chevron-right */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  /* solid */
  font-size: 0.8em;

  display: inline-block;
  transition: transform .25s ease, opacity .25s ease;
}

.hestia-about a:hover::before {
  transform: translateX(4px);
}

.hestia-blog-post .card-image img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}


.contactus .container>.row {
  display: flex;
}

.contactus .hestia-info .icon,
.contactus .info .icon {
  position: relative;
  width: 48px;
  display: inline-block;
  margin-top: 0 !important;
  top: 22px;
  text-align: center;
}

.contactus .card .header-primary,
.contactus .card-contact .header {
  background: #ac967f !important;
  box-shadow: none !important;
}



.contactus .col-md-offset-2 {
  margin-left: 0 !important;
}






.contactus .wpcf7-form br {
  display: none;
}

.contactus .wpcf7-form .form-group {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.contactus .wpcf7-form label {
  display: block;
  margin: 0 0 0.5rem !important;
  border: 0px solid purple !important;
}

.contactus .form-group .wpcf7-form-control {
  display: block;
  margin: 0 !important;
  border: 0px solid pink !important;
}

.description,
.card-description,
.footer-big {
  color: #666;
}

@media (min-width: 768px) {
  .hestia-contact .hestia-contact-form-col {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }

}



.clean-thumb {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}


body .product form.cart {
  margin-bottom: 2rem !important;
  padding-bottom: 2rem !important;
}