/*GEN�RICO*/
.file-input::file-selector-button{
    background-color: #A31505;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 4px;
    color: #fff;
}

.file-input::-webkit-file-upload-button{
    background-color: #A31505;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 4px;
    color:#fff;
}

.btnMostrar{
  border: none;
  background: transparent;
}

.btnMostrar:focus{
  outline: none;
}

.divPass{
  display: flex; 
  flex-direction: row; 
  gap: 1px;
  border-bottom: 1px solid black;
  margin-top: 10px;
}

#divDoc {
  display: flex;
  flex-direction: column;
  justify-content: unset;
}

#divDoc > * {
  flex-grow: 1; /* Hace que los elementos ocupen el espacio disponible */
}

#divDoc > *::after {
  content: "";
  display: block;
  border-top: 1px solid #000; /* Línea separadora */
  margin-top: 15px;
  margin-bottom: 15px;
}

.flex-responsive {
  display: flex;
  flex-direction: column;
}

#complemento{
  width: 100%;
}

#alertMod{
  display: flex; 
  justify-content: center; 
  align-items: center; 
  font-size: 1rem; 
  width:100%; 
  flex-direction: row; 
  gap: 20px;
  margin-top:10px;
}  

#alertCrtf{
    display: flex; 
    justify-content: center; 
    align-items: center; 
    font-size: 1rem; 
    width:100%; 
    flex-direction: row; 
    gap: 20px
  }

.modelo145{
  display: flex;
  justify-content: space-between;
}

@media (min-width: 950px) {
  .flex-responsive {
    flex-direction: row;
  }
  #complemento{
    width: 42%;
  }
  #divDoc {
    display: flex;
    flex-direction: row; /* Cambia a disposición horizontal */
    justify-content: center;
    align-items: center; /* Asegura alineación vertical */
  }
  
  /* Eliminamos la línea separadora en pantallas grandes */
  #divDoc > *::after {
    content: none;
    border-top: none;
    margin: 0;
    display: none;
  }

  #alertCrtf{
    display: flex; 
    justify-content: center; 
    align-items: center; 
    font-size: 1rem; 
    width:70%; 
    flex-direction: row; 
    gap: 20px
  }
  
  .email{
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

body {
    font-family: 'Roboto', sans-serif;
    background: #f5f5f5;
    padding: 40px 0;
}

a,
a:hover {
    color: #A31505;
}

a:hover {
    text-decoration: underline;
}

.btn-primary,
.btn-primary:hover {
    background: #A31505;
    border: #A31505;
    transition: all ease 0.2s;
}

.btn-primary:hover {
    opacity: 0.8;
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show>.btn-primary.dropdown-toggle {
    background: #A31505;
    border: #A31505;
}

.btn-primary:not(:disabled):not(.disabled).active:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.show>.btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgb(177, 63, 61);
}


/*TABLAS*/

.table-bordered td,
.table-bordered th {
    border: 1px solid #dee2e6;
}


.table td,
.table th {
    vertical-align: inherit;
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #343a40;
    border-color: #343a40;
}

.modal .table td {
    padding: 5px 15px;
}

table.total {
    width: 30%;
}

table.total span {
    font-size: 24px;
    font-weight: bold;
}

.fixed-top {
    z-index: 1000!important;
}


/*INICIO SESI�N*/

.form-signin {
    width: 100%;
    max-width: 330px;
    padding: 15px;
    margin: 0 auto;
}

.form-signin input[type="email"] {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.form-signin .form-control {
    position: relative;
    box-sizing: border-box;
    height: auto;
    padding: 10px;
    font-size: 16px;
}

.form-signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}


/*FORMULARIOS*/

.quantity {
    position: relative;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

.quantity input {
    width: 150px;
    height: 42px;
    line-height: 1.65;
    float: left;
    display: block;
    padding: 0;
    margin: 0;
    padding-left: 20px;
    border: 1px solid #eee;
}

.quantity input:focus {
    outline: 0;
}

.quantity-nav {
    float: left;
    position: relative;
    height: 42px;
}

.quantity-button {
    position: relative;
    cursor: pointer;
    border-left: 1px solid #eee;
    width: 20px;
    text-align: center;
    color: #333;
    font-size: 13px;
    font-family: "Trebuchet MS", Helvetica, sans-serif !important;
    line-height: 1.7;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.quantity-button.quantity-up {
    position: absolute;
    height: 50%;
    top: 0;
    border-bottom: 1px solid #eee;
}

.quantity-button.quantity-down {
    position: absolute;
    bottom: -1px;
    height: 50%;
}

.cont-firma {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}


/*CANVAS*/

canvas {
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.24), 0 1px 5px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.24), 0 1px 5px rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.24), 0 1px 5px rgba(0, 0, 0, 0.05);
    display: inline-block;
    margin-top: 30px;
    margin-bottom: 10px;
    cursor: default;
    position: relative;
}


/*HEADER*/

.navbar {
    background: #A31505;
}

.navbar .navbar-brand {
    padding: 10px;
    background: #fff;
    margin: -8px 0 -8px 0;
}

.navbar-expand .navbar-nav .nav-link {
    color: #fff;
}


/*CONTENIDO*/

.wrapper {
    padding-top: 65px;
}

.cont-white {
    padding: 30px 25px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 5px;
}

.cont-white.datos {
    width: 100%;
    max-width: 600px;
    margin: auto;
}


/*FOOTER*/

footer {
    background: #A31505;
    padding: 25px 0;
    color: white;
    margin: 45px 0 0 0;
}

#ModalDatos .modal-content,
.modal_detalle_parte .modal-content {
    width: 850px;
}

#ModalOT .modal-content {
    width: 850px;
}

#form_parte_new ul {
    padding: 0;
    margin: 0;
}

#form_parte_new ul li {
    list-style: none;
    margin: 0 0 10px 0;
}

#form_parte_new ul li label {
    font-weight: bold;
}


/*MEDIA QUERIES*/

@media only screen and (max-width: 736px) {
    a.btn.pull-right {
        float: left!important;
    }
    .cont_tit h3 {
        font-size: 1.2rem;
    }
    .cont_tit h4 {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    table.total {
        width: 100%;
    }
    textarea {
        width: 100%;
    }
    .btn.dropdown-toggle {
        white-space: inherit!important;
    }
    .dropdown-menu.show {
        transform: initial!important;
    }
}

@media only screen and (max-width: 1024px) and (min-width: 320px) {
    .navbar-expand .navbar-nav .nav-link {
        padding: 0;
        font-size: 12px;
    }
    #ModalDatos .modal-content,
    .modal_detalle_parte .modal-content {
        width: auto;
    }
    .cont-table {
        overflow-x: auto;
    }
    table strong,
    .table .thead-dark th {
        font-weight: 500;
        font-size: 13px;
    }
    .table td,
    .table th {
        padding: 10px;
    }
    .cont-table {
        overflow-x: auto;
    }
    .cont-white h3 {
        font-size: 1.2rem;
    }
    .btn-vacaciones {
        margin-left: 0!important;
    }
    .cont-white {
        margin-top: 1rem!important;
        margin-bottom: 1rem!important;
    }
    div.dataTables_wrapper div.dataTables_length,
    div.dataTables_wrapper div.dataTables_filter,
    div.dataTables_wrapper div.dataTables_info,
    div.dataTables_wrapper div.dataTables_paginate {
        text-align: left;
    }
}

