/*
Theme Name:         KONTESTA-THEME
Description:        Tema para KONTESTA
Version:            1.0
Author:             Jose Antonio Lopez (MS2S Group)
License:            MIT
License URI:        https://opensource.org/licenses/MIT
*/

/*
* COLORES MS2S: #fc9220 -> NARANJA #002850 -> AZUL
*
*/

/*
*	font-family: 'Nunito', 300 ;
*	font-family: 'Nunito', 400 ;
*   font-family: 'Quicksand', 300 ;
*   font-family: 'Nunito Sans', 300 ;
*/

html, body{
    margin: 0 auto;
    width: 100%;
    height: auto;
    background-color: white;
    /*margin-top: 100px;*/
}

.sep{
    width: 100%;
    height: 100px;
}

.center{
    text-align: center;
}

.blue{
    color: #002850;
}

nav{
    width: 100%;
    height: 100px;
    display: flex;
    box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.3);
    position: fixed;
    top: 0;
    z-index: 999;
    background-color: white;
}

.logo{
    height: 100%;
    width: 300px;
    background-image: url(images/logo.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}

.menu-header-container{
    flex: 1;
}

nav ul{
    width: 100%;
    height: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav li{
    display: inline;
    padding-right: 10px;
    padding-left: 10px;
}

nav li:last-child{
    background-color: #002850;
    color: white;
    border:1px solid #fc9220;
}

nav li:last-child:hover{
    background-color: #fc9220;
    color: white !important;
    border:1px solid #002850;
}

nav li:last-child a{
    color: white;
}

nav li:last-child a:hover{
    color: white;
}

nav a{
    text-decoration: none;
    color: #002850;
    font-size: 20px;
}

nav a:hover{
    color: #fc9220;
}

.container{
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.fw{
    width: 100%;
}

p, div, section, span, input, textarea, a{
	font-family: 'Quicksand';
	font-weight: 300;
}

nav a {
	font-family: Nunito;
	font-weight: 300;
}

h1{
    font-family: 'Nunito';
	font-weight: 400;
    color: #002850;
}

h2.tit{
    font-family: 'Nunito';
	font-weight: 400;
    color: #002850;
    font-size: 30px;
}

/*h2.dest{
    font-family: 'Nunito';
	font-weight: 400;
    color: white;
    background-color: #002850;
    font-size: 40px;
}*/

h2.dest{
    font-size: 40px;
}

section{
    width: 66%;
    height: auto;
    margin-bottom: 50px;
}

.rel{
    position: relative;
}

.h300{
    height: 300px;
}

.ofh{
	overflow: hidden;
}

.slider{
	width: 300%;
	height: 100%;
	background-color: cyan;
	transition: transform 2s ease-in-out;
	display: flex;
	position: relative;
}

.control-slider{
	position: absolute;
	bottom: 0;
	width: 75px;
	left: calc(50% - 25px);
	z-index: 998;
	display: flex;
	justify-content: space-around;
	padding-bottom: 15px; 
}

input[type="radio"]{
	display: none;
}

input[type="radio"]+label{
	display: inline-block;
	height: 15px;
	width: 15px;
	background-color: #002850;
	border-radius: 50%;
	cursor: pointer;

}

input[type="radio"]:checked+label {
	background-color: #fc9220;
}

.slider-child{
	width: 33.333%;
	height: 100%;
	flex:1;
	background-size: cover;
	background-position: center left;
	background-repeat: no-repeat;
	position: relative;
	display: flex;
	align-items: center;
}

#slider1{
    background-image: url(images/slide/2.0/controla%20progreso%20alumnos.jpg);
}

#slider2{
    background-image: url(images/slide/2.0/calidad%20y%20fiabilidad.jpg);
}

#slider3{
    background-image: url(images/slide/2.0/Se%20adapta%20inteligentemente%20a%20las%20competencias%20y%20capacidades%20de%20tus%20alumnos.jpg);
}

.slider-child div{
	position: absolute;
	right: 10%;
	background-color: rgba(233, 233, 233, 0.6);
	height: 90%;
	width: 30%;
	display: flex;
	justify-content: center;
	flex-direction: column;
	align-items: center;
	padding-left: 10px;
	padding-right: 10px;
}

.slider-child div > h3{
	font-family: Nunito;
	font-weight: 400;
	display: flex;
	justify-content: center;
}

.slider-child div > p{
	display: flex;
	justify-content: center;
    align-items: center;
    font-size: 28px;
    font-family: Nunito;
	font-weight: 400;
    text-align: center;
}

.slider-child div > a{
	display: block;
	background-color: #fc9220;
	text-align: center;
	line-height: 40px;
	height: 40px;
	width: 100px;
	font-size: 20px;
	color: white;
	text-decoration: none;
	box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
	transition: 0.3s;
}

.slider-child div > a:hover{
	box-shadow: 0 16px 32px 0 rgba(0,0,0,0.2);
}

.slider .slider-child:nth-child(1){
	background-image: url(img/slider.jpg);
}

.slider .slider-child:nth-child(2){
	background-image: url(img/slider2.png);
}

.slider .slider-child:nth-child(3){
	background-image: url(img/slider3.jpg);
}

.icon{
    height: auto;
    min-height: 200px;
    /*background-color: yellow;*/
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.icon > div{
    /*border: 1px solid black;*/
    flex: 1 0 200px;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon > div > div{
    height: 100%;
    width: 100%;
}

.icon > div > div > div{
    height: 70%;
    width: 100%;
    /*background-color: red;*/
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}

.icon > div > div > p{
    height: 30%;
    width: 100%;
    /*background-color: green;*/
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.eCon{
    background-image: url(images/amarillo/Evaluaci%C3%B3n%20continua.png);
}

.eNub{
    background-image: url(images/amarillo/En%20la%20nube.png);
}

.eMul{
    background-image: url(images/amarillo/m%C3%BAltiples%20preguntas.png);
}

.eFac{
    background-image: url(images/amarillo/F%C3%A1cil%20sistema%20de%20correcci%C3%B3n.png);
}

.eAna{
    background-image: url(images/amarillo/an%C3%A1lisis%20de%20resultados.png);
}

.ePro{
    background-image: url(images/amarillo/Proctoring.png);
}

footer{
    width: 100%;
    height: auto;
    border-top: 1px solid black;
    padding-top: 10px;
}

footer a{
    text-decoration: none;
}

footer .contain{
    display: flex;
    padding-bottom: 10px;
}

footer .contain > div{
    flex: 1;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-footer-container{
    height: 100%;
}

footer .contain ul{
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

/*footer .contain ul li:last-child{
    background-color: #002850;
    border: 1px solid #fc9220;
}

footer .contain ul li:last-child:hover{
    background-color: #fc9220;
    border: 1px solid #002850;
}

footer .contain ul li:last-child a {
    color:white;
}*/

/*footer .contain ul li:last-child{
    background-color: #002850;
    border: 1px solid #fc9220;
}

footer .contain ul li:last-child:hover{
    background-color: #fc9220;
    border: 1px solid #002850;
}

footer .contain ul li:last-child a {
    color:white;
}*/

footer .contain ul li:last-child a{
    text-decoration: underline;
    font-weight: 400;
}

footer .contain ul li a{
    color: #002850;
}

footer .contain ul li a:hover{
    color: #fc9220;
}

footer .copyright{
    height: 30px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #002850;
    color:white;
}

.socialBut{
	display: flex;
	flex-wrap: wrap;
}

.socialBut a{
	width: 50px;
	height: 50px;
	/*background-color: red;*/
	margin-left: 5px;
	margin-right: 5px;
	border-radius: 50%;
	background-position: left;
	background-repeat: no-repeat;
	background-size: cover;
	transition-property: all;
    transition-duration: 0.5s;
}

.socialBut a:hover{
	background-position: -50px;
}

#instagram{
	background-image: url(images/insta.png);
}

#linkdn{
	background-image: url(images/link.png);
}

#facebook{
	background-image: url(images/faceSprite.png);
}

#twitter{
	background-image: url(images/twSprite.png);
}

footer .ms2s{
    background-image: url(images/ms2s.png);
}

.or{
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-image: url(images/fondo%20acceso%20gratuito.png);
}

.or h2, .or p {
    color: #002850;
}

.sectit{
    text-align: center;
}

.just{
    text-align: justify;
}

.quote{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 10px;
}

.quote p{
    text-align: center;
    font-size: 20px;
    margin: 5px;
    font-weight: 400;
}

.quote p:nth-child(3){
    margin-bottom: 15px;
}

.quote a{
    display: block;
    color: white;
    height: 35px;
    width: 125px;
    background-color: #002850;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.3);
    transition: all 0.2s;
}

.quote a:hover{
    box-shadow: 2px 7px 10px 0px rgba(0,0,0,0.4);
}

.ram{
    width: 400%;
    height: auto;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.ram > div{
    flex: 1 0 12.5%;
    height: 400px;
}

.ram > div > div{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.ram > div > div > div{
    width: 80%;
    height: 70%;
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}

.ram > div > div > p{
    width: auto;
    height: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0; 
    font-size: 22px;
    font-weight: 400;
}

.ram .rel{
    position: relative;
}

.relative a{
    height: 50px;
    position: absolute;
    top: calc(50% - 50px);
    font-size: 45px;
    cursor: pointer;
    z-index: 900;
}

.relative a.left{
    left: 0;
}

.relative a.right{
    right: 0;
}

.ram .rCor {
    background-image: url(images/flow/CORRIGE%20LAS%20RESPUESTAS.png);
}

.ram .rAcc {
    background-image: url(images/flow/Accede%20a%20la%20nube.png);
}

.ram .rCre {
    background-image: url(images/flow/Crea%20tu%20asignatura.png);
}

.ram .rCon {
    background-image: url(images/flow/CONFECCIONA%20TU%20TEST.png);
}

.ram .rDad {
    background-image: url(images/flow/da%20de%20alta%20alumnos.png);
}

.ram .rRea {
    background-image: url(images/flow/realiza%20el%20test.png);
}

.ram .rAna {
    background-image: url(images/flow/analiza%20los%20resultados.png);
}

.ram .rPro {
    background-image: url(images/flow/progreso%20de%20tus%20alumnos.png);
}

.ram .rCons {
    background-image: url(images/flow/consistencia%20y%20fiabilidad%20de%20tus%20test.png);
}

.ram .rAut {
    background-image: url(images/flow/auto%20adaptaci%C3%B3n%20de%20tu%20sistema%20de%20evaluaciones.png);
}

.benefits > div{
    width: 100%;
    height: auto;
    display: flex;
}

.benefits > div > div{
    height: 250px;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.benefits > div:nth-child(2n) > div:first-child{
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    background-color: #eeeeee;
}

.benefits > div:nth-child(2n + 1) > div:last-child{
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    background-color: #eeeeee;
}

.benefits #pos{
    background-image: url(images/beneficios/Posibilita%20la%20evaluaci%C3%B3n%20continua%20mediante%20utilizaci%C3%B3n%20de%20test.png);
}

.benefits #sim{
    background-image: url(images/beneficios/Simplifica%20la%20gesti%C3%B3n%20diaria%20de%20clase.png);
}

.benefits #per{
    background-image: url(images/beneficios/Permite%20cerrar%20el%20ciclo%20de%20vida%20de%20cualquier%20itinerario%20formativo%20al%20evaluar%20el%20grado%20de%20conocimiento%20alcanzando%20durante%20el%20mismo..png);
}

.benefits #mej{
    background-image: url(images/beneficios/Mejora%20el%20rendimiento%20del%20alumno%20al%20adaptar%20la%20evaluaci%C3%B3n%20a%20sus%20cualidades.png);
}

.benefits #perm{
    background-image: url(images/beneficios/Permite%20la%20implementaci%C3%B3n%20de%20un%20Sistema%20de%20Tutor%C3%ADas%20Inteligentes.png);
}

.benefits #ges{
    background-image: url(images/beneficios/Gesti%C3%B3n%20de%20todas%20las%20calificaciones%20parciales%20hasta%20la%20consolidaci%C3%B3n%20de%20una%20nota%20final.png);
}

.benefits p{
    text-align: justify;
    font-size: 20px;
    padding: 20px;
}

.contact .sup{
    background-image: url(images/slides/contacto2.jpg);
}

.assistance .sup{
    background-image: url(images/slides/ayuda.jpg);
}

.sup{
    width: 100%;
    height: 300px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.contact form{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.contact form.assintance{
    width: 90%;
}

.contact form input{
    width: 100%;
    height: 35px;
    padding-left: 20px;
    margin-bottom: 10px;
    border:1px solid #b8b8b8;
    border-radius: 5px;
    font-size: 16px;
}

.contact form textarea{
    margin-bottom: 10px;
    width: 100%;
    height: 150px;
    padding-left: 20px;
    border:1px solid #b8b8b8;
    border-radius: 5px;
    font-size: 16px;
}

form input[type="checkbox"]{
    width: inherit !important;
    height: inherit !important;
    padding-left: 0 !important;
    margin-bottom: 0 !important;
    border:0 !important;
}

.check > div{
    margin-top: 5px;
    margin-bottom: 5px;
}

.contact form input[type="submit"]{
    width: 75px;
    padding: 0;
    border-radius: inherit;
    background-color: #fc9220;
    border: 0;
    color: white;
    box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.3);
    transition: all 0.2s;
    cursor: pointer;
}

.contact form input[type="submit"]:hover{
    box-shadow: 2px 7px 10px 0px rgba(0,0,0,0.4);
}

.contact form select{
    width: 100%;
    height: 35px;
    padding-left: 20px;
    margin-bottom: 10px;
    border:1px solid #b8b8b8;
    border-radius: 5px;
    font-size: 16px;
    box-sizing:content-box;
}

.contact form .group{
    width: 100%;
    display: flex;
}

.contact form .group > input {
    width: 100%;
    box-sizing: content-box;
}

.contact form .group > .mr{
    margin-right: 10px;
}

.contact form .group > .ml{
    margin-left: 10px;
}

.contact div.check{
    display: inline-block;
    width: 100%;
}

.destacado{
    text-align: center;
    font-size: 25px;
}

.reliability .icons{
    display: flex;
}

.reliability .icons > div{
    height: 150px;
    flex: 1;
}

.reliability .icons > div > div{
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    height: 70%;
}

.reliability .icons > div > p{
    height: 30%;
    text-align: center;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.reliability .icons > div:first-child > div{
    background-image: url(images/flow/progreso%20de%20tus%20alumnos.png);
}

.reliability .icons > div:nth-child(2) > div{
    background-image: url(images/flow/consistencia%20y%20fiabilidad%20de%20tus%20test.png);
}

.reliability .icons > div:last-child > div{
    background-image: url(images/flow/auto%20adaptaci%C3%B3n%20de%20tu%20sistema%20de%20evaluaciones.png);
}

.reliability .sup{
    background-image: url(images/slides/fiabilidad3.jpg);
}

.bene .sup{
    background-image: url(images/slides/beneficios2.jpg);
}

b{
    font-weight: 400;
}

.flex{
    display: flex;
}

.flex > div{
    flex: 1;
}

.contact .aditional{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact .aditional a{
    text-decoration: none;
}

.contact .aditional p{
    margin-top: 5px;
}


.secMenu{
    width: 100%;
    height: auto;
}

.secMenu ul{
    list-style: none;
    display: flex;
    justify-content: flex-end;
    margin:0;
    margin-top: 20px;
}

.secMenu li{
    margin-right: 5px;
}

.carac .sup{
    background-image: url(images/slides/caracteristicas2.jpg);
}

.secMenu a{
    color: #002850;
    text-decoration: none;
    background-color: #fc9220;
    padding-bottom: 0;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    font-size: 22px;
    border: 1px solid #fc9220;
    border-bottom: 0;
}

.secMenu a:hover{
    background-color: white;
    border: 1px solid #fc9220;
    border-bottom: 0;
}

.secMenu .current_page_item a{
    color: #002850 !important;
    background-color: white;
    border: 1px solid #fc9220;
    border-bottom: 0;
}

.download{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.download > div{
    flex: 1 0 50%;
    max-width: 100%;
    min-width: 200px;
    /*border: 1px solid black;*/
}

.download > div > a{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.download > div > a:hover{
    filter: opacity(50%);
}

.download > div > a > img{
    width: 50px;
}

.download > div > a > p{
    
}

.contacta {
    display: flex;
    flex-wrap: wrap;
}

.contacta > div{
    flex: 1;
    min-width: 300px;
}

section.client{
    width: 100%;
    height: 300px;
    display: flex;
    flex-direction: column;
    color:white;
    background-color: #002850;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-image: url(images/quotes.png);
}

section.client > p{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    height: 50%;
    text-align: center;
    margin: 20px;
}

section.client > p:first-child{
    font-size: 30px;
    font-style: oblique;
}


section.client > p:last-child{
    font-size: 20px;
}

.message{
    position: fixed;
    width: 90%;
    height: 50px;
    top: 20%;
    left: calc(50% - 45%);
    /*left: 0;*/
    display: none;
    opacity: 0;
    transition: opacity 1s;
}

.message div{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 20px;
    border-radius: 5px;
    font-weight: 400;
}

.message .true{
    background-color: #5eff5e;
}

.message .false{
    background-color: #ff5e5e;
}



.doble{
    width: 100%;
    height: 300px;
    display: flex;
}

.doble > div{
    flex: 1;
}

.doble p{
    margin-left: 15px;
    margin-right: 15px;
    font-size: 18px;
    text-align: justify;
}

.doble > .img{
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-color: green;
}

p.dest{
    font-size: 25px;
}

.ia{
    display: flex;
    flex-direction: column;
}

.ia img{
    margin-top: 20px;
    object-fit: contain;
    height: 60px;
}

.ia h2{
    margin-top: 0px;
    margin-bottom: 10px;
}

.fs25{
    font-size:25px;
}

.relative{
    position: relative;
    
}

.sponsor{
    width: 100%;
    height: auto;
    min-height: 75px;
    display: flex;
    flex-wrap: wrap;
}

.sponsor > div{ 
    flex: 1 2 100px;
    /*min-width: 100px;*/
    min-height: 75px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    margin-right: 20px;
}

#edu {
    background-image:url(images/sponsor/edu.png);
}

#ibm {
    background-image:url(images/sponsor/ibm.png);
}

#intel {
    background-image:url(images/sponsor/intel.png);
}

#alastria {
    background-image:url(images/sponsor/logo%20alastria.png);
}

#siette {
    background-image:url(images/sponsor/logo_siette.png);
}

#canvas {
    background-image:url(images/sponsor/logocanvas.png);
}

#microsoft {
    background-image:url(images/sponsor/microsoft.png);
}

section.blue{
    background-color: #002850;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

section.blue p {
    color: white;
    margin-left: 40px;
    margin-right: 40px;
}

section.blue a{
    color: white;
    background-color: #fc9220;
    margin: 10px;
    padding: 10px;
    text-decoration: none;
}

section.blue a:hover{
    color: #fc9220;
    background-color: white;
    margin: 10px;
    padding: 10px;
}

.quest{
    list-style: none;
}

.quest li p{
    text-align: justify;
}

.quest li:first-child{
    position: relative;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom: 1px solid black;
    background-color: #eeeeee;
    cursor: pointer;
    
}

.quest li:first-child i {
    position: absolute;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    right: 10px;
    top: calc(50% - 15px);
}

/*.quest li:first-child:before{
    content: "\f078";
    font-family: 'Font Awesome\ 5 Free';
}*/

.quest li:first-child p {
    font-weight: 400;
    font-size: 22px;
    margin-bottom: 0;
}

.quest li:last-child{
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border: 1px solid #eeeeee;
    border-top: 0;
    display: none;
}

.quest li:last-child p{
    margin-top: 0;
    font-size: 18px;
}

.quest p{
    padding: 15px;
}

.none{
    display: none;
}

.menuhidden{
    display: none;
}

.who p{
    text-align: justify;
}

.icons{
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.loop{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 50%;
}

.loop p{
    flex: 1 0 50%;
    margin: 0;
    color: white;
    margin-left: 10px;
    margin-right: 10px;
    text-align: center;
}

.loop p:first-child{
    font-size: 25px;
    margin-top: 15px;
}

.loop p:nth-child(2){
    font-size: 20px;
    margin-bottom: 15px;
}

.bgb{
    background-color: #002850;
}

.cookies{
    position: fixed;
    bottom: 0;
    background-color: #002850;
    padding: 10px;
    border-top: 1px  solid white;
    animation-duration: 3s;
    animation-name: show;
}

.cookies h2{
    color: #fc9220;
}

.cookies p{
    color: white;
}

.cookaction a:first-child{
    border: 1px solid white;
    padding: 10px;
    background-color: #fc9220;
}

.cookaction a:first-child:hover{
    background-color: white;
    color:#002850;
    cursor: pointer;
}

.cookaction a:last-child{
    color: white;
    padding: 10px;
}

.cookaction a:last-child:hover{
    color: #fc9220;
    cursor: pointer;
}

.cookaction{
    padding-top: 15px;
    padding-bottom: 5px;
}

@keyframes show{
    from{
        bottom: -500px;
    }
    
    to{
        bottom: 0;
    }
}

@media only screen and (max-width: 850px) {
    
    .display{
        display: none;
    }

    .none{
        display: inherit;
    }
    
    nav{
        height: 75px;
        justify-content: flex-start;
        align-items: flex-start;
        position: fixed;
    }
    
    .sep{
        height: 75px;
    }
    
    .flex{
        display: flex !important;
    }
    
    nav a.menu{
        height: 75px;
        width: 75px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 40px;
        cursor: pointer;
    }
    
    section{
        width: 100%;
    }
    
    section p{
        margin-left: 20px;
        margin-right: 20px;
    }
    
    .menuhidden{
        display: flex;
        position: fixed;
        height: 100%;
        width: 75%;
        background-color: white;
        z-index: 99999;
        top: 0;
        left: -1000px;
        flex-direction: column;
    }
    
    nav ul{
        height: auto;
        display: flex;
        justify-content: flex-start !important;
        align-items: center;
        flex-direction: column;
        flex:1;
        width: 100% !important;
    }
    
    .logo{
        height: 75px;
        width: 100%;
    }
    
    .menu-header-container{
        display: flex;
        flex-direction: column;
    }
    
    nav li{
        display: flex;
        width: 100%;
        padding: 0;
    }
    
    nav li a{
        flex: 1;
        padding-top: 10px;
        padding-bottom: 10px;
        padding-left: 20px;
        border-bottom: 1px solid black;
    }
    
    nav li a:hover{
        background-color: #fc9220;
        color: white;
    }
    
    nav li:last-child{
        border:0;
    }
    
    nav li:last-child:hover{
        border:0;
    }
    
    .headerMenu{
        display: flex;
    }
    
    .headerMenu .close{
        height: 75px;
        width: 75px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 40px;
        cursor: pointer;
    }
    
    h2.tit{
        font-size: 24px;
        text-align: center;
    }
    
    section.client{
        height: auto;
    }
    
    section.client > p:first-child{
        font-size: 24px;
        font-style: oblique;
    }
    
    .slider-child div{
        position: inherit;
        width: 100%;
        height: 100%;
        padding: 0;
        right: inherit;
    }
    #slider2{
        background-position: center center;
    }
    
    .ram{
        width: 700%;
    }
    
    .ram > div{
        flex: 1 0 14.28%;
        height: 400px;
    }
    
    .relative  a.left{
        left: 15px;
    }
    
    .relative  a.right{
        right: 15px;
    }
    
    .relative  a{
	   top: calc(50% - 30px);
    }
    
    .secMenu ul{
        justify-content: center;
        padding: 0;
        flex-direction: column;
        margin: 0;
    }
    
    .secMenu li {
        margin-right: 0;
    }
    
    .secMenu a{
        border:0;
        padding-top: 0;
        width: 100%;
        display: block;
        text-align: center;
        height: 50px;
        line-height: 50px;
        border-radius: 0;
        border-bottom: 1px solid black;
        padding: 0;
    }
    
    .secMenu .current_page_item a{
        padding: 0;
        border:0;
        border-bottom: 1px solid black;
    }
    
    section h2, h3{
        text-align: center;
    }
    
    .sup{
        height: 100px;
        background-position: center left;
    }
    
    .contact .sup{
        background-image: url(images/slides/contacto2.jpg);
        background-position: center right;
    }

    .assistance .sup{
        background-image: url(images/slides/ayuda.jpg);
        background-position: center center;
    }
    
    .contacta{
        margin-left: 20px;
    }
    
    .contact form.assintance{
        width: 90%;
    }
    
    .contact form.assintance input{
        padding: 0;
    }
    
    .contact form.assintance textarea{
        padding: 0;
    }
    
    .contact form .group{
        flex-wrap: wrap;
    }

    .contact form .group > input, .contact form .group > textarea, .contact form .group > select {
        margin-left: 10px;
        margin-right: 10px;
    }
    
    footer .contain{
        flex-direction: column;
    }
    
    footer .contain > div{
        flex: 1 0 auto;
        height: 150px;
    }
    
    .menu-footer-container{
        width: 100%;
        text-align: center;
        font-size: 20px;
    }
    
    .menu-footer-container ul{
        padding: 0;
    }
    
    .benefits > div{
        flex-direction: column;
    }
    
    .benefits > div > div{
        flex: 1 0 200px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    

    .benefits > div:nth-child(2n) > div:last-child{
        order: 1;
    }
    
    .benefits > div:nth-child(2n + 1) > div:first-child{
        order: 1;
    }

    .quest{
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .quest li:first-child p{
        text-align: center;
        font-size: 18px;
    }
    
    .quest li:last-child p{
        text-align: center;
        font-size: 16px;
    }
    
    .reliability .icons{
        display: flex;
        flex-wrap: wrap;
    }

    .reliability .icons > div{
        height: 150px;
        flex: 1;
        min-width: 200px;
    }
}