/***************************************
* Body text & Permalink
****************************************/
html:not(.wp-toolbar) body {
    color:var(--twc-color-dark-gray);
    background:var(--twc-color-bg);
    font-family:var(--twc-font-primary);
    font-size:var(--twc-size-body);
    line-height:1.4; font-weight:normal;
}
a, button {
    color:var(--twc-color-text);
    transition:var(--twc-transition);
}

/* Permalink */
.wpb_text_column a:not([class*="btn_"]) {
    text-decoration:underline; color:var(--twc-color-permalink);
    font-weight:normal;
}
.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(--twc-color-permalink-highlight); text-decoration:none; outline:0;
}

.wpb_text_column a:not([class*="btn_"]):focus-visible {
    outline:2px solid var(--twc-color-primary); border-radius:3px; transition:none;
}


/***************************************
* 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(--twc-color-heading); margin-bottom:var(--twc-spacing-heading);
    font-family:var(--twc-font-secondary); line-height:1.05; font-weight:500;
}
.mceContentBody h1, .main_content h1, .main_content .heading_1, .heading_1 {font-size:var(--twc-size-h1);}
.mceContentBody h2, .main_content h2, .main_content .heading_2, .heading_2 {font-size:var(--twc-size-h2);}
.mceContentBody h3, .main_content h3, .main_content .heading_3, .heading_3 {font-size:var(--twc-size-h3);}
.mceContentBody h4, .main_content h4, .main_content .heading_4, .heading_4 {font-size:var(--twc-size-h4);}
.mceContentBody h5, .main_content h5, .main_content .heading_5, .heading_5 {font-size:var(--twc-size-h5);}
.mceContentBody h6, .main_content h6, .main_content .heading_6, .heading_6 {font-size:var(--twc-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;}

/***************************************
* Sub-title
****************************************/
p.sub-title {
    color:var(--twc-color-primary);font-family:var(--twc-font-primary);font-size:var(--twc-size-20);line-height:1.25;
}
/***************************************
* Text format
****************************************/
/* White turns gray if is inside Editor */
body[class*="wp-editor"] {--twc-color-white:#ccc;}

/* Colors */
.txt_color_white {color:var(--twc-color-white);}
.txt_color_green {color:var(--twc-color-primary) !important;}

/* Alignments */
.txt_group {display:inline-block;}
.txt_uppercase {text-transform:uppercase;}


/***************************************
* Buttons
****************************************/
a.btn_primary {}

/* button primary */
[class*="btn_primary"] {
    --btn-bg-color:transparent; --btn-color:var(--twc-color-primary);
    --btn-bg-color-hover:var(--twc-color-primary); --btn-color-hover:var(--twc-color-light-black);
    --btn-arrow-color:var(--twc-color-primary);

    display:inline-flex; align-items:center; justify-content:center; gap:15px;
    text-align:center; text-decoration:none;
    font-family:var(--twc-font-primary); font-weight:700; line-height:1.2;font-size:16px;
    background:var(--btn-bg-color); color:var(--btn-color);
}
[class*="btn_primary"] span {
    transition:all .3s;
}
[class*="btn_primary"]:hover > span, [class*="btn_primary"]:focus > span {
    transform:translateX(10px);
}
[class*="btn_primary"]::before {
    content:"\e950";
    color:var(--btn-arrow-color);
    font-family:var(--twc-font-icomoon);
}

/* a11y */
[class*="btn_primary"]:focus-visible {
    outline:2px solid var(--twc-color-primary); border-radius:3px; transition:none; outline-offset:15px;
}

/* Button group */
.mceContentBody p > a + a,
.main_content p:not(.twc-button-group) > a + a {margin-left:10px;}

/***************************************
* Text with icons
****************************************/
.icon_txt_address, .icon_txt_phone, .icon_txt_email {}
[class*="icon_txt_"] {position:relative; padding-left:30px;}
[class*="icon_txt_"]:before {
    position:absolute; top:-.2em; left:0;
    font-family:var(--twc-font-icomoon); color:var(--twc-color-text);
}

[class*="icon_txt_address"]:before {content:"\e90e";}
[class*="icon_txt_phone"]:before {content:"\e917";}
[class*="icon_txt_email"]:before {content:"\e914";}


/***************************************
* Text with line
****************************************/
.txt_line_solid, .txt_line_dot, .txt_line_double {}
[class*="txt_line_"] {
    display:flex; align-items:flex-start; gap:20px; white-space:nowrap;
    font-family:var(--twc-font-secondary); text-decoration:underline; text-underline-offset:5px;
}
[class*="txt_line_"]:before {
    content:""; display:inline-block; margin-top:.5em;
    width:calc(100% - 100px); border-color:var(--twc-color-text); border-bottom-width:3px;
}
.txt_line_solid:before {border-bottom-style:solid;}
.txt_line_dot:before {border:4px; border-style:dotted none none none;}
.txt_line_double:before {
    height:3px;
    border-top-width:2px; border-top-style:solid;
    border-bottom-width:2px; border-bottom-style:solid;
}
.txt_color_white [class*="txt_line_"]:before {border-color:#fff;}

/***************************************
* 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:25px;}

.mceContentBody ul > li,
.wpb_text_column ul > li {padding:0 0 0 38px; 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:"\e93c"; position:absolute; top:0; left:0;font-family:var(--twc-font-icomoon);
    color:var(--twc-color-primary);
}

.mceContentBody ul ul > li:before,
.wpb_text_column ul ul > li:before {background:#fff;}


/* Unordered Lists */
ul.custom_ul {list-style:none; margin:0;}
ul.custom_ul:not(:last-child) {margin-bottom:25px;}
ul.custom_ul > li {padding:0 0 0 38px; position:relative;}
ul.custom_ul > li:not(:last-child) {margin-bottom:30px;}
ul.custom_ul > li:before {
    position:absolute; top:0; left:0; content:"\e932";
    font-family:var(--twc-font-icomoon); color:var(--twc-color-dark-gray);
    width:auto; height:auto; background:transparent; border:none;
}

/***************************************
* Quote block
****************************************/

p.quote-block {
    position:relative;
    padding-top:var(--twc-spacing-50);
    font-size:var(--twc-spacing-30);
}
p.quote-block:before {
    content:"\e951";position:absolute;top:0;left:0;
    color:var(--twc-color-primary);font-family:var(--twc-font-icomoon);font-size:24px;line-height:1;
}
@media screen and (max-width:768px) {
    p.quote-block::before {left:50%; transform:translateX(-50%);}
}

/***************************************
* Table
****************************************/
.wpb_text_column .wpb_wrapper table {width:100% !important;}
.wpb_text_column .wpb_wrapper table tr td {
    padding:var(--twc-spacing-25) 0 var(--twc-spacing-30); border:none; min-width:120px;
}
.wpb_text_column .wpb_wrapper table tr td:not(:last-child) {padding-right:10px;}
.wpb_text_column .wpb_wrapper table tr td:first-child {color:var(--twc-color-primary);}
.wpb_text_column .wpb_wrapper table tr:not(:last-child) {border-bottom:1px solid rgba(112, 112, 112, 0.2);}

table.divide-2-col {}
table.divide-2-col tbody {
    --table-gap-x:65px;
    display:flex; flex-wrap:wrap; gap:0 var(--table-gap-x); position:relative;
}
table.divide-2-col tbody > * {width:calc(50% - calc(var(--table-gap-x) * 0.5));}
/* collapse border */
table.divide-2-col tbody::after {
    content:""; position:absolute; width:100%; height:1px; background-color:#fff; bottom:0; left:0;
}

@media screen and (max-width:1024px) {
    table.divide-2-col tbody {--table-gap-x:35px;}
}
@media screen and (max-width:768px) {
    table.divide-2-col tbody > * {width:100%;}
    .wpb_text_column .wpb_wrapper table tr td:not(:last-child) {padding-right:30px;}
}
/***************************************
* Text Separator
****************************************/
.txt-separator-right {}
.txt-separator-right:after {content:" |";}

/***************************************
* Green Underline
****************************************/
.txt_green_underline {
    text-decoration:underline; text-decoration-color:var(--twc-color-primary); text-decoration-thickness:2px;
    text-underline-offset:5px;
}