BODY{
    font-family: 'Roboto Condensed';
    font-optical-sizing: auto;
    font-size: 1em;
}
H1{
    font-weight: 500;
    margin-bottom: 0;
    line-height: 1;
    letter-spacing: -0.025em;
    font-size: 2rem;
    color: #555;
}
H3{font-weight: 500}
H6{font-weight: 500;font-size: 0.9rem;color: #555}
.page-item.active .page-link{background-color: #000; border-color: #000;}

TR.annullato TD{text-decoration: line-through; color: #AAA;}
TR.annullato TD.text-nowrap{text-decoration: none;}

.gutter-sm > .col, .gutter-sm > [class*="col-"] {
    padding-right: 0.25rem;
    padding-left: 0.25rem;
  }

  .foglio-lavoro-vetro-item{
    padding: 2rem;
  border: 1px solid #ddd;
  }
  .foglio-lavoro-vetro-item H6{
    background-color: #eee;
  padding: 0.25rem;
  margin: 1rem 0;
  }

.circleProgress {position: relative;
text-align: center;
}
.circleProgress > DIV{text-align: center;}
.circleProgress STRONG {
position: absolute;
top: 40px;
left: 0;
display: block;
width: 100%;
text-align: center;
font-family: "Arial";
color: #555;
}

TD.text-nowrap{background-color: #eee;}
TD.text-nowrap A:hover, TD.text-nowrap BUTTON:hover{
    color: #000;
  background-color: #ddd;
}
TD.text-nowrap A IMG{
    max-width: 24px;
}
TD.text-nowrap .btn-outline-dark,TD.text-nowrap .btn-outline-secondary{
    border: 0;
    padding: .25rem 0.4rem;
}

#menushow I{ color: #fff; }

.jumbotron H1{
    background: transparent;
    color: #000;
    text-shadow: none;
    padding: 0;
    margin-bottom: 1rem;
}

.nav-months A{ 
    display: block; 
    text-align: center;   
    font-size: 0.9rem; 
    padding: 1rem 0.25rem;
    color: #333;
    border: 1px solid #eee;
    border-collapse: collapse;
    transition: all 0.2s ease-in-out;
}
.nav-months A:hover{
    text-decoration: none;
    background: #f8f8f8;
}
.nav-months A.active{
    background: #f8f8f8;
    border-bottom-color: #fff;
    color: #000;
}
.nav-months A SPAN {  
    font-size: 0.9rem;
    display: block;
    font-weight: 600;
    color: #555;
    letter-spacing: -0.025em;
}

.nav-months > .col, .statBoxes > [class*="col-"]{
    padding-right: 0;
    padding-left: 1px;
}

.vetri-more{display: none;}

.statBoxes, .nav-months {
    margin-right: 0;
    margin-left: 0;
}
.statBoxes > .col, .statBoxes > [class*="col-"] {
      padding-right: 4px;
      padding-left: 4px;
}

h5.mt-4{
    background-color: #006d7712;
  padding: 0.5rem 0.8rem;
  font-size: 1rem;
  border-bottom: 0;
  border-radius: 8px;
}
h5.mt-4.dark{
    background-color: rgb(42, 38, 76);
    color:#fff
}

.dashboardStats .grid > DIV { text-align: center; padding-top: 1.8rem; }
.dashboardStats .grid > DIV .number{ font-size: 2.4rem; line-height: 1; margin-bottom: 6px;}
.dashboardStats .grid > DIV .label{ color: #888; text-transform: uppercase; font-size: 0.9rem; }
.dashboardStats .lastOne{display: flex;justify-content: space-between;background-color: #EEE;padding: 0.4rem 0.8rem;}
.dashboardStats .secondGrid {margin-top: 1rem;}
.dashboardStats .secondGrid h5 { background-color: #EEE; padding: 0.6rem; font-size: 0.9rem; }
.dashboardStats .secondGrid .number { font-size: 2rem; padding-left: 1rem; }
.dashboardStats .secondGrid .label { font-size: 1.3rem; padding-left: 1rem; }
.dashboardStats .sh{  padding: 2rem;
    background-color: #e0f3ff;
    border-radius: 8px;
}

.lavorazioni-rdl{
    border: 1px solid #ddd;
  margin: 0 0 1rem 0;
  padding: 14px 14px 0 14px;
  background-color: #fff;
}

.bullet{
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 auto;
}

#navbarSupportedContent{padding-left: 5%}

.breadcrumb{
    background: none;
    padding: 0;
}
.breadcrumb-item+.breadcrumb-item::before{ color: #ccc; content: "\2192"; }
.breadcrumb-item A{ color:#006d77 }
.alert{border-radius: 0}

FORM LABEL{
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 500;
    color: #555;
}
.form-control{border-radius: 0}
FORM H5{ color: #3E5D9B; font-weight: 600; padding-bottom: 4px; border-bottom: 1px solid #ddd; margin-bottom: 16px}
FORM.validated .form-group.error LABEL{color: #D12221}
FORM.validated .form-group.error INPUT,
FORM.validated .form-group.error SELECT,
FORM.validated .form-group.error TEXTAREA {border-color: #D12221; color: #D12221}

TABLE THEAD TR TH{
    border: 0 !important;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 500;
}
.table-bordered td, .table-bordered th{border:inherit;border-top:1px solid #dee2e6}
.table-light THEAD{background: #eee}
.table-light THEAD TH{color: #333; font-weight: 600}
.emptyState{padding: 100px 0;text-align: center;background: #f8f8f8;}
TABLE.small{ font-size: 90%;}
TABLE{margin-bottom: 0!important;}
TABLE CAPTION{padding-bottom: 0;font-weight: 100;font-size: 0.9em;}
.table-striped tbody tr:nth-of-type(odd){background-color: rgba(0,0,0,.02)}
TABLE TD{vertical-align: inherit !important; font-weight:400}
TABLE TD .btn{font-weight: 400}
.btn{
    text-transform: uppercase;
    font-weight: 500;
    font-size: 0.8rem !important;
}

.separated{
    border-bottom: 2px dashed #ccc;
    margin-bottom: 1.5rem;
}
.separated:last-child{border-bottom: 0 ;}

.tab-container{
    padding: 1.5%;
    border: 1px solid #dee2e6;
    border-top: 0;
}
.dropdown-item{padding-top: .5rem; padding-bottom: .5rem}
.dropdown-item.active, .dropdown-item:active{color:#fff !important;}
HR{border-top-width: 4px;border-color: #006d7712;}
HR.small{border-top-width: 1px;border-color: #eee;}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding: 1rem 1.4rem;
    }
}

.btn.position-relative SPAN{
    background-color: #2a9d8f;
  color: #fff;
  display: block;
  position: absolute;
  top: -0;
  right: 0;
  width: 15px;
  height: 15px;
  line-height: 15px;
  border-radius: 50%;
  font-size: 0.6rem;
}

.lead_creato_da{
    display: flex;
    align-items: center;
}
.lead_creato_da IMG{width: 20px; height: 20px;}
.lead_creato_da DIV{font-size: 0.8rem; color: #555;}

.badge-status{
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.badge-status.todo{background-color: #006ece;}
.badge-status.done{background-color: #004b42;}

.badge.code{
    font-family: courier;
    background-color: #ddd;
    font-size: 88%;
    font-weight: 100;
    border-radius: 0;
    letter-spacing: -0.05rem;
}

.modal-dialog{margin-top: 5rem}

.bg-squares{background: url("/assets/img/bg-squares.png")}
.bg-little-squares{background: url("/assets/img/bg-little-squares.jpg")}
.text-blue{color: #3D5C9D}
.login-screen{padding-top: 8%}
.login-container {  position: relative;  box-shadow: 0px 25px 15px -15px #c4d2e2;  background: #ffffff;margin: 0 auto}
.login-container H1{ font-size: 1.6rem; font-weight: 600; margin-bottom: 20px; -webkit-font-smoothing: antialiased}
.login-container .login-box { padding: 44px 50px;}
.login-container .login-box H1 { color: #222; text-shadow: none; background: transparent; padding-left: 0; font-weight: 500; }
.login-container .login-bg-image { background: url("/assets/img/splash-login.png") center center; background-size: cover; }
/* COLORS */
TABLE THEAD TH{color: #333;background-color: #006d7712;}
table th:first-child{
    border-radius:8px 0 0 0;
  }
  
  table th:last-child{
    border-radius:0 8px 0 0;
  }
.bg-blue{background: #0D1C31; color: #fff}
.btn-primary{background-color: #2a9d8f; border-color: #2a9d8f;}
.btn-primary:hover,.btn-primary:active,.btn-primary:focus{background-color: #23867b !important; border-color: #23867b !important;}

p.lead.text-center{text-align: left !important; display: none;}
FORM .row.my-5.w-75.mx-auto .btn{padding: 0.75rem !important;}

.bg-dark-transparent {background-color: #eee !important;}
/* .bg-success-opaque {  background: linear-gradient(to right, #1d976c, #93f9b9);;color: #fff}
.bg-success-transparent {background-color: rgba(50, 176, 141, 0.16) !important;}
.bg-danger-opaque {background: linear-gradient(to right, #ff0099, #493240);color: #fff} */

.navbar{position: fixed; width:100%; padding-top: 0;   background: #efefef !important;padding-bottom: 0;min-height: 56px; z-index: 9999;}
.navbar-brand H1{ font-size: 1.6rem; letter-spacing: inherit}
.navbar-brand H1 SMALL{ font-size: 50%; font-weight: 100; opacity: 0.8}
.navbar .nav-link.active{background: rgba(255,255,255,0.1)}
.btn{}
.btn-info{background: #3D5C9D; border-color: #3D5C9D}
.btn-green{background: #006d77; border-color: #006d77; color:#fff}
.btn-info:hover,.btn-info:not(:disabled):not(.disabled).active, .btn-info:not(:disabled):not(.disabled):active, .show>.btn-info.dropdown-toggle{background: #3D5C9D; border-color: #3D5C9D}
.btn-green:hover,.btn-green:not(:disabled):not(.disabled).active, .btn-green:not(:disabled):not(.disabled):active, .show>.btn-green.dropdown-toggle{background: #239c7c; border-color: #239c7c; color:#fff}
.modal-content{border-radius: 0}
#side{
    width: 220px;
    position: fixed;
    top: 64px;
    bottom: 0;
    left: 0;
    margin: auto;
    z-index: 1000;
    background-color: #efefef;
    overflow-y: scroll;
}
#side ul{margin: 1rem;  padding:1rem 0.5rem 1rem 0.5rem; list-style-type: none;  background-color: #fff;
    border-radius: 8px;}
#side UL LI{}
#side UL LI A I{ margin-right: 6px; color: #888}
#side UL LI A IMG{ 
    width: 16px;
}
#side UL LI A{
    display: flex;
  align-items: center;
  line-height: 1;
    color: #222; font-size: 0.9rem;padding: 0.9rem 0 0.9rem 0.8rem; position:relative; font-weight: 400;transition: all 0.2s ease-in-out;
}
#side UL LI A:after{
    position: absolute;
    content: '';
    width: .5em;
    height: .5em;
    border-width: 1px 0 0 1px;
    border-style: solid;
    border-color: initial;
    right: 1.3em;
    -webkit-transform: rotate(135deg) translate(0, -50%);
    -ms-transform: rotate(135deg) translate(0, -50%);
    -o-transform: rotate(135deg) translate(0, -50%);
    transform: rotate(135deg) translate(0, -50%);
    -webkit-transform-origin: top;
    -ms-transform-origin: top;
    -o-transform-origin: top;
    transform-origin: top;
    top: 50%;
    opacity: 0.8;
}
#side UL LI A.active{
    background-color: #006d7712;
    border-top-right-radius: 14px;
    border-bottom-right-radius: 14px;
    color: #006d77
}
#side UL LI A:hover{
    background-color: #006d7706;
    border-top-right-radius: 14px;
    border-bottom-right-radius: 14px;
    padding-left: 1.2rem;
}
#side UL LI A.active::after{display: none;}
#side UL LI A.active I{color: #006d77}
#side UL LI A DIV:first-child{
    background-color: #F1F2EE;
  padding: 0.5rem;
  border-radius: 4px;
  margin-right: 0.5rem;
}
#side UL LI A.active DIV:first-child{background-color: transparent;}
#main{ margin-left: 220px; padding: 84px 0;background-color: #006d7712;height: 100%;min-height: 1000px;}
#main > .container-fluid{
    padding: 2rem;
  margin: 0 1rem;
  width: auto;
  background-color: #fff;
  border-radius: 8px;
  height: 100%;
}

A, INPUT, TEXTAREA, SELECT, BUTTON{outline:none}
TR.scartato TD { background-color: #ffe9e8; }
TR.valido TD { background-color: #f6ffed; }
TR.todo TD { background-color: #e6f7ff !important; }

.hello{
    border: 3px solid #006d7712;
    border-radius: 14px;
    color: #fff;
    padding: 20px;
    display: flex;
    color: #0D1C31;
    align-items: center;
    margin-bottom: 1.5rem;
}
.hello .message{flex-grow: 1;}
.hello A{color: #23867b;}
.hello .today{
    text-transform: uppercase;
  font-weight: 600;
  color: #888;
  margin-right: 20px;
}

.statBoxes > DIV > DIV {padding: 6%;border-radius: 8px; border: 1px solid #e8e8e8;}
.statBoxes > DIV > DIV H2 {font-size:0.8rem; margin: 0;color: #006d77;font-weight: 600;text-transform: uppercase;}
.statBoxes > DIV > DIV .val {font-size: 2rem;color: #8a878f;line-height: 1; margin-top: 0.4rem; letter-spacing: -0.025em; font-weight: 600;}
.statBoxes > DIV > DIV I {position: absolute;
    top: 36%;
    right: 10%;
    font-size: 2rem;
    opacity: 0.15;}
/* .bg-sky{background: linear-gradient(to right, #348f50, #56b4d3); color: #fff}
.bg-purple{  background: linear-gradient(to right, #aa076b, #61045f); color: #fff}
.bg-sea{  background: linear-gradient(to right, #314755, #26a0da); color: #fff}
.bg-yellow{  background: linear-gradient(to left, #ffe000, #799f0c); color: #fff; }
.bg-warning-opaque{background: linear-gradient(to right, #f12711, #f5af19); color: #fff}
.bg-green{  background: linear-gradient(to right, #3ca55c, #b5ac49); color: #fff} */

.repeatable-container .master.posa-lcd{
    border: 1px solid #ccc;
    padding: 1rem;
    margin-top: 1rem;
}


/* SIGNATURE CSS */
.signature-pad CANVAS {
    height: 100% !important;
}
.signature-pad {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    font-size: 10px;
    width: 100%;
    height: 400px;
    border: 1px solid #e8e8e8;
    background-color: #fff;
    border-radius: 4px;
    padding: 16px;
}

.signature-pad::before,
.signature-pad::after {
    position: absolute;
    z-index: -1;
    content: "";
    width: 40%;
    height: 10px;
    bottom: 10px;
    background: transparent;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.4);
}

.signature-pad::before {
    left: 20px;
    -webkit-transform: skew(-3deg) rotate(-3deg);
    transform: skew(-3deg) rotate(-3deg);
}

.signature-pad::after {
    right: 20px;
    -webkit-transform: skew(3deg) rotate(3deg);
    transform: skew(3deg) rotate(3deg);
}

.signature-pad--body, .signature-pad-cliente-body, .signature-pad-tecnico-body {
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    border: 1px solid #f4f4f4;
}

.signature-pad--body canvas, .signature-pad-cliente-body canvas, .signature-pad-tecnico-body canvas {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.02) inset;
}

.signature-pad--footer {
    color: #C3C3C3;
    text-align: center;
    font-size: 1.2em;
    margin-top: 8px;
}

.signature-pad--actions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-top: 8px;
}

.th-quotazione{
    width:160px
}

.repeatable-container .master:first-child > div:last-child BUTTON
{
    display:none;
}

TD.stato-lead {
    font-size: 1.5rem;
}
TH[data-order] {
    white-space: nowrap;
}
*.clickable {
    cursor:pointer;
}

table.table.table-smaller {
    font-size: 0.9em;
}
TABLE .selection-checkbox {
    display: block;
    position: relative;
    padding-left: 10px;
    margin-bottom: 20px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
TABLE .selection-checkbox INPUT {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}
TABLE .selection-checkbox .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: #eee;
}
TABLE .selection-checkbox:hover input ~ .checkmark {
    background-color: #ccc;
}
TABLE .selection-checkbox input:checked ~ .checkmark {
    background-color: #2196F3;
}
TABLE .selection-checkbox .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
TABLE .selection-checkbox input:checked ~ .checkmark:after {
    display: block;
}
TABLE .selection-checkbox .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

TABLE TBODY TH.categoria-row {
background: #222;
    color: #FFF;
font-weight: 100;
font-size: 1rem;
padding: 0.25rem 0.8rem;
}

.obiettivo{

}
.obiettivo .col-4{padding:20px 0 0 16px}
.obiettivo .col-2{text-align:right}
.obiettivo .col-2 H5{
	font-size:1em;
	font-weight:100 !important;
    margin-top: 10px;
}

.lista-obiettivi HR:last-child {
    display:none
}

.row.bigButtons A{
    display: block;
    position: relative;
    color: #405F99;
    background: #f8f8f8;
    border: 1px solid #ddd;
	-webkit-transition: opacity .15s ease-in-out;
	-moz-transition: opacity .15s ease-in-out;
	-ms-transition: opacity .15s ease-in-out;
	-o-transition: opacity .15s ease-in-out;
	transition: opacity .15s ease-in-out;
}
.row.bigButtons A I{
    float: left;
    font-size: 3.2rem;
    display: inline-block;
    padding: 0.9rem;
    background: rgba(255,255,255,0.1);
    margin-right: 1rem;
    width: 36%;
    text-align: center;
}
.row.bigButtons A DIV{
    font-size: 1.6rem;
    padding-top: 0.5rem;
}
.row.bigButtons A P{
    font-size: 0.8rem;
    font-family: "Arial";
    margin: 0;
}
.row.bigButtons A.prodotti I{background:#975096; color: #fff}
.row.bigButtons A.nuovo-prodotto I{background: #40AE8E; color: #fff}
.row.bigButtons A.magazzino I{background:#405F99; color: #fff}
.row.bigButtons A.categorie I{background:#405F99; color: #fff}
.row.bigButtons A.carico I{background:#40AE8E; color: #fff}
.row.bigButtons A.scarico I{background:#E51427; color: #fff}
.row.bigButtons A:hover{text-decoration:none; opacity:0.8}

#calendar TABLE THEAD{background: #F1F2EE; color: #555}
#calendar TABLE TH{padding: .5rem 0}

#calendar TABLE .fc-day-top{background: #f8f8f8}
.fc-ltr .fc-dayGrid-view .fc-day-top .fc-day-number{float:none}
.fc-event, .fc-event-dot {
    background-color: rgba(95, 156, 207, 0.2);
    font-size: 0.8rem;
    padding: 0.2rem !important;
    color:#222;
    border: 0;
    margin: 2px;
}
.fc-day-top.fc-other-month{opacity: 0.8}
.select2-container--default .select2-selection--single,.select2-container--default .select2-selection--single .select2-selection__arrow{height: 38px !important;}
.select2-container--default .select2-selection--single .select2-selection__rendered{line-height: 38px !important;}

#top-info{
    margin-right: 1.2rem;
    padding-right: 1.2rem;
    border-right: 1px dotted #888;
}
#top-info H5{margin: 0;font-size: 0.9rem;}
#top-info P{margin: 0;font-size: 0.6rem;color: #555;}

.lavori-stats TD, .lavori-stats TH { font-size: 0.8rem; }
.lavori-stats TD { 
    font-size: 0.7rem;
    font-family: Arial;
    padding: .2rem;
    font-weight: 500;
 }

 .ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover{
    background-color: #2a264c !important;
    border-color: #2a264c !important; 
}
.ui-button{font-size: 0.8rem !important;border-radius: 0 !important;}
.alert-info{
    background: #006d7712;
    border: 0;
    border-left: 4px solid #006d7712;
}


/* NEW LOGIN */
.half, .half .container > .row {
    height: 100vh; }
  
  @media (max-width: 991.98px) {
    .half .bg {
      height: 500px; } }
  
  .half .contents, .half .bg {
    width: 50%; }
    @media (max-width: 1199.98px) {
      .half .contents, .half .bg {
        width: 100%; } }
  .half .bg {
    background-size: cover;
    background-position: center; 
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
  
  .half a {
    color: #888;
    text-decoration: underline; }
  
  .half .btn {
    height: 44px;
    padding-left: 30px;
    padding-right: 30px; }
  

/* ANALYTICS */
a.card{
  display: block;
  padding: 1rem;
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
  background-color: #fff;
  color: rgb(42, 38, 76);
  border-color: #eee;
}
a.card:hover{
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}