/*
    Gulmont Styles.css  09.04.2020
*/
:root {
    --hue: 40;
    --background: hsl(var(--hue),87%, 94%);
    --def_text: hsl(var(--hue),10%,10%);
    --but_bg: hsl(var(--hue),43%, 54%);
    --but_text: hsl(var(--hue),50%, 96%);
    --info_bg: hsl(var(--hue),10%,10%);
}
/* Dark theme */
@media (prefers-color-scheme: dark) {
    :root {
        --background: hsl(var(--hue),10%,20%);
        --def_text: hsl(var(--hue),10%,90%);
        --but_bg: hsl(var(--hue),43%, 54%);
        --but_text: hsl(var(--hue),50%, 96%);
        --info_bg: hsl(var(--hue),10%,10%);
    }
}
.logged-in { 
    padding: 2em;
    background-color: burlywood;
}

* {
    margin:0;
    padding:0;
}
/*
button, input, select, textarea {
    border: 1px solid #e1e1e1;

select {
    font-size: 14px!important;
}

#header > .row {
  
    padding-top: 20px;
    border-bottom: 1px solid lightgray;
    border-top: 6px solid rgb(249, 200, 0);   
    -webkit-box-shadow: 2px 2px 13px 0px rgba(211,211,211,1);
    -moz-box-shadow: 2px 2px 13px 0px rgba(211,211,211,1);
    box-shadow: 2px 2px 13px 0px rgba(211,211,211,1);  
 
}

#header .row.logo {
    padding-bottom: 20px;
}
*/ 
h1,h2 { float:left;}
h1 { font-size:20px;}
h2 { font-size:18px;}
.h1, .h2, .h3, h1, h2, h3{margin-top:40px!important;}
form { clear:both}
#header h1 {
    font-size:26px;
    font-weight:bolder;
    letter-spacing:1px;
}

#header h1 span {
    color:rgb(249, 200, 0);
}

#header h1 p {
    font-size:16px;
}

#content {
    padding-top: 20px;
    min-height: 800px;
}

#footer div {
    padding:0;
    margin:0
}

#footer .footer_inner {
    text-align:center;
    background:gray;
    padding-top: 10px;
    width: 100%;
}

fieldset {
    padding: 1em;
    font:80%/1 sans-serif;
}
label {
    float:left;
    min-width: 27%;
    text-align: left!important;
    margin-right: 0.5em;
    padding-top:0.2em;
    text-align:right;
    font-weight:bold;
}
.wrapper {
    background-color: var(--background);
    border-radius: 0.4em;
	box-shadow: 0 0.75em 1em hsl(0deg 0% 0% / 20%);
}

/*fieldset { border:1px solid green }*/
fieldset label {line-height: 26px!important; min-width: 204px;}
legend {
    padding: 0.2em 0.5em;
    /*border:1px solid green;
    color:blue;
    font-size:90%;*/
    text-align:right;
    font-size: 14px!important;
}

.login_panel h2 {
    font-weight:bold;
}

.login_panel div.panel-body {
    text-align:center;
}

.login_panel label {
    float:left;
    margin-left: 4px;
}

.login_panel p.login_info {
    font-size: 11px;
    max-width: 82%;
    text-align: left;
    margin-left: 4px;
}

.btnAction {
    background:rgb(38, 86, 148);
    color:white;
    font-weight:bold;
    font-size:16px;
}
.col-mvglogo { padding-right:0;text-align: center;}
.col-mvghdtext{padding-left:32px;}
@media (max-width: 768px) {
    .col-mvglogo { text-align:left;}

}
.centered {
    text-align: center;
    font-size: 0;
}

.centered > div {
    float: none;
    display: inline-block;
    text-align: left;
    font-size: 13px;
}

button, input[type=text],input[type=password],input[type=submit], select, textarea {
    height: 36px;
    width: 300px;
}
input[type=radio] {
    width: 15px;
    height: 15px;
    margin:10px !important;
}

.frmerror {
    color:red;
}

.panel-title {
    font-weight:bold;
}

.dl-link {
    color: #000;
    text-decoration: underline;    
    cursor:pointer;
}

#frmlogin {
    max-width: 360px;
    margin: 0 auto;    
    padding: 12px;    
}
#frmlogin .btn-submit {
    width: 100%;
}
.login-row {
    text-align: left;
    width: 100%;
}
.login-row input {
    width: 100%;
    margin-left: 4px;
}
.mvcmain { clear:both;padding-bottom:60px;}
.msg_error { width:100%;color:red;margin-top:50px;display: inline;}

.tbldata { width:100%}
.tbldata td,.tbldata th { padding:4px;text-align: left}

.gmproduct_wrap{width:100%;display:block;float:left}
.gmproduct {
    width:300px;
    float:left;
    height:225px;
    text-align:center;
    /*border:1px solid gray;*/
    margin-left:30px;
    padding:4px;
    margin-bottom: 15px;
}
.gmbtnbuy{width:100%;}



.gmready { background: lightgreen;}
.gmbusy { background: red;}
.btndisabled {color:#d4d4d4!important;}

.loading {
    height: 100%;
    z-index: 1;
    background-color: #a57d7d;
    left: 0;
    background: url(busy.gif) no-repeat center #fefefe;
    /* background: url(../img/busy.gif) no-repeat center #fefefe; */
}
/* .admintbl td, .admintbl th {
    border:1px solid #ddd;
    padding:4px;
    font-weight:normal;
    text-align: left;
}
.admintbl th {
    font-weight: bold;
} 
.tblcentered td {
    text-align: center;
} */

.navbar-toggle{float:none!important}
.notice {color: green;}
.green {color: green;}

span.payment_subject {
    font-size: 14px;
}


/* dialog */

#guldialog{
    height:40em;
    min-height:10em!important;
}

.ui-widget-content{
    max-width: 40em!important;
    max-height: 100em!important;
    background-color: var(--info_bg)!important;
    color: var(--but_text)!important;
    text-align: center!important;
    font-size: 1em!important;
    border-radius: 1em!important;
    box-shadow: 0 0.75em 1em hsl(0deg 0% 0% / 20%)!important;
}
.ui-widget-header{
    background-color: var(--info_bg)!important;
    color: var(--but_text)!important;
    border:1px solid var(--info_bg)!important;
    font-size: 1.5em!important;    
}
.ui-widget-header button{
    background-color: var(--info_bg)!important; 
    border: var(--info_bg);   
}
.ui-dialog-titlebar-close{
    background-color: var(--info_bg)!important;
    border: 1px solid var(--info_bg)!important;
}

.ui-dialog-buttonpane .ui-dialog-buttonset {
    width: 50%!important;
    margin-right: 5em!important;
    text-align: center!important;
}

.ui-dialog-buttonpane button {
    margin: 1em!important;
    width: 99%!important;
    background-color: var(--but_bg)!important;
    color: var(--but_text)!important;
    border: var(--but_bg)!important;
    border-radius: 1em!important;
}
#open_settings {
    text-align: center;
    text-decoration: none;
    color: var(--but_text)!important;
}
/* online */

#wrap-gulonline{
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
    overflow-y: auto;
    position: absolute;
    height: 100%;
    top: 2em;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    margin-top: 3em;
    z-index: 99;
}
#gulonline{
    display:none;
    width:100%;
    margin:0;
    height:100%;
    overflow-y:scroll;
}

/* maschinenliste */

#divMachines { 
    padding-top:2em
}
#col_maschine_box{
    margin-bottom: 1em;    
}
#co_maschine{
    box-shadow: 0 0.75em 1em hsl(0deg 0% 0% / 20%);
}
.center { 
    width: 100%;
    padding-bottom: 1em;
    text-align: center;
}
.machine {
    clear:both;
    font-size:16px;
    background:#23bf23;
    padding:1em;   
    border-radius:1em; 
}
.machine.zeit {
    background: #ffff00;
}
.machine.busy {
    background: red;
}
.center img {
    width: 75px;
    height: 75px;
}


/* overview */

.navbar_app {
    margin: 1em;
    display: flex;
    justify-content: space-evenly;
}

.navbar_app a {
    background: var(--but_bg);
    padding: 1em;
    margin: 1em;
    border-radius: 1em;
    font-size: .5em;
    color: var(--but_text);
    text-decoration: none;
    box-shadow: 0 0.75em 1em hsl(0deg 0% 0% / 20%);
}

.navbar_app a:hover {
    background: var(--background);
    color: var(--def_text);
}

/* menü button */

button.imgbtn {
    display: block;
    margin: auto;
    background-repeat: no-repeat;
    background-position: top;
    background-position-y: .5em;
    background-color: var(--but_bg);
    text-align: center;
    color: var(--but_text);
    border: var(--but_bg);
    border-radius: 1em;
    box-shadow: 0 0.75em 1em hsl(0deg 0% 0% / 20%);
}
button.imgbtn:hover {
    display: block;
    margin: auto;
    background-repeat: no-repeat;
    background-position: top;
    background-position-y: .5em;
    text-align: center;
    border-radius: 1em;
    background-color: var(--background);
    color: var(--def_text);
}

/* Techniker button */

button.imgbtn.techniker {
    background-image: url(tk-app-icon-512.png);
    background-size: 5em;
    margin-bottom: 1.5em;
    height: 8em;
    width: 12em; 
    display: block; /* TW 250407 */
}
button.imgbtn.techniker span {
    display:block;
    width: 11em;
    margin-top: 5em;
    font-weight: bold;
    font-size: 1.1em;
}

/* jetzt waschen button */

button.imgbtn.wash {
    background-image: url(wash.png);
    background-size: 5em;
    height: 8em;
    width: 12em; 
}
button.imgbtn.wash span {
    display:block;
    width: 11em;
    margin-top: 5em;
    font-weight: bold;
    font-size: 1.1em;
}

/* guthaben button */

button.imgbtn.credits {
    background-image: url(credits.png);
    background-size: 4em;
    margin-top: 1.5em;
    height: 6.5em;
    width: 10em;
}
button.imgbtn.credits span {
    display:block;
    margin-top: 5.5em;
    font-weight: bold;
    font-size: .8em;
}

/* paypal button */

button.imgbtn.paypal {
    background-image: url(credits.png);
    background-size: 4em;
    margin-top: 1.5em;
    height: 6.5em;
    width: 10em; 
}
button.imgbtn.paypal span {
    display:block;
    margin-top: 5.5em;
    font-weight: bold;
    font-size: .8em;
}

/* App Version */

.app_ver {
    text-align: center;
    font-size: .6em;
    color: var(--def_text);
}

/* ======================
   Homescreen-Hinweis
   ====================== */

   #add_to_home {
    display: none; /* Anfangs ausgeblendet */
    position: absolute; /* Absolut innerhalb des übergeordneten Elements positioniert */
    left: 5%; /* Abstand vom linken Rand */
    bottom: 1em; /* Abstand vom unteren Rand */
    width: 90%; /* Fast volle Breite */
    height: 85%; /* Fast volle Höhe */
    margin: 0 auto; /* Zentriert horizontal */
    padding: 1em; /* Innenabstand */
    z-index: 999999; /* Ganz oben anzeigen */
    background-color: var(--info_bg); /* Hintergrundfarbe aus CSS-Variable */
    color: var(--but_text); /* Textfarbe aus CSS-Variable */
    text-align: center; /* Text zentrieren */
    box-sizing: border-box; /* Padding wird in Breite und Höhe einbezogen */
}

span.to_home_desc {
    font-size: 1em; /* Standard-Schriftgröße */
}

#add_to_home .arrow { 
    position: absolute; /* Absolut innerhalb des übergeordneten Elements positioniert */
    left: 45%; /* Horizontal zentriert */
    bottom: -0.6em; /* Unterhalb des Containers */
    width: 1.3em;
    height: 1.3em;
    background: var(--info_bg); /* Gleiche Farbe wie Container */
    border: 0.1em solid var(--info_bg); /* Umrandung in gleicher Farbe */
    transform: rotate(45deg); /* Pfeil-Dreieck erzeugen */
    -webkit-transform: rotate(45deg); /* Für Safari-Kompatibilität */
}

/*header*/
.header{
    text-align: center;
}
#label_offline_credits_out {
    color: var(--def_text);
    text-align: left;
}

.infotext {
    font-size: 1.2em;
    text-align: center;
    background-color: var(--info_bg);
    border-radius: .5em;
    padding: .8em;
}
.Infotext_Neu {
    color: green;
}
.Infotext_Wie {
    color: orange;
}
.Infotext_Sup {
    color: red;
}
/* PWA-"Installieren"-Button */

.install-button {
    font-size: 16px;
    background-color: #007aff;
    color: white;
    border: none;
    border-radius: 6px;
    margin-top: 1em;
    cursor: pointer;
}

/* zurück button */

button.btnback {
    background-color: var(--but_bg);
    border: var(--but_bg);
    border-radius: 1em;
    display: none;
    height: 2em;
    width: 10em;
    color:var(--but_text);
    font-weight:bold;
    font-size:1em;
}

button.btnback:hover {
    background: var(--background);
    color: var(--def_text);
}

/* TW 10.02.2023 */

.myBtn {
    position: fixed; /* Fixed/sticky position */
    width: 4em;
    height: 2em;
    right: 1em; /* Place the button 3em from the right */
    z-index: 99; /* Make sure it does not overlap */
    outline: none; /* Remove outline */
    background-color: var(--but_bg); /* Set a background color */
    cursor: pointer; /* Add a mouse pointer on hover */
    font-size: 1em; /* Increase font size */
    border: var(--but_bg);
    border-radius: .4em;
    box-shadow: 0 0.75em 1em hsl(0deg 0% 0% / 20%);
  }
  
  .myBtn a {
    text-decoration: none;
    color: var(--but_text); /* Text color */
  }
  .myBtn span {
    text-decoration: none;
    color: var(--but_text); /* Text color */
  }
 
  .myBtn:hover { 
    background-color: var(--background); /* Set a background color */
  }

  .myBtn a:hover {
    text-decoration: none;
    color: var(--def_text); /* Text color */
  }
  .myBtn span:hover {
    text-decoration: none;
    color: var(--def_text); /* Text color */
  }

  #lnkService {
    bottom: 8em; /* Place the button 15em from the top */
  }
  #lnkHelp {
    bottom: 5.5em; /* Place the button 15em from the top */
  }

/* TW 10.02.2023 */

/* logo */

.logo {
    margin-bottom: 2em;
    text-align:right;
}

.logo_btn {
    width: 75px;
    height: 75px;
    background: white;
    border: white;
    border-radius: 8px;
    box-shadow: 0 0.75em 1em hsl(0deg 0% 0% / 20%);
}

.logo img {
    width: 70px;
}

/* Hilfe Seite TW 04.04.2025*/
.help_h1{
    text-align: center;
    float: none;
    padding: 1em;
    margin: 10px;
}

.help_accordion {
    background: #4caf50;
    color: white;
    cursor: pointer;
    margin-top: 1rem;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: background 0.3s;
    padding: revert;
    height: 4em;
  }

  .help_accordion:hover {
    background: #43a047;
  }

  .help_panel {
    background: #fff;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-out;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-bottom: 1rem;
  }

  .help_panel.open {
    padding: 1rem;
    max-height: 500px; /* angepasst bei Bedarf */
  }

  .help_step {
    margin-bottom: 1rem;
  }

  .help_hidden {
    display: none;
  }

  #help_close_btn {
    position: fixed;
    top: 10px;
    right: 10px;
    background: #ff5252;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    z-index: 1000;
    width: 94%;
  }

/* Responsive */
@media (max-width: 768px) {
    /* .navbar {
      max-width: 40%;
    } */
    .machine {
        font-size:10px;
        width: 100%;
    }
    #co_maschine{
        width: 100%;
        height: 100%;
    }
  }
@media (min-width: 768px) {
    .machine {
        font-size:10px;
        width: 100%;
    }
    #co_maschine{
        width: 100%;
        height: 100%;
    }
  }
  @media (min-width: 992px) {
    .machine {
        font-size:10px;
        width: 100%;
    }
    #co_maschine{
        width: 100%;
        height: 100%;
    }
  }
  @media (min-width: 1024px) {
    .machine {
        font-size:10px;
        width: 100%;
    }
    #co_maschine{
        width: 100%;
        height: 100%;
    }
  }
