* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    background: #ffffff;
    font-family: 'Arial', sans-serif;
    min-height: 101vh;
}

ul, ol {
    margin: 1em 0;
    padding-left: 2em;
}

body a {
    color: #ff6e28;
    text-decoration: none;
}

body .test {
    border: 1px solid red;
}

body .contenedor {
    margin: 0 auto;
    max-width: 1000px;
    width: 100%;
}

body .contenedor header {
    padding-top: 30px;
    padding-bottom: 20px;
    background-image: url("/static/img/barra.png");
    background-repeat: no-repeat;
    background-position: bottom;
    position: relative;
}

body .contenedor header .logo {
    margin-left: 2vw;
}

body .contenedor header .menu {
    margin-top: 20px;
    border-bottom: 1px solid black;
}

body .contenedor header .menu ul {
    display: flex;
    justify-content: flex-end;
    padding: 0;
    margin: 0;
}

body .contenedor header .menu ul li {
    display: block;
    list-style: none;
    padding: 0;
    border-left: 1px solid black;
}

body .contenedor header .menu ul li a {
    display: block;
    padding: 3px 15px;
    text-decoration: none;
    text-transform: uppercase;
    color: #0057a6;
    font-size: 14px;
    font-weight: bold;
}

body .contenedor header .menu ul li a.activo {
    background: #0057a6;
    color: white;
}

.caja1 {
    display: flex;
    justify-content: center;
}

.caja1 .caja-contenido {
    width: 60%;
    background-repeat: no-repeat;
}

.caja1 .caja-form {
    width: 40%;
    background-repeat: no-repeat;
    background-position: center 25px;
    padding: 25px;
}

.caja1 .caja-form .caja-lila {
    background-color: #5763b3;
    text-align: center;
    padding: 20px;
    color: white;
}

.caja1 .caja-form .caja-lila h2 {
    font-size: 1.5em;
    font-weight: 500;
    margin: 0;
    padding: 0;
}

.caja1 .caja-form .caja-lila p {
    font-size: 18px;
    margin: 0px;
}

.caja1 .caja-form .caja-lila a {
    font-size: 18px;
    color: #ff9160;
}

.caja1 .caja-form .caja-lila input,
.caja1 .caja-form .caja-lila textarea {
    font-family: Arial, SansSerif;
    width: 100%;
    background-color: gainsboro;
    margin: 6px 0px 0px;
    text-transform: capitalize;
    padding: 0 12px;
    font-size: 0.9em;
    color: #888888;
    line-height: 1.8em;
}

.caja1 .caja-form .caja-lila textarea {
    min-height: 86px;
}

.caja1 .caja-form .caja-lila .nota_file {
    padding: 5px 0;
    font-size: 12px;
    text-align: left;
}

.mt15 {
    margin-top: 15px;
}

/*------------------------------------------------------------*/
.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 .5s;
}

label.fail {
    border: 0;
    background-color: transparent;
}

/*-------------------fin test-----------------------------------------*/

input#file {
    padding: 10px;
    line-height: normal;
    /*display: none;*/
}

.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;
}

/*.error{display: none}*/

/*-----------------------------------*/
.img-principal img {
    width: 100%;
    vertical-align: middle;
}

.separador {
    padding: 15px 0;
}

.separador img {
    width: 100%;
    height: 4px;
}

.caja-texto {
    padding: 25px 25px;
}

.caja-texto h2 {
    color: #ff6e28;
    padding: 0;
    margin: 0;
    font-weight: 500;
    margin-bottom: 30px;
}

.caja-texto .caja-flex > div {
    width: 48%;
    font-size: 14px;
    color: #666666;
    line-height: 1.4em;
}

.caja-texto .caja-flex {
    display: flex;
    justify-content: space-between;
}

.caja-texto .caja-flex2 {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.caja-texto .caja-flex2 img {
    padding: 0 12px 25px;
    max-width: 100%;
}

.caja-texto .caja-flex div.w100 {
    width: 100%;
}

footer {
    padding: 25px;
    text-align: center;
}

#bases-legales .caja-flex .w100 > div:first-child {
    color: #0057a6;
    font-size: 1.2em;
}

#bases-legales .caja-flex .w100 > div {
    margin-bottom: 1em;
}

/*---------------------------------------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);
}

@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;
    }
}

