/*!
Theme Name: Mapa
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: mapa
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Mapa is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */


:root {
    --black: #050411;
    --black-2: #231F20;
    --blue: #11163F;
    --blue-dark: #131132;
    --grey-text: #4E5861;
    --grey: #B7B7B7;
    --line-light: #92A7AC;
    --line: #B3CACF;
    --purple: #440088;
    --green: #239D45;
    --skyblue: #159D9D;
    --rainbow-blue: #296FC5;
    --rainbow-cyan: #6ACADC;
    --rainbow-green: #6EC28F;
    --rainbow-orange: #E88357;
    --rainbow-purple: #6F5C92;
    --rainbow-red: #DD5D72;
    --rainbow-yellow: #F4DB08;
    --red: #D8117D;
    --white: #FFFFFF;
    --pink: #EB008B;
    --lato: 'Lato', serif;
    --kanit: 'Kanit', serif;
    --bs-btn-close-bg: url(/assets/navbar-toggler-icon.svg);
}

body {
    font-family: var(--lato);
    font-weight: 400;
}

main {
    margin-top: 105px;
}

.page-index {
    background-image: url(assets/background.svg);
    background-position: center bottom;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.page-servicios {
    background-position: center top;
}

.page-somos {
    background-image: url(assets/somos-bg.svg);
    background-position: center -12rem;
    background-repeat: no-repeat;
    background-size: 100%;
    background-attachment: scroll;
}

.page-somos main {
    margin: 12rem 0;
}

.page-blog {
    background: none;
    padding: 3rem 0 0;
}


.post {
    background-image: url(assets/bg-inicio.png);
    background-position: center top;
    background-size: cover;
    background-attachment: fixed;
}

.page-contacto {
    height: 100vh;
}

.page-contacto:before {
    content: "";
    display: block;
    opacity: .1;
    background-image: url(assets/bg-inicio.png);
    background-position: center top;
    background-size: cover;
    background-attachment: fixed;
    width: 100%;
    height: 200%;
    position: absolute;
    z-index: -2;
}

.page-contacto main {
    padding-bottom: 6px;
}

section {
    scroll-margin: 64px;
}

h1,
h2,
h3,
h4 {
    font-family: var(--kanit);
    font-weight: 600;
}

h2 {
    color: var(--grey-text);
    font-size: 24px;
    font-weight: 400;
}

.page-index h2:before {
    content: '';
    width: 20px;
    height: 20px;
    border-top: 7px solid var(--black-2);
    border-left: 7px solid var(--black-2);
    display: block;
    margin-bottom: 5px;
}

.servicios h2 {
    font-size: 48px;
}

.servicios h2:before,
.somos h2:before {
    display: none;
}

h3 {
    font-size: 16px;
    color: var(--grey-text);
    font-weight: 500;
    margin: 24px 0 16px;
}

.bg-purple {
    background: var(--purple)
}

.bg-red {
    background: var(--red)
}

.bg-red-opacity {
    background: rgba(216, 17, 125, .9)
}

.bg-blue {
    background: var(--blue)
}

.bg-blue-dark {
    background: var(--blue-dark)
}

.bg-pink {
    background: var(--pink)
}

.formulario {
    position: relative;
}

.formulario:after {
    content: "";
    display: block;
    z-index: -1;
    position: absolute;
    left: 16px;
    top: 16px;
    width: 100%;
    height: 100%;
}

.bg-blue-opacity {
    background: rgba(17, 22, 63, .9);
}

.formulario.bg-blue-opacity:after {
    background: rgba(216, 17, 125, .9);
}

.bg-pink-opacity {
    background: rgba(216, 17, 125, .8);
}

.formulario.bg-pink-opacity:after {
    background: rgba(17, 22, 63, .9);
}

.bg-white-gradient {
    background: rgba(255, 255, 255, .8);
    background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .8) 100%);
}

.bg-white-opacity {
    background: rgba(255, 255, 255, .9);
}

.bg-yellow {
    background: var(--rainbow-yellow);
}

.bg-grey {
    background: var(--grey-text);
}

.bg-green {
    background: var(--green);
}

.bg-orange {
    background: var(--rainbow-orange);
}

.bg-skyblue {
    background: var(--skyblue);
}

/* menu navbar */

.navbar {
    padding: 36px 0;
    background: white;
    transition: padding .2s ease-out;
}

.navbar-nav .nav-item {
    margin-right: 2rem;
}

.navbar.active {
    padding: 12px 0;
}

.formulario-cv .form-control {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    position: absolute;
    top: 0px;
    left: 1px;
    border-radius: 0px !important;
    border: none !important;
    line-height: 1.5;
    color: var(--bs-body-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.navbar-brand {
    background-image: url(assets/el-mapa-logo-header-dark.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 140px;
}

.page-contacto .navbar .navbar-brand,
.page-blog .navbar .navbar-brand,
.navbar.active .navbar-brand {
    background-image: url(assets/el-mapa-logo-header-dark.svg);
}

.navbar .nav-link {
    display: flex;
    justify-content: end;
    font-weight: 300;
}


.navbar .nav-link:hover:before {
    opacity: .5;
    margin: -16px;
    width: 10px;
    height: 10px;
}

.navbar .nav-link.active:before {
    opacity: 1;
    margin: -16px;
    width: 10px;
    height: 10px;
}

7Vv133oSpf .navbar-toggler {
    border: none;
    padding-top: 2px;
    padding-bottom: 2px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

div#v-pills-1:focus-visible {
    outline: none !important;
}

.navbar-toggler-icon {
    background-image: url(assets/navbar-toggler-icon.svg)
}

/* hero */

.bg-hero {
    width: 150%;
    margin-left: -50%;
    background: white;
}

.hero {
    position: relative;
    z-index: -1;
    background: white;
}

.hero .container {
    position: absolute;
    z-index: 1;
    top: 5vh;
    margin: 0 auto;
    left: 0;
    right: 0;
    height: 100%;
    display: flex;
    align-items: start;
}

.hero .logo {
    height: 125px;
}

.hero .link-hero {
    display: none;
}

/* somos */

.mt-n-10 {
    margin-top: -10rem !important;
}

.section-somos .article {
    position: relative;
}

.section-somos .article p {
    position: relative;
    z-index: 1;
}

.section-somos .article .romboid-shape-bg {
    display: none
}

.lead {
    font-size: 28px;
    line-height: 32px;
    font-weight: 500;
}

.article-equipo .lead {
    font-size: 18px;
    line-height: 21px;
    margin-bottom: 19px;
}

.link {
    text-decoration: none;
    font-weight: 600;
}

.link:after {
    content: '';
    width: 100%;
    height: 2px;
    background: var(--white);
    margin-top: 2px;
    display: block;
}

.link-underline-pink:after {
    background: var(--pink);
}

.text-light {
    color: var(--white)
}

.text-grey {
    color: var(--grey-text)
}

.text-purple {
    color: var(--purple)
}

.page-index article p {
    line-height: 1.3rem;
    font-size: 19px;
    font-weight: 300;
    margin-bottom: 50px;
}

.page-index article p strong {
    font-weight: 600
}

/* blog */

.page-index .blog .figure {
    max-height: 162px;
}

.page-index .blog h3 {
    color: var(--pink);
    font-size: 33px;
}

.page-index .blog time {
    color: var(--grey);
    margin-bottom: 12px;
    font-size: 12px;
}

.page-index .blog p {
    font-size: 13px;
    line-height: 16px;
}

/* footer */

.footer {
    background: var(--black);
}

.footer a {
    text-decoration: none
}

.footer h4 {
    font-size: 20px;
    margin-bottom: 18px;
    font-weight: 500
}

.footer ul li {
    margin-bottom: 4px;
    font-size: 18px;
}

/* utilities */

.vh-75 {
    height: 75vh
}

figure,
.figure {
    margin: 0;
}

.line:after {
    content: '';
    width: 100%;
    height: 1px;
    background: var(--grey-text);
    margin: 10px 0;
    display: block;
    opacity: .5;
}

.mt-n-6 {
    margin-top: -6rem;
}

.my-n-10 {
    margin-top: -9rem;
}

/* shapes */

.cross {
    height: 30px;
    position: relative;
    width: 6px;
    margin-left: 12px;
}

.cross:after {
    content: "";
    height: 6px;
    left: -12px;
    position: absolute;
    top: 12px;
    width: 30px;
}

.cross.cross-red,
.cross.cross-red:after,
.romboid.romboid-red * {
    background: var(--red);
}

.cross.cross-purple,
.cross.cross-purple:after,
.romboid.romboid-purple * {
    background: var(--purple);
}

.cross.cross-cyan,
.cross.cross-cyan:after,
.romboid.romboid-cyan * {
    background: rgba(21, 157, 157, 1);
}

.cross.cross-green,
.cross.cross-green:after,
.romboid.romboid-green * {
    background: rgba(35, 157, 69, 1);
}

.cross.cross-blue,
.cross.cross-blue:after,
.romboid.romboid-blue * {
    background: rgba(41, 111, 197, 1);
}

.cross.cross-orange,
.cross.cross-orange:after,
.romboid.romboid-orange * {
    background: rgba(232, 131, 87, 1);
}

.romboid {
    position: relative;
    width: 190px;
    height: 90px;
}

.romboid * {
    position: absolute;
    width: 42px;
    height: 66px;
    transform: skewY(-30deg);
}

.romboid *:nth-child(1) {
    opacity: 1;
    right: 80%;
}

.romboid *:nth-child(2) {
    opacity: .95;
    right: 60%;
}

.romboid *:nth-child(3) {
    opacity: .90;
    right: 40%;
}

.romboid *:nth-child(4) {
    opacity: .85;
    right: 20%;
}

.romboid *:nth-child(5) {
    opacity: .80;
    right: 0;
}

/* desktop */

.header-servicios {
    padding: 6rem 1rem;
    background: url(assets/bg-servicios.png) center center no-repeat;
    background-size: cover;
}

.header-post {
    padding: 6rem 0;
}

.page-servicios .nav-pills .nav-link {
    text-align: left;
    color: var(--grey-text) !important;
    font-weight: 600;
    border-radius: 0;
    margin-bottom: 8px;
    align-items: start;
    display: flex;
    flex-direction: column;
}


.page-servicios .nav-pills .nav-link .romboid {
    position: relative;
    width: 41px;
    height: 33px;
    margin-bottom: 1rem;
    margin-top: 1rem;
}


.nav-pills .nav-link .romboid span {
    width: 18px;
    height: 33px;
    transform: skewY(-40deg);
    position: absolute;
    margin: 0 auto;
    left: 0;
    right: 0;
    z-index: 1;
}

.nav-pills .nav-link .romboid.pink span,
.nav-pills .nav-link .romboid.pink:before,
.nav-pills .nav-link .romboid.pink:after {
    background: rgba(216, 17, 125, .8);
}

.nav-pills .nav-link .romboid.purple span,
.nav-pills .nav-link .romboid.purple:before,
.nav-pills .nav-link .romboid.purple:after {
    background: rgba(68, 0, 136, .8);
}

.nav-pills .nav-link .romboid.cyan span,
.nav-pills .nav-link .romboid.cyan:before,
.nav-pills .nav-link .romboid.cyan:after {
    background: rgba(21, 157, 157, .8);
}

.nav-pills .nav-link .romboid.green span,
.nav-pills .nav-link .romboid.green:before,
.nav-pills .nav-link .romboid.green:after {
    background: rgba(35, 157, 69, .8);
}

.nav-pills .nav-link .romboid:before,
.nav-pills .nav-link .romboid:after {
    content: "";
    display: inline-block;
    width: 18px;
    position: absolute;
    height: 33px;
    transform: skewY(-40deg);
    display: none;
}

.nav-pills .nav-link .romboid:before {
    left: 0px;
    z-index: 0;
}

.nav-pills .nav-link .romboid:after {
    right: 0px;
    z-index: 2;
}

.nav-pills .nav-link.active {
    color: #4E5861;
    background: #ededed;
}

.icon-service:before {
    content: "";
    width: 52px;
    height: 8px;
    display: block;
    margin: 0 auto 8px;
}

.icon-service.pink:before {
    background: var(--pink)
}

.icon-service.purple:before {
    background: var(--purple)
}

/* file input */
.upload-border {
    width: 265px;
    position: relative;
    background: white;
    height: 36px;
    padding: 6px 16px;
    cursor: pointer;
}

input[type=file]::-webkit-file-upload-button {
    width: 0;
    padding: 0;
    margin: 0;
    -webkit-appearance: none;
    border: none;
    border: 0px;
    visibility: hidden;
    cursor: pointer;
}

::-webkit-file-upload-button,
input[type=file]:after {
    content: 'Subir';
    background: var(--blue);
    color: white;
    padding: 5px 26px;
    position: absolute;
    right: 0;
    height: 100%;
    top: 0;
    cursor: pointer;
}

.page-blog .article {
    position: relative;
    height: 95%;
    width: 95%;
    padding: 2rem;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 300px;
    align-items: start;
}

.page-blog .article h2:before {
    display: none
}

.page-blog .article .article-image {
    position: absolute;
    width: 220px;
    height: 215px;
    overflow: hidden;
    bottom: -6%;
    right: -3%;
}

.page-blog .article .article-image img {
    object-fit: cover;
    height: 100%;
    margin: 0 auto;
}

.form-label {
    color: var(--white);
    margin-bottom: .2rem;
    font-size: 1.2rem;
}

.btn-submit {
    background: var(--pink);
    color: var(--white);
    border: none;
    padding: .9rem 1.5rem;
    margin-left: auto;
    font-size: 1.2rem;
}






@media (max-width: 500px) {
    .page-servicios .nav-pills .nav-link {
        width: 100%;
    }

    .icon-service img {
        width: 60px;
    }
}
@media (min-width: 501px) {
    .upload-border {
    width: 315px;
}
}
@media (min-width: 1200px) {

    main {
        margin-top: 0;
    }

    .navbar {
        background-color: transparent;
        box-shadow: none !important;
    }

    .navbar .nav-link,
    .navbar .nav-link.active {
        color: white
    }

    .blog .navbar,
    .navbar.active {
        background: white;
    }

    .page-contacto .navbar .nav-link,
    .page-blog .navbar .nav-link,
    .navbar.active .nav-link {
        color: black
    }

    .navbar-brand {
        background-image: url(assets/el-mapa-logo.svg);
    }

    .navbar .nav-link {
        justify-content: center;
    }

    .navbar .nav-link:before {
        content: '';
        width: 0px;
        height: 10px;
        border: 1px solid white;
        display: block;
        border-radius: 50%;
        margin: 0 auto;
        opacity: 0;
        position: absolute;
        background: var(--pink);
        transition: all .3s ease;
    }

    .hero {
        height: 150vh;
    }

    .hero .container {
        top: 20vh;
    }

    .bg-hero {
        width: 100%;
        margin-left: 0;
    }

    .hero .logo {
        height: 350px;
    }

    .hero .lead {
        font-size: 56px;
        line-height: 64px;
    }

    .hero .link-hero {
        display: flex;
        flex-direction: column;
        font-size: 22px;
        font-weight: 800;
        text-align: left;
        color: white;
        text-decoration: none;
        margin-left: auto;
        align-items: end;
        line-height: 22px;
        padding: 0;
    }

    .hero .link-hero:after {
        content: '';
        background-image: url(assets/arrow.svg);
        background-repeat: no-repeat;
        background-position: bottom right;
        display: block;
        width: 74px;
        height: 74px;
        background-size: contain;
        margin-top: 28px;
    }

    .section-somos {
        margin-top: -12.2rem !important;
    }

    .section-somos .lead {
        font-size: 54px;
        line-height: 64px;
    }

    .section-somos .article {
        background-color: transparent;
    }

    .section-somos .article .romboid-shape-bg {
        display: block;
        position: absolute;
        width: 100%;
        height: 100%;
        transform: skewY(-5deg);
        top: 0;
        z-index: 0;
    }

    .section-somos .article:first-of-type .romboid-shape-bg {
        left: 5%;
    }

    .section-somos .article:last-of-type .romboid-shape-bg {
        right: 5%;
    }

    .blog p {
        font-size: 18px;
        line-height: 20px;
        margin-bottom: 16px;
    }

    .blog a {
        font-size: 18px;
    }


    .page-index .blog .figure {
        max-height: 445px;
        object-fit: cover;
    }

    .page-index .blog .figure img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* or contain */
    }

    .page-index .blog time {
        font-size: 16px;
    }

    .page-index .blog h3 {
        font-size: 46px;
    }

    .article-equipo {
        margin-top: -10rem;
        position: relative;
        opacity: .9;
    }

    .somos .article-equipo {
        margin-top: -12rem;
    }

    .article-equipo .lead {
        font-size: 31px;
        line-height: 36px;
    }

    .somos main {
        padding-top: 16rem;
        padding-bottom: 24rem;
    }

    .header-servicios {
        padding: 12rem 0 6rem;
    }

    .page-servicios .nav-pills .nav-link {
        padding: 1.4rem;
        align-items: center;
        flex-direction: row;
        /* padding-left: 20%; */
    }


    .page-servicios .nav-pills .nav-link .romboid {
        margin-right: 16px;
        margin-left: 6rem;
        margin-bottom: 0;
        margin-top: 0;
    }


    .page-servicios .nav-pills .nav-link .romboid:before,

    .page-servicios .nav-pills .nav-link .romboid:after {
        display: block;
    }

    .header-post {
        padding: 12rem 0 6rem;
    }

}

.img-blog {
    width: 100%;
}
.img-blog-post {
width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog header h2 {
    font-size: 2rem;
}

@media (min-width: 992px) {
    .blog header h2 {
        font-size: 2rem;
    }
}

@media (min-width: 1200px) {
    .blog header h2 {
        font-size: 2rem;
    }
}
