/***************************************
* Body text & Permalink
****************************************/
html:not(.wp-toolbar) body {
    color:var(--bb-color-text);
    background:var(--bb-color-bg);
    font-family:var(--bb-font-primary);
    font-size:var(--bb-size-body);
    line-height:1.5; font-weight:400;
}
a, button {
    color:var(--bb-color-permalink);
    transition:var(--bb-transition);
}

/* Permalink */
.mceContentBody a:not([class*="btn_"]),
.wpb_text_column a:not([class*="btn_"]) {
    font-size:var(--bb-size-18); text-decoration:underline; color:var(--bb-color-permalink);
}
.mceContentBody a:not([class*="btn_"]):hover,
.mceContentBody a:not([class*="btn_"]):focus,
.mceContentBody a:not([class*="btn_"]):active,
.wpb_text_column a:not([class*="btn_"]):hover,
.wpb_text_column a:not([class*="btn_"]):focus,
.wpb_text_column a:not([class*="btn_"]):active {
    color:var(--bb-color-permalink-highlight); outline:0;
}

/***************************************
* Headings
****************************************/
.mceContentBody h1, .mceContentBody h2, .mceContentBody h3, .mceContentBody h4, .mceContentBody h5, .mceContentBody h6,
.main_content h1, .main_content h2, .main_content h3, .main_content h4, .main_content h5, .main_content h6,
.main_content .heading_1, .main_content .heading_2, .main_content .heading_3, .main_content .heading_4, .main_content .heading_5, .main_content .heading_6,
.heading_1, .heading_2, .heading_3, .heading_4, .heading_5, .heading_6 {
    color:var(--bb-color-heading);
    margin-bottom:var(--bb-spacing-heading);
    font-family:var(--bb-font-secondary);
    line-height:1.25;
    font-weight:700;
}
.mceContentBody h1, .main_content h1, .main_content .heading_1, .heading_1 {font-size:var(--bb-size-h1); line-height:1; font-weight:900;}
.mceContentBody h2, .main_content h2, .main_content .heading_2, .heading_2 {font-size:var(--bb-size-h2); line-height:1.17;}
.mceContentBody h3, .main_content h3, .main_content .heading_3, .heading_3 {font-size:var(--bb-size-h3); line-height:1.13}
.mceContentBody h4, .main_content h4, .main_content .heading_4, .heading_4 {font-size:var(--bb-size-h4);}
.mceContentBody h5, .main_content h5, .main_content .heading_5, .heading_5 {font-size:var(--bb-size-h5);}
.mceContentBody h6, .main_content h6, .main_content .heading_6, .heading_6 {font-size:var(--bb-size-h6);}

/* override classes display block to respect line height */
h1 [class*="heading_"],
h2 [class*="heading_"],
h3 [class*="heading_"],
h4 [class*="heading_"],
h5 [class*="heading_"],
h6 [class*="heading_"] {display:block;}

/***************************************
* Text format
****************************************/
/* White turns gray if is inside Editor */
body[class*="wp-editor"] {--bb-color-white:#ccc;}

/* Colors */
.txt_color_white {color:var(--bb-color-white);}
.txt_color_gray {color:#b1b1b1;}

/* Alignments */
.txt_group {display:inline-block;}
.txt_uppercase {text-transform:uppercase;}
.txt_subtitle {font-size:var(--bb-size-18); font-weight:500; color:var(--bb-color-primary);}
.txt_70px {font-size:var(--bb-size-70);line-height:0.97;}

/***************************************
* Buttons
****************************************/
a.btn_primary {}
a.btn_primary_arrow {}

/* button primary */
[class*="btn_primary_arrow"]:after {
    content:"\e92f";
    font-family:var(--bb-font-icomoon); font-size:8px; line-height:1; font-weight:600;
    width:auto; height:auto;
    color:var(--btn-color); background:transparent; border:none;
    transition:var(--bb-transition);
}

[class*="btn_primary"] {
    --btn-bg-color:var(--bb-color-primary); --btn-color:var(--bb-color-on-primary);
    --btn-bg-color-hover:var(--bb-color-brown); --btn-color-hover:var(--bb-color-on-primary);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:5px 10px;
    text-align:center;
    text-decoration:none;
    font-size:16px;
    font-family:var(--bb-font-third);
    font-weight:500;
    line-height:1.3;
    background:var(--btn-bg-color);
    color:var(--btn-color);
    padding:5px 28px;
    min-height:53px;
    min-width:160px;
    border-radius:27px;
}

a.btn_primary:hover:after {
    color:var(--btn-color-hover);
}
[class*="btn_primary"]:hover, [class*="btn_primary"]:focus {
    text-decoration:none;
    background:var(--btn-bg-color-hover); color:var(--btn-color-hover);
}

/***************************************
* List
****************************************/
/* Default unordered list for text block */
.mceContentBody ul,
.wpb_text_column ul {list-style:none; margin:0;}
.wpb_text_column ul ul {padding-top:15px;}

.mceContentBody ul:not(:last-child),
.wpb_text_column ul:not(:last-child) {margin-bottom:var(--bb-spacing-paragraph);}

.mceContentBody ul > li,
.wpb_text_column ul > li {padding:0 0 0 20px; position:relative;}

.mceContentBody ul > li:not(:last-child),
.wpb_text_column ul > li:not(:last-child) {margin-bottom:15px;}

.mceContentBody ul > li:before,
.wpb_text_column ul > li:before {
    content:""; position:absolute; top:.5em; left:0;
    width:4px; height:4px; border-radius:50px;
    background:var(--bb-color-primary); border:1px solid var(--bb-color-primary);
}

.mceContentBody ul ul > li:before,
.wpb_text_column ul ul > li:before {background:#fff;}

ul.custom_ul {list-style:none; margin:0; padding-top:16px;}
ul.custom_ul:not(:last-child) {margin-bottom:var(--bb-spacing-paragraph);}
ul.custom_ul > li {padding:0 0 0 23px;position:relative;}
ul.custom_ul > li:not(:last-child) {margin-bottom:23px;}
ul.custom_ul > li:before {
    position:absolute; top:7px; left:0;
    content:"\e92f";
    font-family:var(--bb-font-icomoon); font-size:8px;
    color:var(--bb-color-primary);
    width:auto; height:auto;
    background:transparent;
    border:none;
}

/***************************************
* Paragraph
****************************************/
.mceContentBody p:not(:last-child), .main_content p:not(:last-child) {margin-bottom:var(--bb-spacing-paragraph);}