@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@800&display=swap');

/* ! -- General -- */
/* ----------------------------------------- */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

@font-face {
    font-family: "Pangram bold";
    src: url(../font/Pangram-Black.woff);
}
@font-face {
    font-family: "Basis Light";
    src: url(../font/basisGrotesque/BasisGrotesquePro-Light.woff);
}
@font-face {
    font-family: "Basis Regular";
    src: url(../font/basisGrotesque/BasisGrotesquePro-Regular.woff);
}

html, body{
    font-family: "Basis Regular", sans-serif;
    color: #67646c;
    background: #f8f9fa;
    zoom: 0.96;
}

a,
input,
textarea,
select,
button{
    font-family: "Basis Regular", sans-serif;
}

.title-big{
    color: #e6e6e6;
    font-family: "Pangram bold", sans-serif;
    font-size: 125px;
    text-transform: uppercase;
    margin-bottom: 35px;
}

a {
    text-decoration: none;
    display: inline-block;
    border: none;
    background: none;
    color: #007bff;
    margin: 17px 0;
    cursor: pointer;
}

ul li{
    list-style: none;
}

::selection{
    background: rgb(255, 165, 0, .6);
    color: #fff;
}

@media (max-width: 667px) {
    .title{
        font-size: 60px;
    }
}

* {
    scrollbar-color: #D5D3D3 #F3F3F3;
    scrollbar-width: thin !important;
}



/* ----------------
SCROLLBAR
----------------------------- */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #F3F3F3;
}

::-webkit-scrollbar-thumb {
    background: #D5D3D3;
}

::-webkit-scrollbar-thumb:hover {
    background: #C7C7C7;
}



/* ! -- Login -- */
/* ----------------------------------------- */
.login{
    height: 100vh;
    padding-top: 30px;
}
.login-content{
    max-width: 750px;
    margin: auto;
    text-align: center;
}
.login-content img{
    width: 275px;
    margin-bottom: 55px;
}
.login .footer-author-logo{
    padding: 5px 25px;
}
.footer-author-logo{
    background: #fff;
    border: 1px solid #ededed;
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    padding: 0 25px 0 250px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 3;
}
.footer-author-logo a{
    margin: 0;
}
.footer-author-logo a:first-child img{
    width: 130px;
    height: 49px;
}
.footer-author-logo a:last-child img{
    width: 130px;
    height: 30px;
}

@media (max-width: 998px) {
    .footer-author-logo{
        padding: 0 25px;
    }
    .footer-author-logo a:first-child img{
        width: 100px;
        height: 38px;
    }
    .footer-author-logo a:last-child img{
        width: 100px;
        height: 20px;
    }

    .login{
        padding-top: 30px;
    }
    .login-content img{
        width: 200px;
        margin-bottom: 40px;
    }
    .author-logo img{
        width: 100px;
        height: 25px;
    }
    .item.main .author-logo.left{
        left: 30px;
        bottom: 0;
    }
}




/* ! -- Form -- */
/* ----------------------------------------- */
.sub-title{
    text-transform: uppercase;
    line-height: 30px;
    font-family: "Basis Light", sans-serif;
}

.form{
    max-width: 275px;
    margin:50px auto 0;
}

.input_form{
    color: #495057;
    background: #ffffff;
    padding: .85rem 1rem;
    border: 1px solid #ced4da;
    outline: 0 none;
    border-radius: 4px;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.input_form:hover{
    border-color: orange;
}

.input_form:focus{
    border-color: orange;
    outline: 0 none;
    box-shadow: 0 0 0 0.2em rgb(238, 207, 150);
}

.form select{ cursor: pointer; }
.form input[type=button]{
    background: orange;
    border: none;
    cursor: pointer;
}

.form .input_form,
.form .btn{
    width: 100%;
    margin: 5px 0;
}



/* ! -- Form Dash -- */
/* ----------------------------------------- */
.form-dash{
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background: #fff;
    z-index: 9999999;
    width: 70%;
    max-width: 90%;
    max-height: 90%;
    border-radius:10px;
    padding: 50px 40px;
    overflow: auto;
}
.form-dash.event{
    width: 400px;
}
.form-dash select{
    width: 100px;
    padding: 10px 0;
}
.form-dash.even span{
    font-weight: 200;
    font-size: 14px;
    color: #000 !important;
}
.form-dash.event h2{
    color: #000;
    text-transform: capitalize;
    margin:15px 0;
}
.form-dash.event textarea{
    margin-top: 20px;
    color: #666;
}
.form-dash.event .btn{
    text-align: center;
    margin: 50px auto 0;
}
.form-dash img.close{
    height: 25px;
    width: 25px;
    position: absolute;
    top: 30px;
    right: 30px;
    cursor: pointer;
}
.form-dash h1{
    color: #000;
    text-align: center;
}
.form-dash:not(.event) .btn{
    width: auto;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.form-dash.delete p b{
    text-transform: capitalize;
}

@media (max-width: 667px) {
    .form-dash{
        transform: translate(-50%,-50%) scale(.8);
        width: 90%;
        /*height: 90%;*/
        padding: 30px;
        overflow: auto;
    }
    .item-input{
        flex-basis: 100% !important;
        margin: 15px 0 !important;
    }
    .form-dash img.close{
        top: 15px;
        right: 15px;
    }
}




/* ! -- Grid -- */
/* ----------------------------------------- */
.grid{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.grid-center{
    justify-content: center;
}

.grid-col2 .item{
    flex-basis: 47%;
}
.grid-col3 .item{
    flex-basis: 30%;
}
.grid-col4 .item{
    flex-basis: 23%;
}

@media (max-width: 676px) {
    .grid .item{
        flex-basis: 100%;
    }
}






/* ! -- Tabs -- */
/* ----------------------------------------- */
#tabs{
    margin-top: 35px;
}
.tabs-content{
    width: 100%;
    background: #fff;
    overflow: auto;
    border: 1px solid #ededed;
    padding: 50px 40px 10px 40px;
    max-height: 500px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    box-shadow: 0 0 10px 4px rgb(0 0 0 / 1%);
}
.item-tabs{
    display: none;
    flex-wrap: wrap;
}
.item-tabs.anagrafici{
    display: block;
}
.item-tabs table{
    width: 100%;
    margin-top: 0 !important;
    margin-bottom: 35px;
}
.item-tabs-grid,
.grid-item-input{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}
.item-input{
    flex-basis: 16%;
    margin: 0 25px 20px 0;
}
.item-input input,
.item-input select,
.item-input textarea{
    width: 100% !important;
}
.item-input strong{
    color: red;
}
.menu-tabs{
    display: flex;
    flex-wrap: wrap;
}
.menu-tabs li{
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    padding: 10px 20px;
    text-transform: uppercase;
    font-size: 10pt;
    color:#495057;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,.1);
    transition: .35s;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}
.menu-tabs li:hover{
    color: orange;
}
.menu-tabs li i{ display: block; margin-right: 6px; }
.menu-tabs li.active{
    background: rgba(50,50,50,.2);
    color:#495057 !important;
}

.item-tabs .dataTables_wrapper{
    margin-top: 0 !important;
}

@media (max-width: 998px){
    .item-tabs-grid .item-input{
        flex-basis: 100% !important;
    }
    #tabs {
        width: 100% !important;
    }
}





/* ! -- Dashboard -- */
/* ----------------------------------------- */
.colDataArrivo{
    width: 100px !important;
}

.nav-icon{
    display: none;
    position: fixed;
    z-index: 99;
    top: 4px;
    left: 10px;
    transform: scale(.9);
    background: #fff;
    padding: 10px;
    border: 1px solid #ededed;
    color: #000;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: .5s;
}

.dashboard{
    height: 100vh;
}

.dashboard .item{
    height: 100%;
    position: relative;
}

.dashboard .item.header{
    transition: .5s;
    z-index: 99;
    background: #222;
    position: fixed;
    width: 230px;
    left: 0;
    top: 0;
    height: 100%;
    overflow: auto;
}
.dashboard .item.main{
    width: calc(100% - 230px);
    left: 230px;
    overflow: auto;
    position: relative;
}

.dashboard .item.header .logo{
    padding: 40px 30px;
    width: 100%;
    background: url('../img/content/header-profile.png') center center no-repeat;
    background-size: cover;
}

.dashboard .item.header .logo h1{
    color: #fff;
    font-family: "Pangram bold", sans-serif;
    text-transform: uppercase;
    line-height: 30px;
}

.dashboard .item.header .logo img{
    width: 100%;
}

.dash-home{
    height: 100%;
    width: 100%;
}
.dash-home img{
    opacity: 0.4;
}

.dashboard .item.main header{
    z-index: 3;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 15px 15px 15px 250px;
    border: 1px solid #ededed;
    font-size: 15px;
}
.not-active{
    opacity: .4;
}

.dash-content{
    padding: 75px 45px 140px 45px;
}

.container-table{
    max-width: 100%;
    min-width: 100%;
    overflow: auto;
    padding:0 0 45px 0;
}

.dotCLIParent i, .dotCLIParent .dotCLI{
    float: left;
}
.dotCLI{
    transform: translateX(20px);
    height: 15px;
    width: 15px;
    border-radius: 50%;
    background: crimson;
}

@media (max-width: 998px) {
    .dashboard .item.main header{
        padding: 15px 15px 15px 65px;
    }
    .dash-content{
        padding: 70px 35px 100px 35px;
    }
    .dashboard .item.header{
        transform: translateX(-100%);
    }
    .dash-home img{
        width: 80%;
    }
    .dashboard .item.main{
        width: 100%;
        left: 0;
    }

    .nav-icon{
        display: block;
    }
}
@media (max-width: 767px) {
    .dash-content{
        padding: 65px 20px 100px 20px;
    }
}




/* ! -- Schede Dashboard -- */
/* ----------------------------------------- */
#nuova, #elencoKO{ display: none; }
#btnEliminaAmagrafica,
#btnModificaAmagrafica{ display: none; }
.user{ margin-top: 7px; }

.inputModified{
    text-align: center;
    width: 450px;
}
.inputModified p{  margin: 15px 0; }

.delete{ text-align: center; }
.delete p{ margin-top: 10px; }

.visSop{ width: 50% !important; }
#tblSopralluoghi{ margin: 30px auto }

@media (max-width: 998px) {
    .visSop{ width: 85% !important; }
}



/* ! -- Menu dashboard -- */
/* ----------------------------------------- */
.menu{
    position: relative;
}

.menu li{
    cursor: pointer;
}
.menu li a{
    display: block;
    margin: 0;
    text-transform: uppercase;
}
.menu li a .icon{
    position: relative;
    display: inline-block;
    height: 50px;
    min-width: 50px;
    line-height: 50px;
    text-align: center;
    padding-left: 10px;
}
.menu li a span:nth-of-type(2){
    position: relative;
    height: 50px;
    line-height: 50px;
    font-size: 13px;
}
.menu li div{
    position: relative;
}
.menu li:not(.not-active):hover,
.logout:hover{
    background: rgba(255,255,255,.05);
}
.menu li.active{
    border-left: 3px solid;
    background: rgba(255,255,255,.05);
}
.menu li i{
    /*color: orange;*/
    margin-right: 10px;
    font-size: 14px;
}
.menu li a,
.logout{
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.angle-menu{
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.sub-menu{
    display: none;
}

.sub-menu li a {
    padding: 20px 20px 20px 50px;
    text-transform: capitalize;
}
.sub-menu li:hover a{
    color: #fff;
}

.logout{
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 20px;
    cursor: pointer;
    width: 100%;
}
.logout i{
    margin-right: 7px;
}







/* ! -- Preventivo -- */
/* ----------------------------------------- */
.preventivi{ margin-top: 35px; }

.card-prev{ background: #fff; border-radius: 8px; box-shadow: 0 0 10px 4px rgb(0 0 0 / 1%); }
.card-prev .header{
    padding: 25px;
    border-bottom: 1px solid rgba(0,0,0,.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.card-prev .header h2{
    font-family: "Basis Regular", sans-serif;
    color: #000;
    margin-right: 10px;
}
.card-prev .header .btn-header .btn{ margin-top: 0; margin-bottom: 0; }
.card-prev .header p{ transform: translateY(3px) }
.card-prev .main{ padding: 25px; }

.grid-input{ display: flex; flex-wrap: wrap; margin: 0; }
.grid-input .item-input{ flex-basis: 23% }
.grid-input:last-of-type .item-input{ margin-bottom: 0; }

.form-dash .grid-input:last-of-type .item-input{ margin-bottom: 25px; }

.add-dettaglio{
    width: 75%;
    margin:15px auto 0;
    border: 1.5px dashed orange;
    padding: 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: .15s ease-in-out;
}
.add-dettaglio:hover{ color: orange }
.add-dettaglio i{margin-right: 15px}

.architetti{ display: block; }

.dettagli-prev { display: none }
.dettagli-prev .tabs-content{ padding: 25px; }

.id_pre{ display: none }

.item-tab-dettaglio{
    padding: 25px 0;
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(0,0,0,.1);
}
.table-left tr td{ text-align: left !important; }
.table-left tr td i{
    display: block;
    text-align: center;
    font-size: 14px;
    color: red;
}
.input-currency{ display: flex; width: 120px }
.input-currency .money{ padding: 5px 7px; background: #eeeeee; flex-basis: 10%; border:1px solid #ddd; border-right: none; }
.input-currency input{ text-align: right; padding: 5px 7px; background: #fff; width: 90%; border:1px solid #ddd }

.totali-prev { display: none; overflow: auto }
.totali-prev, .stampa-prev { min-height: 300px; }
.card-mini .header { padding: 10px 20px; }
.card-mini .header h2 { font-size: 18px; }

.table-tot{ text-align: center !important; margin:0 !important; }
.table-tot tr td .input{ width: 150px; padding: 10px;}
#btnModificaDettagli, #btnAggiungiDettagli{display:none}
.addDettagli{ max-height: 75%; width: 75%; overflow: auto }

.add-extra{ float: right; }
.add-extra .btn{ margin-left: 15px; }
.add-extra label{ user-select: none !important; cursor: pointer; }

.card-prev { margin-bottom: 35px }
.card-prev .main table{ margin-top: 0 }

#tblTotali tr td .input{ text-align: right; font-size: 12px; }
#tblTotali tr td .input:not(.txtTotScont){ width: 50px; }
#tblTotali tr td .input.txtTotScont{ width: 100px; }
#btnModificaImporti{ display: none }

.table-dett tbody tr td:nth-of-type(2), .table-dett-add tbody tr td:nth-of-type(2){ min-width: 550px !important;}
.table-dett tbody tr td:nth-of-type(4) .input-currency, .table-dett-add tbody tr td:nth-of-type(3) .input-currency{ width: 75px !important;  }
.table-dett tbody tr td:nth-of-type(3) .input-currency, .table-dett-add tbody tr td:nth-of-type(2) .input-currency{ width: 75px !important;}

#tblTotali tr td:nth-of-type(5) .input-currency{ width: 85px !important;}
#tblTotali tr td:nth-of-type(5) .input-currency input{ width: 100%;}

.stampa-prev {
    width: calc(100% - 850px);
    min-width: 240px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    margin-top: -30px;
}
.stampa-prev .item { margin: 0; flex-basis: 47% !important; }

.itemDetailPrev{
    border: 1px solid rgba(0,0,0,.1);
    padding: 25px;
    border-radius: 10px;
    cursor: pointer;
    transition: .35s;
    position: relative;
    margin-bottom: 15px;
}
.itemDetailPrev .deleteDetail{
    background: orange;
    height: 22px;
    width: 22px;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 0;
    transform: translate(-30%, -30%);
    color: #fff;
    text-align: center;
    line-height: 24px;
    font-size: 11px;
}
.itemDetailPrev:hover{
    border-color: #000;
    box-shadow: 0px 0px 10px 5px rgba(0,0,0,.1);
}

.itemDetailPrev .table{
    /*width: 650px;*/
    width: 100%;
}
.itemDetailPrev .table tbody td{ padding: 5px !important; font-size: 14px; height: 40px; }
.itemDetailPrev .table tbody td .input{ font-size: 14px; padding: 6px 10px; margin: 0; }
/*.itemDetailPrev .table tbody td .input{border: none !important;}*/

.warnPrev{
    color:red;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

@media (max-width: 1400px){
    .totali-prev, .stampa-prev { flex-basis: 100% !important; }
    .stampa-prev .item { margin-bottom: 50px; }
}
@media (max-width: 676px){
    .totali-prev, .stampa-prev { flex-basis: 100% !important; }
    .dettagli-prev{ max-width: 100%; overflow: auto}
    .dettagli-prev .tabs-content{ min-width: 411px !important; }
    .card-prev .header .btn-header .btn{ float: right; }
    .stampa-prev .item { margin-bottom: 50px; }
}








/* ! -- Settings -- */
/* ----------------------------------------- */
.row_sub{ display: none; }
.row_sub td{
    background: #d9d9d9 !important;}

.settings, .grid-settings{ margin-top: 35px; }
.grid-settings .item{
    display: none;
    border: 1px solid #ececec;
    background: #fff;
    padding: 10px 25px;
    border-radius: 6px;
    width: 450px;
}
.grid-settings .item .item-data {
    border-bottom: 1px solid #ececec;
    padding: 15px 0;
}
.grid-settings .item .item-data:last-of-type{ border: none;}
.grid-settings .item .item-data input{ background: transparent; border: 1px solid #ececec !important; padding: 5px; flex-basis: 60%; }
.grid-settings .item .item-data i{ color: red; cursor: pointer; }

@media (max-width: 676px) {
    .grid-settings .item { width: 100%; overflow: auto; }
    .grid-settings .item .item-data input{ flex-basis: 90%; }
    .grid-settings .item .item-data { width: 300px; }
}

@media (max-width: 998px) {

}




/* ! -- Cantieri -- */
/* ----------------------------------------- */
.form-dash.photo { text-align: center; width: 750px !important; max-height: 90% !important; overflow: auto !important; }
.form-dash.photo #video { margin: 20px auto; }

.container-picture { border: 3px dashed #ddd; padding: 20px; }
.image-picture{ display: block; }
.container-picture .input{ height: 40px; margin-left: 10px; margin-bottom: 25px; }

.container-file { margin: 35px 0; }
.container-file .grid{max-width: 600px;}
.container-file .grid:not(.grid-files-drive){ margin-bottom: 10px; }
.container-file b.title-file{ margin-bottom: 10px; color: #000 }

.grid-up-folders .item b{ color: #000 }
.area-upload{
    border: 2px dashed #ddd;
    height: 300px;
    width: 100%;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    transition: .2s;
}
.area-upload.small{height: 135px;}
.area-upload.small:nth-of-type(1){margin-bottom: 10px;}
.area-upload i{ font-size: 50px; opacity: .3; transition: .2s; }

.addCan .title{ margin-bottom: 25px; }
#defaultRoot{float: right}
#tblCantieri tr td i{ cursor: pointer; }

.item-tabs.disegni{display: block}
.file-tabs{
    cursor: pointer;
    border-radius: 30px;
    padding: 10px 20px;
    background: rgba(255, 165, 0, .65);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px !important;
    max-width: 450px;
}
.file-tabs:hover{ background: rgba(255, 165, 0, 1); }
.file-tabs p{ font-size: 14px; color: #fff; }
.file-tabs p:hover{ border-bottom: 1px solid #fff }
.file-tabs i { color: #fff; margin-left: 12px; }
.file-tabs i:hover { color: red }

.item-tabs.canierti_main .grid{ min-height: 125px; min-width: 100% !important; transform: translateY(-20px) translateX(-30px)}
.item-tabs.canierti_main .item{padding: 10px; min-height: 125px !important; border-right: 1px solid rgba(0,0,0,.1);}
.item-tabs.canierti_main .item:nth-of-type(3){ border: none;}
.item-tabs.canierti_main .grid .item b{ display: block; margin-bottom: 10px !important; color: #000; }

.item-tabs.avvolgibili{ display: none; }

@media (max-width: 676px) {
    .item-tabs.canierti_main .grid{
        transform: translateY(-20px) translateX(0px)
    }
    .item-tabs.canierti_main .item{
        border-bottom: 1px solid rgba(0,0,0,.1);
        border-right: none;
        margin: 15px 0;
    }
}





/* ! -- Rilevamento misure -- */
/* ----------------------------------------- */
.flickity-button-icon{
    transform: scale(.6);
}
.tblMisure .input{
    margin: 0;
}
.header-dett{
    padding: 20px 25px;
}

.slider{
    position: relative;
    height: 750px;
    width: 100%;
}
.slider .carousel-cell{
    height: 600px;
    width: 100%;
    padding: 30px;
    overflow: auto;
}
.flickity-page-dots {
    position: relative;
}

.flickity-page-dots .dot{
    margin: 5px 6px;
    width: 8px;
    height: 8px;
}

.flickity-page-dots .dot.is-selected{
    background: orange;
}






/* ! -- Components -- */
/* ----------------------------------------- */
.iconCamera{
    color: #fff;
    position: absolute;
    right: 15px;
    bottom: 15px;
    font-size: 25px;
    cursor: pointer;
    transition: .35s;
}
.iconCamera.active{
    transform: scaleX(-1);
}
.spanRoleInput{
    cursor: text;
    display: block;
    position: relative;
    margin-bottom: 7px;
    width: 100%;
    color: #000;
}

.spanRoleInput:before{
    content: '';
    position: absolute;
    left: 0;
    top: 101%;
    height: 1px;
    width: 100%;
    background: rgba(200,200,200, 1);
    margin-top: 7px;
}

.opacity{
    opacity: .3;
}

.title{
    font-family: 'Poppins', sans-serif;
    font-size: 23px;
    color: #000;
    text-transform: uppercase;
}

/* ------------------------------------------------------------------- */
.btn{
    background: orange;
    color: #ffffff;
    border: 1px solid orange;
    margin: 10px 0;
    outline: 0 none;
    border-radius: 4px;
    padding: .6rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn i{ margin-right: 10px; }

.btn.center{position: relative; left: 50%; transform: translateX(-50%);}
.btn:hover{ background: #e39401; border-color: #e39401; color: #ffffff; } 
.btn:focus{ outline: 0 none; outline-offset: 0; box-shadow: 0 0 0 0.2em rgb(238, 207, 150); border-color: #e39401 !important; } 

.btn.dark{ background: rgba(50,50,50,1); border: 1px solid rgba(50,50,50,1); }
.btn.dark:hover{ background: rgba(50,50,50,.9); }
.btn.dark:focus{ box-shadow: 0 0 0 0.2em rgb(172, 172, 172); border-color: rgba(50,50,50,.9) !important; }

.btn.btn-danger{ background: rgb(228, 60, 60); border: 1px solid rgb(228, 60, 60); }
.btn.btn-danger:hover{ background: rgb(201, 42, 42); }
.btn.btn-danger:focus{ box-shadow: 0 0 0 0.2em rgb(228, 60, 60, .5); border-color: rgb(201, 42, 42) !important; }

.btn.btn-info{ background: rgb(34, 90, 243); border: 1px solid rgb(34, 90, 243); }
.btn.btn-info:hover{ background: rgb(18, 64, 189); }
.btn.btn-info:focus{ box-shadow: 0 0 0 0.2em rgba(34, 90, 243, .6); border-color: rgb(18, 64, 189) !important; }

.btn.btn-flat{
    background: transparent;
    color: orange !important;
    border-color: transparent;
}
.btn.btn-flat *{
    color: orange !important;
}

.btn.btn-icon-only{padding: .6rem;}
.btn.btn-icon-only i{margin: 0;}
/* ------------------------------------------------------------------- */

.btn.extra-small{ padding: 5px 10px; }

.btnFile{ font-size: 13px !important; display: flex; align-items: center; justify-content: space-between; }
.btnFile i{ margin-right: 12px; }

.icon-input{
    border-radius: 4px;
    display: block;
    background: orange;
    padding: 5px;
    font-size: 12px !important;
    color: #fff !important;
}

.table {
    margin-top: 35px;
    font-size: 14px;
    border-collapse: collapse !important;
}
.table th{
    text-transform: uppercase;
    font-size: 8.5pt;
    background: rgba(50,50,50,1);
    color:#fff;
}
.table th, .table td:first-child {
    padding: 10px 20px;
}
.table td {
    user-select: none;
    border:1px solid rgba(50,50,50,.3);
    padding: 10px 20px !important;
    background: #f8f9fa;
    text-align: center;
}
.table-dett tr{position:relative;}
.hideTr{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.1);
    z-index: 22;
    display: none;
}
.table-dett tr:hover td, .table-dett-add tr:hover td{background: #d7d7d7;}
.target_nota{
    position: relative;
    overflow: hidden;
}
.target_nota:before{
    position: absolute;
    content: '';
    height: 17px;
    width: 17px;
    background: red;
    right: -1px;
    top: 0;
    transform: rotate(45deg) translate(-50%, -50%);
}
.showNota{
    left: 0;
    top: 0;
    display: none;
    position: absolute;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
    border: 2px solid orange;
    max-width: 400px;
    background: #fff;
    z-index: 999999999999999999;
}
.showNota p{font-size: 14px;line-height: 20px}

.table td i{
    color: #000;
    cursor: pointer;
    font-size: 18px;
}

.dataTables_wrapper{
    margin-top: 10px;
}
.dataTables_length, .dataTables_filter{
    margin-bottom: 15px;
}
.dataTables_paginate, .dataTables_info{
    margin-top: 10px;
}

label{ user-select: none; }

.input[type = 'checkbox'],
label{
    cursor: pointer;
}

.input{ width: 250px; }

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

.input,
.dataTables_filter input,
.dataTables_length select{
    font-size: 14px;
    margin-top: 10px;
    color: #696e72;
    background: #ffffff;
    padding: .6rem 1rem;
    border: 1px solid #ced4da;
    margin: 10px 0;
    outline: 0 none;
    border-radius: 4px;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.dataTables_filter input,
.dataTables_length select{
    padding: .5rem 1rem;
    margin: 0 10px;
}

.input:hover,
.dataTables_filter input:hover,
.dataTables_length select:hover{
    border-color: orange;
}

.input:not([type = 'checkbox']):focus,
.dataTables_filter input:focus,
.dataTables_length select:focus{
    outline: 0 none;
    border-color: orange;
    box-shadow: 0 0 0 0.2em rgb(238, 207, 150);
}

.filter-bg{
    display: none;
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .7);
    z-index: 99;
}

@media (max-width: 667px) {
    .dataTables_wrapper{
        margin-top: 30px;
    }
    .dataTables_length, .dataTables_filter, .dataTables_paginate, .dataTables_info
    {
        text-align: left !important;
    }
}

.p-text-center{text-align: center;}

.divider{ border-top: 1px solid rgba(0,0,0, .2); }

.p-mt-1{margin-top: 10px;}
.p-mt-2{margin-top: 20px;}
.p-mt-3{margin-top: 30px;}
.p-mt-4{margin-top: 40px;}

.p-mb-1{margin-bottom: 10px;}
.p-mb-2{margin-bottom: 20px;}
.p-mb-3{margin-bottom: 30px;}
.p-mb-4{margin-bottom: 40px;}

.p-ml-1{margin-left: 10px;}
.p-ml-2{margin-left: 20px;}
.p-ml-3{margin-left: 30px;}
.p-ml-4{margin-left: 40px;}

.p-mr-1{margin-right: 10px;}
.p-mr-2{margin-right: 20px;}
.p-mr-3{margin-right: 30px;}
.p-mr-4{margin-right: 40px;}

.loader{
    display: none;
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .7);
    z-index: 999999999;
}
.loader .icon{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 13px solid #f3f3f3;
    border-top: 13px solid orange;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: rotate 2s linear infinite;
}

.grid-doc{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.grid-doc .item{
    cursor: pointer;
    display: flex;
    align-items: center;
    border-radius: 30px;
    padding: 15px 20px;
    background: rgba(255, 165, 0, .5);
    margin: 0 15px 15px 0;
}

.grid-doc .item i{
    margin-left: 10px;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}





/* -------
IZITOAS
------------------ */
.iziToast-capsule{
    width: 90%;
    margin: 0 auto;
    z-index: 99999999999999999;
}
.iziToast,
.iziToast:after{
    font-family: "Basis Regular" !important;
    border-radius: 10px !important;
}
.iziToast > .iziToast-progressbar{
    left: 50%;
    width: calc(100% - 13px);
    transform: translateX(-50%);
}

.iziToast.iziToast-color-orange {
    background: rgba(255,207,165,.95);
    border-color: rgba(255,207,165,.95);
}

.iziToast.iziToast-color-green {
    background: rgba(166,239,184,.95);
    border-color: rgba(166,239,184,.95);
}

@media (max-width: 667px) {
    .iziToast{
        margin: 10px 0 0 0;
    }

    .iziToast.iziToast-color-orange {
        background: rgba(255,207,165,1);
        border-color: rgba(255,207,165,1);
    }

    .iziToast.iziToast-color-green {
        background: rgba(166,239,184,1);
        border-color: rgba(166,239,184,1);
    }
}



#tblPagamenti .input{
    margin: 0;
}





/* !-- PAINT -- */
/* ---------------------------------------- */




/* !-- ACCORDION -- */
/* ---------------------------------------- */
.accordion-container{
    padding: 2rem;
    background: #fff;
}

.accordion-container h1{
    font-size: 18px;
    color: #000;
    margin-bottom: 10px;
}

.accordion-header-container{    
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin-top: 20px;
    user-select: none;
}

.accordion-header-container .accordion-header{
    font-family: "Poppins", sans-serif;;
    background: #f8f9fa;
    color: #495057;
    font-size: 14px;
    padding: 1rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    transition: .3s ease-in-out;
    border-bottom: 1px solid #dee2e6;
    cursor: pointer;
}

.accordion-header-container .accordion-header:last-child{
    border: none;
}

.accordion-header-container .accordion-header:hover{
    border-color: #dee2e6;
    background: #e9ecef;
    color: #495057;
}

.accordion-header-icon-container{
    width: 10px;
    margin-right: 10px;
}

.accordion-data{
    display: none;
    background: #fff;
    padding: 1rem;
}

.accordion-title{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}