@charset "utf-8";

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


/* Variables */

:root {
    --verde-oscuro: #39532b;
    --verde-claro: #4f6620;
}


/* Estilos generales */

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #333333;
    background-color: #faf8f5;
}

.btn {
    white-space: normal !important;
}

#inicio {
    height: calc(100vh - 90px);
    position: relative;
}


/* #contenidoLogo {
    position: absolute;
    left: 0%;
    top: 0;
    width: 38%;
    border-right: 40vh solid transparent;
    border-top: 100vh solid white;
    z-index: 100;
} */

#contenidoLogo {
    /*Chrome,Safari*/
    clip-path: polygon(0px 100vh, 50% 100vh, 100% 0px, 0 0);
    -webkit-clip-path: polygon(0px 100vh, 50% 100vh, 100% 0px, 0 0);
    background-color: white;
    position: absolute;
    left: 0%;
    top: 0;
    width: 36%;
    height: 100vh;
    z-index: 20;
}

#contenidoLogo img {
    max-width: 60%;
    position: absolute;
    top: 20vh;
    left: 12%;
    width: 100%;
    height: auto;
}

#bgInicio {
    height: 100vh;
    width: 85%;
    margin-left: 15%;
    overflow: hidden;
}

#bgInicio a {
    position: absolute;
    z-index: 10;
    left: 50%;
    transform: translateX(-50%);
    top: 85vh;
    animation: abajo 2.5s infinite;
}

#img01 {
    background-image: url("../img/Plaza-Indepencia-1.jpg");
}

#img02 {
    background-image: url("../img/Presidencia.jpg");
}

#img03 {
    background-image: url("../img/Suprema-Corte-de-Jusitica-2.jpg");
}

#img04 {
    background-image: url("../img/Palacio-Legislativo.jpg");
}

#bannerImg01 {
    background-image: url("../img/bannerPlaza-Independecia.jpg");
}

#bannerImg02 {
    background-image: url("../img/bannerPresidencia.jpg");
}

#bannerImg03 {
    background-image: url("../img/bannerSuprema-Corte.jpg");
}

#bannerImg04 {
    background-image: url("../img/bannerPalacio-Legislativo.jpg");
}

#bannerImg01,
#bannerImg02,
#bannerImg03,
#bannerImg04 {
    height: 40vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#img01,
#img02,
#img03,
#img04 {
    height: 100vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@keyframes abajo {
    0% {
        transform: translate(-50%, 5px);
    }
    50% {
        transform: translate(-50%, -5px);
    }
    100% {
        transform: translate(-50%, 5px);
    }
}

#bgInicio a:hover {
    text-decoration: none;
}

#bgInicio img {
    max-width: 100%;
    max-height: 100%;
}

nav {
    height: 90px;
    width: 100%;
    padding: 0 30px !important;
    position: fixed !important;
    z-index: 9999;
    transition: .3s all;
}

#hamburger {
    border: none;
    outline: 0;
}

.bg-light {
    background-color: white !important;
}

nav ul li {
    margin: 0 10px;
}

.nav-link {
    cursor: pointer;
}

nav a {
    color: #666666 !important;
    font-size: 12px;
    transition: .2s all;
    font-weight: 600;
}

nav #navbarSupportedContent ul li:nth-last-child(1) a {
    font-size: 10px;
    transform: translateY(1px);
}

nav a:hover {
    color: var(--verde-claro) !important;
}

.dropdown-menu {
    left: 50%;
    transform: translateX(-50%);
}

.dropdown-item {
    font-weight: 600;
    padding: 10px 20px;
}

.dropdown-divider {
    width: calc(100% - 30px);
    margin: 0 15px;
}

.dropdown-item:hover {
    background-color: transparent !important;
}

.dropdown-item:active {
    background-color: transparent !important;
}

.dropdown-toggle::after,
.dropup .dropdown-toggle::after {
    display: none;
}

.dropdown-toggle i {
    font-size: 10px;
    margin-left: 5px;
}

#menuPagina {
    top: 0;
    transition: .3s all;
}

#menuInicio {
    position: absolute !important;
    top: calc(100vh - 90px);
    transition: .3s all;
}

.ocultarMenu {
    display: none;
}

main {
    padding-top: 90px;
    background-color: #faf8f5;
}

.contenedor {
    padding-left: 150px;
    padding-right: 150px;
    max-width: 1366px;
    margin: 0 auto;
}

section {
    padding: 0 !important;
}

h1 {
    color: white;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5046393557422969) 40%, rgba(0, 0, 0, 0.5018382352941176) 50%, rgba(0, 0, 0, 0.5046393557422969) 60%, rgba(0, 0, 0, 0) 100%);
    position: absolute;
    width: 100%;
    text-align: center;
    font-size: 28px !important;
    top: 60vh;
    text-shadow: 4px 0px 1px black;
    letter-spacing: 1px;
    z-index: 10;
    height: 70px;
    line-height: 70px;
}

h1,
h2 {
    font-family: 'Cinzel', serif;
}

#banner,
#bannerContacto,
#bannerNovedades,
#bannerTrabajar,
#bannerNuestroEquipo,
#bannerClientes,
#bannerInicio {
    background-image: url(../img/puerto.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 40vh;
    width: 100%;
    position: relative;
    padding: 0;
}

#bannerInicio {
    background-image: none;
}

#banner::after,
#bannerContacto::after,
#bannerNovedades::after,
#bannerTrabajar::after,
#bannerNuestroEquipo::after,
#bannerClientes::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .2);
    z-index: 1;
}

#bannerContacto::after,
#bannerTrabajar::after {
    background-color: rgba(0, 0, 0, .4);
}

#banner p,
#bannerContacto p,
#bannerNovedades p,
#bannerTrabajar p,
#bannerNuestroEquipo p,
#bannerClientes p {
    position: absolute;
    color: white;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    font-weight: 600;
    z-index: 2;
    text-align: center;
    width: 100%;
}

#notarial .contenedor,
#legal .contenedor,
#clientes .contenedor {
    margin-bottom: 100px;
}

#clientes {
    min-height: 40vh;
}

#clientes p {
    margin-bottom: 40px;
}

#legal p {
    text-align: justify;
}

footer {
    background-color: var(--verde-oscuro);
    width: 100%;
    color: white;
    font-size: 12px;
    border-bottom: 8px solid white;
}

footer .contenedor {
    display: flex;
    justify-content: space-between;
}

footer a,
footer span {
    color: white;
    text-decoration: none;
    padding: 10px 0;
}

footer a:hover {
    color: white;
}

footer i {
    width: 10px;
    background-color: #faf8f5;
    -webkit-transform: skew(-20deg);
    -moz-transform: skew(-20deg);
    -ms-transform: skew(-20deg);
    -o-transform: skew(-20deg);
    transform: skew(-20deg);
}

footer i.fi{
    background-color: transparent !important;
    font-style: normal !important;
    margin-right:  8px;
    transform: skew(0);
}

footer i.fi-phone.rotate{
    margin-right: 7px !important;
    transform: rotate(90deg);
}


/* Nuestra firma */

#nuestraFirma {
    padding: 90px 0 0 0 !important;
}

#nuestraFirma h2,
#novedades h2,
#seccionNovedades h2,
#nuestroEquipo h2 {
    margin-top: 200px;
    color: var(--verde-claro);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    border-bottom: 1px solid var(--verde-claro);
    padding-bottom: 15px;
}

#nuestraFirma h2 {
    margin-top: 0;
    padding-top: 60px;
}

#seccionNovedades article h2 {
    border: none;
}

#nuestroEquipo h2 {
    margin-top: 50px;
}

#novedades h2 {
    margin-top: 75px;
    padding-top: 75px;
    margin-bottom: 40px;
}

#nuestraFirma h2::after,
#novedades h2::after,
#seccionNovedades aside h2::after,
#nuestroEquipo h2::after,
#formTrabajo p::after {
    content: "";
    height: 1px;
    width: 30%;
    background-color: var(--verde-oscuro);
    position: absolute;
    bottom: -2px;
    left: 0;
}

#nuestraFirma p {
    margin-top: 40px;
    text-align: justify;
}

#bg-novedad-1,
#bg-novedad-2,
#bg-novedad-3 {
    width: 100%;
    height: 25vh;
    /*background-image: url(../img/43-2.jpg);*/
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center
}

#novedades {
    background-color: white;
    padding-bottom: 70px !important;
}

#contenedorNovedades {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 50px;
    row-gap: 25px;
}

#contenedorNovedades a {
    background-color: #faf8f5;
    position: relative;
    transition: .2s all;
    cursor: pointer;
    color: #333333;
}

#contenedorNovedades a p {
    padding-bottom: 30px;
}

#contenedorNovedades a button {
    background-color: transparent;
    border: 1px solid var(--verde-claro);
    cursor: pointer;
    margin-top: 10px;
}

#contenedorNovedades a:hover {
    background-color: var(--verde-claro);
    color: white;
    text-decoration: none;
}

#contenedorNovedades a:hover button {
    color: white;
    border-color: white;
}

#contenedorNovedades a:hover {
    background-color: var(--verde-claro);
}

#contenedorNovedades div:nth-child(2) {
    padding: 15px;
}

#contenedorNovedades h3 {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

#contenedorNovedades span {
    font-size: 12px;
}

#contenedorNovedades p {
    font-size: 13px;
    margin-top: 15px;
    padding-bottom: 15px;
}

.linkNovedad {
    color: #333333;
    transition: .2s all;
}

.linkNovedad:hover {
    color: white;
    background-color: var(--verde-claro);
}

.verMas {
    color: #666666;
    border: 1px solid #666;
    padding: 6px 10px;
    font-size: 14px;
    transition: .3s all;
    position: absolute;
    bottom: 10px
}

.linkNovedad:hover .linkNovedad article {
    background-color: var(--verde-claro);
}

.linkNovedad article:hover a {
    color: white;
    text-decoration: none;
}


/* Areas*/

#areas {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: center;
}

#areas a {
    font-family: 'Cinzel', serif;
    color: var(--verde-claro);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 25px 0;
    background-color: #faf8f5;
    outline: 0;
}

#areas a:focus {
    color: var(--verde-oscuro);
    border-bottom: 2px solid var(--verde-claro);
    background-color: white;
}

.acordeonAreas {
    background-color: #faf8f5;
    margin-top: 50px;
}

.acordeonAreas .card {
    background-color: #faf8f5;
    margin: 12px 0;
    border: none;
}

.acordeonAreas .card-header {
    background-color: #faf8f5;
    font-family: 'Cinzel', serif;
    position: relative;
}

.acordeonAreas .card-header::after {
    content: "";
    height: 1px;
    width: 30%;
    background-color: var(--verde-oscuro);
    position: absolute;
    bottom: -2px;
    left: 0;
    display: none;
}

.acordeonAreas .card button {
    color: var(--verde-oscuro);
    font-size: 14px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 0;
    transition: .2s all;
}

.acordeonAreas .card button span i {
    transform: translateY(6px);
    transition: .2s all;
}

.acordeonAreas .card button:focus {
    font-size: 16px;
}

.acordeonAreas .card button:focus span i {
    transform: rotate(90deg) translateX(7px);
}

.acordeonAreas .card button:not(:focus) span i {
    transform: rotate(0) translate(0, 4px);
}

.acordeonAreas .card-header:focus-within {
    border-bottom: 1px solid var(--verde-claro);
}

.acordeonAreas .card-header:focus-within::after {
    display: block;
}

#notarial p {
    padding: 60px 0;
    text-align: justify;
}


/* Nuestro equipo */

#bannerNuestroEquipo {
    background-image: url(../img/nuestroEquipo.jpg?1);
}

#nuestroEquipo p {
    margin: 40px 0;
    text-align: justify;
}


/* Clientes */

#bannerClientes {
    background-image: url(../img/clientes.jpg);
}

.listaClientes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 8px;
    font-weight: 600;
}


/* Novedades */

#bannerNovedades {
    background-image: url(../img/novedades.jfif);
}

#seccionNovedades .contenedor {
    display: grid;
    grid-template-columns: 1fr 2fr;
    column-gap: 30px;
}

#seccionNovedades .contenedor h2 {
    margin-top: 60px;
}

#seccionNovedades ul {
    list-style: none;
}

#seccionNovedades aside ul li {
    border-bottom: 1px solid var(--verde-claro);
    position: relative;
    padding: 20px 5px;
    transition: .2s all;
}

#seccionNovedades aside ul li:hover {
    background-color: var(--verde-claro);
    color: white;
}

#seccionNovedades aside ul li:hover a,
#seccionNovedades aside ul li:hover button {
    color: white;
    text-decoration: none;
    font-weight: lighter;
}

#seccionNovedades aside ul a {
    color: #333333;
}

#seccionNovedades aside ul a:hover {
    text-decoration: none;
}

#seccionNovedades aside ul a li a {
    color: #333333;
}

#seccionNovedades aside ul a li p {
    margin: 0;
    font-weight: 600;
}

#seccionNovedades aside ul a li span {
    font-size: 11px;
}

#seccionNovedades aside ul a li button {
    position: absolute;
    right: 10px;
    bottom: 10px;
    color: var(--verde-claro);
    border: none;
    outline: 0;
    cursor: pointer;
    background-color: transparent;
}

#seccionNovedades article {
    overflow: hidden;
    padding-bottom: 30px;
    order: 1;
}

#novedadBg {
    background-image: url(../img/11-3.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 40vh;
    margin: 20px 0;
}

#seccionNovedades article p:nth-of-type(1) {
    font-size: 14px;
    margin-top: 10px;
    text-align: justify;
}

.imgNovedad {
    max-width: 100%;
    width: 100%;
    margin-bottom: 10px;
}

#seccionNovedades article span {
    font-size: 12px;
}

#seccionNovedades article p:nth-of-type(2) {
    margin: 20px 0;
    text-align: justify;
}

#seccionNovedades article h3 {
    font-size: 22px;
    margin: 25px 0;
}

#seccionNovedades article ul li {
    margin: 15px 0;
}

#seccionNovedades article ul li a {
    color: #333333;
}

#seccionNovedades article ul li a img {
    margin-right: 10px;
}

.galeriaBg {
    height: 20vh;
    background-image: url(../img/600x800-2.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0 5px;
    position: relative;
}

.galeriaBg a {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* Trabajar */

#bannerTrabajar {
    background-image: url(../img/trabajar.jpg);
}

#formTrabajo {
    margin: 50px 0;
}

#formTrabajo p {
    text-align: center;
    margin-bottom: 65px;
    font-size: 16px;
    border-bottom: 1px solid var(--verde-claro);
    padding-bottom: 8px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

#formTrabajo form {
    width: 50%;
    margin: 0 auto;
}

#formContacto form input[type=text],
#formContacto form input[type=email],
#formContacto form textarea,
#formTrabajo form input[type=text],
#formTrabajo form input[type=email],
#formTrabajo form input[type=date] {
    border-radius: 0;
    outline: 0;
    transition: .2s all;
    resize: vertical;
}

#formTrabajo form input[type=radio] {
    margin-right: 20px;
}

#formContacto form textarea,
#formTrabajo form textarea {
    font-size: 12px;
}

#formContacto form input:active,
#formContacto form input:focus,
#formContacto form textarea:focus,
#formTrabajo form input:active,
#formTrabajo form input:focus,
#formTrabajo form textarea:focus {
    box-shadow: none;
    border-color: transparent;
    border-bottom: 2px solid var(--verde-claro);
}

#formContacto form input[type=submit],
#formTrabajo form input[type=submit] {
    color: #666666;
    background-color: transparent !important;
    border: 1px solid var(--verde-claro);
    padding: 8px 12px;
    font-size: 14px;
    transition: .3s all;
    border-radius: 0;
    letter-spacing: 1px;
}

#formContacto form input[type=submit]:hover,
#formTrabajo form input[type=submit]:hover {
    background-color: var(--verde-oscuro) !important;
    border-color: var(--verde-claro);
    color: white;
}


/* Contacto */

#contacto {
    padding-bottom: 55px !important;
}

#bannerContacto {
    background-image: url(../img/contacto.jpg);
    background-position: 0 65%;
}

#contacto .contenedor {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 60px;
    margin-top: 80px;
    padding-bottom: 60px;
}

#mapid {
    height: 70%;
    border: 1px solid var(--verde-claro);
}

#borde {
    display: none;
}

#contacto #datos {
    margin-top: 20px;
}

#contacto #datos a {
    color: #666666;
}

#contacto #datos a:hover {
    text-decoration: underline;
}

#contacto #datos i {
    margin-right: 8px;
    color: var(--verde-claro);
    font-size: 16px;
}

#contacto #datos div {
    margin: 15px 0;
}

#formContacto form div div:nth-child(1) {
    grid-area: nombre;
    width: 100%;
}

#formContacto form div div:nth-child(2) {
    grid-area: email;
    width: 100%;
}

#formContacto form div div:nth-child(3) {
    grid-area: areas;
    width: 100%;
}

#formContacto form div div:nth-child(4) {
    grid-area: mensaje;
    width: 100%;
}

#formContacto form input[type=submit] {
    width: 50%;
}

#contenedorForm {
    display: grid;
    grid-template-areas: "nombre email" "areas areas" "mensaje mensaje";
    column-gap: 30px;
}

.form-control,
textarea {
    border: 1px solid var(--verde-claro);
    font-size: 14px;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    background-color: transparent;
    height: auto;
}

.form-control:focus {
    background-color: transparent;
}

.alert {
    left: 50% !important;
    transform: translateX(-50%) !important;
}

.modal-header {
    display: none;
}

.modal-body h6 {
    margin: 0;
}


/* Responsive */

@media screen and (max-width: 1024px) {
    #bgInicio {
        width: 100%;
        margin-left: 0;
    }
    #contenidoLogo {
        position: absolute;
        left: 0%;
        top: 0;
        width: 100%;
        border-right: 0;
        border-top: 0;
        z-index: 100;
        height: 10vh;
        background-color: white;
        clip-path: polygon(0px 100vh, 100% 100vh, 100% 0px, 0 0);
        -webkit-clip-path: polygon(0px 100vh, 100% 100vh, 100% 0px, 0 0);
    }
    #contenidoLogo img {
        max-width: 100%;
        max-height: 100%;
        transform: scale(0.7);
        top: 0;
        left: 0;
    }
}

@media screen and (max-width: 990px) {
    .contenedor {
        padding-left: 100px;
        padding-right: 100px;
    }
    nav {
        height: auto !important;
        padding: 20px 50px !important;
    }
    #contenedorNovedades {
        column-gap: 30px;
    }
    .acordeonAreas .card button:focus {
        font-size: 16px;
    }
    #formTrabajo form {
        width: 70%;
    }
    #contacto .contenedor {
        grid-template-columns: 1fr;
    }
    #contacto #datos div:nth-child(3) {
        margin-bottom: 0;
    }
    #borde {
        display: block;
        width: 100%;
        height: 1px;
        background-color: var(--verde-oscuro);
        margin: 40px 0;
    }
    #mapid {
        height: 330px;
    }
    footer {
        font-size: 11px;
    }
    footer .contenedor a {
        grid-area: mail;
    }
    footer .contenedor i {
        grid-area: linea;
    }
    footer .contenedor span:nth-of-type(1) {
        grid-area: direccion;
    }
    footer .contenedor span:nth-of-type(2) {
        grid-area: ciudad;
    }
    footer .contenedor span:nth-of-type(3) {
        grid-area: telefono;
    }
    footer .contenedor {
        display: grid;
        grid-template-areas: "mail linea direccion" "ciudad linea telefono";
        column-gap: 30px;
        justify-items: center;
    }
}

@media screen and (max-width: 990px) {
    nav ul {
        margin-top: 30px;
    }
    nav ul li {
        margin: 5px 10px;
    }
    .dropdown-menu {
        left: 0;
        transform: translateX(0);
    }
}

@media screen and (max-width: 800px) {
    .contenedor {
        padding-left: 50px;
        padding-right: 50px;
    }
    #contenedorNovedades {
        grid-template-columns: 1fr 1fr;
        column-gap: 50px;
    }
    #seccionNovedades .contenedor {
        grid-template-columns: 1fr;
    }
    #seccionNovedades aside {
        order: 2;
    }
}

@media screen and (max-width: 500px) {
    nav {
        padding: 12px 20px !important;
        box-shadow: 0px -1px 8px 0px rgba(0, 0, 0, 0.5) !important;
        -webkit-box-shadow: 0px -1px 8px 0px rgba(0, 0, 0, 0.5) !important;
    }
    .contenedor {
        padding-left: 20px;
        padding-right: 20px;
    }
    #contenedorNovedades {
        grid-template-columns: 1fr;
    }
    #areas a {
        font-size: 16px;
    }
    .listaClientes {
        grid-template-columns: 1fr;
    }
    #formTrabajo form {
        width: 100%;
    }
    #footer .contenedor {
        grid-template-areas: "mail linea" "direccion linea" "ciudad linea" "telefono linea";
        justify-items: left;
    }
}

@media screen and (max-width: 380px) {
    #footer .contenedor {
        grid-template-areas: "mail" "direccion" "ciudad" "telefono";
    }
    nav {
        padding: 10px 20px !important;
    }
    nav img {
        height: 5vh;
    }
}

.tel-wpp .fi-mobile-alt{
    margin-right: 0 !important;
}