#middle.app-ajax {
    margin-left: 0 !important;
}

body .modal-dialog {
    width:80%;
    margin:auto;
}

body.dragging, body.dragging * {
  cursor: move !important;
}

.dragged {
  position: absolute;
  opacity: 0.5;
  z-index: 2000;
}

ul.sort_class li.placeholder {
  position: relative;
  /** More li styles **/
}
ul.sort_class li.placeholder:before {
  position: absolute;
  /** Define arrowhead **/
}

.logout-group {
    padding-top:10px;
}

/*
 * TYPE HEAD CSS
 */
 
.twitter-typeahead {
  width:100%;
}


.twitter-typeahead .tt-query,
.twitter-typeahead .tt-hint {
  margin-bottom: 0;
  width:100%;
}

.tt-dropdown-menu {
  min-width: 160px;
  margin-top: 2px;
  padding: 5px 0;
  background-color: #fff;
  border: 1px solid #ccc;
  border: 1px solid rgba(0,0,0,.2);
  *border-right-width: 2px;
  *border-bottom-width: 2px;
  -webkit-border-radius: 6px;
     -moz-border-radius: 6px;
          border-radius: 6px;
  -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
     -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
          box-shadow: 0 5px 10px rgba(0,0,0,.2);
  -webkit-background-clip: padding-box;
     -moz-background-clip: padding;
          background-clip: padding-box;
}

.tt-suggestion {
  display: block;
  padding: 3px 20px;
}

.tt-suggestion.tt-cursor {
  color: #fff;
  background-color: #0081c2;
  background-image: -moz-linear-gradient(top, #0088cc, #0077b3);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3));
  background-image: -webkit-linear-gradient(top, #0088cc, #0077b3);
  background-image: -o-linear-gradient(top, #0088cc, #0077b3);
  background-image: linear-gradient(to bottom, #0088cc, #0077b3);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0)
}

.tt-suggestion.tt-cursor a {
  color: #fff;
}

.tt-suggestion p {
  margin: 0;
}

/*
.text-attivo {
   
}

.text-success>i {
   color:white;
}

i {
   color:white;
}
*/

.overlay {
    background-color: rgba(1, 1, 1, 0.3);
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index:10000;
}

.th-list-action {
  min-width:200px;
}


.navbar-default .navbar-nav > li > a {
    /*color: #777;*/
}
.navbar-nav > li > a {
    padding-bottom: 15px;
    padding-top: 15px;
}
.navbar-nav > li > a {
    line-height: 20px;
    padding-bottom: 10px;
    padding-top: 10px;
}
.nav > li > a.dropdown_linked {
    display: inline-block;
    padding: 10px 15px;
    padding-right:20px;
    position: relative;
}

.nav > li > a.dropdown_linked_caret {
    display: inline;
    padding: 10px 4px;
    position: absolute;
    right: -4px;
    cursor: pointer;
}

#aside .nav-menu-title {
    color: white;
    font-weight: bolder;
    font-size: 0.9em;
    text-transform: uppercase;
}
#aside .nav-submenu-title {
    color: white;
    /*text-transform: uppercase;*/
}

.carousel .item img {
    margin: auto;
}

div.tags {
    text-align:right;
    font-size:0.8em;
}

.navbar-nav > li.lang-switcher > a {
    padding-left:2px;
    padding-right:2px;
}

.pagination ul > li > input{
   vertical-align: top;
   -webkit-border-radius: 0;
     -moz-border-radius: 0;
          border-radius: 0;
    height:auto;
   *height: 20px;
   margin-bottom:0px;
   background-color: #fff;
   border-left-width: 0;
   width:40px;
   float:left;
   min-height: auto;
   *min-height: 20px;
}

.anchorjs-link {
    color: inherit;
    float: left;
    height: 1em;
    margin-left: -1.2em;
    opacity: 0;
    text-align: center;
    width: 1em;
    display: block; position: relative; top: -80px; visibility: hidden;
}

.markmap {
    padding-top:6px;
    padding-left:3px;
    padding-right:2px;
    height:34px;
    width:16px;
    color:rgba(256,256,256,1);
    background-image:url('http://mt.googleapis.com/vt/icon/name=icons/spotlight/spotlight-waypoint-a.png&text=%20&psize=16&font=fonts/Roboto-Regular.ttf&color=ff333333&ax=44&ay=48&scale=1.1')
}

.img-list {
     height:30px;
 }

/*
    CUPPARIS 3

*/



/*
CLASSI CHE ANDRANNO NEL CORE SECONDO ME
*/
.boxtest {
    border: 1px solid red !important;
}


span.select2 {
    background-color: #ffffff;
}
span.select2-container {
    width: 100% !important;
}

.well {
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05) inset;
    margin-bottom: 10px;
    min-height: 10px;
    padding: 12px;
}

.well-success {
    background-color: rgba(210, 235, 184, 0.4);
}
.well-info {
    background-color: rgba(176, 230, 250, 0.4);
}
.well-warning {
    background-color: rgba(252, 227, 163, 0.4);
}
.well-danger {
    background-color: rgba(248, 186, 192, 0.4);
}
.well-default {
    background-color:rgba(0,0,0,0.08);
}




#middle .panel-clean > .panel-heading,
#middle .panel-default > .panel-heading,
#middle .panel-warning > .panel-heading,
#middle .panel-success > .panel-heading,
#middle .panel-info > .panel-heading,
#middle .panel-danger > .panel-heading {
    height: auto;
}

#middle .panel-primary > .panel-heading {
    color: #fff !important;
    height: auto;
}

/*
VIEW SEARCH-LIST-EDIT-INSERT
*/
.csvmodel hr,
.viewSearch hr,
.viewList hr{
    margin-top: 10px;
    margin-bottom: 10px;
}

.csvmodel-div-form {
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
    margin-bottom: 8px;
}

.csvmodel .btn i,
.viewSearch .btn i,
.viewList .btn i {
    padding-right: 0;
}


.csvmodel a.btn.btn-xs,
.viewSearch a.btn.btn-xs,
.viewList a.btn.btn-xs {
    line-height: 1.5em;
}

.csvmodel .btn, .csvmodel .form-control,
.viewSearch .btn, .viewSearch .form-control,
.viewEdit .btn, .viewEdit .form-control,
.viewInsert .btn, .viewInsert .form-control {
    height:auto;
    padding: 2px 6px !important;
}

.csvmodel .col,
.viewEdit .col,
.viewInsert .col,
.viewSearch .col {
    /*padding: 3px;*/
    padding-left: 2px;
    padding-right: 2px;
}

.viewSearch input[type=date].form-control,
.viewSearch input[type=time].form-control,
.viewSearch input[type=datetime-local].form-control,
.viewSearch input[type=month].form-control
{
    line-height: inherit !important;
}



/*
VIEW LIST
*/

.viewList .table-responsive > table {
    border: 1px solid black !important;
}
.viewList td ul {
    margin-bottom:5px;
}

/* DATATABLES */
.viewList table thead th {
    position: relative;
    background-image: none !important;
}

.viewList table thead th.sorting:after,
.viewList table thead th.sorting_asc:after,
.viewList table thead th.sorting_desc:after {
    position: absolute;
    top: 12px;
    right: 8px;
    display: block;
    font-family: FontAwesome;
}

.viewList table thead th.sorting:after {
    content: "\f0dc";
    color: #ddd;
    font-size: 0.8em;
    padding-top: 0.12em;
}
.viewList table thead th.sorting_asc:after {
    content: "\f0de";
}
.viewList table thead th.sorting_desc:after {
    content: "\f0dd";
}

#middle div.panel.fullscreen .viewList div.panel-body {
    position: relative;
}



.pagination {
    margin: 0 0;
}

.pagination .pagination-input  {
    height:16px;
    width:45px;
    font-size: .8em;
    padding:0px;
    margin: 0px;
}

.list-actions ul {
    height: 30px;
    margin-bottom: 0;
}

.list-actions ul li {
    margin-top: 5px;
}


/*
VIEW SEARCH
*/


.csvmodel,
.viewSearch {
    font-size: 0.9em;
}


.csvmodel form,
.viewSearch form {
    margin-bottom: 2px;
}

.csvmodel form .row,
.viewSearch form .row {
    margin-bottom: 2px;
}

.csvmodel label,
.viewSearch label {
    height: 21px;
    padding-top:3px;
}

.advanced_search {
    margin-top:5px;
    margin-bottom:5px;
    font-weight: bold;
}
.advanced_search div {
    font-weight: normal;
}

/*
VIEW EDIT/INSERT
*/

.viewInsert .view-field > .col,
.viewEdit .view-field > .col {
    margin-bottom: 3px;
}


.select2-container--default .select2-selection--single, .select2-container--default .select2-selection--single .select2-selection__rendered, .select2-container--default .select2-selection--single .select2-selection__arrow {
    border-radius: 3px;
    height: 28px;
    line-height: 24px;
}

.model-list td {

    font-size:0.85em;

}

.model-list th {

    font-size:0.9em;

}

.model-list .table-responsive {
    padding-bottom:35px;
}

.csvmodel .well:after,
.hasmany-list .well:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.hasmany-list textarea {
    z-index:10;
}


.detail-first-field {
    text-align:right;
    text-transform: uppercase;
    font-weight: bold;
}
/*
FINE CLASSI CHE ANDRANNO NEL CORE SECONDO ME
*/


.viewList th.field-undefined {
    min-width: 90px;
}

.summary-operation {
    border-bottom:1px solid darkgrey;
    font-weight: bold;
}

.summary-operation:last-of-type {
    border-bottom:none;
}