html {
	box-sizing: border-box;
}

*,
::before,
::after {
	box-sizing: inherit;
}

body {
	margin: auto;
	font-family: sans-serif;
	background: #F9F9F9;
	color: grey;
}

a {
  color: #dddddd;
}

  /***********************/
 /*** Navigation Menu ***/
/***********************/

.navbody {
	margin: auto;
	font-family: sans-serif;
	background: #eeeeee;
	color: grey;
  --bb-nav-bg: #eeeeee;
  --bb-nav-text: grey;
  --bb-nav-border: #d9d9d9;
  --bb-nav-panel-border: #e5e5e5;
  --bb-nav-focus: #9ab6ff;
  position: relative;
  z-index: 100000;
}

	
.navbar {
  background-color: var(--bb-nav-bg);
  position: relative;
  z-index: 100001;
  overflow: visible;
}

.navbar::after {
  content: "";
  display: block;
  clear: both;
}

.navbar a {
  float: left;
  font-size: 16px;
  color: var(--bb-nav-text);
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.dropdown {
  float: left;
  position: relative;
  overflow: visible;
}

.dropdown .dropbtn {
  font-size: 16px;  
  border: none;
  outline: none;
  color: var(--bb-nav-text);
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0,0,0,.06);
  touch-action: manipulation;
}

.dropdown .dropbtn i {
  margin-left: 6px;
  transition: transform .16s ease;
}

.navbar a:hover, .dropdown:hover .dropbtn {
  background-color: var(--bb-nav-bg);
  color: var(--bb-nav-text);
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--bb-nav-bg);
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 100002;
  top: 100%;
  left: 0;
}

.dropdown-content a {
  float: none;
  color: var(--bb-nav-text);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  overflow-wrap: anywhere;
}

.dropdown-content a:hover {
  background-color: #ffffff;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown.is-open .dropdown-content,
.dropdown:focus-within .dropdown-content {
  display: block;
}

.dropdown.is-open .dropbtn i,
.dropdown:focus-within .dropbtn i {
  transform: rotate(180deg);
}

.dropdown .dropbtn,
.dropdown-content a,
.bb-nav-toggle {
  min-height: 44px;
}

.dropdown-content a:focus-visible {
  outline: 2px solid var(--bb-nav-focus);
  outline-offset: -2px;
}

.dropdown .dropbtn:focus-visible,
.bb-nav-toggle:focus-visible {
  outline: 2px solid var(--bb-nav-focus);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .dropdown .dropbtn i {
    transition: none;
  }
}

.menuline {
	max-height: 3px;
	margin-top: 0px;
	font-family: sans-serif;
	background: #F39200;
}

  /*********************/
 /*** Standard Kram ***/
/*********************/

.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #eeeeee;
  color: grey;
  text-align: center;
  font-size: x-small;
}

section {
	margin-top: 75px;
	margin-left: 50px;
	margin-right: 50px;
	font-family: sans-serif;
	background: #F9F9F9;
	color: grey;
}

.sectionstart {
	margin-top: 175px;
	font-family: sans-serif;
	background: #F9F9F9;
	color: grey;
}

.wrapper350 {
	width: 350px;
	padding: 20px;
}

  /*************/
 /*** Input ***/
/*************/


input[type=text],
input[type=password],
input[type=date],
select {
  width: 100%;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

input[type=text],
input[type=password] {
  padding: 12px 20px;
}

input[type=date],
select {
  padding: 11px 20px;
}

input[type=submit] {
  width: 100%;
  background-color: #FDDCA2;
  font-size: medium;
  color: #1F2E2E;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}


input[type=submit]:hover {
  background-color: #F39200;
  color: #ffffff;
}

  /***************/
 /*** Columns ***/
/***************/

.column {
  float: left;
  width: 50%;
  padding: 10px;
  height: 300px;
}

.column3 {
  float: left;
  width: 33.33%;
  padding: 10px;
  height: 300px;
}


/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

  /*********************/
 /*** Button Styles ***/
/*********************/


.button1 {  
  width: 100%;
  background-color: #FDDCA2;
  font-size: medium;
  color: #1F2E2E;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.button1:hover {
  background-color: #F39200;
  color: #ffffff;
}

.button2 {  
  width: 20%;
  background-color: #FDDCA2;
  font-size: medium;
  color: #1F2E2E;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.button2:hover {
  background-color: #F39200;
  color: #ffffff;
}

.button3 {  
  width: 15%;
  background-color: #FDDCA2;
  font-size: 14px;
  color: #1F2E2E;
  padding: 12px 6px;
  margin-top: 8px;
  margin-left: 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.button3:hover {
  background-color: #F39200;
  color: #ffffff;
}

.button4 {  
  width: 50%;
  background-color: #FDDCA2;
  font-size: medium;
  color: #1F2E2E;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.button4:hover {
  background-color: #F39200;
  color: #ffffff;
}

.button5 {  
  width: 100%;
  background-color: #FDDCA2;
  font-size: medium;
  color: #1F2E2E;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}



  
.button5:hover {
  background-color: #F39200;
  color: #ffffff;
}

/* Compact select-action button used across JS-rendered tables */
.ButtonSelect{
  width:auto !important;
  min-width:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background-color:#FDDCA2;
  color:#1F2E2E;
  padding:8px 12px;
  margin:0;
  border:none;
  border-radius:8px;
  cursor:pointer;
  font-size:13px;
  line-height:1.2;
  text-decoration:none;
}

.ButtonSelect:hover{
  background-color:#F39200;
  color:#ffffff;
}

/*************/
 /*** Suche ***/
/*************/

.container {
    width: 95%;
    margin-top: 40px;

}

.form-group {
    margin-bottom: 15px;
}

.row-suche {
    position: relative;
    min-height: 1px;
    padding-right: 0px;
    padding-left: 0px;
}


.input-suche {
    width: 83%;
float: left;

}



.input-submit {
    width: 17%;
    float: left;
}

  /************************/
 /*** Angebot Position ***/
/************************/

.poscolumn1 {
  float: left;
  width: 8%;
}
.poscolumn2 {
  float: left;
  width: 8%;
}
.poscolumn3 {
  float: left;
  width: 60%;
}
.poscolumn4 {
  float: left;
  width: 8%;
}
.poscolumn5 {
  float: left;
  width: 8%;
}
.poscolumn6 {
  float: left;
  width: 8%;
}

/* Shared layout utilities */
.nav-logo-wrap {
  float: left;
  width: 3.2em;
  position: relative;
  z-index: 100002;
}

.nav-logo-slot {
  float: left;
}

.nav-logo-img {
  display: block;
  width: 49px;
  height: 45px;
}

.nav-logout-form {
  display: none;
}

.bb-nav-toggle{
  display:none;
}

.rotate {
  animation: bb-rotation 1.5s linear;
}

@keyframes bb-rotation {
  0% { transform: scale(0, 0) rotate(130deg); }
  100% { transform: scale(1, 1) rotate(360deg); }
}

.login-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding: 56px 16px 24px;
}

.login-logo {
  width: min(520px, 90vw);
  height: auto;
}

.login-card {
  width: min(350px, 100%);
}

.login-title {
  margin: 0 0 14px;
  text-align: center;
}

.login-help {
  display: block;
  min-height: 20px;
}

.login-error-text {
  color: #ff0000;
}

.password-notice {
  max-width: 1100px;
  margin: 12px auto 0;
  padding: 0 14px;
}

.password-notice__inner {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  background: rgba(253, 220, 162, 0.35);
}

.password-notice__title {
  font-weight: 800;
}

.password-notice__text {
  opacity: 0.8;
  margin-top: 4px;
}

/* Navigation mobile mode */
@media (max-width: 980px) {
  .navbody {
    padding-bottom: 4px;
  }

  .nav-logo-wrap {
    width: auto;
    float: none;
    display: inline-flex;
    margin: 0 12px;
  }

  .bb-nav-toggle {
    display: none;
    width: calc(100% - 24px);
    margin: 8px 12px 2px;
    padding: 10px 12px;
    border: 1px solid var(--bb-nav-border);
    border-radius: 10px;
    background: #f7f7f7;
    color: #444;
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    min-height: 44px;
    touch-action: manipulation;
  }

  .navbody.bb-nav-ready .bb-nav-toggle {
    display: block;
  }

  .navbody.bb-nav-ready .navbar {
    display: none;
    clear: both;
    padding: 6px 12px 10px;
  }

  .navbody.bb-nav-ready .navbar.is-expanded {
    display: block;
  }

  .navbar a,
  .dropdown {
    float: none;
  }

  .dropdown {
    width: 100%;
    margin: 0 0 8px;
  }

  .dropdown .dropbtn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    border: 1px solid var(--bb-nav-border);
    border-radius: 10px;
    background: #f7f7f7;
    padding: 10px 12px;
  }

  .dropdown-content {
    position: static;
    display: none;
    min-width: 0;
    border: 1px solid var(--bb-nav-panel-border);
    border-radius: 10px;
    box-shadow: none;
    margin-top: 6px;
    overflow: hidden;
  }

  .dropdown-content a {
    display: flex;
    align-items: center;
    padding: 12px 14px;
  }
}

/* Legacy baseline mobile hardening */
@media (max-width: 900px) {
  section {
    margin-left: 12px;
    margin-right: 12px;
    margin-top: 70px;
  }

  .sectionstart {
    margin-top: 120px;
  }

  .wrapper350 {
    width: 100%;
    padding: 14px;
  }

  .column,
  .column3 {
    float: none;
    width: 100%;
    height: auto;
  }

  .input-suche,
  .input-submit {
    float: none;
    width: 100%;
  }

  .button2,
  .button3,
  .button4 {
    width: 100%;
    margin-left: 0;
  }

  .poscolumn1,
  .poscolumn2,
  .poscolumn3,
  .poscolumn4,
  .poscolumn5,
  .poscolumn6 {
    float: none;
    width: 100%;
  }

  .footer {
    position: static;
  }
}
