/*
Theme Name: Clinicom Simple Sidebar
Author: Evert
Description: Simpel thema met Bootstrap 5.3 en een collapsible sidebar-dashboard.
Version: 2.1
Text Domain: Clinicom
\

*/

/* Specifiek voor sidebar, wrapper en content zodat zij scrollbaar worden */

/* Sidebar custom look */
/* === Algemene structuur === */
.sidebar-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sidebar-custom {
	background: #b4d2bf;
	min-height: 100vh;
}
.sidebar-brand-custom {
	background: #008251;
}

.sidebar-nav .menu-item {
  border-radius: 1rem;
  transition: all 0.25s ease;
  font-size: 1rem;
  margin-bottom: 4px;
  position: relative;
  overflow: visible;
}

/* === Links === */
.sidebar-nav .menu-item > a {
  display: flex;
  align-items: center;
  justify-content:;
  padding: 0.75rem 1.25rem;
  color: #2d3a45;
  text-decoration: none;
  border-radius: 1rem;
  font-weight: 500;
  transition: all 0.2s ease;
  background-color: transparent;
}

.sidebar-nav .menu-item > a:hover,
.sidebar-nav .menu-item.current-menu-item > a,
.sidebar-nav .menu-item.current-menu-ancestor > a {
  background-color: #e6f8f0;
  color: #007b4c;
  font-weight: 600;
  box-shadow: 0 1px 6px rgba(0, 123, 76, 0.1);
}

/* === Icons in links (optioneel) === */
.sidebar-nav .menu-item i,
.sidebar-nav .menu-item ._mi {
  font-size: 1.25rem;
  margin-right: 0.75rem;
  color: #7ebfa0;
  min-width: 1.5rem;
  text-align: center;
}

/* === Hover icon kleur */
.sidebar-nav .menu-item > a:hover i,
.sidebar-nav .menu-item.current-menu-item > a i,
.sidebar-nav .menu-item.current-menu-ancestor > a i {
  color: #007b4c;
}

/* === Submenu toggle pijltje === */
.sidebar-nav .menu-item.menu-item-has-children > a::after {
  content: '\f0da'; /* Font Awesome fa-angle-right */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 0.85rem;
  margin-left: auto;
  transition: transform 0.3s ease;
  color: #007b4c99;
}

.sidebar-nav .menu-item.menu-item-has-children.open > a::after,
.sidebar-nav .menu-item.current-menu-ancestor > a::after {
  transform: rotate(90deg);
  color: #007b4c;
}

/* === Submenu zelf === */
.sidebar-nav .sub-menu {
  list-style: none;
  margin: 0 0 0 1rem;
  padding-left: 0.5rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  border-left: 2px solid #e0f4ea;
  display: none;
}

.sidebar-nav .menu-item.menu-item-has-children.open > .sub-menu,
.sidebar-nav .menu-item.current-menu-ancestor > .sub-menu {
  display: block;
}

/* === Submenu links === */
.sidebar-nav .sub-menu .menu-item > a {
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  color: #007b4c;
  background: transparent;
}

.sidebar-nav .sub-menu .menu-item > a:hover,
.sidebar-nav .sub-menu .menu-item.current-menu-item > a {
  background-color: #e7fbee;
  color: #007b4c;
}


/* Voor smooth submenu open/close effect */
.sidebar-nav .menu-item.menu-item-has-children > a {
  cursor: pointer;
}

.topbar {
    height: 97px!important;
	background: #e7fbee!important;
}

.wp-block-file {
    display: flex;
    flex-wrap: wrap; /* optioneel → voorkomt rare breuken */
    gap: 10px; /* optioneel → maakt het mooier */
}

/* Download-button als eerste tonen */
.wp-block-file__button {
    order: -1;
    border-radius: 4px;
    background: #19538d;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 12px;
}
.wp-block-file__button:hover{
	background: #4690da;
    color: #fff;
	padding: 14px;
}
/* Dashicon vóór de tekst plaatsen */
.wp-block-file__button::before {
    font-family: "dashicons";
    content: "\f316"; /* dashicons-download */
    font-size: 18px;
    margin-right: 6px;
    vertical-align: middle;
}

.card-title {
    margin-bottom: 0.75rem;
    font-weight: 600;
    border-bottom: 1px solid #f7eaea;
    padding-bottom: 6px;
}
/* Het gewone tekstlinkje in wp-block-file */
.wp-block-file a:not(.wp-block-file__button) {
    position: relative;
    display: inline-block;
    padding-bottom: 2px; /* klein beetje ruimte */
}
.wp-block-file {
	background:#fcfcf8;
	padding: 6px;
    border: 1px solid #f7eaea;
    display: flex;
    align-items: center; 
    gap: 10px; 
}


