/*!
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

.button-narrow {
    padding: 10px 10px !important;
}

.card-buttons .button {
    align-self: flex-end;
  }

.owl-item {
    /* height: 350x !important; Adjust the height to your desired value */
    /* width: 250px !important; Adjust the width to your desired value */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.owl-item a {
    max-width: 100%;
}

.carousel-accueil .owl-item {
    touch-action: manipulation;
}

.owl-carousel .card-carousel {
    margin: 20px 10px 10px 10px;
    max-width: 100%;
    height: 100%;
    /* Center the text horizontally */
    text-align: center;
    /* Add any other styling for your cards here */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    color: black !important;
    text-decoration: none !important; /* Remove the underline for links inside .card */
    transition: box-shadow 0.2s; /* Add transitions for smooth hover effect */
    border-radius: 10px 10px 10px 10px;
    overflow: hidden;
    
}

.owl-carousel .card-carousel:hover {
    /* background-color: #f0f0f0; Slightly grey background on hover */
    /* transform: scale(1.05); Expand slightly on hover */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3); /* Slightly stronger shadow on hover */
}

.owl-carousel .image-container {
    /* display: flex; */
    /* position: relative; */
    /* max-width: 400px; */
    /* height: 300px;  */
    /* padding-bottom: 100%; This sets the aspect ratio, e.g., 1:1 (square) */
    /* display: flex; */
    width: 100%;
    position: relative;
    padding-top: 75%; /* 4:3 aspect ratio (change this value to your desired ratio) */
    overflow: hidden;
    height:0;

}

.owl-carousel img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.owl-carousel b {
    display: inline-block;
    font-family: var(--global-heading-font-family);
    font-size: 17px; /* Set the font size for <b> elements inside .card */
    line-height: 1.1;
    
}

.owl-carousel .card-text {
    display: inline-block; 
    font-size: 15px; /* Set the font size for <b> elements inside .card */
    line-height: 1.1;
    max-width: 100% !important;

    
}


/* Style for the previous (left) button */
.owl-prev {
    width: 50px;
    height: 60px;
    align-items: center !important;
    justify-content: center !important;
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    left: -10px; /* Adjust the left position as needed */
    font-size: 20px!important; /* Adjust the button size */
    font-weight: bold!important; /* Make the text bold */
    background: var(--wp--preset--color--theme-palette-6)!important;
    opacity: 0.8!important;
    touch-action: manipulation;
    
  }

  .owl-prev:hover {
    background: var(--wp--preset--color--theme-palette-1)!important;
  }
  
  /* Style for the next (right) button */
  .owl-next {
    width: 50px;
    height: 60px;
    align-items: center !important;
    justify-content: center !important;
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    right: -10px; /* Adjust the left position as needed */
    font-size: 20px!important; /* Adjust the button size */
    font-weight: bold!important; /* Make the text bold */
    background: var(--wp--preset--color--theme-palette-6)!important;
    opacity: 0.8!important;
    touch-action: manipulation;
    
  }

  .owl-next:hover {
    background: var(--wp--preset--color--theme-palette-1)!important;
  }
  
  /* Style for the buttons on hover (active) */
  .owl-prev:hover, .owl-next:hover {
    color: #0000FF; /* Adjust the active (hover) color */
  }


/* CSS for the column layout */
.card-container {
    display: flex;
    flex-wrap: wrap;
    /* justify-content: flex-start; */
    margin: 0 -15px;

}

.card {
    flex: 0 0 calc(25% - 30px); /*4 columns on desktop */
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    margin: 15px;
    /* Center the text horizontally */
    text-align: center;
    /* Add any other styling for your cards here */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    color: black !important;
    text-decoration: none !important; /* Remove the underline for links inside .card */
    transition: box-shadow 0.2s; /* Add transitions for smooth hover effect */
    border-radius: 10px 10px 0 0;
    overflow: hidden;

}

@media (max-width: 1000px) {
    .card {
        flex: 0 0 calc(33.33% - 30px); /* 2 columns on tablet */
    }
}


@media (max-width: 800px) {
    .card {
        flex: 0 0 calc(50% - 30px); /* 2 columns on tablet */
    }

    .owl-dots {
        display: none;
    }
}

@media (max-width: 480px) {
    .card {
        flex: 0 0 calc(100% - 20px); /* 1 column on mobile */
    }

    .owl-dots {
        display: none;
    }
}

.card:hover {
    /* background-color: #f0f0f0; Slightly grey background on hover */
    /* transform: scale(1.05); Expand slightly on hover */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3); /* Slightly stronger shadow on hover */
}


.card b {
    display: inline-block;
    font-family: var(--global-heading-font-family);
    font-size: 1em; /* Set the font size for <b> elements inside .card */
    line-height: 1.1;
    
}

.card .card-text {
    display: inline-block;
    font-size: 0.8em; /* Set the font size for <b> elements inside .card */
    line-height: 1.1;
    padding: 0px 10px;
    
}

.card .image-container {
    width: 100%;
    position: relative;
    padding-top: 75%; /* 4:3 aspect ratio (change this value to your desired ratio) */
}


.card .image-container img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    object-fit: cover !important;
}

/* Rounded top edges */
.rounded-top {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
height: 15px; /* Adjust the height to control the roundness of the top edges */
background: white; /* Match the background color of the card */
border-radius: 15px 15px 0 0; /* Adjust the border-radius to control the roundness */
}

.card-buttons {
display: flex;
/* justify-content: space-between;  */
justify-content: flex-start;
/* padding: 10px; */
}

.card-buttons .button {

padding: 10px 20px;


/* Allow the buttons to shrink when there's limited space */
flex: 1; /* Distribute available space equally among the buttons */
}



.card-buttons .button-left {
color: var(--wp--preset--color--theme-palette-9);
background: var(--wp--preset--color--theme-palette-6);
}

.card-buttons .button-left:hover {
    color: white;
    background: var(--wp--preset--color--theme-palette-2);
}

.card-buttons .button-left {
margin-right: 2px;
}


    
.card-buttons .button-right:hover {
    color: white;
    background: var(--wp--preset--color--theme-palette-2);
}
    



.pill {
    display: inline-block;
    padding: 0.3em 0.6em;
    margin: 0.2em;
    background-color: var(--wp--preset--color--theme-palette-6);
    color: #fff;
    border-radius: 10px;
}


/* styles table genealogie */

.genealogy {
    border-collapse: collapse;
    width: 100%;
    background-color: rgb(247, 250, 252);
  }

.genealogy th, td{
padding: 8px;
border-bottom: 1px solid black;
}

.genealogy tr:last-child td {
    border-bottom: none;
}

.genealogy .cellulegauche {
    border-bottom: none;
}

/* Your styles for td elements with rowspan of 2, excluding the first child */
.genealogy td[rowspan="2"] {
    
    font-weight: bold;
}


/* 

class="genealogy" 
*/

.images-landing {
    display: flex;
}


/* Ne pas afficher le logo sur la page principale */

.home .site-branding {
	display: none;
}


/* centrer logo sur smartphone */
@media (max-width: 1024px) {
    .image-centre-smartphone {
        display: block;
        margin: 0 auto;
    }
}



/* utilisé pour la bande champion */
.myPricing{
    --text: 'MOST POPULAR';
    --first-color: #62baea;
    --second-color: #4a98bf;
    
    position: relative;
}
.myPricing .myRibbon{
    position: absolute;
    top: -10px;
    left: -10px;
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.myPricing .myRibbon::before{
    content: var(--text);
    position: absolute;
    width: 150%;
    height: 40px;
    background: var(--first-color);
    transform: rotate(-45deg) translateY(-20px);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.1em;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}
.myPricing .myRibbon::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 10px;
    height: 10px;
    background: var(--second-color);
    z-index: -1;
    box-shadow: 140px -140px var(--second-color);
}

/* boutons sur la page d'accueil */

.clickable-div-poneysport {
  cursor: pointer;
  transition: background-color 0.3s ease; 
}

.clickable-div-poneysport:hover {
  background-color: #EDF2F7 !important; 
}

.clickable-div-chevauxsport {
  cursor: pointer;
  transition: background-color 0.3s ease; 
}

.clickable-div-chevauxsport:hover {
  background-color: #EDF2F7 !important; 
}

.clickable-div-robesrares {
  cursor: pointer;
  transition: background-color 0.3s ease; 
}

.clickable-div-robesrares:hover {
  background-color: #EDF2F7 !important; 
}

.clickable-div-poulainsvendre {
    cursor: pointer;
    transition: background-color 0.3s ease; 
  }
  
  .clickable-div-poulainsvendre:hover {
    background-color: #EDF2F7 !important; 
  }

.clickable-div-poulinieres {
  cursor: pointer;
  transition: background-color 0.3s ease; 
}

.clickable-div-poulinieres:hover {
  background-color: #EDF2F7 !important; 
}

/* marges gauche et droite sur mobile */
.has-custom-width .kt-row-column-wrap {
    padding-left: 15px;
    padding-right: 15px;
}

/*
.bouton-fiche {
	position: absolute;
    bottom: 20px; 
}
*/

/*
.fiche-pouliniere {
	min-height: 1000px !important;
}
*/

ytp-cued-thumbnail-overlay

.plqyer {
    pointer-events: none;
  }