* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    outline: none;
}

body {
    background: #f9f9f9 !important;
}

#content {
    max-width: 800px;
    margin: 15px auto 15px auto;
}

div.container {
    width: 100%;
}

.separator {
    margin: 15px;
}

.outer {
    display: table;
    position: absolute;
    height: 100%;
    width: 800px;
}

.middle {
    display: table-cell;
    vertical-align: middle;
}

.inner {
    margin-left: auto;
    margin-right: auto;
}

form.auth-form {
    padding: 25px;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}

form.auth-form img {
    display: block;
    margin: 0 auto 25px;
}

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

form.auth-form button, form.auth-form a {
    margin-bottom: 10px;
}

form.auth-form > div {
    text-align: center;
}

form .form-group + .form-group {
    padding-left: 0px;
}

.modal.alert {
    position: fixed;
    top: 40%;
    height: 90px;
}

.no-padding {
    padding: 0px !important;
}

.no-padding .form-group {
    padding-right: 0px;
    padding-left: 15px !important;
}

.no-padding .form-group.no-padding {
    padding-right: 0px;
    padding-left: 0px !important;
}

.form-group.last-row {
    margin-bottom: 0;
}

.business {
    height: 340px;
}

.business .thumbnail {
    height: 200px;
    width: 100%;
    margin-bottom: 10px;
    position: relative;
}

.business .thumbnail img {
    position: absolute;
    top:0;
    bottom:0;
    left: 0;
    right: 0;
    margin: auto;
    max-height: 90%;
    max-width: 90%;
}

.business .business-edit {
    position: absolute;
    right: 10%;
    top: 50%;
    font-size: 125%;
    z-index: 999;
    opacity: 0;
}

.business:hover .business-edit {
    opacity: 0.5;
}

.business:hover .business-edit:hover {
    opacity: 1;
}

.business .business-remove {
    position: absolute;
    right: 10%;
    top: 0;
    font-size: 175%;
    font-weight: bold;
    z-index: 999;
    opacity: 0;
}

.business:hover .business-remove {
    opacity: 0.5;
}

.business:hover .business-remove:hover {
    opacity: 1;
}

.logo-remove, .logo-remove:hover {
    position: absolute;
    right: 10%;
    top: 0;
    font-size: 175%;
    font-weight: bold;
    z-index: 999;
    opacity: 1;
    color: #000;
    text-decoration: none;
}

.business a, a .glyphicon, .business a:hover {
    text-decoration: none !important;
    color: #000;
}

.trademark {
    font-weight: bold;
    font-size: 125%;
}

.status {
    display: inline-block !important;
    border-radius: 50%;
    background: #c6c6c6;
    width: 10px;
    height: 10px;
    margin-right: 5px;
}

.status.active {
    background: #79eb41;
}

.business .status {
    margin-left: -15px;
}

.business-name {
    font-size: 85%;
}

#add-business a {
    display: table;
}

#add-business div {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    font-size: 125%;
}

#add-business div .glyphicon {
    font-size: 150%;
}

#headerButtons a.headerButton {
    margin-left: 15px;
    font-size: 18px;
}

.dropbox {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    display: table !important;
    width: 100%;
    border: 2px dashed #DDD;
    text-align: center;
    height: 200px;
}

.dropbox-text {
    display: table-cell !important;
    vertical-align: middle;
    font-size: 125%;
    font-weight: bold;
    color: gray;
    padding: 10px;
}

.dragover {
    border: 2px dashed blue;
}

#preview {
    height: 200px;
}

img#logo {
    max-width: 100px;
    max-height: 100px;
    margin-bottom: 15px;
}

#trademark {
    font-weight: bold;
}

#business-info {
    max-width: calc(100% - 110px);
    margin-left: 110px;
}

.receipt {
    text-align: center;
    padding: 15px 0 0 0 !important;
    line-height: 150% !important;
    height: 275px;
    position: relative;
}

.receipt .receipt-amount, .receipt-for-print .receipt-amount {
    margin-top: 8px;
    margin-bottom: 8px;
    font-size: 125%;
    font-weight: bold;
}

.receipt .receipt-state {
    font-size: 100%;
    width: 75%;
    padding: 7px;
    margin-top: 5px;
    margin-bottom: 10px;
    display: block;
}

.receipt .receipt-cashbox {
    margin: 0;
    padding-left: 5px;
    padding-right: 5px;
    position: absolute;
    display: table !important;
    width: 100%;
    height: 50px;
    bottom: 0;
    left: 0;
}

.receipt .receipt-cashbox div {
    display: table-cell !important;
    vertical-align: middle;
}

.receipt .receipt-cancel {
    position: absolute;
    right: -2%;
    top: -2%;
    opacity: 0;
}

.receipt:hover .receipt-cancel {
    opacity: 0.7;
}

.receipt:hover .receipt-cancel:hover {
    opacity: 1;
}

.receipt .receipt-print {
    position: absolute;
    left: 2%;
    top: 2%;
    opacity: 0;
}

.receipt:hover .receipt-print {
    opacity: 0.7;
}

.receipt:hover .receipt-print:hover {
    opacity: 1;
}

.receipt .receipt-details {
    text-decoration: underline;
    cursor: pointer;
}

.details-popup {
    height: 100px !important;
    width: 350px;
    max-width: none;
    border-radius: 5px;
    resize: none;
    position: absolute;
    z-index: 999;
    left: -52.5%;
    padding: 10px;
    display: none;
}

.receipt .receipt-details:hover .details-popup {
    display: block;
}

.receipt-print-wrapper {
    margin: 10px;
}
.receipt-for-print table {
    width: 100%;
}
.receipt-for-print table tr td:nth-child(2) {
    text-align: right;
}
.receipt-organization {
    font-weight: bold;
    font-size: 110%;
}
.receipt-payment {
    font-weight: bold;
}
.receipt-for-print .receipt-state {
    font-weight: bold;
    font-size: 110%;
    margin-bottom: 10px;
}

.cashbox {
    margin-bottom: 0 !important;
    border-radius: 0 !important;
    height: 125px;
    position: relative;
}

.cashbox:hover {
    box-shadow: 0 0 7px;
    z-index: 999;
}

.cashbox-content {
    padding: 5px;
    width: 100%;
    height: 100%;
}

.cashbox a, .cashbox a:hover {
    text-decoration: none;
    color: #000;
}

.cashbox-name {
    font-size: 110%;
    font-weight: bold;
}

.cashbox-cashier {
    position: absolute;
    bottom: 10px;
    width: 100%;
}

.cashbox-edit {
    position: absolute;
    right: 5%;
    bottom: 5%;
    font-size: 125%;
    z-index: 999;
    opacity: 0;
}

.cashbox:hover .cashbox-edit:hover {
    opacity: 1;
}

.cashbox:hover .cashbox-edit {
    opacity: 0.5;
}

#cashbox-add {
    display: table;
    text-align: center;
    font-size: 115%;
}

#cashbox-add .glyphicon {
    font-size: 150%;
}

#cashbox-add div {
    display: table-cell;
    vertical-align: middle;
}

.cashbox-type a, .cashbox-type a:hover {
    text-decoration: none;
    color: #000;
}

.cashbox-type img {
    width: 100%;
}

#play-icon {
    position: absolute;
    top: 50px;
    left: 110px;
    z-index: 999;
    width: 50px;
    opacity: 0.5;
}

#play-icon:hover {
    opacity: 1;
}

.cashbox-type hr {
    margin: 5px;
}

.cashbox-type .type {
    font-size: 110%;
}

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

.popup-background {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: table;
    background-color: rgba(150, 150, 150, 0.5);
    z-index: 999;
}

.video {
    display: table-cell;
    vertical-align: middle;
}

.video video {
    display: block;
    margin: 0 auto;
}

.btn-round {
    padding: 5px 8px !important;
    border-radius: 50% !important;
}

.header {
    font-size: 115%;
    font-weight: bold;
    margin-bottom: 10px;
}

#accounts {
    margin-bottom: 15px;
}

.account {
    margin-bottom: 5px !important;
    position: relative;
}

.no-decoration, .no-decoration:hover {
    text-decoration: none !important;
    color: #000 !important;
}

.remove-account {
    font-size: 150%;
    font-weight: bold;
    position: absolute;
    right: 1%;
    top: 15%;
}

#cashbox-header {
    margin-bottom: 10px;
    font-size: 115%;
    font-weight: bold;
    margin-top: 5px;
}

.receipt-details textarea {
    height: 100px !important;
}

#cashbox-result {
    font-size: 115%;
    font-weight: bold;
    margin-bottom: 10px;
}

#qr-form {
    width: calc(100% - 200px);
}

#qr-form .form-group {
    padding-left: 0;
}

.qr-downloads {
    display: table-cell;
    vertical-align: middle;
}

.qr-downloads-content {
    margin: 0 auto;
    width: 800px;
}

.qr-downloads-content img {
    margin-bottom: 10px;
}

.dynamicQR {
    display: table-cell;
    vertical-align: middle;
}

.dynamicQR-content {
    margin: 0 auto;
    width: 400px;
}

#landscape img {
    margin-top: 82px;
}

.user {
    margin-bottom: 0 !important;
    border-radius: 0 !important;
    position: relative !important;
    display: table !important;
    height: 120px;
}

.user-content {
    padding: 5px;
    display: table-cell;
    vertical-align: middle;
}

.user-name {
    font-weight: bold;
}

.user-phone {
    font-size: 85%;
}

#user-add {
    font-size: 115%;
}

.user-remove {
    font-size: 150%;
    position: absolute;
    top: 0;
    right: 3%;
    font-weight: bold;
}

.cashbox-remove {
    font-size: 175%;
    position: absolute;
    top: 0;
    right: 3%;
    font-weight: bold;
    opacity: 0;
}

.cashbox:hover .cashbox-remove {
    opacity: 0.5;
}

.cashbox:hover .cashbox-remove:hover {
    opacity: 1;
}

.confirm-window {
    margin-bottom: 0 !important;
}

.confirm-text {
    font-size: 105%;
    margin-bottom: 15px;
}

#dynamicQR {
    width: 300px;
    height: 300px;
}

.success {
    color: green;
}

.failure {
    color: red;
}

.progress {
    display: table-cell;
    vertical-align: middle;
}

.progress-content div {
    width: 250px;
}

.document-remove, .document-remove:hover {
    position: absolute;
    right: 15%;
    top: 0;
    font-size: 175%;
    font-weight: bold;
    z-index: 999;
    opacity: 1;
    color: #000;
    text-decoration: none;
}

.passport-remove, .passport-remove:hover {
    position: absolute;
    right: 17%;
    top: 5%;
    font-size: 175%;
    font-weight: bold;
    z-index: 999;
    opacity: 1;
    color: #000;
    text-decoration: none;
}

.result {
    margin-top: 0;
}

.add-recipient {
    position: relative;
    top: -8px;
}

.remove-recipient {
    position: relative;
    top: 8px;
}

#headerButtons .dropdown {
    display: inline-block;
}

#headerButtons .dropdown-menu {
    width: 350px;
}

.scrollable-menu {
    height: auto;
    max-height: 400px;
    overflow-x: hidden;
}

.scrollable-menu .first {
    margin-top: 30px;
}

#headerButtons .alert {
    margin-top: 5px;
    margin-bottom: 0;
    border: 1px solid lightgrey;
    position: relative;
    width: 96%;
}

#headerButtons .alert h5 {
    margin-top: 5px;
    margin-bottom: 5px;
}

.dropdown-menu .delete-all {
    background-color: #fff;
    z-index: 9999;
    position: absolute;
    top: 5px;
    width: 100%;
    height: 30px;
}

.dropdown-menu .delete-all a {
    font-size: 115%;
    color: #000;
}

.alert .time {
    position: relative;
    right: -20px;
}

.badge {
    margin-top: -7px;
}

.angular-google-map-container {
    height: 400px;
}

.total {
    padding: 15px;
}

.total-name {
    margin-top: 10px;
    margin-bottom: 10px;
    font-weight: bold;
}

.text-center ul.nav {
    display: inline-block;
}

.table {
    margin-bottom: 0 !important;
}
.table td {
    vertical-align: middle !important;
}
td .glyphicon {
    font-size: 125%;
}
td.last {
    width: 1px;
    white-space: nowrap;
    padding: 15px !important;
}

td input {
    width: 100%;
    border: none;
    border-radius: 5px;
    padding: 10px;
}
td input:hover {
    border: 1px solid lightgrey;
    padding: 9px;
}
td input:focus {
    border: 1px solid #377BB5;
    padding: 9px;
}

#category-field {
    display: inline-block !important;
    width: 76%;
    margin-right: 5px;
    vertical-align: middle;
}

#products-panel .form-group {
    margin-bottom: 0 !important;
}

#search {
    border-radius: 15px;
}

.table-pointer tr {
    cursor: pointer;
}
.table-pointer tr.selected, .table-pointer tr.selected:hover {
    cursor: pointer;
    background-color: #377BB5;
    color: #fff;
}

.product-form {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    border-left: 1px solid #666666 !important;
    background-color: #F9F9F9;
    width: 400px;
    right: -450px;
    padding: 25px;
    -webkit-transition: right 0.5s ease-in-out;
    -moz-transition: right 0.5s ease-in-out;
    -o-transition: right 0.5s ease-in-out;
    transition: right 0.5s ease-in-out;
}
.product-form.active {
    -webkit-transition: right 0.5s ease-in-out;
    -moz-transition: right 0.5s ease-in-out;
    -o-transition: right 0.5s ease-in-out;
    transition: right 0.5s ease-in-out;
    right: 0;
}
.product-form #buttons {
    position: absolute;
    width: calc(100% - 50px);
    bottom: 15px;
}
.product-form textarea {
    resize: none;
    height: 150px !important;
}

.product-form #price {
    display: inline-block;
    vertical-align: middle;
    width: 224px;
}
.product-form #separator {
    font-size: 20px;
    vertical-align: middle;
}
.product-form #measure {
    display: inline-block;
    width: 110px;
}

.product-pic {
    position: relative;
    margin-bottom: 25px;
}

.product-pic .dropbox {
    background-color: #fff;
    width: 250px;
    height: 250px;
}

.pic-remove, .pic-remove:hover {
    position: absolute;
    right: 18%;
    top: 0;
    font-size: 175%;
    font-weight: bold;
    z-index: 999;
    opacity: 1;
    color: #000;
    text-decoration: none;
}

.csv-export {
    max-width: 35px;
}
