﻿@media (orientation: landscape) {
    #miModalCamara {
        height: auto;
        width: auto;
        max-width: 100%;
    }
    #divSacarFoto {
        bottom: 0%;
    }
    #gifFoto {
        bottom: 30%;
    }

    #fotoOk {
        bottom: 30%;
    }
}

@media (orientation: portrait) {
    #miModalCamara {
        width: 90%;
        height: auto;
    }
    #divSacarFoto {
        bottom:0%;
    }
    #gifFoto {
        bottom: 10%;
    }
    #fotoOk {
        bottom: 10%;
    }
}

#miModalCamara {
    position: fixed;
    margin: 0px !important;
    width: 100% !important;
}

#controlesCamara{
    position:fixed;
    top:1%;
}

@media only screen and (max-width: 768px) {
    #camera-stream {
        min-width: 100%;
    }
}


#btnHorizontal {
    display: none;
    float: right;
}

.btnVerticales {
    width: 50%;
    display: block;
    padding: 0.2em;
    margin: 1em;
}

    .btnVerticales button {
        margin-top: 0.5em;
    }

.body-camara {
    margin: 0;
    padding: 0;
}

.botoneraOculta {
    display: none;
    float: left;
}

#foto-container {
    margin: 2em auto 0;
    padding: 2em;
    display: none;
}

.fondo-oscuro {
    background-color: rgba(0,0,0,0.3) !important;
    color: white !important;
    border: 1px solid white;
}

#sacarFoto {
    /*
     border-radius: 50%;
     position: absolute;
     top: 90%;
     left: 50%;
     transform: translate(-50%, -50%);
     -ms-transform: translate(-50%, -50%);
     border: none;
     z-index: 101;
     font-size:200%;
    position: absolute;
    margin-top: 4em;*/
    background-color: transparent;
    z-index: 101;
    width: 100%;
    height: 4em;
}

#divSacarFoto {
    position: fixed;
    width: 100%;
    padding: 0;
    margin:auto;
}

#gifFoto {
    display: none;
    width: 2em;
    height: 2em;
    position: absolute;
    left: 90%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    border: none;
    z-index: 101;
}

#fotoOk {
    display: none;
    width: 2em;
    height: 2em;
    position: absolute;
    left: 92%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    border: none;
    z-index: 101;
}

.mensajesCamara {
    z-index: 102;
    position: absolute;
    width: 90%;
    margin-left: 5%;
}

#opcionesCamara {
    /*position: absolute;
    top: 2%;*/
    z-index: 101;
    background-color: transparent;
    width: 2em;
}

.flash {
    /*position: absolute;
    top: 6%;
    margin-top:2em;*/
    z-index: 101;
    background-color: transparent;
    width: 2em;
}

#cambiarCamara {
    /*position: absolute;
    top: 6%;
    margin-top: 4em;*/
    z-index: 101;
    background-color: transparent;
    width: 2em;
}

#popupCerrarCamara {
    position: absolute;
    top: 1%;
    right: 3%;
    z-index: 101;
    opacity:1;
    border-color: black !important;
}

.camVertical {
    width: 100%;
    height: auto;
}

.camHorizontal {
    max-height: 100%;
    width: 100%;
    max-width: 100%;
    margin: auto;
    height: 100%;
}

#canvasImg {
    width: 90%;
    height: 90%;
    margin: auto;
}

.botonesOcultos {
    float: left;
}

.divNombreFoto {
    float: right;
}