﻿.at-textBlock {
    margin-top: 0;
    margin-bottom: var(--mbase-spacer-xl);
    padding: var(--mbase-spacer-lg);
    border-radius: var(--mbase-brdr-radius-sm);
    box-shadow: var(--mbase-nice-box-shadow);
    border: 1px solid var(--mbase-clr-brdr-light);
}

.at-textBlock.at-textBlock--has-backgroundColor {
    border: 0;
}

.at-textBlock.at-textBlock--has-backgroundColor.at-textBlock--has-backgroundColor--clr1 {
    background-color: var(--mbase-clr-primary);
}

.at-textBlock--has-backgroundColor .at-textBlock.at-textBlock--has-backgroundColor.at-textBlock--has-backgroundColor--clr1 {
    color: var(--mbase-clr-primary-textcolor);
}

.at-textBlock.at-textBlock--has-backgroundColor.at-textBlock--has-backgroundColor--clr1 .at-textBlock__content {
    color: var(--mbase-clr-primary-textcolor);
}

.at-textBlock.at-textBlock--has-backgroundColor.at-textBlock--has-backgroundColor--clr1 .at-textBlock__content a,
.at-textBlock.at-textBlock--has-backgroundColor.at-textBlock--has-backgroundColor--clr1 .at-textBlock__content ul li,
.at-textBlock.at-textBlock--has-backgroundColor.at-textBlock--has-backgroundColor--clr1 .at-textBlock__content ul li li {
    color: var(--mbase-clr-primary-textcolor);
}

.at-textBlock.at-textBlock--has-backgroundColor.at-textBlock--has-backgroundColor--clr1 .at-textBlock__title {
    color: var(--mbase-clr-primary-textcolor);
}

.at-textBlock.at-textBlock--has-backgroundColor.at-textBlock--has-backgroundColor--clr1 .at-textBlock__button {
    border-color: var(--mbase-clr-primary-textcolor);
    color: var(--mbase-clr-primary-textcolor);
}

.at-textBlock.at-textBlock--has-backgroundColor.at-textBlock--has-backgroundColor--clr1 .at-textBlock__button.at-textBlock__button--filled {
    background-color: var(--mbase-clr-primary-textcolor);
    color: var(--mbase-clr-primary);
    border-color: var(--mbase-clr-primary-textcolor);
}

.at-textBlock.at-textBlock--has-backgroundColor.at-textBlock--has-backgroundColor--clr2 {
    background-color: var(--mbase-clr-secondary);
}

.at-textBlock--has-backgroundColor .at-textBlock.at-textBlock--has-backgroundColor.at-textBlock--has-backgroundColor--clr2 {
    color: var(--mbase-clr-secondary-textcolor);
}

.at-textBlock.at-textBlock--has-backgroundColor.at-textBlock--has-backgroundColor--clr2 .at-textBlock__content {
    color: var(--mbase-clr-secondary-textcolor);
}

.at-textBlock.at-textBlock--has-backgroundColor.at-textBlock--has-backgroundColor--clr2 .at-textBlock__content a,
.at-textBlock.at-textBlock--has-backgroundColor.at-textBlock--has-backgroundColor--clr2 .at-textBlock__content ul li,
.at-textBlock.at-textBlock--has-backgroundColor.at-textBlock--has-backgroundColor--clr2 .at-textBlock__content ul li li {
    color: var(--mbase-clr-secondary-textcolor);
}

.at-textBlock.at-textBlock--has-backgroundColor.at-textBlock--has-backgroundColor--clr2 .at-textBlock__title {
    color: var(--mbase-clr-secondary-textcolor);
}

.at-textBlock.at-textBlock--has-backgroundColor.at-textBlock--has-backgroundColor--clr2 .at-textBlock__button {
    border-color: var(--mbase-clr-secondary-textcolor);
    color: var(--mbase-clr-secondary-textcolor);
}

.at-textBlock.at-textBlock--has-backgroundColor.at-textBlock--has-backgroundColor--clr2 .at-textBlock__button.at-textBlock__button--filled {
    background-color: var(--mbase-clr-secondary-textcolor);
    color: var(--mbase-clr-secondary);
    border-color: var(--mbase-clr-secondary-textcolor);
}

.at-textBlock.at-textBlock--has-backgroundColor.at-textBlock--has-backgroundColor--clr3 {
    background-color: var(--mbase-clr-tertiary);
}

.at-textBlock--has-backgroundColor .at-textBlock.at-textBlock--has-backgroundColor.at-textBlock--has-backgroundColor--clr3 {
    color: var(--mbase-clr-tertiary-textcolor);
}

.at-textBlock.at-textBlock--has-backgroundColor.at-textBlock--has-backgroundColor--clr3 .at-textBlock__content {
    color: var(--mbase-clr-tertiary-textcolor);
}

.at-textBlock.at-textBlock--has-backgroundColor.at-textBlock--has-backgroundColor--clr3 .at-textBlock__content a,
.at-textBlock.at-textBlock--has-backgroundColor.at-textBlock--has-backgroundColor--clr3 .at-textBlock__content ul li,
.at-textBlock.at-textBlock--has-backgroundColor.at-textBlock--has-backgroundColor--clr3 .at-textBlock__content ul li li {
    color: var(--mbase-clr-tertiary-textcolor);
}

.at-textBlock.at-textBlock--has-backgroundColor.at-textBlock--has-backgroundColor--clr3 .at-textBlock__title {
    color: var(--mbase-clr-tertiary-textcolor);
}

.at-textBlock.at-textBlock--has-backgroundColor.at-textBlock--has-backgroundColor--clr3 .at-textBlock__button {
    border-color: var(--mbase-clr-tertiary-textcolor);
    color: var(--mbase-clr-tertiary-textcolor);
}

.at-textBlock.at-textBlock--has-backgroundColor.at-textBlock--has-backgroundColor--clr3 .at-textBlock__button.at-textBlock__button--filled {
    background-color: var(--mbase-clr-tertiary-textcolor);
    color: var(--mbase-clr-tertiary);
    border-color: var(--mbase-clr-tertiary-textcolor);
}

.at-textBlock__container {
    padding: var(--mbase-spacer);
}

.at-textBlock__header {
    display: flex;
    align-items: center;
    margin-bottom: var(--mbase-spacer-sm);
}

.at-textBlock__title {
    margin: 0;
    color: var(--mbase-clr-txt-body);
    font-size: var(--mbase-txtSize-4);
    font-weight: var(--mbase-txt-bold);
}

.at-textBlock__content {
    color: var(--mbase-clr-txt-body);
    font-size: var(--mbase-txtSize-6);
}

.at-textBlock__content :last-child {
    margin-bottom: 0;
}

.at-textBlock__button {
    transition: all 0.25s ease-in-out;
    border: 1px solid var(--mbase-clr-btn-brdr-80);
    background-color: transparent;
    height: var(--mbase-btn-default-height);
    border-radius: var(--mbase-btn-brdr-radius);
    font-weight: var(--mbase-txt-semibold);
    font-family: var(--mbase-fam-regular);
    font-size: var(--mbase-txtSize-6);
    color: var(--mbase-clr-link);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-inline: var(--mbase-spacer-reg);
    line-height: var(--mbase-lnHeight-xxs);
    text-decoration: none;
    margin-top: var(--mbase-spacer-reg);
}

.at-textBlock__button:hover {
    color: var(--mbase-clr-link-hover);
    border-color: var(--mbase-clr-btn-brdr-hover);
}

.at-textBlock__button span {
    line-height: var(--mbase-lnHeight-xxs);
}

.at-textBlock__button::after {
    display: none;
}

.at-textBlock__button::after {
    font-family: var(--mbase-fam-icon);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    text-decoration: none;
    text-transform: none;
    content: "\e004";
}

.at-textBlock__button::after {
    transition: all 0.25s ease-in-out;
    display: inline-block;
    margin-left: var(--mbase-spacer-xs);
}

.at-textBlock__button:hover::after {
    margin-left: var(--mbase-spacer-sm);
}

.at-textBlock__button.at-textBlock__button--filled {
    transition: all 0.25s ease-in-out;
    border: 1px solid var(--mbase-clr-btn-brdr-80);
    height: var(--mbase-btn-default-height);
    border-radius: var(--mbase-btn-brdr-radius);
    font-weight: var(--mbase-txt-semibold);
    font-family: var(--mbase-fam-regular);
    font-size: var(--mbase-txtSize-6);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-inline: var(--mbase-spacer-reg);
    line-height: var(--mbase-lnHeight-xxs);
    text-decoration: none;
    color: var(--mbase-clr-btn-textcolor);
    background-color: var(--mbase-clr-btn-bg);
    border-color: var(--mbase-clr-btn-brdr);
}

.at-textBlock__button.at-textBlock__button--filled:hover {
    color: var(--mbase-clr-link-hover);
    border-color: var(--mbase-clr-btn-brdr-hover);
}

.at-textBlock__button.at-textBlock__button--filled span {
    line-height: var(--mbase-lnHeight-xxs);
}

.at-textBlock__button.at-textBlock__button--filled::after {
    display: none;
}

.at-textBlock__button.at-textBlock__button--filled:hover {
    color: var(--mbase-clr-btn-textcolor);
    background-color: var(--mbase-clr-btn-bg-hover);
    border-color: var(--mbase-clr-btn-brdr-hover);
}

.at-textBlock__button.at-textBlock__button--filled::after {
    font-family: var(--mbase-fam-icon);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    text-decoration: none;
    text-transform: none;
    content: "\e004";
}

.at-textBlock__button.at-textBlock__button--filled::after {
    transition: margin 0.25s ease-in-out;
    display: inline-block;
    margin-left: var(--mbase-spacer-xs);
}

.at-textBlock__button.at-textBlock__button--filled:hover::after {
    margin-left: var(--mbase-spacer-sm);
}
