/*
 * Emergency Events
 */
.em-event-item {
  cursor: pointer;
  font-size: 12px;
  border-bottom: 1px solid #ccc;
}

.em-event-item:hover {
  background-color: #e4e4e4;
}

.em-event-item-col {
  padding-left: 0;
  padding-right: 0;
  vertical-align: middle;
}

.em-event-item-sel {
  background-color: #e4e4e4;
}

.em-event-priority {
  margin-top: 19px; /* (56px - statusCharacterHeight)/2 */
}

.em-event-legend-table{
  margin: 8px 8px 8px 5px;
}
.em-event-legend-span{
  margin: 0px 5px 0px 5px;
}
.em-event-legend-td{
  width: 16px;
}
.cyan{
  border: 1px solid lightskyblue;
  background-color: lightcyan;
}
.orange{
  border: 1px solid orange;
  background-color: rgb(255 221 148);
}
.red{
  border: 1px solid  #800808;
  background-color: rgb(198, 40, 40);
}
.yellow{
  border: 1px solid  #b8990f;
  background-color: rgb(253, 216, 53);
}
.green{
  border: 1px solid #0b440d;
  background-color: #2e7d32;
}

.bold{
  font-weight: bold;
}
.em-event-rapid-zoom {
  margin-top: 13px; /* (56px - 30px)/2 */
}

.em-event-attach-sidebar {
  margin-top: 13px; /* (56px - 30px)/2 */
}

.em-event-note-scroll
{
  overflow-y: auto;
  overflow-x: hidden;
}

.em-event-note-title {
  padding: 10px 15px;
  height: 42px;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid #ccc;
}

.em-event-list {
  cursor: pointer;
  padding: 1px;
  font-size: 12px;
}

.em-list
{
  overflow-y: auto;
}

.em-event-tabview {
  margin: 5px;
  overflow-y: auto;
/*   max-height: 360px !important; */
}

.em-event-data-tabview {
  margin: 5px;
  overflow-y: auto;
}
.em-event-log-item {
  padding: 4px;
  font-size: 12px;
  margin-left: 0;
  margin-right: 0;
  border-bottom: 1px solid #ccc;

  /* Row roles to fixs cols with same height */
  width: 100%;
  height: 100%;
  display: table;
  table-layout: fixed;
}

.em-event-note-item {
  padding: 4px;
  font-size: 12px;
  margin-left: 0;
  margin-right: 0;
  border-bottom: 1px solid #ccc;

  /* Row roles to fixs cols with same height */
  width: 100%;
  height: 100%;
  display: table;
  table-layout: fixed;
}

.ellips
{
  display:block;
  white-space: nowrap;
  width: 230px;
  overflow: hidden;
  text-overflow: ellipsis;
}
/*
 * Report Emergency
 */
.emr-report{
  height:420px;
  max-height:520px;
  overflow-y:auto
}

/*
 * Operative Room
 */
.operative-room-list {
  overflow-y: auto;
  max-height: 425px;
  margin-top: 5px;
}

.operative-room-row {
  height: 41px;
  font-size: 12px;
  border-bottom: 1px solid #999;
}

.operative-room-active {
  font-weight: bold;
  background-color: #eee;
}

.operative-room-details {
  height: 400px;
  margin-top: 10px;
  max-height: 400px;
  overflow-y: auto;
}

.op-room-row-disabled {
  opacity: 0.7;
}


/* Reimplemented style accordion firem bulletin and burn bulletin*/

#criticalLevel .panel-default .panel-title
{
  border-color: transparent !important;
  background-color: #cdcdcd;
}

#criticalLevel .panel {
  background-color: transparent;
  border: none;
}

#criticalLevel .panel-default>.panel-heading {
    background-image: none;
    background-repeat: unset;
    color: #333;
    background-color: transparent;
    border-color: transparent;
    margin: 10px 0 -5px!important;
}

#criticalLevel .panel-heading {
    padding: 0 !important;
    text-indent: 2%;
    margin: 10px 0 -11px !important;
    cursor: pointer;
}

#criticalLevel .panel-body
{
/*   border: 1px solid #ddd !important; */
  padding: 5px 5px !important
}

#criticalLevel .panel-heading .panel-title .accordion-toggle>span
{
  font-size: 12px;
  font-weight: bold;
  line-height:2.2;
  padding: 0 3px;
/*   background-color:white; */
}

#criticalLevel a,
#criticalLevel a:focus
{
  text-decoration: none;
  outline: none;
}

.interventionTable{
  max-height:465px !important;
/*   height: 465px !important; */
}

.interventionForm
{
  max-height:465px !important;
/*   height: 465px !important; */
}

.showTooltip{
  background:white !important;
  color:black !important;
}

/* Filter event archived in Intervenuti*/
.event-archived-filter-select {
  height: 30px;
  min-width: 100%;
  font-size: 13px;
}

/*
 * COC
 */
.attachPosition{
  position:absolute;
  top:160px;
  right:70px;
}

@media screen and (max-width: 1580px){
  .attachPosition{
    position:absolute;
    top:160px;
    right:0px;
  }
}


@media screen and (max-width: 1000px){
  .attachPosition{
    position:absolute;
    top:400px;
    right:5px;
  }
}

/*
  TABLE EVENT
*/
.tabSearch{
  width:6vw;
  border: 1px solid #ccc;
  font-weight: normal;
}
/*Table */
#eventTable .panel {
  margin-bottom: 5px;
}

#eventTable thead>tr {
  color: #000;
  height: 30px;
  background-color: #fff; /*#343a40;*/
}

#eventTable thead>tr> {
  padding: 0px 2px;
  text-align: center;
}

#eventTable thead {
  display:table;
  width:100%;
  table-layout:fixed;/* even columns width , fix width of table too*/
}

#eventTable tbody>tr {
  display:table;
  width:100%;
  table-layout:fixed;/* even columns width , fix width of table too*/
}

#eventTable tbody>th>tr>td {
  word-break: break-word;
  text-align: left;
}

#eventTable .table {
  margin-bottom: 0px !important;
  overflow-wrap: break-word !important;
}

@media only screen and (max-height: 767px)
{
  #eventTable .et-tbody {
    display:block;
    max-height:230px;
    height:265px;
    overflow:auto;
  }
}

@media only screen and (min-height: 768px)
{
  #eventTable .et-tbody {
    display:block;
    max-height:350px;
    height:390px;
    overflow:auto;
  }
}

/* FLEET */
.searchContainer{
  display: flex;
  flex-direction: row;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}

/*Tables fleet*/
.formSrc{
  width: 100%;
}
.inputS{
  width: 97%;
  border: 1px solid #ccc;
  font-weight: normal;
  height: 27px;
}

.tdW{
  width: 25%
}
.truckBtn{
  margin-top: 32px
}

#fleet div.dataTables_scrollHead {
  overflow: visible !important;
}

#fleet-table table.dataTable, table.dataTable.no-footer{
  margin: 0px !important;
}

#fleet-table .table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th{
  padding: 0px !important;
}

/* CAP ALERT*/
.cap-list
{
  overflow-y: auto;
}

.tr-cap-list {
  cursor: pointer;
  padding: 1px;
  font-size: 12px;
}
.cap-alert-item {
  cursor: pointer;
  font-size: 12px;
  border-bottom: 1px solid #ccc;
}

.cap-alert-item-priority {
  margin-top: 19px; /* (56px - statusCharacterHeight)/2 */
}

.cap-alert-item:hover {
  background-color: #e4e4e4;
}

.cap-alert-item-col {
  padding-left: 0;
  padding-right: 0;
  vertical-align: middle;
}

.cap-alert-item-sel {
  background-color: #e4e4e4;
}

.cronAccordion .panel-group
{
  max-height: 510px !important;
  overflow-y: auto;
}

.accCapHeader{
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.width33{
  width: 33%;
}

.accAlertContent{
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-bottom: 1px solid rgba(0,0,0,0.5);
}

@media only screen and (max-height: 767px)
{
  .cronAccordion .panel-group
  {
    max-height: 380px !important;
    overflow-y: auto;
  }
}
