html {}
body { height: 100vh; }

html { font: normal 18px/1.3 Georgia, "New York CE", utopia, serif; color: #666; -webkit-text-stroke: 1px rgba(0,0,0,0); overflow-y: scroll; }
body { background: #3484d2; color: #333; margin: 0em auto; padding: 0em; }

a { color: #006aeb; padding: 3px 1px; }
a:hover, a:active, a:focus { background-color: #006aeb; text-decoration: none; color: white; }

#flash-top {
    position: absolute;
    z-index: 101;
    top: 50px;
    left: 0;
    right: 0;
    text-align: center;
    line-height: 2.5;
    overflow: hidden;
    -webkit-box-shadow: 0 0 5px black;
    -moz-box-shadow:    0 0 5px black;
    box-shadow:         0 0 5px black;
}

#flash-top.success {
    background: #006400;
    color: #fff;
}

#flash-top.error {
    background: #bd000a;
    color: #fff;
}

#flash-top.info {
    background: #fde073;
}


@-webkit-keyframes slideDown {
    0%, 100% { -webkit-transform: translateY(-150px); }
    10%, 90% { -webkit-transform: translateY(0px); }
}
@-moz-keyframes slideDown {
    0%, 100% { -moz-transform: translateY(-150px); }
    10%, 90% { -moz-transform: translateY(0px); }
}

.cssanimations.csstransforms #flash-top {
    -webkit-transform: translateY(-150px);
    -webkit-animation: slideDown 2.0s 0.5s 1 ease forwards;
    -moz-transform:    translateY(-150px);
    -moz-animation:    slideDown 2.0s 0.5s 1 ease forwards;
}

#close {
    position: absolute;
    right: 10px;
    top: 9px;
    text-indent: -9999px;
    background: url(/css/close.png);
    height: 16px;
    width: 16px;
    cursor: pointer;
}

.cssanimations.csstransforms #close {
    display: none;
}

.buttons {
}

.account-items {
    background-color: #aaa;
    position: relative;
    height: 100vh;
}
#barcode {
    position: absolute;
    bottom: 2em;
    width: 90%;
}
.account-items .bar-reader {
    margin-bottom: 5px;
}
.bar-reader {
    width: 100%;
}
.calcul-header {
    position: absolute;
    top: 0;
    left: 0;
    height: 3em;
    background-color: #d6d6d6;
    color: #000000;
    width: 100%;
}
.buttons-row-delete {
    padding-top: 4em;
}
.calcul-main {
    padding-top: 1em;
    overflow-y: scroll;
    overflow-x: hidden;
    max-height: 70vh;
    margin-right: -10px;
}
.calcul-item {
    padding: 5px;
    margin: -5px;
}
.calcul-item:hover {
    border: 1px solid #006aeb;
}
.calcul-table {
    width: 100%;
}
.calcul-item-remove {
    font-size: 1.2em;
    font-weight: bold;
    width: 5%;
    min-width: 1.2em;
}
.calcul-item-count {
    font-size: 1.2em;
    font-weight: bold;
    width: 5%;
    min-width: 1.5em;
}
.calcul-item-price {
    font-size: 1.2em;
    font-weight: bold;
    min-width: 5em;
    text-align: right;
}
.kasa-header {
    position: absolute;
    top: 0;
    left: 0;
    height: 3em;
    background-color: #d6d6d6;
    color: #000000;
    width: 100%;
}
.kasa-header h2 {
    margin: 0;
    padding-left: 0.25em;
}
.kasa-buttons {
    margin-right: 10px;
}
.btn-customer {
    color: #fff;
    /*background-color: #337ab7;*/
    border-color: #2e6da4;
    width: 100%;
    height: inherit;
}
.btn-kasa {
    margin: 5px;
    width: 100%;
    min-height: 5em;
    white-space: normal;
    font-weight: bold;
}
.btn-category {
    border: 1px solid #cccccc;
    background-color: #aaaaaa;
    max-height: 5em;
    overflow-y: hidden;
}
.btn-category:hover {
    color: #333;
    background-color: #d6d6d6;
    border-color: #aaaaaa;
}
.buttons-row {
    width: 100%;
}
.btn-print-cash {
    width: 49%;
}
.btn-print-card {
    width: 49%;
}
.btn-delete {
    width: 100%;
}

@media (max-width:767px) {
    h1, h2, h3 {
        font-size: 20px;
    }
}

@media screen {
    .printSection {
        display: none;
    }
}

@media print {
    body * {
        visibility:hidden;
    }
    .printSection, .printSection * {
        visibility:visible;
    }
    .printSection {
        margin: 20px 0 0 0;
        position:absolute;
        left:0cm;
        top:0cm;
        font-family: "Arial Narrow";
        font-size: 1.2em;
        line-height: 100%;
        /*text-align: center;*/
        white-space: pre-wrap;
    }
}
.kasa-header-nav {
    margin-left: -15px;
    margin-right: -15px;
}
.navbar {
    min-height: 40px;
}
.navbar-nav>li>a {
    line-height: 15px;
}
@media (min-width: 768px) {
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 15px;
    }
}
.navbar-brand {
    height: 40px;
    padding: 13px 15px;
    font-size: 18px;
    line-height: 15px;
}
.form-group {
    margin-bottom: 0px;
}
.product-name {
    width: 100%;
}
.form-control.composition-name {
    max-width: 60%;
    display: inline-block;
    margin-bottom: 5px;
}
.composition-quantity {
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}
fieldset.compositions {
    padding: 15px 0;
}
.btn.sendasnew {
    margin-left: 5em;
}
#produkty {
    padding: 0 25px;
}
.bottom-buttons {
    padding: 50px 25px 0 25px;
}
.modal-terminal-body {
    text-align: center;
}
.modal-terminal-body p {
    padding: 25px 0;
    margin: 0;
}
.modal-terminal-body a {
    margin: 0 0 25px;
}
.modal-terminal-footer {
    text-align: right;
    padding: 5px;
}
p.success { color: #8fd19e; }
p.warning { color: #ffdf7e; }
p.danger { color: #ed969e; }
p.info { color: #86cfda; }
.modal-terminal-progress p {
    padding: 5px 0;
    margin: 0;
    font-size: 12px;
    color: #686868;
}

.form-horizontal select {
    width: 174px;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    height: auto;
    padding: 2px 0px;
}

.old {
    text-decoration: line-through;
    color: #686868;
}
.repair {
    color: #eea236;
}
.differ {
    color: #eea236;
}
.undef {
    color: #ff0000;
}
.modal-search>.modal-dialog {
    width: 90%;
}
.modal-search>.modal-dialog>.modal-content {
    max-height: 90vh;
    overflow: auto;
}
#loading {
    display: none;
}
.loader {
    border: 3px solid #f3f3f3; /* Light grey */
    border-top: 3px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 34px;
    height: 34px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#flash-top.printSection {
    line-height: normal;
    top: 20px;
    margin-bottom: 20px;
    /*text-align: left;*/
    padding-left: 10px;
    padding-right: 10px;
}

.modal-detail-body {
    padding: 15px;
}
.modal-detail-body .table>tbody>tr>td {
    border-top: none;
    border-bottom: 1px solid #ddd;
}
select.form-control {
    padding: 6px 6px;
}

.slidecontainer {
    width: 100%;
    margin-top: 2rem;
}

.slidecontainer span {
    font-weight: bold;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 25px;
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

.slider:hover {
    opacity: 1;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    background: #4CAF50;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    background: #4CAF50;
    cursor: pointer;
}

table .activeRow {
    background-color: sandybrown;
}