:root {
    --principal: rgb(38, 38, 90);
    --secundario_main: rgb(27, 112, 187);
    --degradado1: rgb(124, 45, 251);
    --degradado2: rgb(23, 146, 255);
    --degradado3: rgb(24, 255, 217);
    --cuerpo: #444;
}

body {
    font-family: "Lato", sans-serif;
    color: var(--cuerpo);
}

#topbar {
    background: #fff;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

#topbar .contact-info a {
    line-height: 1;
    color: #444;
    transition: 0.3s;
}

.contact-info{
    font-size: 20px;
}

#topbar .contact-info a:hover {
    color: var(--principal);
}

#topbar .contact-info i {
    color: var(--secundario_main);
    padding: 4px;
}

#topbar .contact-info .icofont-phone {
    padding-left: 20px;
    margin-left: 10px;
}

.social-links{
    font-size: 20px;
}

#topbar .social-links a {
    color: var(--secundario_main);
    padding: 4px 12px;
    display: inline-block;
    line-height: 1px;
    transition: 0.3s;
}

#topbar .social-links a:hover {
    color: var(--principal);
}

/*--------------------------------------------------------------
  # Header
  --------------------------------------------------------------*/
#header {
    height: auto;
    transition: all 0.5s;
    transition: all 0.5s;
    padding: 10px 0;
    background: #fff;
    z-index: 997;
}

#header.header-scrolled {
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
}

#header .logo h1 {
    font-size: 28px;
    margin: 0;
    padding: 10px 0;
    line-height: 1;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
}

#header .logo h1 a,
#header .logo h1 a:hover {
    color: #1c5c93;
    text-decoration: none;
}

#header .logo img {
    padding: 0;
    margin: 0;
    max-height: 140px;
    margin: 2rem 0;
    height: 115px;
}

#header .text-light span {
    font-size: 22px;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
}

.nav-menu,
.nav-menu * {
    margin: 0;
    padding: 0;
    list-style: none;
    margin-top: 0.98rem ;
}

.nav-menu>ul>li {
    position: relative;
    white-space: nowrap;
    float: left;
}

.nav-menu a {
    display: block;
    position: relative;
    color: #5c768d;
    padding: 12px 15px;
    transition: 0.3s;
    font-size: 20px;
    font-family: "Lato", sans-serif;
}



@media (max-width : 1440px){
    #header .logo img{
        height: 80px !important ;
        margin: 1rem 0 !important ;
    }
    .nav-menu, .nav-menu * {
        margin-top: 0.4rem !important
    }
    .contact-info{
        font-size: 16px;
    }
}

@media (max-width : 1024px){
    
    .nav-menu a {
        font-size: 16px;        
    }

    #header .logo img {
        height: 77px !important;
        margin: 0.2rem 0 !important;
    }
    .nav-menu, .nav-menu *{
        margin-top: 0.25rem !important;
    }

}

.nav-menu a:hover,
.nav-menu .active>a,
.nav-menu li:hover>a {
    color: #428bca;
    text-decoration: none;
}

.nav-menu .drop-down ul {
    display: block;
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    padding: 10px 0;
    background: #fff;
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
    transition: ease all 0.3s;
}

.nav-menu .drop-down:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
}

.nav-menu .drop-down li {
    min-width: 180px;
    position: relative;
}

.nav-menu .drop-down ul a {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
    color: #103453;
}

.nav-menu .drop-down ul a:hover,
.nav-menu .drop-down ul .active>a,
.nav-menu .drop-down ul li:hover>a {
    color: #428bca;
}

.nav-menu .drop-down>a:after {
    content: "\ea99";
    font-family: IcoFont;
    padding-left: 5px;
}

.nav-menu .drop-down .drop-down ul {
    top: 0;
    left: 100%;
}

.nav-menu .drop-down .drop-down:hover>ul {
    opacity: 1;
    top: 0;
}

.nav-menu .drop-down .drop-down>a {
    padding-right: 35px;
}

.nav-menu .drop-down .drop-down>a:after {
    content: "\eaa0";
    font-family: IcoFont;
    position: absolute;
    right: 15px;
}

@media (max-width: 1366px) {
    .nav-menu .drop-down .drop-down ul {
        left: -90%;
    }

    .nav-menu .drop-down .drop-down:hover>ul {
        left: -100%;
    }

    .nav-menu .drop-down .drop-down>a:after {
        content: "\ea9d";
    }
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    bottom: 0;
    z-index: 9999;
    overflow-y: auto;
    left: -260px;
    width: 260px;
    padding-top: 18px;
    background: var(--principal);
    transition: 0.4s;
}

.mobile-nav * {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile-nav a {
    display: block;
    position: relative;
    color: #e3f0fc;
    padding: 10px 20px;
    font-weight: 500;
}

.mobile-nav a:hover,
.mobile-nav .active>a,
.mobile-nav li:hover>a {
    color: #9eccf4;
    text-decoration: none;
}

.mobile-nav .drop-down>a:after {
    content: "\ea99";
    font-family: IcoFont;
    padding-left: 10px;
    position: absolute;
    right: 15px;
}

.mobile-nav .active.drop-down>a:after {
    content: "\eaa0";
}

.mobile-nav .drop-down>a {
    padding-right: 35px;
}

.mobile-nav .drop-down ul {
    display: none;
    overflow: hidden;
}

.mobile-nav .drop-down li {
    padding-left: 20px;
}

.mobile-nav-toggle {
    position: fixed;
    right: 35px;
    top: 40px;
    z-index: 9998;
    border: 0;
    background: none;
    font-size: 24px;
    transition: all 0.4s;
    outline: none !important;
    line-height: 1;
    cursor: pointer;
    text-align: right;
}

@media (max-width : 425px) {
    .mobile-nav-toggle {
        right: 26px;
    }
}

@media (max-width : 375px) {
    .mobile-nav-toggle {
        right: 15px;
        top: 20px;
    }

    #header .logo img {
        max-height: 60px;
    }
}

.mobile-nav-toggle i {
    color: #5c768d;
}

.mobile-nav-overly {
    width: 100%;
    height: 100%;
    z-index: 9997;
    top: 0;
    left: 0;
    position: fixed;
    background: rgba(38, 38, 38, 0.7);
    overflow: hidden;
    display: none;
}

.mobile-nav-active {
    overflow: hidden;
}

.mobile-nav-active .mobile-nav {
    left: 0;
}

.mobile-nav-active .mobile-nav-toggle i {
    color: #fff;
}

#hero {
    width: 100%;
    height: 100vh;
    background: url(../img/inicio/portada_2.png) fixed top center;
    background-size: cover;
    position: relative;
    background-position-y: 70px;
}

#hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

}

.logos-hero {
    position: absolute;
    top: 36%;
    right: 20%;
}

.logos-hero img {
    width: 100%;
}

.title-hero {
    font-family: "Montserrat", sans-serif;
    position: absolute;
    top: 25%;
    right: 26%;
    text-align: center;
    z-index: 1;
}

.title-hero div {
    color: white;
    width: 34rem;
    text-align: center;
    font-size: 2.5rem;
    line-height: 47px;
    filter: drop-shadow(2px 4px 6px black);
}

.title-hero a {
    font-family: "Lato",sans-serif;
    margin-top: 1rem;
    padding: 0.8rem 2rem;
    color: white;
    font-size: 2rem;
    font-weight: 600;
    border-radius: 1rem;
    background: rgb(124,45,251);
    background: linear-gradient(90deg, rgba(124,45,251,1) 0%, rgba(23,146,255,1) 54%, rgba(24,255,217,1) 100%);
    border: 0px !important;
    filter: drop-shadow(2px 4px 6px black);
}

@media (max-width : 1440px) {

    .title-hero {
        right: 27%;
        top: 20%;
    }

    .title-hero div {
        width: 24rem;
        font-size: 1.6rem;
    }
    .title-hero a {
        font-size: 1.4rem;
        font-weight: 600;
        border-radius: 0.8rem;
    }
}

@media (max-width : 1366px) {
    .title-hero {
        right: 24%;
        top: 20%;
    }

    .title-hero div {
        width: 20rem;
        font-size: 1.6rem;

    }

    .title-hero a {
        padding: .5rem 1rem;
        font-size: 1.2rem;
    }
}

@media (max-width : 1024px) {

    .title-hero div {
        width: 22rem;
        font-size: 1.4rem;
    }

    /* #hero{
        background-position-x: -450px;
    } */
}

@media (max-width : 768px) {

    .title-hero {
        right: 19%;
        top: 25%;
    }

    .title-hero div {
        width: 19rem;
        font-size: 1.5rem;
    }

    /* #hero{
        background-position-x: -717px;
    } */
}

@media (max-width : 425px) {

    /* #hero{
        background-position-x: 	-851px;
    } */
    .title-hero {
        right: 15%;
        top: 26%;
    }

    .title-hero div {
        width: 18rem;
        font-size: 1.5rem;
        text-align: center;
        margin: 0 auto;
    }
}

@media (max-width : 375px) {
    .title-hero{
        right: 10%;
        top: 31%;
    }

    /* #hero{
        background-position-x: 	-917px;
    } */
}

@media (max-width : 320px) {
    .logos-hero {
        width: 125px;
        top: 55%;
    }

    /* #hero{
        background-position-x: -555px;
    } */
}

.section-title h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 3.5rem;
    text-align: center;
    color: var(--principal);
}

/* CURVA*/
.curva-header {
    bottom: -1px;
    background: url(../img/curva_1.svg);
    height: 100vh;
    background-size: cover;
    width: 100%;
    background-repeat: no-repeat;
    background-position: left;
    position: absolute;
}

/* Section */
section {
    padding: 50px 0;
}

.mision {
    background-image: url("../img/T77Obj9lzG-01.svg");
}

.about {
    position: relative;
    padding: 0 !important;
    height: 327px;
}

.about .container {
    position: relative;
}

.about .container>div {
    position: absolute;
    top: -200px;
}

@media (max-width : 1440px) {
    .about .container>div {
        top: -113px;
    }

    .text-about h2 {
        font-size: 3rem;
    }

    .mision-icon,
    .vision-icon {
        height: 130px !important;
        width: 130px !important;
    }
}

@media (max-width : 1024px) {
    .text-about h2 {
        font-size: 2.5rem !important;
    }

    .mision-icon,
    .vision-icon {
        height: 100px !important;
        width: 100px !important;
    }
}

@media (max-width : 768px) {
    .curva-header {
        height: 70vh;
    }

    .about .container>div {
        top: -70px;
    }

    .about {
        height: 500px;
    }
}

@media (max-width : 425px) {
    .curva-header {
        height: 35vh;
    }

    .about .container>div {
        top: 20px;
    }

    .about {
        height: 900px;
    }
}

@media (max-width : 375px) {
    #header .text-light span {
        font-size: 18px;
    }

    .about {
        height: 1000px;
    }
}

@media (max-width : 320px) {
    #header .text-light span {
        font-size: 16px;
    }

    .text-about h2 {
        font-size: 2rem !important;
    }

    .about {
        height: 1100px;
    }
    .curva-header{
        height: 30vh;
    }

}


.text-about h2 {
    color: var(--principal);
    text-align: center;
    font-weight: bold;
}

.mision-icon,
.vision-icon {
    height: 180px;
    width: 180px;
    margin: 1rem auto;
}

.mision-icon {
    background: url(../img/T77Obj9lzG-02.svg);
}

.vision-icon {
    background: url(../img/T77Obj9lzG-01.svg);
}

.vision-box ul {
    margin-left: 3rem;
}



/* CONTACTO */

.contact-title {
    font-weight: bold;
    color: var(--principal);
    text-align: center;
}

.contact .subtitulo {
    font-weight: bold;
    font-size: 1.9rem;
    color: var(--secundario_main);
}

.contact .text-sub {
    padding: 1rem;
    font-weight: normal;
}

.item-social {
    margin: 1rem;
}

.item-social a i {
    margin-right: 1rem;
    font-size: 1.5rem;
    color: var(--principal);

}

.item-social a span {
    font-size: 1.1rem;
    color: var(--secundario_main) !important;
    font-weight: 600;
}

.form {
    padding: 2rem;
}

.form .form-title {
    color: var(--principal);
    font-weight: 600;
    font-size: 2rem;
}

.form form {
    padding: 1.5rem;
}

.form form input[type="text"],
.form form input[type="email"],
.form form textarea {
    border: 1px solid rgb(27 112 187 / 72%);
    margin-bottom: 2rem;
    border-radius: .5rem;
}

.form form input[type="text"],
.form form input[type="email"] {
    height: 55px !important;
}

.background {
    height: 150px;
    width: 100%;
    background: var(--principal);
    position: absolute;
    top: 84%;
    z-index: -999;
}

@media (max-width :768px) {
    .background {
        top: 91%;
    }

}

.form form button {
    padding-top: 1rem;
    padding-bottom: 1rem;
    font-weight: 600;
    color: white;
    font-size: 1.3rem;
    background: var(--principal);
}

footer {
    background: var(--principal);
}

.title-footer {
    font-size: 2rem;
    color: white;
    font-weight: bold;
    margin-bottom: 1rem;
}

footer .container .row {
    padding-top: 1rem;
}

footer .container .row .col-lg-7 {
    margin-bottom: 1rem;
}

footer .container .row .col-lg-4 div {
    font-size: 1.5rem;
    color: white;
    font-weight: bold;
    margin-bottom: 1rem;
}

footer .footer-links {
    margin-bottom: 30px;
    font-size: 1.15rem;
}

footer .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer .footer-links ul i {
    padding-right: 2px;
    color: var(--secundario_main);
    font-size: 18px;
    line-height: 1;
}

footer .footer-links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

footer .footer-links ul li:first-child {
    padding-top: 0;
}

footer .footer-links ul a {
    color: #fff;
    transition: 0.3s;
    display: inline-block;
    line-height: 1;
}

footer .footer-links ul a:hover {
    color: var(--secundario_main);
}

footer .copyright {
    text-align: center;
    padding-top: 10px;
    font-size: 16px;
    color: white;
}

footer .credits {
    padding-top: 10px;
    text-align: center;
    font-size: 14px;
    padding-bottom: 1rem;
    color: white;
}

footer .credits a {
    color: var(--secundario_main) !important
}

.prueba {
    /* clip-path: circle(66.8% at 0 50%);
    background: #ccc;   */
    position: relative;
    width: 150px;
    height: 150px;
    height: 80% !important;
}

@media (max-width : 425px){
    .prueba{
        display: inline !important;
        margin-left: 57px;
        margin-top: -65px;
    }
}

@media (max-width : 425px){
    .img-fluid{
        max-width: 200%;
        height: 270px;
    }
}

.inner_poligon {
    /* clip-path: circle(66.8% at 0 50%);
    background: var(--principal);   */
    position: absolute;
    top: 0;
    height: 100%;
    left: 0px;
    width: 95%;
    z-index: -1;
}

.prueba img {
    padding: 2rem;
}

.item-valor {
    padding: 1rem;
}

.title-valores h2 {
    color: var(--secundario_main);
    font-family: "Montserrat", sans-serif;
    font-size: 2.3rem;
}

.box-icon {
    display: flex;
    align-items: center;
}

.box-icon i {
    color: var(--principal);
}

.box-icon span {
    color: var(--secundario_main);
    font-weight: 600;
}

.valores .division {
    width: 100%;
    height: 1px;
    background: #ccc;
}

@media (max-width : 768px) {
    .title-valores {
        text-align: center;
    }
}

.video-1 {
    min-height: 350px;
    padding: 2rem;
}

.video-1 iframe {
    height: 100%;
    width: 100%;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    overflow: hidden;
    background: #eee;
    display: flex;
    justify-content: center;
    align-items: center;
}

#preloader img {
    -webkit-animation: animate-preloader 3s ease 0s infinite forwards;
    animation: animate-preloader 3s ease 0s infinite forwards;
}

@-webkit-keyframes animate-preloader {
    0% {
        opacity: 0;
    }

    66% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes animate-preloader {
    0% {
        opacity: 0;
    }

    66% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/* loader*/
.lds-grid {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-grid div {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--principal);
    animation: lds-grid 1.2s linear infinite;
}

.lds-grid div:nth-child(1) {
    top: 8px;
    left: 8px;
    animation-delay: 0s;
}

.lds-grid div:nth-child(2) {
    top: 8px;
    left: 32px;
    animation-delay: -0.4s;
}

.lds-grid div:nth-child(3) {
    top: 8px;
    left: 56px;
    animation-delay: -0.8s;
}

.lds-grid div:nth-child(4) {
    top: 32px;
    left: 8px;
    animation-delay: -0.4s;
}

.lds-grid div:nth-child(5) {
    top: 32px;
    left: 32px;
    animation-delay: -0.8s;
}

.lds-grid div:nth-child(6) {
    top: 32px;
    left: 56px;
    animation-delay: -1.2s;
}

.lds-grid div:nth-child(7) {
    top: 56px;
    left: 8px;
    animation-delay: -0.8s;
}

.lds-grid div:nth-child(8) {
    top: 56px;
    left: 32px;
    animation-delay: -1.2s;
}

.lds-grid div:nth-child(9) {
    top: 56px;
    left: 56px;
    animation-delay: -1.6s;
}

@keyframes lds-grid {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.list-hour ul {
    list-style: none;
    color: #b7b3b3;
}

.list-hour ul li i {
    margin-right: 15px;
    margin-left: -30px;
    color: white;
}

.button-floating {
    position: fixed;
    z-index: 99999;
    right: 10px;
    bottom: 50%;
}

.button-floating a {
    font-size: 3rem;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: .5rem;
    margin: .4rem 0;
}

@media (max-width : 1440px){
    .button-floating{
        font-size: 2.5rem;
    }
}

.bg-wsp {
    /* background: #25d366; */
    background-color: var(--secundario_main);
    ;
}

.bg-facebook {
    /* background: #3B5998; */
    background-color: var(--secundario_main);
    ;
}

.bg-youtube {
    /* background: #c4302b; */
    background-color: var(--secundario_main);
    ;
}
.btn-submit{
    border-color: var(--principal);
    color: black;
    font-weight: 600;
    font-family: "Montserrat";
    transition: 0.5s;
}
.contactpage{
    margin-top: -220px;
}
.contactpage .php-email-form .form-group label {
    font-size: 1.36rem;
    font-family: "Montserrat";
}
.contactpage .php-email-form .form-group input[type="text"],
.contactpage .php-email-form .form-group input[type="email"] {
    height: 50px;
    border: 1px solid var(--principal);
}
.contactpage .php-email-form .form-group textarea{
    border: 1px solid var(--principal);
}
.btn-submit:hover{
    background: var(--principal);
    color: white;
    transition: 0.5s;
}
.img-texto{
    height: 118px;
}
@media (max-width : 1440px){
    .contactpage{
        margin-top: -150px;
    }
}
@media (max-width : 1024px){
    .img-texto{
        height: 98px;
    }
    .contactpage .php-email-form .form-group label {
        font-size: 1.1rem;
    }
    .contactpage .php-email-form .form-group input[type="text"],
    .contactpage .php-email-form .form-group input[type="email"]{
        height: 40px;
    }
}
@media (max-width : 768px){
    .img-texto{
        height: 80px;
    }
    .contactpage{
        margin-top: -100px;
    }
}

@media (max-width : 425px){
    .img-texto{
        height: 80px;
    }
    .contactpage{
        margin-top: -36px;
    }
}
.contacto-bk{
    background: url(../img/portada_de_contactanos.png) fixed top center !important;
    background-position-y: 12rem !important
}
.contacto-bk::before{
    background: #21252966;
}
.contacto-bk .title-hero{
    top: 22%;
    right: 36%;
}
.contacto-bk .title-hero div{
    font-size: 3rem;
    line-height: 50px;
}
@media (max-width : 1444px){
    .contacto-bk{
        background-position-y: 7rem !important
    }
    .contacto-bk .title-hero div{
        width: 24rem;
        font-size: 2.2rem;
    }
}
@media (max-width : 1024px){
    .contacto-bk{
        background-position-y: 6rem !important
    }
    .contacto-bk .title-hero{
        top: 22%;
        right: 32%;
    }
    .contacto-bk .title-hero div{
        font-size: 1.9rem;
        line-height: 40px;
    }
}
@media (max-width : 768px){
    .contacto-bk .title-hero{
        top: 26%;
        right: 28%;
    }
    .contacto-bk{
        background-position-x: -400px !important;
    }
}
@media (max-width : 425px){
    .contacto-bk .title-hero{
        top: 31%;
        right: 8%;
    }
}
@media (max-width : 375px){
    .contacto-bk{
        background-position-x: -400px !important;
    }
    .contacto-bk .title-hero{
        top: 36%;
        right: 2%;
    }
}
@media (max-width : 320px){
    .contacto-bk {
        background-position-y: 3rem !important;
    }
    .contacto-bk .title-hero {
        top: 36%;
        right: 0;
    }
    .button-floating a{
        font-size: 2rem;
    }
    .contacto-bk .title-hero div{
        font-size: 1.5rem;
        width: 20rem;
        line-height: 40px;    
    }
}
.img-vision img{
    height: 100%;
}

@media (max-width : 1024px){
    .img-vision {
        height: 110px;
    }
}
@media (max-width : 425px){
    .img-vision {
        height: 105px;
    }
}
@media (max-width : 375px){
    .img-vision {
        height: 90px;
    }
}
@media (max-width : 320px){
    .img-vision {
        height: 79px;
    }
}

.lds-dual-ring {
    display: inline-block;
    width: 80px;
    height: 80px;
  }
  .lds-dual-ring:after {
    content: " ";
    display: block;
    width: 64px;
    height: 64px;
    margin: 8px;
    border-radius: 50%;
    border: 6px solid var(--principal);
    border-color: var(--principal) transparent var(--principal) transparent;
    animation: lds-dual-ring 1.2s linear infinite;
  }
  @keyframes lds-dual-ring {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }