/* === fontawesome === */
@import url('font-awesome.css');
/* === custom icon === */
@import url('custom-fonts.css');

html, body {
    height: 100%;
}

body {
    font-family: Poppins;
    font-size: 14px;
    background-color: #eee;
}

    body.alert-on {
        overflow: hidden;
    }

.page-wrapper {
    height: 100%;
}

.container {
    margin: 20px auto;
}

h3 {
    margin-bottom: 30px;
}

.hide-visibility {
    visibility: hidden;
}

.error {
    color: #ff0000;
}

table tr.selected td {
    background-color: #d9bc84 !important;
}

td {
    background-color: #fff;
    vertical-align: middle !important;
}

th {
    background-color: #1c5568 !important;
    color: #fff;
    border: 1px solid white;
}

    th.th-title {
        background-color: #093f51 !important;
    }

tfoot td {
    background-color: #d9bc84 !important;
}

td.rojo {
    background-color: #ff0000 !important;
    color: #FFF;
}

td.verde {
    background-color: #008000 !important;
    color: #FFF;
}

.header {
    position: relative;
}

    .header button {
        font-size: 38px;
        outline: none;
    }

    .header img {
        margin-left: 30px;
    }

.header-title {
    margin-left: 20px;
    font-size: 16px;
}

.header .fabrica-picker {
    position: absolute;
    right: 0px;
    padding-left: 20px;
    padding-right: 20px;
    line-height: 56px;
    cursor: pointer;
}

    .header .fabrica-picker:hover {
        background-color: #c55c5c;
    }

.header .fabrica {
    line-height: 56px;
}

header i {
    font-size: 25px;
    margin-right: 10px;
    color: #fff;
}

.login-comp {
    margin-left: auto;
    border: 1px solid #d9534f;
    border-right: none;
    border-radius: 4px;
}

    .login-comp span {
        font-size: 16px;
        display: inline-block;
        vertical-align: top;
        line-height: 40px;
        padding: 0px 20px;
        height: 40px;
    }

    .login-comp button {
        font-size: 14px;
        height: 40px;
        border-bottom: none;
        border-top: none;
    }

.space-bottom {
    margin-bottom: 20px;
}

.space-right {
    margin-right: 20px;
}

label {
    font-size: 16px;
}

input.itcl-input-block {
    height: 50px;
    border-left: 4px solid;
    font-size: 20px;
}

.has-feedback .form-control-feedback {
    top: 35px;
}

button i {
    margin-right: 6px;
}

.btn {
    outline: none !important;
    height: 50px;
}

.btn-default {
    background-color: #fff;
    border-radius: 6px;
    padding: 8px 12px;
    font-weight: 400;
    color: #000;
    font-size: 16px;
}

    .btn-default:hover, .btn-default:focus, .btn-default:active {
        background-color: #7c9fc7;
        color: #fff;
    }

.btn-pos-paq {
    color: #fff;
    background-color: #0a98a8;
}

.btn-sal-alma {
    color: #fff;
    background-color: #3baf4a;
}

.btn-cons-ub {
    color: #fff;
    background-color: #8e75ac;
}

.btn-pos-paq:hover, .btn-pos-paq:active, .btn-pos-paq:focus {
    background-color: #106b75;
}

.btn-sal-alma:hover, .btn-sal-alma:active, .btn-sal-alma:focus {
    background-color: #168024;
}

.btn-cons-ub:hover, .btn-cons-ub:active, .btn-cons-ub:focus {
    background-color: #543c71;
}

.menu-item-comp {
    padding: 10px;
    border-left: 2px solid #989898;
    border-right: 2px solid #989898;
    border-top: 2px solid #989898;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    min-height: 85px;
    background-color: #fff;
}

    .menu-item-comp:last-of-type {
        border-bottom: 2px solid #989898;
    }

    .menu-item-comp img {
        margin-right: 20px;
    }

    .menu-item-comp .btn-default {
        width: 300px;
        height: 50px;
    }

.title {
    font-size: 18px;
    border: 3px solid #638bbd;
    color: #638bbd;
}

.subtitle {
    font-size: 15px;
}

.camion {
    cursor: pointer;
}

    .camion.selected td {
        background-color: #d9bc84 !important;
    }

/*.alert-message, .alert-fabrica {
    overflow-y: auto;
    position: fixed;
    right: 0;
    left: 0;
    bottom: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9000;
}

.alert-message-container {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    background-color: #fff;
    margin: 0px 20px 0px 20px;
    text-align: center;
    border-radius: 3px;
    padding: 20px;
}

.alert-fabrica-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    margin: 20px 20px 20px 20px;
    text-align: center;
    border-radius: 3px;
    padding: 20px;
}

.alert-message-content, .alert-fabrica-content {
    font-size: 16px;
    font-weight: 500;
}

.alert-message-action {
    padding-top: 40px;
}

.alert-fabrica-action {
    padding-top: 16px;
}*/

.separator {
    border-top: 1px solid #1c5568;
}

.keypad {
    border-spacing: 2px;
    border-collapse: separate;
    border: 1px solid #7c9fc7;
    border-radius: 3px;
    padding: 5px;
}

.key-cell {
    max-width: 67px;
}

.key {
    width: 67px;
    height: 67px;
    font-size: 20px;
}

.input-codigo-op {
    width: 221px;
    margin: 0px auto 20px auto;
}

#input-codigo-pedido {
    width: 221px;
    margin: 0px auto 20px auto;
}

.input-codigo-paquete {
    width: 400px;
    margin: 0px auto 20px auto;
}

.input-op {
    max-width: 360px;
    margin: 0px auto 20px auto;
}

.mg-t-20 {
    margin-top: 20px;
}

.mg-t-40 {
    margin-top: 40px;
}

.mg-t-80 {
    margin-top: 80px;
}

.mg-r-20 {
    margin-right: 20px;
}

.mg-t-10 {
    margin-top: 10px;
}

.mg-b-20 {
    margin-bottom: 20px;
}

#camera {
    width: 100%;
    height: 600px;
}


    #camera canvas, #camera video {
        float: left;
        width: 100%;
        height: 100%;
    }

        #camera canvas.drawingBuffer, #camera video.drawingBuffer {
            margin-left: -100%;
        }

#map {
    height: 550px;
    margin-top: 20px;
}

#searchLocation {
    text-align: center;
}

table tr {
    cursor: pointer;
}

.no-select tr {
    cursor: default;
}

.tableFixHead {
    overflow-y: auto;
    height: 100px;
}

    .tableFixHead th {
        position: sticky;
        top: 0;
    }

    .tableFixHead thead tr:nth-child(2) th {
        position: sticky;
        top: 38px;
    }


#usersTable {
    height: 400px;
}

#searchLocation #paquetesTable {
    height: 203px;
    margin-bottom: 20px;
}


#vehiclesTable, #pedidosTable, #paquetesTable {
    height: 400px;
}

#packagesTable {
    height: 150px;
}

#bobinasTable {
    height: 200px;
}

.invalid-feedback {
    color: #dc3545;
    font-weight: 600;
    margin-top: 20px;
}

label.itcl-label {
    height: 50px;
    border-left: 4px solid;
    font-size: 20px;
    border-radius: 4px;
    width: 100%;
    text-align: left;
    font-weight: 400;
    display: flex;
    align-items: center;
}

label.itcl-label-big {
    height: 70px;
    font-size: 14px;
}

/* MIN TABLET LANDSCAPE */
@media(min-width: 992px) {

    #map {
        height: 550px;
        margin-top: 0px;
    }

    #input-codigo-pedido {
        width: 221px;
        margin: 0px 0px 20px 0px;
    }

    #searchLocation {
        text-align: left;
    }

    #camera {
        height: 400px;
    }

    .divMap {
        height: 550px;
        margin-top: 0px;
    }
}

/* MAX TABLET LANDSCAPE */
@media(max-width: 991px) {
    .header-title {
        font-size: 14px;
    }

    .login-comp span {
        font-size: 14px;
    }

    .login-comp button {
        font-size: 14px;
    }

    .header img {
        margin-left: 16px;
    }
}

/* LOADING */
.loading-spinner {
    position: fixed;
    height: 100%;
    width: 100%;
    /*position: fixed;
    top: -40px;
    left: 50%;*/
    background-color: #777777;
    text-align: center;
    z-index: 56546546;
    color: white;
    border: 1px solid #464646;
    border-radius: 2px;
    transition: top linear 0.4s;
    opacity: 0.7;
}

    .loading-spinner > div {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }

    .loading-spinner i {
        color: white;
        font-size: 185px;
        flex: 1;
    }
/*END LOADING */


/*Alertify*/
.ajs-message.ajs-error {
    color: white !important;
}

.alertify-notifier .ajs-message.ajs-success {
    color: white !important;
}

.ajs-ok {
    background-color: #5cb85c;
    border-color: #4cae4c !important;
    border: 1px solid;
    color: #fff;
    outline: none;
    border-radius: 4px;
}

    .ajs-ok:hover {
        background-color: #47a447;
        border-color: #398439;
    }

    .ajs-ok:active {
        background-color: #47a447;
        border-color: #398439;
    }

.ajs-cancel {
    background-color: #d9534f;
    border-color: #d43f3a !important;
    color: #fff;
    outline: none;
    border: 1px solid;
    border-radius: 4px;
}

    .ajs-cancel:hover {
        background-color: #d2322d;
        border-color: #ac2925;
    }

    .ajs-cancel:active {
        background-color: #d2322d;
        border-color: #ac2925;
    }

.ajs-header {
    font-weight: bold;
}
/**/


.Z-Index-99999 {
    z-index: 9;
}


/* MOBILE */
@media(max-width: 992px) {
    .header img, .header-title {
        display: none;
    }

    .input-codigo-paquete {
        width: auto;
        margin-top: 15px !important;
    }

    #cameraContainer.not-mb-active {
        display: none;
    }

    #infoContainer.not-mb-active {
        display: none;
    }

    #cameraContainer h3 {
        display: none;
    }
}