* {
    -webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */
    font-family: Calibri;
}
main {
    margin: auto;
    padding: 0.5rem;
    text-align: center;
}
.codeChar {
    margin: 4px;
    padding: 2px;
    font-size: 32px;
    width: 40px;
    height: 40px;
    text-align: center;
}
.p-alert {
    width: 100%;
    color: black;
    border: solid 1px darkred;
    background-color: pink;
    padding: 3px;
    text-align: center;
}
.p-ok {
    width: 100%;
    color: black;
    border: solid 1px darkgreen;
    background-color: lightgreen;
    padding: 3px;
    text-align: center;
}

body {
    -webkit-touch-callout: none; /* prevent callout to copy image, etc when tap to hold */
    -webkit-text-size-adjust: none; /* prevent webkit from resizing text to fit */
    -webkit-user-select: text; /* prevent copy paste, to allow, change 'none' to 'text' */
    background-image: url(../../img/background.png);
    background-size: cover;
    font-family: system-ui, -apple-system, -apple-system-font, 'Segoe UI', 'Roboto', sans-serif;
    font-size: 12px;
    height: 100vh;
    margin: 0px;
    padding: 0px;
    /* Padding to avoid the "unsafe" areas behind notches in the screen */
    padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
    width: 100%;
    overflow: hidden;
}

div {
    text-align: left;
}

a {
    text-decoration: none !important;
}

    a:hover {
        text-decoration: none !important;
    }

/* Portrait layout (default) */
.page {
    position: absolute; /* position in the center of the screen */
    left: 0px;
    top: 0px;
    height: calc(100% - 75px); /* text area height */
    width: 100%; /* text area width */
    display: none;
    background-color: transparent;
    overflow-y: auto;
    overflow-x:hidden;
}

.page-header {
    margin-top: 30px;
    padding-left: 10px;
    padding-right: 10px;
}

.sidenav {
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 0; /* Stay at the top */
    left: 0;
    background-color: ghostwhite;
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 40px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
    z-index: 99999;
}

    .sidenav .btnCloseSidenav {
        position: absolute;
        top: 0;
        right: 5px;
    }

.title-general {
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 99999;
    width:100%;
    background-color:white;
    text-align:center;
}

.lblUser {
    text-align: left;
    padding: 0px;
    padding-left: 65px;
    margin: 0px;
}

.btnOpenSidenav {
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 99999;
    display: none;
}

.btnPlain {
    border: solid 0px transparent;
    padding: 0px;
    margin: 5px;
    background-color: white;
    border-radius: 5px;
}

.btnBack {
    padding: 10px;
    padding-top: 15px;
    margin: 0px;
    border-top-right-radius: 35px;
    position: absolute;
    left: 0px;
    bottom: 0px;
    z-index: 99999;
    display: none;
}

.btnClose {
    padding: 10px;
    padding-top: 15px;
    margin: 0px;
    border-top-left-radius: 35px;
    position: absolute;
    right: 0px;
    bottom: 0px;
    z-index: 99999;
    display:none;
}

.imgUser {
    margin: 10px;
    height:35px;
    padding: 0px;
    position: absolute;
    right: 0px;
    top: 0px;
    z-index: 99999;
}

.message {
    margin-top: 10px;
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 5px;
    padding-right: 5px;
    background-color: white;
}

.container-picture {
    height: calc(100% - 210px);
    border: dotted 3px silver;
    background-color: white;
    margin-top: 40px;
    margin-left: 10px;
    margin-right: 10px;
    overflow: auto;
}

.float-down-right {
    position: absolute;
    right: 50px;
    bottom: 10px;
}

.filtersControls {
    background-color: ghostwhite;
    border: solid 1px silver;
    font-size: 10px;
    position: absolute;
    right: 0px;
    top: 16px;
    z-index: 99999;
    overflow-y: hidden;
    overflow-x: hidden;
    display: none;
    padding-left: 3px;
    width: 45%;
}

.area-datos {
    margin-top: 50px;
    padding-left: 50px;
    padding-right: 50px;
    width: 80%;
}

.magenta {
    background-color: rgb(235, 0, 139);
    color: whitesmoke;
}

.black {
    background-color: whitesmoke;
    color: black;
}

.blink_me {
    animation: blinker 1s linear infinite;
}

.long-text {
    /* These are technically the same, but use both */
    overflow-wrap: break-word;
    word-wrap: break-word;
    -ms-word-break: break-all;
    /* This is the dangerous one in WebKit, as it breaks things wherever */
    word-break: break-all;
    /* Instead use this non-standard one: */
    word-break: break-word;
    /* Adds a hyphen where the word breaks, if supported (No Blink) */
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.label-black {
    vertical-align: top;
    padding: 5px;
    color: black;
    font-weight: bold;
    background-color: #ddd;
}

.label-darkred {
    vertical-align: top;
    padding: 5px;
    color: darkred;
    background-color: #ddd;
}

.filter-option-inner-inner {
    color: black;
}

.drop_zone {
    border: 5px dotted silver;
    background-color: white;
    width: 100%;
    height: 50px;
}

.drop_zone_over {
    border: 5px dotted grey;
    background-color: antiquewhite;
}

.boxedfield {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: solid 1px transparent;
    border-radius: 5px;
    -webkit-box-shadow: 1px 1px 2px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 1px 1px 2px 0px rgba(0,0,0,0.75);
    box-shadow: 1px 1px 2px 0px rgba(0,0,0,0.75);
}

.form-radio {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: inline-block;
    position: relative;
    background-color: #f1f1f1;
    color: #666;
    top: 10px;
    height: 30px;
    width: 30px;
    border: 1px solid #666;
    border-radius: 50px;
    cursor: pointer;
    margin-right: 7px;
    outline: none;
}

    .form-radio:checked::before {
        position: relative;
        font: 13px/1 'Open Sans', sans-serif;
        left: 10px;
        top: 2px;
        content: 'X';
    }

    .form-radio:hover {
        background-color: #f7f7f7;
    }

    .form-radio:checked {
        background-color: #f1f1f1;
    }

.comment {
    width: 400px;
    background-color: #f0f0f0;
    margin: 10px;
}

a.morelink {
    text-decoration: none;
    outline: none;
}

.morecontent span {
    display: none;
}

.h_iframe iframe {
    width: 100%;
    height: 100%;
}

.h_iframe {
    height: 100%;
    width: 100%;
}


/* Landscape layout (with min-width) */
@media screen and (min-aspect-ratio: 1/1) and (min-width:400px) {
    .app-intro {
        background-position:left center;
        padding:75px 0px 75px 170px;  /* padding-top + padding-bottom + text area = image height */
        margin:-90px 0px 0px -198px;  /* offset vertical: half of image height */
                                      /* offset horizontal: half of image width and text area width */
    }
}

@keyframes fade {
    from { opacity: 1.0; }
    50% { opacity: 0.4; }
    to { opacity: 1.0; }
}
@keyframes blinker {
    50% {
        opacity: 0;
    }
}
@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }
}

.blink {
    animation: fade 3000ms infinite;
    -webkit-animation: fade 3000ms infinite;
}
