/**
 * Theme Name:     afac
 * Author:         Ludovic Tristan
 * Template:       hello-elementor
 * Text Domain:	   afac
 * Description:    Thème enfant Hello Elementor - Ludovic Tristan pour l\&#039;association AFAC
 */

p:last-child {
    margin-bottom:0px !important;
}
.bi-colors span {
    color:#60AB6A !important;
}
.lien-noir a {
	color:#000 !important;
	text-decoration:underline !important;
}
.lien-noir a.elementor-button {
	text-decoration:none !important;
}
	
.elementor-widget-text-editor ul, .elementor-widget-text-editor ol {
    margin-bottom: 1em !important;
}
.elementor-widget-text-editor ul{
   list-style: none !important;
}

.elementor-widget-text-editor li {
    margin-bottom: 0.3em !important;
    position:relative;
}
.elementor-widget-text-editor ul li::before {
    content: "•"; 
    font-weight:700 !important;
    font-size:2.5em !important;
    color: #60ab6a;
    
  position:absolute;
    left:0;
    top:0px;
    left:-20px;
}
	
/**  
FORUM
*/

.edit-profile-link {
    display: none !important;
}
#af-wrapper a.highlight-admin {
    color:#395E66 !important;
}
.background-avatar {
    background-color: #fff !important;
}
.background-avatar, .background-contrast{
    height:auto !important;
}
#profile-header {
    height:90px !important;
}
#af-wrapper .main-title {
    font-size: 28px !important;
}
#af-wrapper #profile-content {
    background-color: #fff !important;
}
#af-wrapper #forum-navigation a, #af-wrapper #profile-navigation a, #af-wrapper .title-element {color:#000 !important;}
/**  
Boutons lire la suite alignés en hauteur
*/

.listing-equal-height > .elementor-container {
    height: 100%;
}

.listing-equal-height > .elementor-container .elementor-widget-wrap {
    height: 100%;
}

.listing-equal-height > .elementor-container .elementor-column-wrap{
    flex-direction: column;
}
.listing-equal-height > .elementor-container .elementor-column-wrap .elementor-widget:last-of-type{
    margin-top: auto;
}

/* Last Widget Alignment */
.listing-last-to-bottom > .elementor-container .elementor-widget-wrap{
    flex-direction: column;
}
.listing-last-to-bottom > .elementor-container .elementor-widget:last-of-type{
    margin-top: auto;
}
/**  
Boucle ressources
*/
.boucle-ressources .jet-listing-grid__item:nth-child(even) .col-ressource .elementor-widget-wrap.elementor-element-populated{
    background-color:#395E66 !important; 
}

.boucle-ressources .jet-listing-grid__item:nth-child(1) .col-ressource .elementor-widget-wrap.elementor-element-populated,
.boucle-ressources .jet-listing-grid__item:nth-child(4) .col-ressource .elementor-widget-wrap.elementor-element-populated,
.boucle-ressources .jet-listing-grid__item:nth-child(7) .col-ressource .elementor-widget-wrap.elementor-element-populated{
    background-image: url("/wp-content/uploads/2023/09/bg1-rssources.png") !important;
}
.boucle-ressources .jet-listing-grid__item:nth-child(2) .col-ressource .elementor-widget-wrap.elementor-element-populated,
.boucle-ressources .jet-listing-grid__item:nth-child(5) .col-ressource .elementor-widget-wrap.elementor-element-populated,
.boucle-ressources .jet-listing-grid__item:nth-child(8) .col-ressource .elementor-widget-wrap.elementor-element-populated{
    background-image: url("/wp-content/uploads/2023/09/bg2-rssources.png") !important;
}
.boucle-ressources .jet-listing-grid__item:nth-child(3) .col-ressource .elementor-widget-wrap.elementor-element-populated,
.boucle-ressources .jet-listing-grid__item:nth-child(6) .col-ressource .elementor-widget-wrap.elementor-element-populated,
.boucle-ressources .jet-listing-grid__item:nth-child(9) .col-ressource .elementor-widget-wrap.elementor-element-populated{
    background-image: url("/wp-content/uploads/2023/09/bg3-rssources.png") !important;
}
.boucle-ressources .jet-listing-grid__item:nth-child(1) .col-ressource .elementor-widget-wrap.elementor-element-populated,
.boucle-ressources .jet-listing-grid__item:nth-child(3) .col-ressource .elementor-widget-wrap.elementor-element-populated,
.boucle-ressources .jet-listing-grid__item:nth-child(4) .col-ressource .elementor-widget-wrap.elementor-element-populated,
.boucle-ressources .jet-listing-grid__item:nth-child(6) .col-ressource .elementor-widget-wrap.elementor-element-populated,
.boucle-ressources .jet-listing-grid__item:nth-child(7) .col-ressource .elementor-widget-wrap.elementor-element-populated,
.boucle-ressources .jet-listing-grid__item:nth-child(9) .col-ressource .elementor-widget-wrap.elementor-element-populated{
     margin-top:-40px !important;
}

@media only screen and (max-width: 1023px){
.boucle-ressources .jet-listing-grid__item:nth-child(1) .col-ressource .elementor-widget-wrap.elementor-element-populated,
.boucle-ressources .jet-listing-grid__item:nth-child(3) .col-ressource .elementor-widget-wrap.elementor-element-populated,
.boucle-ressources .jet-listing-grid__item:nth-child(4) .col-ressource .elementor-widget-wrap.elementor-element-populated,
.boucle-ressources .jet-listing-grid__item:nth-child(6) .col-ressource .elementor-widget-wrap.elementor-element-populated,
.boucle-ressources .jet-listing-grid__item:nth-child(7) .col-ressource .elementor-widget-wrap.elementor-element-populated,
.boucle-ressources .jet-listing-grid__item:nth-child(9) .col-ressource .elementor-widget-wrap.elementor-element-populated{
     margin-top:0px !important;
}
}