.sectionMenu .panel-primary{
    background-color: #fff;
}

.table-condconf thead{
    color: #fff;
    background-color: #034373;
}

.table-condconf tbody{
    background-color: #fff;
}

/* Buttons */

.btn-custom-expand {
    padding: 0px;
    font-size: 15px;
    background: transparent;
    color: #fff;
}

.span-custom-expand:focus,
.span-custom-expand:hover {
    text-decoration: underline;
    cursor: pointer;
}

.span-custom-expand:focus,
.span-custom-expand:hover,
.btn-custom-expand:focus,
.btn-custom-expand:hover {
    color: #E6E5E5;
}

/* Feedback */
div#feedbackWrapper{
    z-index:9999;
    position: fixed;
    top: 0;
    left: 50%;
    width: 500px;
    margin-left: -250px;
    -webkit-box-shadow: 0px 0px 100px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 100px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 100px 0px rgba(0,0,0,0.75);
}

div#feedbackWrapper .feedbackMessage{
    padding-left: 20px;
}

div#feedbackWrapper .alert{
    margin-bottom: 0;
}

/* SwitchInput */
.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary,
.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary{
    background-color: #034373;
}


/* Grid */

span.expande-collapse{
    font-size:small;
}

.kv-grid-container .kv-grid-table{
    border: 1px solid #034373 !important;
    background-color: #fff;
}

.kv-grid-container .kv-grid-table tbody tr td,
.kv-grid-container .kv-grid-table tbody tr th {
    border: 1px solid #034373 !important;
}

.table-bordered > thead > tr > th, .table-bordered > thead > tr > td{
    border-bottom-width: 0;
}

.kv-grid-container{
    margin: 10px;
}

.kv-grid-table thead tr th,
.kv-grid-table thead tr td{
    background-color: #034373;
}

.kv-grid-table thead tr th,
.kv-grid-table thead tr td,
.kv-grid-table thead tr th a,
.kv-grid-table thead tr td a{
    color: #fff;
}

.kv-grid-table thead tr td input,
.kv-grid-table thead tr td select{
    height: 25px;
    padding: 0;
    text-align:center;
}

.kv-panel-after{
    border-top: none;
}

.box.box-default{
    border-top-color: #034373;
}

.box.box-default box-header{
    border-left-color: #034373;
    border-right-color: #034373;
}

.box-group .panel{
    background-color: #034373;
}

.box-header .box-title a{
    color:#fff;
}

.nav-tabs{
    border-bottom: none;
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
    border-color: #034373;
}

.tab-content{
    border: 1px solid #034373;
    background-color:#fff;
}

.tabs-above > .nav-tabs > .active > a, .tabs-above > .nav-tabs > li.active > a:hover, .tabs-above > .nav-tabs > li.active > a:focus {
    border-color: #034373 #034373 transparent !important;
    background-color: #034373;
    color: #fff;
}

.tabs-above > .nav-tabs > li > a, .tabs-above > .nav-tabs > li > a:hover, .tabs-above > .nav-tabs > li > a:focus {
    border-color: #034373 #034373 transparent !important;
    background-color: #fff;
    color: #034373;
}

.tabs-above > .nav-tabs > li > a:hover {
    border-color: #034373 #034373 transparent !important;
    background-color: #5C7D99;
    color: #fff;
}


/* Paginator 'per-page' */
.perPage{
    text-align:center;
    margin-top:10px;
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus{
    background-color: #034373;
    border-color: #034373;

}


/* Form */

fieldset{
    border: 1px solid #034373;
    position: relative;
    margin-top: 30px;
    margin-bottom: 50px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background-color: #fff;

    /* CSSPaolo */
    /*background-color: #5C7D99;*/
    background-color: #ECF0F5;

}

fieldset p{
    padding-left:15px;
}

legend span{
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 5px;
    padding-bottom: 5px;
    border-left: 1px solid #034373;
    border-top: 1px solid #034373;
    border-right: 1px solid #034373;
    border-bottom: 1px solid #034373;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    text-transform: uppercase;
    background-color: #034373;
    color: #fff;
    font-size: small;
    font-weight: bold;
}
legend{
    left: -1px;
    top: -32px;
    height: 20px;
    position: absolute;
    border: none;
}

label{
    color: #034373;
    padding-left: 5px;
    padding-right: 5px;
    margin-bottom:0;
    border: 1px solid #5C7D99;

    /* CSSPaolo */
    color: #034373;
    background-color: #fff;
    border: 1px solid #034373;
}

.checkboxlist div label{
    border:none;
}


/* Header */

.skin-blue .main-header .navbar, .skin-blue .main-header .logo {
    background-color: #034373;
}

.navbar-level-custom-menu,
.navbar-user-custom-menu{
    margin-top:12px;
}

.main-header .logo{
    padding: 0;
}

.main-header .navbar, .main-header .logo{
    min-height: 80px;
}

.main-header .logo .logo-lg img{
    max-width: none;
    max-height: none;
}

.main-header .logo img{
    padding: 0;
}

.main-sidebar{
    padding-top:85px;
    position: absolute !important;
}

li.user-level, li.user-menu{
    color:#fff;
}

li.user-level img, li.user-menu img{
    padding:5px;
}

/* Main theme customizations */

.treeview-menu{
    padding-left:0 !important;
}

.treeview-menu > li{
    border-bottom:1px solid #034373;
}

.treeview-menu > li:first-child{
    border-top:1px solid #034373;
}

.sidebar-menu > li > a{
    padding-left:10px !important;
}
.sidebar-menu li > a > .pull-right-container{
    margin-top: -10px !important;
}
.sidebar-menu li > a > .fa-angle-left, .sidebar-menu li > a > .pull-right-container > .fa-angle-left{
    margin-right: 0 !important;
}

.skin-blue .content-wrapper, .skin-blue .wrapper, .skin-blue .left-side {
    background-color: #5c7d99;
}

.skin-blue .main-header .navbar .sidebar-toggle:hover{
    background-color: transparent;
}

.skin-blue .main-sidebar {
    background-color: #034373;
}

.skin-blue .sidebar-menu > li:hover > ul,
.skin-blue .sidebar-menu > li.active > ul {
    font-weight: normal;
}

.skin-blue .sidebar-menu > li:hover > a {
    font-weight: bold;
}

.skin-blue .treeview-menu > li > a {
    color: #fff;
}

.skin-blue .sidebar a {
    color: #fff;
}

.skin-blue .sidebar a:hover {
    font-weight: bold;
}

.sidebar-menu {
    background-color: #034373;
}

.skin-blue .sidebar-menu > li.active > a {
    border-left: 3px solid #fff;
}

.skin-blue .sidebar-menu > li:hover > a,
.skin-blue .sidebar-menu > li.active > a,
.skin-blue .sidebar-menu > li.menu-open > a {
    background-color: transparent;
}

.skin-blue .sidebar-menu > li > .treeview-menu {
    background-color: #5C7D99;
    color: #fff;
}

.skin-blue .sidebar-menu > li > .treeview-menu > li.active > a {
    color: #fff;
}

.skin-blue .sidebar-menu > li:hover > ul,
.skin-blue .sidebar-menu > li.active > ul > li:hover > a{
    color: #fff;
}

.skin-blue .sidebar-menu > li > .treeview-menu a,
.skin-blue .sidebar-menu > li:hover > .treeview-menu a{
    color: #fff;
}

.sidebar-menu .parent-arrow{
    color:#034373;
    background-color:#fff;
    border-radius: 50%;
    width:18px !important;
    height:18px !important;
    padding-left:5px !important;
    padding-top:1px !important;
}

/* Customize panel */
.panel{
    margin-bottom: 0;
    background-color: #fff;
    /* CSSPaolo */
    /*
    background-color: #5C7D99;
    */
}

.kv-panel-before{
    border-bottom: none;
}

.panel-primary{
    border-color: #034373;
}

.panel + .panel-primary{
    margin-top: 10px;
}

.panel-primary > .panel-heading{
    background-color: #034373;
    border-color: #034373;
}


/* Customize modal */
.modal-lightblue {
    border: 1px solid #034373;
}

.modal-lightblue .modal-header{
    background-color:#034373;
}

.modal-lightblue .modal-body{
    background-color:#5C7D99;
}

.modal-lightblue .modal-footer{
    background-color:#5C7D99;
    border-top-color:#5C7D99;
}

.modal-lightblue .modal-header .close {
    color: #fff !important;
}


.modal-lightblue .modal-header,
.modal-lightblue .modal-footer {
    color: #fff !important;
}


/* Select2 widget */

.select2-dropdown .select2-search__field:focus, .select2-search--inline .select2-search__field:focus {
    border: none;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #ECF0F5;
    color: #000;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{
    color: #000;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #000;
}

/* Selectize widget */

div.selectTool{
    border: 1px solid #CCCCCC;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: 50% 10px;
    text-align: center;
    min-height: 60px;
    padding: 45px 5px 10px 5px;
    cursor: pointer;
}

div.selectTool:hover{
    background-color:#ECF0F5;
    font-weight:bold;
    }

div.clear_select2, div.clear_selectize{
    background-image: url(../images/delete-all.png);
}

div.import_data, div.import_codep, div.import_packaging, div.restore_select2, div.restore_selectize{
    background-image: url(../images/add.png);
}

div.create{
    background-image: url(../images/create.png);
}

div.literature{
    background-image: url(../images/literature.png);
}

div.drop{
    background-image: url(../images/drop.png);
}

.selectize-control{
    width: 100%;
    box-sizing: border-box;
    display: inline-block;
    position: relative;
    vertical-align: middle;
}

.selectize-input{
    border-radius: 0;
}

.selectize-input.items a.remove{
  left: 0 !important;
}
.selectize-input.items > div {
  padding-left: 25px !important;
}

.selectize-control.multi .selectize-input.has-items{
    padding: 4px;
}

.selectize-control.multi .selectize-input > div{
    background-color: #ECF0F5;
    border: 1px solid #367FA9;
    width: 100%;
}

.selectize-control .pbox {
  float: right;
  font-size: smaller;
  margin:2px; }

.selectize-control .pbox input[type='text'] {
  margin: 0;
  padding: 2px;
  border: solid 1px #367FA9;
  z-index: 100;
  font-size: 12px;
  width: 50px;
  min-height: 18px;
  height: 18px !important;
  text-align: right; }

.selectize-control .pbox input[type='text']:focus {
    text-align: left; }

.selectize-control .pbox select {
  margin: 0;
  padding: 0;
  border: solid 1px #367FA9;
  z-index: 100;
  font-size: 12px;
  width: 50px;
  min-height: 18px;
  height: 18px !important;
  text-align: right; }

.selectize-control .pbox select:focus {
    text-align: left; }

.form-control {
    display: inline;
}


.slider.slider-horizontal{
    width: 500px;
}


/* custom modal styles */
.modal-dialog .select2-container{
    width: 100% !important;
}

.modal-dialog .select2-selection--single{
    height: 34px !important;
    line-height: 28px;
    padding-left: 3px;
}

.modal-dialog .summary {
    margin: 0 -15px 20px !important;
    background-position: 20px 50%;
    padding: 12px 36px 10px 90px;
}

/* custom breadcrumbs */
.breadcrumb {
    margin-top:10px;
    margin-bottom:10px;
    color: #fff;
    background-color:#034373;
    }

.breadcrumb a{
    color: #fff;
    }

.breadcrumb li.active{
    color: #fff;
    }

/* hide spinners */
input[type='number'] { -moz-appearance:textfield; }
input[type='number']::-webkit-outer-spin-button, input[type='number']::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
