@charset "UTF-8";
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html, body {
    margin: 0;
    padding: 0;
}
header{
    border: 1px solid green;
}


header .menu ul {
    display: flex;
    justify-content: flex-end;
    padding: 0;
    margin: 0;
}

header .menu ul li {
    display: block;
    list-style: none;
    padding: 0;
}

header .menu ul li a {
    display: block;
    text-decoration: none;
}

header .menu ul li a.activo {
    background: #0057a6;
    color: white;
}

.caja1 {
    display: flex;
    justify-content: center;
    border:1px solid red;
}
.caja-contenido{
    border: 1px solid blue;
    width: 50%;
}
.caja-form{
    border: 1px solid pink;
    width: 50%;
}

footer{
    border: 1px solid green;
}


.caja1 .caja-form .caja-lila input,
.caja1 .caja-form .caja-lila textarea {
    width: 100%;
    background-color: gainsboro;
}

.caja1 .caja-form .caja-lila textarea {
    min-height: 86px;
}

.caja1 .caja-form .caja-lila .nota_file {
    padding: 5px 0;
    text-align: left;
}

/*------------------------------------------------------------*/
.incorrecto {
    display: none;
    font-size: 0.7em;
    color: red;
}

.fail, .check > label.fail:before, #label-file.fail {
    border: 1px solid red;
    background-color: antiquewhite;
    transition: all 0.5s;
}

label.fail {
    border: 0;
    background-color: transparent;
}

/*-------------------fin test-----------------------------------------*/
input#file {
    padding: 10px;
    line-height: normal;
}

.inputfile + label {
    font-family: Arial, SansSerif;
    width: 100%;
    background-color: gainsboro;
    margin: 0 0px 0;
    text-transform: capitalize;
    padding: 0 12px;
    font-size: 0.9em;
    color: #888888;
    line-height: 1.8em;
    display: inline-block;
    text-align: left;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.inputfile:focus + label,
.inputfile + label:hover {
    background-color: #bbbbbb;
}

.inputfile + label {
    cursor: pointer;
    /* "hand" cursor */
}

.inputfile:focus + label {
    outline: 1px dotted #000;
    outline: -webkit-focus-ring-color auto 5px;
}

/*------------------*/
/*-----check----*/
.check > input {
    display: none;
}

.check > label {
    position: relative;
    cursor: pointer;
    padding-left: 30px;
    display: flex;
    margin: 0;
    display: block;
    position: relative;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 0.7em;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-align: left;
    line-height: 1.8em;
    color: white;
    display: block;
    cursor: pointer;
}

.check > label a {
    font-size: 1em !important;
}

/*---caja checkbox--*/
.check > label:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 1.8em;
    width: 1.8em;
    background-color: #eeeeee;
}

.check > .error + label:before {
    background: #d2bcbc !important;
    border: 1px solid #e31d2f;
}

.check:hover > label:before {
    background-color: #cccccc;
}

.check input:checked ~ label:before {
    background-color: #0057a6;
}

/*-----check checkbox-----*/
input[name=acepto1]:checked + label[for=acepto1]:after,
input[name=acepto2]:checked + label[for=acepto2]:after {
    content: "";
    display: block;
    position: absolute;
    left: 0.5em;
    top: 0.2em;
    width: 0.3em;
    height: 0.9em;
    border: solid white;
    border-width: 0 0.3em 0.3em 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

#submit {
    margin-top: 30px;
    font-size: 1.1em;
    width: auto;
    padding: 0 50px;
}

#mensaje {
    display: none;
}

/*-----------------------------------*/


/*---------------------------------------loading spinner------------*/
.loading-spinner {
    -webkit-animation-duration: 0.75s;
    -moz-animation-duration: 0.75s;
    animation-duration: 0.75s;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-name: rotate-forever;
    -moz-animation-name: rotate-forever;
    animation-name: rotate-forever;
    -webkit-animation-timing-function: linear;
    -moz-animation-timing-function: linear;
    animation-timing-function: linear;
    height: 50px;
    width: 50px;
    border: 10px solid #ffffff;
    border-right-color: transparent;
    border-radius: 50%;
    display: none;
    margin: auto;
}

#mensaje .loading-spinner {
    display: none;
    margin: 20px auto;
}

@-webkit-keyframes rotate-forever {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes rotate-forever {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes rotate-forever {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/*---------------menu movil--------------*/
#menu-movil label {
    font-size: 15px;
    /*display: inline-block;*/
    width: 30px;
    height: 20px;
    width: 3em;
    height: 2em;
    position: relative;
    z-index: 2;
    position: absolute;
    top: 30px;
    right: 20px;
    display: none;
}

#menu-movil label span {
    width: 100%;
    height: 4px;
    height: 0.4em;
    border-radius: 4px;
    border-radius: 0.4em;
    display: block;
    position: absolute;
    background: #0057a6;
    transition: all 0.25s ease;
    /* Propiedades a animar | Tiempo | Tipo animación*/
    transform-origin: 0px 100%;
}

#menu-movil label span:nth-child(2) {
    top: calc(50% - 2px);
    top: calc(50% - 0.2em);
}

#menu-movil label span:nth-child(3) {
    bottom: 0;
}

#menu-movil #check-menu {
    display: none;
}

#menu-movil #check-menu:checked ~ ul {
    /*transition: all 1s ease;*/
    height: 120px;
    border-top: 1px solid #cccccc;
    border-bottom: 2px solid #cccccc;
}

#menu-movil #check-menu:checked ~ label span:nth-child(1) {
    transform: rotate(45deg) translate(-2px, 1px);
    transform: rotate(45deg) translate(-0.2em, 0.1em);
}

#menu-movil #check-menu:checked ~ label span:nth-child(2) {
    opacity: 0;
}

#menu-movil #check-menu:checked ~ label span:nth-child(3) {
    transform: rotate(-45deg) translate(-3px, 3px);
    transform: rotate(-45deg) translate(-0.3em, 0.3em);
}

#gracias {
    display: none;
}

@media only screen and (max-width: 768px) {
    #menu-movil label {
        display: block;
    }

    #menu-movil ul {
        height: 0;
        overflow: hidden;
    }

    body .contenedor header .menu {
        border: none;
    }

    body .contenedor header .menu ul li a {
        font-size: 1em;
    }

    .caja1 {
        display: block;
    }

    .caja1 .caja-form {
        width: 100%;
    }

    .caja1 .caja-contenido {
        width: 100%;
    }

    body .contenedor header .menu ul {
        display: block;
        transition: all 1s ease;
    }

    body .contenedor header .menu ul li {
        border: 1px solid #cccccc;
        text-align: right;
    }

    body .contenedor header .menu ul li a {
        padding: 5px;
    }
}

@media only screen and (max-width: 450px) {
    .caja-texto .caja-flex {
        display: block;
    }

    .caja-texto .caja-flex div {
        width: 100%;
        padding: 5px 0;
    }
}

