.topbar .top-navbar .navbar-header {
    background: none;
}

body.skin-blue .topbar {
    background: #d5bb3e6b;
}

body .logout {
    color: #59595B;
}

/* COLORI PULSANTI HOME */

body .gold {
    color: #d5bb3e6b;
}

.bg-gold {
    background-color: #d5bb3e6b;
}

body .history-dark {
    color: #59595B;
}

.bg-history-dark {
    background-color: #59595B;
}

body .client-green {
    color: #2f7849a1;
}

.bg-client-green {
    background-color: #2f7849a1;
}

body .order-blue {
    color: #2f3878a1;
}

.bg-order-blue {
    background-color: #2f3878a1;
}

/* FINE COLORI PULSANTI HOME */

/*pulsanti generici btn-info*/
body .btn-info {
    color: #fff;
    background-color: #59595B;
    border-color: #59595B;
}

body .btn-info:hover, body .btn-info:not(:disabled):not(.disabled).active, body .btn-info:not(:disabled):not(.disabled):active, body .show>.btn-info.dropdown-toggle, body .btn-info.focus, body .btn-info:focus {
    color: #59595B;
    background-color: #e3daa8;
    border-color: #e3daa8;
    box-shadow: none;
}

body .dropdown-item:focus, body .dropdown-item:hover {
    text-decoration: none;
    background-color: transparent;
}

body .preloader {
    background: #343a4094;
}

body .loader__label {
    color: #fff;
}
/*.custom-light-btn {
    background-color: #03a5f3a6;
}*/


.btn-add-opps {
    color: #28a745;
}

.popup_select_configuration {
    width: 30%;
    border-radius: 8px;
    box-shadow: 0 0 25px rgb(0 0 0 / 80%);
    padding: 20px;
}

.preloader {
    z-index: 9999999999;
}

body .form-material .form-control, body .form-material .form-control.focus, body .form-material .form-control:focus {
    background-image: linear-gradient(#af995f,#af995f),linear-gradient(#e9ecef,#e9ecef);
}

body .loader__figure {
    border: 0 solid #b6a451e6;
}

#title-new-model,.titleDlg {
    font-weight: bold;
    font-size: 20px;
}

.grid_model_opp .dhx_grid-row {
    cursor: pointer;
}

.svgAction {pointer-events: none;}

/*----------   FONT E STILI ELEMENTI DHTMLX -------------*/
.custom_font, .custom_font .dhx_grid-footer-cell, .custom_font .dhx_grid-header-cell, .custom_font .dhx_grid-cell, .custom_font .dhx_tree-cell, .custom_font .dhx_navbar-title, .custom_font .dhx_input, .custom_font .dhx_popup-content, .custom_font .dhx_label, .custom_font .dhx_button__text, .custom_font .dhx_alert__content, .custom_font .dhx_alert__header {
     font-family: 'Poppins','Segoe UI', 'Trebuchet MS', Tahoma, Arial, sans-serif;
}

.custom_download_pdf_popup .dhx_layout-cell.dhx_window-footer {
    margin: 0 auto;
}

.whiteGrid {
        --dhx-font-color-primary: black;
        --dhx-background-primary: white;
        --dhx-s-grid-header-background: lightgray;

        --dhx-border-color: #4A555E;
        --dhx-border: 0;
    }
    
.whiteGrid2 {
        --dhx-font-color-primary: black;
        --dhx-background-primary: white;
        --dhx-s-grid-header-background: lightgray;

        --dhx-border-color: #4A555E;
        --dhx-border: var(--dhx-border-width) solid var(--dhx-border-color);
    }

.arrow_popup {
	position: relative;
	background: #59595B;
	border: 2px solid #59595B;
        margin-left: -1%;
        margin-top: 2.2%;
}
.arrow_popup:after, .arrow_popup:before {
	bottom: 101%;
	left: 50%;
	border: solid transparent;
	content: "";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.arrow_popup:after {
	border-color: rgba(136, 183, 213, 0);
	border-width: 30px;
	margin-left: -30px;
}
.arrow_popup:before {
	border-color: rgba(194, 225, 245, 0);
	border-bottom-color: #59595B;
	border-width: 36px;
	margin-left: -36px;
}
.arrow_popup button {
    background-color: #59595B !important;
    border-radius: .3rem;
    margin: 0 auto;
}

.form-check input[type="radio"] {
  opacity: 0;
  position: fixed;
  width: 0;
}

.form-check input[type="radio"]:focus + label {
    border: 2px dashed #444;
}

.form-check input[type="radio"]:checked + label {
    background-color: #59595b2e;
    border-color: #59595B;
    border-radius: 10px;
}


/*body .layout-header .dhx_layout-cell-header {
    background: #59595B;
    border-radius: 10px;
}

body .layout-header .dhx_layout-cell-header .dhx_layout-cell-header__title, body .layout-header .dhx_layout-cell-header .dhx_layout-cell-header__collapse-icon {
    color: #fff;
}*/

body .layout-header .dhx_layout-cell-header.dhx_layout-cell-header--collapseble:hover .dhx_layout-cell-header__title, body .layout-header .dhx_layout-cell-header.dhx_layout-cell-header--collapseble:hover .dhx_layout-cell-header__collapse-icon {
    color: #d5bb3e6b;
}

/*evidenziazione mouseover colonne*/
.custom-pointer {
    cursor: pointer;
}
.customGridAddProd .dhx_grid-row:hover {
    background-color: #e0e0e0; /* Colore di evidenziazione quando il mouse è sopra */
}

.logoImg {width:50%;}

.noSpaces .dhx_layout-cell-header {padding:0!important;}
.noSpaces  {margin:0!important;}
.noHeader .dhx_layout-cell-header {padding:0!important}
.noHeader .dhx_input {background-color:white!important}
.mt-30  {margin-top:-30px!important}
.mt-40  {margin-top:-40px!important}
.mt-50  {margin-top:-50px!important}
.mt-62  {margin-top:-62px!important}

.dhx_tooltip{z-index:9999999999!important}

#grid_main label.dhx_grid-filter__label.dxi.dxi-magnify {margin-top:10px!important}

.rowProdF {background-color:#cccccc}
.rowProd {background-color:white}
.rowFase {background-color:#f8f8fa}

#menu_cnt {padding-left:50px;background-color:#a3c2e1;}

.customMenu{
        --dhx-background-primary: #a3c2e1;
        --dhx-background-additional: #0075bb;
        --dhx-s-toolbar-background: var(--dhx-background-primary);
        --dhx-font-color-primary: black;
        --dhx-font-size-normal:18px;
/*        --dhx-background-secondary: yellow;
        --dhx-color-primary: red;
        --dhx-color-primary-hover: black;
        --dhx-color-primary-active: green;
        --dhx-font-color-secondary: red;
        --dhx-font-color-additional: white;*/}
/*.customMenu--popup-menu{
    --dhx-tooltip-background-dark:red;
        --dhx-font-size-normal:100px;}*/

.customMenu li a{color:black!important}
.customMenu--popup-menu a:not(.dhx_menu-button--disabled a){color:black!important}

.customMenu--popup-menu li.dhx_menu-item{background-color: #a3c2e1;}

.rowMover {padding:2px 3px 2px 3px;background-color:lightgrey}
.rowMover:hover {background-color:lightblue}
    
.dhx_grid-selected-row {background-color: rgba(102, 204, 255, 0.4)!important;}

#cApG1_saveBtn{margin-left:515px}

.bluHeader .dhx_layout-cell-header {background-color:lightskyblue}

.toolbarGrid{margin-top:-10px!important}

#bodyCnt{background-color:white}

.pageFE {
    margin-top: 20px!important;
  }
  
  .current >.dhx_button {background-color:black;color:white;cursor:default}
  .current >.dhx_button a {color:white;cursor:default}
.current >.dhx_button:hover {background-color:black!important;color:white!important;cursor:default}

.hRow{visibility:hidden}

.cellSpad{padding:5px!important}
.cellSpad2{padding:2px!important}

.costSel{border:2px solid blue!important}
.redBord{border:2px solid red!important}
.yelBord{border:2px solid yellow!important}

.dhx_window-content-without-header {
    padding: 15px 8px!important;
}
.smallPadG .dhx_grid-cell {padding:2px!important;}
.smallPadG .dhx_grid-cell input{padding:0px!important;}

.totCell {font-weight:bold!important;}

.selectAlC select {text-align:center!important}
.btnMR1 {margin: 20px 0px 0px 210px}
.btnMR2 {margin: 0; padding:0;}

.wTit{font-weight:bold;font-size:150%;    background-color: lightblue;height: 50px;line-height: 50px;margin-bottom: 10px;}

.dhx_form-group--required:not(.dhx_form-group--label_sr) .dhx_label:not(.dhx_label--with-help):after {color:red!important}

.text-end input {text-align:right!important}

.colBold{font-weight:bold!important}
.colClick{color:#0075BB!important;cursor:pointer!important}
.colClick:hover{color:#A3C2E1!important}

.colClickB{color:#0075BB!important;font-weight:bold!important;cursor:pointer!important}
.colClickB:hover{color:#A3C2E1!important}

#searchResBox{overflow:auto;max-height:255px;width:100%;white-space: nowrap}

.priceCol{background-color:yellow}

.backRed{background-color:red!important}

#layout_ct div[data-cell-id="B4"] .dhx_form{padding:8px 100px 0px 100px!important}

.infoLabel label{color:grey!important;font-weight:normal!important;font-style:italic!important}

.gridTitle{background-color:#566B73!important;font-weight:bold!important;color:#ADD8E6!important}

.eurBtn {background-color:blue;color:white;padding:2px 5px}

.dubFont {font-size:200%}
.mezFont {font-size:170%}
.halFont {font-size:140%}
.eurBtn {background-color:blue;color:white;padding:2px 5px}

.login-register:not(.login) .alert.alert-success,
.login-register:not(.login) .alert.alert-danger{
    display:none;
}

.login-register.register #form_r .container,
.login-register.reset_password #form_rp .container,
.login-register.reset_password_insert #form_rpi .container{
    padding-right: 0px;
    padding-left: 0px;
}

.login-register.register,
.login-register.reset_password,
.login-register.reset_password_insert{
    position: relative;
}

.error-before-validate{
    color: var(--dhx-color-danger);
    font-size: var(--dhx-font-size-small);
}
.success-before-validate{
    color: var(--dhx-color-success);
    font-size: var(--dhx-font-size-small);
}

.hideDefaultValidation span.dhx_input__caption{
    display:none;
}

.toolBarFilterCss.dhx_toolbar{
    background-color: #a7a9ab;margin: 20px 0px 10px 0px}

.filterHTML{font-weight:bold; margin:0px 5px}

.highlight-date {color: #fff!important;}
.highlight-date:after {background-color: gray!important;opacity: 1!important;z-index: -3!important;}

.clearBtn {cursor:pointer;width:60px;background-color:#f5f5dc;border-radius: 15px;margin:0px 10px;padding:4px 20px 0px 20px}
.clearBtn:hover {background-color:#eee8aa}
.clearBtn span,.gf-selected i{transform: scale(1.2)}

.enlargeBtn button{font-size: 175%;
    line-height: 140%;
    padding: 5px 65px;border-radius: 10px;}

.gf-selected {cursor:pointer;width:60px;background-color:#0075BB;border-radius: 15px;margin:0px 10px;padding:4px 20px 0px 20px}
.gf-selected:hover {background-color:#A3C2E1}
.gf-selected span,.gf-selected i{transform: scale(1.2)}

.gf-unselected{cursor:pointer;width:60px;background-color: #B7B9BB;border-radius: 15px;margin:0px 10px;padding:4px 20px 0px 20px}
.gf-unselected:hover {background-color:gray}


.flag-icon-it {
    background-image: url(../../assets/icons/flag-icon-css/flags/it.svg)
}
.flag-icon-en {
    background-image: url(../../assets/icons/flag-icon-css/flags/en.svg)
}

.ti-pencil-alt:before {
    content: "\e61d";
}

.hidden-core{
    display: none;
}

.switch-lang #sidebarnav > li{
    width: 120px;
    text-align: center;
    padding: 5px 15px;
    font-weight: 400;
}

.switch-lang #sidebarnav>li>ul{
    width: 120px !important;
}

.login-register{
    margin-top: 50px;
}

/* styles for readonly */
.disabledRow .dhx_grid-cell:not(.dhx_boolean-cell) {
        cursor: not-allowed;
        user-select: none;
        color: var(--dhx-font-color-disabled);
}

.disabledRow .dhx_grid-cell:not(.dhx_boolean-cell) .dhx_grid-cell__content,
.disabledRow .dhx_grid-cell:not(.dhx_boolean-cell) .dhx_cell-editor__checkbox,
.disabledRow .dhx_grid-cell:not(.dhx_boolean-cell) .dhx_checkbox__visual-input {
        cursor: not-allowed;
        user-select: none;
        opacity: 0.5;
}


.dhx-demo_grid-user {
        
    }
    .boxed-list-gridcell {
        background: #eceaea;
        text-align: center;
        line-height: 23px;
    }
    /*.dhx-demo_grid-template {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }*/
    .dhx-demo_grid-status {
        width: 15px;
        height: 15px;
        border-radius: 50%;
        margin-right: 6px;
        font-size: var(--dhx-font-size-small);
    }
    .dhx-demo_grid-status--done {
        background-color: var(--dhx-color-success);
    }
    .dhx-demo_grid-status--in-progress {
        background-color: var(--dhx-color-primary);
    }
    .dhx-demo_grid-status--not-started {
        background-color: var(--dhx-color-danger);
    }
    
.grid.icon{
    font-size: 18px;
}

#mybarCnt{width:100%}
#mybar {color:black!important;font-weight:bold!important;font-size:250%!important;height:50px;}
  .customDv {
/*        --dhx-font-color-primary: #fff;
        --dhx-background-primary: #3A434A;
        --dhx-border: var(--dhx-border-width) solid var(--dhx-border-color);
        --dhx-color-primary: #118d8d;*/
        --dhx-border-color: #FFFFFF;
    }
    
.customDv .dhx_dataview-item {border:0}
    
.dvh80 {height:80px;overflow-x:none;overflow-y:auto}

.filterTypeBtn {
    width: 188px;
    background-color: white;
}

.filterTypeBtn button{
    width: 188px;
}
.form-area-privata > .container > div > button{
    display: none;    
}
.form-type-dic > div{
    padding: 0px;
}
.form-type-dic > div > div > div{
    margin: 0px;
}
.toolbar-dic{
    margin-top: 0px!important;
    padding: 0px;
}
.form-type-dic > .container > div > button{
    display: none;    
}
.form-type-dic .dhx_form{
    align-items: center;
    justify-content: center;
    flex-direction: row;
}
.form-type-dic .dhx_form .btnMR1{
    margin-top: 0px;
}

.svgAction:hover {
    fill:#e3daa8;
}

.text-darkgray {color:darkgray}

.blackFont {color:black;}


.schedaBGC {
    --dhx-background-primary: #EBF8FF;
/*     --dhx-background-secondary: #7a7a7a;
    --dhx-border-color: #bababa;
    --dhx-border: var(--dhx-border-width) solid var(--dhx-border-color);*/
}
.schedaBGC .dhx_layout-cell-header {background-color:lightskyblue!important}
.schedaBGC.dhx_layout-cell--collapsed {background-color:lightskyblue!important}

.dhx_dataview-item--selected {
    border-color: transparent;
    box-shadow: 0px 1px 5px 0px rgba(2, 136, 209, 0.5), inset 0px 0px 0px 3px rgba(2, 136, 209, 1);
    background-color:lightskyblue;
  }
  
.dv_title{font-weight:bold;margin-bottom:10px;text-align:center;overflow:hidden}

.whiteCell {
    --dhx-background-primary: white;
}

.highlightCell{background-color:yellow}
.editableRow{color:blue}

.costTab th{font-weight:bold;text-align:right;padding: 5px 10px;}
.costTab tr:nth-child(odd) td{padding: 5px 10px;text-align:right;background-color:lightgray}
.costTab tr:nth-child(even) td{padding: 5px 10px;text-align:right;background-color:#b6b6b6}

.orangeText {color: #FF5733 !important;}

.fontBlu{color:blue!important}


#form_dizionario_filtro{
    margin: 0px!important;
}

.toolBarCssOrder .sendOrderBtn button{
    background-color: var(--dhx-color-success);
}
.toolBarCssOrder .resetOrderBtn button{
    background-color: var(--dhx-color-danger);
}

.form_labels_left .dhx_layout-cell label.dhx_label,
#layout_o .dhx_form-group--inline .dhx_label,
#layout_o .dhx_form-group--inline .legend{
    text-align:left;
    justify-content: flex-start;
}
#layout_o .dhx_form-group{
--dhx-line-height-small:10px;
}

#layout_o .dhx_form-group--radio-group .dhx_label {
    margin-bottom: 0px;
}

.custom-window .formCss.max_height_200{
    height: 400px;
}

.formCss .dhx_form-group--container h4{
    text-transform: uppercase;
    padding:0px;
}

.custom-window{
    max-height:500px;
}

.orderPreview table td,
.orderPreview table th{
    padding: 5px;
}

.selected-row{
    background: lightcyan;
}
form#stockForm *{
    font-size: 6vh;    
}
form#stockForm input{
    border: 2px solid #0075BB;
    margin: 30px 0xp;
    width: 100%;
}
form#stockForm button{
    background: #0075BB;
    color: white;
    width: 100%;
}
.no-keyboard{
    pointer-events: visiblepainted;
}.orderPreview .card-header{
    padding: 8px 12px
}

.gridPleft .dhx_tree-cell .dhx_grid-expand-cell-icon{
    color: #0287CA;
}

.gridPleft .dhx_tree-cell .dhx_grid-expand-cell-icon:hover{
    color: #03a9f3;
}

.text-info {
    color: #0287CA !important;
}

.text-info:hover{
    color: #03a9f3 !important;
}

#toolbar_o button.filterTypeSelect{
    padding: 6px 8px;
    margin: 0;
    font-family: var(--dhx-font-family);
    font-size: var(--dhx-font-size-normal);
    line-height: var(--dhx-line-height-normal);
    color: var(--dhx-font-color-primary);
    background-color: var(--dhx-background-secondary);
    background-clip: padding-box;
    box-shadow: var(--dhx-shadow-input-size) var(--dhx-border-color);
    border: 0;
    border-radius: var(--dhx-border-radius);
    outline: 0;
    
    text-align: left;
}

#toolbar_o button.filterTypeSelect:focus {
    box-shadow: var(--dhx-shadow-input-size) var(--dhx-color-primary-active);
}

#toolbar_o .productFilterGroup{
    display:none;
}

#toolbar_o .productFilterGroup.display-flex{
    display:flex;
}

.custom-treegrid-parent{
    background: #e6e8e9;
}

.dhx_alert.text-danger .dhx_alert__content{
    color: #e46a76 !important;
}

div[data-cell-id="addressImportFile"],
div[data-cell-id="productImportFile"]{
    width:100% !important;
}

/*@media(max-width:1440px){*/
    .sticky-scroll-toolbar.sticky-on{
        position: fixed;
        z-index: 50;
        width: 100%;
        left: 0;
        top:0;
        box-shadow: 0px 1px 8px #d8d8d8;
    }
/*}*/

.redBoxInGrid{display:inline;background-color:red;color:white;font-weight:bold;padding:0px 3px}
/*}*/

.row#pagination_and_total_elements{
    background: white;
    margin: 0 auto;
    border: var(--dhx-border);
} 

.row#pagination_and_total_elements #pagination_totals{
    padding: 12px;
    font-weight: 400;
}

.row#pagination_and_total_elements .pagination-grid .dhx_pagination{
    border: 0;
}

.wrapper-not-fixed .sidebar-nav.switch-lang{
    position:fixed;
    top:0;
    right:0;
    z-index: 1;
}