/*
Theme Name: IPSUMEDIA Divi Child Theme
Description: Theme enfant de Divi par IPSUMEDIA
Author: Alexandre - Raphaël
Author URI: https://ipsumedia.com
Template: Divi
Version: 1.1.2
*/

.et_pb_blog_grid article {
      background: #00499738;
    border-radius: 16px;
    border: none;
    padding: 20px;
    font-size: 16px;
    color: white;
    font-weight: bold;
    width: 250px;
    text-align: center;
    box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.2), -6px -6px 12px rgba(255, 255, 255, 0.1), inset 4px 4px 8px rgba(0, 0, 0, 0.2), inset -4px -4px 8px rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease-in-out;
}
.et_pb_blog_grid article img:active {
box-shadow: 
    inset 6px 6px 12px rgba(0, 0, 0, 0.3), 
    inset -6px -6px 12px rgba(255, 255, 255, 0.1);
}
#pmr, .tribe-events-l-container {
    transition: transform 0.5s ease-out;
    /* On peut aussi utiliser ease-in-out pour un effet plus doux */
}

/* Classe pour l'état déplacé */
.slide-down {
    transform: translateY(40vh);
}
#wp-bottom-menu,
.raphQR,
#bouton-pmr,
#bouton-retour
{
  display: none;
}
/* Style de base du bouton */
.ripple-btn {
  position: relative;
  display: inline-block;
  transition: all 0.15s ease-in-out;
  transform: scale(1);
}

/* Style de l'effet d'ondulation */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  pointer-events: none;
}

/* Effet d'enfoncement */
.ripple-btn:active {
  transform: scale(0.95); /* Réduction de taille pour simuler l’enfoncement */
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2); /* Ombre plus petite */
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}
.et_pb_search_0_tb_body input.et_pb_searchsubmit, .et_pb_search_0 input.et_pb_searchsubmit{
	    color: #FFFFFF!important;
    text-indent: -9999px;
    background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg xmlns%3D"http%3A//www.w3.org/2000/svg" viewBox%3D"0 0 64 64"%3E%3Cpath fill%3D"%23ffffff" d%3D"M55%2C51.6l-9.9-9.8c1.5-2.4%2C2.3-5.2%2C2.3-8.1c0-7.7-6.3-14-14-14s-14%2C6.3-14%2C14c0%2C7.7%2C6.3%2C14%2C14%2C14c2.9%2C0%2C5.7-0.8%2C8.1-2.3l9.9%2C9.9c0.6%2C0.6%2C1.4%2C0.9%2C2.2%2C0.9s1.6-0.3%2C2.2-0.9C55.6%2C54.1%2C55.6%2C52.8%2C55%2C51.6zM33.4%2C42.7c-5.1%2C0-9.3-4.1-9.3-9.3s4.1-9.3%2C9.3-9.3c5.1%2C0%2C9.3%2C4.1%2C9.3%2C9.3S38.5%2C42.7%2C33.4%2C42.7z"/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position-x: -5px;
    background-position-y: -5px;
    width: 50px;
    height: 50px;
    background-color: #2C5BC3!important;
    border-color: #2C5BC3!important;
}
ul.et_pb_tabs_controls {
  background-color: rgba(0, 0, 0, 0);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

ul.et_pb_tabs_controls:after {
  border-top: 1px solid #d9d9d9;
  display: none;
}

.et_pb_tabs_controls li{
  display: flex;
  justify-content: center;
	align-items: center;
  border-radius: 20px;
  background-color: #0053bd;
	margin: 5px;
}

.alignleft a, .alignright a{
	padding: 5px 8px;
	background-color: #0053bd;
	border-radius: 20px;

}

.entry {
	    background-color: white;
    width: 50%;
    margin: 0 auto;
    border-radius: 15px;
    padding: 20px;
}
article .et_pb_image_container {
	width: 108px;
	margin: 0 auto;
}
@media only screen and (max-width: 981px) {
  .et_pb_column {
    margin-bottom: 0px !important;
  }
	#menu-principal { display: flex;}
  .et_pb_salvattore_content[data-columns]::before {
    content: "2 .column.size-1of2" !important;
    width: 90%;
  }

  .et_pb_post {
    max-width: 90%;
    margin: 0 auto;
    margin-bottom: 8px !important;
  }

  .et_pb_tabs_controls li a {
    font-size: 16px;
    padding: 4px;
    padding: 4px 4px;
  }

  .et_pb_tabs_0.et_pb_tabs .et_pb_tabs_controls li {
    margin-bottom: 3px;
  }

  .blog-modifie .et_pb_salvattore_content[data-columns]::before {
    content: "2 .column.size-1of2" !important;
  }
}

@media only screen and (min-width: 1079px) and (max-width: 1082px) {
  html {
    touch-action: pan-y !important;
  }
  .pdfjs-viewer {
    height: 1470px !important;
  }

  .lien-interdit {
    pointer-events: none;
  }

  .raphQR,
  #bouton-retour,
  #bouton-pmr {
    display: block;
  }

  .pas-borne,
  #webpushr-prompt-wrapper,
  #pwaforwp-add-to-home-click,
  #_prompt_overlay,
  #onesignal-slidedown-container,
  .et_pb_files_container {
    display: none !important;
  }
  /* Onglets */
html * {
-moz-user-select: none;
 -webkit-user-select: none;
 -ms-user-select: none;
 user-select: none;
}
  /* Désactiver les liens des modules onglets */
  .et_pb_tab_content
    a:not(.et_pb_post a, #ect-events-list-content a, .et_pb_image a),
  .et_pb_toggle a,
  .et_pb_blurb_container a,
  #logo-ipsumedia {
    pointer-events: none;
    cursor: default;
  }
}
