@media (max-width: 575.98px) {
    body {
        font-size: 0.7rem;
    }

    #renderCanvasFirma {
        width: 95vw;
        height: 48vw;
        padding-left: 0;
        padding-right: 0;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

}

@media (min-width: 575.98px) {
    #renderCanvasFirma {
        width: 65vw;
        height: 38vw;
        padding-left: 0;
        padding-right: 0;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

}

@media (max-width: 767.98px) {
    body {
        font-size: 0.8rem;
    }
}

html, body {
    position: relative;

}

main {

}

.contenido {

    padding-top: 5px;
}

.seccion {
    padding-top: 40px;
    vertical-align: top;

}

.pie {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    text-align: center;
    padding: 2px;
    font-size: 0.7em;
}

#page {
    position: relative;
}

.page-content {
    height: 100vh;
    overflow: auto;
}

label {
    font-size: 0.9rem;
}

#foto {
    width: 450px;
    display: none;
}

#logo-tesla {
    width: 100px;
}

#logo-tesla-nav {
    width: 80px;
}

#sin-conexion {
    display: none;
}

#contenedorCanvas {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    padding-bottom: 60px;
    background-color: white;
    width: 100%;
    height: auto;
}

#renderCanvas {
    height: 100%;
}

#areaDibujo {
    background-image: url(../images/grid.jpg);
    width: 100%;
    height: 100%;
}

#contenedorCanvasFirma {
    background-color: white;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    margin-bottom: 60px;
    padding: 10px;
    width: 100%;
    height: auto;
}


#areaFirma {
    width: 100%;
    height: 100%;
    border: 1px solid #ececec;
    margin: auto;
}


#contenedorCanvasFirmaEO {
    background-color: white;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    margin-bottom: 60px;
    padding: 10px;
    width: 100%;
    height: auto;
}

#renderCanvasFirmaEO {
    width: 95vw;
    height: 48vw;
    padding: auto;
}

#areaFirmaEO {
    width: 100%;
    height: 100%;
    border: 1px solid #ececec;
}

#contenedorCanvasFirmaEI {
    background-color: white;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    margin-bottom: 60px;
    padding: 10px;
    width: 100%;
    height: auto;
}

#renderCanvasFirmaEI {
    width: 95vw;
    height: 48vw;
    padding: auto;
}

#areaFirmaEI {
    width: 100%;
    height: 100%;
    border: 1px solid #ececec;
}

.fotoGal {
    font-size: 0.9rem;
}

.overFoto {
    position: absolute;
    top: 4px;
    right: 4px;
}

.fotoGalText {
    display: inline-block;
    height: 100%;
    padding: 4px;
}

input[type="radio"], input[type="checkbox"] {
    width: 1.5rem;
    height: 1.5rem;
    padding: 10px;
}

.form-check-label {
    padding-left: 10px;
}

.form-check {
    line-height: 1.5rem;
    padding: 10px;
}


.row.equal-height {
    display: flex;
    flex-wrap: wrap;
}

    .row.equal-height > [class*='col-'] {
        display: flex;
        flex-direction: column;
    }

    .row.equal-height.row:after,
    .row.equal-height.row:before {
        display: flex;
    }

    .row.equal-height > [class*='col-'] > .thumbnail,
    .row.equal-height > [class*='col-'] > .thumbnail > .caption {
        display: flex;
        flex: 1 0 auto;
        flex-direction: column;
        font-size: 0.8rem;
        text-align: center;
    }

        .row.equal-height > [class*='col-'] > .thumbnail > .caption > .flex-text {
            flex-grow: 1;
        }

        .row.equal-height > [class*='col-'] > .thumbnail > a > img {
            width: 100%;
            /*height: 150px; */ /* force image's height */
            /* force image fit inside it's "box" */
            -webkit-object-fit: cover;
            -moz-object-fit: cover;
            -ms-object-fit: cover;
            -o-object-fit: cover;
            object-fit: cover;
        }

.footer {
    position: absolute;
    bottom: 0;
    height: 24px;
    padding: 3px;
}

.form-group, .form-check {
    margin-bottom: 0!important;
    padding-bottom: 6px;
}

.fc h2 {
    font-size: 1.1rem;
}

.btn-cerrar {
    width: 40px;
    position: absolute;
    bottom: 10px;
    right: 10px;
    transform: rotate(180deg);
    z-index: 100;
    display: none;
}

.finalizandoTrabajo {
    position: absolute;
    background-color: white;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: none;
}

.nuevaFoto { margin-bottom: 10px;}

.divCargando {
    position: fixed; /* Sit on top of the page content */
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255,255,255,0.95); /* Black background with opacity */
    z-index: 100; /* Specify a stack order in case you're using a different order for other elements */
    display: flex;
    justify-content: center;
    align-items: center;
}

.fondo-activada-ubicacion {
    background-color: #f2d2c8!important;
}