/*
Theme Name: Divi Enfant
Description: Theme enfant de Divi. Vous pouvez maintenant effectuer vos modifications en toute sécurité.
Author: WPMarmite
Author URI: https://wpmarmite.com
Template: Divi
Version: 1.0
*/

/*
icone svg 
*/

.em-dashboard-icons{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:14px;
    line-height:1;
}

.em-dashboard-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    width:auto;
    height:auto;
}

.em-dashboard-icon img{
    display:block;
    width:20px;
    height:20px;
}

/*page accueil bloc bleu de gauche */
.dashboard-side-nav{
  color:#fff;
  font-family:inherit;
}

.dashboard-side-nav .nav-group{
  padding:18px 0 20px;
  border-top:1px solid rgba(255,255,255,0.45);
}

.dashboard-side-nav .nav-group:first-child{
  border-top:none;
  padding-top:0;
}

.dashboard-side-nav .nav-top-link{
  color:#fff;
  font-weight:700;
  font-size:18px;
  line-height:1.4;
  text-decoration:none;
  display:block;
}

.dashboard-side-nav .nav-group-title{
  position:relative;
  padding-left:28px;
  color:#fff;
  font-weight:700;
  font-size:18px;
  line-height:1.4;
}

.dashboard-side-nav .nav-group-title::before{
  content:"";
  position:absolute;
  left:2px;
  top:8px;
  width:10px;
  height:10px;
  border-left:2px solid #fff;
  border-bottom:2px solid #fff;
  transform:rotate(135deg);
}

.dashboard-side-nav .nav-sub-links{
  padding-top:10px;
  padding-left:28px;
}

.dashboard-side-nav .nav-sub-links a{
  display:block;
  color:#fff;
  text-decoration:none;
  font-size:16px;
  font-weight:400;
  line-height:1.8;
  opacity:0.95;
}

.dashboard-side-nav .nav-sub-links a:hover,
.dashboard-side-nav .nav-top-link:hover{
  opacity:0.85;
}

/*4carré page accueil "je souhaite"*/

.dashboard-cards{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:24px;
}

.dashboard-card{
  min-height:240px;
  padding:36px 24px;
  background:linear-gradient(180deg, #d9dde0 0%, #c4ddea 100%);
  border-radius:4px;
  text-decoration:none;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
}

.dashboard-card img{
  width:82px;
  height:82px;
  object-fit:contain;
  display:block;
  margin-bottom:34px;
}

.dashboard-card-btn{
  margin-top:auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:265px;
  min-height:74px;
  padding:14px 26px;
  background:#fff;
  border-radius:999px;
  color:#111;
  text-align:center;
  font-size:18px;
  font-weight:700;
  line-height:1.25;
}

@media (max-width: 980px){
  .dashboard-cards{
    grid-template-columns:repeat(2, 1fr);
  }
}

@media (max-width: 767px){
  .dashboard-cards{
    grid-template-columns:1fr;
  }

  .dashboard-card-btn{
    min-width:100%;
  }
}