* {
    margin: 0;
    padding: 0;
}
@font-face {
    font-family: rubik;
    src: url(rubik-regular-webfont.woff);
  }
body {
    background: url('../files/media/app/app-bg.png') repeat-x #0100cc;
    font-family: rubik;
    color: #fff;
    line-height: 1.4;
    letter-spacing: 0.4px;
}
h1,h2,h3,h4 {
    padding: 0px;
}
h1 {
    font-size: 300%;
}
a {
    text-decoration: none;
    color: #fff;
}
table {
    width: 100%;
}
table th {
    text-align: left;
    background-color: #ccc;
    color: #666;
}
table th,td {
    padding: 10px;
}
table td {
    border-bottom: solid 1px #ccc;
}
table tr:hover {
    background: #f1f1f1;
}
input {
    margin-bottom: 10px;
    background-color: #f1f1f1;
    border: solid 1px #ccc;
    line-height: 2;
    padding: 6px 10px;
    box-sizing: border-box;
}
.input-small {
    width: 40px;
}
.input-full {
    width: 100%;
}
input:read-only {
    background-color: #fff;
}
button {
    cursor: pointer;
    border: none;
    padding: 15px;
    font-size: 100%;
    color: #fff;
    background-color: #333;
    opacity: 0.8;
    font-weight: bold;
}
legend {
    margin: 20px 0 10px 0;
}

button span {
    margin-left: 10px;
}
button:hover {
    opacity: 1.0;
}
.mini-bt {
    padding: 5px;
    min-width: 28px;
    text-align: center;
    
}
.small-bt {
    padding: 10px;
    min-width: 40px;
    text-align: center;
}
.full-bt {
    width: 100%;
    font-size: 120%;
}
.orange-bg {
    background-color: #e9734d;
    color: #fff;
}
.red-bg {
    background-color: #ff0000;
    color: #fff;
}
.green-bg {
    background-color: #008000;
    color: #fff;
}
.highlight {
    background-color: #ffffc3;
}
img.rounded-ico-mini {
    width: 36px;
    height: auto;
    border-radius: 20px;
}
#fullwrap, #main-content, header, footer {
    width: 100%;
    clear: both;
    overflow: auto;
}
header {
    height: 73.39px;
    overflow: hidden;
}
#mainwrap {
    max-width: 95%;
    min-width: 1300px;
    margin: 0 auto;
}
.row {
    margin: 10px 0;
    overflow: auto;
}
.col-i {
    width: 25%;
}
.col-ii {
    width: 50%;
}
.col-iii {
    width: 75%;
}
.left {
    float: left;
}
.right {
    float: right;
}
.text-left {
    text-align: left;
}
.text-right {
    text-align: right;
}
.text-center {
    text-align: center;
}
header .left-col {
    width: 63%;
}
header .right-col {
    width: 37%;
}
header .app-logo {
    margin-top: 20px;
}
header .app-logo a {
    color:#fff;
}
.app-logo span {
    vertical-align: super;
    margin-left: 20px;
    font-size: x-large;
}
header .header-buttons {
    width: 75%;
}
.header-bt {
    width: 190px;
    background-color: rgba(0, 0, 0, 0.2);
    margin: 8px 5px;
    font-size: small;
}
.header-bt a {
    display: block;
    padding: 10px;
}
.header-bt span {
    vertical-align: top;
    margin-left: 10px;
}
header #search-box {
    background: url("../files/media/app/barcode-ico.png") no-repeat 20px 20px #333;
    padding: 10px 10px 10px 75px;
    margin-left: 280px;
    position: relative;
    
}
header #search-box input {
    font-size: large;
    width: -webkit-fill-available;
}
#search-product {
    margin-right: 5px;
}

#product-search-display {
    position: fixed;
    color:#666;
    background-color: #fff;
    font-size: 90%;
    z-index: 99;
}
#product-search-display table {
    border: solid 1px #ccc;
}

#menu-button {
    padding: 11px 12px 8px 12px;
    background-color: rgba(0, 0, 0, 0.2);
    margin: 8px 5px;

}

#menu-popup .grid {
    display: grid;
    grid-template-columns: repeat(2, 49%);
    gap: 10px;
    justify-content: center;
    margin-bottom: 10px;  
}
#menu-popup .grid-button  {
    text-align: center;
    padding: 30px 0;
    display: block;
    background-color: #e9734d;
}
.content-box {
    position: relative;
    min-height: 485px;
    padding: 20px 20px;
    background-color: #fff;
    color: #333;
    overflow: hidden;
    
}
.content-heading {
    padding-bottom: 10px;
    margin-bottom: 30px;
    overflow: auto;
}
.content-heading h2 {
    font-size: 140%;
}
.content-section {
    margin: 50px 0;
}
.container-box-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#sale-products {
    width: 63%;
}
#sale-product-list {
    overflow: auto;
    height: 330px;
}
.qty-bt {
    text-align: center;
    width: 20px;
    height: 20px;
    padding: 0px;
}
.qty-value {
    margin: 0 10px;
}
.clear-product {
    background-color: #ccc;
}
#sale-products table tr:hover .clear-product {
    background-color: #e9734d;
}
#sale-products-buttons {
    font-size: large;
}
#sale-sumary {
    width: 37%;
}
#sale-sumary .content-box {
    background-color: #ffffc3 !important;
}
#total-payment {
    margin: 45px 0;
    font-size: 350%;

}
#sale-sumary-buttons .grid {
    display: grid;
    grid-template-columns: repeat(2, 49%);
    gap: 10px;
    justify-content: center;
    margin-bottom: 10px;
}
.payment-button {
    font-size: 16px;
    color: #333;
    width: 100%;
    height: 80px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    background-color: #ccc;
    transition: background 0.3s;
}
.active {
    background-color:rgb(38, 89, 255);
    color: white;
}
.payment-method-option {
    display:none;
}
#sale-confirm {
    width: 100%;
}
#sale-products > :first-child, #sale-sumary > :first-child {
    height: 300px;
}
div.dialog-overlay {
	display: none;
	z-index: 999;
	background: rgba(0, 0, 0, 0.5);
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
    overflow: hidden;
	
}
div.dialog-container {
    color: #333;
    background-color: #fff;
	position: relative;
	z-index: 100;
	margin: 6% auto 0 auto;
	box-shadow: -1px 2px 9px #333;
	max-width: 1000px;
    padding: 20px;
    min-height: 250px;
}
.close-dialog {
	background: url(../files/media/app/close.png) no-repeat center  center;
	position: absolute;
	top: -15px;
	right: -15px;
	width: 32px;
	height: 32px;
	cursor: pointer;
}
.upload-file-box {
    color: #333;
    width: 100%;
    padding: 50px 0px;
    text-align: center;
}
.catalog-list-item {
    cursor: pointer;
}
#print-area {
    width: 1px;
    height: 1px;
    visibility: hidden;
    font-size: 9px;
    font-weight: 900;
}

#cupom-produtos * {
    margin: 0;
    padding: 0;
    border: none;
    background-color: inherit;
    color: inherit;
}

@media print {
    body * {
        visibility: hidden;
    }

    /* Torna visível apenas a área de impressão */
    #print-area, #print-area * {
        visibility: visible;
        width: 100%;
        height: auto;
    }

    /* Garante que a área de impressão seja posicionada no início */
    #print-area {
        color: #333;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
    	font-family: monospace;
    	font-size: 12px;
    	line-height: 1.25;
    }
}