html,
body {
    height: 100%;
}

.main-header .navbar {
  background-color: #1E441E;
}

.metal-input {
  width:90%;
}

.metal-items {
    width: 5em;
    height: 10em;
    line-height: 2em;
    border: 2px solid #ccc;
    padding: 0;
    margin: 0;
    overflow: scroll;
    overflow-x: hidden;
    border-color: gray;
    position: relative !important;

}

.metal-icerik-div {
  width:90%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: "\e151";
}

a.desc:after {
    content: "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.carousel { 
  z-index: -99; 
}

.carousel .item {
  position: fixed;
  opacity: 0;
  left: 0 !important;
  width: 100%; 
  height: 100%;
  -webkit-transition: opacity 0.5s;
  -moz-transition: opacity 0.5s;
  -ms-transition: opacity 0.5s;
  -o-transition: opacity 0.5s;
  transition: opacity 0.5s;
}

.carousel .carousel-indicators {
  position: fixed;
  left: 100.15%;
  text-align: center;
  width: auto; 
  height: auto;
  opacity: 0.85;
  top: 88vh;
}

.carousel .imagen-uno {
  background: url(/images/landing_plp_1.png);
  background-size: cover;
  -moz-background-size: cover;
}

.carousel .imagen-dos {
  background: url(/images/landing_plp_2.png);
  background-size: cover;
  -moz-background-size: cover;
}

.carousel .imagen-tres {
  background: url(/images/landing_plp_3.png);
  background-size: cover;
  -moz-background-size: cover;
}

.carousel .imagen-cuatro {
  background: url(/images/landing_plp_4.png);
  background-size: cover;
  -moz-background-size: cover;
}

.carousel-caption {
  top: 80vh;
  font-size: 20px;
  left: 63.8%;
  text-align: center;
  text-shadow: 0 2px 3px rgba(0,0,0,.6);
}

.texto-carousel-container {
  margin-top: -3.5vh;
  background-color: rgba(0, 175, 245, 0.55);
  border-radius: 10px;
}

.texto-carousel {
  opacity: 1 !important;
}

.carousel .carousel-indicators li {
  text-indent: 0;
  cursor: pointer;
  border: none;
  border-radius: 50%;
  background-color: #00aff5;
  box-shadow: inset 1px 1px 1px 1px rgba(0,0,0,0.5);   
}
.carousel .carousel-indicators li.active {
  background-color: #02587a;
}

.carousel .active {
  opacity: 1 !important;
}

.carousel .left {
  opacity: 0.73 !important;
  left: -20vh;
  -webkit-transition: opacity 0.5s !important;
  -moz-transition: opacity 0.5s !important;
  -ms-transition: opacity 0.5s !important;
  -o-transition: opacity 0.5s !important;
  transition: opacity 0.5s !important;
}

.carousel .right {
  opacity: 0.73 !important;
  right: -20vh;
  -webkit-transition: opacity 0.5s !important;
  -moz-transition: opacity 0.5s !important;
  -ms-transition: opacity 0.5s !important;
  -o-transition: opacity 0.5s !important;
  transition: opacity 0.5s !important;
}

@media(max-width:1286px) {
  .carousel .left {
    opacity: 0.73 !important;
    left: -10vh;
    -webkit-transition: opacity 0.5s !important;
    -moz-transition: opacity 0.5s !important;
    -ms-transition: opacity 0.5s !important;
    -o-transition: opacity 0.5s !important;
    transition: opacity 0.5s !important;
  }

  .carousel .right {
    opacity: 0.73 !important;
    right: -10vh;
    -webkit-transition: opacity 0.5s !important;
    -moz-transition: opacity 0.5s !important;
    -ms-transition: opacity 0.5s !important;
    -o-transition: opacity 0.5s !important;
    transition: opacity 0.5s !important;
  }
}

@media(max-width:1169px) {
  .carousel-caption {
    top: 80vh;
    font-size: 12px;
    left: 75%;
    text-align: justify;
    text-shadow: 0 2px 3px rgba(0,0,0,.6);
  }

  .carousel .carousel-indicators {
    position: fixed;
    left: 105.5%;
    text-align: center;
    width: auto; 
    height: auto;
    opacity: 0.85;
    top: 88vh;
  }
}

.login-carousel-controlers {
  /* top doesnt work with percentage, use vh */
  top: 50vh;
}

.arrows-carousel {
  color: #00AFF5;
}

.login-box-body {
  opacity: 0.9;
}


.login-page {
    background-size: 100% !important;
    background-position: center center !important;
    background-attachment: fixed !important;
    background-repeat: no-repeat !important;

}
.login-logo {
    background-color: #ffffffff;
}

.logo-mini {
    background-color: #f9fafc;
    border-right: 1px solid #d2d6de;
    border-left: 1px solid #d2d6de;
    border-top: 1px solid #d2d6de;
    border-bottom: 2px solid #d2d6de;
}

.imprimir {
  border: 1px solid black !important;
  margin-top: 100px !important;
  margin-bottom: 100px !important;
  margin-right: 0px !important;
  margin-left: 0px !important;
  background-color: blue !important;
}

@media print {

  @page {
    size: auto;
    margin: 0;
  }

  html, body {
    width: 820px;
    position: center;
  }

  body {
    margin: 1px auto;
  }
}

.truncate {
    max-width: 150px !important;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.truncate:hover{
    overflow: visible;
    white-space: normal;
    width: auto;
    word-wrap: break-word;
}

.rowData:hover{
    background-color: lightgray !important;
}
.select2-dropdown {
  overflow-y: hidden !important;
  max-height:200px;
}

a.año:hover{
  background-color: #C0D0DE !important;
}

a.mes:hover{
  background-color: #C0D0DE !important;
}

td.details-control {
    text-align: center;
    cursor: pointer;
}
td.details-control i {
    color: green;
    font-size: 1.5em;
    transition: color 0.2s;
}
tr.shown td.details-control i {
    color: red;
}

td.details-control1 {
    text-align: center;
    cursor: pointer;
}
td.details-control1 i {
    color: green;
    font-size: 1.5em;
    transition: color 0.2s;
}
tr.shown td.details-control1 i {
    color: red;
}

td.details-control2 {
    background: url(/images/details_open.png) no-repeat center center;
    cursor: pointer;
}
tr.shown td.details-control2 {
    background: url(/images/details_close.png) no-repeat center center;
}
td.details-control3 {
    background: url(/images/details_open.png) no-repeat center center;
    cursor: pointer;
}
tr.shown td.details-control3 {
    background: url(/images/details_close.png) no-repeat center center;
}

.añomes {
  padding-left: 75px;
  padding-right: 75px;
}

.linea {
  padding-left: 75px;
  padding-right: 75px;
}

.reporte_general {
  padding-left: 0px;
  padding-right: 0px;
  width: 100%
}

.vehiculo {
  padding-left: 75px;
  padding-right: 75px;
}

.site-index .body-content tr {
  font-size:14px;
}

.site-index .body-content td {
  font-size:14px;
}

.formato_montos {
  background: #2d2d2d;

  border: solid 1px gainsboro;

  border-radius: 10px;

  color: white;

  padding: 5px 10px 5px 10px;

  display: flex;

  justify-content: center;

  margin-top: 10px;

  font-size: 16px;
}

.formato_montos_x2 {
  background: #2d2d2d;

  border: solid 1px gainsboro;

  border-radius: 10px;

  color: white;

  padding: 5px 10px 5px 10px;

  display: flex;

  justify-content: center;

  margin-top: 10px;

  font-size: 20px;
}

.total_markup td {
  column-count: 2;
}

.caja {
  float:left;
  height: 20px;
  width: 20px;
  border: 1px solid black;
}

.select2-container--krajee .select2-dropdown {
    min-height: 250px;
    overflow: auto;
}

.navbar-nav.navbar-center {
            position: absolute;
            left: 30%;
            transform: translatex(-50%);
        }


.glyphicon-trash{
    	color: red;
}

input.apple-switch {
position: relative;
appearance: none; outline: none;
width: 50px; height: 30px;
background-color: #ffffff; border: 1px solid #D9DADC;
border-radius: 50px; box-shadow: inset -20px 0 0 0 #ffffff;
transition-duration: 200ms;
outline:none !important;
}

input.apple-switch:after {
content: "";
position: absolute;
top: 1px; left: 1px;
width: 26px; height: 26px;
background-color: transparent;
border-radius: 50%; box-shadow: 2px 4px 6px rgba(0,0,0,0.2);
}

input.apple-switch:checked {
border-color:  #4ed164 ;
box-shadow: inset 20px 0 0 0  #4ed164 ;
}

input.apple-switch:checked:after {
left: 20px;
box-shadow: -2px 4px 3px rgba(0,0,0,0.05);
}

.F {
  background-color: #F9A5A5
}

.TH {
  background-color: #90ed7d
}

.TS {
  background-color: #ff9b49
}

.TP {
  background-color: #dc4ffb
}

.PC {
  background-color: #90ed7d
}

.NC {
  background-color: #F8F1AE;
}

.header-sticky {
  overflow-y: auto;
}

.header-sticky thead {
  position: sticky;
  top: 0;
}

.T {
  background-color: #F8F1AE
}
.N {
  background-color: #92C2DD
}
.S {
  background-color: #F1B476;
}

.espacio-bg {
  margin-right: 1.7rem;
}

.espacio-bg-neg {
  margin-right: -1.7rem;
}

.espacio-sm {
  margin-right: 5px;
}

.espacio-xl {
  margin-right: 20px;
}

.espacio-xl-neg {
  margin-right: -20px;
}

.trash-color {
  color: #c84545;
}

.eye-slash-color {
  color: #828282;
}

.pencil-color {
  color: #548fb0;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 130px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {background-color: #ddd;}

.dropdown:hover .dropdown-content {display: block;}

.dropdown:hover .dropbtn {background-color: #0262B6;}

.select2-dropdown {
  z-index: 1079 !important;
}

.informe-editar, .informe-delete, .solmat-editar, .solmat-delete{
  cursor:pointer;
}

.espacio {
  margin-right: 4px;
}

.formato_montos_certificacion {
  background: gainsboro;

  border: solid 1px gray;

  border-radius: 10px;

  color: dimgray;

  font-weight: bold;

  padding: 2px 0px 2px 0px;

  margin-bottom: 0px;

  display: flex;

  justify-content: center;

  font-size: 14px;
}

.formato_montos_certificacion_total {
  background: gainsboro;

  border: solid 1px gray;

  border-radius: 10px;

  color: dimgray;

  padding: 5px 10px 5px 10px;

  display: flex;

  font-weight: bold;

  justify-content: center;

  margin-top: 10px;

  font-size: 16px;
}

/* ========== CARDS SOLICITUDES DE TRABAJO ========== */

.card-st {
  border-radius: 1rem;
  margin-bottom: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-st:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.card-st-body {
  padding: 25px 20px;
  min-height: 110px;
}

.card-st-number {
  margin: 0 0 10px 0;
  color: #fff;
  font-weight: 700;
  font-size: 36px;
  line-height: 1;
}

.card-st-title {
  margin: 0;
  color: #fff;
  font-weight: 500;
  font-size: 16px;
}

.card-st-icon {
  font-size: 28px;
  opacity: 0.3;
  margin-top: 10px;
}

.card-st-footer {
  padding: 12px 20px;
  border-top: 0;
}

.card-st-footer-text {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  margin: 0;
}

/* ========== COLORES - INFO (AZUL) ========== */
.card-st-info .card-st-body {
  background: #5dade2; /* fallback */
  background: -webkit-linear-gradient(to right, #85c1e9, #5dade2, #3498db);
  background: linear-gradient(to right, #85c1e9, #5dade2, #3498db);
}

.card-st-info .card-st-icon {
  color: #9cc9e7;
}

.card-st-info .card-st-footer {
  background: #3498db;
}

/* ========== COLORES - SUCCESS (VERDE) ========== */
.card-st-success .card-st-body {
  background: #29ae82; /* fallback */
  background: -webkit-linear-gradient(to right, #55DD91, #34c49b, #29ae82);
  background: linear-gradient(to right, #55DD91, #34c49b, #29ae82);
}

.card-st-success .card-st-icon {
  color: #b0efdb;
}

.card-st-success .card-st-footer {
  background: #29ae82;
}

/* ========== COLORES - WARNING (NARANJA/AMARILLO) ========== */
.card-st-warning .card-st-body {
  background: #f76f3a; /* fallback */
  background: -webkit-linear-gradient(to right, #f9ad4d, #ff7b2b, #f76f3a);
  background: linear-gradient(to right, #f9ad4d, #ff7b2b, #f76f3a);
}

.card-st-warning .card-st-icon {
  color: #e5beaf;
}

.card-st-warning .card-st-footer {
  background: #f76f3a;
}

/* ========== COLORES - DANGER (ROJO) ========== */
.card-st-danger .card-st-body {
  background: #d54646; /* fallback */
  background: -webkit-linear-gradient(to right, #ff945f, #f74c4c, #d54646);
  background: linear-gradient(to right, #ff896e, #ff6666, #ff4c4c);
}

.card-st-danger .card-st-icon {
  color: #e8baba;
}

.card-st-danger .card-st-footer {
  background: #ff4c4c;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .card-st-number {
    font-size: 28px;
  }

  .card-st-title {
    font-size: 14px;
  }

  .card-st-icon {
    font-size: 24px;
  }
}

/* ========== GRÁFICO DE CERTIFICACIÓN ========== */

.card-grafico-certificacion {
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 25px;
  overflow: hidden;
  height: fit-content;
}

.card-grafico-header {
  background: #ff7c2b;
  color: #fff;
  padding: 15px 20px;
  font-weight: 600;
  font-size: 15px;
  text-align: center;
}

.card-grafico-header i {
  margin-right: 8px;
}

.card-grafico-body {
  padding: 20px 15px;
  background: #fff;
}

/* Responsive para el gráfico */
@media (max-width: 991px) {
  .card-grafico-certificacion {
    margin-top: 25px;
  }
}