﻿
.bg-error {
    background-color: #ffdede;
}

.editableform div.has-error{
    width:100% !important;
    max-width:200px !important;
}

.logoTop {
    max-width: 225px;
    margin-bottom: -0.5rem;
    
}

.logoSloganTop {
    font-weight: lighter !important;
}


@page {
    size: letter landscape !important;
    
}

@media print {

    body {
        -webkit-print-color-adjust: exact !important;
        color-adjust: exact !important;
    }

    .table td.darkBack, .table th.darkBack {
        background-color: black !important;
        color: white !important;
    }
    .tablaLocationsPrint{
        font-size:8pt;
    }

    .tablaLocationsPrint tr:nth-child(even) td {
        background-color: #ededed !important;
        -webkit-print-color-adjust: exact;
    }

}



/*Opciones Disabled al Ingresar Retornos*/

select[id*='Ret'] option[disabled] {
    color: black;
    font-weight: bold
}


.fancybox-content {
    padding: 1rem !important;
    border-radius: 0.5rem;
}

.fancybox-container {
    z-index: 499 !important;
}
.swal2-container {
    z-index: 500 !important;
}

.swal2-actions{margin:0pt !important;}

.swal2-validation-message {margin-bottom:1rem;}

.swal2-content {
    margin-bottom:1rem !important;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}


/* X-Editable */
.editable-error-block {
    color: red;
}
.popover-header{font-size:0.8rem !important;}
.editable-empty {
    
}

/* View List Locations */

.LocationDistBox {
    width: 80px !important;
}

.dragHandle {
    cursor: move;
}

#tlocations input[type=checkbox] {
    transform: scale(1.5);
}

.LocationCountDialog {
    position: fixed !important;
    width: 270px !important;
}

    .LocationCountDialog .ui-dialog-titlebar {
        color: #007bff !important;
    }

#LocationCountDialog {
    padding: 0.5rem;
    min-height: unset !important;
}

.toggle.ios, .toggle-on.ios, .toggle-off.ios {
    border-radius: 20px;
}

    .toggle.ios .toggle-handle {
        border-radius: 20px;
    }

/*Evita que el botón de SALECT ALL se muestre, 
        esto lo hacemos porque cuando selecciona todos, 
        lo hace también con elementos ocultos o inactivos */

input[name=btSelectAll] {
    display: none !important;
}







.CrafedWithLove {
    font-size: 0.7rem;
}

.SmallText1 {
    font-size: .8rem;
}



.border-top {
    border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    /*line-height: 60px;*/ /* Vertically center the text there */
    background-color:white;
    height: 70px;
}




@media (min-width: 576px) {
    .card-columns {
        column-count: 2;
    }
}

@media (min-width: 768px) {
    .card-columns {
        column-count: 3;
    }
}

@media (min-width: 992px) {
    .card-columns {
        column-count: 4;
    }
}

.input-validation-error, .input-validation-error:focus {
    background-color: #fff0f0;
}

.field-validation-error{font-size:0.8rem;color:red;}








/* -------------------------- BLAZOR ONLY ---------------------------- */


.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}
