/*
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.3
*/
/* Définition de la transition */
#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(50vh);
}
#wp-bottom-menu,
.raphQR,
#bouton-pmr,
#retour-pmr {
  display: none;
}
.et_pb_search_0_tb_body input.et_pb_searchsubmit, 
.et_pb_search_0 input.et_pb_searchsubmit {

    font-size: 20px;
    color: #FFFFFF !important;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    background: none; /* Supprime l'image de fond */
    border: none; /* Facultatif selon ton design */
    cursor: pointer;
}

ul.et_pb_tabs_controls {
  background-color: rgba(0, 0, 0, 0);
}

ul.et_pb_tabs_controls:after {
  display: none;
}

.et_pb_tabs_controls li {
  display: flex;
  justify-content: center;
  border-radius: 20px;
  background-color: #0053bd;
  margin: 5px;
}
.et_pb_tab {
	padding: 51px 30px;
}
@media only screen and (max-width: 981px) {
  .et_pb_column {
    margin-bottom: 0px !important;
  }

  .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;
  }
}

@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,
	#retour-pmr,
  #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 */

  /* 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;
  }
}
