/*#region BOOTSTRAP CUSTOM */


body {
    font-family: 'Raleway', sans-serif;
}

h1 {
    margin-bottom: 25px;
}

h4 {
    font-size: 1.4em;
    font-weight: normal;
    margin: 0;
    padding: 0;
}


img {
    max-width: 100%;
}

.label {
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
}

.text-bold {
    font-weight: bold;
}

.breadcrumb {
    margin: 0;
    background-color: transparent;
    padding-left: 0;
    display: inline-block;
}

    .breadcrumb > span {
        display: inline-block;
    }

    .breadcrumb .separator {
        padding: 0 8px;
        color: #CCC;
    }



span.btn:hover {
    color: inherit;
    cursor: default;
}

a.unstyled, a.unstyled:hover, a.unstyled:focus, a.unstyled:active {
    color: inherit;
    text-decoration: none;
}

input.unstyled {
    border: none;
    background: none;
}

.table {
    margin-bottom: 0;
}

.table-hover > tbody > tr:hover > td.bg-warning {
    background-color: #f4ecdd;
}

.table-striped > tbody > tr:nth-of-type(2n+1) .bg-warning {
    background-color: #faf1e2;
}

.table.text-center th {
    text-align: center;
}


.table-edit {
    border: none;
}

.table-edit > thead > tr > th {
    border-bottom: none;
}


.table-edit .control-label {
   padding-left: 12px;
   font-size: 16px;
}

    .table-edit .form-control {
        border: solid 1px #ccc;
        -moz-border-radius: 4px;
        -webkit-border-radius: 4px;
        border-radius: 4px;
        background-color: #fff;
    }

.table-edit .form-control:focus {
   border-bottom-color: #428BCA;
}


.table-edit tr:hover .form-control {
   background-color: #fff;
   border-radius: 4px;
}



.table-head {
    border-bottom: none;
    border-top: solid 1px #ddd;
}

    .table-head > thead > tr > th {
        border-bottom-width: 0;
    }

.table-hover > tbody > tr:hover > td {
  background-color: #f1f1f1;
}

.table .actions {
    display: none;
    margin-top: 6px;
}

    .table .actions .btn {
        margin-bottom: 0;
    }

 .table tr:hover .actions, .table .actions.edit {
    display: block;
}


/*
EFFETTO HOVER AVANZATO    
.table tr {
    position: relative;
}

.table .actions {
    display: none;
    position: absolute;
    height: 100%;
    top:0;
    right: 0;
    background-color: #fff;
    border: solid 1px #f1f1f1;
    border-right: none;
    border-left: none;
    box-shadow: -10px 0 10px -5px #aaaaaa;
    text-align: center;
}



.table .actions a {
    display: inline-block;
    padding: 8px 10px 0 10px;
    height: 100%;
}


.table .actions a span {
    text-transform: uppercase;
    font-size: 10px;
}

.table .actions a:hover{
    background-color: #f1f1f1;
}

    .table tr:hover .actions, .table .actions.edit {
        display: block;
    }

     .table .actions.edit {
        border-bottom: none;
    }*/


.table.table-hover tr td {
    border-top: none;
}

.table input {
    width: 100%;
}


.table.vmiddle > tbody > tr > td {
     vertical-align: middle;
     height: 62px;
}

.table.vmiddle > thead > tr > th {
    vertical-align: middle;
    font-weight: bold;
}

.table.vmiddle > tbody > tr.tr-condensed > td {
    height: 30px;
}



.btn:active {
    outline: none;
}

.btn-group .pull-left {
    margin-right: 10px;
}


.btn-group > .pull-left + .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
    -webkit-border-bottom-left-radius: 3px;
    border-bottom-left-radius: 3px;
    -webkit-border-top-left-radius: 3px;
    border-top-left-radius: 3px;
}

a:hover {
    text-decoration: none;
}

.form-group {
    position: relative;
}
    .form-group label{
        font-weight: normal;
    }

    .form-group .label-danger {
        position: absolute;
        top: 0;
        right: 15px;
        background-color: #A94442;
    } 

        .form-group > .label-danger {
            right: 0;
        }

        .form-group.static .label-danger {
            position: static;
            top: auto;
            right: auto;
        }

   /* .form-group .label-warning {
        display: none;
    }*/
    .form-group.has-warning .label-warning {
        display: inline;
        position: absolute;
        top: 0;
        right: 15px;
        /*background-color: #D78000;*/
    }
    
        .form-group.has-warning > .label-warning {
            right: 0;
        }

    .form-group .countdown {
        position: absolute;
        top: 0;
        right: 15px;
    }
 

.form-horizontal .control-label {
    
    line-height: 10px;
    vertical-align: middle; 
    text-align: left;
    padding-top: 0;
    height: 31px;
}

.form-horizontal .control-label::after {
   display:inline-block;
   vertical-align:middle;
   height:31px;
   line-height:31px;
   content:"";
}


.form-group.url .form-control {
    display: inline;
    width: auto;
}


.form-control, .has-warning .form-control {
    /*border-top: none;
    border-left: none;
    border-right: none;
    box-shadow: none;*/
    border-radius: 0;
    background-color: transparent;
}

.form-control:focus, .has-warning .form-control:focus {
    border-color: #66AFE9;
    outline: 0px none;
    box-shadow: none;
}

.has-warning .form-control, .has-warning .form-control:focus, .has-error .form-control, .has-error .form-control:focus {
    border-color: #CCC;
    box-shadow: none;
}

.has-error .form-control-feedback, .has-warning .form-control-feedback  {
    color: #333;
}


.form-control.warning {
    border-color: #D78000 !important;
}

.checkbox-styled input[type=checkbox] { display: none; }
.checkbox-styled input[type=checkbox] + label { cursor: pointer; margin: 0; font-weight: normal;}
.checkbox-styled input[type=checkbox] + label::before { font-family: "Font Awesome 5 Free"; content: "\f0c8"; transition: border 0.15s ease-in-out, color 0.15s ease-in-out; font-size: 16px; margin-right: 5px; }
.checkbox-styled.checkbox-nolabel input[type=checkbox] + label::before { margin-right: 0; }
.checkbox-styled input[type=checkbox]:checked + label::before { content: "\f14a"; }
.checkbox-styled input[type=checkbox].warning + label::before { border-bottom: solid 1px #D78000 !important; }
.checkbox-styled.checkbox-circle input[type=checkbox] + label::before { font-family: "Font Awesome 5 Free"; content: "\f1db"; }
.checkbox-styled.checkbox-circle input[type=checkbox]:checked + label::before { content: "\f058"; }


.form-control.error {
    border-color: #cb180b !important;
}
            

.form-horizontal .radio, .form-horizontal .checkbox {
    min-height: 31px;
    margin-top: -3px;
}


.btn-default {
    border: solid 1px #999;
}

.btn-dark {
    color: #ffffff;
    background-color: #444444;
    border-color: #373737;
}

    .btn-dark:hover,
    .btn-dark:focus,
    .btn-dark:active,
    .btn-dark.active,
    .open .dropdown-toggle.btn-dark {
        color: #ffffff;
        background-color: #303030;
        border-color: #191919;
    }

    .btn-dark:active,
    .btn-dark.active,
    .open .dropdown-toggle.btn-dark {
        background-image: none;
    }

    .btn-dark.disabled,
    .btn-dark[disabled],
    fieldset[disabled] .btn-dark,
    .btn-dark.disabled:hover,
    .btn-dark[disabled]:hover,
    fieldset[disabled] .btn-dark:hover,
    .btn-dark.disabled:focus,
    .btn-dark[disabled]:focus,
    fieldset[disabled] .btn-dark:focus,
    .btn-dark.disabled:active,
    .btn-dark[disabled]:active,
    fieldset[disabled] .btn-dark:active,
    .btn-dark.disabled.active,
    .btn-dark[disabled].active,
    fieldset[disabled] .btn-dark.active {
        background-color: #444444;
        border-color: #373737;
    }

    .btn-dark .badge {
        color: #444444;
        background-color: #ffffff;
    }


.btn-dark-light {
    color: #ffffff;
    background-color: #515151;
    border-color: #373737;
}

    .btn-dark-light:hover,
    .btn-dark-light:focus,
    .btn-dark-light:active,
    .btn-dark-light.active,
    .open .dropdown-toggle.btn-dark-light {
        color: #ffffff;
        background-color: #303030;
        border-color: #191919;
    }

    .btn-dark-light:active,
    .btn-dark-light.active,
    .open .dropdown-toggle.btn-dark-light {
        background-image: none;
    }

    .btn-dark-light.disabled,
    .btn-dark-light[disabled],
    fieldset[disabled] .btn-dark-light,
    .btn-dark-light.disabled:hover,
    .btn-dark-light[disabled]:hover,
    fieldset[disabled] .btn-dark-light:hover,
    .btn-dark-light.disabled:focus,
    .btn-dark-light[disabled]:focus,
    fieldset[disabled] .btn-dark-light:focus,
    .btn-dark-light.disabled:active,
    .btn-dark-light[disabled]:active,
    fieldset[disabled] .btn-dark-light:active,
    .btn-dark-light.disabled.active,
    .btn-dark-light[disabled].active,
    fieldset[disabled] .btn-dark-light.active {
        background-color: #444444;
        border-color: #373737;
    }

    .btn-dark-light .badge {
        color: #444444;
        background-color: #ffffff;
    }

@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg) translate3d( 0, 0, 0);
    }

    to {
        -webkit-transform: rotate(359deg) translate3d( 0, 0, 0);
    }
}

.modal {
    overflow: auto;
}


/*
Modal centrato verticalmente    
.modal {
    text-align: center;
}

@media screen and (min-width: 768px) { 
  .modal:before {
    display: inline-block;
    vertical-align: middle;
    content: " ";
    height: 100%;
  }
}

.modal-dialog {
  display: inline-block;
  text-align: left;
  vertical-align: middle;
}*/

.modal-lg .modal-body {
    padding: 30px;
}

select.input-xs {
    height: 21px;
    line-height: 21px;
}

.input-xs {
    height: 21px;
    padding: 2px 5px;
    font-size: 11px;
    line-height: 1.5;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

.has-feedback.nolabel .form-control-feedback {
    margin-top: 8px;
}

.has-feedback label.form-control-feedback ~ .form-control-feedback {
    top: 0;
}

.form-horizontal .has-feedback .form-control-feedback {
    right: 0;
}


/*
.input-group-sm.has-feedback.nolabel > .form-control {
    padding-right: 40px;
}
    */


.input-group-xs select.input-xs {
    height: 21px;
    line-height: 21px;
}

.input-group-xs .form-control {
    height: 21px;
    padding: 2px 5px;
    font-size: 11px;
    line-height: 1.5;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    margin-bottom: 5px;
}

.modal-body {
    padding-bottom: 0;
}


.active > a, .active > a:hover, a, a:hover {
    outline: none;
}


hr {
    border-color: #ddd;
    margin-bottom: 15px;
    margin-top: 7px;
    /*-moz-box-shadow: 0 -1px 2px rgba(0,0,0, 0.2);
    -webkit-box-shadow: 0 -1px 2px rgba(0,0,0, 0.2);
    box-shadow: 0 -1px 2px rgba(0,0,0, 0.2);*/
}

    hr.fitcol {
        margin-left: -15px;
        margin-right: -15px;
    }

    hr.light {
        border-top-style: dashed;
        margin-bottom: 7px;
        margin-top: 7px;
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

     hr.lg {
        margin-top: 30px;
        margin-bottom: 30px;
    }

.progress {
    background-color: rgba(85,85,85,0.5);
}



.tab-pane {
    border-left: solid 1px #ddd;
    border-bottom: solid 1px #ddd;
    border-right: solid 1px #ddd;
    padding: 30px 20px 0 20px;
    margin-bottom: 10px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}


.bg-white {
    background-color: #fff;
}


.tooltip-inner {
    background-color: #2A2F33;
}
.tooltip.top .tooltip-arrow {
    border-top-color: #2A2F33;
}


input[type="date"].form-control, input[type="time"].form-control,
input[type="datetime-local"].form-control, input[type="month"].form-control {
    line-height: initial;
}
/*#endregion */


/*#region shadowbox*/
#sb-body {
    background-color: #ffffff;
}

#sb-body pre {
    border: none;
}
/*#endregion */

/*#region JQUERY UI */

.ui-widget {
    background: #FFF;
    border: 1px solid #CCC;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    margin-top: 2px;
    padding: 8px;
    color: #555;
}

    .ui-widget a, .ui-widget .a {
        color: #555;
    }

        .ui-widget a:visited, .ui-widget .a:visited {
            color: #555;
        }

        .ui-widget a.current, .ui-widget a:hover, .ui-widget .a.current, .ui-widget .a:hover {
            color: #FFF;
            background-color: #F0AD4E;
            text-decoration: none;
            -moz-border-radius: 10px;
            -webkit-border-radius: 10px;
            border-radius: 10px;
        }

.ui-state-default {
    text-align: center !important;
}

.ui-state-active {
    color: #FFF !important;
    background-color: #428BCA;
    text-decoration: none;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

.ui-icon {
    cursor: pointer;
}

.ui-datepicker-div {
    position: relative;
}

.ui-datepicker-prev {
    text-align: center;
    cursor: pointer;
}

.ui-datepicker-next {
    text-align: center;
    cursor: pointer;
}

.ui-state-disabled {
    opacity: 0.2;
}

.ui-datepicker .ui-datepicker-prev-hover,
.ui-datepicker .ui-datepicker-next-hover {
    top: 2px;
}

.ui-datepicker .ui-datepicker-prev-hover {
    left: 2px;
}

.ui-datepicker .ui-datepicker-next-hover {
    right: 2px;
}

.ui-datepicker-calendar td {
    border: 1px solid #eee;
    width: 30px;
}

.ui-datepicker table {
    margin: 0;
}

.ui-datepicker-prev:before {
    font-family: "FontAwesome";
    content: "\f104";
    line-height: 1.8em;
}

.ui-datepicker-prev.ui-state-hover:hover {
    background-color: #fff;
    color: #D99B14;
}

.ui-datepicker-next:before {
    font-family: "FontAwesome";
    content: "\f105";
    line-height: 1.8em;
}

.ui-datepicker-next.ui-state-hover:hover {
    background-color: #fff;
    color: #D99B14;
}

.ui-autocomplete {
    padding: 0;
}

.ui-autocomplete a:hover{
    background-color: #D9EDF7 !important;
    cursor: pointer;
}


/*#endregion */


/*#region Bootstrap Select */

.form-inline .bootstrap-select-searchbox .form-control {
    width: 100%;
}


/*#endregion */

/*#region UTILITY */

.vertical-force {
    vertical-align: middle !important;
}
.vertical-force input[type="checkbox"], .vertical-force input[type="radio"], .vertical-force label, .vertical-force span, .vertical-force img, .vertical-force i, .vertical-force > div {
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    float: none;
}

.vertical-force label {
    font-weight: normal;
}



.vertical-force input[type="checkbox"], .vertical-force input[type="radio"] {
    margin-right: 5px;
}

.fit-ctr {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
}


.has-loading {
    position: relative;
}

    .has-loading .form-group {
        padding-right: 20px;
    }

    .has-loading .loading {
        position: absolute;
        top: 8px;
        right: 0;
    }

.ajax-loading {
    opacity: 0.5;
}

.bg-white.ajax-loading {
    opacity: 1;
    background-color: rgba(255,255,255,0.9);
}

.title {
    cursor: pointer;
}

   
    .title.collapsed .fa.pull-right {
        -moz-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        -o-transform: rotate(180deg);
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
    }


.cover {
    background: no-repeat center center;
    background-size: cover;
}
.contain {
    background: no-repeat center center;
    background-size: contain;
}

.content_select label {
    display: none;
}

.content_select input[type="checkbox"], table input[type="checkbox"] {
    margin-top: 0;
}

table .edit {
    display: none;
}


pre.nostyle {
    background-color: transparent;
    font-family: "Raleway",sans-serif;
    border: none;
    padding: 0;
    margin: 0;
    white-space: pre-wrap;
   
}

.ep {
    padding: 20px;
}

.ep-lg {
    padding: 40px;
}

.ept {
    padding-top: 20px;
}


.epb {
    padding-bottom: 20px;
}

.epl {
    padding-left: 20px;
}

.epr {
    padding-right: 20px;
}

.dblock {
    display: block;
}

.maxheight {
    max-height: 300px; 
    overflow-y: scroll;
    padding-right: 5px;
}


.ratio {
    width: 100%;
    padding-top: 100%;
    position: relative;
}

    .ratio iframe {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
    }


    .ratio-4x3 {
        padding-top: 75%;
    }

    .ratio-16x9 {
        padding-top: 56%;
    }

    .ratio-4x1 {
        padding-top: 25%;
    }

    .ratio .center {
      position: absolute;
      top: 0;
      width: 100%;
      height: 100%;
    }

    .ratio .center::before {
      content: "";
      display: inline-block;
      height: 100%;
      vertical-align: middle;
    }



    
/*#endregion */



/*#region LAYOUT */

body {
    overflow-x: hidden;
}

#sitemap {
    padding-left: 15px;
}

#wrap_menu {
    width: 230px;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: auto;
    z-index: 3;
    overflow: hidden;
}


#menu, #menu_back {
    background-color: #2A2F33;
    width: 220px;
    position: absolute;
    top: 0;
    left: 0;
    right: auto;
    color: #fff;
    z-index: 9;
}

#menu_back {
    position: fixed;
    bottom: 0;
    z-index: -1;
    -moz-box-shadow: 2px 0 2px 0 rgba(0,0,0,0.4);
    -webkit-box-shadow: 2px 0 2px 0 rgba(0,0,0,0.4);
    box-shadow: 2px 0 2px 0 rgba(0,0,0,0.4);
}



#menu {
    
}

    #menu .trigger {
        padding: 10px;
    }

    #menu .header {
        padding: 0 20px 10px 20px;
    }

        #menu .header h3 {
            padding-bottom: 10px;
            padding-top: 0;
            margin-top: 5px;
        }

    #menu input.form-control {
        background-color: transparent;
        color: #c4c4c4;
    }

        #menu input.form-control:focus {
            color: #fff;
        }

    #menu a.unstyled:hover {
        color: #fff;
    }

    #menu span.title {
        display: block;
        padding: 15px 15px 15px 0;
       
        cursor: pointer;
        
    }

        #menu span.title:not(.collapsed) {
          
        }


        #menu span.title .fa:not(.pull-right) {
            display: inline-block;
            width: 40px;
            text-align: center;
            font-size: 14px;
        }

        #menu span.title .fa.pull-right {
        }

        #menu span.title:not(.collapsed) .fa:not(.pull-right) {
        }

    #menu .nav {
        padding-bottom: 0;
        /*border-bottom: solid 1px #585858;*/
        background-color: #44494D;
    }

        #menu .nav .nav {
            padding-left: 30px;
        }

        #menu .nav li.separate {
            border-bottom: solid 1px #5E6367;
            margin: 5px 0;   
        }
        
        #menu .nav > li.title {
            display: block;
            padding: 10px 15px;
        }
        

        #menu .nav li a {
            color: #ffffff;
            padding-left: 20px;
            border-bottom: solid 1px transparent;
            position: relative;
        }
        

        #menu .nav.noindent li a {
            padding-left: 0;
        }

        #menu .nav li a .fa, #menu .nav li a .glyphicon {
            display: inline-block;
            width: 40px;
            text-align: center;
            font-size: 14px;
        }

        #menu .nav li a:hover, #menu .nav li a:focus, #menu .nav li a:active {
            background-color: #5E6367;
            color: #fff;
            outline: none;
        }

        #menu .nav li a:after {
            content: '';
            width: 0;
            height: 0;
            border-left: 8px solid #44494D;
            border-top: 19px solid transparent;
            border-bottom: 19px solid transparent;
            position: absolute;
            right: 0;
            top: 0;
            -moz-transition: right 0.2s ease;
            -o-transition: right 0.2s ease;
            -webkit-transition: right 0.2s ease;
            transition: right 0.2s ease;
        }

        #menu .nav li.active a {
            background-color: #428BCA;
            color: #ffffff;
        }

            #menu .nav li a:hover:after, #menu .nav li a:focus:after {
                border-left-color: #5E6367;
                right: -7px;
            }

            #menu .nav li.active a:after {
                border-left-color: #428BCA;
                right: -7px;
            }

    #menu .form-group .label-danger {
        right: 0;
    }

#header, #mainheader, #status {
    left: 220px;
    right: 0;
}


#header, #mainheader, #status, #main, #wrap_menu, #menu_back, #search, #search_back {
    /*transition: transform 0.2s cubic-bezier(.694, .0482, .335, 1);
    transform: translateZ(0);
    transform: translateX(0);
    backface-visibility: hidden;*/
    /*transition: left 0.2s cubic-bezier(.694, .0482, .335, 1), right 0.2s cubic-bezier(.694, .0482, .335, 1);*/
}

.menu-collapsed #header, .menu-collapsed #mainheader, .menu-collapsed #status {
    /*transform: translateX(-210px);*/
    left: 10px;
}

.menu-collapsed #main {
    /*transform: translateX(-210px);*/
    margin-left: 10px;
}

.menu-collapsed #wrap_menu {
    z-index: 9;
    left: -210px;
}

.menu-collapsed #menu_back {
    /*transform: translateX(-210px);*/
    left: -210px;
}


.collapsed-hidden {
    -moz-transition: opacity ease-out 0.2s;
    -o-transition: opacity ease-out 0.2s;
    -webkit-transition: opacity ease-out 0.2s;
    transition: opacity ease-out 0.2s;
}

.menu-collapsed .collapsed-hidden {
    opacity: 0;
}

.menu-collapsed #wrap_menu:hover, .menu-collapsed #wrap_menu:hover #menu_back {
    left: 0;
}

    .menu-collapsed #wrap_menu:hover .collapsed-hidden {
        opacity: 1;
    }


#search {
    background-color: #F9F9F9;
    width: 200px;
    position: fixed;
    left: auto;
    top: 0;
    bottom: 0;
    right: -200px;
    z-index: 5;
    overflow: hidden;
    -moz-box-shadow: -2px 0 2px 0 rgba(0,0,0,0.4);
    -webkit-box-shadow: -2px 0 2px 0 rgba(0,0,0,0.4);
    box-shadow: -2px 0 2px 0 rgba(0,0,0,0.4);
}

    #search .trigger {
        padding: 10px 15px;
    }

    #search .header {
        padding: 0 20px 10px 20px;
    }


    #search label {
        font-weight: normal;
        font-size: 0.9em;
        margin-bottom: 2px;
    }

    #search .form-control {
        margin-bottom: 10px;
        border-radius: 0;
    }




.search-active #header, .search-active #mainheader, .search-active #status {
    right: 200px;
}

.search-active #main {
    margin-right: 200px;
}


.search-active #search, .search-active #search_back {
    right: 0;
}

.search-active .search-trigger {
    cursor: pointer;
    pointer-events: none;
    opacity: 0.65;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}


#header {
    position: fixed;
    top: 0;
    bottom: auto;
    z-index: 5;
    background-color: #5E6367;
    /*background-color: #373737;*/
    color: #fff;
    padding: 10px 0;
    height: 41px;
}

    #header .fix {
        height: 41px;
    }

    #header select {
        background-color: #fff;
    }

#mainheader {
    position: fixed;
    top: 41px;
    bottom: auto;
    z-index: 4;
    background-color: #f9f9f9;
    -moz-box-shadow: 0 2px 2px 0 rgba(0,0,0,0.4);
    -webkit-box-shadow: 0 2px 2px 0 rgba(0,0,0,0.4);
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.4);
    /*border-left: solid 1px #ccc;*/
    min-height: 53px;
}

#actions {
    padding: 10px 0;
    min-height: 51px;
}

    #actions .vs {
        position: absolute;
        top: 50px;
        right: 15px;
        width: 100%;
        max-width: 500px;
    }

        #actions .vs .close {
            top: -12px;
            right: -25px;
            opacity: 1;
        }

        #actions .vs ul {
            list-style: none outside none;
            padding: 20px 20px 10px 20px;
        }

            #actions .vs ul li {
                padding-bottom: 10px;
                margin-bottom: 10px;
                border-bottom: solid 1px #e5e5e5;
            }




#status {
    position: fixed;
    top: auto;
    bottom: 0;
    z-index: 4;
    height: 30px;
    line-height: 30px;
    padding-left: 0;
    padding-right: 0;
    background-color: #f9f9f9;
    -moz-box-shadow: 0 -2px 2px 0 rgba(0,0,0,0.4);
    -webkit-box-shadow: 0 -2px 2px 0 rgba(0,0,0,0.4);
    box-shadow: 0 -2px 2px 0 rgba(0,0,0,0.4);
    background-color: #fff;
}

    #status .btn-group .btn {
        margin-top: 4px;
    }

#main {
    /*position: absolute;
    top: 94px;
    bottom: 30px;
    overflow-y: scroll;
    z-index: 1;*/
    margin-top: 94px;
    margin-bottom: 30px;
    margin-left: 220px;
    min-height: calc(100vh - 124px);
}

    #main.view {
        padding: 30px;
        background-color: #DDE2E6;
    }
    #main.view > div {
       padding-bottom: 30px;
    }

    #main.view div.container-fluid{
      max-width: 1050px;
      margin: 0 auto;
      background-color: #ffffff;
      padding: 0 30px;
      transition: all .26s ease;
    }

        /*#main.view div.collapse {
            display: none;
        }*/

        #main.view div.container-fluid:first-child, #main.view div.container-fluid:first-child h3 {
            border-top-left-radius: 5px;
            border-top-right-radius: 5px;
        }

        #main.view div.container-fluid:last-child, #main.view div.container-fluid:last-child h3 {
            border-bottom-left-radius: 5px;
            border-bottom-right-radius: 5px;
        }

         #main.view h3 {
            padding: 20px 30px;
            font-size: 18px;
            position: relative;
            margin: 0 -30px 0 -30px;
            border-bottom: solid 1px #e5e5e5;
            cursor: pointer;
        }

             #main.view h3:hover {
                background-color: #eff1f2;
            }
 


        #main.view h3 + div::before, #main.view h3 + div::after {
            content: ' ';
            display: block;
            height: 20px;
        }

         #main.view div.container-fluid.active{
          margin-top: 30px;
          margin-bottom: 30px;
          box-shadow: 0 0 30px 0 rgba(0,0,0,0.2);
          border-radius: 5px;
          max-width: 1100px;
        }
            #main.view div.container-fluid.active > div.collapse {
                display: block;
            }

            #main.view div.container-fluid.active > h3 {
                 background-color: #eff1f2;
                 border-radius: 5px 5px 0 0;
                 cursor: pointer;
            }


        #main.view h3.static {
            border-radius: 0 !important;
            padding: 30px 35px!important;
            border: none !important;
            background: none !important;
            cursor: text;
        }

            #main.view h3.static + div::before, #main.view h3.static + div::after {
                display: none !important;
            }

        #main.view h3.static:hover {
            background: none !important;
        }
   

     #main.view div.container-fluid.nostyle {
      background-color: transparent;
      box-shadow: none;
      
    }

        #main.view div.container-fluid.nostyle > .alert {
            box-shadow: 0 0 20px 0 rgba(0,0,0,0.2);
            margin-bottom: 0;
            padding-bottom: 26px;
        }

    #main h3 {
        padding-bottom: 10px;
        margin-bottom: 17px;
        border-bottom: dashed 1px #ddd;
    }

    /*#main .wnav, #mainheader .wnav {
        padding-left: 200px;
        position: relative;
    }*/



#menusub {
    width: 200px;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    color: #515151;
    background-color: #ddd;
}

    #menusub .title:not(.collapse), #menusub .title:hover {
        color: #FFF;
    }

    #menusub .title .fa:not(.pull-right) {
        display: inline-block;
        width: 40px;
        text-align: center;
    }


    #menusub .collapsed.fa.pull-right {
        -moz-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        -o-transform: rotate(180deg);
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
    }


    #menusub .nav {
        padding-bottom: 0;
    }


        #menusub .nav li a {
            color: #515151;
            padding-left: 20px;
            position: relative;
        }

            #menusub .nav li a .fa, #menusub .nav li a .glyphicon {
                display: inline-block;
                width: 20px;
                text-align: center;
                font-size: 14px;
            }

            #menusub .nav li a:hover, #menusub .nav li a:active {
                background-color: #aaa;
                color: #fff;
            }

        #menusub .nav li.active a {
            background-color: #373737;
            color: #428BCA;
        }

        #menusub .nav li .nav li a {
            padding-left: 40px;
        }

        #menusub .nav li .nav li .nav li a {
            padding-left: 60px;
        }

        #menusub .nav li .nav li .nav li .nav li a {
            padding-left: 80px;
        }

        #menusub .nav li .nav li .nav li .nav li .nav li a {
            padding-left: 100px;
        }
/*#endregion */

/*#region CUSTOM */

.login_box {
    margin: 30px;
    padding: 60px;
    background-color: #2A2F33;
    -moz-box-shadow: 0 0 4px 0 rgba(0,0,0,0.4);
    -webkit-box-shadow: 0 0 4px 0 rgba(0,0,0,0.4);
    box-shadow: 0 0 4px 0 rgba(0,0,0,0.4);
    border-radius: 4px;
    color: #fff;
}

.login_body {
    background-color: #5E6367;
}

.login_box .logo {
    padding: 0px 0 30px 0;
}

/*#endregion */


.form-group.status {
    padding-top: 10px;
    padding-bottom: 10px;
}

.upload .uploading {
    width: 100px;
    display: none;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    background-color: rgba(85,85,85,0.2);
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
}

.upload img {
    border: 2px #fff;
}

.upload .uploading > .percent {
    display: block;
    padding: 6px 0 9px 0;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    background-color: #D99B14;
    color: #fff;
}

.images .thumbnail, .files .thumbnail {
    margin-bottom: 30px;
    position: relative;
}
    .images .thumbnail i.fa-circle {
        position: absolute;
        top: 10px;
        left: 10px;
    }

.thumbnail.disabled {
    opacity: 0.3;
}

.images a.thumbnail, .files a.thumbnail {
    color: #333;
}

.ratio .center {
      text-align: center;
      color: #fff;
      opacity: 0.7;
}

.images .item.last .ratio .center {
      color: #c4c4c4;
      opacity: 1;
}


.images .warning .thumbnail, .files .warning .thumbnail {
    border-color: #D78000;
}

.files .thumbnail > div {
    min-height: 140px;
    padding-top: 20px;
    background-color: #f4f4f4;
}

.sortable .item {
    position: relative;
    cursor: move;
}
.selectable .item {
   opacity: .3;
}

.selectable .item.active {
   opacity: 1;
}

    .images .item img, .files .item img {
        width: 100%;
    }

   .images .item .drag, .files .item .drag {
        display: none;
        position: absolute;
        top: 10px;
        right: 0;
        left: 0;
    }

    .images .item .actions, .files .item .actions {
        display: none;
        position: absolute;
        top: 10px;
        right: 10px;
        left: 10px;
    }

    .images .item .drag, .files .item .drag {
        top: auto;
        bottom: 0;
        background-color: rgba(85,85,85,0.5);
        -moz-border-radius: 4px;
        -webkit-border-radius: 4px;
        border-radius: 4px;
        padding: 5px 0;
        color: #fff;
    }

    .images .item:hover .actions, .images .item:hover .drag, .files .item:hover .actions, .files .item:hover .drag {
        display: block;
    }


    .images .item .uploading, .files .item .uploading {
        position: absolute;
        bottom: 0;
        right: 0;
        left: 0;
        margin: 0;
        -moz-border-radius: 4px;
        -webkit-border-radius: 4px;
        border-radius: 4px;
        background-color: rgba(85,85,85,0.5);
        -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
        -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
    }

    .images .item .percent, .files .item .percent {
        display: block;
        padding: 5px 0;
        -moz-border-radius: 4px;
        -webkit-border-radius: 4px;
        border-radius: 4px;
        background-color: #D99B14;
        color: #fff;
    }

.images .last, .files .last {
    position: relative;
    cursor: pointer;
}

    .images .last .new, .files .last .new  {
        position: absolute;
        width: 100%;
        height: 40px;
        top: 50%;
        left: 0;
        margin-top: -20px;
        color: #c4c4c4;
    }

        .images .last .new .fa, .files .last .new .fa {
            line-height: 40px;
        }

    .images .last .text, .files .last .text {
        display: none;
        position: absolute;
        bottom: 0;
        right: 0;
        left: 0;
        background-color: rgba(85,85,85,0.5);
        -moz-border-radius: 4px;
        -webkit-border-radius: 4px;
        border-radius: 4px;
        padding: 5px 0;
        color: #fff;
    }

    .images .last:hover .text, .files .last:hover .text {
        display: block;
    }


    .images .last .content {
        display: none;
        position: absolute;
        top: 5px;
        left: 5px;
        bottom: 5px;
        right: 5px;
        text-align: center;
        color: #c4c4c4;
    }

    .images .last .content .pickfiles,  .images .last .content .pickvideo {
        height: 70%;
        font-size: 14px;
        white-space: nowrap; 
    }

    .images .last .content .pickvideo {
        height: 30%;
    }
        .images .last .content .pickfiles.fh {
            height: 100%;
        }

  
    .images .last .content .pickfiles::before, .images .last .content .pickvideo::before {
        content: "";
        display: inline-block;
        height: 100%;
        vertical-align: middle;
        margin-right: -0.25em;
    }
        .images .last .content .pickfiles > div {
             display: inline-block;
           vertical-align: middle;
           width: 100%;
           white-space: normal;
        }

        .images .last .content .pickfiles {
            border-bottom: solid 1px #fff;
        }

    .images .last .content .pickfiles:hover,  .images .last .content .pickvideo:hover {
        color: #333;
    }

    .images .last:hover .content {
        display: block;
    }

    .images .last:hover .center {
        display: none;
    }


#delete .norestore-text {
    display: none;
}

.ispercent {
    display: none;
}
/*.images .image-upload {
	padding:50px 10px 10px 10px;
	min-height:137px;
	background:url(../img/icon-plus.png) #F1F1F1 center center no-repeat;
	cursor:pointer;
}

.images .image-loading {
	padding:75px 10px 10px 10px;
	min-height:137px;
	background:url(../img/icon-loading.gif) #F1F1F1 center center no-repeat;
	cursor:pointer;
}

.images .delete_img {
	position: absolute;
	top: 10px;
	right: 10px;
	padding: 0px 6px;
	margin: 0;
	cursor: pointer;
	color: #C00;
}*/

.order-detail {
    border: solid 1px #ddd;
}

.order-detail table:first-child tr:first-child td{
    border-top: none;
}
.order-detail .table > thead > tr > th, .order-detail .table > tbody > tr > th, .order-detail .table > tfoot > tr > th, .order-detail .table > thead > tr > td, .order-detail .table > tbody > tr > td, .order-detail .table > tfoot > tr > td {
    padding: 18px;
    border-top-style: dashed;
}


#send .big {
    font-size: 24px;
    line-height: 30px;
}

    #send .big small {
        font-size: 16px;
    }

/*.modal .form-group label {
    font-size: 0.9em;
    margin-bottom: 2px;
    margin-top: 7px;
}*/



/*.table.table-custom tr td {
    background-color: #f5f5f5;
    border-top: none !important;
}*/

.table.table-custom tr.insert td {
    background-color: #f0f0f0;
}

.table.table-custom tr td.disabled {
    background-color: #f0f0f0;
}

.table.table-custom tr.nobg td {
    background-color: transparent;
}


.table.table-custom th {
    border-bottom: solid 1px #ddd;
}


.table.table-custom .table-footer th {
    padding-top: 15px;
    padding-bottom: 15px;
}


.table.table-custom input, .table.table-custom select {
    border: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.table.table-custom input.right {
    text-align: right;
}

    .table.table-custom input:focus, .table.table-custom select:focus {
        border-color: #66AFE9;
        outline: 0 none;
        box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.075) inset, 0px 0px 8px rgba(102, 175, 233, 0.6);
    }

.table.table-custom .form-group {
    min-height: 0;
    position: relative;
    margin-bottom: 0;
}

.table.table-custom .form-group .label-danger {
    top: 5px;
    right: 5px;
}


/*CKEDITOR*/

.editor {
    margin: 0 -30px;
}


.cke_chrome {
    border: none !important;
    box-shadow: none !important;
    border-radius: 0;
    background: none !important;
    padding: 0px !important;
    margin: -17px 0 -20px 0 !important;
}

.cke_simple {
    border: solid 1px #ccc;
    min-height: 280px;
}

    .cke_simple .form-control-feedback {
        top: 7px;
    }

.cke_simple .cke_chrome {
    margin: 0 !important;
}


.cke_inner, .cke_top, .cke_bottom {
    border-radius: 0 !important;
    background: none !important;
}

.cke_bottom {
    border-radius: 0 !important;
    background: #fff !important;
    border-radius: 0 0 5px 5px !important;
    color: #ccc !important;
    border-top: solid 1px #e5e5e5 !important;
}


.cke_dialog_body {
    border: none !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5) !important;
    border-radius: 6px !important;
    overflow: auto;
}
.cke_dialog_title {
    font-size: 1.4em !important;
    padding: 15px !important;
    font-weight: normal !important;
    border-bottom: 1px solid #e5e5e5 !important;
    background: #fff !important;
}

a.cke_dialog_close_button {
    background-size: 10px !important;
}

.cke_dialog_footer {
    border-top: solid 1px #e5e5e5 !important;
    background: #fff !important;
    padding: 0px !important;
}

.cke_dialog_footer_buttons {
    margin: 14px 0 !important;
}

.cke_dialog .cke_resizer {
    margin-top: 45px !important;
}
a.cke_dialog_ui_button {
    line-height: 21px !important;
    border-radius: 4px !important;
   
}
    a.cke_dialog_ui_button:hover {
        background-color: #e6e6e6 !important;
        border-color: #adadad !important;
    }


    a.cke_dialog_ui_button span {
        font-weight: normal !important;
    }

a.cke_dialog_ui_button_ok {
    color: #fff !important;
    background: #428bca !important;
    border: 1px solid #357ebd !important;
}

    a.cke_dialog_ui_button_ok:hover {
        background-color: #3071a9 !important;
        border-color: #285e8e !important;
    }


.cke_dialog_contents input.cke_dialog_ui_input_text, .cke_dialog_contents select.cke_dialog_ui_input_select {
    height: 31px !important;
    padding: 6px 12px !important;
    color: #555 !important;
    /*background-color: #fff !important;
    background-image: none !important;*/
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075) !important;
}



.cke_dialog .ImagePreviewBox {
    border: 1px solid #ccc !important;
    overflow: hidden !important;
    height: 310px !important;
    width: 300px !important;
    padding: 2px !important;
    background-color: #fff !important;
    border-radius: 4px !important;
}


.cke_dialog_tabs {
    height: auto !important;
    display: block !important;
    margin: 0 !important;
    position: static !important;
    z-index: 2;
    margin-top: 15px !important;
    padding-left: 5px !important;
    border-bottom: solid 1px #d4d4d4 !important;
}

.cke_single_page .cke_dialog_tabs {
    display: none !important;
} 



a.cke_dialog_tab {
    font-size: 11px !important;
    height: 14px !important;
    line-height: 14px !important;
    padding: 8px 12px !important;
    margin-right: 3px !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    outline: 0 !important;
    color: #444 !important;
    border: solid #fafafa 1px !important;
    background: #fafafa !important;
    border-top-right-radius: 4px !important;
    border-top-left-radius: 4px !important;
}

    a.cke_dialog_tab:not(.cke_dialog_tab_selected):hover {
        background: #f0f0f0 !important;
        border: solid #f0f0f0 1px !important;
    }

a.cke_dialog_tab_selected {
    padding: 8px 12px !important;
    color: #2b579a !important;
    border: 1px solid #d4d4d4 !important;
    border-bottom: solid 2px #fff !important;
    cursor: default !important;
    background-color: #fff !important;
    margin-bottom: -1px !important;
    text-decoration: none !important;
}

.cke_dialog_contents {
    background-color: #fff;
    overflow: auto;
    padding: 15px 10px 5px 10px;
    margin-top: 0 !important;
    border-top: none !important;
}



.cke_dialog_contents_body {
    overflow: auto;
    padding: 20px 30px !important;
    margin-top: 22px;
}



.cke_dialog input[name=gridID_radio] {
    display: none;
}


.cke_dialog input[name=gridID_radio] + label {
    display: block !important;
    width: 65px !important;
}
.cke_dialog input[name=gridID_radio] + label > img {
    cursor: pointer !important;
    opacity: 0.4;
    /*box-sizing: border-box !important;*/
}

.cke_dialog input[name=gridID_radio]:checked + label > img {
    opacity: 1;
}

    .cke_dialog input[name=gridID_radio][disabled] + label > img {
        opacity: 0.2 !important;
        cursor: not-allowed !important;
    }

.cke_dialog input[disabled] {
    cursor: not-allowed !important;
    opacity: 0.6 !important;
    background-color: #fff !important;
}


/*CKEDITOR FINE*/
.select2-container {
    width: 100% !important;
}
.select2-selection--multiple {
    
    border: 1px solid #CCC !important;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.075) inset;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;

    /*background-color: #FFF;
    border-radius: 4px;
    cursor: text;
    width: 100%;*/
    
}

.select2-container--focus .select2-selection--multiple {
    border-color: #66AFE9 !important;
    outline: 0px none !important;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.075) inset, 0px 0px 8px rgba(102, 175, 233, 0.6) !important;
}

/*.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #E4E4E4;
    border: 1px solid #AAA;
    border-radius: 4px;
    cursor: default;
    float: left;
    margin-right: 5px;
    margin-top: 5px;
    padding: 0px 5px;
}*/

.select2-container .select2-selection--multiple {
    /*box-sizing: border-box;
    cursor: pointer;
    display: block;*/
    min-height: 31px !important;
}

.autogrow{
    min-width: 0;
    width:auto;
    display:inline;
    font-family: monospace;
    font-weight: bold;
}


.control-height {
    height: 31px;
    line-height: 31px;
}

.sitemap {
    
}

.sitemap ul.nav-pills > li > a{
    padding-top: 30px;
    min-width: 200px;
    position: relative;
}

.sitemap ul.nav-pills > li > a.empty{
    margin-bottom: -30px;
}

.sitemap ul.nav-pills > li > a:after{
    content: ' ';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #44a69c;
    z-index: 1;
}

    .sitemap ul.nav-pills.no > li > a:after {
        display:none;
    }


.sitemap ul.nav-pills > li:first-child > a:after{
    left: 50%;
    margin-left: -1px;
}


.sitemap ul.nav-pills > li:last-child > a:after{
    right: 50%;
    margin-right: -1px;
}


 .sitemap ul.nav-pills.no {
    border: dashed 1px #ccc;
    margin: 0 10px;
}

    .sitemap ul.nav-pills.no > li > a {
        padding-top: 10px !important;
    }

        .sitemap ul.nav-pills > li > a:before{
            content: ' ';
            position: absolute;
            top: 0;
            left: 50%;
            margin-left: -1px;
            width: 2px;
            height: 20px;
            background-color: #44a69c;
            z-index: 1;
        }

        .sitemap ul.nav-pills.no > li > a:before {
            display:none;
        }

        .sitemap ul.nav-pills.no > li:first-child > a {
            padding-top: 20px !important;
        }
        .sitemap ul.nav-pills.no > li:last-child > a {
            padding-bottom: 20px !important;
        }


.sitemap > ul.nav-pills > li > a:before, .sitemap > ul.nav-pills > li > a:after {
    display: none;
}

.dragover {
    position: relative;
    overflow: auto;
}
.dragover:after {
    content: 'RILASCIA QUI LE FOTO';
    font-size: 20px;
    font-weight: bold;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(255,255,255,0.7);
    display:flex; justify-content:center; align-items:center;
    border: dashed 1px #333;
}
    .dragover.files:after {
        content: 'RILASCIA QUI I FILES';
    }

.bg-main {
    background-color: #DDE2E6;
}

.alert-default {
    border: solid 1px #DDDDDD;
    background-color: #fafafa;
}

.cursor-pointer {
    cursor: pointer;
}

.discount_ispercent label {
    font-weight: normal;
}

.discount_ispercent.has-feedback .form-control {
    padding-right: 70px;
}

.discount_ispercent.has-feedback .form-control-feedback {
    top: -1px;
    right: -6px;
    width: 70px;
}

.discount_ispercent.has-feedback .btn {
    border-color: #ccc;
    padding: 3px 8px;
    pointer-events: all;
}

.label-big .label {
    font-size: 12px;
    padding: 9px 20px;
    position: static;
}

#menu .nav li a.disabled {
    cursor: not-allowed;
    background-color: #44494D;
    opacity: 0.7;
}


#menu .nav li a.disabled:after {
    display: none;
}

.editor-border {
    border: solid 1px #ccc;
    padding: 17px 0 20px 0;

}



/* ---------------------------------------------------------------------- */
/*	Per la stampa
/* ---------------------------------------------------------------------- */
@media print {

    @page {
        size: auto;
        margin: 0mm;
    }

    body {
        margin: 1.3cm;
    }

    .order-detail table {
        width: 100%;
        font-size: 12px !important;
    }

    .hidden-xs {
        display: block !important;
    }
}