@import url(https://fonts.googleapis.com/css?family=Inria+Serif:300,300i,400,400i,700,700i&display=swap);
@import url(https://fonts.googleapis.com/css?family=DM+Sans:400,400i,500,500i,700,700i&display=swap&subset=latin-ext&display=swap);
nav img {
    max-width: 80%;
}

.nav-item a {
    color: #103178;
    font-size: 20px;
    font-family: 'Inria Serif', serif;
}

.nav-item a:hover {
    color: #47b5ed;
}

.portadatek {
    height: 100vh;
    background: linear-gradient(rgba(55, 55, 55, 0.264), rgba(0, 0, 0, 0.5)), url(../img/portadatek-1366x768.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 80px;
}

.portadatek h1 {
    font-size: 50px;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-shadow: 2px 2px 2px #848484;
}

.portadatek h3 {
    font-size: 25px;
    font-family: 'Inria Serif', serif;
}

.tekcot {
    background-color: #007CB3;
    padding: 1% 2%;
    color: #fff;
    border-radius: 50px;
    margin-top: 3%;
    font-size: 20px;
    border: 0;
    transition: background-color 0.5s ease;
}

.tekcot:hover {
    background-color: #fff;
    color: #007CB3;
}

.intserv {
    background-color: #F0F2F5;
    padding: 5%;
    font-family: 'Oswald', sans-serif;
}

.intserv h3 {
    font-size: 25px;
    text-align: center;
    margin-bottom: 3%;
    color: #5b5b5b;
}

.intserv h1 {
    margin: 5% 0% 2% 0%;
    text-align: center;
    font-family: 'Inria Serif', serif;
    color: #007CB3;
}

.intserv img {
    margin-bottom: 5%;
    max-width: 40%;
}

.card {
    height: 100%;
    padding: 5%;
    margin: 5%;
    width: 100%;
    border-bottom: 5px solid #007CB3;
}

.card-title {
    color: #007CB3;
}

.area {
    padding: 5% 0%;
}

.area h1 {
    margin: 5% 0%;
    text-align: center;
    font-family: 'Inria Serif', serif;
    color: #007CB3;
}

#galeria {
    margin: 1rem auto;
    width: 100%;
    max-width: 960px;
    padding: 0 20px 20px;
    box-sizing: border-box;
    column-count: 3;
    /* Espacio entre columnas */
    -moz-column-gap: 20px;
    -webkit-column-gap: 20px;
    column-gap: 20px;
    /* Filete entre columnas */
    /*-moz-column-rule: 1px solid #bbb;
                -webkit-column-rule: 1px solid #bbb;
                column-rule: 1px solid #bbb;*/
}

#galeria header {
    -webkit-column-span: all;
    column-span: all;
}

article {
    background: #fff;
    border-radius: 5px;
    margin: 0 0 20px 0;
    text-align: center;
    max-width: 100%;
    filter: opacity(70%);
    /*Evitamos que se corte al cambiar de columna*/
    break-inside: avoid;
    page-break-inside: avoid;
}

.nav-tabs {
    border-bottom: 0px solid #dee2e6;
}

article img {
    width: 100%;
}

article:hover {
    transition: .5s ease;
    filter: opacity(100%);
}

figure {
    padding: 1rem;
    box-sizing: border-box;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    color: #00ADE4;
    border-bottom: 3px solid #00ADE4;
    background-color: transparent;
    font-family: 'Oswald', sans-serif;
}

.nav-link {
    font-size: 20px;
    border-bottom: 1px solid #dcdcdc;
    color: #474747;
}

.footer {
    background-color: #007CB3;
    padding: 1% 0% 1% 0%;
    font-family: 'Oswald', sans-serif;
    color: #fff;
    text-align: center;
}

.contacto h2 {
    text-align: center;
    font-size: 35px;
    padding-bottom: 5%;
}

.contacto {
    background-color: transparent;
    margin-top: 3%;
}

.formulario {
    background-color: #fff;
    box-shadow: 0px 0px 10px #f3f3f3;
    border-radius: 5px;
}

.cuadrito {
    height: 230px;
    padding: 19px 30px;
    background-color: #f8f8f8;
    margin-top: 13px;
    margin-left: 5px;
    margin-right: -3px;
    margin-bottom: 9%;
    font-family: 'DM Sans', sans-serif;
}

.formulario-cuadro {
    padding: 2rem;
    background: #f0f2f5;
    height: 100%;
    border-top-right-radius: .25rem;
    border-bottom-right-radius: .25rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.binfo {
    background-color: #ffffff;
    color: #000000;
    border-radius: 50px;
    padding: 2% 5%;
    font-size: 22px;
}

.binfo:hover {
    background-color: #fcf216;
    color: #000000;
}

.form-control {
    font-family: 'Inria Serif', serif;
    font-size: 1.1rem;
    line-height: 1.3;
    font-weight: 400;
    margin: 1% 0%;
}

.form-control>.mbr-iconfont {
    font-size: 1.375rem;
}

.form-control:hover,
.form-control:focus {
    box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 1px 0px, rgba(0, 0, 0, 0.07) 0px 1px 3px 0px, rgba(0, 0, 0, 0.03) 0px 0px 0px 1px;
    border-color: #103178 !important;
}

.form-control:-webkit-input-placeholder {
    font-family: 'Inria Serif', serif;
    font-size: 1.1rem;
    line-height: 1.3;
    font-weight: 400;
}

.form-control:-webkit-input-placeholder>.mbr-iconfont {
    font-size: 1.375rem;
}

.pregfre {
    padding: 5% 10% 5% 10%;
    background-color: #148cca;
    color: #fff;
}

.pregfre h1 {
    text-align: center;
    font-family: 'Inria Serif', serif;
    color: #fff;
}

.porele {
    padding: 5% 0%;
    font-size: 20px;
}

.porele img {
    max-width: 100%;
}

.porele h1 {
    text-align: center;
    font-family: 'Inria Serif', serif;
    color: #007CB3;
}

.continfo {
    padding: 5%;
    background-color: #F0F2F5;
    color: #007CB3;
    text-align: center;
    font-family: 'Inria Serif', serif;
}


/* Móviles en horizontal o tablets en vertical */

@media (max-width: 787px) {
    #galeria {
        columns: 2;
    }
}


/* Móviles en vertical */

@media (max-width: 758px) {
    #galeria {
        columns: 1;
    }
}