/* Custom CSS for Marco Fernández. Autor: Pablo Arias. Date: 2022-10-26 */

:root {
  --btn-border-radius: 3px;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6,
h2 a, h2 a:not([class]),
h3 a, h3 a:not([class]) {
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
}

input[type='checkbox'] {
    margin-right: .5em;
}

/* Header */
.container-header {
    background-color: #fff;
    background-image: none;
    box-shadow: 0px 0px 32px rgb(0 0 0 / 5%);
}

/* Back to top button */
.back-to-top-link {
    position: fixed;
}

/* Newsletter form */
.modnsproform {
    margin-bottom: 2em;
    max-width: 420px;
}

.modnsproform label {
    font-size: .9rem;
    margin: 1em 0;
}

.rsform div.formBody {
    float: none;
}

.formContainer input#Email {
    border: 1px solid hsl(0, 0%, 93.3%);
    display: block;
    font-size: 1rem;
    margin-top: 0.3rem;
    max-width: 100%;
    padding: 0.85rem 1.0665rem;
}

/* SP Page Builder */
body.com_sppagebuilder .container-component>*+* {
    margin-top: 0;
}
body.com_sppagebuilder .site-grid .container-component {
    grid-column-start: 1;
}
body.com_sppagebuilder .site-grid .container-component {
    grid-column-end: none;
}

/* Button Addon */
a.sppb-btn {
    border: 1px solid;
    border-radius: var(--btn-border-radius);
    cursor: pointer;
    font-family: primary-font;
    font-size: 0.8rem;  
    font-weight: 500;
    line-height: 1.5;
    padding: 1.05rem 2.133rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    user-select: none;
}
.sppb-btn.sppb-btn-primary {
    background-color: var(--primary-color);
    border-color: transparent;
    color: var(--light-color);
}
.sppb-btn.sppb-btn-primary:hover {
    background-color: var(--dark-primary-color);
    border-color: transparent;
    color: var(--light-color);
}
.sppb-btn.sppb-btn-link {
    background-color: var(--neutral-color-10);
    border-color: transparent;
    color: var(--primary-color);
}
.sppb-btn.sppb-btn-link:hover {
    color: var(--dark-primary-color);
}

/* Articles Addon */
.sppb-addon-articles a.sppb-article-img-wrap > img {
    border-radius: var(--btn-border-radius);
}
.sppb-addon-articles .sppb-article-info-wrap {
    margin-top: 1.6rem;
}
.sppb-addon-articles .sppb-article-info-wrap h3 {
    font-size: 20px;
    font-weight: bold;
}

/* Header Addon */
.letrero p {
    font-family: primary-font;
}

/* Sección Deja tu Email */
section#dejametuemail {
    overflow: hidden;
}

/* Servicios */
@media (min-width: 992px) {
    .detalles-servicio .sppb-media-content {
        display: flex;
        justify-content: space-between;
    }
}
.detalles-servicio .sppb-addon-content {
    padding-top: 12px;
    margin-top: 12px;
    border-top: 1px solid #eee;
}
.detalles-servicio .sppb-feature-box-title {
    font-size: 0.8rem;
    line-height: 1rem;
    margin: 5px 0;
}
.detalles-servicio .sppb-media>.pull-left {
    min-width: 18px;
}
blockquote {
    margin: 2rem 0 1rem;
    background-color: var(--gray-100);
    padding: 25px 20px 10px;
    border-left: 5px solid var(--cassiopeia-color-primary);
}
blockquote li {
    margin-bottom: 0.8rem;
}

/* Bottom-b para CTA déjame tu email */
.grid-child.container-bottom-b {
    grid-column-start: 1;
    grid-column-end: none;
}
.bottom-b.no-card.CTA {
    margin-bottom: 0;
    margin-top: 0;
}

/* Footer menu */
.footer {
    background-color: var(--neutral-color-60);
    background-image: linear-gradient(135deg,var(--neutral-color-70) 0,var(--neutral-color-80) 100%);
    font-family: primary-font;
    font-size: 0.75rem;
    margin-top: 0;
}

.footer .mod-menu {
    flex-direction: row;
    margin: 1em 0;
    gap: .5em 1em;
}

.footer a {
    color: var(--light-color);
}

.mod-footer {
    text-align: center;
}

body.com_sppagebuilder .footer {
    margin-top: 0px;
}

/* Responsive fixes */
@media (min-width: 768px) {
    .container-header {
        padding: 0 1em;
    }
    .com-content-category-blog__item {
        flex-direction: row-reverse;
    }
    .com-content-category-blog__items .item-content {
        width: 60%;
        margin-right: 2em;
    }
    .align-right {
        float: right;
        margin-bottom: 1em;
        margin-left: 1em;
        width: 50%;
    }
    .align-left {
        float: left;
        margin-bottom: 1em;
        margin-right: 1em;
        width: 50%;
    }
    .align-center {
        display: block;
        margin: 2em auto;
    }
}