/* Header ################################# */


.navbar {
	background-color: white;
	padding: 1vh 2.5vw;
}

.navbar-header {
	width: 100%;
	position: relative;
	height: 3.5vh;
} 

.logo_customer {
    height: 3.5vh;
}

.logo_teamplaner {
	position: absolute;
    height: 3.5vh;
    right: 6.5vh;
	top: 0.25vh;
}

.version {
	position: absolute;
	right: 0px;
	top: 1.5vh;
    font-size: 1.5vh;
}

@media (max-width: 600px) {
	
	.logo_customer {
	    max-width: 50vw;
	    height: unset;
	    max-height: 3.5vh;
	}
	
	.logo_teamplaner {
		position: absolute;
	    height: 2.5vh;
	    right: 5px;
		top: 0.5vh;
	}
	
	.version {
		display: none;
	}
}

/* Navigation ################################# */

a {
	color: #000000;
}

.icon {
	width: 20px;
}

.burgerbutton {
	display: none;
}

.nav a {
	color: #ffffff;
}

/* Hauptnavigation */
.navigation {
	width: 100vw;
	padding: 0vw 2.5vw;
    background-color: var(--farbe1);
    display: flex;
    border: 1px solid #dee2e6;
}

.navigation li {
	padding: 0vw 1vw;
	background-color: var(--farbe1);
}

.navigation li:hover {
	background-color: var(--farbe3);
	
}

/* User-Navigation */
.user-nav {
	position: absolute;
    right: 2.5vw;
}

.user-nav li {
	padding: 0vw 1vw
}

.dropdown-menu {
	padding: 0;
	-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    box-shadow: 0 6px 12px #ffffff;
    font-size: inherit;
}

/* List-Links */


/* Nav-Tabs */ 
.nav-tabs {
	
}

.nav-tabs li {
	padding: 0vw 1vw;
}

.nav-tabs li:hover {
	background-color: var(--farbe3);
}

.activetab {
	background-color: var(--farbe3);
}

.inactiveTab {
	background-color: var(--farbe1);
}


@media (max-width: 600px) {
	.navigation {
		font-size: 3.2vh !important;
		padding-left: 0vw;
	}
	.burgerbutton {
		display: unset;
	}
	#mainmenu {
		display: none;
		position: absolute;
		-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    	box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    	transform: translate3d(0px, 4.5vh, 0px);
    	z-index: 1; /* Darstellung als oberstes */
	}
	
	.user-nav {
	    right: 0vw;
	}
}

/* Content ################################# */

body {
	background-color: var(--farbe2);
}

.content {
	margin-top: 1vw;
	width: 95vw;
    margin-left: 2.5vw;
}

.panel10 {
	float: left;
	width: 10%;
	padding-right: 2%;
}

.panel20 {
	float: left;
	width: 20%;
	padding-right: 4%;
}

.panel30 {
	float: left;
	width: 30%;
	padding-right: 4%;
}

.panel60 {
	float: left;
	width: 60%;
	padding-right: 4%;
}

.panel70 {
	float: left;
	width: 70%;
	padding-right: 4%;
}

.panel80 {
	float: left;
	width: 80%;
	padding-right: 4%;
}

.colorInTable {
	width: 20px;
    height: 20px;
    display: block;
}

@media (max-width: 600px) {
	.panel20 {
		float: left;
		width: 100%;
	}
	
	.panel30 {
		float: left;
		width: 100%;
	}
	
	.panel60 {
		float: left;
		width: 100%;
	}
	
	.panel70 {
		float: left;
		width: 100%;
	}
	
	.panel80 {
		float: left;
		width: 100%;
	}
}

/* Widgets ################################## */

.widget {
	width: 29vw;
	float: left;
	margin-right: 2vw;
	margin-bottom: 2vw;
	border: 2px solid #dee2e6;
	border-radius: 0.5vw;
	background-color: #ffffff;
}

@media (max-width: 600px) {
	
	.widget {
		width: 95vw;
		border-radius: 2.0vw;
	}
	
	.widget a img {
		padding: 2px;
    	border: 2px solid #dee2e6;
    	border-radius: 2.0vw;
    	margin: 5px;
    	width: 40px;
	}

}

.widget_title {
	font-weight: bold;
	padding-left: 5px;
	color: var(--farbe1);
}

.widget_content {
	padding: 1vw;
	padding-bottom: 0.5vw;
}

/* Elements ################################# */

.table {
	width: 100%;
}
.table td, .table th {
	padding: .35rem
}
.table .marked {
	background-color: #fff;
}

.table_details {
	width: 50%;
	max-width: 100%;
}
.table_details td, .table_details th {
	padding: .25rem
}

.table-noborder {
	width: 100%;
	max-width: 100%;
	margin-bottom: 22px
}

.table-noborder>tbody>tr>td, .table-noborder>tbody>tr>th, .table-noborder>tfoot>tr>td, .table-noborder>tfoot>tr>th,
	.table-noborder>thead>tr>td, .table-noborder>thead>tr>th {
	padding: 8px;
	line-height: 1.6;
	vertical-align: top;
	border-top: 0px;
}

.table_separator {
	background-color: white;
}

.table_sum {
	background-color: antiquewhite;
}

.auswertung_summe {
	background-color: antiquewhite;
}

.auswertung_summe2 {
	background-color: lightyellow;
}

.auswertung_summe3 {
	background-color: lightgray;
}

.table_detailrow {
	font-size: small;
	padding: .25rem!important;
}

.btn {
	border-radius: 9999px;
}

button {
	background-color: var(--farbe1);
	color: #ffffff;
}

button:disabled,
button[disabled]{
  background-color: #cccccc;
  color: #666666;
}

button img {
    vertical-align: middle;
}

button span {
    vertical-align: middle;
}

.grey {
	filter: grayscale(1);
}

a:hover {
    text-decoration: none;
}

.buttonInButtonbar {
	float: left; 
	margin-right: 2%;
	margin-bottom: 2%;
}

/* Paginator */
.page-item.active .page-link {
    background-color: var(--farbe1);
    border-color: var(--farbe1);
}

.page-link {
    color: var(--farbe1);
}

/* Formulare ################################# */

label {
	font-weight: 700;
}

.has-error .form-control {
    border-color: #a94442;  /* Felder rot umrandet bei Fehler*/
}

.help-block {
	color: #a94442; /* Roter Hinweis bei Fehler*/
}

/* Drucken ################################# */

@media print {
	.content {
		width: 90%
	}
	.container {
		width: 90%
	}
}

@media print { 
	.pagebreak {
		page-break-before:always;
	} 
}

/* Spezielle Objekte ################################# */

.auftrag_entry {
	width: 100%;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 5px;
    background-color: white;
}

.auftrag_entry_icon {
	display: flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
	border: 1px solid var(--farbe1);
    border-radius: 20px;
    float: left;
    margin-right: 10px;
    margin-top: -2px;
}

.auftrag_edit_icon {
	margin-left: 10px;
	float: right;
}

.auftrag_edit_icon a {
	margin: 0px 3px;
}

.hidden {
	display: none;
}

.hinweis {
	color: red;
}

.image_versandtyp {
	height: 20px;
}

/* Urlaubs-Kalender ################################# */

.calendar {
	width: 100%;
	text-align: center;
	border: 1px solid #ced4da;
    border-radius: .25rem;
    background-color: white;
    border-collapse: separate !important;
}

.calendar th {
	width: 14%;
	border-bottom: 1px solid #ced4da;
}

.calendarCell {
	position:relative;
	padding-left: 15px;
	min-height: 30px;
	height: 11vh;
	border-top: 1px solid #e9ecef;
    border-left: 1px solid #e9ecef;
}

.calendarCellEmpty {
	background-color: #e9ecef;
}

.calendarCellLeft {
	border-left: none;
}

.calendarCellTop {
	border-top: none;
}

.calendarCellFeiertagHalf {
	background: repeating-linear-gradient(
  -45deg,
  #D5F5E3,
  #D5F5E3 10px,
  white 10px,
  white 20px
);
}

.calendarCellFeiertag {
	background-color: #D5F5E3;
}

.calendarDate {
	font-size: xx-small;
	position: absolute;
    left: 0px;
    top: 0px;
}

.calendarEntry {
	border-radius: .15rem;
	padding: 0px 2px;
	font-size: 10px;
	width: 100%;
	border: 1px solid #e9ecef;
}

.calendarEntryHalf {
	width: 50%;
}

/* Dispositions-Kalender ################################# */
.calendar_disposition {
	width: 100%;
    display: grid;
    grid-template-rows: 3em auto;
}

.disp_days {
    display: grid;
    place-content: center;
    text-align: center;
    grid-template-columns: 50px repeat(5, calc((100% - 50px)/5));
    position: sticky;
    top: 3em;
    z-index: 10;
    border-bottom: 1px solid #dadce0;
    font-weight: bold;
}

.disp_day {
    
}

.ueber_content {
    display: grid;
    grid-template-columns: 50px repeat(5, calc((100% - 50px)/5));
    grid-template-rows: repeat(44, 1em);
    background-color: #fff;
}

.disp_content {
    display: grid;
    grid-template-columns: 50px repeat(5, calc((100% - 50px)/5));
    grid-template-rows: repeat(44, 0.7em);
    background-color: #fff;
}

.disp_time {
    grid-column: 1;
    text-align: right;
    font-weight: bold;
    position: relative;
    top: -0.5ex;
    color: #70757a;
    padding-right: 4px;
}

.disp_col {
    border-right: 1px solid #dadce0;
    grid-row: 1/span 44;
    grid-column: span 1;
}

.disp_row {
    grid-column: 2/-1;
}

.disp_row_border {
    grid-column: 2/-1;
    border-bottom: 1px solid #dadce0;
}

.disp_feiertag {
	background-color: #D5F5E3;
	color: #bbb;
}

.disp_urlaub {
	border-radius: 5px;
    padding: 5px;
    font-size: 80%;
}

.disp_event {
    border-radius: 5px;
    padding: 5px;
    font-size: 80%;
}

.disp_event:hover {
  box-shadow:
    0 0 0px 4px #dadce0; 
   width: 100%!important;
   z-index: 1; /* Darstellung als oberstes */
}