/*
Theme Name: Base
Theme URI: https://www.invbit.com
Author: Base
Author URI: https://www.invbit.com
Description: Base para Betheme
Template: betheme
Version: 1.6.2
*/


/*********************************\
              GENERAL
\*********************************/
.validate_email_against_bot {
    display: none
}

:root{
	--azul: #204169;
    --azulClaro: #12bef6;

    --white: #fff;

    --gradient: linear-gradient(90deg, #204169 50%, #12bef6);
}

a:hover {
    text-decoration: none;
}

.form-legal {
    font-size: 0.8em;
    line-height: 1.5em;
    opacity: .7;
    padding: 10px;
}

input[name=acceptance-279] + span {
    font-weight: 500;
}

#cmplz-document {
    max-width: 100%;
    padding: 40px 0;
}

.backGradient {
    background-image: url(/wp-content/themes/base/imagenes/fondo-puntos.png), var(--gradient);
    background-size: 100% auto;
    background-position: center center;
    background-repeat: repeat-y;
    color: var(--white);
}

.backGradient p,
.backGradient h1,
.backGradient h2,
.backGradient h3,
.backGradient h4,
.backGradient h5,
.backGradient h6 {
    color: var(--white);
}

.backTexture:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: .2;
    background: url(/wp-content/themes/base/imagenes/texturaFondo.jpg) no-repeat center center/cover;
    background-attachment: fixed;
}

.backVector:after {
    background-image: url(/wp-content/themes/base/imagenes/vector.svg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    content: "";
    position: absolute;
    top: 0;
    left: -10%;
}

.backFormasHoriz:after {
    background: url(/wp-content/themes/base/imagenes/formas-horizontal.svg) center 65%/contain no-repeat;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.backFormasVert:after {
    background: url(/wp-content/themes/base/imagenes/formas-left.svg) left bottom/contain no-repeat,
                url(/wp-content/themes/base/imagenes/formas-right.svg) right center/contain no-repeat;
    content: "";
    position: absolute;
    bottom: -40px;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

@media only screen and (min-width: 768px) {
    .backVector:after {
        width: 50%;
        height: 100%;
    }

}

@media only screen and (max-width: 767px) {
    .backVector:after {
        width: 80%;
        height: 70%;
    }

    .column_attr.align_right {
        text-align: left;
    }
}

@media only screen and (max-width: 500px) {
    .backFormasVert:after {
        background: url(/wp-content/themes/base/imagenes/formas-left.svg) left bottom/contain no-repeat;
    }
}

/*********************************\
               MENÚ
\*********************************/
#Subheader:before {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: .6;
    background: url(/wp-content/themes/base/imagenes/texturaFondo.jpg) center center/cover no-repeat;
}

.home #Top_bar:not(.is-sticky) #logo {
    opacity: 0;
    pointer-events: none; 
    cursor: default;
}

.home #Content {
    margin-top: -91px;
}

@media only screen and (min-width: 1240px) {
    #Top_bar .menu_wrapper {
        position: absolute;
        left: 0;
        right: 0;
        margin: 0 auto;
        width: max-content;
    }

    .home #Top_bar.is-sticky #logo img.logo-sticky {
        max-height: 35px!important;
    }
}


/*********************************\
              FOOTER
\*********************************/
#Footer .copyright img {
    max-width: 100%;
}


/*********************************\
              PORTADA
\*********************************/
.palabras p:not(:last-of-type):after {
    content: '\02605';
    font-size: .6em;
    vertical-align: text-bottom;
    padding: 0 6px;
}

.palabras p {
    display: inline-block;
    font-family: "Crimson Text",Helvetica,Arial,sans-serif;
    font-size: 20px;
    line-height: 25px;
    text-transform: uppercase;
}

.link-card {
    width: 32.333%!important;
    height: 470px;
    box-shadow: rgb(0, 0, 0, .25) 0 4px 4px;
}

.link-card .column {
    margin: 0;
}

.link-card .column_attr {
    position: absolute;
    width: 100%;
    height: 100%;
}

.link-card a {
    position: absolute;
    width: 100%;
    height: 100%;
    color: var(--white);
    transition: .5s ease-in-out;
}

.link-card a:hover {
    background-color: rgba(255,255,255,.1);
}

.link-card a * {
    color: var(--white);
}

.link-card a h2 {
    font-size: 75px;
    position: absolute;
    top: 40px;
    opacity: .14;
    transition: .5s ease-in-out;
}

.link-card a:hover h2 {
    opacity: .5;
    transform: translate(50px, 50px) scale(1.2);
}

.link-card a .text {
    position: absolute;
    bottom: 0;
    padding: 0 30px 15px;
    transition: .5s ease-in-out;
}

.link-card a:hover .text {
    transform: translate(0, -20px);
}

.link-card a .text p {
    font-size: 16px;
    line-height: 18px;
    font-weight: 500;
}

#datos-contacto:not(.backGradient) .one .column p {
    color: var(--azul);
}

#datos-contacto .logo-with-text:after {
    content: " CASTELAO ABOGADOS";
    font-weight: 500;
    letter-spacing: 3px;
    font-family: 'Crimson Text',Helvetica,Arial,sans-serif;
    font-size: 16px;
}

#datos-contacto .logo-with-text img {
    margin-right: 5px;
    max-width: 40px; 
    vertical-align: middle;
}

#datos-contacto .one .mcb-wrap-inner {
    display: flex;
    align-items: center;
}

#datos-contacto .one .mcb-wrap-inner > div:last-child {
    text-align: right;
}

.page-id-178 #datos-contacto .one .mcb-wrap-inner > div:last-child {
    text-align: left;
}

#datos-contacto:not(.backGradient) .one .mcb-wrap-inner > div:last-child a {
    font-weight: 700;
    color: var(--azul);
}

#datos-contacto.backGradient .one .mcb-wrap-inner > div:last-child a {
    font-weight: 700;
    color: var(--white);
}

#datos-contacto .one .mcb-wrap-inner > div:last-child a:hover {
    color: var(--azulClaro);
}

#datos-contacto .one .mcb-wrap-inner > div:last-child p {
    margin: 0;
    font-size: 20px;
}

.page-id-178 #datos-contacto .one .mcb-wrap-inner > div:last-child p{
    margin-bottom: 15px;
    font-size: 14px;
    text-align: center;
}

#datos-contacto .one .mcb-wrap-inner > div:last-child a[href^="tel:"] {
    font-size: 26px;
    line-height: 60px;
}

#datos-contacto .one .mcb-wrap-inner > div:last-child a[href^="mailto:"] {
    font-size: 17px;
    line-height: 19px;
}

#contacta {
    box-shadow: rgba(0,0,0,.12) 0 0 10px;
}

.desbordada .image_frame .image_wrapper {
    width: 100%;
    height: 100%;
    top: -25px;
    left: 20px;
    border-radius: 8px;
}

.desbordada .image_frame .image_wrapper img {
    height: 100%!important;
    object-fit: cover;
    object-position: center;
}

#confian .column_visual.one {
    border-bottom: solid 1px #e1e1e1;
    color: #333;
    letter-spacing: 3px;
}

#confian .slick-slide img {
    width: auto;
    max-height: 100%;
}

#confian .client_wrapper {
    background: transparent;
}

@media only screen and (min-width: 1239px) {
    .home .desbordada .image_frame {
        width: 40%!important;
        height: 600px!important;
    }
}

@media only screen and (min-width: 960px) and (max-width: 1239px) {
    .link-card {
        height: 365px;
    }

    .link-card a h2 {
        font-size: 60px;
    }

    .link-card a:hover h2 {
        transform: translate(30px, 40px) scale(1.2);
    }
}

@media only screen and (min-width: 768px) and (max-width: 959px) {
    .link-card {
        height: 270px;
    }

    .link-card a h2 {
        font-size: 45px;
    }

    .link-card a:hover h2 {
        transform: translate(30px, 20px) scale(1.2);
    }

    .link-card a .text {
        padding: 0 15px 5px;
    }

    .link-card a .text h3 {
        font-size: 20px;
        margin-bottom: 5px;
    }

    .link-card a .text p {
        font-size: 10px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1239px) {
    .desbordada .image_frame {
        top: 50px;
    }
}

@media only screen and (min-width: 768px) {
    .link-card:not(.last) {
        margin-right: 1%;
    }

    .desbordada .image_frame {
        position: absolute;
        width: 60%;
        height: 450px;
        top: 120px;
        left: 50%;
    }

    .home .desbordada .image_frame {
        position: absolute;
        width: 50%;
        height: 100%;
        top: 20px;
        left: 55%;
    }

    .desbordada .image_frame .image_wrapper {
        position: absolute;
    }
}

@media only screen and (max-width: 767px) {
    .home #datos-contacto {
        padding-top: 60px;
    }

    #datos-contacto .logo-with-text:after {
        content: none;
    }
    
    #datos-contacto .logo-with-text img {
        max-width: 100px; 
    }

    #datos-contacto .link-card {
        width: 90%!important;
        margin: 30px 5% 0!important;
        height: 90vw;
        max-height: 500px;
    }

    #datos-contacto > .section_wrapper:last-child {
        padding: 0!important
    }

    .link-card a h2 {
        font-size: 12vw;
    }

    #datos-contacto .one .mcb-wrap-inner {
        display: block;
    }

    #datos-contacto .one .mcb-wrap-inner>div {
        text-align: center!important;
    }

    #datos-contacto .one .mcb-wrap-inner>div:last-child {
        padding-bottom: 40px;
    }
}

@media only screen and (max-width: 500px) {
    .palabras {
        padding: 0 0 40px;
    }
    
    .palabras p:not(:last-of-type):after {
        padding: 6px 0;
        display: block;
    }
    
    .palabras p {
        display: block;
        margin: 0;
    }
}

@media only screen and (max-width: 767px) and (min-width: 400px) { 
    #confian {
        padding-top: 150px!important;
    }
}

/*********************************\
         PÁGINAS INTERNAS
\*********************************/
/* SERVICIOS */
.servicio-card {
    padding: 40px;
    text-align: center;
    box-shadow: rgb(0,0,0,.12) 0 0 10px;
    margin: 0 2% 60px!important;
    width: 46%!important;
    background: var(--white);
}

/* CONTACTO */
#direcciones-contacto {
    text-align: center;
}

#direcciones-contacto .logo {
    margin-bottom: 0;
}

#direcciones-contacto .logo img {
    max-width: 120px;
}

#direcciones-contacto .logo-with-text {
    font-size: 30px;
    line-height: 45px;
    font-family: 'Crimson Text',Helvetica,Arial,sans-serif;
    letter-spacing: 3px;
}

#direcciones-contacto .palabras {
    margin: 30px 0 15px;
}

#direcciones-contacto .mcb-wrap-inner .column:first-of-type {
    margin-bottom: 0;
}

#direcciones-contacto .mcb-wrap-inner .column:last-of-type {
    font-weight: 100;
}

/* BLOG */
.blog #Content {
    position: relative;
    padding: 80px 0 0;
}

.blog #Content:before,
.blog #Content:after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.blog #Content:before {
    background: url(/wp-content/themes/base/imagenes/formas-horizontal.svg) center 10%/contain no-repeat;
}

.blog #Content:after {
    background: url(/wp-content/themes/base/imagenes/formas-horizontal.svg) center 15%/contain no-repeat;
    transform: rotate(170deg);
}

.blog #Content .section_wrapper {
    z-index: 5;
}

.blog #Content .post-item,
#publicaciones .icon_box {
    box-shadow: rgb(0,0,0,.1) 1px 1px 5px;
}

.blog #Content .post-item .post-desc-wrapper,
#publicaciones .icon_box .desc_wrapper {
    padding: 25px;
}

.blog #Content .post-item .post-desc-wrapper .post-excerpt .big {
    font-size: 14px;
    line-height: 20px;
} 

.pager .pages {
    background-image: none;
}

.pager .page:not(.active):hover {
    background-color: var(--azulClaro);
}

.pager > a {
    color: var(--azul);
}

.pager > a:hover {
    color: var(--azulClaro);
}

/* NOTICIA INDIVIDUAL */
.single .section-post-related {
    background: rgba(0,0,0,.02);
    padding: 40px 0 20px;
    margin-top: 60px;
}

.single .section-post-related .section-related-adjustment {
    border-top-width: 0;
}

.single .section-post-related .section-related-adjustment > h4 {
    text-align: center;
    font-size: 30px;
    line-height: 38px;
    padding-bottom: 20px;
}

.single .section-post-related .button {
    background-color: var(--azul);
}

.single .section-post-related .button:hover {
    background-color: var(--white);
    border-color: var(--azul);
}

/* PUBLICACIONES */
#publicaciones .icon_box {
    margin: 0 1%;
    padding: 0;
    background: var(--white);
}

#publicaciones .icon_box .desc_wrapper {
    text-align: left;
}

/* Textos legales */
.page-id-209 h2 {
    font-size: 22px;
    text-align: left;
    margin-top: 15px;
    text-transform: initial;
    padding-bottom: 10px;
    border-bottom: 1px solid #c6c6c6;
    margin-bottom: 10px;
}

.page-id-209 p {
    font-size: 14px;
    margin-top: 0;
}

.page-id-209 ul {
    list-style: disc;
    margin-left: 15px;
    margin-bottom: 15px;
    color: #737E86;
}

