/*
 * General
 */

body {
  /*background-color: #003070;*/
  background-color: #127ae2;
  font-size: 12px !important;
  font-family: sans-serif, Arial, Verdana;
}

.text-truncate {
  overflow:auto;
  text-overflow: ellipsis;
}

.print-button {
  margin: 0 15px 15px 15px;
  width: calc(100% - 30px);
}

.no-pad {
  padding-left: 0;
  padding-right: 0;
}

.no-margin {
  margin-left: 0;
  margin-right: 0;
}

.pan-alert {
  padding: 4px;
  margin-bottom: 10px;
}

.readonly {
  opacity: 0.4;
  pointer-events: none;
}

.readonlyDualListBox {
  opacity: 0.7;
  pointer-events: none;
}

.unstyle {
  list-style: none;
}

.row-eq-height
{
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display:         flex;
}

.right-pad {
  padding: 0 15px 0 0 ;
}

/* Navbar */
.nav-link{
  text-align: center;
  display: table-cell;
/*   height: 56px; */
  vertical-align: middle;
}

/* Reimplemented nav style*/
.navbar-nav >li>a {
  padding:6px 6px !important;
}

.navbar-right >li>a {
  padding:6px 6px !important;
}

.icon-nav-right {
  font-size: 20px !important;
  top: 15px !important;
}

/* Reimplemented fa style */
.navbar-nav .nav-link > .fa {
/*   display: block; OLD */
/*   display: contents; */
/*   width: 48px; OLD */
  margin: 2px auto 4px auto;
  top: 0;
  line-height: 24px;
  font-size: 24px;
}

.badge {
  display: inline-block;
  padding: .25em .4em;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: .25rem;
  min-width: 20px !important;
}

.badge-danger {
  color: #fff;
  background-color: #dc3545;
}

.badge-warning {
    color: #212529;
    background-color: #ffc107;
}

.badge-primary {
    color: #fff;
    background-color: #007bff;
}

.badge-info {
    color: #fff;
    background-color: #17a2b8;
}

.badge-success {
    color: #fff;
    background-color: #28a745;
}

.navbar-nav .nav-link > .fa > .badge {
  font-size: 1rem;
/*   position: absolute; OLD*/
  position: relative !important;
/*   right: 20px; OLD*/
  right: 18px !important;
  top: -12px !important; /*NEW*/
  font-family: sans-serif;
}

/*
 * Header
 */
.header {
/*   background-color: #abb8c5; */
/*   color: #003070; */
  background-color: #06c;
  color: #fff;
}

.logo {
  float: left;
}

.credits {
  float: right;
}

.title {
  font-weight: bold;
  font-size: 18px;
}

.subtitle {
  font-weight: bold;
  font-size: 12px;
}

/*
 * Sidebar
 */
#boxContainer
{
  background-color: #f6f6f6 !important;
  padding: 5px !important;
}
/* Reimplemented accordion */
#boxContainer .panel-body
{
  padding: 5px !important;
}

#boxContainer .panel-group
{
  margin-bottom: 0px !important;
}

#boxContainer .panel-heading
{
  cursor: default !important;
}

#boxContainer .panel-heading .panel-title .accordion-toggle>span {
  font-size: 12px !important;
  font-weight: bold;
}

#boxContainer a,
#boxContainer a:focus
{
  text-decoration: none;
  outline: none;
  color: #000;
}

.box-item {
  padding: 1px;
  font-size: 12px;
  border-bottom: 1px solid #ccc;
}

/* Blinking */
@keyframes sb-box-blink {

50% { background-color: #ffff80; }
}
.blinkEventBox {
  background-color: #ffffff;
  animation: sb-box-blink ;
  animation-timing-function: step-end ;
  animation-iteration-count: 20 ;
  animation-direction: alternate ;
  animation-duration: 0.5s ;
}

/*
 * Login
 */
.login-title {
  color: #ffffff;
  font-size: 24px;
}

.login-content {
  background-color: #e5e5e5;
}

.login-form {
  max-width: 360px;
  padding: 30px;
  margin: 50px auto;
}

.login-header {
  color: #ffffff;
  margin: 0;
/*   background-color: #003070; */
  background-color: #127ae2;
}

.login-button{
  width: 100%;
  height: 32px;
}

.login-message {
/*   background-color: #003070; */
  background-color: #127ae2;
  padding: 20px;
  margin: 100px;
  color: #ffffff;
}

.login-footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  font-size: 18px;
  background-color: #ffffff;
}

.login-footer-content{
  height: 60px;
}

/*.userInfo {
  padding: 5px !important;
  font-size: 12px !important;
  top:10px;
}*/

/*
 * Modal
 */
.modaless {
  top: 80px;
  left: 40px;
  right: auto;
  bottom: auto;
}

.modal-tlb-btn {
  float: right;
  line-height: 1;
}

.modal-body-scroll
{
  max-height: 500px;
  overflow-y: auto;
}

@media only screen and (max-height: 767px)
{
  .em-modal-body-scroll
  {
    height: 500px; /*516px*/
    overflow-y: auto;
  }

  .em-body-not-scroll
  {
    max-height: 480px;
    overflow-y: auto;
  }

  .height100.em-modal-body-scroll
  {
    height: 100%;/*516px*/
  }
  
  .em-list
  {
    max-height: 360px;
  }

  .em-event-tabview
  {
    max-height: 380px;
  }

  .em-event-data-tabview
  {
    max-height: 300px;
  }

  .em-event-note-scroll
  {
    max-height: 220px;
  }

  .mp-tab-content
  {
    height: 425px; /* height: 441px; */
  }

  .mp-ig-vert-tabs
  {
    height: 374px; /* height: 390px; */
    overflow-y: auto;
  }

  .mp-ig-vert-tabs-detail
  {
    max-height: 374px; /* max-height: 390px; */
    overflow-y: auto;
  }

  .mp-rs-vert-tabs
  {
    height: 419px; /* height: 435px; */
    overflow-y: auto;
  }

  .mp-rs-vert-tabs-detail
  {
    max-height: 374px; /* max-height: 390px; */
    overflow-y: auto;
  }

  .mp-rs-vert-list
  {
    margin-top: 5px;
    max-height:339px; /* max-height:350px; */
    height:339px;     /* height:350px; */
    overflow-y: auto;
  }

  .nat-dist-list
  {
    max-height:339px; /* max-height:350px; */
    height:339px;     /* height:350px; */
    overflow-y: auto;
  }

  .mp-so-vert-tabs
  {
    height: 419px; /* height: 435px; */
    overflow-y: auto;
  }

  .mp-so-vert-tabs-detail
  {
    max-height: 374px; /* max-height: 390px; */
    overflow-y: auto;
  }

  .mp-so-vert-list
  {
    margin-top: 5px;
    max-height:339px; /* max-height:350px; */
    height:339px;     /* height:350px; */
    overflow-y: auto;
  }

  .nat-dist-list
  {
    max-height:339px; /* max-height:350px; */
    height:339px;     /* height:350px; */
    overflow-y: auto;
  }

  .mp-mi-detail-without-acc
  {
    height: 379px;
    overflow-y: auto;
    padding-top: 5px;
  }

  .mp-mi-with-acc
  {
    height: 414px;
    overflow-y: auto;
  }

  /* Emergency COC */
  .em-coc-gen-data
  {
    height: 365px;
    margin-top: 5px;
    max-height: 365px;
    overflow-y: auto;
  }

  .em-event-list-om {
    margin-top: 5px;
    max-height: 300px;
    overflow-y: auto;
  }

   /* Safeguard: critical and observation points*/
  .points-tab
  {
    height: 419px;
    overflow-y:auto;
  }

  .points-tab-detail
  {
    max-height: 360px;
    overflow-y:auto;
  }

  .points-tab-list
  {
    margin-top: 5px;
    max-height:335px; /* max-height:350px; */
    height:335px;     /* height:350px; */
    overflow-y: auto;
  }

/*  .em-fire-bulletin
  {
    height: 155px;
    overflow-y: auto;
  }*/

/*  .em-burn-bulletin
  {
    height: 220px;
    overflow-y: auto;
  }*/

  /* Alert-messages - critical-warnings - dispatch*/
  .bulletins-detail
  {
    max-height: 394px; /* max-height: 390px; */
    overflow-y: auto;
  }

  /*Cap module*/  
  .cap-list
  {
    max-height: 330px;
  }
}

/*
  emergency event
*/

.opRoomBox{
  width: 300px;
}

.opRoomBox select{
  margin-bottom: 5px;
}

@media only screen and (min-height: 768px)
{
  .em-modal-body-scroll
  {
    height: 635px;  /* height: 651px; */
    overflow-y: auto;
  }

  .em-body-not-scroll
  {
    max-height: 620px;
  }

  .em-list
  {
    max-height: 485px;
  }

  .em-event-tabview
  {
    max-height: 500px;
  }

  .em-event-data-tabview
  {
    max-height: 490px;
  }

  .em-event-note-scroll
  {
    max-height: 360px;
  }

  .mp-tab-content
  {
    height: 560px;  /* height: 576px; */
  }

  .mp-ig-vert-tabs
  {
    height: 504px;  /* height: 520px; */
    overflow-y:auto;
  }

  .mp-ig-vert-tabs-detail
  {
    max-height: 504px; /*max-height: 520px; */
    overflow-y:auto;
  }

  .mp-rs-vert-tabs
  {
    height: 554px; /* height: 570px; */
    overflow-y:auto;
  }

  .mp-rs-vert-tabs-detail
  {
    max-height: 504px; /*max-height: 520px; */
    overflow-y:auto;
  }

  .mp-rs-vert-list
  {
    margin-top: 5px;
    max-height:474px; /* max-height:490px; */
    height:474px;   /* height:474px; */
    overflow-y: auto;
  }

  .mp-so-vert-tabs
  {
    height: 554px; /* height: 570px; */
    overflow-y:auto;
  }

  .mp-so-vert-tabs-detail
  {
    max-height: 504px; /*max-height: 520px; */
    overflow-y:auto;
  }

  .mp-so-vert-list
  {
    margin-top: 5px;
    max-height:474px; /* max-height:490px; */
    height:474px;   /* height:474px; */
    overflow-y: auto;
  }

  .nat-dist-list
  {
    max-height:474px; /* max-height:490px; */
    height:474px;   /* height:474px; */
    overflow-y: auto;
  }

  .mp-mi-detail-without-acc
  {
    height: 519px;
    overflow-y: auto;
    padding-top: 5px;
  }

  .mp-mi-with-acc
  {
    height: 554px;
    overflow-y: auto;
  }

  /* Emergency COC */
  .em-coc-gen-data
  {
    height: 500px;
    margin-top: 5px;
    max-height: 500px;
    overflow-y: auto;
  }

  .em-event-list-om {
    margin-top: 5px;
    max-height: 420px;
    overflow-y: auto;
  }

  /* Safeguard: critical and observation points*/
  .points-tab
  {
    height: 554px;
    overflow-y:auto;
  }

  .points-tab-detail
  {
    max-height: 495px;
    overflow-y:auto;
  }

  .points-tab-list
  {
    margin-top: 5px;
    max-height:470px; /* max-height:490px; */
    height:470px;   /* height:474px; */
    overflow-y: auto;
  }

/*  .em-fire-bulletin
  {
    height: 270px;
    overflow-y: auto;
  }*/

/*  .em-burn-bulletin
  {
    height: 360px;
    overflow-y: auto;
  }*/

    /* Alert-messages - critical-warnings - dispatch*/
  .bulletins-detail
  {
    max-height: 524px; /* max-height: 390px; */
    overflow-y: auto;
  }

  /* Cap module*/
  .cap-list
  {
    max-height: 480px;
  }
}

/*
 * Phone Book
 */
.button-right {
  text-align: right;
  margin-right: 10px;
}

.rw-container-phone{
  background-color: #f5f5f5;
  padding: 5px;
  border-radius: 4px;
  border: 1px solid #ccc;
  margin-top: 20px;
  padding: 10px;
}

/* Blinking */
@keyframes event-note-blink {

50% { background-color: #ffff80; }
}
.blinkEventNote {
  background-color: #ffffff;
  animation: event-note-blink;
  animation-timing-function: step-end ;
  animation-iteration-count: 20 ;
  animation-direction: alternate ;
  animation-duration: 0.5s ;
}


/*  Rules for Desktop and Tablet */
@media only screen and (min-width:321px) and (max-width:1023px)
{
  .layer-config-body-not-scroll
  {
    max-height: 530px;
    overflow-y: auto;
  }
}

/* Rules for Huge */
@media only screen and (min-width:1024px)
{
  .layer-config-body-not-scroll
  {
    height: 530px;
  }

  .layer-tree-body
  {
    height:450px;
    max-height:450px;
  }

  .layer-tree-tab
  {
    max-height:270px;
    overflow-y:auto;
  }
}


/* Functional center messages */

.fc-message-list {
  padding: 1px;
  font-size: 12px;
}

.fc-message-item {
  padding: 1px;
  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;*/
}

.fc-message-item:hover {
  background-color: #e4e4e4;
}

/* Blinking */
@keyframes fc-message-blink {

50% { background-color: #ffff80; }
}
.blinkFcMessageNote {
  background-color: #ffffff;
  animation: fc-message-blink;
  animation-timing-function: step-end ;
  animation-iteration-count: 20 ;
  animation-direction: alternate ;
  animation-duration: 0.5s ;
}


/* Rules for eot-event-notes */
.eot-last-message
{
  font-size:12px;
  background-color:#FFFF00;
  margin:5px 15px 0px 15px;
  padding: 2px 5px 2px 5px;
  border: 1px gray solid;
  border-radius: 3px;
}

/*
 * Sidebar
 */
.sidebar {
  overflow-y: auto;
/*   border-right: 2px solid #ddd; */
}

.flexbox{
  display: flex; 
  align-items: center; 
  justify-content: space-between;
  margin-bottom:4px;
  height: 20px;
}
.selectStyle{
  width:150px !important;
  color:#000;
}
/*
 * Toolbar
 */
.toolbar {
  margin-top: 10px;
  text-align: right;
  margin-bottom: 5px;
  padding-right: 5px;
}

.toolbar-left {
  margin-top: 10px;
  text-align: left;
  margin-bottom: 5px;
  padding-left: 5px;
}

/*
 * Alert for modal panel
 */
.modal-alert {
  top: 57px;
  left: 0;
  width: 100%;
  bottom: 0;
  z-index: 100;
  position: fixed;
  background-color: rgba(0,0,0,0.1);
}

.modal-alert-content {
  width: 80%;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  border-radius: 4px;
}

/* List */
.list-row {
  height: 33px;
  font-size: 12px;
  border-bottom: 1px solid #999;
}

.list-row-active {
  font-weight: bold;
  background-color: #ccdcec;
}

.list-row-col1 {
  cursor: pointer;
  padding-left: 4px;
}

.list-row-col2 {
  width: 20px;
  cursor: pointer;
}

@media only screen and (min-width:1580px)
{
  .plan-horiz-tab
  {
    margin-right: 0px;
  }
}

@media only screen and (min-width:990px) and (max-width:1580px)
{
  .plan-horiz-tab
  {
    margin-right: 1px;
  }
}

/*
 * Directive Dual List Box
 */
.sd-dual-list-box {
  overflow-y: auto;
  margin: 0px 15px;
}

.sd-dual-list-box-list-items {
  height: 135px;
  max-height: 140px;
  overflow-y: auto;
  border: 1px solid #dadada;
  border-radius: 4px;
}

.sd-dual-list-box-single-item {
  margin: 1px 0;
  cursor: pointer;
  font-size: 12px;
}

/* Reimplemented pagination */
.pagination-sm>li>a, .pagination-sm>li>span
{
  padding: 5px 5px !important;
}
