/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* CUSTOM STYLE THE EVENT CALENDAR */

@import url('https://fonts.googleapis.com/css2?family=Antonio:wght@400;600;700&display=swap');

.date-coin {
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  padding: 20px 20px 60px 20px;
  background-color: #C1171A;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 10;
}

.date-jour {
  font-family: 'Antonio', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

.date-mois {
  font-family: 'Antonio', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  text-transform: lowercase;
  line-height: 1.2;
}

/* Tout masquer par défaut */
.elementor-element.icon-publication,
.elementor-element.icon-outil,
.elementor-element.icon-emission,
.elementor-element.bouton-publication,
.elementor-element.bouton-outil,
.elementor-element.bouton-emission {
  display: none !important;
}

/* Afficher selon la classe du post sur le wrapper */
.types-ressource-publication .elementor-element.icon-publication,
.types-ressource-publication .elementor-element.bouton-publication {
  display: block !important;
}

.types-ressource-outil .elementor-element.icon-outil,
.types-ressource-outil .elementor-element.bouton-outil {
  display: block !important;
}

.types-ressource-emission .elementor-element.icon-emission,
.types-ressource-emission .elementor-element.bouton-emission {
  display: block !important;
}