/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

html {
    overflow-y: scroll;
}

body {
    font-family: 'IBM Plex Sans', serif;
    /*font-family: 'Nunito', serif;*/
    /*font-size: 10px;*/
    font-size: 16px;
    /*background: #F8F8F8;*/
    /* https://www.w3schools.com/colors/colors_picker.asp */
    /*background: rgb(51, 204, 204, 0.4);*/
    background: #eafafa;
}

.table td {
    vertical-align: middle;
}

.noscroll {
    position: fixed;
    left: 0;
    right: 0;
    /*overflow: hidden;*/
    overflow-y: scroll;
    height: 100%;
}

h1.welcome {
    font-size: 3rem;
    font-weight: 300;
    line-height: 1.2em;
    margin: 0.5em 0 0.5em 0;
    text-align: center;
}

.logo {
    margin-top: 3em;
}

form#login {
    padding: 2em;
    border: 1px solid #333333;
}
label {
    margin-bottom: .5rem;
}
.btn, .form-control {
    border-radius: unset;
}

form#login {
    margin-top: 2em;
    font-weight: 200;
}
form#login .errorMessage {
    padding-top: 1em;
    font-weight: 400;
}

.select-css {
    display: inline-block;
    font-size: 16px;
    font-family: sans-serif;
    font-weight: 700;
    color: #444;
    line-height: 1.3;
    padding: .6em 1.4em .5em .8em;
/*    width: 100%;
    max-width: 100%; */
    box-sizing: border-box;
    margin: 0;
    border: 1px solid #aaa;
    box-shadow: 0 1px 0 1px rgba(0,0,0,.04);
    border-radius: 0;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'),
      linear-gradient(to bottom, #ffffff 0%,#e5e5e5 100%);
    background-repeat: no-repeat, repeat;
    background-position: right .7em top 50%, 0 0;
    background-size: .65em auto, 100%;
}
.select-css::-ms-expand {
    display: none;
}
.select-css:hover {
    border-color: #888;
}
.select-css:focus {
    border-color: #aaa;
    box-shadow: 0 0 1px 3px rgba(59, 153, 252, .7);
    box-shadow: 0 0 0 3px -moz-mac-focusring;
    color: #222; 
    outline: none;
}
.select-css option {
    font-weight: 300;
}


.sidebar {
    background: #f2f2f2;
    box-shadow: 0px 0px 15px rgba(0,0,0,0.2);
    /*box-shadow: 6px 0px 15px 0px rgba(0,0,0,0.2);*/
}

.sidebar a {
    font-size: 1.4rem;
    font-weight: 600;
    padding: 0;
    color: #001f3f;
}
.sidebar a, a:visited {
  text-decoration: none;
  position: relative;
  /*color: #069;*/
}
.sidebar a:after, a:visited:after {
  content: '';
  height: 2px;
  position: absolute;
  bottom: -7px;
  left: 0;
  width: 0%;
  background: #069;
  /*transition: 0.5s;*/
}
.sidebar a:hover:after, a:visited:hover:after {
  width: 90%;
}
.sidebar a.block, a:visited.block {
  display: block;
  padding: 0.5em;
}
.sidebar a.block:hover, a:visited.block:hover {
  background: #eee;
}
.sidebar ul.nav {
    /* margin: 1.5em 0 1.5em 0; */
}
.sidebar ul.nav li {
    margin: 0.5em 0 0.5em 0;
}

.sidebar #logo-master {
    margin-top: 1em;
    margin-bottom: 1em;
    max-width: 90%;
}
.sidebar .notice-login {
    margin-top: 1em;
    font-size: 1.3em;
    color: #0074D9;
    line-height: 1.3em;
    max-width: 275px;
}
.sidebar .notice-check {
    margin-top: 0.5em;
    font-size: 1em;
    color: red;
}


div#content {
    padding: 0.7em 0 0 2em;
    max-height: 100%;
}
div#content h1#topic {
    font-size: 4em;
    font-weight: 200;
    margin-bottom: 1.5rem;
}
div#content div#statistics {
    font-size: 1.5em;
    font-weight: 600;
    line-height: 1.5em;
}
div#content div#main {
    display: grid;
    grid-template-rows: min-content;
    background: #f9f9f9;
    height: 100%;
    margin-top: 1.5em;
    padding: 1.5em 1.5em 1.5em 1.5em;
    margin-right: 1em;
    box-shadow: 0px 0px 20px 2px rgba(0,0,0,0.1);
    min-height: 100vh;
}

div#content div#search , div#dateSearch {
    margin: 1em 0 1em 0;
    font-size: 1.3em;
}
div#content #dateSearch #dateSelect {
    text-align: center;
}
#search p , #dateSearch p {
    display: inline-block;
    margin-right: 1em;
}
div#content #search button {
    margin-left: 1em;
    vertical-align: bottom;
}

.day {
    margin-bottom: 2em;
}
label.enddate {
    padding: 0.4em 0.2em 0.4em 0em;
    margin-bottom: 0.7em;
    font-weight: 500;
    font-size: 1.3em;
}
input.enddate {
    font-size: 1.3em;
    text-align: center;
    cursor: pointer;
}
p.finishdate { 
    margin-bottom: 0.7em;
}
p.enddate, p.enddate-monitor {
    min-width: 10em;
    padding: 0.4em 0.2em 0.4em 0.2em;
    margin-bottom: 1em;
    font-weight: 500;
    font-size: 1.3em;
    width: 95%;
}
p.enddate.today {
    background: yellow;
}
p.enddate.monitor {
    font-size: 2em;
}

.order:not(:last-child) {
    margin-bottom: 1em;
}
.order {
    font-size: 1.3em;
}
.order a:hover {
    text-decoration: none;
    color: rgb(0, 123, 255);
}
.order.international {
    border: 2px dotted red;
}
.order p.deleted {
    color: #C0C0C0;
}
.order p.low-priority::before {
    content: "\27F6";
}
.order.international .country {
    color: #000;
}
.order .no {
    background: #f2f2f2;
    padding: 10px 0 10px 7px;
    /*border-bottom: 1px solid red;*/
}
.order .no .short-text {
    color: #000;
    font-weight: 600;
    /*margin-left: 2em;*/
}
.order span.finished {
    background-color: #66ff66;
    padding: 2px 5px 2px 5px;
}
.order p.addendum {
    padding: 0.3em 0 0.3em 60px;
    margin-bottom: 1em;
    max-width: 90%;
    line-height: 1.3em;
}
.order textarea.addendum {
    /*padding: 1em 0 1em 60px;*/
    margin-left: 60px;
    width: 80%;
    margin-bottom: 1em;
    margin-top: 0.5em;
    /*max-width: 90%;*/
    line-height: 1.3em;
}
.order img.edit-order {
    height: 25px;
    vertical-align: text-top;
    display: inline-block;
    margin-left: 5px;
}

.order .positions {
    padding: 0.7em 0 0.5em 0.5em;
    background-color: #FFF;
}
#main .order .position {
    line-height: 2em;
}
.order .position:not(:last-child) {
    /* padding-bottom: 1em; */
}
.order .position .header {
    padding: 4px 0 4px 6px;
}
.order .position .started {
    background-color: #ffffb3;
}
.order .position .finished {
    /*text-decoration: line-through;*/
    background-color: #66ff66;
}
.order .position p.position-addendum {
    /* margin-top: 0.3em; */
    padding-left: 70px;
    font-weight: 300;
    /*font-style: italic;*/
}
.order .position div.position-options {
    margin: 0.5em 0 1em 0;
}
.order .position textarea.position-addendum {
    /* margin-top: 1em; */
    margin-left: 3em;
    min-width: 500px;
    height: 7em;
}
.order .position .addons {
    margin: 0 0 0 3em;
}
.order .position .addons button {
    margin-right: 0.5em;
}
.order .positionQuantity {
    text-align: right;
    min-width: 40px;
    display: inline-block;
}

.editor button.delete {
    margin: 1em 0 0.5em 0;
}
.editor .position .actionSelect {
    margin-left: 3em;
}
.editor .position p.deleted {
    color: #C0C0C0;
}
.editor .position p.finished {
    /* Uncomment if you want it to be striked-trough */
    /*text-decoration: line-through;*/
}


.client .welcome {
    background: #FFF;
    position: fixed;
    top: 0;
    left: 0;
    height: 3.4em;
    padding-left: 15px;
    /*width: 100vw;*/
}
.client .fixed-container {
    position: relative;
    width: 100%;
}
.client .welcome h1 {
    display: inline-block;
    font-size: 2rem;
    font-weight: 200;
    /*margin: 0.5em;*/
    margin: 0.3em 0 0 0.5em;
}
.client .welcome h1 small {
    font-size: 1.5rem;
    font-weight: 200;
}
.client .welcome .logout {
    position: fixed;
    right: 0;
    top: 0;
    /*display: inline-block;*/
    /*margin: 0.9em 1.5em 0 0;*/
    /*float: right;*/
}
.client .welcome .logout img {
    height: 3em;
}
.client .add-stock {
    margin-right: 5em;
    margin-top: 0.4em;
}
.client .add-order {
    margin-right: 5em;
    margin-top: 0.4em;
}

.client .control {
    /*position: fixed;*/
    background: #eafafa;
    top: 3.4em;
    left: 0;
    height: 3em;
    box-shadow: 0px -5px 5px -5px rgba(0,0,0,0.2);
    padding: 1.5em 0 3.2em 2em;
    overflow: auto;
}
.client .control div#dateSearch {
    margin: 0;
}
.client .control .refresh {
    height: 24px;
    margin-left: 1em;
    vertical-align: sub;
}
.client .control .update-info {
    margin-left: 1em;
}

.fade-enter-active, .fade-leave-active {
  transition: opacity 1s;
}
.fade-enter, .fade-leave-to {
  opacity: 0;
}

.client .order-view {
    flex: 1;
    margin-top: 8em;
    /*border-top: 1px solid #DCDCDC;*/
    /*padding-top: 1em;*/
    padding-left: 1em;
}
.client .order-view-monitor {
    margin-top: 1em;
}

.client .outer-container {
    /*height: 450px;*/
    flex: 1;
}
.client .order-container {
    display: flex;
    /*flex-direction: row;*/
    flex-wrap: nowrap;
    height: 100%;
    justify-content: flex-start;
}
.client p.enddate {
    position: sticky;
    top: 6.2em;
    background: rgb(255, 255, 255);
    width: 300px;
}
.client p.enddate-monitor {
    background: rgb(255, 255, 255);
    width: 300px;
}
.client p.enddate.today, .client p.enddate-monitor.today {
    background-color: yellow;
}
.client .orders {
    /*display: flex;*/
    /*flex: 1;*/
    flex-direction: column;
    flex-wrap: wrap;
    /*flex-grow: 5;*/
    /*flex-flow: row wrap;*/
    /*align-items: flex-start;*/
    /*justify-content: flex-start;*/
    /*max-height: 100%;*/
    /*min-width: 100%;*/
    margin-right: 0.7em;
}
.client .order {
    /*color: white;*/
    background-color: #FFFFF9;
    width: 300px;
    padding: 0.4em;
    /* margin-right: 0.7em; */
    /*border: 1px solid #D3D3D3;*/
    border: 1px solid #000000;
    /*line-height: 1.3em;*/
}
.client .order:not(:last-child) {
    margin-bottom: 0.5em;
}
.client .order.finished {
    background-color: #66ff66;
}
.client .order .position-count {
    color: #000;
}
.client .order .position {
    padding: 0;
}
.client .order .position span.stock-positive, .client #editor .position-detail span.stock-positive {
    color: #007bff;
}
.client .order .position span.stock-negative, .client #editor .position-detail span.stock-negative {
    color: #f08080;
}
.client .order .position:not(:last-child) {
    padding-bottom: 0.4em;
}
.client .order .position .workers {
    padding: 7px 0 7px 1.4em;
}
.client .order .user-color {
  /*float: right;*/
  display: inline-block;
  width: 0.7rem;
  height: 1rem;
  margin: 0px 2px 0px 1px;
  border: 1px solid rgba(0, 0, 0, .2);
  /*background: #13b4ff;*/
}
.client .order.international {
    border: 5px dotted red;
}
.client .order.international .country, .client #editor .country {
    color: red;
}
.client .order .position .open {
    color: #000;
    padding-left: 2em;
    text-indent: -2em;
}
.client .order .position .en {
    /*color: red;*/
    /*font-weight: 400;*/
}
.client .order .position .started {
    background-color: #ffffb3;
}
.client .order .position .painted {
    background-color: #e099ff;
    font-weight: 400;
}
.client .order .position .finished {
    background-color: #66ff66;
}
.client .order .position .additionalText {
    /*margin-top: 0.2em;*/
    padding-top: 0.2em;
    /*margin-left: 1.4em;*/
    padding-left: 1.4em;
    color: #000;
    font-weight: 300;
    line-height: 1.15em;
    white-space: pre-line;
}
.client .order .no {
    background: unset;
    padding: 0 0 0.3em 0;
    color: #000;
    text-transform: uppercase;
    font-weight: bold;
    font-style: italic;
}
.client .order .demand {
    padding: 0 0 0.3em 0;
    text-transform: uppercase;
    font-weight: bold;
}
.client .order p.addendum {
    color: #000;
    padding: unset;
    margin: unset;
    max-width: unset;
    line-height: unset;
    /*margin-left: 0.3em;*/
    font-weight: 300;
    padding-bottom: 0.3em;
}
.client .item {
    flex: 4 0 auto;
    /*flex-shrink: 0;*/
    /*margin: 5px;*/
    /*width: 250px;*/
    height: 35px;
}
.client #editor {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    /*overflow-x: hidden;*/
    /*overflow: hidden;*/
    background: #eafafa;
    /*background-color: rgba(255, 255, 255);*/
    z-index: 1050 !important;
}
.client #editor .editor-content {
    height: 100%;
    /*border: 1px solid black;*/
    position: relative;
    overflow-y: scroll;
    /*width: 100%;*/
}
.client #editor .editor-content .all-done {
    margin-left: 1em;
    font-size: 3em;
}
.client #editor .header {
    /*height: 4em;*/
    padding: 0.3em 0.1em 0.4em 28px;
    background: #FFF;
    font-size: 3em;
    font-weight: 200;
}
.client #editor .header small {
    /*margin-left: 1rem;*/
    font-size: 2.5rem;
}
.client #editor .header p.country {
    margin-top: 0.2em;
    font-size: 0.7em;
}
.client #editor .header p.addendum {
    margin-top: 0.3em;
    font-weight: 300;
    font-size: 0.7em;
}

.client #editor .position-container {
    box-shadow: 0px -5px 5px -5px rgba(0,0,0,0.2);
    padding: 1em 1em 1em 1em;
}
.client #editor ul.positions {
    /*margin-top: 1em;*/
    font-size: 1.8em;
}
.client #editor .position-detail {
    padding: 0.5em;
    border: 2px dotted #000;
}
.client #editor .parent {
    border-bottom: 0;
    margin-bottom: 0;
}
.client #editor .parent:last-of-type {
    border-bottom: 2px dotted #000;
}
.client #editor .child {
    border-top: 0;
    border-bottom: 0;
}
.client #editor .child:last-of-type {
    border-bottom: 2px dotted #000;
}
.client #editor .activePosition {
    background-color: aqua;
}
.client #editor .position-detail h2 {
    margin-bottom: 0.4em;
    font-weight: 500;
}
.client #editor .position-detail h2.black {
    color: #FFF;
    background: #000;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-left: -5px;
    padding-left: 5px;
}
.client #editor .position-detail p {
    margin-bottom: 0.3em;
    font-weight: 200;
}
.client #editor .position-detail ul.build-steps {
    background-color: khaki;
    padding: 10px 0 5px 10px;
}
/*.client #editor .position-detail .en {*/
    /*color: red;*/
/*}*/
.client #editor .position-detail .finished {
    text-decoration: line-through;
}
.client #editor .position-detail .addendum {
    line-height: 1.2em;
    white-space: pre;
}
.client #editor .position-detail .worker:not(:last-child) {
    margin-right: 0.2em;
}
.client #editor .position-detail .attention {
    margin-top: 0.3em;
    line-height: 1.2em;
}
.client #editor .position-detail .attention img {
    height: 45px;
    vertical-align: text-bottom;
}
.client #editor .position-detail .batches {
    margin-bottom: 0.5em;
}
.client #editor .position-detail .batches .single-batch {
    margin-bottom: 0.4em;
}
.client #editor .position-detail .batches .single-batch .buttons {
    display: inline-block;
    vertical-align: text-bottom;
}
.client #editor .position-detail .batches .single-batch input {
    width: 20%;
    font-size: 0.8em;
}

.import #result .delivery h2 {
    font-size: 2em;
    padding-bottom: 0.5em;
}
.import #result .delivery .international {
    color: red;
}
.import #result .delivery p, .import #result .delivery ul li {
    padding-bottom: 0.4em;
    font-size: 1.2rem;
}
.import #result .delivery ul li {
    list-style: disc;
    list-style-position: inside;
}
.import #result .delivery ul li p.color {
    padding-left: 2.5em;
    margin-top: 0.2em;
    line-height: 1.25;
    padding-bottom: 0;
}
.import #result .delivery button {
    margin: 0.3em 0 0.3em 0;
}


.print-button {
    margin-left: 1em;
}
.print-type {
    display: none;
}
.speaker-label {
    font-size: 2.5em;
    margin-bottom: 0.5em;
    display: inline-block;
    min-width: 630px;
}
.speaker-label select {
    margin-top: 10px;
}
.speaker-label option:nth-child(even) {
    background: #AAA;
}
.speaker-not-selected {
    font-size: 1.5em;
    font-weight: 300;
}
.protocol {
    /*margin-top: 1.5em;*/
    background-color: #FFF;
    padding: 0.8em;
}
.protocol .speakerType {
    font-size: 2.5em;
    font-weight: 500;
    margin-bottom: 0.5em;
}
.protocol .text-top {
    font-size: 1.5em;
    font-weight: 500;
    color: red;
    border: 1px solid #000;
    padding: 5px;
}
.protocol .values {
    display: block;
    max-width: 480px;
    font-size: 1.2em;
    padding: 5px;
    border-width:  1px;
    border-color: #000;
    border-style: solid;
    border-top: none;
}
.protocol .select-year {
    margin-bottom: 1em;
}
.protocol .batch-values {
    margin-top: 1em;
}

.stock #content {
    margin-top: 4em;
    box-shadow: 0px 5px 3px -5px rgba(0,0,0,0.2);
    border-bottom: 1px solid lightgrey;
}
.stock .speaker-label {
    margin-top: 0.3em;
}
.stock .add-batch, .master-stock .add-batch {
    margin: 0 0.5em 0 1em;
}
.stock #main {
    padding: 1em;
    min-height: 300px;
    background-color: #FFF;
}

.main-content h2 {
    font-size: 2.5em;
    margin-bottom: 0.7em;
}

.master-main-canvas {
    background: #f9f9f9;
    padding: 1.5em 1.5em 1.5em 1.5em;
    box-shadow: 0px 0px 20px 2px rgba(0,0,0,0.1);    
}

.master-stock .stock-view {
    background: #f9f9f9;
    /* height: 100%; */
    /* margin-top: 1.5em; */
    padding: 1.5em 1.5em 1.5em 1.5em;
    /* margin-right: 1em; */
    box-shadow: 0px 0px 20px 2px rgba(0,0,0,0.1);
}
.master-stock h2 {
    font-size: 2.5em;
    margin-bottom: 0.7em;
}

.master-stock .stock-list {
    margin-top: 1em;
}
.master-stock .stock-list li {
    margin-bottom: 0.8em;
}
.master-stock .stock-list h3 {
    font-size: 1.5em;   
}
.master-stock .stock-list p {
    margin-top: 0.5em;
    font-size: 1.2em;
    font-weight: 300;
}
.master-stock p.current-stock, .client.stock p.current-stock {
    font-size: 2em;
    margin-bottom: 1em;
}

.speaker-editor .btn-new-speaker {
    margin-bottom: 1em;
}
.speaker-editor .speaker ul {
    margin: 1em 0;
}
.speaker-editor .speaker ul li {
    margin-bottom: 1em;
}
.speaker-editor .step-editor {
    background-color: #FFF;
    margin-left: -5px;
    padding-left: 10px;
}
.speaker-editor .step-editor h3 {
    font-size: 1.2em;
}
.speaker-editor .step-editor input.build-step {
    width: 80%;
    display: inline-block;
}

.modal-mask {
    position: fixed;
    z-index: 9998;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: table;
    transition: opacity 0.3s ease;
  }
  
  .modal-wrapper {
    display: table-cell;
    vertical-align: middle;
  }
  
  .modal-container {
    width: 400px;
    margin: 0px auto;
    padding: 20px 30px;
    background-color: #fff;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.33);
    transition: all 0.3s ease;
    font-family: Helvetica, Arial, sans-serif;
  }
  
  .m-header h3 {
    margin-top: 0;
    color: #42b983;
    font-size: 0.7em;
  }
  
  .m-body {
    margin: 20px 0;
  }
  
  .m-footer {
      display: inline-block;
  }

  .modal-default-button {
    /*float: right;*/
    /*margin-right: 10px;*/
  }
  .modal-btn-partial-stock {
    margin-left: 10px;
  }
  
  /*
   * The following styles are auto-applied to elements with
   * transition="modal" when their visibility is toggled
   * by Vue.js.
   *
   * You can easily play with the modal transition by editing
   * these styles.
   */
  
  .modal-enter {
    opacity: 0;
  }
  
  .modal-leave-active {
    opacity: 0;
  }
  
  .modal-enter .modal-container,
  .modal-leave-active .modal-container {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }
  

/* Hide elements from printing */
@media print {
    * { margin: 0; padding: 0 }
    @page { size: A4 portrait; margin:0mm; }
    body { margin-top: 1em; }

    div#content {
        padding: 0;
    }

    .print-type {
        display: table-row;
    }

    #navbar, .select-year {
        display: none;
    }

    #content .header {
        display: none;
    }

    /*thead { display: table-header-group; }*/
}