/*!
 * Start Bootstrap - SB Admin (http://startbootstrap.com/)
 * Copyright 2013-2016 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
 */

/* Global Styles */


/* FIX MULTIPLES BOOTSTRAP ADDON IN SINGLE INPUT GROUP*/
.input-group .input-group-addon:not(:first-child) {
   border-width: 1px 0;
}

body {
   margin-top: 100px;
}

.navbar-fixed-top {
   border-color: #c91919;
   background-color: white;
}

.navbar-toggle {
   background-color: #c91919;
}

   .navbar-toggle .icon-bar {
      background-color: white;
   }

   .navbar-toggle:hover,
   .navbar-toggle:active,
   .navbar-toggle:focus {
      background-color: white;
      border-color: #c91919;
   }

      .navbar-toggle:hover .icon-bar,
      .navbar-toggle:active .icon-bar,
      .navbar-toggle:focus .icon-bar {
         background-color: #c91919;
      }


/* contenitore logo */
.navbar-brand {
   padding: 0;
}

/* logo navbar */
.website-logo {
   margin: 5px 15px;
   height: 40px;
}

@media(min-width:768px) {
   body {
      margin-top: 50px;
   }
}

#wrapper {
   padding-left: 0;
}

#page-wrapper {
   width: 100%;
   padding: 0;
   background-color: #fff;
   position: relative;
}

.huge {
   font-size: 50px;
   line-height: normal;
}

@media(min-width:768px) {
   #wrapper {
      padding-left: 225px;
   }

   #page-wrapper {
      padding: 10px;
   }
}

/* Top Navigation */

.top-nav {
   padding: 0 15px;
}

   .top-nav > li {
      display: inline-block;
      /*float: left;*/
   }

      .top-nav > li > a {
         padding-top: 15px;
         padding-bottom: 15px;
         line-height: 20px;
         color: #c91919;
      }

      .top-nav > li > ul a {
         color: #c91919;
      }

      .top-nav > li > a:hover,
      .top-nav > li > a:focus,
      .top-nav > .open > a,
      .top-nav > .open > a:hover,
      .top-nav > .open > a:focus {
         background-color: #fff;
         color: #000;
      }

   .top-nav > .open > .dropdown-menu {
      float: left;
      position: absolute;
      margin-top: 0;
      border: 1px solid rgba(0,0,0,.15);
      border-top-left-radius: 0;
      border-top-right-radius: 0;
      background-color: #fff;
      -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
      box-shadow: 0 6px 12px rgba(0,0,0,.175);
   }

      .top-nav > .open > .dropdown-menu > li > a {
         white-space: normal;
      }

ul.message-dropdown {
   padding: 0;
   max-height: 250px;
   overflow-x: hidden;
   overflow-y: auto;
}

li.message-preview {
   width: 275px;
   border-bottom: 1px solid rgba(0,0,0,.15);
}

   li.message-preview > a {
      padding-top: 15px;
      padding-bottom: 15px;
   }

li.message-footer {
   margin: 5px 0;
}

ul.alert-dropdown {
   width: 200px;
}

/* Side Navigation */
.navbar-ex1-collapse {
   background-color: rgb(201, 25, 25);
}

.side-nav li a:hover,
.side-nav li a:focus {
   outline: none;
   color: #c91919;
   background-color: white;
}

@media(min-width:768px) {
   .navbar-ex1-collapse {
      background-color: white;
   }

   .side-nav {
      position: fixed;
      top: 51px;
      left: 225px;
      width: 225px;
      margin-left: -225px;
      border: none;
      border-radius: 0;
      overflow-y: auto;
      background-color: #40ad3b;
      bottom: 0;
      overflow-x: hidden;
      padding-bottom: 40px;
   }

      .side-nav > li > a {
         width: 225px;
      }
}

.side-nav > li > ul {
   padding: 0;
}

.navbar-link {
   display: block;
   padding: 10px 15px 10px 38px;
   text-decoration: none;
   color: white;
   background-color: #40ad3b;
}

   .active .navbar-link,
   .navbar-link:hover {
      background-color: white;
      color: #c91919;
      text-decoration: none;
   }

/* Flot Chart Containers */

.flot-chart {
   display: block;
   height: 400px;
}

.flot-chart-content {
   width: 100%;
   height: 100%;
}

/* Custom Colored Panels */

.huge {
   font-size: 40px;
}

.panel-green {
   border-color: #5cb85c;
}

   .panel-green > .panel-heading {
      border-color: #5cb85c;
      color: #fff;
      background-color: #5cb85c;
   }

   .panel-green > a {
      color: #5cb85c;
   }

      .panel-green > a:hover {
         color: #3d8b3d;
      }

.panel-red {
   border-color: #d9534f;
}

   .panel-red > .panel-heading {
      border-color: #d9534f;
      color: #fff;
      background-color: #d9534f;
   }

   .panel-red > a {
      color: #d9534f;
   }

      .panel-red > a:hover {
         color: #b52b27;
      }

.panel-yellow {
   border-color: #f0ad4e;
}

   .panel-yellow > .panel-heading {
      border-color: #f0ad4e;
      color: #fff;
      background-color: #f0ad4e;
   }

   .panel-yellow > a {
      color: #f0ad4e;
   }

      .panel-yellow > a:hover {
         color: #df8a13;
      }


.panel-title {
   cursor: pointer
}

/* Icona per collassare/aprire i pannelli */
[data-toggle="collapse"].collapsed .collapsed-hidden {
   display: none;
}

[data-toggle="collapse"]:not(.collapsed) .expanded-hidden {
   display: none;
}

.resize-v {
   resize: vertical;
}

/* Messaggi errore nei form */
.form-group:not(.has-error) .input-error {
   display: none;
}

/*Modifiche custom*/
.navbar-inverse .navbar-nav .active > a, .navbar-inverse .navbar-nav .active > a:hover, .navbar-inverse .navbar-nav .active > a:focus {
   color: #c91919;
   background-color: white;
}

/* pannello loading */
.cursor-loading {
   cursor: wait;
}

.cursor-pointer {
   cursor: pointer;
}

/* Margin bottom 5px */
.margin-btn-5px {
   margin-bottom: 5px;
}


.loading-backdrop {
   position: absolute;
   top: 0;
   height: 100%;
   left: 0;
   width: 100%;
   z-index: 9999;
}

/* Tabella Dettagli EndPoint */
.parent-element:not(.collapsed) > .fa-chevron-down {
   display: none;
}

.parent-element.collapsed > .fa-chevron-up {
   display: none;
}


/*TABELLE*/
table.table.borderless td, table.table.borderless th {
   border: none;
}

.no-margin{
   margin: 0 auto;
}
