#pageTitle .btn-info{
    padding-right: 5px;
    border-radius: 5px;
}
#pageTitle .btn-info small{
    color: #ffffff !important;
    font-size: 2rem;
}
.custom-badge{
    font-size: 1.5rem;
}
.preferiti > li > a {
    padding: 5px 10px 5px 15px;
    color: #fff;
}

.btn-sidebar {
    width: 100%;
}

.fa-sort {
    cursor: move;
}

input[type="date"],
input[type="number"],
input[type="datetime-local"],
.form-data {
    width: 250px;
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover {
    cursor: pointer;
}

@media (max-width: 767px) {
    .main-header .logo {
        display: none !important;
    }
}

.small-box h3 {
    font-size: 30px;
}

.main-header .logo .logo-lg {
    font-size: medium;
}

.btn {
    border-radius: 0;
    text-transform: uppercase;
}

.select2 {
    width: 100% !important;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    font-size: 22px;
    margin-right: 10px;
}

.form-control, .select2-selection.select2-selection--single, .select2-selection.select2-selection--multiple {
    background-color: #f5f5f5;
    border-top: 0;
    border-left: 0;
    border-right: 0;
}

.form-control {
    padding: 6px 9px;
    border-top: 0;
    border-left: 0;
    border-right: 0;
}

label {
    font-weight: normal
}

.form-horizontal .control-label {
    padding-top: 0;
}

.main-header .sidebar-toggle {
    padding: 10px 15px;
}

.main-header .sidebar-toggle:before {
    font-size: 22px;
}

/* validation */
span.error {
    color: red;
}

/* ajax msg */
#ajax_result .close {
    margin-left: 10px;
}

#ajax_result {
    float: left;
    margin: 10px 0 0 10px;
    padding: 5px 10px;
    display: none;
    background-color: #f39c12 !important;
    border-color: #f39c12 !important;
    color: #ffffff;
}

/* tabs */
.nav-tabs-custom .nav > li > a {
    padding: 3px 15px 9px 15px !important;
}

@media (min-width: 1200px) {
    /*    .form-horizontal .col-sm-2{
            width:20%
        }
        .form-horizontal .col-sm-offset-2{
            margin-left:  20%;
        }
        .form-horizontal .col-sm-10{
            width:80%
        }
        .form-horizontal .col-sm-offset-10{
            margin-left:  80%;
        }*/
}

.form-horizontal .help-block {
    margin-bottom: 0;
}

.form-horizontal .radio label {
    margin-right: 15px;
}

/*.form-horizontal .control-label{
    text-align: left;
}*/

/* datatable */
@media (min-width: 768px) {
    .dataTables_wrapper .top .dataTables_info {
        float: left;
    }
}

.table > tbody > tr.selected > td {
    background-color: #ffcc99;
}

.table-responsive table thead th {
    white-space: nowrap;
}

.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: 5px;
}

.table-responsive table .check,
.table-responsive table .id,
.table-responsive table .num,
.table-responsive table .attivo {
    width: 1%;
}

.table-responsive table .foto {
    width: 1%;
}

.table-responsive table tbody .foto {
    text-align: center;
    background-color: #e5e5e5;
}

.table-responsive table .data {
    width: 12%;
}

.pagination > li:first-child > a, .pagination > li:first-child > span,
.pagination > li:last-child > a, .pagination > li:last-child > span {
    border-radius: 0;
}

@media (min-width: 768px) {
    .dataTables_wrapper .dataTables_length {
        float: left;
    }

}

@media (max-width: 767px) {
    .dataTables_length {
        /*  padding-top: 5px;*/
    }

    .tab-content .btn-group {
        padding-bottom: 10px;
    }

    .tab-content .btn-group {
        /* left: 50%;
         transform: translate(-50%, 0);*/
    }
}

/* modal */
.modal-lg iframe {
    width: 100%;
    height: 400px;
}

@media (min-width: 992px) {
    .modal-lg {
        width: 95%
    }

    .modal-lg iframe {
        height: 75vh;
    }
}

#myModal .modal-body {
    height: 80vh;
    margin-bottom: 20px;
    overflow: auto;
}

#myModal .modal-body {
    position: relative;
    padding: 15px;
}

.small-box > .small-box-footer {
    text-align: right;
    padding-right: 10px;
}

.small-box-footer a {
    color: #fff;
    font-size: 16px;
    padding: 0 8px;
}

.table-hover > tbody > tr:hover > td, .table-hover > tbody > tr:hover > th {
    background-color: #ffcc99;
}

.foto-crop {
    position: relative;
}

@media (min-width: 1500px) {
    .foto-crop {
        margin-right: -90%
    }
}

@media (max-width: 1499px) {
    .foto-crop {
        margin-right: -70%
    }
}

@media (max-width: 991px) {
    .foto-crop {
        margin-right: 0
    }
}

.tabs-lang .cke_contents {
    height: 200px !important;
}

/* filtri */
.row-filter {
    padding-top: 10px;
    padding-bottom: 10px;
}

/* sidebar */
.treeview .treeview-menu .fa-circle-o {
    font-size: 11px;
}

.treeview .account > i:before {
    content: "\f0c0";
}

.treeview .dashboard > i:before {
    content: "\f0e4";
}

.treeview .configurazioni > i:before {
    content: "\f013";
}

.treeview .cms > i:before {
    content: "\f044";
}

.treeview .anagrafiche > i:before {
    content: "\f1c0";
}

.treeview .manutenzione > i:before {
    content: "\f0ad";
}

.treeview .moduli > i:before {
    content: "\f1b3";
}

.treeview .skuolapp > i:before {
    content: "\f19c";
}

.treeview .catalogo > i:before {
    content: "\f02a";
}

.treeview .newsletter > i:before {
    content: "\f003";
}

.treeview .banner > i:before {
    content: "\f03e";
}

.treeview .core > i:before {
    content: "\f085";
}

.treeview .contatti > i:before {
    content: "\f2b6";
}

.treeview .utenti > i:before {
    content: "\f0c0";
}

.treeview .eventi > i:before {
    content: "\f073";
}

.treeview .presa > i:before {
    content: "\f0ca";
}

.treeview .listini > i:before {
    content: "\f153";
}

.treeview .ordini > i:before {
    content: "\f01c";
}

.treeview .marketing > i:before {
    content: "\f0a1";
}

.treeview .statistiche > i:before {
    content: "\f080";
}

.treeview .produzione > i:before {
    content: "\f1b2";
}

.treeview .magazzino > i:before {
    content: "\f00a";

}.treeview .etichette > i:before {
    content: "\f00a";
}
.treeview .msd > i:before {
    content: "\f2db";
}
.treeview .materiale-deperibile > i:before {
    content: "\f014";
}

.msg-danger {
    font-weight: bold;
    color: red;
}

.msg-success {
    font-weight: bold;
}

/* dashboard */
.small-box .icon {
    font-size: 70px;
}

.small-box:hover .icon {
    font-size: 80px;
}

.small-box > .inner {
    padding: 5px 10px;
}

.small-box .badge {
    position: absolute;
    right: -6px;
    top: -6px;
    font-size: 14px;
    border: 2px solid #fff;
}

/* login page */
.login-page {
    height: auto;
}

/* sidebar*/
.skin-blue .sidebar-menu > li.active > a {
    background-color: #3c8dbc !important;
}

.gototop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
}

.gototop.active {
    opacity: 1;
    visibility: visible;
}

.gototop a {
    width: 40px;
    height: 40px;
    display: table;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    text-align: center;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
}

.gototop a i {
    height: 40px;
    display: table-cell;
    vertical-align: middle;
}

.gototop a:hover, .gototop a:active, .gototop a:focus {
    text-decoration: none;
    outline: none;
}

.ellips2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical
}

.fh5co-loader {
    display: none;
}

.fh5co-loader {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url(../img/loader.gif) center no-repeat rgba(255, 255, 255, 0.5);
}

/* m-progress */
@-webkit-keyframes ld {
    0% {
        transform: rotate(0deg) scale(1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

@-moz-keyframes ld {
    0% {
        transform: rotate(0deg) scale(1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

@-o-keyframes ld {
    0% {
        transform: rotate(0deg) scale(1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes ld {
    0% {
        transform: rotate(0deg) scale(1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

.m-progress {
    position: relative;
    opacity: .8;
    color: transparent !important;
    text-shadow: none !important;
}

.m-progress:hover,
.m-progress:active,
.m-progress:focus {
    cursor: default;
    color: transparent;
    outline: none !important;
    box-shadow: none;
}

.m-progress:before {
    content: '';
    display: inline-block;
    position: absolute;
    background: transparent;
    border: 2px solid #fff;
    border-left-color: transparent;
    border-bottom-color: transparent;
    border-radius: 50%;

    box-sizing: border-box;

    top: 50%;
    left: 50%;
    margin-top: -12px;
    margin-left: -12px;

    width: 24px;
    height: 24px;

    -webkit-animation: ld 0.9s ease-in-out infinite;
    -moz-animation: ld 0.5s ease-in-out infinite;
    -o-animation: ld 0.1s ease-in-out infinite;
    animation: ld 1s ease-in-out infinite;
}

.btn-default.m-progress:before {
    border-left-color: #333333;
    border-right-color: #333333;
}

.btn-lg.m-progress:before {
    margin-top: -16px;
    margin-left: -16px;

    width: 32px;
    height: 32px;
}

.btn-sm.m-progress:before {
    margin-top: -9px;
    margin-left: -9px;

    width: 18px;
    height: 18px;
}

.btn-xs.m-progress:before {
    margin-top: -7px;
    margin-left: -7px;

    width: 14px;
    height: 14px;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.05);
}

.table-bordered tr td {
    border: 1px solid #e5e5e5 !important;
}

.fh5co-loader {
    display: none;
}

.fh5co-loader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url(../img/loader.gif) center no-repeat rgba(255, 255, 255, 0.5);
}
.btn-stampa, .btn-stampa:hover, .btn-stampa:active, .btn-stampa:visited{
    background-color: #717171;
    color: #ffffff;
}
.sidebar-menu>li>a{
    padding: 8px 5px 8px 10px;
}

.form-vertical .col-sm-3,  .form-vertical .col-sm-9{
    display: block !important;
    width: 100%;
    float: none;
}
.form-vertical .form-control{
    width: 100%;
}
.form-vertical .form-group{
    margin-bottom: 5px;
}

.border-bottom{
    border-bottom: 1px solid #e5e5e5;
}
.d-block{
    display: block;
    width: 100%;
}

.dt-buttons{
    margin-top: 10px;
}