
/* Bootstrap 5 Font-Size Reset - Bootstrap 5 verwendet 16px als Standard, wir setzen es auf Bootstrap 4 Standard zurück */
html {
	font-size: 14px;
}

body {
	font-size: 1rem; /* = 14px */
	background-color: #FFFFFF;
}

.rights { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 9px; color: black;}
.login {color:#8e8e8e; font:normal 11px/1.8em "Helvetica Neue", Helvetica, Arial, sans-serif;}

/* Fix dropdown toggle icons - replace Ki font with Unicode chevron */
/* Only for nav-link dropdowns, not button dropdowns */
.dropdown-toggle.nav-link:after {
	content: "\25BC" !important; /* Unicode down arrow */
	font-family: inherit !important;
	font-size: 0.75rem !important;
	vertical-align: middle;
}

.dropdown-toggle.nav-link:before {
	display: none !important;
}

/* Modern Dropdown Styling */
.dropdown-menu {
	border: none !important;
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
	border-radius: 0.5rem !important;
	padding: 0.5rem !important;
	margin-top: 0.5rem !important;
	animation: dropdownFadeIn 0.2s ease-out;
}

@keyframes dropdownFadeIn {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.dropdown-item {
	padding: 0.75rem 1rem !important;
	border-radius: 0.375rem !important;
	transition: all 0.2s ease;
	font-size: 0.95rem;
}

.dropdown-item:hover {
	background-color: #f8f9fa !important;
	color: #3B82F6 !important;
	transform: translateX(5px);
}

.dropdown-item:active {
	background-color: #3B82F6 !important;
	color: #fff !important;
}

.dropdown-divider {
	margin: 0.5rem 0 !important;
	border-top: 1px solid #e9ecef !important;
}

.dropdown-header, .dropdown-item strong {
	font-weight: 600 !important;
	color: #495057 !important;
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Notification Dropdown Styling */
.notification-dropdown {
	width: 400px !important;
	max-height: 500px;
}

.notification-dropdown .nav-tabs {
	border-bottom: 2px solid #e9ecef;
	padding: 0 1rem;
}

.notification-dropdown .nav-tabs .nav-link {
	border: none;
	color: #6c757d;
	padding: 0.75rem 1rem;
	font-weight: 500;
	transition: all 0.2s ease;
}

.notification-dropdown .nav-tabs .nav-link:hover {
	color: #3B82F6;
	border-bottom: 2px solid #3B82F6;
}

.notification-dropdown .nav-tabs .nav-link.active {
	color: #3B82F6;
	border-bottom: 2px solid #3B82F6;
	background: none;
}

.notification-dropdown .badge {
	font-size: 0.7rem;
	padding: 0.25rem 0.5rem;
}

/* User Avatar Dropdown */
.dropdown-menu img {
	margin-bottom: 0.5rem;
}

/* Language Dropdown Styling */
.dropdown-item .flag-icon {
	margin-right: 0.75rem;
	font-size: 1.25rem;
	vertical-align: middle;
}

.dropdown-toggle .flag-icon {
	margin-right: 0.5rem;
	font-size: 1.1rem;
	vertical-align: middle;
}

/* Navbar icon sizing */
.navbar .btn i.fas,
.navbar .btn i.fa {
	font-size: 1.1rem;
}

@media (min-width: 992px) {
	.navbar .btn i.fas,
	.navbar .btn i.fa {
		font-size: 2rem;
	}
}

/* Mobile Navigation Text - nur in mobiler Ansicht sichtbar */
.nav-text {
	font-size: 0.9rem;
	font-weight: 500;
	color: #495057;
	display: inline-block !important;
	margin-left: 0.5rem;
	white-space: nowrap;
}

/* Verstecke Text auf Desktop (lg und größer) */
@media (min-width: 992px) {
	.top-navigation .nav-text {
		display: none !important;
	}
}

/* Responsive spacing für mobile Navigation */
@media (max-width: 991px) {
	.top-navigation a {
		padding: 0.5rem 0.75rem;
	}
	
	.navbar-nav .nav-item {
		border-bottom: 1px solid rgba(0, 0, 0, 0.05);
	}
	
	.navbar-nav .nav-item:last-child {
		border-bottom: none;
	}
}

#session-timeout-dialog .modal-header .close {
	position: absolute;
	right: 25px;
	font-size: 0;
	top: 1.75rem; }
  
#session-timeout-dialog .modal-header .modal-title {
	-webkit-box-flex: 1;
	-ms-flex: 1 auto;
	flex: 1 auto; }

.top-navigation{
	padding-right: 31px;
}

#box-table-a
{
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 15px;
	text-align: left;
	border-collapse: collapse;
}
#box-table-a th
{
	font-size: 15px;
	font-weight: normal;
	padding: 8px;
	border-bottom: 1px solid #fff;
}
#box-table-a td
{
	padding: 15px; 
	border-bottom: 1px solid #fff;
	border-top: 1px solid transparent;
}
hr
{
	border: 0;
	color: #9E9E9E;
	background-color: #9E9E9E;
	height: 1px;
	width: 100%;
	text-align: left;
}
#hr_right
{
	border: 0;
	color: #9E9E9E;
	background-color: #9E9E9E;
	height: 2px;
	width: 100%;
	text-align: left;
}

.container{
    margin-top:20px;
}


/* Lieferadresse Icons mit FontAwesome */
.hover-class,
.hover-class1,
.hover-class-act,
.hover-class1-act,
.delete-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer;
	transition: all 0.3s ease;
	vertical-align: middle !important;
	line-height: 1 !important;
	margin: 0 !important;
	padding: 0 !important;
	width: 45px !important;
	height: 45px !important;
	font-size: 2rem !important;
}

/* Sicherstellen dass die Icons selbst auch identisch ausgerichtet sind */
.hover-class > i,
.hover-class1 > i,
.hover-class-act > i,
.hover-class1-act > i,
.delete-btn > i {
	display: block;
	line-height: 1;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Standard Farbe - grau */
.hover-class,
.hover-class1,
.hover-class > i,
.hover-class1 > i {
	color: #6c757d;
}

/* Delete Button Farbe */
.delete-btn > i {
	color: #dc3545;
}

/* Aktiv Farbe - grün (global) */
.hover-class-act,
.hover-class1-act.global,
.hover-class-act > i,
.hover-class1-act.global > i {
	color: #28a745 !important;
}

/* Aktiv Farbe - blau (individuell) */
.hover-class1-act.individual,
.hover-class1-act.individual > i {
	color: #007bff !important; /* Bootstrap text-primary */
}

/* Hover Effekte */
.hover-class:hover,
.hover-class1:hover,
.hover-class-act:hover,
.hover-class1-act:hover,
.delete-btn:hover {
	transform: scale(1.1);
}

.hover-class:hover,
.hover-class1:hover,
.hover-class:hover > i,
.hover-class1:hover > i {
	color: #495057;
}

.hover-class-act:hover,
.hover-class1-act.global:hover,
.hover-class-act:hover > i,
.hover-class1-act.global:hover > i {
	color: #218838; /* Dunkleres Grün für global hover */
}

.hover-class1-act.individual:hover,
.hover-class1-act.individual:hover > i {
	color: #0056b3; /* Dunkleres Blau für individuell hover */
}

.hover-class-individual {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 45px;
	height: 45px;
	font-size: 1.5rem;
	cursor: pointer;
	transition: all 0.3s ease;
	border: 2px solid #17a2b8;
	border-radius: 0.375rem;
	background-color: #d1ecf1;
	color: #17a2b8;
}

.hover-class-individual:hover {
	transform: scale(1.05);
	box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.15);
}

.hover-class1-act {
height: 30px;
width: 28px;
display: block;
border: none;
background: url("/images/user-small-act.png") no-repeat;
cursor:pointer;
}
.hover-class1-act:hover {
background-position: right;
}
input.largerCheckbox
{
	width: 20px;
	height: 20px;
}
.modal-content {
    margin-top: auto;
    margin-bottom: auto;
    border: none;
}
.language-color, .language-color:hover{
	color: black;
}  

div.clear
{
    clear: both;
}
    div.billing-chooser.disabled div.billing-chooser-item
	{
		zoom: 1;
		filter: alpha(opacity=60);
		opacity: 0.6;
		cursor: default;
	}

	div.billing-chooser div.billing-chooser-item{
		padding: 11px;
		border-radius: 6px;
		cursor: pointer;
		position: relative;
		border: 1px solid #efefef;
		margin-bottom: 10px;
        margin-left: 10px;
        margin-right: 10x;
	}
	
	div.billing-chooser div.billing-chooser-item.selected{
		border: 4px solid #6c757d;
		background: #efefef;
		padding: 8px;
		filter: alpha(opacity=100);
		opacity: 1;
	}
	
		div.billing-chooser div.billing-chooser-item img{
			padding: 0;
		}
		
		div.billing-chooser div.billing-chooser-item span.title{
			display: block;
			margin: 10px 0 5px 0;
			font-weight: bold;
			font-size: 12px;
		}
		
		div.billing-chooser div.billing-chooser-item span.description{
			font-size: 12px;
		}
		
		div.billing-chooser div.billing-chooser-item input{
			position: absolute;
			left: 0;
			top: 0;
			visibility:hidden;
		}
		.pass_show{position: relative} 

		.pass_show .ptxt { 

		color: #f36c01; 

		cursor: pointer; 

		transition: .3s ease all; 

		} 

		.pass_show .ptxt:hover{color: #333333;} 



/* The switch - the box around the slider */
.switch {
	position: relative;
	display: inline-block;
	width: 60px;
	height: 34px;
	float:right;
  }
  
  /* Hide default HTML checkbox */
  .switch input {display:none;}
  
  @media screen and (max-width:1238px)
  {
	  .nav-icon {
		  width: 30px;
	  }
  }
  @media screen and (min-width:1239px)
  {
	  .nav-icon {
		  width: 50px;
	  }
  }

  .notification {
	z-index: 1050;
	width: 50%;
	right: 0;
	position: fixed !important;
	top: 10px;
  }

  div.disabled * {
	opacity: 0.7;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	background: #e9e9e9;
	cursor: not-allowed;
	}

	.img-project {
		max-width: 200px;
	}

	.text-xs {
		font-size: 0.95rem;
	}
	.notification-dropdown .nav-tabs .nav-link {
		margin-right: 5px; /* Gibt den Tabs etwas Raum */
		border: none; /* Entfernt die Standardgrenzen */
	}
	
	.notification-dropdown .nav-tabs .nav-link.active {
		background-color: #007bff; /* Hervorhebung des aktiven Tabs */
		color: white;
	}
	
	.notification-dropdown .nav-tabs .nav-link .badge {
		background-color: white; /* Kontrastfarbe für den Badge im aktiven Tab */
		color: #007bff;
	}
	
	.notification-dropdown .dropdown-item {
		padding: 15px;
		border-bottom: 1px solid #e3e6f0;
		transition: background-color 0.2s ease;
	}
	
	.notification-dropdown .dropdown-item:hover {
		background-color: #f2f2f2;
	}
	
	.notification-dropdown .dropdown-item .message-content {
		display: flex;
		align-items: center;
	}
	
	.notification-dropdown .dropdown-item .message-content .avatar {
		margin-right: 10px;
	}
	
	.notification-dropdown .badge {
		font-size: 0.8em;
		font-weight: normal;
	}
	
	.notification-dropdown .date {
		color: #6c757d;
		font-size: 0.9em;
	}
	
	.notification-dropdown .message-content .text {
		flex-grow: 1;
	}
	
	.notification-dropdown .message-content .text .title {
		font-weight: 500;
	}
	
	.notification-dropdown .message-content .text .subtitle {
		font-size: 0.8em;
		color: #6c757d;
	}
	
	.criteria-list .criteria {
		color: red;
		margin-bottom: 0;
	}
	
	.criteria-list .criteria.valid {
		color: green;
	}
	
	.criteria-list.hidden {
		display: none;
	}

	#projectlist tr td:last-child > div.actionList{
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		grid-column-gap: 80px;
		align-content: center;
		height: 190px;
		max-width: 490px;
		float: right;
	}
	
	@media screen and (max-width: 835px) {
		#projectlist tr td:last-child > div.actionList {
			display: flex;
			flex-direction: row;
			align-content: center;
			flex-wrap: nowrap;
			justify-content: space-between;
			align-items: center;
			height: auto;
			width: 600px;
		}
		.action-btn {
			margin-right: 35px;
		}
		table.dataTable>tbody>tr.child span.dtr-title {
			min-width: 5px !important;
		}
		table.dataTable>tbody>tr.child span.dtr-title::after {
			content: '' !important;
		}
	}

/* DataTables - Horizontale Trennlinien zwischen Zeilen */
table.dataTable tbody tr {
	border-bottom: 1px solid #e9ecef !important;
}

table.dataTable tbody tr:last-child {
	border-bottom: none !important;
}

/* Responsive Table für Auftragsmaske */
#orderList {
	display: block;
	overflow-x: auto;
	white-space: nowrap;
	-webkit-overflow-scrolling: touch;
}

#orderList thead th {
	white-space: normal;
	min-width: 80px;
	padding: 0.5rem !important;
}

#orderList thead th p {
	margin-bottom: 0.25rem;
	font-size: 0.9rem;
}

#orderList tbody td {
	padding: 0.5rem !important;
	vertical-align: middle !important;
}

@media (max-width: 1200px) {
	#orderList {
		font-size: 0.85rem;
	}
	
	#orderList thead th {
		min-width: 70px;
		font-size: 0.8rem;
	}
	
	.hover-class,
	.hover-class1,
	.hover-class-act,
	.hover-class1-act,
	.delete-btn {
		width: 35px !important;
		height: 35px !important;
		font-size: 1.5rem !important;
	}
}

@media (max-width: 768px) {
	#orderList {
		font-size: 0.75rem;
	}
	
	#orderList thead th {
		min-width: 60px;
		padding: 0.3rem !important;
	}
	
	#orderList tbody td {
		padding: 0.3rem !important;
	}
	
	.hover-class,
	.hover-class1,
	.hover-class-act,
	.hover-class1-act,
	.delete-btn {
		width: 30px !important;
		height: 30px !important;
		font-size: 1.2rem !important;
	}
}

	.actionList a:not(:last-child) {
    margin-right: 1.5rem;
}

@media (max-width: 768px) {
    .actionList a:not(:last-child) {
        margin-right: 2rem;
    }
}

    .dropdown-toggle::after {
        display: inline-block !important;
        margin-left: 0.5em !important;
        vertical-align: middle !important;
        content: "▼" !important;
        border: none !important;
        font-size: 0.7em !important;
    }
    
    .dropdown-toggle.language-color::after,
    .dropdown-toggle[data-bs-toggle="dropdown"]::after {
        font-family: "Font Awesome 5 Free" !important;
        font-weight: 900 !important;
        content: "\f107" !important;
        border: none !important;
    }