/* Tools */

.header-nav__options {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 16px;
}

@media (max-width: 1199px) {
    .header-nav__options {
        display: none;
    }
}


@media (min-width: 1200px) {
    .header-nav__options {
        margin-left: auto;
    }
}

.header-nav__options .search-form {
position: relative;
}

@media (max-width: 1199px) {
.header-nav__options .search-form {
    width: 100%;
}
}

.header-nav__options .search-form label {
position: absolute;
top: -9999px;
left: -9999px;
}

.header-nav__options .search-form input[type="search"] {
background: rgba(255, 255, 255, 0.1);
font-size: 0.875rem;
/* font-family: "Red Hat Display"; */
border: 0;
border-radius: 4px;
color: #eee;
padding: 0 12px;
min-height: 44px;
width: 100%;
min-width: 250px;
}

@media (min-width: 1200px) {
.header-nav__options .search-form input[type="search"] {
    min-height: 32px;
    font-size: 0.8125rem;
}
}

.header-nav__options .search-form input[type="search"]::-webkit-input-placeholder {
color: #eee;
}

.header-nav__options .search-form input[type="search"]::-moz-placeholder {
color: #eee;
}

.header-nav__options .search-form input[type="search"]::-ms-input-placeholder {
color: #eee;
}

.header-nav__options .search-form input[type="search"]::placeholder {
color: #eee;
}

.header-nav__options .search-form input[type="search"]::-webkit-search-decoration, .header-nav__options .search-form input[type="search"]::-webkit-search-cancel-button, .header-nav__options .search-form input[type="search"]::-webkit-search-results-button, .header-nav__options .search-form input[type="search"]::-webkit-search-results-decoration {
display: none;
}

.header-nav__options .search-form button[type="submit"] {
background-color: transparent;
border: 0;
position: absolute;
right: 0;
top: 0;
height: 44px;
width: 44px;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
    -ms-flex-align: center;
        align-items: center;
-webkit-box-pack: center;
    -ms-flex-pack: center;
        justify-content: center;
cursor: pointer;
}

@media (min-width: 1200px) {
.header-nav__options .search-form button[type="submit"] {
    height: 32px;
    width: 32px;
}
}

.header-nav__options .search-form button[type="submit"] i {
background-color: #eee;
}

.header-nav__options .theme-toggler {
background-color: #333;
color: #eee;
border: 0;
    font-size: 13px;
    font-weight: normal;
    height: 32px;
    line-height: 1;
}

.header-nav__options .theme-toggler:empty {
display: none;
}

.header-nav__options .fontsize {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: baseline;
    -ms-flex-align: baseline;
        align-items: baseline;
height: 32px;
background-color: rgba(255, 255, 255, 0.1);
color: #eee;
border-radius: 4px;
font-size: 13px;
    line-height: 27px;
padding: 0px 12px;
}

.header-nav__options .fontsize button {
color: #eee;
}

/* Focus */

a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible,
body .sf-menu .td-menu-item > a:focus-visible,
body .td-header-wrap .black-menu .sf-menu > .current-menu-item > :focus-visible {
    color: #0b0c0c !important;
    background: #fd0 !important;
    border-color: #fd0 !important;
    box-shadow: 0 -2px #fd0, 0 4px #0b0c0c;
    text-decoration: none;
    outline: 3px solid transparent;
}

a.td-main-logo:focus-visible {
    background: none !important;
    box-shadow: none;
}

.td-image-wrap:focus-visible span.td-animation-stack-type0-2 {
    opacity: 0.7 !important;
}

/* Fontsize */

html[data-fontsize="a"], html[data-fontsize="null"] {
font-size: 100%;
}

html[data-fontsize="a"] button[data-size="a"], html[data-fontsize="null"] button[data-size="a"] {
font-weight: 700;
}

html[data-fontsize="aa"] body .td-excerpt,
html[data-fontsize="aa"] .td_module_6 .entry-title {
    font-size: 14.7px;
}
html[data-fontsize="aa"] .td-page-content li,
html[data-fontsize="aa"] .td-page-content p,
html[data-fontsize="aa"] .td-post-content li,
html[data-fontsize="aa"] .td-post-content p,
html[data-fontsize="aa"] .td_block_text_with_title li,
html[data-fontsize="aa"] .td_block_text_with_title p {
    font-size: 18.9px;
}
html[data-fontsize="aa"] .tdm-descr {
    font-size: 16.8px;
}
html[data-fontsize="aa"] .tdb_module_loop_2 .entry-title,
html[data-fontsize="aa"] .td_module_4 .entry-title {
    font-size: 22.05px;
}

html[data-fontsize="aa"] button[data-size="aa"] {
font-weight: 700;
}

html[data-fontsize="aaa"] body .td-excerpt,
html[data-fontsize="aa"] .td_module_6 .entry-title {
    font-size: 15.4px;
}
html[data-fontsize="aaa"] .td-page-content li,
html[data-fontsize="aaa"] .td-page-content p,
html[data-fontsize="aaa"] .td-post-content li,
html[data-fontsize="aaa"] .td-post-content p,
html[data-fontsize="aaa"] .td_block_text_with_title li,
html[data-fontsize="aaa"] .td_block_text_with_title p {
    font-size: 19.8px;
}
html[data-fontsize="aaa"] .tdm-descr {
    font-size: 17.6px;
}
html[data-fontsize="aaa"] .tdb_module_loop_2 .entry-title,
html[data-fontsize="aaa"] .td_module_4 .entry-title {
    font-size: 23.1px;
}

html[data-fontsize="aaa"] button[data-size="aaa"] {
font-weight: 700;
}

.fontsize button {
background-color: transparent;
border-color: transparent;
color: var(--primary);
cursor: pointer;
padding: 0;
margin-left: 4px;
}

.fontsize button[data-size="a"] {
font-size: 14px;
}

.fontsize button[data-size="aa"] {
font-size: 16px;
}

.fontsize button[data-size="aaa"] {
font-size: 18px;
}

/* Dark Theme */

html[data-theme="dark"] .td-container-wrap,
html[data-theme="dark"] .post {
    background-color: #222;
}

html[data-theme="dark"] .ts-section__events,
html[data-theme="dark"] .ts-section__partners,
html[data-theme="dark"] .td-main-sidebar .td_block_widget,
html[data-theme="dark"] body .td-footer-wrapper .td-container > .td-pb-row > .td-pb-span4:last-of-type .widget {
    background-color: #333 !important;
}

html[data-theme="dark"] .ts-section__partners .partners-item,
html[data-theme="dark"] .td_block_template_8 .td-block-title > *:before,
html[data-theme="dark"] .td_block_template_8 .td-block-title > *:after {
    background-color: #ccc;
}

html[data-theme="dark"] .td-excerpt,
html[data-theme="dark"] .tagdiv-type,
html[data-theme="dark"] .tdm-descr,
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4,
html[data-theme="dark"] h5,
html[data-theme="dark"] h6 {
    color: #aaa;
}

html[data-theme="dark"] .td_block_template_8 .td-block-title > *,
html[data-theme="dark"] h1 > a,
html[data-theme="dark"] h2 > a,
html[data-theme="dark"] h3 > a,
html[data-theme="dark"] h4 > a,
html[data-theme="dark"] h5 > a,
html[data-theme="dark"] h6 > a
{
    color: #ccc;
}

html[data-theme="dark"] .td-post-date,
html[data-theme="dark"] .widget-events__location,
html[data-theme="dark"] body .td-footer-wrapper,
html[data-theme="dark"] body .td-footer-wrapper a {
    color: #999;
}

html[data-theme="dark"] body .td-footer-wrapper .td-block-title > *,
html[data-theme="dark"] .td_module_wrap:hover .entry-title a {
    color: #ccc !important;
}

html[data-theme="dark"] .td-category a,
html[data-theme="dark"] .td-tags span,
html[data-theme="dark"] .td-tags a {
    background-color: #333;
    color: #ccc;
}

html[data-theme="dark"] .ts-section__partners {
    border-color: #666;
}