#transparenciaMensaje, #transparenciaMensajeForm {
    background-color: rgba(54, 48, 98, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -1;
    border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
}

#mensajesfondo, #mensajesfondoForm, #mensajesfondoMiembros, #mensajesfondoAvisos, .mensajesfondoCrud {
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: rgba(245, 245, 245, 0.5);
    position: fixed;
    top: 0;
    left: 0;
}

#mensajes, #mensajesForm, #mensajesMiembros, #mesajesBuscar, #mesajesCrear, #cuadroAvisos, .mensajesModificarNosotros, .mensajesModificarDiscipulado, .mensajesModificarContacto {
    position: fixed;
    z-index: 10005;
	visibility: hidden;
    height: 100vh;
    width: 100%;
}

#mensaje, #mensajeForm {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    background-color: #fcfa9e;
    position: relative;
    z-index: 101;
    padding: 14px;
    border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    -webkit-box-shadow: -5px 5px 3px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: -5px 5px 3px 0px rgba(0,0,0,0.75);
    box-shadow: -5px 5px 3px 0px rgba(0,0,0,0.75);
    color: #053B50;
    border-width: 2px;
    border-color: #053B50;
    border-style: solid;
}

#mensajeMiembros, #mensajeBuscar {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    background-color: #fcfa9e;
    position: relative;
    z-index: 101;
    padding: 10px;
    border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    -webkit-box-shadow: -5px 5px 3px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: -5px 5px 3px 0px rgba(0,0,0,0.75);
    box-shadow: -5px 5px 3px 0px rgba(0,0,0,0.75);
    color: #053B50;
    border-width: 2px;
    border-color: #053B50;
    border-style: solid;
}

#mensajeAvisos {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    background-color: #fcfa9e;
    position:fixed;
    z-index: 101;
    padding: 10px;
    border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    -webkit-box-shadow: -5px 5px 3px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: -5px 5px 3px 0px rgba(0,0,0,0.75);
    box-shadow: -5px 5px 3px 0px rgba(0,0,0,0.75);
    color: #053B50;
    border-width: 2px;
    border-color: #053B50;
    border-style: solid;
}

#mensajesGlobo {
    visibility: hidden;
    position: fixed;       
    bottom: 10px;
    right: 10px;
    padding: 10px;
    z-index: 10100;
    background-color: #F99417;
    color: #053B50;
    font-weight: bold;
    /*text-shadow: -1px -1px 0 #053B50, 1px -1px 0 #053B50, -1px 1px 0 #053B50, 1px 1px 0 #053B50;*/
    border-radius: 5px;
    border-width: 1px;
    border-color: #053B50;
    border-style: solid;
    animation: aparecer 0.5s ease-out forwards;
}

@keyframes aparecer {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mensajeCrear, .busqFiltros {
    width: 450px !important;
}

#mensajeForm{
    width: 250px !important;
}

#mensajeForm input {
    padding: 10px;
    display: block;
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
    color: #F5F5F5;
    font-size: 14px;
    width: 80%;
    margin: 0 auto;
    background: #4e7367;
    border: #053B50;
    border-width: 2px;
    border-style: solid;
}

#mensajeForm p{
    text-align: center !important;
}

#mensajeForm input.submit {
    border-width: 2px;
    width: auto;
}

div.tablaCrud2 div input.dosBotones {
    padding: 10px 30px;
    display: block;
    margin: auto;
    text-align: center !important;
    font-size: 17px;
    font-weight: 700;
    color: #F5F5F5;
    opacity: 1;
    border-radius: 20px;
    background-color: #053B50;
    cursor: pointer;
    border-color: #053B50;
}

input.submit, button.submit, #mensajeForm input.submit {
    padding: 10px;
    font-size: 17px;
    font-weight: 700;
    color: hsl(0, 0%, 96%);
    opacity: 1;
    border-radius: 20px;
    background-color: #053B50;
    cursor: pointer;
    border-color: #053B50;
}

input.submit:hover, button.submit:hover, div.tablaCrud2 div input.dosBotones:hover, #mensajeForm input.submit:hover {
    background-color: #F99417;
	color: #053B50;
}

input#modcontrasena{
    width: auto !important;
}

.botonCerrar {
    width: 20px;
    height: 20px;
    position: fixed;
    background-image: url("../imagenes/cerrar.png");
    background-size: cover;
    background-position: center;
    right: 10px;
    top: 10px;
}

.botonCerrar:hover {
    background-image: url("../imagenes/cerrarverde.png");
    background-size: cover;
    background-position: center;
}

.btnMiembros:hover {
    background-image: url("../imagenes/cerrarverde.png") !important;
}

p.mensajeError {
    text-align: center;
}

.grecaptcha-badge {
    visibility: hidden;
}

.recaptcha {
    font-size: x-small;
}

.recaptcha a{
    color: red;
}

@media (max-width: 750px) {
    #mensajeMiembros {
        width: 300px;
    }
}