/*
-----------------------------------------------
Stechuhr - Bulma CSS Version
Author: Umgestellt auf Bulma CSS Framework
Version: 1.0
----------------------------------------------- */

/* Bulma CSS Import */
@import "https://cdn.jsdelivr.net/npm/bulma@0.9.4/css/bulma.min.css";

/* Anpassungen und benutzerdefinierte Stile */
html, body {
  font-family: 'Roboto', Verdana, sans-serif;
  background-color: #a0d2eb;
  min-height: 100vh;
}

.table tr.is-selected {
  background-color: #8ECAE6 !important;
  color: #000 !important;
}

.title.is-4.table_bottom {
  margin-bottom: 2rem;
}

.title.is-5.mt-4.table_bottom,
.title.is-5.mt-5.table_bottom {
  margin-bottom: 1rem;
}

/* Desktop-Logo (Standard) */
.navbar-brand img.desktop-logo {
  display: block;
}

.navbar-brand img.mobile-logo {
  display: none;
}

/* Mobile-Logo (für Bildschirme kleiner als 768px) */
@media screen and (max-width: 768px) {
  .navbar-brand img.desktop-logo {
    display: none;
  }
  
  .navbar-brand img.mobile-logo {
    display: block;
    max-height: 128px; /* Passe die Höhe nach Bedarf an */
    width: auto;
  }
}

/* Header-Anpassungen */
.navbar {
  background-color: #023047; /* Bulma Türkis */
  box-shadow: 0 2px 3px rgba(10, 10, 10, 0.1);
}

.navbar-brand .navbar-item {
  font-weight: bold;
  max-height: max-content;
  color: white;
}

.form-color {
  background-color: #8ECAE6;
}

.navbar-item {
  color: white !important;
}

.section {
  padding: 0 !important;
}

/* Überschreiben der Bulma-Standardregel für Bilder in der Navbar */
.navbar-item img {
  max-height: none;
}

.navbar-subtitle {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.columns {
  padding: 0;
}

.tabs {
  background-color: #219EBC;
}

/* Content-Bereich */
.main-content {
  padding: 2rem 1.5rem;
  background-color: #e5eaf5;
  border-radius: 6px;
  box-shadow: 0 2px 3px rgba(10, 10, 10, 0.1);
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Footer-Anpassungen */
.footer {
  padding: 1.5rem;
  background-color: #219EBC;
  text-align: center;
  margin-top: 2rem;
}

/* Stechuhr-spezifische Stile */
.punched-in {
  background-color: rgba(0, 209, 178, 0.2);
  border: 1px solid rgba(0, 209, 178, 0.5);
}

.not-punched-in {
  background-color: rgba(241, 70, 104, 0.2);
  border: 1px solid rgba(241, 70, 104, 0.5);
}

.punched-out {
  background-color: rgba(255, 221, 87, 0.2);
  border: 1px solid rgba(255, 221, 87, 0.5);
}

/* Tabellen-Anpassungen */
.punchclock_week {
  width: 100%;
}

.punchclock_week th {
  background-color: #f5f5f5;
}

.punchclock_week .odd {
  background-color: #fafafa;
}

.punchclock_week .even {
  background-color: #fff;
}



/* Timepicker-Anpassungen */
.ui-timepicker-wrapper {
  width: 8em !important;
}

/* Responsive Anpassungen */
@media screen and (max-width: 768px) {
  #managr {
    width: 95%;
  }
  
  .punchclock_week {
    font-size: 0.9rem;
  }
}

/* IE6 Hinweis (beibehalten) */
.ie6 #managr, #ie6hint {
  display: none;
}

#ie6hint {
  width: 501px;
  height: 404px;
  margin: 0 auto;
  background: url(/assets/images/ie.png);
}

.ie6 #ie6hint {
  display: block !important;
  position: relative;
}

.ie6 #ie6hint h1 {
  padding-top: 45px;
  padding-left: 45px;
  padding-bottom: 25px;
  font-size: 24px;
  color: #FFF;
  font-weight: normal;
  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}

.ie6 #ie6hint p {
  color: #CCC;
  padding-left: 45px;
}

.ie6 #ie6hint ul {
  padding: 10px 45px;
  font-size: 14px;
  font-weight: bold;
}

.ie6 #ie6hint ul a, .ie6 #ie6hint .copyright a {
  color: #CCC;
  text-decoration: underline;
}

.ie6 #ie6hint ul a:hover, .ie6 #ie6hint .copyright a:hover {
  text-decoration: none;
}

.ie6 #ie6hint .copyright {
  color: #CCC;
  position: absolute;
  bottom: 40px;
}