﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');


@font-face {
    font-family: "Ailerons-Regular";
    src: url('fonts/Ailerons-Regular.otf') format('opentype');
}

html, body {
    font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Para SAFARI iOS*/
/*
html {
    position: fixed;
    height: 100%;
    overflow: hidden;
}

body {
    width: 100vw;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}
*/
/**/

h1, h2, h3, h4 {
    font-family: 'Oswald',sans-serif;
    color: #40516d
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #fff;
    border-color: #fff;
}

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%); */
    background-image: linear-gradient(180deg, #40516d -20%, #00173d 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;
}

.halfOpened{
    width: 250px;
    float: left;
}

.alertRedondo{
     border-radius: 10px;
     margin: 2rem;
}

/* OVERRIDES DE MATERIAL DESIGN BLAZORIZE */

.alert-danger {
    background-color: #ffcdd2;
    color: #973E3A;
}

.alert-success {
    color: #407648;
    background-color: #c8e6c9;
}

.alert-info {
    color: #40516d;
    /*background-color: #CCF1F6;*/
}

.btn-info {
    background-color: #40516d;
}

.btn-info:active {
    background-color: #40516d;
}

.btn-outline-info, .btn-outline-info:active, .btn-outline-info:focus, .btn-outline-info:hover {
    color: #40516d;
}

.modal-footer .btn-info, .modal-footer .btn-info:active, .modal-footer .btn-info:focus, .modal-footer .btn-info:hover {
    color: #40516d;
}

.lbl_overText {
    color: #40516d;
}

/* */
.close {
    font-family: 'Oswald';
}

.xAlertCerrar {
    font-size: 40px;
}

.paddingLeftRight5px {
    padding-left: 5px !important;
    padding-right: 5px !important;
}

.lookDeTextArea{
    width:100%;
    border: 1px solid black;
    font-size: 16px;
}

textarea:focus {
    outline: none !important;
    border: 2px solid #40516d;
}

.bordeRedondo {
    border-radius:10px;    
}

.colorAzulFondo {
    background-color: cornflowerblue;
}

.colorCrimsonFondo {
    background-color: crimson;
}

.colorGrisFondo {
    background-color: grey;
}

.colorBlancoTexto {
    color: white;
}

.margenesCostados{
    margin-left:15px;
    margin-right:15px;
}

.resaltado {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.333334;
    font-family: 'Oswald',sans-serif;
}

.visible {
    /*visibility: visible;*/
    display: block;
}

.noVisible {
    /*visibility: hidden;*/
    display: none;
}

.logoStore {
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}

.cardImage{
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

#linksStore {
    text-align: center;
}

@media (max-width: 1100px){

    .maxTamLineaDescTabla {
        max-width: 150px;
        overflow: hidden;
        /*font-size:14px !important;*/
    }

    .maxTamLineaNomApe {
        max-width: 120px;
        overflow: hidden;
        /*font-size: 14px !important;*/
    }
}

@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;
    }

    .sidebar {
        float: none;
    }


    #viewPort {
        overflow: auto;
    }

    .button-text {
        display: none;
    }

    #logo-text {
        font-size: 25px;
        margin-top: 18px;
        margin-left: 5px;
    }

    #logo-img {
        height: 40px;
        width: 40px;
        margin-top: -12px;
    }

    #glifo-login {
        font-size: 1.7em;
    }

    .boton-login-ingresar {
        padding-left: 0px;
        padding-right: 0px;
    }

    .boton-login-olvidaste {
        padding-left: 0px;
        padding-right: 0px;
        margin-left: 5px;
        font-size: 10px;
    }

    .showIfFull {
        display: none;
    }

    .alturaLogo {
        height: 3.5rem;
    }

    .alturaRestoSinLogo {
        height: calc(100vh - 3.5rem - 5px);
        margin-top: 5px;
    }

    .col-3 {
        flex: auto;
        max-width: 100%;
    }

    .col-9 {
        flex: auto;
        max-width: 100%
    }

    .col-6 {
        flex: auto;
        max-width: 100%
    }

    .multilineMobile {
        white-space: normal;
        width: 100px;
        line-height: 1.5;
    }

    .maxTamDescDeleteMobile {
        max-width: 150px;
        overflow: hidden;
        padding-left: 5px;
        padding-right: 0px;
    }

    .margenModal {
        margin-top: 20px
    }

    .margenYBordesSidebar {
     
    }

    .maxTamLineaFecha {
        max-width: 100px;
        overflow: hidden;
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        position: sticky;
        height: calc(100vh - 6rem);
        top: 0;
        float: left;
    }

    .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;
    }

    #viewPort {
        overflow: hidden;
    }

    #logo-text {
        font-size: 40px;
        margin-top: 5px;
        margin-left: 10px;
    }

    #logo-img {
        height: 80px;
        width: 80px;
        margin-top: 15px;
    }

    .showIfSmall {
        display: none;
    }

    .alturaLogo {
        height: 6rem;
    }

    .alturaRestoSinLogo {
        height: calc(100vh - 6rem);
        margin-top: 0px;
        overflow-y: auto;
    }

    .margenModal {
        margin-top: 100px
    }

    .margenYBordesSidebar {
        margin-left: 15px;
        border-radius: 7px;
    }

    .maxTamLineaFecha {
        max-width: 150px;
        overflow: hidden;
    }
}

@supports (-webkit-overflow-scrolling: touch) {
    /* CSS specific to iOS devices */
    .heightViewPort {
        height: calc(var(--vh, 1vh) * 100)
    }
}

@supports not (-webkit-overflow-scrolling: touch) {
    /* CSS for other than iOS devices */
    .heightViewPort {
        height: 100vh;
    }
}
    
