/*
Theme Name: Astra Child
Template: astra
Version: 1.0
*/

.hfe-nav-menu li a{
  text-align: right;
}
.mec-fes-form{
  background-color: #dedede1f;
}

.mec-single-event .widget{
  display:none
}
.mec-fes-form-back-to{
  display: none !important;
}
#mec_read_more_link{
  display: none;
}
.mec-fes-form #insert-media-button{
  display: none !important;
}
.mec-fes-form .mec-meta-box-fields h4, .mec-fes-form .quicktags-toolbar, .mec-fes-form div.mce-toolbar-grp{
  background-color: #1f2468;
  color: #fff !important;
}
.mec-fes-form .mec-meta-box-fields{
  border:none;
}
.mec-fes-form div.mce-statusbar,.mec-fes-form .mce-tinymce.mce-container.mce-panel{
  border:none;
}
.mce-btn button{
  background-color: #fff! important;
}
.mec-fes-form .wp-editor-tabs{
  transform: none !important;
}
#wp-mec_fes_content-editor-container .mce-toolbar .mce-btn-group .mce-btn:not(.mce-menubtn) button:hover .mce-ico{
  color: #e39bb5 !important;
}
.ast-separate-container .ast-article-single:not(.ast-related-post), .woocommerce.ast-separate-container .ast-woocommerce-container, .ast-separate-container .error-404, .ast-separate-container .no-results, .single.ast-separate-container .ast-author-meta, .ast-separate-container .related-posts-title-wrapper, .ast-separate-container .comments-count-wrapper, .ast-box-layout.ast-plain-container .site-content, .ast-padded-layout.ast-plain-container .site-content, .ast-separate-container .ast-archive-description, .ast-separate-container .comments-area .comment-respond, .ast-separate-container .comments-area .ast-comment-list li, .ast-separate-container .comments-area .comments-title{
  background-color: transparent;
}

/* /wp-content/plugins/etablissements-filter/assets/css/style.css?ver=2.1 */
.ef-filter-wrap{font-family:Inter,Arial,'Helvetica Neue',Helvetica,sans-serif;max-width:1100px;margin:0 auto;padding:18px;}
.ef-filter-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center;background:#fff;padding:12px;border-radius:12px;box-shadow:0 2px 8px rgba(31,36,104,0.04);}
.ef-label{color:#1F2468;font-weight:600;margin-right:6px;font-size:14px;}
.ef-select{padding:8px 12px;border:1px solid #e6e6ee;border-radius:10px;background:#fff;min-width:170px;box-shadow:none;}
.ef-checkbox-wrap{display:flex;align-items:center;gap:8px;color:#1F2468;font-size:14px;}
.ef-filter-btn{background:#E49BB5;border:none;padding:10px 20px;border-radius:12px;color:#1F2468;font-weight:800;cursor:pointer;box-shadow:0 6px 18px rgba(0,0,0,0.06);transition:transform .12s ease, filter .12s ease;}
.ef-filter-btn:hover{transform:translateY(-2px);filter:brightness(1.03);}
.ef-results{margin-top:18px;color:#1F2468;}
.ef-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:18px;}
.ef-item{display:block;background:#fff;border-radius:10px;overflow:hidden;text-decoration:none;color:inherit;box-shadow:0 8px 24px rgba(31,36,104,0.04);transition:transform .15s ease, box-shadow .15s ease;}
.ef-item:hover{transform:translateY(-6px);box-shadow:0 18px 36px rgba(31,36,104,0.06);}
.ef-thumb{height:150px;background-size:cover;background-position:center;}
.ef-body{padding:14px;}
.ef-title{margin:0 0 6px 0;font-size:16px;color:#1F2468;font-weight:700;}
.ef-ville{font-size:13px;color:#4b4f6f;margin-bottom:10px;}
.ef-cta{display:inline-block;padding:8px 14px;border-radius:999px;background:#E49BB5;color:#1F2468;font-weight:800;text-decoration:none;border:2px solid transparent;transition:transform .12s ease, box-shadow .12s ease;}
.ef-cta:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(0,0,0,0.06);}
.ef-empty{text-align:center;padding:40px 12px;color:#6b6f8f;}
@media(max-width:720px){.ef-filter-row{flex-direction:column;align-items:stretch}.ef-filter-row .ef-select{width:100%}.ef-filter-row .ef-filter-btn{width:100%}}



.cw-h1{
    padding:40px 0 20px;
}
.cw-ef-grid{
    justify-content: center;align-content: center;  grid-template-columns: repeat(auto-fit, 240px);
}
.cw-container{
    width:100%;
    padding:0 10px;
}
.dataTables_wrapper{
    padding:0;
    width: 100%;
}
.dataTables_length{
    text-align: right !important;
}
.dataTables_filter{
    margin-bottom:20px;
    text-align: right !important;
}
table.dataTable th,
table.dataTable td {
  box-sizing:border-box !important;
}
table.dataTable.no-footer{
    border: none;
}
.entreprises-list h2{
    font-size: 1rem;
    font-weight: bold;
    margin:0
}

.cw-listing-entreprise .ef-thumb{
    position: relative;
}
.cw-listing-entreprise .ef-thumb span{
    position: absolute;
    top: 10px; right:10px;
    color: #fff;
    font-weight: bold;
}
.cw-listing-entreprise .ef-thumb div{
    position: absolute;
    bottom: 10px; right:10px;
    color: #fff;
    font-weight: normal;
}
.cw-listing-entreprise .ef-thumb i{
    width:20px;height:20px;border-radius:50%;display:inline-block;position:absolute;left:10px;top:14px;
}

@media (max-width: 768px) {
  table.entreprises-list thead {
    display: none;
  }

  table.entreprises-list,
  table.entreprises-list tbody,
  table.entreprises-list tr,
  table.entreprises-list td {
    display: block;
    width: 100%;
  }

  table.entreprises-list tr {
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
  }

  table.entreprises-list td {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0.6rem;
    border: none;
    border-bottom: 1px solid #eee;
  }

  table.entreprises-list td:last-child {
    border-bottom: none;
  }

  table.entreprises-list td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #555;
  }
  
  table.entreprises-list td.colcompany {
    text-align:center;
  }
  table.entreprises-list td.colcompany h2{
    width:100%
  }
  table.entreprises-list td.colcompany::before {
    content: none;
  }
}

