body {
    font-family: sans-serif;
}

h3 {
    color: #f1f1f1;
    margin-top: 0px;
}

@media screen and (min-width: 550px) {
	#top-nav-m {
		display: none;
    }
    #top-nav {
		font-size: 20px;
		display: inline-block;
		width: auto;
	}
	
	.menu-item {
		width: 60px;
	}
	
	.product-search-box {
		font-size: 15px;
	}
}

@media screen and (max-width: 549px) {
    #top-nav-m {
		display: block;
    }
    
    #top-nav {
		font-size: 20px;
		display: block;
		width: 100px;
		text-align: center;
		position: absolute;
		background-color: #38407cd4;
		height: 100%;
		padding-top: 20px;
		line-height: 2.6;
		left: -100px;
		transition: left 500ms;
	}
	
	.menu-item {
		width: 60px;
	}
	
	.product-search-box {
		font-size: 12px;
	}
}

@media screen and (min-width: 730px) {
	.pos-brand {
		display: inline-block;
		float: right;
		padding-right: 0px;
		font-size: 1.1em;
		color: #686b75;
		font-weight: bold;
		margin-top: 10px;
	}
	
	.pos-cart {
		display: inline-block;
		position: relative;
		float: right;
		width: 30%;
		min-height: 600px;
		background: #ffffff;
		border: 2px solid #f7f7f7;
		padding: 10px;
	}
	
	/*Sliding Tabs*/
	.tab {
		display: none;
		width: 65%;
	}
	
	.toggle-cart { display: none;}
}

@media screen and (max-width: 729px) {
	.pos-brand {
		display: none;
	}
	
	.pos-cart {
		display: block;
		position: relative;
		width: 95%;
		min-height: 600px;
		background: #ffffff;
		border: 2px solid #f7f7f7;
		padding: 10px;
		margin-top: 10px;
	}
	
	/*Sliding Tabs*/
	.tab {
		display: none;
		width: 95%;
	}
	
	.toggle-cart { display: block;}
}

/* flash alerts */
.flash-alert {
    color: #353216;
    background-color: #FFEB3B;
    border: 2px solid #bdae29;
    padding: 7px;
    border-radius: 2px;
    min-width: 200px;
    text-align: center;
    position: absolute;
    overflow: hidden;
}

.sync-alert {
    color: #f1f1f1;
    margin-left: 5px;
    cursor: pointer;
}

/* login / register / reset pwd */
.floatingLogo {
    width: 220px;
    height: auto;
    padding: 20px;
    margin: auto;
    margin-top: 100px;
    text-align: center;
}

.floatingLogo img {
    width: 100%;
}

.floatingBox {
    background-color: #948a8b;
    width: 250px;
    height: auto;
    border: 0px solid #999;
    border-radius: 5px;
    padding: 20px;
    margin: auto;
    margin-bottom: 100px;
}

.floatingBox a {
    cursor: pointer;
    font-weight: bold;
}

.floatingBox label {
    font-weight: bold;
}

.floatingError {
    font-weight: bold;
    font-size: 0.8em;
}

.floatingBottom {
    text-align: right;
}

/*Modal Artesanal*/
.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1400;
    background-color: #000000;
    opacity: 0.5;
    filter: alpha(opacity=50);
    display: none;
}

.modal {
    text-align: center;
    z-index: 1500;
    overflow: auto;
    display: none;
    position: absolute;
    top: 50px;
    left: 20px;
    max-width: 500px;
    /*transform: translate(-50%, -50%);*/
    outline-color: transparent;
}

.modal-dialog {
    position: relative;
    display: inline-block;
    text-align: center;
    width: 100%;
    height: auto;
}

.modal-content {
    position: relative;
    background-color: #ffffff;
    border: 1px solid #999999;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    outline: none;
    -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    background-clip: padding-box;
}

.modal-header {
    min-height: 18px;
    padding: 10px;
    border-bottom: 1px solid #e5e5e5;
    text-align: left;
}

.modal-header .close {
    float: right;
}

.modal-title {
    margin: 0;
    display: inline-block;
    border-left: 1px solid #e5e5e5;
    padding-left: 10px;
    font-size: 1.1em;
    color: #333;
    font-weight: bold;
    margin-left: 10px;
}

.modal-body {
    position: relative;
    padding: 20px;
    text-align: left;
    min-height: 300px;
    line-height: 1.5em;
}

.modal-footer {
    padding: 19px 20px 20px;
    margin-top: 15px;
    text-align: right;
    border-top: 1px solid #e5e5e5;
}

.modal-grid-third {
    width: 30%;
    display: inline-block;
    vertical-align: top;
}

/*Dialog*/
.dialog {
    border: 1px solid #666;
    border-radius: 3px;
    background-color: #fff;
    z-index: 1600;
    width: 200px;
    min-height: 150px;
    padding: 10px;
    position: absolute;
}

.dialog-tools {
    text-align: right;
    position: absolute;
    margin: 10px;
    right: 0;
    bottom: 0;
}

.btn-alert {
    background-color: red;
    color: #fff;
    font-weight: bold;
}

.btn-alert:hover {
    background-color: red;
    color: #333;
}

/*Console*/
#consola-wrapper {
    position: fixed;
    top: 120px;
    left: 120px;
    width: 300px;
    height: 300px;
    z-index: 1700;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border: 0px solid #999;
    border-radius: 5px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(125, 125, 125, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(125, 125, 125, 0.6);
    display: none;
}

#consola {
    background-color: rgba(0, 0, 0, 0.85);
    color: yellow;
    height: 100%;
    padding: 10px;
    overflow: scroll;
}

#consola li {
    list-style-type: none;
}

/*public form*/

.agent-form{
    width: 94% !important;
}

.action-buttons-container{
    display: inline-flex;
}
/*Home Dashboard*/
.event-stat-left {
    display: inline-block;
    width: 150px;
    margin-top: 5px;
    margin-right: 10px;
}

.event-stat-right {
    display: inline-block;
    width: 30px;
    margin-top: 5px;
    margin-right: 10px;
    text-align: right;
}

.stats-col {
    display: inline-block;
    margin-top: 5px;
    margin-right: 10px;

    vertical-align: top;
}

.col-30 {
    width: 30%;
}

.col-60 {
    width: 60%;
}

.login-bar {
    width: 100%;
    font-size: 0.8em;
    padding-right: 10px;
    text-align: right;
    margin-bottom: 7px;
}

.panel-top {
    background-color: lightslategray;
    width: 99%;
    color: linen;
    padding: 5px;
    font-size: 1.1em;
    margin-bottom: 10px;
}

.pos-table {
    margin-top: 10px;
    width: 100%;
    background-color: #fff;
}

.pos-header {
    background-color: #535984;
    color: linen;
    padding: 5px;
    font-size: 1.1em;
    margin-bottom: 10px;
}

.pos-header-light {
    background-color: #cfcfd0;
    color: #333333;
    padding: 5px;
    font-size: 1.1em;
    margin-bottom: 10px;
}


.pos-table tr {
    border-bottom: 1px solid #f3f5dc;
}

.pos-table tr td {
    padding: 5px;
}

/*
.pos-table tr:nth-child(even) {
	background-color: #d0d2ae;
}
*/
.prod-ranges pre {
    font-size: 0.7em;
}

.quick-form {
    margin: 10px auto;
    width: 95%;
    background-color: #fff;
}

.quick-form tr {
    border-bottom: 1px solid #ecefed;
}

.quick-form tr td {
    padding: 5px;
    text-align: left;
}

.highlight {
    background-color: lightgreen;
}

.result-row {
    cursor: pointer;
}

.result-row:hover {
    color: #0078e7;
}

.ranges-table {
    margin-top: 10px;
    font-size: 0.7em;

}

.ranges-table tr td {
    padding: 7px;
    border-right: 1px solid #ddd;
}

.ranges-table tr:nth-child(even) {
    background-color: inherit;
}

.compra-header {
    min-width: 500px;
    border-bottom: 1px dotted #ddd;
    margin-bottom: 10px;
}

.opt-button {
    font-family: inherit;
    font-size: 0.6em;
    padding: .5em 1em;
    color: #555;
    border: 1px solid #999;
    background-color: white;
    text-decoration: none;
    border-radius: 2px;
    margin-right: 5px;
}

.opt-comprado {
    background-color: rgb(28, 184, 65);
    color: #fff
}

.opt-devuelto {
    background-color: rgb(202, 60, 60);
    color: #fff
}

.opt-rechazado {
    background-color: rgb(223, 117, 20);
    color: #fff
}

.opt-donado {
    background-color: rgba(24, 122, 210, 1);
    color: #fff
}

.form-group {
    margin-bottom: 10px;
}

.form-field {
    background-color: #FFFFFF;
}

.model-changed {
    border: 2px solid green;
}

.label-cell {
    display: inline-block;
    width: 100px;
    margin-bottom: 7px;
}

.select-all {
    font-family: inherit;
    color: #FFF;
    border: 1px solid #999;
    background-color: #009ee2;
    text-decoration: none;
    border-radius: 2px;
    cursor: pointer;
}

.dialog-btn {
    display: inline;
    padding: 3px 5px;
    margin: 3px;
    font-size: 1.1em;
    color: #333;
    vertical-align: middle;
    background-color: #DDD;
    background-image: none;
    border: 1px solid #cccccc;
    cursor: pointer;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

.dialog-btn:hover {
    color: #000;
    background-color: #EEE;
}

.edit-ext {
    display: inline-block;
    min-width: 120px;
    margin: 2px 0px;
    height: 15px;
}

.edit-ext-active {
    background-color: #d0d2ae;
    color: blue;
}

.editable-cell {
    display: inline-block;
    min-width: 45px;
    margin: 2px 0px;
    height: 15px;
    background-color: whitesmoke;
    color: darkslateblue;
    padding: 2px;
    text-align: right;
}

.opt-select {
    display: inline-block;
    line-height: normal;
    vertical-align: middle;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    background-color: #fff;
    color: #555;
    border: 1px solid #999;
    font-size: 0.8em;
    padding: 5px;
    margin: 5px 10px 5px 0px;
}

.opt-selected {
    color: #fff;
    background-color: rgb(138, 137, 191);
    border: 1px solid rgb(114, 119, 185);
}

/*CARDS*/
.card {
    border: 1px solid #eff0f2;
    width: 95%;
    margin: 5px;
    background-color: #fefafe;
    color: #333;
    overflow: hidden;
    -webkit-transition: max-height 0.5s;
    -moz-transition: max-height 0.5s;
    -ms-transition: max-height 0.5s;
    transition: max-height 0.5s;
}

.card-collapse {
    max-height: 2.5em;
}

.card-header {
    background-color: #f1f1f1;
    color: #3e415d;
    padding: 5px;
    overflow: hidden;
    font-weight: bold;
}

.card-header-title {
    margin: 8px;
}

.card-header-tools {
	float: right;
    display: inline-block;
}

.card-error {
    color: red;
    padding: 5px;
    font-size: 0.8em;
}

.card-subheader {
    color: #f1f1f1;
    border-bottom: 1px solid #dedede;
    font-size: 1.1em;
    margin-top: 10px;
    font-weight: bold;
    margin-bottom: 5px;
    padding-bottom: 3px;
}

.card-body {
    padding: 5px;
    font-size: 0.9em;
    line-height: 1.3em;
    overflow: auto;
    color: #333;
}

.card-badge {
    float: right;
    display: inline-block;
    /*background-color: rgb(193, 171, 121);*/
    width: 30px;
    padding: 3px;
    margin: 2px;
    text-align: center;
    /*color: #222;*/
    font-size: 1.2em;
    cursor: pointer;
}

.in-card {
    background: #fff;
    padding: 5px;
    margin-bottom: 5px;
    border-bottom: 1px solid #e9eaea;
    line-height: 2em;
    color: #333;
    overflow: hidden;
}

.in-card-collapse {
    max-height: 5em;
}

.in-card a {
    color: #2a4882;
}

/*Date*/
[type="date"] {
    background: #fff url(https://cdn1.iconfinder.com/data/icons/cc_mono_icon_set/blacks/16x16/calendar_2.png) 97% 50% no-repeat;
}

[type="date"]::-webkit-inner-spin-button {
    display: none;
}

[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
}

/*Pos*/
.pos-nav {
    width: 95%;
    margin: 5px;
    overflow: hidden;
    text-align: left;
    font-size: 1.3em;
}

.prod-btn {
    display: inline-block;
    margin: 10px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #666;
    padding: 10px;
    cursor: pointer;
}

.prod-icon {
    width: 100px;
}

.custom-notas {
    height: 80px;
    width: 100%;
}

.red-bar {
    background-color: #f1f1f1;
    height: 1px;
    border: 0;
    width: 100%;
}

.divLabel {
	display: inline-block;
    width: 110px;
    margin: 5px;
}
.custom-pvp {
    display: inline-block;
/*
    float: right;
*/
    font-weight: bold;
}

.custom-pvp-input {
    width: 80px;
/*
    text-align: right;
*/
    padding: 3px;
}

.custom-qty {
    display: inline-block;
/*
    float: right;
*/
    font-weight: bold;
}

.custom-qty-input {
    width: 80px;
/*
    text-align: right;
*/
    padding: 3px;
}

.custom-dcto {
    display: inline-block;
/*
    float: right;
*/
    color: #e29806;
    cursor: pointer;
}

.custom-row {
    margin-bottom: 7px;
}

.custom-tools {
    width: 100%;
    margin-top: 20px;
}

.custom-opt {
    background-color: #fff;
    border: 1px solid #666;
    margin: 5px;
    font-family: inherit;
    font-size: 0.8em;
    padding: .3em 1em;
    color: #555;
    text-decoration: none;
    border-radius: 2px;
    text-align: left;
}

.custom-opt-selected {
	background-color: #c0fc5b;
    color: #6a6767;
    border: 1px solid #95db23;
}

.pos-cart-header {
    border-bottom: 1px solid #666;
    margin-bottom: 6px;
    padding: 10px;
    font-size: 1.3em;
    line-height: 1em;
    text-align: right;
}

.cart-header-row {
    margin-bottom: 7px;
}

.dcto-input {
    width: 50px;
    text-align: right;
    font-size: 1.1em;
    height: 26px;
    padding: 3px;
}

.pos-cart-total {
    display: inline-block;
    font-weight: bold;
    font-size: 1.2em;
}

.pos-cart-subtotal {
    display: inline-block;
    font-size: 1em;
}

.pos-cart-iva {
    display: inline-block;
    font-size: 1em;
}

.pos-cart-dcto {
    display: inline-block;
    /*font-size: 1.2em;
    color: #e29806;*/
}

.post-cart-fixed-w {
    width: 90px;
}

.pos-cart-dets {

}

.pos-cart-tools {

}

.pos-cart-det {
    border-bottom: 1px dotted #999;
    margin-bottom: 6px;
    padding: 5px;
    font-size: 0.8em;
    height: 50px;
    overflow: hidden;
}

.pos-cart-det-dets {
    min-height: 45px;
}

.pos-cart-det-pvp {
    display: inline-block;
    float: right;
    font-weight: bold;
    font-size: 1.5em;
    padding-right: 15px;
}

.pos-cart-det-tools {
    text-align: right;
    margin-top: 13px
}

.pos-cart-det-tools button {
    font-size: 1.5em;
}

.det-open {
    height: 120px;
}

.dcto-tool {
    overflow: hidden;
    -webkit-transition: height 0.3s;
    -moz-transition: height 0.3s;
    -ms-transition: height 0.3s;
    transition: height 0.3s;
    height: 0px;
}

.dcto-tool-cart {
    overflow: hidden;
    -webkit-transition: height 0.3s;
    -moz-transition: height 0.3s;
    -ms-transition: height 0.3s;
    transition: height 0.3s;
    height: 0px;
    background-color: #ccc;
    font-size: 0.8em;
    padding: 0px;
}

.pos-step-badge {
    display: inline-block;
    background-color: #fff;
    color: #f1f1f1;
    padding: 3px 7px;
    border-radius: 1px;
    margin-right: 5px;
    margin-bottom: 5px;
    font-size: 1.3em;

}

.pos-step-arrow {
    display: inline-block;
    padding: 5px;

}

.pos-step-arrow i {
    font-size: 1.7em;
    cursor: pointer;
}

.step-next {
    float: right;
    display: none;
}

.step-prev {
    color: #f1f1f1;
}

/*Virtual KB*/
.lime-key {
    padding-top: 3px;
    line-height: 35px;
}

/*left card*/
.left-card {
    display: inline-block;
    min-height: 300px;
    background: #ffffff;
    border: 1px solid #e5e5e8;
    margin-top: 5px;
    padding: 10px;
    color: #333;
    width: 90%;
}

/*products tree*/
.group-item {
    background-color: #ffffff;
    padding: 6px;
    font-size: 1.4em;
    margin: 5px 0px;
    width: 85%;
    cursor: pointer;
}

.prod-row {
    background-color: #ffffff;
    padding: 3px;
    font-size: 1.1em;
    margin-bottom: 4px;
    width: 85%;
    display: none;
    cursor: pointer;
}

.item-tree-price {
    float: right;
    padding: 6px 3px;
    background-color: #efefef;
}

.item-tree-name {
    padding: 6px 3px;
}

.summary-block {
	background: #ffffff;
    border: 1px solid #d0d2da;
    margin-top: 10px;
    padding: 15px;
    font-size: 1.1em;
    line-height: 1.4em;
    border-radius: 3px;
    max-width: 800px;
}

.summary-block-title {
    font-size: 1.3em;
    color: #8e919a;
    margin-bottom: 10px;
}

.summary-label {
	margin-bottom: 3px;
    font-weight: bold;
    display: inline-block;
    min-width: 190px;
    margin-bottom: 7px;
}

.summary-field {
	margin-bottom: 3px;
    display: inline-block;
    min-width: 240px;
    border: 1px dotted #ddd;
    cursor: pointer;
    padding: 4px;
}

.summary-agent {
	vertical-align: top;
	display: inline-block;
    padding-top: 8px;
    margin-left: 40px;
    font-size: 0.9em;
}

.summary-transport {
	vertical-align: top;
	display: inline-block;
    padding-top: 8px;
    margin-left: 40px;
    font-size: 0.9em;
}

.summary-logo {
    vertical-align: top;
	display: inline-block;
}
.printable-logo {
	max-width: 175px;
}
.summary-table-row td {
    font-size: 0.8em;
    padding: 5px;
    border-bottom: 1px solid #efefef;

}

.summary-table-total-row td {
    font-size: 1em;
    padding: 7px;
    font-weight: bold;
    text-align: right;
    font-size: 0.9em;
}

.summary-table-header td {
    font-weight: bold;
    font-size: 0.9em;
    padding: 5px;
}

.firma-30 {
    display: inline-block;
    width: 20%;
    font-size: 0.8em;
    border-top: 1px solid #AAA;
    text-align: center;
    margin-top: 30px;
    margin-left: 5%;
    margin-right: 5%;
}
.label-indent {
	margin-left: 20px;
}
.money {
    text-align: right;
}

.text-balloon {
    position: absolute;
    z-index: 9999;
    border: 1px solid #333;
    background-color: #f7f9e8;
    padding: 10px;
    max-width: 250px;
    cursor: pointer;
}

.pure-button {
    margin: 1px;
}

.form-row {
    width: 100%;
    margin-bottom: 35px;
}

.form-message {
    margin-top: 10px;
    font-size: 0.9em;
}

.form-element{
	border: none;
    box-shadow: none;
    border-bottom: 1px solid #DEDEDE;
    border-radius: 0;
    background-color: #fdfdfd;
    width: 90%;
    padding: 6px;
    margin-bottom: 10px;
}
.form-element-right{
    display: inline-block;
    width: 235px;
    float: right;
    margin-right: 16px;
}

.form-element-full{
    display: inline-block;
    width: 100%;
}
.form-element-full table{
    width: 100%;
}
.form-element input{
    display: inline-block!important;
}
.invalid-field {
    border: 1px solid red;
}

#balanza-tool {
    background-color: #dedcdc;
    width: 110px;
    float: right;
    padding: 10px;
}
