
/* ==========================================================================
    Layout de Tarjetas
   ========================================================================== */

.mov-finished {
  background: red;
  color: #fff;
  padding: 6px;
  margin: 0 auto;
  margin-top: 6px;
  display: table;
  opacity: 0.5;
}

.mov-more-data {
    color: #666;
    padding: 6px;
    /* margin: 0 auto; */
    font-size: 13px;
    margin-top: 6px;
    display: table-cell;
    padding-right: 5px;
    vertical-align: top;
    padding-left: 13px;
    border-right: 1px dotted #666;
    height: 100%;
    width: 285px;
    line-height: 22px;
    vertical-align: middle;
}

#des-card {  
    height: 320px;
    max-height: 320px;
    overflow-y: hidden;
}

#des-card h1 span {
  float: right;
  margin-right: 79px;
}


#device-status {
  width: 96%;
  margin: 0 auto;
  /*border: 1px solid #ccc;*/
  /* height: 20px; */
  display: table;
  position: absolute;
  left: 0px;
  text-align: center;
  margin-top: 20px;
  bottom: -4px;
}

#device-status i.fa {
  font-size: 18px;
  margin-right: 10px;
}

.indicator-ok {
  color: #77A27F;
}
.indicator-warning {
  color: #EFDB44;
}
.indicator-error {
  color: #C75656;
}

#des-card .key-value span.title {
 font-weight: bold;
 width: 160px 
}

.check-group {
    width: 100%;
    padding: 5px;
    background: rgba(255,255,255,0.6);
    color: #000;
    margin-top: 5px;
}

.card-container {
  display:block;
  position:relative;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  /*overflow-y: scroll;*/
  /*argin: 10px;*/
  padding:1.5rem 0 0;
  background:#d5d5d5;
  outline
  border-radius:.25rem;
  /*overflow:hidden;*/
  padding-top: 0px; 
  padding-bottom: 0px; 
  padding-left: 10px;
  padding-right: 10px;
   /*
  transform:scale(.75);
  transform-origin:center 3rem;
  transition:transform .3s;*/
}

/*
#overlay-mov-detail .overlay-container {
    width: 80%;
}*/

.card table {
  width: 100%;
}

.card table.2-tables {
  width: 45%;
  float: left;
}

.card table th {
  background: #4367858f;
  color: #fff;
}

.card table tr:nth-child(even) {
  background: #f5f5f5;
}

.card table tr:nth-child(odd) {
  background: #fff;
}

.card table td, .card table th {
  padding-left: 5px;
  padding-right: 5px;
}

.card tr {
  height: 25px;
  min-height: 25px;
}

.chofer-img {
  position: absolute; 
  right: 50px;
  bottom: 10px;
}

#cpl-card {
  max-height: 320px;
  height: 320px;
}

#cpl-card table { 
  -webkit-user-select: text ;  /* Chrome 49+ */
  -moz-user-select: text;     /* Firefox 43+ */
  -ms-user-select: text;      /* No support yet */
  user-select: text;          /* Likely future */  
}


#des-card h1 {  
  padding-right: 23px;
}



.card-row {
  display: table;
  width: 100%;
}


.card-row h2 {
  font-size: 15px !important;
  margin-bottom: 0px;
  font-weight: bold !important;
  color: #000 !important;
  margin-top: 0px;
}
 
.card-row.first-row h2 {
  margin-top: 0px;
  color: #000;
  font-weight: bold;
}



.card.header-card {
  /*position: fixed;
  z-index: 99999999999;*/
  border-bottom: 2px solid #337ab7;
  margin-bottom: 15px;
  padding-bottom: 4px;
}

.card.header-card .content {
  position: relative;
}


.alarms-container a.cema-alarm {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #fff;
  background: red;
  display: block;
  font-weight: bold;
  text-align: center;
  position: relative;
  float: left;
  margin-right: 30px;
}

.alarms-container a.cema-alarm:hover {
  text-decoration: none;
  color: #f9f9f9;
}

.alarms-container a.cema-alarm.alarms-count-1 {
  padding-top: 17px;
  font-size: 12px;
}

.alarms-container a.cema-alarm.alarms-count-2 {
  padding-top: 10px;
  line-height: 16px;
}

.alarms-container a.cema-alarm.alarms-count-3 {
  padding-top: 8px;
  line-height: 12px;
  font-size: 10px;
}



a#check-cema-location {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: #6588ad;
  padding: 5px 10px 5px 10px;
  color: #fff;
  border-radius: 3px 3px 0px 0px;
  border-bottom: 2px solid #19489e;
}


a#check-cema-location:hover {
  background: #536c9a;
  color: #fff;
  border-bottom: 2px solid #1d3c4e;
}



.card.header-card .options-wrapper {
  position: absolute;
  bottom: -1px;
  right: 8px;
  display: table;
}


td.cema-status img {
  float: left;
  margin-right: 3px;
}


a#get-raw-tripplan {
  position: absolute;
  top: 10px;
  right: 10px;
  display: table;
  background: #4889b7;
  color: #fff;
  padding: 5px 10px 5px 10px;
  border-bottom: 1px solid #21315f;
  border-radius: 4px 4px 0px 0px;
}

.card.header-card .close-evt {
  position: absolute;
  right: -9px;
  top: -12px;
}

.card.header-card .options {
  position: relative;
  height: 27px;
  padding-top: 6px;
  padding-left: 7px;
  padding-right: 7px;
  background: #CED6DE;
  display: table;
  font-weight: bold;
  color: #666;
  font-size: 12px;
  border-radius: 3px;
}
/*
.card.header-card .options:hover {
  background: #A2B6CA;
  color: #fff;
}*/

div.scrollable-content {
  overflow-y: scroll;
  overflow-x: hidden;
  width: 100%;
}

.card.header-card .options-wrapper ul {
  position: absolute;
  top: 25px;
  right: 0px;
  margin : 0px;
  width: 183px;
  border: 1px solid #ccc;
  border-radius: 5px;
  display: none;
  padding: 0px;
  background: #fff;
  z-index: 999999;
  box-shadow: 1px 1px 1px #AD9C9C;
}

.card.header-card .options-wrapper:hover ul {
  display: table;
}

.card.header-card .options-wrapper ul li {
  display: table;
  height: 20px;
  width: 100%;
  /*margin-bottom: 5px;*/
}


.card.header-card .options-wrapper ul li:last-child {
  margin-bottom: 0px;
}

.card.header-card .options-wrapper ul li a {
  width: 100%;
  height: 100%;
  display: block;
  padding-top: 5px;
  padding-left: 15px; 
  padding-bottom: 5px;
  color: #666;
  font-weight: normal;
  padding-right: 15px; 
}

.card.header-card .options-wrapper ul li a:hover {
  background: #A2B6CA;
  color: #fff;
}




.map-card-container .loading-overlay {  
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0, .8);
    z-index: 999;
    font-size: 57px;
    padding-top: 217px;
    color: #ccc;
    text-align: center;
    text-shadow: 1px 3px 1px #000;
}




.card.col-1-card {
    width: 100%;
    clear: both;
}


.card.col-2-card {
    width: 49.0%;    
    float: left;
}

.card.col-2-card .key-value .row .title {
  width: 170px;
}
.card.col-3-card {
    width: 32%;  
    float: left;
}
.card.col-1-card .key-value .row .title {
  width: 200px;
}

.card.col-4-card {
    width: 24%;  
    float: left;
}

.card .row {
  display: table;/*
  width: 100%;*/
  padding-left: 8px;
  height: 23px;
  margin-left: 0px;
  margin-right: 0px;
  padding: right: 8px;
}

.card .key-value {
  display: table;
  margin: 0 auto;
  margin-top: 5px;
  float: left;
}



.card .row span.title {
  width: 100px; 
  float: left;
  font-weight: bold;
}
.card .row span.value {
  float: left;
  /*width: 150px;*/
}

.card {
  padding: 15px;
  box-shadow:0 1px 2px #aaa;
  background:white;
  margin-right: 1%;
  margin-bottom: 1%;
  font-size: 12px;
  position: relative;
  border-radius:3px;
  user-select:none;
  /*animation:fly-in-from-left .5s 1s ease both;
  transform-origin:top left;*/
}

.card .content {
  width: 100%;
  /*padding: 20px;*/
  display: table;
}

/*
.card-container .card.col-2-card:nth-child(even) {
  margin-right: 0px;
}

.card-container .card.col-3-card:nth-child(3n) {
  margin-right: 0px;
}*/

.card-container .chofer-img {
  width: 100px;
  position: absolute;
  right: 4px;
  bottom: 4px;
  border: 1px solid #ccc;
}



ul#cards-transfer-list {
  margin: 0px;
  padding: 0px;
  padding-left: 5px;
}

ul#cards-transfer-list li {
  position: relative;
  display:block;
  border-bottom: 1px solid #ccc;
  padding-bottom: 8px;
  padding-top: 3px;
}


ul#cards-transfer-list li a {
  position: absolute; 
  background: rgba(5, 52, 93, 0.75);
  color: #fff;
  bottom: 2px;
  right: 0px;
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 3px;
  padding-bottom: 3px;
  border-radius: 2px;
}

ul#cards-transfer-list li a:hover {
  position: absolute;
  background: rgba(5, 52, 93, 0.9);
}





/*

.card-container .card.col-4-card:nth-child(4n) {
  margin-right: 0px;
}*/

/*
.card:nth-child(even){
  animation-name:fly-in-from-right;
  animation-delay:1.1s;
 transform-origin:top right;
}*/

@keyframes fly-in-from-left {
  from {
    transform:translateY(15rem) rotate(15deg);
    opacity:0;
  }
}

@keyframes fly-in-from-right {
  from {
    transform:translateY(15rem) rotate(-15deg);
    opacity:0;
  }
}




.close-evt, .google-streetview-close {  
  font-size: 36px;
  color: #000;
  text-shadow: 1px 1px 1px #A9A9A9;
}

.close-evt:hover, .google-streetview-close:hover {  
  font-size: 36px;
  color: #235076;
  text-shadow: 1px 1px 1px #fff;
}



.card .btn {
  margin: 0 auto;
  margin-top: px;
  width: 90%;
  height: 28px;
  color: #fff;
  background: url('../img/bg-btn-tooltip.jpg') repeat-x;
  padding-top: 5px;
  text-align: center;
  margin-top: 10px;
}
.card .btn:hover {
  background: url('../img/bg-btn-tooltip-hover.jpg') repeat-x;
  padding-top: 5px;
  text-align: center;
  color: #fff;
  text-decoration: none;
}

.card a.btn:visited {
  color: #fff;
  text-decoration: none;
}

.card .btn.absolute-pos {
  bottom: 10px;
  right: 10px;
}

.card .btn.full-width {
  width: 100%;
}

/*

.card:after {
  position:absolute;
  font-size:.9rem;
  top:1.5rem;
  right:1rem;
  content:"i";
  border:thin solid gray;
  color:gray;
  width:1rem;
  line-height:1rem;
  text-align:center;
  border-radius:50%;
  pointer-events:none;
}

**/
.card h1 {
  font-size:2rem;
  font-weight:200;
  margin-top: 0px;
}
.card h1 strong {
    font-weight:300;
    color:#539D00;
  }

.card h2 {
  font-size:.9rem;
  line-height:2.5;
  color:gray;
  font-weight:400;
}

.card .map {
  background:whitesmoke;
  margin:.5rem 0 0 -1.5rem;
  width:100%;
  margin: 0 auto;
  height: 550px;
}


/* Formulario de Justification */

.card .justification-form {
  width: 300px;
  right: -310px;
  position: absolute;
  /* padding: 20px; */
  background: #fff;
  height: 550px;
  box-shadow: -3px 0px 6px #A0A0A0;
}



.justification-wrapper {
  display: table;
  width: 100%;
  padding: 20px;
  height: 100%;
  position: relative;
}

.justification-wrapper .bottom-bar {
  position: absolute;
  bottom: 12px;
  right: 0px;
  display: table;
}

.justification-wrapper .bottom-bar a {
  padding: 8px 12px 8px 12px;
  background: #3E639A;
  margin-right: 5px;
  font-size: 15px;
  color: #fff;
  border-radius: 3px;
}

.justification-wrapper .bottom-bar a:hover {
  background: #4B74B1;
  color: #fff;
}


.justification-wrapper textarea {
  width: 100%;
  border: 1px solid #ccc;
  padding: 10px;
  color: #666;
  font-size: 12px;
  height: 210px;
  margin-top: 30px;

}


.justification-description {
  padding: 15px;
  border: 1px solid #ccc;
  box-shadow: 1px 1px 1px #666;
  border-radius: 3px;
  text-align: left;
}


.justification-description span {
  font-weight: bold;
}

.justification-description select {
  background: transparent;
  border: none;
  border-bottom: 2px solid #666;
}
/* Escondo el "Plan" */
.leaflet-routing-container {
  display:none !important;
}









.map-controls-custom {
  display: block;
  margin-left: 20px;
  float: left;
  margin-bottom: 4px;
  margin-top: 0px
}

.map-controls-custom select {
  height: 30px;
}

.map-controls-custom a.btn-waze, .map-controls-custom select {
  float: left;
  display: block;
  margin-right: 20px;
}

.map-controls-custom a.btn-waze {
  padding: 4px;
  display: block;
  color: #fff !important;
  text-decoration: none;
  /* margin-top: 10px; */
  background: #0C4A63;
  border-radius: 3px;
  text-align: center;
}

.map-controls-custom a.btn-waze {
  text-decoration: none;
  background: #347E9C;
}



#show-cell {
  position: absolute;
  right: 45px;
  bottom: 11px;
  margin-right: 5px;
  background: #efeefe;
  font-size: 14px;
  display: table;
  padding: 3px 10px 3px 10px;
  border-radius: 2px;
  color: #666;
  box-shadow: 1px 1px 1px #666;
  z-index: 9999;
}



.no-infonode {  
  position: absolute;
  top: 64px;
  padding: 3px;
  background: #f7f7f7;
  box-shadow: 1px 1px 1px #c7c7c7;
  color: #bd4141;
  border-radius: 2px;
  display: none;
  font-size: 14px;
  padding: 9px;
  z-index: 9999;
  width: 90%;
}






.card-buttons-floating {
  position: absolute;
  top: 13px;
  right: 35px;
  display: table;
  z-index: 99999;
}


.card-buttons-floating a {
  float: left;
  clear: none;
  margin-right: 5px;
  background: #efeefe;
  font-size: 15px;
  display: table;
  padding: 3px 10px 3px 10px;
  border-radius: 2px;
  color: #666;
  box-shadow: 1px 1px 1px #666;
}

.card-buttons-floating a:hover {
  color: #000;
}


/* ==========================================
   ------------------------------------------
   ========================================== */


.card .event-info {
  float: right;
  display: table;
  margin-left: 20px;
  font-size: 15px;
}
.card .event-info div {
  float: left;
  margin-right: 70px;
}

.card .event-info strong {
  display: block;
  padding-right: 5px;
  float: left;
}

/* ==========================================
   ------------------------------------------
   ========================================== */

.card a.des-number {
  display: table-cell;
  width: 220px;
  padding-top: 48px;
  /*
  float: left;
  width: 20%;
  */
  color: #235076;
  margin-top: 20px;
  font-size: 62px;
  height: 100%;
  /*display: block;*/
  text-align: center;
  border-right: 1px dotted #666;
}

 
.card a.des-number:hover {
  text-decoration: none;
}


.movement-info {
  display: table-cell;
  width: 385px;
  /*
  margin: 0 auto;
  float: right;
  width: 22%;*/
  border-left: 1px dotted #ccc;
  height: 100%;
  padding-left: 15px;
  padding-right: 15px;
  vertical-align: top;
}

.movement-info div:last-child{
  margin-right: 0px;
}

.movement-info div {
  float: none;
  /*margin-bottom: 5px;*/
  font-size: 14px;
}

.movement-info div strong, .movement-info div span {
  float: none;
  clear: both;
}

.movement-info div strong {
  margin-right: 5px;
}






/* ==========================================================================
   Overlays
   ========================================================================== */

   .overlay-element {
     display: none;
     width: 100%;
     height: 100%;
     background: rgba(0,0,0,0.9);
     position: fixed;
     left: 0px;/*
     display: table;*/
     top: 0px;
     z-index: 999;
   }

   .overlay-element .overlay-wrapper {
     display: table;
     width: 100%;
     height: 100%;
   }


   .overlay-wrapper div.overlay-container {
     /*color: #fff;*/
     vertical-align: middle;
     margin: 0 auto;
     display: table-cell;
     position: relative;
   }

   .overlay-wrapper div.centered {
     display: table;
     margin: 0 auto;
     text-align: center;
   }




.overlay-buttons {
  position: absolute;
  display: table;
}

.overlay-buttons a {
  float: left;
  margin-left: 10px;
  clear: none;
}

.overlay-buttons.bottom {
  bottom: 40px;
}
.overlay-buttons.top {
  top: 40px;
}
.overlay-buttons.right {
  right: 0px; 
}
.overlay-buttons.left {
  left: 0px;
}
.overlay-buttons.centered {
  right: 50%
}




.overlay-buttons.top a {
  float: none;
  margin-bottom: 10px;
  margin-left: 10px;
  clear: none;
}



/* ==========================================================================
  Tooltip
  ========================================================================== */


.left-arrow-icon,.down-arrow-icon {
  position: absolute;
}

.down-arrow-icon {
  bottom: 10px;
  width: 12px;
  left: 3px;
}

.left-arrow-icon {
  width: 7px;
  left: 4px;
  top: 7px;
}

a.des-number .tooltip {
  opacity: 1;
  left: 36%;
  top: -2px !important; /* -20 */
}

a.des-number {
  position: relative;
}

.tooltip.top-tooltip {
  background: rgba(5, 52, 93, 0.75) !important;
  top: -29px !important;
  display: block !important;
  height: 20px !important;
  padding-bottom: 0px !important;
  width: 70px !important;
  display: table !important;
  color: #fff;
  box-shadow: none !important;
}



.tooltip.top-tooltip.two-lines {
  top: -43px !important;
}

.tooltip.top-tooltip .pick {
    bottom: -9px !important;
    top: inherit !important;
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

.tooltip.top-tooltip .tooltip-wrapper {
  padding: 5px !important;
}

a.has-tooltip {
  position: relative;
}

a.has-tooltip:hover  div.tooltip {
  display: table;
}
a.has-tooltip div.tooltip {
  display: none;
  width: 235px;
  height: auto;
  padding-bottom: 5px;
  background: #666;
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translate(-50%, 0);
  border-radius: 3px;
  opacity: 1;
  color: #fff;
  border-radius: 2px;
  box-shadow: 2px 2px 8px #000;
}

div.tooltip-wrapper p {
  display: table;
  padding-bottom: 6px;
  border-bottom: 1px dotted #ccc;
  margin-bottom: 6px;
  width: 100%;
}

div.tooltip-wrapper p strong {
  float: left; 
  width: 90px;
  text-align: left;
}

div.tooltip-wrapper .button {
  margin: 0 auto;
  margin-top: px;
  width: 90%;
  height: 28px;
  color: #fff;
  background: url('../img/bg-btn-tooltip.jpg') repeat-x;
  padding-top: 5px;
  text-align: center;
  width: 100%;
  display: block;
}
div.tooltip-wrapper .button:hover {
  background: url('../img/bg-btn-tooltip-hover.jpg') repeat-x;
  padding-top: 5px;
  text-align: center;
  text-decoration: none;
}


a.has-tooltip div.tooltip div.tooltip-wrapper {
  width: 100%;
  height: 100%;
  padding: 10px;
  padding-top: 15px;
  position: relative;
}

a.has-tooltip div.tooltip div.tooltip-wrapper div.pick {
  position: absolute;
  top: -9px;
  background: url('../img/pick.png') no-repeat top center;
  width: 100%;
  height: 10px;
  left: 0px;
  opacity: .6;
}

a.popup-btn {
  float: none;
  width : 100%;
  margin: 0 auto;
  padding: 4px;
  display: block;
  color: #fff !important;
  clear: both;
  text-decoration: none;
  float: none;
  margin-top: 40px;
  background: #0C4A63;
  border-radius: 3px;
  text-align: center;
}


a.popup-btn:hover {
  text-decoration: none;
  background: #347E9C;
}


.google-streetview-container {
  position: absolute;
  display: none;
  display:block;
  height: 550px; 
  width: 500px;
  padding: 10px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 15px;
}

.google-streetview-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}
.google-streetview-close {
  position: absolute;
  top: -8px;
  right: -47px;
}

.geocode-info {
  display: table;
  margin: 0 auto;
  padding: 5px;
  border: 1px solid #ccc;
  margin-bottom: 10px;
}

#google-streetview-img {
  width: 100%
}

a.google-streetview-btn  {
  position: absolute;
  color: #fff;
  top: 220px;
  font-size: 100px;
  text-shadow: 2px 3px #000;
  text-decoration: none;
}

.google-streetview-btn.btn-rotate-right {
  right: 15px;
}
.google-streetview-btn.btn-rotate-left {
  left: 15px;
}

a.google-streetview-btn:hover, a.google-streetview-btn:visited {
  text-decoration: none;
  color: #ccc
} 


.streetview-icon {
  float: left;
  margin-right: 8px;
}

.popup-right-col {
  display: table-cell;
  float: right;
  width: 180px;
  margin-bottom: 10px;
}

.popup-data-container {
  display: table;
  width: 225px;
}

#load-streetview {
  float: left;
  display: table-cell;
  width: 40px;
 }



/* ==========================================================================
   Alarmas
   ========================================================================== */

.alarms-wrapper {
  display: table-cell;
  width: auto;
  /*
  float: left;
  width: 58%;
  */
  position: relative;
  /*dding-top: 20px;*/
  padding-top: 33px;
}

.alarms-container {
  display: table;
  margin: 0 auto;
}


.red-btn {
  padding: 5px;
  background: #D42E2E;
  color: #fff;
  border-radius: 4px;
}

#mov-abort {
  position: absolute;
  right: 13px;
  top: 5px;
}

#mov-close {
  position: absolute;
  right: 13px;
  top: 36px;
}
#alternative-route {
  position: absolute;
  right: 9px;
  top: 47px;
}


a.event-alarm {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: block;
  float: left;
  margin-right: 40px;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  padding-top: 16px;  
  text-align: center;
  background: red;
}

a.event-alarm:hover {
  color: #FFD3D3;
  background: #D14545;
  text-decoration: none;
}


a.event-alarm.checked {
  background: #235076;
} 


a.event-alarm.checked-now {
  background: #5B91CA !important;
}


a.event-alarm.checked:hover {
  color: #D6EEFF;
  background: #4D86B6;
}

a.event-alarm.justified {
  background: #57A869 !important;
} 
a.event-alarm.justified:hover {
  color: #BAD4B9;
  background: #65916F;
}



#phone-checked {  
    display: table;
    top: 0px;
    width: auto;
    right: 9px;
    position: absolute;
}





/* ==========================================================================
   Envio de Mensajes a Equipos
   ========================================================================== */


.des-number:hover #device-message, #device-message:hover {
  display: table;
}

#device-message {
  font-size: 12px !important;
  color: #666 !important;
  position: absolute;
  display: none;
  top: 93px;
  left: 50px;
  z-index: 999;
  border-radius: 0px 0px 3px 3px;
  background: #f7f7f7;
  padding: 10px;
  box-shadow: 1px 1px 1px #666;
}

#device-message li {
  position: relative;
  display: table;
  width: 100%;
  padding-right: 15px;
  padding-bottom: 3px;
  margin-bottom: 3px;
  border-bottom: 1px solid #ccc;
}

#device-message li i.fa {
  position: absolute;
  right: 0px;
  top: 2px;
}

#device-message ul li:last-child {
  border-bottom: 0px;
}


#device-message li ul {
  position: absolute;
  left: 68px;
  top: -5px;
  display: none;
  background: #f7f7f7;
  padding: 10px;
  border-radius: 1px 3px 3px 0px;
  box-shadow: 1px 1px 1px #777;
  padding: 5px;
}

#device-message li:hover ul, #device-message li ul:hover  {
  display: table;
}
/*

#accelerometer {
  float: none;
  clear: both;
  width: 100%;
  padding: 10px;
  display: table;
  border-top: 1px solid #ccc;
  position: relative;
}*/


#accelerometer {
  float: none;
  clear: both;
  padding: 10px;
  display: table;
  border-top: 1px solid #ccc;
  position: absolute;
  right: 38px;
}

#stl-viewer {
 /* width: 300px;
  height: 200px;*/
  width: 150px;
  height: 150px;
  display: table;  
}



#accelerometer-data {
  background: #f9f9f9;
  padding: 8px;
  box-shadow: 1px 1px 1px #b7b7b7;
  border-radius: 3px;
  display: table;
  color: #666;
  margin-bottom: 10px;
}

#accelerometer-data img {
  margin-right: 15px;
  border-right: 1px solid #c1c1c1;
  padding-right: 15px;
}

#accelerometer-data strong {
  min-width: 79px;
  clear: left;
  margin-right: 10px;
  margin-bottom: 5px;
}

#accelerometer-data span.positive {
  color: green;
} 
#accelerometer-data span.negative {
  color: blue;
} 






/* Listado de Justificaciones */

#justification-select {
  display: none
  /*
  width: 200px;
  height: 30px;
  position: absolute;
  right: 330px;
  top: 60px;
  background: #fff;
  padding: 20px;*/
}


#justification-select ul {
  margin: 0px;
  margin-top: 10px;
  display: block;
  padding: 0px;
  max-height: 438px;
  overflow-y: scroll;
}

#justification-select ul li {
  display: table;
  padding-bottom: 10px;
  padding-top: 10px;
  padding-left: 3px;
  margin-bottom: 10px;
  border-bottom: 1px dotted #ccc;
  width: 100%;
}

#justification-select ul li:hover {
  background: #f1f1f1;
}

#justification-select ul li.selected, #justification-select ul li:hover.selected  {
  background: #d4d4d4;
}



/* Archivos en Complementos */

.cpl-img {
  border: 1px solid #666;
  padding: 2px;
  width: 100px;
  float: right;
}

.cpl-img-big {
  max-width: 700px;
  max-height: 700px;
  margin: 0 auto;
}


.cpl-file-link i {
    margin-right: 10px;
}

.cpl-file-description {  
  padding: 15px;
  margin-top: 0;
  position: relative;
  float: left;
  display: block;
}

form.window-bottom-form {
  background: #efefef;
  display: table;
  width:  100%;
  border-bottom: 2px solid #949292;
  padding-bottom: 10px;
}