body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
  
    background: rgb(72, 199, 142);
    background:
        -webkit-linear-gradient(rgba(72, 199, 142, 0.6),
            rgba(72, 199, 142, 0.9),
            rgba(72, 199, 142, 0.9),
            rgba(72, 199, 142, 0.6));
    background:
        linear-gradient(rgba(72, 199, 142, 0.6),
            rgba(72, 199, 142, 0.9),
            rgba(72, 199, 142, 0.9),
            rgba(72, 199, 142, 0.6)),
            url('../images/header-main.jpg'); /* Imagen de fondo */
    background-size: cover; /* Para que la imagen cubra todo */
    background-position: center; /* Centrar la imagen */
 
}
.contedormedio {
    width: 100%;
    height: 100%;
	padding: 1%;
    padding-bottom: 3%;
 
}

.imagencarga {
    background-image: url('../images/Cargando.gif');
    width: 20%;
}

.espa {
    margin-right: 5%;
}

.regresar {
    cursor: pointer;
}
.header-main {
   /* overflow: hidden;      
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;*/
    
}
.regre {
    height: 600px;
    overflow-y: scroll;
    padding: 2%;
    transition-duration: 250ms;
    display: none;
}

.formulario {
    width: 40%;
    height: 100%;
    margin-top: 2%;  
    margin-left: auto;
    margin-right: auto;
}

gradient-custom-2 {
    /* fallback for old browsers */
    background: #fccb90;
    /* Chrome 10-25, Safari 5.1-6 */
    background: -webkit-linear-gradient(to right, #ee7724, #d8363a, #dd3675, #b44593);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background: linear-gradient(to right, #ee7724, #d8363a, #dd3675, #b44593);
}

@media (min-width: 768px) {
    .gradient-form {
        height: 100vh !important;
    }
}

@media (min-width: 769px) {
    .gradient-custom-2 {
        border-top-right-radius: .3rem;
        border-bottom-right-radius: .3rem;
    }
}


/*Efecto*/

.modalmask {
    position: fixed;
    font-family: Arial, sans-serif;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    opacity: 0;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    pointer-events: none;
}

.modalmask:target {
    opacity: 1;
    pointer-events: auto;
}


/*Formato de la ventana*/

.modalbox {
    width: 400px;
    position: relative;
    padding: 5px 20px 13px 20px;
    background: #fff;
    border-radius: 3px;
    -webkit-transition: all 500ms ease-in;
    -moz-transition: all 500ms ease-in;
    transition: all 500ms ease-in;
}


/*Movimientos*/

.movedown {
    margin: 0 auto;
}

.rotate {
    margin: 10% auto;
    -webkit-transform: scale(-5, -5);
    transform: scale(-5, -5);
}

.resize {
    margin: 10% auto;
    width: 0;
    height: 0;
}

.modalmask:target .movedown {
    margin: 10% auto;
}

.modalmask:target .rotate {
    transform: rotate(360deg) scale(1, 1);
    -webkit-transform: rotate(360deg) scale(1, 1);
}

.modalmask:target .resize {
    width: 400px;
    height: 200px;
}


/*Boton de cerrar*/

.close {
    background: #606061;
    color: #FFFFFF;
    line-height: 25px;
    position: absolute;
    right: 1px;
    text-align: center;
    top: 1px;
    width: 24px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 3px;
}

.close:hover {
    background: #FAAC58;
    color: #222;
}

@media only screen and (max-width: 600px) {
    .formulario {
        width: 95%;
        padding: 15px;
    }
}

/* Pantallas medianas como tablets */
@media only screen and (min-width: 601px) and (max-width: 1024px) {
    .formulario {
        width: 70%;
        margin-bottom: 5%;
    }
}

/* Pantallas grandes como computadoras */
@media only screen and (min-width: 1025px) {
    .formulario {
        width: 40%;
    }
}