/*
Theme Name: Beaver Builder Child Theme
Theme URI: http://www.wpbeaverbuilder.com
Version: 1.0
Description: An example child theme that can be used as a starting point for custom development.
Author: The Beaver Builder Team
Author URI: http://www.fastlinemedia.com
template: bb-theme
*/

/* Add your custom styles here... */ 

li.current-menu-item a {
	background: none !important;
}


/* carte */
.ayazen-card {
    background:#f2f2f2;
    border-radius:20px;
    padding:40px;
    transition:all .25s ease;
}

/* structure callout */
.ayazen-card .fl-callout{
    background:transparent;
    padding:0;
    min-height:auto;
}

.ayazen-card .fl-callout-content{
    position:relative;
}

/* titre */
.ayazen-card .fl-callout-title{
    margin:0 0 16px 0;
    transition:color .25s ease;
}

/* texte */
.ayazen-card .fl-callout-text-wrap{
    margin:0;
    padding-bottom:190px; /* espace entre texte et photo */
    transition:color .25s ease;
}

/* photo */
.ayazen-card .fl-callout-photo{
    position:absolute;
    left:0;
    bottom:50px;
    width:90px;
    margin:0;
}

.ayazen-card .fl-callout-photo img{
    width:100%;
    height:auto;
    display:block;
    transition:opacity .2s ease;
}

/* lien hover */
.ayazen-card .fl-callout-photo::after{
    content:"Voir le menu →";
    position:absolute;
    left:0;
    bottom:-40px;
    font-size:18px;
    white-space:nowrap;
    color:#ffffff;
    opacity:0;
    transition:opacity .2s ease;
}

/* hover carte */
.ayazen-card:hover{
    background:#2d3e57;
    transform:translateY(-4px);
}

/* texte blanc */
.ayazen-card:hover .fl-callout-title,
.ayazen-card:hover .fl-callout-title-text,
.ayazen-card:hover .fl-callout-text-wrap,
.ayazen-card:hover .fl-callout-text-wrap p{
    color:#ffffff !important;
}

/* remplacer image par lien */
.ayazen-card:hover .fl-callout-photo img{
    opacity:0;
}

.ayazen-card:hover .fl-callout-photo::after{
    opacity:1;
}