@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&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{
    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;
}

@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: 60px;
}
.login-content{
    max-width: 750px;
    margin: auto;
    text-align: center;
}
.login-content img{
    width: 320px;
    margin-bottom: 65px;
}
.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%;
    border-radius:10px;
    padding: 50px 40px;
}
.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-top: 50px;
    margin-bottom: 0;
    width: 115px;
}
.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.event .grid{
    justify-content: center;
}
.form-dash:not(.event) .btn{
    width: auto;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.form-dash.delete p b{
    text-transform: capitalize;
}

.status-dialog{
    padding: 40px;
    font-size: 18px;
}

.tr_data_arrivo{
    width: 100px !important;
}

@media (max-width: 800px) {
    .item-input{
        flex-basis: 40% !important;
    }
}
@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%;
}

.grid-col5 .item{
    flex-basis: 18%;
}

@media (max-width: 800px) {
    .grid .item{
        flex-basis: 100% !important;
    }
}






/* ! -- 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 25px 0;
}
.item-input input,
.item-input select,
.item-input textarea{
    width: 100% !important;
}
.item-input strong{
    color: red;
}
.menu-tabs{
    display: flex;
}
.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;
}

.menu-tabs li.error i{
    color: red;
}

.menu-tabs li.error:not(.active){
    color: red;
}

.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;
    }
}

@media (max-width: 667px){
    #tabs {
        min-width: 350px !important;
    }
}





/* ! -- Dashboard -- */
/* ----------------------------------------- */
.header-info { position: relative; }
.nav-icon{ 
    display: none;
    position: absolute;
    z-index: 99;
    top: 50%;
    left: 10px;
    transform: scale(.9) translateY(-50%);
    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;
}

.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 20px;
    }
    .dashboard .item.header{
        transform: translateX(-100%);
    }
    .dash-home img{
        width: 80%;
    }
    .dashboard .item.main{
        width: 100%;
        left: 0;
    }

    .nav-icon{
        display: block;
    }
}




/* ! -- 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 -- */
/* ----------------------------------------- */
#account{
    padding: 6px;
    border-radius: 50%;
    cursor: pointer;
    transition: .36s;
    display: block;
    margin: 0 0 0 10px;
    color: #222;
}

#account:hover{
    background-color: orange;
    color: #fff;
}


.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;
}





/* ! -- Calendar -- */
/* ----------------------------------------- */
#calendar{
    margin-top: 25px;
    text-transform: capitalize;
}
.fc-toolbar{
    margin-bottom: 45px !important;
}
.fc-day-header{
    padding: 15px !important;
    background: rgb(50, 50, 50);
    color: #fff;
    border-color: rgba(255,255,255,.3) !important;
}
.fc-button{
    background: rgba(50,50,50,1);
    text-shadow: none !important;
    border-radius: 0 !important;
    color: #fff !important;
    margin: 0 7px !important;
    box-shadow: none !important;
    cursor: pointer;
    font-family: "Basis Regular", sans-serif !important;
    text-transform: capitalize;
    font-size: 14px !important;
    height: auto !important;
    padding: 7px 20px !important;
    border: none;
}
.fc-right .fc-button{
    background: rgba(50,50,50,.7);
}
.fc-right .fc-button.fc-state-active{
    background: rgba(50,50,50,1);
}
.fc-event{
    /*background: orange !important;*/
    padding: 5px;
    margin-bottom: 3px;
    border: 1px solid #fff;
}
.fc-time{
    font-weight: normal !important;
    margin-right: 5px;
}





/* ! -- Preventivo -- */
/* ----------------------------------------- */
.preventivi{ margin-top: 35px; }

.card-prev{ background: #fff; border-radius: 8px; box-shadow: 0 0 6px 0 rgba(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;
    border-radius: 8px;
    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: 25px }
.card-prev .main table{ margin-top: 0 }

#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;}

.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; }

@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; }
}




/* ! -- Contratto -- */
/* ----------------------------------------- */
.contratti{ margin-top: 35px; }
.cessione_contratto{float: right; margin: -35px 20px 0 0; padding-bottom: 5px; width: 155px;}
#tblModPag{ min-width: 650px; }
#tblModPag tr td:nth-of-type(1) .input-currency{ width: 90px; }
#tblModPag tr td:nth-of-type(2) .input-currency{ width: 175px; }
#tblModPag tr td i{ color:red }

.grid-doc .item{
    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;
    width: auto !important;
}
.grid-doc-ana{justify-content: normal}
.grid-doc-ana .item{ margin-right: 20px !important;}
.grid-doc .item:hover{ background: rgba(255, 165, 0, 1); }
.grid-doc .item p{ font-size: 14px; color: #fff; }
.grid-doc .item p:hover{ border-bottom: 1px solid #fff }
.grid-doc .item i { color: #fff; margin-left: 12px; }
.grid-doc .item i:hover { color: red }

@media (max-width: 676px) {
    .card-prev{ flex-basis: 100% !important; }
}

@media (max-width: 998px) {
    .cessione_contratto{ float: none !important; margin: 15px 0 0 0 !important; }
}





/* ! -- Cronoprogramma -- */
/* ----------------------------------------- */

#tblCrono_wrapper, #tblTemplateCrono_wrapper, .categorie_template{ margin-top: 25px; }

#showElencoCrono{ display: none; }
#showShowTypeTemplateCrono, #showTemplateCrono {float: right;}
#aggiornaTemplateCrono, #aggiornaTypeTemplateCrono, #showAddEventoCrono, #showImportEventoCrono, #btnStampaCrono{ float: right; display: none; }
#tblTemplateCrono_wrapper{ display: none; }

#tblTemplateCrono input:not([type=color]),
#tblTemplateCrono select,
#tblTipologiaTemplateCrono input:not([type=color]){
    width: 100%;
    padding: 5px;
}

.intro-crono{ margin-bottom: 25px; }
.intro-crono .btn{ margin: 0 15px 0 0 }
.intro-crono .grid{ justify-content: normal; }
.intro-crono .grid .item{ margin-right: 25px; }


#gantt {
    max-width: 100%;
    max-height: 700px;
    overflow: auto;
    display: flex;
    border: 1px solid rgba(0,0,0,.1);
    border-top: none;
    font-size: 14px !important;
    display: none;
}

#gantt.cronoOperai{
    overflow-x: hidden;
}

#gantt .cell{
    border: 1px solid rgba(0,0,0,.1);
    padding: 5px;
}
#gantt .cell.current-date{
    background: rgba(255, 165, 0, .7);
    color: #fff;
    border: 1px solid none;
}
#gantt.cronoGenerale .header-gantt{padding-top: 67px;}
#gantt .header-gantt{ width: 200px; height: 100% !important; padding-top: 72px; border-right: 1px solid rgba(0,0,0,.1); border-top: 1px solid rgba(0,0,0,.1); position: relative; z-index: 20; background: #f3f3f4; }
#gantt .main-gantt{ width: calc(100% - 200px); position: relative; }

#gantt .main-gantt .menu-week{ display: flex; position: relative; z-index: 19; background: #f3f3f4; }
#gantt .main-gantt .menu-week .item { background: #f3f3f4; }

#gantt .main-gantt .menu-week .header-item{ width: 350px; }

#gantt.cronoOperai .main-gantt .menu-week .header-item{ width: 100%; }

#gantt.cronoGenerale .main-gantt .menu-week .header-item{ width: 85px; }
#gantt .main-gantt .menu-week .main-item{ display: flex; align-items: center; justify-content: space-between; }
#gantt:not(.cronoGenerale) .main-gantt .menu-week .main-item .cell{ width: 50px; }

#gantt.cronoOperai .main-gantt .menu-week .main-item .cell{ height: 45px; }

#gantt .header-gantt ul li,
#gantt .main-gantt .tasks .container{
    height: 40px;
    line-height: 40px;
	position: relative;
    padding-left: 10px;
}

#gantt .header-gantt ul li.filter::before,
#gantt .task.filter::before{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, .7);
}

#gantt .header-gantt ul li:nth-of-type(even),
#gantt .main-gantt .tasks .container:nth-of-type(even){
    background: #fff;
    transform: translateX();
}

.task{
	border-radius: 30px;
    height: 22px;
    /*top: 100px;*/
    position: absolute;
	top: 50%;
	transform: translateY(-50%);
    cursor: pointer;
    z-index: 1;
    overflow: hidden;
    border: none;
}

#gantt.cronoOperai .task{ border-radius: 0; height: 100%; }
#gantt.cronoOperai .task.filter::before{ background: rgba(255, 255, 255, .85); }

.task .complete {
    border-radius: 30px;
    height: 100%;
}

.tooltip-task{
    position: fixed;
    background: #fff;
    padding: 17px;
    min-width: 275px;
    max-width: 400px;
    box-shadow: 0 0 10px 4px rgba(0,0,0,.1);
    z-index: 999;
    display: none;
}
.tooltip-task p{
    display: flex;
    justify-content: space-between;
    margin-bottom: 13px;
}
.tooltip-task p:last-child{
    margin-bottom: 0;
}

@media (max-width: 676px) {
    #aggiornaTemplateCrono,
    #aggiornaTypeTemplateCrono,
    #showAddEventoCrono,
    #showImportEventoCrono,
    #showShowTypeTemplateCrono, #showTemplateCrono, #showAddCrono{
        float: none;
        margin-bottom: 15px;
    }

    #gantt{
        min-width: 850px !important;
    }

    #tblTemplateCrono input:not([type=color]),
    #tblTemplateCrono select,
    #tblTipologiaTemplateCrono input:not([type=color]){
        width: 250px;
    }
}

@media (max-width: 998px) {

}




/* ! -- Fatturazione -- */
/* ----------------------------------------- */
#dettaglio_fattura{display: none;}

.indirizzoImm{ display: none; }

.dettaglio-fatt{
    width: 75%;
    margin:15px auto 0;
    background: #fff;
}
.dettaglio-fatt .rimuovi_dettaglio{
    cursor: pointer;
    background: orange;
    color: #fff;
    height: 23px;
    width: 23px;
    text-align: center;
    line-height: 24px;
    border-radius: 50%;
}

.tblRiepilogo tr td{
    text-align: left;
}

@media (max-width: 676px){
    .dettaglio-fatt .main .item-input{
        flex-basis: 100% !important;
    }
}





/* ! -- 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: 1100px) {
    .grid-card-testata .item {
        flex-basis: 100% !important;
    }
}




/* ! -- 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.rilievi{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; }

@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;
    }
}


/* !-- Fatturazione -- */
/* ---------------------------------------- */
#btnAddDetails{ display: none; }





/* !-- Contabilitò -- */
/* ---------------------------------------- */
#dettaglio_acquisto, 
#gestione-pagamenti { display: none; }

.tabContabilitaDoc .tabs-content .item-tabs.documenti{display: block;}

.card-effect{
    padding: 15px;
    /*min-height: 175px;*/
    background: #FFE9AC;
    flex-basis: 12%;
    border-radius: 13px;
    cursor: pointer;
    /*transition: .2s ease-in-out;*/
    position: relative;
    margin: 0 20px 20px 0;
}
/*.card-effect:hover{background: #ffd563 !important;}*/

.card-effect .status{
    color: #000;
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: -10px;
    text-align: right;
}
.card-effect .card-title{
    margin-bottom: 10px;
    font-size: 14px;
    color: #000;
    line-height: 1.35;
}

@media(max-width: 767px){
    .card-effect{
        flex-basis: 33%;
    }
}





/* !-- 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;
}




/* ! -- Bollatrice -- */
/* ----------------------------------------- */
.container-bollatrice{
    position: absolute;
    top: 75px;
    left: 50%;
    transform: translateX(-50%);
}

.container-bollatrice .container-bollatrice-intro{
    margin-bottom: 20px;
    text-align: center;
}

.container-bollatrice .container-bollatrice-intro img.logo{ width: 250px; margin-bottom: 40px;}
.container-bollatrice .container-bollatrice-intro p{ width: 400px; max-width: 90%; margin: 20px auto; line-height: 25px; }


.container-bollatrice .container-bollatrice-form{ width: 300px; max-width: 100%; margin: 20px auto; }
.container-bollatrice .container-bollatrice-form .input,
.container-bollatrice .container-bollatrice-form .btn{ display: block; width: 100%; }

.container-bollatrice .container-bollatrice-form #address-register{ font-size: 14px; }
.container-bollatrice .container-bollatrice-form .container-bollatrice-reminder{ color: red; font-size: 14px; margin-top: 20px; }





/* ! -- Elements -- */
/* ----------------------------------------- */
.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: 12px 22px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.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); } 

.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); }

.btn.small{ padding: 10px 20px; }

.btn.btn-icon{padding: 10px; margin: 0;}

.btnFile{ font-size: 13px !important; display: flex; align-items: center; justify-content: space-between; }
.btnFile i{ margin-right: 12px; }

.container-table{
    max-width: 100%;
    min-width: 100%;
    overflow: auto;
    padding-bottom: 35px;
}
.table {
    margin-top: 35px;
    font-size: 12px;
    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: 8px 20px;
}
.table td {
    border:1px solid rgba(50,50,50,.3);
    padding: 6px 20px !important;
    background: #f8f9fa;
    text-align: center;
}

.table-color-refactor td{
    background: #f8f9fa;
    border: 1px solid #dee2e6;
}

.table .input{
    margin: 0 !important;
}

.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;
    cursor: help;
}
.target_nota:before{
    position: absolute;
    content: '';
    height: 17px;
    width: 17px;
    background: rgb(255, 74, 74);
    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-radius: 8px;
    border: 2px solid orange;
    max-width: 400px;
    background: #fff;
    z-index: 999999999;
}
.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;
}

.input{
    width: 250px;
}

.input.right{
    text-align: right;
}

.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: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);
}

.input.error{
    border: 1px solid red !important;
}

.filter-bg{
    display: none;
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .7);
    z-index: 99999;
}

.table tbody tr td .column-title{
    display: none;
    font-weight: bold;
    font-size: 14px;
}

@media (max-width: 667px) {
    .dataTables_wrapper{
        margin-top: 30px;
    }
    .dataTables_length, .dataTables_filter, .dataTables_paginate, .dataTables_info
    {
        text-align: left !important;
    }

    .table-responsive thead{background: rgba(50,50,50,1); height: 20px; display: block;}
    .table-responsive thead tr{ display: none; }
    .table-responsive tbody tr{
        overflow: hidden;
        border-top: 1px solid rgba(0, 0, 0, .25);
    }
    .table-responsive tbody tr td{
        display: flex !important;
        justify-content: space-between;
        width: 100% !important;
        border-top: none;
        border-color: rgba(0, 0, 0, .1);
        padding: 13px 20px !important;
        font-size: 14px;
    }
    .table-responsive tbody tr td .column-title{
        display: block;
    }
}

.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;
}

.divider{ border-top: 1px solid rgba(0,0,0, .4); }

.tabDettagliOther .note-tab{ display: none; }
.tabDettagliOther .extraDettaglioInputs{ display: none; }
.tabDettagliOther .menu-tabs li[data-tabs=extra]{ display: none; }
.tabDettagliOther .btnCreaSub{ display: none !important; }
.tabDettagliOther .tabs-content{ border-radius: 0 !important; }
.tabDettagliOther .btn{ left: 0 !important; transform: none !important; }

.tabDettagliOther .tabs-content{
    max-height: 100%;
}

.ui-card{
    margin-top: 10px;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, .1);
}

.ui-card-fix-top{
    padding-top: 20px;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* ---------
IZI TOAST
-------------------- */
.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);
    }
}