
*, *:before, *:after { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
html, body { color: #465664; background-color: #eff1f5; line-height: 20px !important; padding: 0; margin: 0; font: 13px 'Montserrat', sans-serif; font-weight: 400; -webkit-font-smoothing: antialiased; }
small { line-height: 15px; font-size: 12px; font-weight: 300; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: bold; }
a { text-decoration: none; }
hr { margin: 10px 0px; border: 0; border-bottom: 1px solid #ddd; }

html {-moz-text-size-adjust: none; -webkit-text-size-adjust: none; text-size-adjust: none; }

span.icon { margin-right: 5px; float: left; display: block; }

button, .button { height: 40px; line-height: 40px !important; border: 0; border-radius: 5px; padding: 0px 15px; font: 13px 'Montserrat', sans-serif; font-weight: bold; clear: both; cursor: pointer; text-decoration: none; display: inline-block; -webkit-appearance: none; }
button .material-icons, .button .material-icons { line-height: 40px !important; margin: 0px 5px 0px -5px; float: left; }

input:not([type='checkbox']):not([type='radio']), select, textarea { color: #263238; background-color: #fff; border: 1px solid rgba(0,0,0,.1); padding: 0px 10px; font: 13px 'Montserrat', sans-serif; -webkit-appearance: none; }
select { height: 40px; line-height: 40px; border-color: #ddd; padding: 0px 10px; cursor: pointer; }

.box { background-color: #fff; border: 1px solid rgba(0,0,0,.1); padding: 10px; margin-bottom: 30px; position: relative; clear: both; }
.box:after { content: ''; display: block; clear: both; }
.title { margin-bottom: 20px; }
.row { margin-bottom: 10px; clear: both; }
.row:after { content: ''; display: block; clear: both; }
.clear { clear: both; }

.notice { background-color: #fea; border: 1px solid #a38627; padding: 10px; margin-bottom: 20px; display: block; }
.notice.error { background-color: #faa; border: 1px solid #a00; }

.loader-ring { width: 30px; height: 30px; display: block; }
.loader-ring:after { content: ' '; width: 30px; height: 30px; border-radius: 50%; border: 5px solid #465664; border-color: #465664 transparent #465664 transparent; animation: loader-ring 1.2s linear infinite; display: block; }
@keyframes loader-ring {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.copy-on-click { text-decoration: underline dotted; cursor: pointer; }

/*
 *	TOPBAR
 */

#topbar { height: 60px; line-height: 60px; background-color: #fff; padding: 0 20px 0 5px; position: fixed; top: 0; right: 0; left: 80px; z-index: 9; }
#topbar-right { height: 60px; line-height: 60px;  float: right; }
#topbar-right .icon { height: 60px; line-height: 60px; }

#topbar .submenu { height: 40px; padding: 0; margin: 10px 0; float: left; display: block; }
#topbar .submenu li { height: 40px; padding: 0 5px; float: left; list-style: none; }
#topbar .submenu li span { color: #a38627; width: 30px; height: 40px; line-height: 40px; text-align: center; display: block; }
#topbar .submenu li a { color: #465664; background-color: #eff1f5; height: 40px; line-height: 40px; padding: 0 20px; font-weight: bold; display: block; }
#topbar .submenu li a:hover { background-color: rgba(239,241,245,.5); }
#topbar .submenu li.active a { color: #a38627; }

/*
 *  FOOTER
 */

#footer { width: 80px; line-height: 15px; padding: 10px; font-size: 11px; font-weight: bold; position: fixed; bottom: 0; }
#footer a { color: #fff; opacity: 0.3; }
#footer a:hover { opacity: 0.5; }

/*
 *	SIDEBAR
 */

#sidebar { width: 80px; background-color: #363f50; position: fixed; top: 0; left: 0; bottom: 0; overflow: hidden; }

#sidebar #open { background: #556d87 url('../img/icon-dashboard.png') no-repeat center; background-size: cover; color: #fff; height: 60px; line-height: 60px; padding: 0; margin-bottom: 10px; }
#sidebar #open a { width: 60px; height: 60px; color: #fff; display: block; }
#sidebar #open a span { line-height: 60px !important; font-size: 30px; }

#sidebar #tools { overflow: hidden; -webkit-overflow-scrolling: touch; overflow: -moz-scrollbars-none; -ms-overflow-style: none; }
#sidebar #tools::-webkit-scrollbar { width: 0 !important }
#sidebar #tools ul { padding: 0; margin: 0; }
#sidebar #tools ul li { height: 60px; list-style: none; margin-bottom: 10px; font-size: 12px; text-transform: uppercase; white-space: nowrap; overflow: hidden; }
#sidebar #tools ul li.divider { height: 1px; background-color: rgba(255,255,255,.05); }
#sidebar #tools ul li a { color: #697a89; height: 60px; line-height: 60px; padding: 0px 10px; display: block; }
#sidebar #tools ul li a.disabled { opacity: 0.3; }
#sidebar #tools ul li a span.icon { border-radius: 10px; padding: 15px; margin-right: 10px; font-size: 30px; float: left; }
#sidebar #tools ul li:hover a span.icon { color: #fdfdfe; background-color: #465664; }
#sidebar #tools ul li.active a span.icon { color: #fdfdfe; background-color: #465664; }

/*
 *	DASHBOARD
 */

#dashboard { padding-top: 50px; text-align: center; }
#dashboard ul { max-width: 960px; padding: 0; margin: 0 auto; text-align: center; font-size: 0; }
#dashboard ul li { background-color: #fff; border: 4px solid #fff; border-radius: 10px; margin: 0 8px 8px 0; list-style: none; display: inline-block; }
#dashboard ul li:hover { border: 4px solid #a38627; }
#dashboard ul li a { color: #263238; width: 150px; padding: 30px 0; text-decoration: none; font-size: 13px; font-weight: 700; text-transform: uppercase; display: block; }
#dashboard ul li a .icon { color: #465664; margin: 0 0 10px 0; font-size: 30px; display: block; float: none; }
#dashboard ul li a img { max-height: 30px; margin: 0 auto 10px auto; display: block }
#dashboard ul li a.disabled { opacity: 0.3; }

/*
 *	PAGE
 */

#page { padding: 30px 50px; overflow-y: scroll; position: fixed; top: 60px; right: 0; bottom: 0px; left: 80px; }
#page #header { min-height: 40px; margin-bottom: 20px; }
#page #header h1 { height: 40px; line-height: 40px; margin-right: 20px; font-size: 20px; display: inline-block; float: left; }
#page #header #notices { clear: both; }
#page #header #breadcrumb {  }
#page #header #breadcrumb h1 { height: 40px; line-height: 40px; margin: 0px 0px 0px 0px; font-size: 15px; display: inline-block; }
#page #header #breadcrumb h1 * { opacity: 0.5; text-decoration: none; font-size: 15px; font-weight: 700; }
#page #header #breadcrumb h1 a:hover { text-decoration: underline; }
#page #header #breadcrumb h1 small { font-size: 12px; }
#page #header #breadcrumb a.back { color: rgba(0,0,0,.3); width: 40px; height: 40px; line-height: 40px; border-radius: 5px; margin-right: 10px; text-align: center; float: left; display: block; }
#page #header #breadcrumb a.back:hover { color: rgba(0,0,0,.2); background-color: rgba(0,0,0,.1); }
#page #header #breadcrumb a.back span { line-height: 40px !important; font-size: 30px; }

#page #header #tabs { padding: 0; display: block; clear: both; }
#page #header #tabs .tab { display: inline-block; list-style: none; }

#page #filters { margin-bottom: 30px; }
#page #filters label { height: 40px; line-height: 40px; padding: 0 10px 0 5px; float: left; display: block; }
#page #filters input { background-color: #fff; height: 40px; line-height: 40px; border-radius: 0; border: 1px solid #ddd; padding: 0 10px; margin: 0 5px 5px 0; float: left; }
#page #filters select { background-color: #fff; margin: 0 5px 5px 0; float: left; }
#page #filters input.selected { background-color: #fea; color: #a38627; border-color: #a38627; font-weight: bold; }
#page #filters select.selected { background-color: #fea; color: #a38627; border-color: #a38627; font-weight: bold; }
#page #filters #total-items { padding: 5px; }

#page #body { }
#page #body > h4 { padding: 10px 10px 0px 10px; }

/*
 *	TABLE
 */

table tr td { vertical-align: top; }

table.data { width: 100%; border-spacing: 0px 0px; border-collapse: separate; clear: both; }
table.data tr { }
table.data tr th { background-color: #fff; height: 20px; line-height: 20px; border-bottom: 1px solid #fff; border-right: 1px solid #fff; padding: 10px; text-transform: uppercase; text-align: left; }
table.data tr th.centered { text-align: center; }
table.data tr th a { color: #465664; font-size: 13px; text-decoration: none;  }
table.data tr th a:hover { text-decoration: underline; }
table.data tr td { background-color: #fff; height: 40px; line-height: 20px; border-bottom: 1px solid #fff; border-right: 1px solid #fff; padding: 10px; font-size: 13px; overflow: hidden; }
table.data tr:nth-child(even) td { background-color: rgba(239,241,245,.9); }
table.data tr:nth-child(odd) td { background-color: rgba(239,241,245,.3); }
table.data tr:hover td { background-color: rgba(216,220,228,1); }
table.data tr.processing td { background-color: #fea; }
table.data tr.pending td { background-color: #fca; }
table.data tr.cancelled td,
table.data tr.open td { background-color: #fcc; }
table.data tr.solved td { background-color: #cfc; }
table.data tr td { max-width: 500px; }
table.data tr td.null { color: #ccc; }
table.data tr td.negative { color: #a00; }
table.data tr td a { color: #465664; font-weight: bold; }
table.data tr td a:hover { color: #a38627; }
table.data tr td a.details { line-height: 0; text-align: center; display: block; }
table.data tr td a strong { font-weight: bold; }
table.data tr td span { margin-right: 5px; font-size: 20px; float:left; }

table.data tr td.centered { text-align: center; }
table.data tr td.icon { padding: 0px 10px; }
table.data tr td.icon span { line-height: 40px; font-size: 25px; }
table.data tr td.image img { max-width: 100px; max-height: 40px; margin: auto; display: block; }

table.data tr td input { background-color: #fff; width: 100%; height: 35px; line-height: 35px; }
table.data tr td select { background-color: #fff; width: 100%; height: 35px; line-height: 35px; }

table.data tr td.input-symbol { position: relative; }
table.data tr td.input-symbol:after { height: 35px; line-height: 35px; font-size: 13px; display: block; position: absolute; top: 10px; right: 20px; opacity: 0.5; }
table.data tr td.input-symbol.kg:after { content: 'kg'; }
table.data tr td.input-symbol.perc:after { content: '%'; }
table.data tr td.input-symbol.euro:after { content: '€'; }

table.data tr td.input-symbol:hover:after { display: none; }

/*
 *	PAGINATION
 */

#page .pagination { padding: 0; margin: 20px 0px; }
#page .pagination li { border-right: 1px solid #eee; list-style: none; display: inline-block; }
#page .pagination li a { color: #272935; background-color: #fff; height: 40px; line-height: 40px; border: 1px solid #eee; padding: 0px 15px; font-size: 15px; display: block; font-weight: bold; }
#page .pagination li.page a { font-size: 13px; }
#page .pagination li:hover a { background-color: rgba(255,255,255,.5); }
#page .pagination li.selected a { color: #fff; background-color: #465664; }
#page .pagination li a span { line-height: 40px; margin: 0px 5px 0px 0px; font-size: 13px; float: left; display:block; }
#page .pagination li.right a span { margin: 0px 0px 0px 5px; float: right; }

/*
 *	EDITOR
 */

#editor { padding: 20px 0px 0px 0px; }
#editor .title { padding: 20px 5px; margin: 0px; font-weight: bold; clear: both; }
#editor .opn-field { min-height: 40px; padding: 0px 5px; margin: 0px 0px 20px 0px; position: relative; }
#editor .opn-field.spacer { min-height: 60px; }
#editor .opn-field label { color: #aaa; height: 20px; line-height: 20px; line-height: 20px; font-size: 12px; display: inline-block; }
#editor .opn-field .field { width: 100%; height: 40px; line-height: 40px; border-radius: 0px; border: 1px solid #ddd; padding: 0px 10px; }
#editor .opn-field textarea.field { width: 100%; height: 100px; line-height: 15px; border-radius: 0px; border: 1px solid #ddd; padding: 10px; }
#editor button { margin: 30px 0px 5px 5px; clear: both; }
#deletor button { position: absolute; right: 15px; bottom: 15px; }

/*
 * COLORS
 */

.suite-colors { color: #263238; color: #465664; color: #a38627; color: #ff5963; }
.background-green { background-color: #a38627; }
.background-red { background-color: #ff5963; }
.color-green { color: #a38627; }
.color-red { color: #ff5963; }

a { color: #a38627; }
a:hover { color: #465664; }

button, .button { color: #fdfdfe; background-color: #263238; }
button:hover, .button:hover { color: #fdfdfe; background-color: #465664; }
button span, .button span { line-height: 40px; float: left; display: block; }
.button-green { color: #fff; background-color: #0a0; }
.button-green:hover { background-color: #070; }
.button-red { color: #fff; background-color: #a00; }
.button-red:hover { background-color: #700; }
.button-grey { color: #25282d; background-color: #a8afb8; }
.button-grey:hover { background-color: #6a7481; }
.button-white { color: #25282d; background-color: white; }
.button-white:hover { color: #25282d; background-color: #E0E1DD; }


/*
 * FIX DATEPICKERS
 */

input[name="day_from"]:before, input[name="day_to"]:before { float: left; }



/*
 * LOGGED USER ID 3 - SERIALI ORDINI
 */

/*
.logged-user-id-3 #sidebar { display: none; }
.logged-user-id-3 #topbar { display: none; }
.logged-user-id-3 #page { padding: 20px; top: 0; left: 0; }
.logged-user-id-3 #page #filters { margin: 0; position: relative; }
.logged-user-id-3 #page #filters input { width: 100%; height: 40px; line-height: 40px; border-color: #eee; margin: 0; font-size: 13px; }
.logged-user-id-3 #page #filters select { height: 40px; line-height: 40px; border-color: #eee; margin: 0; font-size: 13px; }
.logged-user-id-3 #page #filters #read-barcode { width: 58px; position: absolute; top: 3px; right: 5px; opacity: 0.3; cursor: pointer; }

.logged-user-id-3 #page .pagination { margin: 10px 0; }
.logged-user-id-3 #page .pagination li { width: 20%; }
.logged-user-id-3 #page .pagination li a { height: 40px; line-height: 40px; padding: 0 10px; text-align: center; }
.logged-user-id-3 #page .pagination li a span { line-height: 60px; }

.logged-user-id-3 #page #orders {  }
.logged-user-id-3 #page #orders .order { padding-top: 20px; margin-bottom: 10px; }
.logged-user-id-3 #page #orders .order.info { padding-top: 10px; }
.logged-user-id-3 #page #orders .order a { color: #465664; }
.logged-user-id-3 #page #orders .order div.info { line-height: 25px; border-left: 10px solid #eee; padding-left: 15px; margin-left: 10px; font-size: 15px; }
.logged-user-id-3 #page #orders .order div.products { line-height: 25px; border: 0; padding: 0px 0 10px 35px; margin: 0; font-size: 13px; position: relative; }
.logged-user-id-3 #page #orders .order div.products span { width: 50px; height: 50px; line-height: 25px; font-size: 30px; display: block; position: absolute; left: 0; }
.logged-user-id-3 #page #orders .order div.attachments { }
.logged-user-id-3 #page #orders .order div.attachments .image { border: 1px solid #ddd; width: 23%; margin: 1%; text-align: center; float: left; }
.logged-user-id-3 #page #orders .order div.attachments .image img { width: 100%; display: block; }
.logged-user-id-3 #page #orders .order div.attachments .image.new { border: 0; }
.logged-user-id-3 #page #orders .order div.attachments .image.new img { opacity: 0.1; }
.logged-user-id-3 #page #orders .order div.attachments .image.open { width: 100%; background-color: #f7f7f7; border: 1px dashed #ddd; padding: 5px; margin: 0 0 10px 0; }
*/

@media( max-width: 768px ) {
    .no-mobile { display: none; }
    .no-wrap { white-space: nowrap; }

    .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 { width: 100% !important; padding: 0 !important; }
    .box { margin-bottom: 10px; overflow: scroll; }

    table.data .material-symbols-outlined { display: none; }

    #topbar .submenu { display: none; }
    #sidebar { height: 60px; }
    #tools { display: none; }
    #page { padding: 30px 10px; left: 0; }

    #dashboard h3 { display: none; }
    #dashboard br { display: none; }
    #dashboard ul { width: 500px; margin: auto; }
    #dashboard ul li { float: left; }

    #header {}
    #header h1 { width: 100%; }
    #header a { margin-bottom: 5px; }

    #filters > form > *:not(script, style) { width: 100% !important; margin-right: 0 !important; display: block !important; }
    #filters > form .select2-hidden-accessible { display: none !important; }
    #filters > form > * > * { width: 100% !important; }

    #totals { width: 100%; }
    #totals span, #totals-yoy span { width: 48%; margin: 0 1% 10px 1%; }

    #page.orders .totals { width: 50%; padding: 20px 1px 0 1px; float: left; clear: none !important; }
    #page.orders .totals span { width: 100%; margin: 0 0 2px 0; }

}