/*
Theme Name: Twenty Twenty-Four I-Motion
Description: Twenty Twenty-Four I-Motion
Author: I-Motion
Author URI: http://i-motion.fr
Template: twentytwentyfour
Version: 1.0.0
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

.wp-block-template-part {
  background-color:#fcfcfc;
  /*border-bottom: solid 3px #fafafa;*/
  box-shadow:
  0 4px 12px -8px #1b2e4bf0;
}

.n2_clear {
  top:-20px;
}

header {
  position: sticky;
  top:0;
  width:100%;
  z-index:100000;
}

/*:where(.wp-site-blocks) > :nth-child(2) {
  margin-top:500px;
}*/

.see_also_block a {
  text-decoration:none;
  /*color:rgb(255, 77, 0);*/
}

.see_also_block a:hover {
  text-decoration:underline;
  /*color:rgb(255, 77, 0);*/
}

.no-lightbox {
  pointer-events: none; /* Disables the click effect */
}

.feature-list {
  padding:0;
  margin:0;
  padding-left:15px;

}
.icon-check {
  list-style-type: "\2713";
  font-size:0.9em;
}
.icon-check::marker  {
  /*font-size: 0.7em;*/
  color:rgb(199, 123, 0);
}

.icon-arrow {
  list-style-type: "\27A5";
}
.icon-arrow::marker  {
  font-size: 0.7em;
  color:rgb(199, 123, 0);
}

.homefeaturelist {
  gap: 0.6rem !important;
  padding-top:5px;
}

.featurecolor1, .featurecolor2, .featurecolor3, .featurecolor4, .featurecolor5,
.featurecolor6, .featurecolor7, .featurecolor8, .featurecolor9, .featurecolor10,
.featurecolor11, .featurecolor12, .featurecolor13, .featurecolor14, .featurecolor15,
.featurecolor16 {
  font-style: normal !important;
  font-variant: normal !important;
  text-rendering: auto !important;
  line-height: 1;
  -webkit-font-smoothing: antialiased !important;
  font-weight:600;
  font-size: 1.05em;
  width:20px;
  text-align:center;
  left:auto;
}

.featurecolor1  {  color: #37a; }
.featurecolor2  {  color: #46a676; }
.featurecolor3  {  color: #304; }
.featurecolor4  {  color: #a69944; }
.featurecolor5  {  color: #b0a53e }
.featurecolor6  {  color: #79633f }
.featurecolor7  {  color: #65953d; }
.featurecolor8  {  color: #3bbfa8; }
.featurecolor9  {  color: #599caf; }
.featurecolor10 {  color: #b0bb39; }
.featurecolor11 {  color: #b06080; }
.featurecolor12 {  color: #cba; }
.featurecolor13 {  color: #999; }
.featurecolor14 {  color: #440; }
.featurecolor15 {  color: #444; }
.featurecolor16 {  color: #555; }
    

.rotate90 {
  transform: rotate(90deg) translate(0, 2px);
}

.flip {
  transform: scaleX(-1) translate(2px, 0);
}


#post-popup {
  display: none;
  position: absolute;
  background: white;
  padding: 10px;
  border: 1px solid #ccc;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 300px;
  z-index: 1000;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

.module-title {
  cursor: pointer;
}

.functiontitles {
  box-shadow:
    0 4px 12px -8px rgba(197, 92, 1, 0.564);
  padding-bottom: 5px !important; /* Adjust spacing */
  padding-left:3px;
  
}

.iffeature_check {
  font-size:0.8rem;
  margin-right:7px;
  color:rgb(255, 77, 0)
}


:where(.wp-site-blocks *:focus){
  outline-width:2px;outline-style:solid
}

/* Price sim */

.price_sim_button {
  display:inline;
  top:-3px;
  position:relative;
  margin-right:5px;
  width:300px;
}

.sim-hidden {
  display:none;
  top:-3px;
  position:relative;
  margin-right:5px;
}

.wp-block-button__link {
  /*border:3px solid #086394;*/
  background-color:#086394;
}

/*.if_modtitle {
  display:inline !important;
}*/

.if_mod_col {
  min-width:250px;
}

.sim-content {
  display:none;
  /*border-left: solid 2px #244e8a;*/
  padding-left:10px;
  margin-top: 20px;
}

.sim-module-select {
  display:none;
}

/* The switch container */
.switch {
  position: relative;
  display: inline-block;
  width: 25px;
  height: 14px;
  top:6px;
}

/* Hide the default checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider (toggle button) */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0px;
  left: 0;
  right: 0;
  bottom: 0px;
  background-color: #ccc;
  border-radius: 14px;
  transition: 0.4s;
}

/* The circle inside the switch */
.slider:before {
  content: "";
  position: absolute;
  height: 10px;
  width: 10px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  border-radius: 50%;
  transition: 0.4s;
}

/* When the checkbox is checked */
input:checked + .slider {
  background-color: #03568a;
}

/* Move the circle when checked */
input:checked + .slider:before {
  transform: translateX(11px);
}

@media (max-width: 768px) {
.wp-block-search__input {
  width:100px;
}
}

.wp-block-search__button, .wp-block-search__input
 {
  padding:0;
  padding-left:5px;
  padding-right:5px;
  margin-bottom:3px;
}

/* FAQ */
.faqli li {
  margin-block-start: 0;
}

.faq-content, .if-popup {
  display:none;
  border-left: solid 2px #244e8a;
  border-bottom: solid 5px #244e8a;
  padding-left:10px;
  margin-top: 20px;
  padding-bottom: 15px;
}

.faq-title::before {
  content: "★ ";
  color: rgb(10, 116, 178);
}

.faq-title, .if-popup-title, .desc-title {
  cursor:pointer;
  font-size: 0.95em;
  font-weight: bold;
  /*text-decoration: underline #244e8a;*/
  margin-bottom: 0;
}

.faqtitleactive div, .faqtitleactive h2 {
  color: rgb(10, 116, 178) !important; /* Changez la couleur selon vos préférences */
}




/* menu */

/* hamburger menu */
/* Style de base */
.menu-container {
  position: relative;
  z-index:1000;
}
#menu-i-faktur-fr {
  margin-top: 25px;
  padding-top:5px;
  padding-bottom:10px;
  box-shadow: 0 2px 5px #233d63f9;
}

/* Cacher le menu sur mobile */
.menu-items {
  display: none;
  flex-direction: column;
  background: #38619ff9;
  position: absolute;
  top: 00px;
  left: 10px;
  width: 200px;
  color:white;
  /*box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);*/
}

/* Bouton hamburger */
.menu-toggle {
  background: none;
  border: none;
  font-size: 30px;
  cursor: pointer;
  position: absolute;
  top: -30px;
  left: 10px;
}

/* Afficher le menu lorsqu'il est actif */
.menu-container.active .menu-items {
  display: flex;
  list-style:none;
}


.wp-classic-menu-block>.menu{
  list-style:none;
  margin:0;
  padding:0;
  text-align:left;
  width:100%;
}

.wp-classic-menu-block>.menu ul{
  left:-999em;
  list-style:none;
  margin:0;
  padding:0;
  position:absolute;
  background-color:white;
  border: none; /*2px solid rgba(255, 255, 255,0.7);*/
  font-size:0.9em;
  width:210px;
  text-decoration:none;
  z-index:1000;
}

.wp-classic-menu-block>.menu li li::before{
  /*content: "● ";*/
  font-size: 0.7em;
  color: #ffffff;
}

.wp-classic-menu-block>.menu li{
  display:inline-block;
  padding-right:var(--wp--style--block-gap,2em);
  position:relative;
  text-align:left;
  color: #ffffff;
}

.wp-classic-menu-block>.menu li:hover>ul{
  left:auto;
  
}
.wp-classic-menu-block>.menu li li{
  display:block;
  padding-left:10px !important;
  padding-right:5px !important;
  padding-top:2px;

}
.wp-classic-menu-block>.menu li li:hover>ul{
  left:100%;
  top:0;
}


li.menu-item-type-post_type{
  height:30px;
  padding-top:5px;
  padding-bottom:5px;
}

.menu-item a{
  color:white;
}

.menu-item a[aria-current="page"]{
  color:#233d63;
  font-weight:bolder;
}

#menu-legal-fr a, #menu-legal-de a {
  color:rgb(0, 0, 0);
}

.product_thumb {
  text-align: center;
  margin-bottom:0;
  margin-inline-start:0 !important;
  margin-inline-end:0 !important;

}
.product_thumb > img {
  width:200px;
}

.fullmenu a{
  color:rgb(0, 0, 0);
  font-size:0.9em;
}

:where(.wp-site-blocks *:focus){outline-width:2px;outline-style:solid;}

:where(.wp-site-blocks) > * {
margin-block-start: 0;
}

/* presentation posts */

.presentation_img img{
  width:300px;
  box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.2);
}

.post_alternate li:nth-child(odd) .altpost {
  background-color: #78aaff1a;
  padding:10px;
}

.post_alternate li:nth-child(even) .altpost {
  background-color: #f790001a;
  padding:10px;
}

@media (min-width: 1024px) {

  .post_alternate li .altpost {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

/* Odd posts: image left, content right */
.post_alternate li:nth-child(odd) .altpost {
  flex-direction: row;
  padding: 30px;
  padding-left:0;
  padding-right:250px;
  margin:50px;
  margin-left:-150px;
  margin-right:150px;
}

.post_alternate li:nth-child(even) .altpost {
  flex-direction: row-reverse;
  padding: 30px;
  padding-right:0;
  padding-left:250px;
  margin:50px;
  margin-left:150px;
  margin-right:-150px;
}

/* Even posts: image right, content left */
.post_alternate li:nth-child(even) * .wp-block-post-content,
  .post_alternate li:nth-child(even) * .altcontent
{
  text-align: center !important;
  align-items: center;
}

.post_alternate li:nth-child(odd) * .wp-block-post-content,
.post_alternate li:nth-child(odd) * .altcontent{
  text-align: center;
  align-items: center;
}

.post_alternate li:nth-child(odd) * .wp-block-post-featured-image{
  text-align: center;
}

.post_alternate li:nth-child(even) * .wp-block-post-featured-image{
  text-align: center;
}



.post_alternate li .altpost .image-block {
  width: 30%;
  text-align:center;
}

.post_alternate li .altpost .content-block  {
  width: 70%;
  margin:50px;
}

.post_alternate li .altpost > * {
  flex: 1; /* or set specific widths like 40% and 60% */
}
}

@media (max-width: 768px) {
  .post_alternate li .altpost {
      flex-direction: column !important;
  }

  .wp-block-post .wp-block-post-featured-image,
  .wp-block-post .wp-block-post-content {
      width: 100%;
  }
}