@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
}

    .main .top-row {
        background-color: #f7f7f7;
        border-bottom: 1px solid #d6d5d5;
        justify-content: flex-end;
    }

        .main .top-row > a, .main .top-row .btn-link {
            white-space: nowrap;
            margin-left: 1.5rem;
        }

.main .top-row a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

    .sidebar .top-row {
        background-color: rgba(0,0,0,0.4);
    }

    .sidebar .navbar-brand {
        font-size: 1.1rem;
    }

    .sidebar .oi {
        width: 2rem;
        font-size: 1.1rem;
        vertical-align: text-top;
        top: -2px;
    }

    .sidebar .nav-item {
        font-size: 0.9rem;
        padding-bottom: 0.5rem;
    }

        .sidebar .nav-item:first-of-type {
            padding-top: 1rem;
        }

        .sidebar .nav-item:last-of-type {
            padding-bottom: 1rem;
        }

        .sidebar .nav-item a {
            color: #d7d7d7;
            border-radius: 4px;
            height: 3rem;
            display: flex;
            align-items: center;
            line-height: 3rem;
        }

            .sidebar .nav-item a.active {
                background-color: rgba(255,255,255,0.25);
                color: white;
            }

            .sidebar .nav-item a:hover {
                background-color: rgba(255,255,255,0.1);
                color: white;
            }

.content {
    padding-top: 1.1rem;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.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;
    }
}
/*.spinload {
    --sk-size: 198px;
    --sk-color: #003366;
}
.img-l {
    background-image: url(https://www.bing.com/images/search?view=detailV2&ccid=XYZ4NTfK&id=347B1FE58F72936D0CB112D59F7D6B20B8C34D4C&thid=OIP.XYZ4NTfKsDxjwbr2angl_gHaEt&mediaurl=http%3a%2f%2fnews.bizmeet.com.br%2fwp-content%2fuploads%2f2018%2f07%2fgoogle-cursos-gratuitos.jpg&exph=1909&expw=3000&q=image+google&simid=608021490652940570&ck=3505360AEF021BCEA54DE8FB6A846A3E&selectedindex=0&form=IRPRST&ajaxhist=0&first=1&scenario=ImageBasicHover) !important;
    width: 50px;
    height: 50px;
    background-repeat: no-repeat;
}*/


.material-icons {
    line-height: unset;
}
 
@media (max-width:575px) {
    .ocultar_on_mobile {
        display: none !important;
    }
    .mostrar_on_mobile {
        display: unset !important;
    }
    .break_on_mobile {
        display:block !important;
        width:100%;
    }
}


 


.display_table {
   display:table !important;
   width:100%;
}
    .display_table div {
        display: table-cell !important;
        vertical-align: middle !important;
        text-align: center !important;
    }

.container {
    padding-top: 5px;
}

/* ------------ ESTILOS del CARD de MENU ------------------*/

.card {
    /*max-width: 200px;*/
    /*max-height:300px;*/
    /*background-color: dodgerblue;*/
    text-align: center;
   
    
    /*padding: 1rem;*/
    padding-top: 10px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
}

.card-body {
    padding: 1rem !important;
}


.card img {
    border-radius: 5px 5px 0 0;
    width:105px;
    height:105px;
}



 
.card-title    {
    text-align: center !important;
    font-size: 14px !important;
}

.card-text {
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.card:hover {
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

.btn-indecrement {
    padding-left: 5px;
    padding-right: 5px;
}

.card-precio {
    font-size: 15px;
    font-weight: bold;
    border-top: 3px solid #fff;
    border-bottom: 3px solid #fff;
}
.card-precio-cancelado {
    font-size: 15px;
    font-weight: bold;
    text-decoration: line-through;
    border-top: 3px solid #fff;
    border-bottom: 3px solid #fff;
}
.card-precio-oferta {
    font-size: 15px;
    font-weight: bold;      
    color: orangered;
    font-weight: bold;
    box-shadow: 0px 2px 5px #888888;
    background: gold;
    border-top: 3px solid gold;
    border-bottom: 3px solid gold;            
}
/* ------------ FIN ESTILOS del CARD de MENU ------------------*/
.hide-text {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
}

.navbar-brand {
    font-size:1rem;
}



.footer_notfixed {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    /*padding: 1rem;*/
    padding: 3px 5px 3px 5px;
    background-color: transparent;
    text-align: center;
}

.main-footer {
    position: -webkit-sticky;
    position: sticky;
    bottom: 0;
}

.div_as_card {
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

.loading_img {
    background: transparent url(/assets/images/load.gif) no-repeat scroll center center;
    background-size: 30% 30%;;
}

/*para alineado vertical centrado, el contenedor debe tener esta clase*/
.div-wrapper-middle {
    display: flex;
    align-items: center;
    justify-content: center;
    height:100%;
}



/* ------------- poner div uno a lado de otro ------------------*/
.wrapper-sidexside {
    width: auto;
    height: auto;
    box-sizing: border-box;
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: repeat(12, 1fr);
}

.left-sidexside {
    text-align: right;
    grid-column: 1/6;
}

.right-sidexside {
    text-align: left;
    grid-column: 6/12;
}

/*---------------------------*/




/*-------------- CUSTOM SWITCHES -----------------*/

/* for sm */

.custom-switch.custom-switch-sm .custom-control-label {
    padding-left: 1rem;
    padding-bottom: 1rem;
}

    .custom-switch.custom-switch-sm .custom-control-label::before {
        height: 1rem;
        width: calc(1rem + 0.75rem);
        border-radius: 2rem;
    }

    .custom-switch.custom-switch-sm .custom-control-label::after {
        width: calc(1rem - 4px);
        height: calc(1rem - 4px);
        border-radius: calc(1rem - (1rem / 2));
    }

.custom-switch.custom-switch-sm .custom-control-input:checked ~ .custom-control-label::after {
    transform: translateX(calc(1rem - 0.25rem));
}

/* for md */

.custom-switch.custom-switch-md .custom-control-label {
    padding-left: 2rem;
    padding-bottom: 1.5rem;
}

    .custom-switch.custom-switch-md .custom-control-label::before {
        height: 1.5rem;
        width: calc(2rem + 0.75rem);
        border-radius: 3rem;
    }

    .custom-switch.custom-switch-md .custom-control-label::after {
        width: calc(1.5rem - 4px);
        height: calc(1.5rem - 4px);
        border-radius: calc(2rem - (1.5rem / 2));
    }

.custom-switch.custom-switch-md .custom-control-input:checked ~ .custom-control-label::after {
    transform: translateX(calc(1.5rem - 0.25rem));
}

/* for lg */

.custom-switch.custom-switch-lg .custom-control-label {
    padding-left: 3rem;
    padding-bottom: 2rem;
}

    .custom-switch.custom-switch-lg .custom-control-label::before {
        height: 2rem;
        width: calc(3rem + 0.75rem);
        border-radius: 4rem;
    }

    .custom-switch.custom-switch-lg .custom-control-label::after {
        width: calc(2rem - 4px);
        height: calc(2rem - 4px);
        border-radius: calc(3rem - (2rem / 2));
    }

.custom-switch.custom-switch-lg .custom-control-input:checked ~ .custom-control-label::after {
    transform: translateX(calc(2rem - 0.25rem));
}

/* for xl */

.custom-switch.custom-switch-xl .custom-control-label {
    padding-left: 4rem;
    padding-bottom: 2.5rem;
}

    .custom-switch.custom-switch-xl .custom-control-label::before {
        height: 2.5rem;
        width: calc(4rem + 0.75rem);
        border-radius: 5rem;
    }

    .custom-switch.custom-switch-xl .custom-control-label::after {
        width: calc(2.5rem - 4px);
        height: calc(2.5rem - 4px);
        border-radius: calc(4rem - (2.5rem / 2));
    }

.custom-switch.custom-switch-xl .custom-control-input:checked ~ .custom-control-label::after {
    transform: translateX(calc(2.5rem - 0.25rem));
}

/*-------------- FIN CUSTOM SWITCHES -----------------*/


.sticky-footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: aliceblue;
    color: white;
    text-align: center;
}

 

/*----separad-*/
hr.separad {
    height: 30px;
    border-style: solid;
    border-color: #dbdbdb;
    border-width: 2px 0 0 0;
    text-align: center;
}

    hr.separad:before {
        display: block;
        content: "";
        height: 30px;
        margin-top: -31px;
        border-style: solid;
        border-color: #dbdbdb;
        border-width: 0 0 1px 0;
    }

    hr.separad:after {
        content: 'O';
        color: #8e8e8e;
        margin: 0 18px;
        text-transform: uppercase;
        display: inline-block;
        position: relative;
        top: -0.7em;
        font-size: 1.5em;
        padding: 0 0.25em;
        background: white;
    }

hr.separad2 {
    height: 30px;
    border-style: solid;
    border-color: #dbdbdb;
    border-width: 2px 0 0 0;
    text-align: center;
}

    hr.separad2:before {
        display: block;
        content: "";
        height: 30px;
        margin-top: -31px;
        border-style: solid;
        border-color: #dbdbdb;
        border-width: 0 0 1px 0;
    }

    hr.separad2:after {
        content: '';
        color: #8e8e8e;
        margin: 0 18px;
        text-transform: uppercase;
        display: inline-block;
        position: relative;
        top: -0.7em;
        font-size: 1.5em;
        padding: 0 0.25em;
        background: white;
    }
/*----*/


/**----------input busqueda con icono de limpiar---------------*/




.clearable-input {
    position: relative;
    display: inline-block;
}

    .clearable-input > input {
        padding-right: 1.4em;
    }

    .clearable-input:hover > [data-clear-input] {
        display: block;
    }

    .clearable-input > [data-clear-input] {
        display: none;
        position: absolute;
        top: 0;
        right: 0;
        font-weight: bold;
        font-size: 1.4em;
        padding: 0 0.2em;
        cursor: pointer;
    }

    .clearable-input > input::-ms-clear {
        display: none;
    }

/**----------/input busqueda con icono de limpiar---------------*/


.inputselect-elementos-centrado {
    text-align: center;
    text-align-last: center;
    -moz-text-align-last: center;
}





/*======================== POPOVER ===================================**/



.popover {
    display: flex;
}

.container-popover {
    position: relative;    
    cursor: pointer;    
    transition: 0.2s;
}

 
.contentpopover {
    position: absolute;
    bottom: 75px;
    padding: 20px;
    min-width: 400px;
    background-color: #f9f9f9;
    /* border: 1px solid #ccc;
        border-radius: 10px;*/
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: 0.5s;
    z-index: 1000;   
    box-shadow: 0 2.8px 2.2px rgba(0, 0, 0, 0.034), 0 6.7px 5.3px rgba(0, 0, 0, 0.048), 0 12.5px 10px rgba(0, 0, 0, 0.06), 0 22.3px 17.9px rgba(0, 0, 0, 0.072), 0 41.8px 33.4px rgba(0, 0, 0, 0.086), 0 100px 80px rgba(0, 0, 0, 0.12)
}

    .contentpopover .header {
        display: flex;
        align-items: center;
    }

        .contentpopover .header img {
            grid-column: 1/2;
            width: 80px;
            height: 80px;
            border-radius: 50%;
            object-fit: cover;
        }

        .contentpopover .header .infos {
            margin-left: 1em;
        }

            .contentpopover .header .infos .name {
                font-size: 1.25em;
                color: #333;
                letter-spacing: 1px;
                font-size: 600;
            }

            .contentpopover .header .infos .title {
                font-size: 0.9em;
                color: #969696;
                font-weight: 500;
            }

    .contentpopover .body {
        padding: 1em;
    }

        .contentpopover .body p {
            font-size: 0.95em;
            color: #272727;
        }

.popover:hover .contentpopover {
    visibility: visible;
    opacity: 1;
    transform: translateX(-15%) translateY(0px);
}



/*======================= FIN POPOVER ================================*/


/*======================== TABLA BASICA =============================*/

table.basica {
    /*font-family: Arial, Helvetica, sans-serif;*/
    border: 1px solid #FFFFFF;
    width: 100%;
    height: auto;
    text-align: center;
    border-collapse: collapse;
}

    table.basica td, table.basica th {
        padding: 1px 1px;
    }

    table.basica tbody td {
        font-size: 13px;
        font-weight:bold;
    }

    table.basica tr:nth-child(even) {
        background: #D0E4F5;
    }

    table.basica thead {
        background: #0B6FA4;
    }

        table.basica thead th {
            font-weight: bolder;
            color: #FFFFFF;
            text-align: center;
        }

    table.basica tfoot td {
        font-size: 14px;
    }

/*======================== /TABLA BASICA =============================*/



.oculto {
    display: none !important;
}

.div_center_screen {
    position: absolute;
    top: 50%;
    left: 25%;
    margin-top: -50px;    
    width: 50%;    
}

.deshabilitado {
    pointer-events: none;
    opacity:0.3;
}



/*====== animación fadeout========================*/


.animated {
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@-webkit-keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.fadeOut {
    -webkit-animation-name: fadeOut;
    animation-name: fadeOut;
}

/*=====================================================*/