/* Custom CSS */
h1, h2, h3, h4, h5, h6, p, li, .raven-button, a.raven-button, p > a, li > a, .elementor-icon-list-text,
.elementor-widget-raven-testimonial-carousel .raven-testimonial__text,
.raven-testimonial__name,
.raven-button .button-text,
.raven-adnav-menu > li > a.raven-menu-item span.link-label,
body .nf-field-element input,
body .nf-field-element select,
body .nf-field-element textarea,
body .label-right .field-wrap.checkbox-wrap .nf-field-label label,
.project-category {
  font-family: 'articulat-cf', sans-serif !important;
}  

.hamburger { 
  background: none;
  border: 0;
  padding: .5rem;
  cursor: pointer; 
  line-height: 1;
  font-size: 1.5rem;
}

.raven-nav-menu-main li a.raven-menu-item,
.raven-adnav-menu li a {
  transition: 200ms linear all;
}

#offcanvas {
  width: 700px;
  max-width: 90vw;
  height: 100vh;
  padding: 3rem 2.5rem;
  position: fixed;
  top: 0;
  right: -700px;
  background: #000;
}

@media screen and (max-width:768px) {
  #offcanvas {
    max-width: 100%;
  }
}

#offcanvas > div,
.menu-slide-panel {
  height: 100% !important;
}

.close-btn {
  background: transparent;
  border: 0 none;
  margin-top: 5px;
  margin-left: 20px;
  cursor: pointer; 
}

body .carousel-homepage .raven-main-swiper {
  width: 100% !important;
  padding-top: 80px !important;
  overflow: visible !important;
  clip-path: inset(0 -200% 0 0) !important;
}

body .carousel-homepage .raven-testimonial {
  padding: 50px;
  border: 1px solid #B87333;
  border-radius: 20px;
  height: 100%;
}

body .carousel-homepage .elementor-swiper-button {
  border: 1px solid #000;
  padding: 13px;
  border-radius: 100%;
}

body .carousel-homepage .swiper .elementor-swiper-button.elementor-swiper-button-prev {
  display:none !important;
}

body .carousel-homepage .elementor-star-rating {
  padding-bottom: 10px;
  border-bottom: 1px solid #000;
  width: 100%;
  margin-bottom: 20px;
}

@media screen and (max-width:1024px) {
  body .carousel-homepage .raven-testimonial {
    padding: 20px;
  }

  body .elementor-widget-raven-testimonial-carousel .swiper-slide {
    padding: 0;
  }
}

.listing-row {
  display: flex;
  flex-direction: row;
  gap: 15px;
  justify-content: space-between;
}

@media screen and (max-width: 768px) {
  .listing-row {
    flex-direction: column;
  }
}

.project-item {
  display: block; 
  width:433px;
  max-width: 100%;
  height: 535px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.project-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: 300ms ease-in;
}

.project-item:hover .project-logo {
  transform: translate(-50%, -50%) scale(0.85);
}


.project-categories {
  width: 95%;
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  transition: 300ms ease-in-out;
}

.project-item:hover .project-categories {
  bottom: -100px;
}

.project-category {
  background: rgba(255, 255, 255, 0.8);
  padding: 7px 11px;
  text-transform: uppercase;
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 2px;
  border-radius: 115px;
  display: inline-block;
  margin-bottom: 5px;
  color: #000;
}

@media screen and (min-width:1024px){
  .project-item {
    width:33.3%;
  }
}

@media screen and (min-width:1440px){
  .project-item {
    height: 800px;
  }
}

@media screen and (min-width:769px) and (max-width:992px){
  .project-item {
    height: 415px;
  }

  .project-logo {
    top: 10%;
    left: 50%;
    transform: translate(-50%, -10%);
  }

  .project-category {
    padding: 7px 9px;
  }
}

.hover-images {
  width: 100%;
  height: 100%;
  position: relative;
  display: none;
}

.hover-images .hover-image {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
}

.hover-images .hover-image.visible-img {
  opacity: 1;
}

.button-effect .raven-button-link {
  background-image: linear-gradient(90deg, #B87333 0 0) !important;
  background-repeat: no-repeat;
  background-size: 0% 100%;
  transition: background-size ease-out 0.2s;
}

.button-effect .raven-button-link:hover {
  background-image: linear-gradient(90deg, #B87333 0 0) !important;
  background-size: 100% 100%;
  transition: background-size ease-out 0.2s !important;
}

.button-effect-black .raven-button-link {
  background-image: linear-gradient(90deg, #000 0 0) !important;
  background-repeat: no-repeat;
  background-size: 0% 100%;
  transition: background-size ease-out 0.2s;
}

.button-effect-black .raven-button-link:hover {
  background-image: linear-gradient(90deg, #000 0 0) !important;
  background-size: 100% 100%;
  transition: background-size ease-out 0.2s !important;
}

/* Ninja Forms Styles */
body .nf-field-element input,
body .nf-field-element select,
body .nf-field-element textarea {
  border: 0 none;
  border-bottom: 1px solid #000;
  font-size: 24px;
  font-weight: 300;
  background-color: transparent;
  max-width: 100%;
  width:560px !important;
}

body .nf-field-element input[type=text]::placeholder,
body .nf-field-element input[type=tel]::placeholder,
body .nf-field-element input[type=email]::placeholder {
  color: #000;
}

body .nf-error .ninja-forms-field {
  border: 0 none;
  border-bottom: 1px solid #e80000;
}

body #ninja_forms_required_items,
body .nf-field-container {
  margin-bottom: 10px;
}

body .field-wrap input[type=submit] {
  border-radius: 110px;
  border: 1px solid #000;
  cursor: pointer;
  line-height: 1;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 15px 30px;
  margin-top: 30px;
  transition: 300ms ease-in-out;
  width: auto !important;
}

body .field-wrap input[type=submit]:hover {
  background: #000;
  color: #fff;
  border: 1px solid #000;
}

body .label-right .field-wrap.checkbox-wrap {
  margin-top: 30px;
}

body .label-right .field-wrap.checkbox-wrap .nf-field-label label {
  font-size: 14px;
  font-weight: 400;
  color: #000;
}

body .label-right .field-wrap.checkbox-wrap a {
  font-weight: 400;
  color: #000;
  text-decoration:underline;
}

body .services-checkboxes {
  margin-top: 40px;
}

body .services-checkboxes .nf-field-element ul {
 display: flex;
 flex-flow: row wrap;
}

body .services-checkboxes .nf-field-element ul li {
  margin: 0 8px 8px 0 !important;
}

body .services-checkboxes .nf-field-element ul li label {
  border: 1px solid #000;
  border-radius: 110px;
  margin: 0 !important;
  padding: 8px 30px !important;
  cursor: pointer;
  line-height: 1.5;
}

@media screen and (max-width:480px){
  body .services-checkboxes .nf-field-element ul li label {
    padding: 8px 10px !important;
  }
}

body .services-checkboxes input[type=checkbox],
body .conditions-checkbox input[type=checkbox] {
  position:absolute;
  left:-10000px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}

body .conditions-checkbox input[type=checkbox] {
  left:0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

body .services-checkboxes .nf-field-element ul li label.nf-checked-label {
 background:#B87333; 
 color:#fff;
 border-color: #B87333;
}

body .conditions-checkbox .nf-field-element {
  display: inline-block;
	background: #ccc;
	border-radius: 16px;
	width: 58px !important;
	height: 32px;
	position: relative;
	vertical-align: middle;
	transition: background 0.25s;
}

body .conditions-checkbox .nf-field-element:before {
  content:"";
  display: block;
  background: linear-gradient(to bottom, #fff 0%,#eee 100%);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.25);
  width: 24px;
  height: 24px;
  position: absolute;
  top: 4px;
  left: 4px;
  transition: left 0.25s;
}

body .conditions-checkbox .nf-field-element.checked {
	background: #000;
}

body .conditions-checkbox .nf-field-element.checked:before {
  background: #B87333;
  left: 28px;
}

@media screen and (max-width:480px){
  body .conditions-checkbox .nf-field-element.checked:before {
    left: 20px;
  }
}

/* tagline animation homepage */

.rejoindre-container,
.optimiser-container {
  overflow: hidden !important;
}

.optimiser-container .elementor-widget-image,
.optimiser-container .elementor-widget-heading,
.rejoindre-container .elementor-widget-heading {
  opacity: 0;
  transform: translateY(100px);
  transition: all 0.7s ease;
}

.show .elementor-widget-heading,
.show .elementor-widget-image {
  opacity: 1;
  transform: translateY(0);
}

@media screen and (min-width:1024px) {
  .jupiterx-footer [data-elementor-type="footer"]{
    background-color: #000;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
}