/***************************************************************************/
/*                          Velometrik Theme
/***************************************************************************/
@import url(../../base/stylesheets/application.css);

@font-face {
  font-family: 'Ruda';
  src: url('../font/Ruda-Regular.ttf') format('truetype');
}

#header h1 {
  font-family: 'Ruda', -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 22px;
}

#top-menu .menu-children li a:hover {
  background: #373d41 !important;
}

#top-menu {
  background: #373d41;
}

#header > h1 {
  padding: 3px 10px 0px 58px;
  min-height: 38px;
}

#header > h1,
#header a,
#header {
	color: #222 !important;
}

#header {
  background-color: #fff;
  background-image: url(../images/logo.png);
  background-size: 45px 43px;
  background-position: 8px 3px;
  background-repeat: no-repeat;
  min-height: 47px;
  box-shadow: 0 4px 8px #999;
  z-index: 1;
}

body.controller-account.action-login #header {
  background-image: none;
}

#quick-search {
  margin: 10px 10px !important;
}

/* Main menu styles */
#main-menu {
	background-color: #f7f7f7;
  margin-top: 8px;
}

#main-menu,
#main-menu a {
  color: #222 !important;
}

#main-menu ul {
  padding: 1px 4px 1px 4px;
}

#main-menu .menu-children {
  background: #373d41;
  padding-right: 8px;
  margin-top: 1px !important;
}

#main-menu li {
  padding: 1px 0 1px 0;
}

#main-menu li > a {
  color: #373d41 !important;
  border-bottom: 2px solid #dddfe0;
}

#main-menu li a:hover {
  border-bottom: 2px solid #78a736;
}

#main-menu li a.selected,
#main-menu li a.selected:hover {
  background: none;
  border-bottom: 2px solid #78a736;
}

/* Plus menu style */
#main-menu li a.new-object {
  background-color: #f7f7f7;
}

#main-menu .menu-children {
  color: #373d41;
  background: #e4e4e4;
  padding-right: 8px;
  box-shadow: 0 0 15px #eee;
}

#main-menu .menu-children li {
  background: transparent;
}

#main-menu .menu-children li:hover,
#main-menu .menu-children li a:hover {
  background: #373d41;
  color: #fff !important;
}

#main-menu .menu-children li:last-child {
  border-bottom: none;
}

#main-menu .menu-children li a,
#main-menu .menu-children li a:hover {
  border-bottom: 0;
  text-shadow: none !important;
}

#content {
  border-bottom: 1px solid #ddd;
}

#main {
  border-top: 1px solid #ededed;
}

/* Login styles */
body.action-login #content {
  background-image: url(../images/login-bg.jpg) !important;
  background-size: cover !important;
  background-position: center !important;
}

#login-form {
  background-image: url(../images/velometrik-logo.svg);
  background-position: center 10px;
  background-repeat: no-repeat;
  background-size: 300px 79px;
  padding-top: 100px;
  box-shadow: 0 0 25px #000 !important;
}

.additionals-footer {
  background-color: #f7f7f7;
  background-image: url(../images/velometrik-logo.svg);
  background-size: 200px 53px;
  background-position: top 10px center;
  background-repeat: no-repeat;
  min-height: 120px;
  padding-top: 60px;
}

.additionals-footer,
.additionals-footer a,
#footer {
  color: #707070;
}

#footer {
  border-top: 5px solid #78a736;
  background-color: #f7f7f7;
  min-height: 22px;
}

.login-additionals {
  background: #fff;
  padding: 10px;
  border-radius: 3px;
  opacity: 0.9;
}

#login-form input#login-submit {
  background: #78a736 !important;
  border: 1px solid #78a736;
}

#login-form input#login-submit:hover {
  background: #6a9b26 !important;
}

#login-form input[type="text"]:focus {
  outline: none;
  box-shadow: 0 0 5px #78a736;
  border: 1px solid #78a736;
}

/* Mobile style colors */
@media all and (max-width: 899px) {
  /* Header background color */
  #header {
    background: #373d41 !important;
    top: 0;
    position: fixed;
  }
  #header,
  #header a.mobile-toggle-button {
    color: #f8f8f8 !important;
  }
}

/* Flyout menu colors */
#wrapper .flyout-menu {
  background-color: #373d41;
  color: #fff;
}

/* Flyout menu headings background */
#wrapper .flyout-menu h3 {
  background-color: #78a736;
}

/* Tabelle issues details */
body.controller-issues .details .list.issues {
  background: #fff !important;
  border: 1px solid #e4e4e4 !important;
}

body.controller-issues .details .list.issues tr:hover {
  background-color: #f1f1f1;
}

/* Fix gravatar display in history */
div.journal h4 img.gravatar {
  margin-left: 0;
}
/* Velometrik Custom Settings */

/* Textarea */
textarea.wiki-edit {
  height:30em;
  }

#sidebarHandler {
    position: absolute;
    float: right;
    top: 50px;
    right: 0;
    margin-top: 50px;
    margin-right: 7px;
    z-index: 11;
    zoom: 2;
}

.queries li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px !important; /* Optional: Abstände für bessere Lesbarkeit */
    border-bottom: 1px solid #ccc; /* Optional: Trennlinie zwischen den Elementen */
}

/* Commit Button fixed */
/* Klasse vom übergeordneten Formular */

.edit_issue:after, .new_note:after, .edit_contact:after, .edit_canned_response:after, .new_issue:after, .edit_project:after, .new_attendance:after {
    content: "";
    display: block;
    position: fixed;
    height: 45px;
    width: 100%;
    background: white;
    bottom: 0px;
    left: 0;
    z-index: 0;
    border-top: 1px solid lightgrey;
}

input[value="OK"], input[value="Speichern"] {
    position: fixed;
    bottom: 10px;
    left: 15px;
    width: 15em;
    z-index: 1;
}
