/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

*{box-sizing: border-box;}

img{max-width: 100%;}
strong{font-weight: 700}

body{font-family: 'Rubik', sans-serif;font-size: 25px; color: #040404; display: flex; min-height: 100vh; flex-direction: column;line-height: 30px;}
main {flex-grow: 1}
header{position: relative;}


.wrapper {max-width: 1170px; width: 100%; margin: 0 auto;}
.bg-grey{background:#F8F8FF;}
.section-padding{padding:40px 0;}
.text-center{text-align: center;}
.bg-dark-blue {background: #08144A}


header {background: url(../imagenes/bg-cabecera2.jpg)top center no-repeat;padding: 170px 0 0}

.top-bar {position: absolute;top: 0; left:0;padding: 50px 0 0; width: 100%}
.top-bar img{max-width: 280px}
header .title {font-size: 40px;line-height: 47px;text-align: center;text-transform: uppercase;padding:10px 0 30px; color: #fff;}
header .validador {display: flex; align-items: center; justify-content: center; width: 100%; max-width: 1024px; margin: 0 auto; margin-bottom: 85px; padding: 10px; flex-wrap: wrap;}
header .validador input[type="text"]{margin: 0 10px; height: 64px; max-width: 395px; border: none; background-color: #fff; text-align: center;color: #000; width: 100%}
header .validador input[type="submit"]{background: #08144A;
border: 1px solid #FFFFFF; color:#fff; border-radius: 10px; font-weight: 700; height: 55px; max-width: 270px; width: 100%}

.error-msj{color: white; flex-basis: 100%; display: none;margin:10px;}
.error{border: 3px solid #D82428; color:#D82428; }


.form {background: #05CB78; padding: 20px 70px 75px; position: relative; margin-bottom: 50px}
.form:after {content:"";width: 0;height: 0;border-style: solid;border-width: 0 0 50px 1170px; border-color: transparent transparent #ffffff transparent; bottom: 0; left: 0; position: absolute;}



.deco{width:1px; height:85px;background-color: #05CB78; position: relative; margin: 0 auto; bottom: 1px }
.deco:before{content: ""; width: 120px ; height: 120px; right: -120px; top: 0; position: absolute; border-top-right-radius: 100%; background-color:#05CB78; }
.deco:after{content: ""; width: 120px ; height: 120px; left: -120px; top: 0; position: absolute; border-top-left-radius: 100%; background-color:#05CB78; }

.form form{width: 100%;}
.form input[type="text"], .form input[type="tel"], .form input[type="email"]{background: #FFFFFF; height: 35px; font-size: 14px;line-height: 17px;color: #060E33;width: 100%; font-family: Rubik, sans-serif; border: none; padding: 0 10px;margin: 0 0 10px}
.form select{background: #FFFFFF; height: 35px; font-size: 14px;line-height: 17px;color: #060E33;width: 100%; font-family: Rubik, sans-serif; border: none; padding: 0 10px;margin: 0 0 10px}
.form .hbspt-form fieldset{max-width: 100%!important;width: 100%;    display: flex;    align-items: center;    justify-content: space-between;}



.form p, .form a, .form label{font-size: 12px;line-height: 14px; color: #060E33;}
p.title-form {text-align: center; font-weight: 700; color: #fff;font-size: 26px;margin:0 0 25px; line-height: 31px;}

.form input[type="text"]:-moz-placeholder{color: #060E33}
 .form input[type="text"]:-ms-input-placeholder{color: #060E33}
.form input[type="text"]::-moz-placeholder{color: #060E33}
.form input[type="text"]::-webkit-input-placeholder{color: #060E33}
.form input[type="tel"]:-moz-placeholder{color: #060E33}
 .form input[type="tel"]:-ms-input-placeholder{color: #060E33}
.form input[type="tel"]::-moz-placeholder{color: #060E33}
.form input[type="tel"]::-webkit-input-placeholder{color: #060E33}
.form input[type="email"]:-moz-placeholder{color: #060E33}
 .form input[type="email"]:-ms-input-placeholder{color: #060E33}
.form input[type="email"]::-moz-placeholder{color: #060E33}
.form input[type="email"]::-webkit-input-placeholder{color: #060E33}
.form .hs-submit input[type="submit"]{background: #08144A;
border: none; color:#fff; border-radius: 10px; font-weight: 700; height: 55px; max-width: 270px; width: 100%; margin:20px 0;font-size: 19px;line-height: 23px;text-align: center;}
.legal-consent-container .hs-form-booleancheckbox-display>span{margin-left: 5px!important}
.form label{display: flex; align-items:  center; justify-content: flex-start;}


.submitted-message p{    font-size: 20px;    margin: 0 0 10px;    line-height: 1.2;}
.submitted-message{overflow: inherit!important;}

.inner-txt-img {display: flex; align-items: center; justify-content: space-between;}
.inner-txt-img p{font-size: 23px; line-height: 27px; padding-right: 30px; flex-basis: 50%}

.slider-rtes{max-width: 1024px; margin: 0 auto;padding: 0 30px;}

.slider-rtes .item-slide{display: flex; align-items: center; justify-content: flex-start; padding: 5px;}
.slider-rtes .txt-slider{flex-basis: 80%;font-size: 30px;
line-height: 36px; padding: 0 0 0 31px}
.slider-rtes .arrow {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 35px;
    background: url(../imagenes/arrow-green.png) center center no-repeat;
}
.slider-rtes .arrow.previous {
    position: absolute;
    top: 0;
    right: unset;
    left: 0;
    height: 100%;
    width: 35px;
    background: url(../imagenes/arrow-green.png) center center no-repeat;
    transform: rotate(180deg);
}
.inner-boxes {display: flex; align-items: flex-start; justify-content: space-between; }
.inner-boxes .item {flex-basis: 30%; display: flex; flex-direction: column;font-weight: 300;font-size: 17px;line-height: 20px;text-align: center;color: #3E4D58;min-height:250px;}
.inner-boxes .item .text{background-color: #fff; padding: 15px ;position: relative;; min-height:calc(225px - 35px)}
.inner-boxes .item .text:before {content: ""; width: 100%; height: 35px;position: absolute; top: -34px; left: 0; background: #fff}

.inner-boxes .item img {max-width: 80px; margin: 0 auto; z-index: 10}

.inner-boxes .item .title{font-weight: 500;font-size: 21px;color: #060E33;line-height: 25px;margin-bottom: 15px}



.testimonial {display: flex; align-items: center;justify-content: space-between;}
.testimonial .texto{flex-basis: 45%; font-size: 30px;line-height: 36px;color: #060E33; display: flex; flex-direction: column;}
.testimonial .texto .subtitle {font-size: 18px;
line-height: 21px;color: #868F96;  margin: 0 0 10px}
.testimonial .video {flex-basis: 50%}
.testimonial .video video{width: 100%;}

.cta {display: flex; align-items: center; justify-content: center;margin: 45px 0 30px}
.cta a{background: #fff;
    border: 1px solid #FFFFFF;
    color: #08144A;
    border-radius: 10px;
    font-weight: 700;
    height: 55px;
    max-width: 270px; text-decoration: none;text-align: center;display: flex;align-items: center; justify-content: center;
    width: 100%;}

footer{padding:30px 0;}
footer a, footer p { font-weight: 300;font-size: 16px;line-height: 19px;text-decoration: none;
color: #868F96;}
footer .wrapper {display: flex; align-items: center; justify-content: space-between;}
.legales ul{display: flex; align-items: center; justify-content: flex-start;}
.legales ul>li{padding-right: 15px}

@media(max-width: 1170px){
    .wrapper{padding: 0 20px}
    .form:after{content: none}
    .form{padding: 20px 70px 35px; margin-bottom: 0}
}
@media(max-width: 800px){
    .inner-txt-img{flex-direction: column;}
    .inner-txt-img p{padding: 0 10px 30px}
    .inner-boxes .item .text { min-height:calc(273px - 35px);}
}
@media(max-width: 767px){
    .text-center{text-align: left;}
    header .validador{flex-direction: column;margin-bottom: 20px}
    header .validador input[type="text"]{max-width: 100%; margin: 0 auto 15px}
    header .title{font-size: 30px;
    line-height: 1.2;}
    .form .hbspt-form fieldset{flex-direction: column; align-items: stretch;}
    .form {
    padding: 20px 20px 30px;}
    .form input[type="text"], .form input[type="tel"], .form input[type="email"], .form select{width: 100%!important;}
    .form .hs-submit input[type="submit"]{max-width: 100%}
    .slider-rtes .item-slide{flex-direction: column;}
    .slider-rtes .txt-slider{padding: 20px 0 }
    .inner-boxes {flex-direction: column;align-items: stretch;}
    .inner-boxes .item, .inner-boxes .item .text{min-height: unset;}
    .inner-boxes .item {margin: 0 0 15px}
    footer .wrapper {flex-direction: column; align-items: stretch;}
    .legales ul {justify-content: space-between;margin: 0 0 15px}
    footer p {text-align: center;}
    .testimonial{flex-direction: column; align-items: stretch;}
    .testimonial .texto{margin: 0 0 20px}

}

