/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.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);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: calc(60px + 1rem);
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

/* Custom
-------------------------------------------------- */

img {
    object-fit: contain;
}

.fas {
    color: dimgray
}

.datepicker {
    /*form control padding*/
    padding: .375rem .75rem
}

.bg-dentalfab {
    background-color: #FE6B0C
}

.required::after {
    /* add a red * after label */
    content: " *";
    font-weight: bold;
    color: red;
}

:enabled .spinner-border {
    display: none;
}

.navbar .logo {
    display: block;
    height: 2rem;
}

#okp-publicaciones .card {
    max-height: 70vh;
}

#okp-publicaciones .card-body {
    overflow: auto;
}

#okp-publicaciones img {
    width: 100%;
}

.okp-tratamiento-container .card {
    border: 2px solid #000;
}

.okp-tratamiento-container .card-header {
    background-color: #fff;
}

.okp-react-select > div, .okp-react-select > div:hover {
    border-radius: unset;
    border-color: unset;
}

.okp-listado-borrado {
    background-color: #fcc;
}

.okp-img-thumbnail {
    object-fit: contain;
    max-width: 100%;
    display: inline-block;
}

.okp-img-recorte-container img {
    display: block;
    max-width: 100%;
}

@media (max-width: 991.98px) {
    #okp-container-alineador {
        max-height: 80vh;
        overflow: auto;
    }

    #okp-tabla-alineador tbody {
        display: flex;
        flex-direction: row;
    }

    #okp-tabla-alineador .row {
        flex-direction: column;
        position: relative;
    }

    .okp-alineador-celda {
        display: block;
        width: 200px;
        height: 200px;
        flex: auto;
        text-align: center;
    }

    .okp-alineador-celda:first-child {
        height: 100px;
        position: sticky;
        top: 0;
        background: #fff;
    }

    .okp-alineador-celda:last-child {
        height: 100px;
    }
}

.okp-container-miniatura {
    position: relative;
    --btn-flotante-opacity: 0;
}

.okp-container-miniatura:hover {
    --btn-flotante-opacity: 100;
}

    .okp-container-miniatura .btn-flotante {
        position: absolute;
        top: 0;
        right: 0;
        opacity: var(--btn-flotante-opacity);
        transition: all 0.5s;
    }

/* Para el linter 
-------------------------------------------------- */
.okp-borrado-de-listado {
}

.okp-form-listado {
}
