/*
blue: #375faa
#0db68c
#e66060

*/


@font-face {
    font-family: 'vietnam';
    src: url('fonts/BeVietnam-Regular.ttf') format('truetype');
}



body {

    font-family: "vietnam", "Lucida Sans Unicode", sans-serif;
    line-height: 1.4;
    background: #eee;
    padding: 0;
    margin: 0;
    height: 100vh;
    xoverflow: hidden;
    font-size: 16px;
    -moz-osx-font-smoothing: grayscale;
    xtext-shadow: 1px 1px 1px rgba(0,0,0,0.004);
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;

    /*background-image: url(../images/bg/mainBG.jpg);*/
    background-size: cover;
    background-position: center;
    color: rgba(0,0,0,.7);

    -moz-hyphens: auto;
    -o-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto; 
}


* {box-sizing: border-box}






h1, h2, h3 {
    font-family: "vietnam";
    line-height: 1.3;
    margin: 0;
    color: white;
    text-transform: uppercase;
    font-weight: normal;
}

h3 {font-size: 0.90em; padding-top: 2px;
    line-height: 1.1em}

a { 
    color: white; 
    display: block;
    text-decoration: none 
}

p { line-height: 1.4em}

button {
    margin: 6px auto
}

button.block, button.center {margin: 20px auto}


#appContainer {
    width: 100vw;
    max-width: 600px;
    height: 100vh;
    overflow: hidden;
    margin: 0 auto;
}

section{
    margin-top: 0;
    width: 100%;
    height: calc(100vh - 50px); /* 100vh -  banner */
    position: relative;
    background: #eee;
    background-image: url(../images/bg/bg1.png);
    background-size: cover; 
}

section.noBanner {height: 100vh}


footer, .footer {
        position: absolute;
        bottom: 0;
        padding: 0 15px;
        font-size: 90%;
        width: 100%;
        height: 40px;
        line-height: 40px;
        background: #afcbb9;
/*        
    padding: 15px 20px 6px 0; 
    /*      background: #afd0bf;
      background-image: url(../images/bg/bg1.png);
        background-size: cover; 
        background-position: center bottom*/
}


footer a, .footer a {text-decoration: none; color: white}



#banner {position: fixed; bottom: 0px; 
         width: 100vw;
         max-width: 600px;
         height: 50px;
         background: #333; z-index: 9
}

#banner img {
    max-width: 100%;
    max-height: 50px;
    display: block;
    margin: 0 auto
}


.header {
    position: relative;
    width: calc(100% - 100px);
    height: 100px;
    padding: 10px 20px;
    margin-left: 100px;

}

.clock {
    position: absolute;
    left: 20px; 
    top: 49px;
}

.clock img {width: 100px; height: 100px}



.header h2, .header h3 {
    line-height: 1em;
    margin: 0 0 .1em 0;
    text-align: right;
}


.tool {height: 30px; padding-bottom: 6px; text-align: right;}

div.infoBar {
    padding: 4px 30px;
    width: 25px;
    height: 25px;
    background: #bbb;
    text-align: center;
    border-radius: 100px;
    float: right;
    overflow: hidden;
}




.bg2 {
    width: 100%;
    height: calc(100vh - 100px - 90px);
    padding: 60px 20px;
    background-image: url(../images/bg/bg2.png);
    background-size: cover; 
    overflow-y: scroll;
}

section.noBanner .bg2 {height: calc(100vh - 100px);}

.boxButtons {
    /*    position: absolute; 
        bottom: 40px;
        left: 0; 
        right: 0;*/
    text-align: center;
}




button, .btn {
    display: inline-block;
    margin: 10px auto;
    padding: 12px;
    font-weight: normal;
    text-align: center;
    color: white;
    background-color: #0db68c; 
    border: none;
    border-radius: 4px;
    outline: none;
    cursor: pointer   
}

.btnDark {
    min-width: 50%;
    background: #3b3b3b;
    color: white
}

.btnRed {
    background: #e66060
}

.btn.disabled {background: #8c9f93; color: white}



/* section spcific */

.boxSearch form input , .boxSearch form input:focus, .boxSearch select{
    width: 100%;
    background: #3b3b3b;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 12px;
    margin: 6px 0;
    font-size: 1.25em
}

.boxSearch select{ padding: 8px 9px}


.boxSearch input::placeholder {color: #ddd}

.list {
    margin-top: 30px;
    min-height: calc(100vh - 100px - 80px - 70px - 100px - 30px); /* heading, footer, padding bg2 - height of buttons&imprint */

}

.list div {
    background: white; 
    padding: 8px 12px;
    margin: 6px 0;
    box-shadow: 0 2px 2px -1px rgba(0,0,0, .4);
    border-radius: 4px;
    cursor: pointer;
}

#search .list div {
    margin: 0; 
    box-shadow: none;
    border-radius: 0;
}


#splash {
    height: 100vh; padding-top: 15%;
    z-index: 8

}
.splash h1 {    font-size: 2.5em;    text-align: center}
.splash h3 {  text-align: center}

.logo {display:block; width: 50%; margin: 0 auto}

.boxDetail {
    padding: 5px;
     background: white; 
    margin: 20px 0;
    font-weight: bold;
    border-radius: 4px;
}


table.detail td {
    padding: 10px;
    vertical-align: top;
}

table.detail img {height: 35px}

#boxDelay {
    background: white; 
    padding: 15px;
    margin-top: 15px;
    color: #333;
    border-radius: 4px;
}

#boxDelay  h3 {  color: #333; }



#showDelay {

    font-size: 3em;
    text-align: center
}

#login .footer {background: none}

#boxLogin {width: 90%; margin: 50px auto}

.boxIconInput {
    width: 300px;
    height: 50px;
    margin: 10px auto;
    background-color: #e5dede;
    background-repeat: no-repeat;
    background-position: 262px 7px;
    background-size: 26px;
    border-radius: 4px;
}

.iconUser {  background-image: url(../images/icons/user.svg);}
.iconPass {  background-image: url(../images/icons/pass.svg);}

.boxIconInput input {

    width: 250px;
    height: 50px;
    background: white; 
    margin: 0;
    padding: 8px;
    border: none;
    outline: none;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    font-size: 1.5em;
}

#boxLogin input:focus { border: none; }

#boxLogin input::placeholder {
    text-transform: uppercase;
    color: #999
}

.closeable {
    padding: 15px;
    font-size: 14px;
    border-radius: 6px;
    text-align: justify;

    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#f3f0cf+0,d2e4d4+100 */
    background: #f3f0cf; /* Old browsers */
    xbackground: linear-gradient(to right, #f3f0cf 0%,#b9ddc9 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */

}


.closeable .icon{
    margin: 0 12px 12px 0
}

a.icon-info {border:none!important;}

.closeable .icon-info, .closer {
    font-size: 36px; float: left
}

.closeable .icon-cross {float: right; margin: 0px 0px 30px 30px}

.closer {
    font-size: 16px;
    float: right; margin: -10px -10px 20px 20px
}


table {
    text-align: left; width: 100%; border-collapse: collapse;
}

#tblDispo td:first-child, #tblDispo th:first-child {padding-left: 20px}
#tblDispo th {
    background: #111;
    color: #aaa;
    padding: 5px 0
}

table.zeiten th {
    text-align: left;
    padding-left: 10px;
    font-size: 16px
}

textarea {
    box-sizing: border-box;
    background: white;
    width: 100%;
    margin: 0;
}




table.striped tr:nth-child(odd) th, table.striped tr:nth-child(odd) td {background: rgba(0,0,0,.075)}

table.data th {text-align: left}
table.data td {font-size: 18px}

table.borderRight td:last-child {border-right: 1px dotted silver}

hr {border: none;
    height: 1px;
    background: silver
}


th {font-size: 14px; 
    font-weight: bold; 
    text-transform: uppercase;
    text-align: center;

}









/* SIGNATURE  divs */
canvas {
    background: white;
    border: 1px solid silver;
    width: 400px;
    height: 200px
}



/* common divs */



.box {
    padding: 20px;
    margin: 0!important
}

.box1 {
    background: rgba(0,0,0,.1)
}

label {
    font-size: 90%;
    font-weight: bold;
    color: #111;
    text-transform: uppercase;
    display: block;
    margin: 6px 0 0 0
}

#btnSave {
    margin: 12px auto;
    background: #375faa;
    font-size: 26px;
    border: 2px solid white;
    box-shadow: 0 0 5px 4px rgba(55,55,55,.1);
    color: white
}

#btnClear {
    background: #94293a;
}



.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,.8);
    padding: 0%;
    z-index: 9
}


.popup .inner {   
    padding: 20px;
    border-radius: 7px; 
    background: white;
    width: 550px;
    max-width: 95%;
    margin: 10% auto 0 auto;

}


.popup a, .popup button {
    text-align: center
}





.popup h2 {
    margin: 0;
    line-height: 38px;
} 

.popup h2 img {
    float: left; 
    margin-right: 10px;
    height: 32px;
}


.icon-checkmark {color: #6a9e03}

.box2 {
    width: auto;
    background: rgba(255,255,255,.7);
    border: none;
}

.bgDarker {margin: 0 20px 0 0!important; padding: 20px; background: rgba(0,0,0,.5);
           border-top-left-radius: 6px; border-bottom-left-radius: 6px
}


.border {  border: 3px solid rgba(112,122,122,.5);}
.borderOrange {border: 2px solid orange!important}


.icoForm label {
    color:  #005c75; 
    background-color: silver;
    border: 1px solid silver;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
    float: left; 
    margin: 0;
    height: 28px;
    width: 28px;
    font-size: 25px;
    line-height: 30px;
    padding: 4px 4px 4px 7px;
    text-align: center;


}

.icoForm label:before {text-align: center}
.icoForm .icon-lock {padding: 4px 0px 4px 11px}

.icoForm input {
    font-size: 24px;
    padding: 2px 6px;
    height: 32px;
    max-width: calc(100% - 60px);
    margin-bottom: 15px;
    border: 1px solid silver;
    border-left: none;

}

.icoForm button {font-size: 18px }

.boxBesteller {
    background: #bbee88;
}

/* common styles */
.flex {
    display: flex;
    flex-wrap: nowrap
}




.flex1 {flex: 1!important} /**/

.flex .flex2 {flex: 2!important}
.flex .flex3 {flex: 3!important}
.flex .flex4 {flex: 4!important}

.flex>div img {max-width: 100%}



.error {border: 1px solid crimson; color: crimson}

.flex>div {
    flex: 1 1 0;
    margin: 0px auto;
}

.flexEven {flex: 1 1 0}
.flexEven img {max-width: 80%; margin: 5px auto; }

.white {color: rgba(255,255,255,.9)}

.hidden {display: none!important}
.tiny {font-size: 60%}
.small {font-family: Tahoma, Arial Narrow, sans-serif ;font-size: 85%; margin: 2px 0;   color: rgba(0,0,0,.5);}
.disabled {color: rgba(0,0,0,.5)!important}
.big {font-size: 120%}
.huge {font-size: 160%}
.pad {padding: 15px}
.vcenter {display: flex; justify-content: center}
.left {text-align: left}
.right {text-align: right}
.center {text-align: center}
.block {display: block}
.vertical {
    -webkit-transform: rotate(270deg);	
    -moz-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    transform: rotate(270deg);
}



.noBorder, .noBorder td, .noBorder th {border: none!important}


.alert {
    color: crimson;
    font-weight: bold
}
.success {
    color: forestgreen;
    border: 1px solid forestgreen;
    border-radius: 6px
}



.msg {margin: 20px 40px;
      padding: 10px;
      background: #375faa;
      color: white;

}

#header .msg{
    border: none;      
    padding: 10px 20px;
    font-size: 85%;
}

.msgText p {margin: 3px 0}

.loadIndicator {
    display: block;
    width: 40px;
    margin: 0 auto 12px auto;
}

.error {
    background: #da1f3d;
    border: 1px solid #94293a;
}

textarea, input, select {
    font-size: 24px;
    border: 1px solid #999;
    padding: 3px;
    margin: 5px
}

form input, form select {
    width: 100%;
    padding: 6px 10px;
    background: #e1e9e5;
    border-radius: 4px;
    box-shadow: 0 2px 2px -1px rgba(0,0,0, .5);
}

form .flex {height: 50px}

form .flex div:first-child input { width: 99%; box-shadow: 2px 2px 2px -1px rgba(0,0,0, .5);}

:active, :focus-visible {border: none; outline: none}



form input:focus {
    background: white;
    border: 2px solid #0db68c;
    box-shadow: none;
    outline: none
}

.inlineMsg {
    position: absolute;
    left: calc(50% - 140px);
    width: 280px;
    bottom: 56px;
    padding: 10px;
    background: #e66060;
    color: white;
    box-shadow: 1px 1px 3px rgba(0,0,0,.4);
    border-radius: 4px;

}

input.noneditable, textarea.noneditable {
    color: #777;
    background: none;
    border: 1px dotted silver;
    font-size: 18px
}

#onlineStatus {
    width: 200px;
    float: right;
    font-size: 80%;
    border-radius: 5px;
    padding: 3px 8px
}

.offline {color: darkred; border: 1px solid darkred}
.online {color: #41ad1a;  border: 1px solid #41ad1a}


.arrow_box {
    background: #e66060;
}
.arrow_box:after {
    top: 100%;
    left: 50%;
    border: solid transparent;
    content: "";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(230, 96, 96, 0);
    border-top-color: #e66060;
    border-width: 12px;
    margin-left: -12px;
}


::-webkit-scrollbar {
  width: 0px;
}