.pagination ul > li.pag {
    float: left;
    padding: 6px 12px;
    line-height: 20px;
    text-decoration: none;
    background-color: #ffffff;
    border: 1px solid #dddddd;
    border-left-width: 0;
    color: #999999;
    cursor: default;
    background-color: transparent;
}

.pagination ul > li.pag:first-child {
    border-left-width: 1px;
    -webkit-border-bottom-left-radius: 4px;
    border-bottom-left-radius: 4px;
    -webkit-border-top-left-radius: 4px;
    border-top-left-radius: 4px;
    -moz-border-radius-bottomleft: 4px;
    -moz-border-radius-topleft: 4px;
}

.pagination ul > li.pag:last-child {
    -webkit-border-top-right-radius: 4px;
    border-top-right-radius: 4px;
    -webkit-border-bottom-right-radius: 4px;
    border-bottom-right-radius: 4px;
    -moz-border-radius-topright: 4px;
    -moz-border-radius-bottomright: 4px;
}

.pagination ul > li.pagnum > a{
    float: left;
    padding: 6px 12px;
    line-height: 20px;
    text-decoration: none;
    background-color: #ffffff;
    border: 1px solid #dddddd;
    border-left-width: 0;
    cursor: default;
    background-color: transparent;
}

.pagination ul > li.righepp {
    float: left;
    padding-left: 5px;
    padding-top: 2px;
    border: 0px solid #dddddd;
    background-color: transparent;
}


.table > tbody > tr > td[rowspan] {
  vertical-align: top;
  text-align: left;
}


.change-icon > .fa + .fa,
.change-icon:hover > .fa {
  display: none;
}
.change-icon:hover > .fa + .fa {
  display: inherit;
}


.checkbox+.checkbox, .radio+.radio {
     margin-top: 5px; 
}

.checkbox label, .radio label {
    min-height: 40px;
    padding-left: 0px;
    margin-bottom: 0;
    font-weight: 400;
    cursor: pointer;
    height: 0px;
}

div.checkbox label {
    display: inherit;
    margin-bottom: 0.5em;
    font-weight: 700;
}

.checkboxlabel {
    display: inherit;
    margin-bottom: 0.5em;
    font-weight: 700;
}

.modal-backdrop {
    z-index: -10;
}

.btn {

    font-size: 14px!important;
}

/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */
body.loading {
    overflow: hidden;   
}

/* Anytime the body has the loading class, our
   modal element will be visible */
body.loading .modal {
    display: block;
}

.disabledbutton {
    pointer-events: none;
    opacity: 0.6;
}

.dhtmlxcalendar_material {z-index: 1151 !important ;}

.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover {
    background-color: #f2f2f2;
}



.btn {
    margin: 2px;
}

.nav-tabs>li>a:hover {
    background-color: #f7f7f7!important;
}

.vertical-align {
    display: flex;
    align-items: center;
}

.page-header {
    padding-bottom: 9px;
    margin: 0px 0 10px;
    border-bottom: 1px solid #eee;
}

input[type=submit] {
    display: inline;
    font-size: 130%;
    width: auto;
    float: left;
}


#content {
     padding-top: 70px;
}
.checkbox, .radio {

    margin-left: 20px;
}

input, textarea {
    width: 100%;
}


form div {
    clear: none;

}

div.form, div.index, div.view {

    width: 100%!important;
     border-left: 0px solid #666;
    padding: 2px 1%;
}


td.actionsxx {

    white-space: nowrap;

}

dd {
    /* margin-left: 17em; */
    margin-top: auto;
    /* vertical-align: top; */
}

.bs-docs-header, .bs-docs-masthead {
    position: relative;
    padding: 30px 0;
    color: #cdbfe3;
    text-align: center;
    text-shadow: 0 1px 0 rgba(0,0,0,.1);
    background-color: #6f5499;
    background-image: -webkit-gradient(linear,left top,left bottom,from(#563d7c),to(#6f5499));
    background-image: -webkit-linear-gradient(top,#563d7c 0,#6f5499 100%);
    background-image: -o-linear-gradient(top,#563d7c 0,#6f5499 100%);
    background-image: linear-gradient(to bottom,#563d7c 0,#6f5499 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#563d7c', endColorstr='#6F5499', GradientType=0);
    background-repeat: repeat-x;
}

.bs-docs-nav .navbar-brand, .bs-docs-nav .navbar-nav>li>a {
    font-weight: 500;
    color: #ffffff;
}
.bs-docs-nav {
    margin-bottom: 0;
    background-color: #e2001a;
    border-bottom: 0;
}

.bs-docs-featurette+.bs-docs-footer {
    margin-top: 0;
    border-top: 0;
}
@media (min-width: 768px)  {
    .bs-docs-footer {
        text-align: left;
        padding-top: 50px;
        padding-bottom: 50px;
        margin-top: 100px;
        color: #99979c;
        text-align: center;
        background-color: #2a2730;
    }
}




#ricerc table {
     table-layout: fixed;
}




table tr:nth-child(even) {
     background: #ffffff;
}

a {
    color: #e2001a;
    text-decoration: none;
}

a:hover,
a:focus {
    color: #e2001f;
    text-decoration: underline;
}

.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
    padding: 4px;
    /* line-height: 1.42857143; */
    vertical-align: middle;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

    .borderless>thead>tr>td, .borderless>thead>tr>th {
        border: none;

    }
    .borderless>thead>tr:nth-child(even) {
        background: rgba(0, 0, 0, 0);
    }
.borderless
{
    margin-bottom: 0px
}
.table td.fit,
.table th.fit {
        white-space: nowrap;
        width: 7%;
}


    .highlight {
        padding: 5px 0px;
        margin-bottom: 10px;
        background-color: #f7f7f9;
        border: 1px solid #e1e1e8;
        border-radius: 4px;
    }






.navbar-brand img{
    height: 50px;
    max-height: 50px;
    margin-top: -15px;
    margin-left: -15px;
}
.paging {
    color: #999;
    margin-bottom: 10px;
}

#ricerca_new {
    display: none;
}

#lft-menu {
    background: #fff;
    border-color: rgba(0,0,0,.1);
    color: rgba(0,0,0,.49);
}



.filterable {
    margin-top: 15px;
}
.filterable .panel-heading .pull-right {
    margin-top: -20px;
}
.filterable .filters input[disabled] {
    background-color: transparent;
    border: none;
    cursor: auto;
    box-shadow: none;
    padding: 0;
    height: auto;
}
.filterable .filters input[disabled]::-webkit-input-placeholder {
    color: #333;
}
.filterable .filters input[disabled]::-moz-placeholder {
    color: #333;
}
.filterable .filters input[disabled]:-ms-input-placeholder {
    color: #333;
}



    /* Sticky footer styles
    -------------------------------------------------- */
    html {
        height: 100%;
        
    }
    body {
        /* Margin bottom by footer height */
         height: 100%;
     /*   margin-bottom: 80px;*/
    }
    #push, .footer {
    height: 60px;
}
#wrap {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto -60px;
}
#wrap > .container {
    padding-top: 60px;
}

#wrap > .container1 {
    padding-top: 60px;
}
    
    .footer {
       

        /* Set the fixed height of the footer here */
        height: 60px;
        background-color: #f5f5f5;

    }


    /* Custom page CSS
    -------------------------------------------------- */
    /* Not required for template or sticky footer method. */

 /*   .container {
        width: auto;
        max-width: 680px;
        padding: 0 15px;
    }*/
    .container .text-muted {
        margin: 20px 0;
    }


/* Menu*/


    .dropdown-submenu {
        position: relative;
    }


    .dropdown-submenu>.dropdown-menu {
        top: 0;
       /* left: 100%;*/
        /* margin-top: -6px; */
        /* margin-left: -1px; */
        /* -webkit-border-radius: 0 6px 6px 6px; */
        -moz-border-radius: 0 6px 6px;
        border-radius: 0 6px 6px 6px;
    }

    .pnavbar-left>.dropdown-menu {
        top: 0;
        left: 100%!important;
        /* margin-top: -6px; */
        /* margin-left: -1px; */
        /* -webkit-border-radius: 0 6px 6px 6px; */
        -moz-border-radius: 0 6px 6px;
        border-radius: 0 6px 6px 6px;
    }
    .pnavbar-right>.dropdown-menu {
        top: 0;
        right: 100%!important;

        /* margin-top: -6px; */
        /* margin-left: -1px; */
        /* -webkit-border-radius: 0 6px 6px 6px; */
        -moz-border-radius: 0 6px 6px;
        border-radius: 0 6px 6px 6px;
    }


    .dropdown-submenu:hover>.dropdown-menu {
        display: block;
    }

    .dropdown-submenu>a:after {
        display: block;
        content: " ";
        float: right;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        border-width: 5px 0 5px 5px;
        border-left-color: #ccc;
        margin-top: 5px;
        margin-right: -10px;
    }

    .dropdown-submenu:hover>a:after {
        border-left-color: #fff;
    }

    .dropdown-submenu.pull-left {
        float: none;
    }

    .dropdown-submenu.pull-left>.dropdown-menu {
        left: -100%;
        margin-left: 10px;
        -webkit-border-radius: 6px 0 6px 6px;
        -moz-border-radius: 6px 0 6px 6px;
        border-radius: 6px 0 6px 6px;
    }

    .dropdown-menu .fa-inverse {
        color: #840000;
    }
    .dropdown-menu>li>a {
         text-align: left;
        padding: 5px 20px;
    }

    .nav .open>a, .nav .open>a:focus, .nav .open>a:hover {
        background-color: #d00018;
        border-color: #d00018;
         box-shadow: none
    }
    .nav>li>a:focus, .nav>li>a:hover {
        text-decoration: none;
        background-color: #d00018;
        box-shadow: none ;
    }

    ul, li {
         margin: 0 0;
    }

    .nav .dropdown-menu a:hover {
        box-shadow: 0px 0px 4px 0px rgb(226, 225, 225) inset;
        background-color: #e8e8e8;
        background-image: -webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);
        background-image: -o-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);
        background-image: -webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#e8e8e8));
        background-image: linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
        background-repeat: repeat-x;
    }

#lft-menu > ul > li > a:hover {
    box-shadow: 0px 0px 4px 0px rgb(226, 225, 225) inset;
    background-color: #e8e8e8;
    background-image: -webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);
    background-image: -o-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#e8e8e8));
    background-image: linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
    background-repeat: repeat-x;
}


    /* 3 bard */
    .navbar .navbar-toggle .icon-bar {
        background-color: #fff;
    }
    /* background */
    .navbar .navbar-toggle {
        border-color: #ddd;

    }
	
	

/* BOX modale di ricerca*/
.modal-dialog {
    width: 80%;    
}
    

/* Icona di selezione dentro la ricerca della EDIT */    
.change-icon > .fa + .fa,
.change-icon:hover > .fa {
  display: none;
}

.change-icon:hover > .fa + .fa {
  display: inherit;
}


/* ------------------------------------------------------- */
/* MULTISELECT                                             */
/* ------------------------------------------------------- */

/* contenitore */
.multiselect_contenitore {
    width: auto;
    background: transparent url('../img/switch.png') no-repeat 50% 50%;
    /* background: none; */
}

/* box voci disponibili */
.ms-container .ms-selectable {
    float: right;
    width: 48%;
}

/* box voci selezionate */
.ms-container .ms-selection {
    float: left;
    width: 48%; 
}

/* elemento selezionato */
.ms-container .ms-selection li.ms-elem-selection {
    color: blue;
}

/* titolo del box */
.multiselect_titolo {
    text-align: center;
    color: white;
    background-color: #808080;
}

.ms-container .ms-selectable li.ms-hover,
.ms-container .ms-selection li.ms-hover{
    color: white;
}


/* ------------------------------------------------------- */
/* CHECKBOX                                                */
/* ------------------------------------------------------- */

/* nasconde il quadratino standard */
input.verofalso[type="checkbox"] {
    display: none;
}

/* checkbox senza segno di spunta */
input.verofalso[type="checkbox"] + label span {
    cursor: pointer; 
    display: inline-block;
    vertical-align: middle;
    width:  30px;
    height: 30px;
    margin-right: 10px;
    background: url('../img/checkbox_unchecked.png') center no-repeat;
}

/* checkbox spuntata */
input.verofalso[type="checkbox"]:checked + label span {
    background: url('../img/checkbox_checked.png') center no-repeat;
}




/* ------------------------------------------------------- */
/* CAMPI REQUIRED                                          */ 
/* ------------------------------------------------------- */

div.required label:after  {
    color: red;
    content: "*";
    display: inline;
}


/* ------------------------------------------------------- */
/* TENDINA DI AUTOCOMPLETE                                 */ 
/* ------------------------------------------------------- */

/* voce della tendina */
.ui-menu-item-wrapper {
    color: white;
    background-color: #909090;
    padding-left: 20px;
    padding-top: 5px;
    padding-bottom: 5px; 
    /* width: 80%;  */
}

/* quando sono sopra una voce della tendina */
.ui-widget-content .ui-state-active { 
    color: white; 
    background: #505050; 
    border: 0px solid #000000; 
    font-weight: normal; 
}

/* tendina scrollabile */
.ui-autocomplete {
    z-index: 9;
    max-height: 300px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
}




