figure img {
object-fit: cover;
}
@media(min-width: 992px) {
  .navbar .btn-arrow {
    line-height: 1;
  }  
}
.btn-secondary{
  color: white !important;
}
.article--list .article__item {
  --article-item-bg: hsl(var(--ev-primary-hue),var(--ev-primary-saturation),calc(var(--ev-primary-lightness) + 33%));
  --article-item-bg-content: hsl(var(--ev-primary-hue),var(--ev-primary-saturation),calc(var(--ev-primary-lightness) + 34%));
  --article-item-shadow: none;
  --article-item-border-color: hsl(var(--ev-primary-hue),var(--ev-primary-saturation),calc(var(--ev-primary-lightness) + 26%));
}
.paragraph>*:not(:first-child) {
  margin-top:var(--ev-space-3xl);
}

.btn{
  min-width: fit-content !important;
  max-width: fit-content !important;
}
.btn-primary, .btn-secondary{
  position: relative;
}
.btn-primary::before {
  content: "";
  position: absolute;
  height: 100%;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--ev-secondary);
  z-index: -1;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  border-radius: 0;
  transform: scale(0) rotate(-45deg);
}
.btn-primary::after{
  content: "";
  position: absolute;
  height: 100%;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--ev-secondary);
  z-index: -1;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  border-radius: 0;
  transform: scale(0) rotate(45deg);
}
.hero__cta .btn-primary , .hero__cta .btn-outline-primary{
  position: relative;
}
.hero__cta .btn-primary::before,
.hero__cta .btn-outline-primary::before, 
.about-banner__cta .btn-primary::before{
  content: "";
  position: absolute;
  height: 100%;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--ev-body-bg);
  z-index: -1;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  border-radius: 0;
  transform: scale(0) rotate(-45deg);
}

.hero__cta .btn-primary::after,
.hero__cta .btn-outline-primary::after, 
.about-banner__cta .btn-primary::after{
  content: "";
  position: absolute;
  height: 100%;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--ev-body-bg);
  z-index: -1;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  border-radius: 0;
  transform: scale(0) rotate(45deg);
}

.btn-secondary::before,
.hero__cta .btn-outline-primary::before{
  content: "";
  position: absolute;
  height: 100%;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--ev-primary);
  z-index: -1;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  border-radius: 0;
  transform: scale(0) rotate(-45deg);
}

.btn-secondary::after,
.hero__cta .btn-outline-primary::after{
  content: "";
  position: absolute;
  height: 100%;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--ev-primary);
  z-index: -1;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  border-radius: 0;
  transform: scale(0) rotate(45deg);
}
.hero__cta .btn-primary:hover,
.about-banner__cta .btn-primary:hover,
.btn-secondary:hover{
  color: var(--ev-heading-color) !important;
  --btn-hover-color: var(--ev-heading-color) !important;
  --btn-hover-border-color: var(--ev-body-bg);
}

.btn-secondary:hover,
.hero__cta .btn-outline-primary:hover{
  color: var(--ev-heading-color) !important;
  --btn-hover-color: var(--ev-heading-color) !important;
  --btn-hover-border-color: var(--ev-primary);
}

.btn-primary:hover::before,
.btn-primary:hover::after,
.btn-secondary:hover::before,
.btn-secondary:hover::after,
.btn-outline-primary:hover::before,
.btn-outline-primary:hover::after{
  transform: scale(1) rotate(0);
}
.btn-primary:hover{
  color: white;
  --btn-hover-color: white;;
  --btn-hover-border-color: var(--ev-secondary);
  --btn-hover-bg: transparent;
}
.btn{
  color: var(--ev-secondary);
}
.subtitle {
  position: relative;
  color: var(--ev-primary);
  padding-left: var(--ev-space-l);
}
.subtitle::before{
  position: absolute; 
  content:'';
  background-image:  url(https://serveur-images.devil-it-applications.fr/neceo/upload/tools_1741955748.svg);
  background-repeat: no-repeat;
  inset: 0;
  max-width: 26px;
}
.about-banner__subtitle.subtitle::before{
  width: 20px;
}
@media(max-width: 767px){
  .subtitle::before{
    width: 25px;
    height: auto;
  }
}
#grid_icon-8552 .subtitle::before{
  content: unset !important;
} 

.page {
	margin-top: 0;
}

[id^="article_link"] main {
  margin-block: 0 var(--ev-space-2xl-3xl);
}

.hero.section-inspector {
  margin-top: 0 !important;
}

.form-page .flexible-form__title-wrapper,
.banner.banner-bg.section-inspector {
  display: grid;
  align-items: end;
}

.banner-bg, .form-page .flexible-form__title-wrapper {
  --bg-color: hsl(var(--ev-primary-hue),var(--ev-primary-saturation),calc(var(--ev-primary-lightness) + 33%));
  --bg-text-color: var(--ev-secondary);
  --bg-img: url();
}

.breadcrumb-wrapper {
  padding-block: var(--ev-space-s);
}

.hero {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(var(--ev-secondary-rgb), 88%);
  z-index: -1;
  width: 63%;
  clip-path: polygon(0 0, 100% 0, 81% 100%, 0 100%);
}
@media(max-width: 767px){
  .hero::before {
    width: 100%;
    clip-path: unset;
}
}
@media(min-width:768px) and (max-width:991px){
  .hero::before {
    width: 99%;
  }
}
@media (min-width: 992px) and (max-width: 1100px) {
.hero::before {
  width: 92%;
}
}
@media (min-width: 1101px) and (max-width: 1200px) {
.hero::before {
  width: 86%;
}
}
@media(min-width:1201px) and (max-width:1300px){
  .hero::before {
    width: 80%;
  }
}
@media(min-width:1301px) and (max-width:1600px){
  .hero::before {
    width: 73%;
  }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--image-bg);
  background-size: cover;
  background-position: center;
  z-index: -2;
}
@media(max-width: 767px){
  #home .hero::after {
  	background-image: var(--image-bg-mobile);
  }
  .hero::before {
		background-color: rgba(var(--ev-secondary-rgb), 80%);
}
}
.hero[style*="--image-bg:url()"] {
  --image-bg: url(https://picsum.photos/2000/1000) !important;
}
.hero__content :not(.btn-primary) {
  color: white;
}
.hero__content {
  --header-height: 140px;
  display: grid;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100dvh - var(--header-height));
}
.hero__content[data-content-align="center"] {
  text-align: center;
  margin-inline: auto;
  place-items: center start;
}
.hero__content[data-content-align="center"] .hero__cta {
  width: fit-content;
  place-items: start;
}
.hero__grid {
  grid-template-areas:
    "breadcrumb"
    "subtitle " 
    "title    " 
    "author   " 
    "paragraph" 
    "cta      ";
  place-content: center;
  padding-block: var(--ev-space-xl);
  text-align: start;
}

.hero__title {
  margin-bottom: var(--ev-space-m);
  text-wrap: balance;
}
#home .hero__title{
  font-size: var(--ev-step-6);
}
.hero__description {
  font-size: var(--ev-step-0);
}
.hero__cta {
  margin-top: var(--ev-space-m);
}
.hero__subtitle.subtitle.grid-subtitle {
  color: var(--ev-primary);
}

@media (width > 992px) {
  .nav-item.nav-item--home .text {
    display: none;
  }
}
 .article.article--details .hero__grid.d-grid {
	grid-area: content;
}

.article.article--details .hero__image {
	grid-area: img;
} 

.article.article--details .hero__image img {
  height: 100%;
  object-fit: cover;
}

.article.article--details .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(var(--ev-secondary-rgb), 88%);
  z-index: -1;
  width: 100% !important;
  clip-path: unset !important;
}

@media(min-width:768px){
 .article.article--details .hero__content[data-content-align="start"] {
  grid-template-areas: '.. content img img';
   gap: 0;
  grid-template-columns: 1fr calc(clamp(var(--ev-grid-min-width, 20rem),var(--ev-grid-preferred-width, 80%),var(--ev-grid-max-width, 62rem)) - 30vw - var(--ev-grid-gutter) * 2) 30vw 1fr;
  }
  .hero__grid {
		padding-right: var(--ev-space-l);
    max-width: 700px;
	}
}

@media(max-width:767px){
    .article.article--details .hero__content[data-content-align="start"] {
 		 grid-template-areas: 'content' 'img';
     gap: 0;
}
  .article.article--details .hero figure {
    margin-bottom: unset !important;
  }
 
  .article.article--details .hero__grid {
  padding-inline: var(--ev-grid-gutter);
	}
}

/* @media (max-width: 991.98px) {
  .article.article--details  figure {
    margin-bottom: unset !important;
  }
} */

@media(min-width: 992px){
  .article--list .article__item{
    --article-item-img-height: 400px;
  }
}

@media(max-width: 479px){
  .article--list .article__item{
    --article-item-img-height: 330px;
  }
}

@media(max-width: 479px){
  .article--list .article__item{
    --article-item-img-height: 330px;
  }
}

.flexible-form__steps {
	grid-area: steps;
}

.flexible-form__wrapper {
	grid-area: content;
}

@media (max-width: 575px) {
.flexible-form__container {
		grid-template-areas: "steps"
                        "content";
}
}

@media (min-width: 576px) {
.flexible-form__container {
		grid-template-areas: "steps content";
}
}
@media (width = 768px) {
  body {
    padding-bottom: 0 !important;
  }
}
.breadcrumb-wrapper {
	background: transparent;
}



.flexible-form .form-check-label {
  display: grid;
  place-content: start;
  place-items: start;
  grid-template-areas: "figure text  ";
  grid-template-columns: 1fr 1fr;
  padding: 0;
  align-items: center;
  background: white;
}

.flexible-form  input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
} 

.flexible-form  input[type="number"] {
  -moz-appearance: textfield;
}

.form-help.p {
	display: block;
	margin-bottom: 0;
}


.flexible-form .form-check-input[type="checkbox"]:checked + .form-check-label,
.flexible-form .form-check-input[type="radio"]:checked + .form-check-label {
  background-color: transparent;
  overflow: hidden;
}
.form-check-figure {
  grid-area: figure;
}

.form-check-text {
  grid-area: text;
  padding: var(--ev-space-xs-s);
}

.form-check-figure {
  padding: var(--ev-space-xs-s);
  background: var(--ev-light);
  margin-block: var(--ev-space-3xs-2xs);
}

.form-check-price {
  font-size: var(--ev-space-s-m);
  color: var(--ev-primary);
}

.quantity-wrapper {
  display: flex;
}


.quantity-btn.quantity-btn--minus {
  border-radius: 5px 0 0 5px;
}

.quantity-btn.quantity-btn--plus {
  border-radius: 0 5px 5px 0;
}

.form-check {
  position: relative;
}

.flexible-form__container {
  border: 1px solid var(--ev-border-color);
  margin-top: var(--ev-space-xl);
}

.flexible-form__title-wrapper {
  background-color: transparent;
}

.flexible-form__container {
  padding: var(--ev-space-s-m);
}

@media (width > 768px) {
  .flexible-form__container {
   max-width: calc(clamp(var(--ev-grid-min-width, 20rem),var(--ev-grid-preferred-width, 80%),var(--ev-grid-max-width, 62rem)) - var(--ev-grid-gutter) * 2);
  }
}

.flexible-form__title-wrapper {
  padding: 0;
  text-align: center;
}

.flexible-form .form-check-label {
  grid-template-areas: "figure" "text";
  grid-template-columns: 1fr;
  gap: 0;
}

.form-check-figure {
  margin-block: 0;
}

 .form-check-input[type="checkbox"]:checked + .form-check-label, .form-check-input[type="radio"]:checked + .form-check-label {
    outline: 3px dashed var(--ev-primary);
   border: none;
  }

.form-check-text {
  display: grid;
  grid-template-areas: "description description" "price      input      ";
  place-content: space-between;
  width: 100%;  gap: 1rem;
}

.form-check-description {
  grid-area: description;
}

.form-check-price {
  grid-area: price;
}

.quantity-wrapper {
  grid-area: input;
}

@media (width < 600px) {

  .form-check-text {
    grid-template-areas: "description" "price" "input      ";
  }

  .form-check-price {
    font-size: var(--ev-step-4);
  }
  
  .flexible-form .form-check {
    width: 100%;
  }
  
  .flexible-form .form-check-label {
    grid-template-areas: "figure text  ";
    grid-template-columns: minmax(0px, 50%) 1fr;
  }

  .form-check-figure {
    height: 100%;
    display: grid;
    place-content: center;
  }
  
  .flexible-form .form-check {
  margin-block: 0;
  }

  .flexible-form .form-check-label {
    margin: 0;
  }

}

.form-check-figure {
	width: 100%;
}

.flexible-form .form-check {
  background: var(--ev-body-bg);
}

.flexible-form .form-check-label {
  width: 100%;
  height: 100%;
  grid-template-rows: auto 1fr;
}

.form-check-text {
  height: 100%;
}

.form-check-text {
  grid-template-rows: 1fr auto;
}
.quantity-wrapper {
  place-self: end;
}

.form-check-price {
  font-family: var(--ev-heading-font-family);
}

.form-group * {
  font-family: var(--ev-text-font-family);
}

.form-group b {
  color: var(--ev-heading-color);
}

.flexible-form .form-check-group {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
}

@media (width < 768px) { 

#home .main-content > * {
  margin-top: var(--ev-space-2xl);
}
.main-wrapper > section {
	margin-top: var(--ev-space-2xl) !important;
}
  
}

@media (width > 768px) {
  .flexible-form .form-check-group {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
}
}

  @media (width > 992px) {
    .flexible-form .col-xl-6 {
      width: 75% !important;
    }
      .flexible-form  .col-xl-4 {
      width: 25% !important;
    }

     .flexible-form  .row {
      flex-wrap: nowrap;
    }
    
    .flexible-form .form-check-group {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}
  }


.required-group .form-check-label {
  border-color: var(--ev-danger);
  box-shadow: 0 0 0 .25rem rgba(var(--ev-danger-rgb), 30%);
}

.flexible-form input[type="number"].invalid {
  box-shadow: none;
  border-color: revert;
}

.form-check-img {
  max-width: revert;
  max-height: revert;
}

.flexible-form .form-check-input[type="checkbox"], .flexible-form .form-check-input[type="radio"] {
	position: absolute;
	opacity: 0;
	cursor: pointer;
}

.form-check-figure {
  padding: 0;
}

@media (width > 992px) {
  .flexible-form .form-check-group {
    gap: var(--ev-space-xs-s);
  }
}

.flexible-form .form-check {
  background: var(--ev-light);
}

.flexible-form .form-check-label {
  background: var(--ev-light);
}

.form-check {
  padding-left: 0;
}

.flexible-form .form-check,
.flexible-form .form-check-label,
.flexible-form .card,
.form-check-figure {
	background: hsl(var(--ev-primary-hue),var(--ev-primary-saturation),calc(var(--ev-primary-lightness) + 40%));
}
.form-check-figure {
	border-bottom: var(--ev-border-width) var(--ev-border-style) var(--ev-border-color);
}
@media (width < 600px) {
  .flexible-form .form-check-label {
    grid-template-columns: auto 1fr;
  }
  
  .form-check-img {
    max-width: 140px;
  }
}

.flexible-form .card-header {
  --ev-card-cap-color: var(--ev-heading-color);
}

.flexible-form .card-header .card-unit {
  color: var(--ev-heading-color, var(--ev-dark));
}
.form-check-figure {
	padding: var(--ev-space-xs-s);
}
@media (max-width: 479px) {
	.article--list .article__item {
		--article-item-img-height: 350px;
	}
}
@media (min-width: 480px) and (max-width: 767px) {
	.article--list .article__item {
		--article-item-img-height: 400px;
	}
}
@media (min-width: 992px) {
  .modal-dialog {
    --bs-modal-width: 800px;
  }
}
@media (min-width: 1200px) {
  .modal-dialog {
    --bs-modal-width: 1140px;
  }
}
.flexible-form__title-wrapper {
	margin-top: var(--ev-space-xl);
}
/* form start */
.form-check {
  padding-left: 0;
}
 
.form-check-input[type="checkbox"],
.form-check-input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}
 
.form-check-label {
  display: inline-block;
  padding: 10px 20px;
  margin: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #f7f7f7;
  color: #333;
  cursor: pointer;
  transition: all 0.2s ease;
}
 
.form-check-label:hover {
  border-color: #999;
}
.form-check-input[type="radio"]:focus + .form-check-label,
.form-check-input[type="checkbox"]:focus + .form-check-label {
  outline: 2px dashed var(--ev-primary);
  outline-offset: 4px;
}
.form-check-label {
	display: flex;
	place-content: center;
	place-items: center;
	gap: var(--ev-space-xs);
}
.invalid + .form-check-label {
	border-color: var(--ev-danger);
}
.form-check-group {
  display: flex;
  flex-wrap: wrap;
}
.flexible-form .form-check {
  width: fit-content;
}
.form-control:focus, .article--list .article__filter-dropdown-btn:focus {
	box-shadow: 0 0 0 .25rem rgba(125, 94, 94, 0.25);
}
.flexible-form .button-group.inpdiv #prevBtn{
  --btn-color: var(--ev-heading-color);
}
.form-check-input[type="checkbox"]:checked + .form-check-label {
  background-color: hsl(var(--ev-primary-hue),var(--ev-primary-saturation),calc(var(--ev-primary-lightness) + 13%)) !important;
  border-color: var(--ev-primary);
}
 
.form-check-input[type="radio"]:checked + .form-check-label {
  background-color: hsl(var(--ev-primary-hue),var(--ev-primary-saturation),calc(var(--ev-primary-lightness) + 13%)) !important;
  border-color: var(--ev-primary);
}
.form-check-input[type="checkbox"]:checked + .form-check-label .form-check-figure,
.form-check-input[type="radio"]:checked + .form-check-label .form-check-figure  {
  background-color: hsl(var(--ev-primary-hue),var(--ev-primary-saturation),calc(var(--ev-primary-lightness) + 13%)) !important;
}
@media (width > 992px) {
.flexible-form .form-check-group {
	grid-template-columns: repeat(3, 1fr);
}
.discover__body {
	font-size: var(--ev-step-0);
}
.discover__body h2, .discover__body h3 {
	font-size: var(--ev-step-2);
}
}
.flexible-form .form-check {
  width: 100%;
}

/* form end */
html, body {
  overflow-x: hidden;
}