/* Project theme. To change it, replace the following hexadecimal code throughout this file. */
.d-colorTema {
    color: #4473c5;
}

/* HTML elements */
h1 {
    background-color: #4473c580;
    color: rgba(0, 0, 0, 0.5);
    font-size: x-large;
    padding: 0.5em;
    text-align: center;
}

h2 {
    background-color: #4473c520;
    color: rgba(0, 0, 0, 0.5);
    font-size: large;
    text-align: center;
}

button {
    background-color: #ffffff;
    border-color: #4473c5;
    border-style: solid;
    border-width: 2px;
    border-radius: 8px;
    font-size: large;
    letter-spacing: 2px;
    color: black;
    cursor: pointer;
    display: inline-block;
    margin-top: 16px;
    margin-right: 16px;
    margin-bottom: 16px;
    margin-left: 0px;
    overflow: hidden;
    padding: 8px 16px;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    white-space: nowrap
}

button:hover, button:focus {
    background-color: #4473c580;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    color: #000000;
}

/* Elements on the main page that are identified by ID. */
#indexBanner {
    background-color: #4473c5;
    z-index: 4;
}

#indexTituloText {
    color: white;
    font-weight: bold;
}

#indexMenuBoton {
    background-color: white;
    margin-top: 2px;
    margin-right: 2px;
    margin-bottom: 2px;
}

#indexMenuRol div:hover {
    background-color: #4473c580;
}

#indexMenuRol .d-menuElegido {
    background-color: #4473c5;
    color: black;
    font-weight: bold;
    letter-spacing: 1px;
}

#indexFormLogin {
    align-self: auto;
    margin-top: 64px;
}

#indexPagesPerRole {
    margin-top: 48px;
}

#indexFotoFullScreen {
    cursor: pointer;
    z-index: 10;
}

#indexFotoFullScreen img {
    height: 100%
}

#indexPleaseWait {
    cursor: wait;
    z-index: 10;
    opacity: 10%;
}

#indexPleaseWait i {
    font-size: 8em;
}

#indexTomarFoto_video {
    max-height: 100%;
    max-width: 100%;
    z-index: 8;
}

#indexTomarFoto {
    background-color: black;
    bottom: 0;
    display: none;
    height: 100%;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 2;
}

#indexTomarFoto_table {
    padding: 4px;
    text-align: center;
    width: 100%;
    z-index: 9;
}

#indexTomarFoto_table td {
    width: 25%;
}

/* Main elements that are identified as classes. */
.w3-modal {
    background-color: transparent;
}

.w3-modal-content {
    border: #4473c5 solid 2px;
    border-radius: 16px;
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.2), 0 4px 20px 0 rgba(0, 0, 0, 0.19);
}

.d-colorBoton {
    background-color: #4473c5;
    color: #ffffff;
}

.d-colorBoton:hover {
    background-color: #4473c580;
    color: #ffffff;
}

.d-thumbnail {
    max-height: 100px;
    max-width: 100px;
}

.d-background {
    background-color: #4473c5;
    color: #ffffff;
}

.d-backgroundOnHover:hover {
    background-color: #4473c580;
    color: white;
}

/* Forms. */
.fa-asterisk {
    color: red;
    font-size: 0.5em;
    vertical-align: super;
}

.d-divPregunta {
    margin-bottom: 2em;
}

input[type=date] {
    max-width: 320px;
}

input[type=datetime-local],
input[type=date] {
    max-width: 320px;
}

input[type="number"] {
    max-width: 320px;
}

input[type="radio"]+label {
    margin-right: 1em;
}

/* Style for elements only when the medium is the printer. */
@media print {

    html,
    body,
    #indexPagesPerRole {
        margin-top: 0;
        margin-left: 0;
        padding: 0;
    }

    body {
        font-size: 0.6em;
    }

    .pageBreak {
        page-break-before: always;
    }

    /* Lo que no se debe imprimir */
    header,
    .w3-modal-content,
    #indexBanner,
    .noPrint {
        display: none;
    }
}

/* Style for elements only when the medium is the screen.. */
@media screen {

    /* Lo que no se debe ver en pantalla */
    .soloPrint {
        display: none;
    }
}