.form-signin { margin-bottom:70px;}
.form-signin .panel-body { background-color:rgb(0, 42, 85);}
.navbar { padding:0px 24px;}
.navbar-brand { margin-top:6px; height:auto;}

/*  PERSONALIZZAZIONE SIMONE */

ul.navbar-nav {
font-size: 13px;
}


.navbar-nav > li > a {
  color: #fff!important;
  display: block;
}

.nav > li > ul {
  padding-left: 5px;
  margin-bottom: 10px;
}
.navbar-default { background-color: rgb(0, 42, 85);}
.navbar-nav li {
  padding: 10px 0;
}
.navbar-nav .dropdown-menu > li  {
  padding: 10px;
}
.navbar-nav .dropdown-menu > li:hover {
  background: #fff;
}

.navbar-nav .dropdown-menu > li > a {
  color: #fff !important;
  display: block;
}
.navbar-nav > li > a:hover, .navbar-nav .dropdown-menu > li > a:hover, .navbar-nav .dropdown-menu > li > a:active {
  background: #fff !important;
  color: rgb(0, 42, 85) !important;
}
.navbar-nav .dropdown-menu { 
  background: rgb(0, 42, 85);
  padding-left:0px; 
  min-width: 200px !important;
}

th.recordListThFirst, th.recordListTh {
  background-color: rgb(0, 42, 85)!important;
  color:#fff !important;
  text-align: center!important;
}

th.recordListThFirst a, th.recordListTh a {
  color:#fff !important;
}
th.recordListSearch {
  background-color: #fff!important;
  text-align: center!important;
}

.table-bordered > thead > tr > th, .table-bordered > thead > tr > td, .table-bordered > tbody > tr > th, .table-bordered > tbody > tr > td, .table-bordered > tfoot > tr > th, .table-bordered > tfoot > tr > td {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}


/* AREA DI NOTIFICA */
#ticketnotifier {
  background: darkred;
  float:right;
  padding:15px 24px;
  text-transform: uppercase;
}
#ticketnotifier a {
  color:#fff !important;
  display: block;
}
#dashboard .dashboard-entry .panel {
  display: block;
  margin-block-start: 0em;
  margin-block-end: 1em;
  margin-inline-start: 0;
  margin-inline-end: 15px;
}

.panel .huge {
  font-size: 40px;
}

#dashboard .chartdiv {
  height:250px;
  display: block;
  margin-block-start: 0em;
  margin-block-end: 1em;
  margin-inline-start: 0;
  margin-inline-end: 15px;
  background: #fff;
}
#dashboard .chartdiv .highcharts-button {
  display: none;
}


/* PERSONALIZZAZIONE STILE */



    /* -- by SG --- tema scuro -- */


/* TICKET */

#buttons .btn-stato2 {
    /* in lavorazione */
    color: #0066CC !important;
}
#buttons .btn-stato3 {
    /* in sospeso */
    color: #EC971F !important;
}
#buttons .btn-stato4 {
    /* completata */
    color: #5CB85C !important;
}
#buttons .btn-stato5 {
    /* annullata */
    color: #D9534F !important;
}

.combuttons { margin-right:34px; }

.comtitle { margin-left:40px;max-width:72%; }

#comriepilogo {
    border:1px solid #0066CC;
    padding:10px;
}

#comriepilogo label { width:100px;}

#comriepilogo .stato {
  margin-bottom:10px;
  border-bottom:1px dashed #666;
}

#comriepilogo .ore {
  margin-top:5px;
  padding-top:5px;
  border-top:1px dashed #666;
}

#comriepilogo p {
  margin:0 2px;
}

#comriepilogo .stato .badge {
    text-transform:uppercase;
    font-size:16px;
    font-weight:bold;
    margin-top:4px;
    margin-bottom:10px;
}

#comriepilogo .hasborder, #sessriepilogo .hasborder {
    padding:15px !important;
}

#comriepilogo .hasborder .first, #sessriepilogo .hasborder .first {
    padding-right:5px !important;
}

#comriepilogo .hasborder .second, #sessriepilogo .hasborder .second {
    padding-left:5px !important;
    padding-right:10px !important;
    border-left: 1px solid #ddd;
    border-right: 1px solid rgb(49, 112, 143);
}

#comriepilogo .longtext p, #sessriepilogo .longtext p {
    overflow:auto;
    max-height: 100px;
}

#comriepilogo .state, #sessriepilogo .state {
    text-transform: uppercase;
    font-weight: bold;
    font-size:22px;
    height:152px;
    vertical-align: middle;
    padding-top: 40px;
    padding-left:30px !important;
}

#comriepilogo .state.stato2 {
    /* assegnata */
}
#comriepilogo .state.stato3 {
    /* in lavorazione */
    color:#31708f;
}
#comriepilogo .state.stato4 {
    /* in sospeso */
    color:#8a6d3b;
}
#comriepilogo .state.stato5 {
    /* completata */
    color: #3c763d;
}
#comriepilogo .state.stato6 {
    /* annullata */
    color:#a94442;
}

#comriepilogo .row1, #comriepilogo .row2,
#sessriepilogo .row1, #sessriepilogo .row2 {
    border-top: 1px solid #ddd;
    padding:2px;
}

#comriepilogo .lastrow {
    border-bottom: 1px solid #ddd;
}

#comriepilogo .row1, #sessriepilogo .row1 {
    background: #fff;
}

#comriepilogo .row2, #sessriepilogo .row2 {
    background: #F9F9F9;
}
   

#buttonbar a.btn {
  background:#333 !important;
  border:none;
  margin-top:2px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  color:#fff !important;
}

.comnote {
    height: calc(100% - 12px);
    position: relative;
    background: #efe7dd url("../images/background.jpg") repeat-y;
    /*background: #333;*/
    z-index: 0;
    padding:4px;
  }
  
  .comnote ::-webkit-scrollbar {
    transition: all .5s;
    width: 5px;
    height: 1px;
    z-index: 10;
  }
  
  .comnote ::-webkit-scrollbar-track {
    background: transparent;
  }
  
  .comnote ::-webkit-scrollbar-thumb {
    background: #333;/*#b3ada7;*/
  }
  
  .comnote .comnote-container {
    height: calc(100% - 68px);
    overflow-x: hidden;
    padding: 0 16px;
    margin-bottom: 5px;
  }
  
  .comnote .comnote-container:after {
    content: "";
    display: table;
    clear: both;
  }
  
  /* Messages */
  
  .message {
    color: #000;
    clear: both;
    line-height: 22px;
    font-size: 13px;
    padding: 8px 26px 4px 12px;
    position: relative;
    margin: 8px 0;
    /*width: 65%;*/
    word-wrap: break-word;
    max-width:70%;
    /*z-index: -1;*/
    box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.2);
  }
  
  .message:after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
  }
  
  .sysmessage {
    color: #000;
    background:rgb(205,198,165);
    margin:auto;
    clear: both;
    line-height: 22px;
    font-size: 13px;
    padding: 8px 26px 4px 12px;
    position: relative;
    margin: 8px 0;
    margin-left:10% !important;
    width: 85%;
    /*z-index: -1;*/
    color:#000;
    border-radius: 5px;
    float: left;
    text-align:center;
    box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.2);
  }
  
  .metadata {
    /*display: inline-block;
    float: right;
    padding: 0 0 0 7px;
    position: relative;
    bottom: -10px;*/
    display: block;
    padding: 0;
    text-align: right;
    margin-right:-20px;
  }

  .userdata {
    display: block;
    padding: 0;
    font-weight: bold;
    border-bottom: 1px solid #ccc;
    margin-bottom:4px;
  }
  
  .metadata .dett {
    color: rgba(0, 0, 0, .45);
    font-size: 11px;
    display: inline-block;
  }
  
  .metadata .tick {
    display: inline-block;
    margin-left: 4px;
    position: relative;
    top: 0;
    height: 16px;
    width: 16px;
    z-index:999;
  }

  .metadata .tick a {
      color:#ccc !important;
  }
  
  .metadata .tick.read a {
      color:green !important;
  }
 
  .metadata .tick svg {
    padding-top: 2px;
    transition: .5s ease-in-out;
  }

  .message .systemcom {
    font-style:italic;
    text-transform: uppercase;
    color:#333;
}

.message .mediacom img, .message .MEDIACOM img, #editform img {
    max-width:300px;
    border-radius: 5px;
}


.message .attachcom img, .message .ATTACHCOM img {
    max-width:96px;
    display:block;
    margin:auto;
}

.message .attachcom .img, .message .ATTACHCOM img {
    display:block;
    margin:auto;
    background: #fff;
    text-align: center;
    padding:8px;
    border-radius:5px 5px 0 0;
}

.message .attachcom .text, .message .ATTACHCOM .text {
    max-width:300px;
    display:block;
    background: rgba(0,0,0,0.2);
    text-align: center;
    color:#333;
    padding:8px;
    border-radius:0 0 5px 5px;
}

.message:first-child {
  margin: 16px 0 8px;
}

.message.received {
  background: #fff;
  color:#000;
  border-radius: 0px 5px 5px 5px;
  float: left;
}

.message.received .metadata {
  padding: 0; /*0 0 0 16px;*/
}

.message.received:after {
  border-width: 0px 10px 10px 0;
  border-color: transparent #fff transparent transparent;
  top: 0;
  left: -10px;
}

.message.sent {
  background: #BAE4FF; /*#DCF8C6;*/
  border-radius: 5px 0px 5px 5px;
  float: right;
}

.message.sent:after {
  border-width: 0px 0 10px 10px;
  border-color: transparent transparent transparent #BAE4FF; /*#DCF8C6;*/
  top: 0;
  right: -10px;
}

.mediaelem {
    text-align: center;
    height:250px;
    border: 1px solid #ededed;
    padding:10px 0;
}

.mediaelem img {
    width:100%;
    margin:10px 0;
}  