/*GEN�RICO*/

body {
    font-family: 'Roboto', sans-serif;
    padding: 40px 0;
    
}
.login-bg{
    background: url("../img/login_blue.jpg") repeat center top;
    padding: 10% 0;
}
.login-wrapper {
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(83, 83, 83, 0.3);
    border-bottom: 1px solid rgba(83, 83, 83, 0.3);
    -moz-box-shadow: inset 0 0 250px 100px rgba(0, 0, 0, 0.02);
    -webkit-box-shadow: inset 0 0 250px 100px rgba(0, 0, 0, 0.02);
    box-shadow: inset 0 0 250px 100px rgba(0, 0, 0, 0.02);
}

a,
/*a:hover {
    color: #A31505;
}*/

a:hover {
    /*text-decoration: underline;*/
    text-decoration: none;
}

.btn-primary,
.btn-primary:hover {
    background: #021e34;
    border: #021e34;
    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: #021e34;
    border: #021e34;
}

.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*/

#ModalOT .modal-content,
#ModalEncargado .modal-content,
#ModalTecnicos .modal-content,
#ModalOperario .modal-content {
    width: 850px;
    left: -25%;
}

.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: #021e34;
    padding: 0 1.25rem;
    min-height: 58px;
}

.navbar .navbar-brand {
    padding: 10px;
    background: #021e34;
    margin: -8px 0 -8px 0;
}

.navbar-portal-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.95rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    pointer-events: none;
    white-space: nowrap;
}

.navbar .navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 6px;
    padding: 6px 11px;
    color: #fff;
    background: transparent;
}

.navbar .navbar-toggler i,
.navbar .navbar-toggler-icon {
    color: #fff;
    font-size: 1.15rem;
}

.navbar-expand .navbar-nav .nav-link,
.navbar-expand-lg .navbar-nav .nav-link,
.navbar .nav-link,
.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: #fff !important;
}

/* ── Submenús en escritorio ── */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    margin: 0;
    border-radius: 4px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
}

/* ── Versión móvil / tablet ── */
@media (max-width: 991.98px) {
    .navbar {
        padding: 0 1rem;
    }

    .navbar-collapse {
        background: #021e34;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        padding: 6px 0 12px;
        margin-top: 2px;
        max-height: 78vh;
        overflow-y: auto;
    }

    .navbar .nav-link {
        color: rgba(255, 255, 255, .9) !important;
        padding: 10px 18px;
        font-size: .97rem;
    }

    .navbar .dropdown-menu {
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        margin: 0;
        position: static !important;
        transform: none !important;
    }

    .navbar .dropdown-item {
        color: rgba(255, 255, 255, .82);
        padding: 9px 24px;
        font-size: .93rem;
    }

    .navbar .dropdown-item:hover,
    .navbar .dropdown-item:focus {
        background: rgba(255, 255, 255, .1);
        color: #fff;
    }

    .navbar .dropdown-divider {
        border-color: rgba(255, 255, 255, .15);
        margin: 4px 16px;
    }

    .dropdown-submenu > .dropdown-menu {
        position: static !important;
        box-shadow: none;
        border-left: 3px solid rgba(0, 123, 255, .55);
        margin-left: 16px;
        padding-left: 4px;
    }
}


/*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: #021e34;
    padding: 25px 0;
    color: white;
    margin: 45px 0 0 0;
}

#ModalDatos .modal-content,
.modal_detalle_parte .modal-content {
    width: 750px;
}

#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;
}

#form_parte_new ul li input {}


/*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;
    }
}


