:root {
 --bs-card-cap-color: #68B84C;
 --bs-gutter-x: 0px !important;
}
body {
	font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
}
select, input[type=text], input[type=email], input[type=date], textarea {
	width: 100%;
	padding: 2.5px !important;
	/*min-width: 200px;*/
}
.sparkling {
	animation: rotate-bg-color 10s infinite; 
}
.square {
    aspect-ratio: 1 / 1;
}
@media (max-width: 767px) {
    html {
        font-size: 14px;
    }
    
    body {
        font-size: 0.875rem; /* Extra klein op mobiel */
    }
}
@keyframes rotate-bg-color {
  0% {background-color: steelblue;}
  10% {background-color: red;}
  20% {background-color: orange;}
  30% {background-color: yellow;}
  40% {background-color: green;}
  50% {background-color: blue;}
  60% {background-color: indigo;}
  70% {background-color: violet;}
  80% {background-color: pink;}
  90% {background-color: brown;}
  100% {background-color: black;}
}
input:read-only {
	background-color: var(--bs-secondary-bg);
}
a, button{
	border: 2px solid var(--bs-first_color);
	border-radius: 5px;
	background-color: transparent;
	color: var(--bs-first_color);
	font-weight: bold;
}
button i {
    pointer-events: none;
}
a.none {
	border: none;
	color: inherit !important;
	font-weight: inherit !important;
	text-decoration: none;
}
.gr_link {
	border: none;
	background-color: none;
	color: var(--bs-first_color);
	font-weight: inherit !important;
	text-decoration: none;
}
option {
  color: black;
}
input[type=checkbox].big, input[type=radio].big {
	height: 3rem;
	width: 3rem;
}
input[type=checkbox].medium, input[type=radio].medium {
	width: 1.5rem;
	height: 1.5rem;
	margin-right: 1rem;
}
input[type=number], input[type=time] {
	max-width: 100px;
	padding: 2.5px;
	text-align: right;
	display: inline-block;
}
.outer { position:relative; }
.inner { position:absolute; top:50%; height:100%; margin-top:-38%; }
.fourty {
	height: 40px;
}
.hm {
	width: calc(100% + 2rem) !important;
	margin-right: -1rem;
	margin-left: -1rem;
}
table {
	width: 100% !important;
}
table:not(.sorttable, .inputs, .fc-timegrid) td, table:not(.sorttable, .inputs, .fc-timegrid) th {
	padding: 0rem 1rem;
}
table .dropdown-menu {
    position: fixed !important;
    z-index: 1050 !important;
}
p {
	margin-top: 1rem;
	margin-bottom: 0rem;
}	
.table-striped > tbody > tr.bg-white > * {
    --bs-table-color-type: initial;
    --bs-table-bg-type: white !important;
    background-color: white !important;
}
.table-striped > tbody > tr.bg-green > * {
    --bs-table-color-type: initial;
    --bs-table-bg-type: var(--bs-first_color) !important;
    background-color: var(--bs-first_color) !important;
}
.table tbody tr.bg-green td:first-child {
    overflow: visible !important;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}
table#index.dataTable thead th:first-child,
table#index.dataTable tbody td:first-child {
    width: 2px !important;
    min-width: 0px !important;
    max-width: 2px !important;
}
.line {
	background-color: var(--bs-first_color);
	height:1px;
}
.npr {
	padding-right: 0px !important;
}
.npl {
	padding-left: 0px !important;
}
.card-header, .card-header2 {
	color: var(--bs-first_color);
	font-size: 1rem;			
	font-weight: bolder; 
}
.card-bordered {
	border-left: 5px solid var(--bs-first_color); padding: 1rem;
}
.is-invalid {
	border: 3px solid red;
}
.tr {
	text-align: right;
}
.tab_head {
	border: 1px solid var(--bs-first_color);
	border-radius: 10px 10px 0px 0px;
	height: 1.5rem;
}
.tab_card {
	padding: 0.8rem;
	border-width: 0px 1px 1px 1px;
	border-style: solid;
	border-color: var(--bs-first_color);
}
.w_tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
  cursor: pointer;
}

.w_tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #ffffff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 150%;
  left: 50%;
  margin-left: -60px;
}

.w_tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: black transparent transparent transparent;
}

.w_tooltip:hover .w_tooltiptext {
  visibility: visible;
}

.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 30px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #4caf50;
}

input:checked + .slider:before {
  transform: translateX(22px);
}
