/*
 * Base structure
 */

body{
    font-family: 'Open Sans', "Source Sans Pro","Helvetica Neue",Helvetica,Arial,sans-serif;
}

/* Move down content because we have a fixed navbar that is 50px tall */
body.masterpage { 
    padding-top: 50px; 
    /* font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; */
}
body.masterframe { 
    padding-top: 0px; 
    /* font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; */
}

a{
    color:#777777;
}

a:hover{
    /*color:#777777;*/
    color: #000;
}

/*
 * Global add-ons
 */

.sub-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar-fixed-top {
  /* border: 0; */
  border-bottom: 2px solid #777777;
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
  display: none;
}
@media (min-width: 768px) {
  .sidebar {
    position: fixed;
    top: 30px;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    background-color: #f5f5f5;
    border-right: 1px solid #eee;
  }
}



/*
.navbar-inverse .navbar-nav > li > a 
, .navbar-inverse .navbar-nav > li > ul > li > a  
, .navbar-inverse .navbar-nav > li > ul > li >  ul > li > a  
{  color: #9d9d9d !important; }

.navbar-inverse .navbar-nav > li > ul > li > a  
, .navbar-inverse .navbar-nav > li > ul > li >  ul > li > a  
{  display: block; padding-bottom: 5px; padding-left: 10px; padding-right: 10px; padding-top: 5px; position: relative;  }


.navbar-inverse .navbar-nav > li 
, .navbar-inverse .navbar-nav > li > ul > li 
, .navbar-inverse .navbar-nav > li > ul > li >  ul > li 
{  list-style-type: none; list-style-position: outside;  list-style-image: none;}

.navbar-nav > li > a { line-height: 20px; padding-bottom: 10px; padding-top: 10px; }
.nav > li > a { display: block; padding-bottom: 10px; padding-left: 15px; padding-right: 15px; padding-top: 10px; position: relative; }
*/

/*
 * Main content
 */

.main {
  padding: 20px;
}
@media (min-width: 768px) {
  .main {
    padding-right: 40px;
    padding-left: 40px;
  }
}
.main .page-header {
  margin-top: 0;
}


/*
 * Placeholder dashboard ideas
 */

.placeholders {
  margin-bottom: 30px;
  text-align: center;
}
.placeholders h4 {
  margin-bottom: 0;
}
.placeholder {
  margin-bottom: 20px;
}
.placeholder img {
  display: inline-block;
  border-radius: 50%;
}
.nav-sidebar > li {
    border-bottom:1px solid #CCC;
}

.nav > li .nav > li {
    font-size:95%;
    /*border-bottom:1px solid #71aec5; BRAND SWITCH */
    border-bottom:1px solid #f5f5f5;
}
.nav > li .nav > li .nav > li {
    font-size:95%;
    /*border-bottom:1px solid #CCC;*/
}


.nav > li .nav > li:last-child {
   /* border-bottom:3px solid #CCC;*/
    border-bottom:none;
}

/*
.nav-sidebar > .active > .in > .active > a ,
.nav-sidebar > .active > .in > .active > a:hover,
.nav-sidebar > .active > .in > .active > a:focus , 
*/

@media (min-width: 768px) {
    .nav.in > .active > a ,
    .nav.in > .active > a:hover,
    .nav.in > .active > a:focus 
    {
        /* background-color: #127ba3; BRAND SWITCH */
        background-color: #777777;
        color: #fff;
    }
}

.nav > li .nav > li > a {
    padding:6px 15px 6px 30px;
}

/* Sidebar navigation */
.nav-sidebar {
  margin-right: -21px; /* 20px padding + 1px border */
  margin-bottom: 20px;
  margin-left: -20px;
}

.nav-sidebar > .active > ul > li > a,
.nav-sidebar > .active > ul > li > a:hover,
.nav-sidebar > .active > ul > li > a:focus {
  color: #fff;
  /* background-color: #158cba !important; BRAND SWITCH */ /* #428bca; */
  background-color: #999 !important;
}

.nav-sidebar > .active > ul > li > ul > li > a,
.nav-sidebar > .active > ul > li > ul > li > a:hover,
.nav-sidebar > .active > ul > li > ul > li > a:focus {
  /*padding:6px 15px 6px 25px;*/
  padding-right: 20px;
  padding-left: 45px;
  padding-top: 6px;
  padding-bottom: 6px;
  /*background-color: #98bfce !important; BRAND SWITCH */
  background-color: #c0c0c0 !important;
  color: #fff;
}

.nav-sidebar > .active > li > ul > li > ul > li > a,
.nav-sidebar > .active > li > ul > li > ul > li > a:hover,
.nav-sidebar > .active > li > ul > li > ul > li > a:focus {
  color: #fff;
  background-color: #98bfce !important;
}

.nav-sidebar > li > a {
  padding-right: 20px;
  padding-left: 20px;
}

.navbar>.container .navbar-brand, .navbar>.container-fluid .navbar-brand {
    margin-top: -5px;
}

.nav-sidebar .badge{
    background-color: #98bfce;
    /*color: #000;*/
    font-size: 0.70em;
}

.badge-danger {
  background-color: #ff4136 !important;
}
.badge-warning {
  background-color: #ff851b !important;
}
.badge-success {
  background-color: #28b62c !important;
}
.badge-info {
  background-color: #75caeb !important;
}

/*.nav > li .nav > li > a.active  {
    background-color: #CCC;
    color: #23527c;
}*/
#myModalFrame > .modal-dialog  > .modal-content   > .modal-body { padding:5px;}

#iframe-body { width:100%; border:none; margin:0px; }

.modal-backdrop{
    z-index: 0;
}

.form-group-sm > label {
    font-size: 12px;
    margin-top: 10px;
}

.form-small {  font-size: 11px;}
.form-small > .form-group .form-control {
    font-size: 11px;
    height: 22px;
    padding-bottom: 3px;
    padding-left: 6px;
    padding-right: 6px;
    padding-top: 3px;
}

.form-small .control-label{padding-top: 3px;}
.vocipreventivo{font-size: 11px;}
.statoriga{font-size: 12px;}
@media (min-width: 768px) {
.statoriga{font-size: 14px;}
.vocipreventivo{font-size: 12px;}
.form-small {  font-size: 12px;}
.form-small > .form-group .form-control {
    font-size: 12px;
    height: 24px;
    padding-bottom: 3px;
    padding-left: 6px;
    padding-right: 6px;
    padding-top: 3px;
}

}

.overlay{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  background-color: rgba(0,0,0,0.5); /*dim the background*/
}
.overlay > h1 {color:#FFFFFF;}

/* PANEL DI BOOTSTRAP*/
.panel {
    border-width: 1px 1px 3px 1px;
}

.input-xs {
  height: 22px;
  padding: 2px 5px;
  font-size: 12px;
  line-height: 1.5; /* If Placeholder of the input is moved up, rem/modify this. */
  border-radius: 3px;
}

/* SELECT 2 */
.select2-container--default .select2-selection--single{
    box-shadow: inset 0 2px 0 rgba(0,0,0,0.075);
    border-radius: 2px;
    border: 1px solid #e7e7e7;
}

#VociPreventivo .small{
    font-size: 95%;
}

.numeric{
    width: 70px;
    text-align: right;
}

.sconto-field{
    max-width: 40px;
    font-size: 80%;
}

.prezzoum-field{
    width: 80px;
}

.pezzi {
    width: 50px;
}

.umlistino{
    width: 60px;
    text-align: right;
}

#VociPreventivo tr {
    border-bottom: 2px solid #e8e5e5;
}

.btn, .btn:hover{
    border-width: 1px;
}


.extra-small{
    font-size: 75%;
}

.bigdrop {
    width: 400px !important;
}

/*
.select_voce {
    width: 300px;
}
*/
.select2-container {
  position: relative;
  z-index: 2;
  float: left;
  width: 100%;
  min-width: 70px;
  margin-bottom: 0;
  display: table;
  table-layout: fixed;
}

.popover{
    max-width: 800px;
}

.Overlay
{
    background-color: #ffffff94;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 12px;
    /*
    filter: alpha(opacity=60);
    opacity: 0.6;
    -moz-opacity: 0.6;
    */
    text-align: center;
    z-index: 9999;
    vertical-align: middle;
    overflow:hidden;
}

.Overlay .OverlayBody
{
    margin-top: 150px;
    color: #3a180e;
    font-weight: bold;
}

.Overlay #Alert {
    font-size: 20px;
    padding: 120px;
    color: #000;
    filter: alpha(opacity=100);
    opacity: 1;
    -moz-opacity: 1;
    position: relative;
}

.select2-container--bootstrap .select2-results__option[aria-disabled=true] {
    color: #bbb;
}

.table-borderless > tbody > tr > td,
.table-borderless > tbody > tr > th,
.table-borderless > tfoot > tr > td,
.table-borderless > tfoot > tr > th,
.table-borderless > thead > tr > td,
.table-borderless > thead > tr > th {
    border: none;
}

.table > tbody > tr.deleted {
    color: #bbb;
}

.warning{
    background-color: #0098AA;
}

.table>thead>tr>td.warning, 
.table>tbody>tr>td.warning, 
.table>tfoot>tr>td.warning, 
.table>thead>tr>th.warning, 
.table>tbody>tr>th.warning, 
.table>tfoot>tr>th.warning, 
.table>thead>tr.warning>td, 
.table>tbody>tr.warning>td, 
.table>tfoot>tr.warning>td, 
.table>thead>tr.warning>th, 
.table>tbody>tr.warning>th, 
.table>tfoot>tr.warning>th{
    background-color: #0098AA;
}