/*
Theme Name: THF Live
Theme URI: https://robinbenad.com
Description: THF Live
Author: Robin Benad
Author URI: https://robinbenad.com
Version: 1.0
*/


/*  FONTS
========================================================================== */

@font-face {
    font-family: "stevie-sans";
    src: url('fonts/3ACD94_5_0.woff2') format('woff2'), url('fonts/3ACD94_5_0.woff') format('woff');
    font-display: auto;
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: "stevie-sans";
    src: url('fonts/3ACD94_6_0.woff2') format('woff2'), url('fonts/3ACD94_6_0.woff') format('woff');
    font-display: auto;
    font-style: normal;
    font-weight: 500;
}


@font-face {
    font-family: "stevie-sans";
    src: url('fonts/3ACD94_3_0.woff2') format('woff2'), url('fonts/3ACD94_3_0.woff') format('woff');
    font-display: auto;
    font-style: normal;
    font-weight: 600;
}

@font-face {
    font-family: "stevie-sans";
    src: url('fonts/3ACD94_4_0.woff2') format('woff2'), url('fonts/3ACD94_4_0.woff') format('woff');
    font-display: auto;
    font-style: normal;
    font-weight: 700;
}


@font-face {
    font-family: "balboa";
    src: url('fonts/3ACD94_2_0.woff2') format('woff2'), url('fonts/3ACD94_2_0.woff') format('woff');
    font-display: auto;
    font-style: normal;
    font-weight: 500;
}

@font-face {
    font-family: "balboa";
    src: url('fonts/3ACD94_0_0.woff2') format('woff2'), url('fonts/3ACD94_0_0.woff') format('woff');
    font-display: auto;
    font-style: normal;
    font-weight: 600;
}

@font-face {
    font-family: "balboa";
    src: url('fonts/3ACD94_1_0.woff2') format('woff2'), url('fonts/3ACD94_1_0.woff') format('woff');
    font-display: auto;
    font-style: normal;
    font-weight: 700;
}


/*  RESETS
========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
    display: block;
}

audio, canvas, video {
    display: inline-block;
}

audio:not([controls]) {
    display: none;
    height: 0;
}

[hidden] {
    display: none;
}

html {
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
}

a:focus {
    outline: none !important;
}

a:active, a:hover {
    outline: 0;
}

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

abbr[title] {
    border-bottom: 1px dotted;
}

b, strong {
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

dfn {
    font-style: italic;
}

hr {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
}

mark {
    background: #ff0;
    color: #000;
}

code, kbd, pre, samp {
    font-family: monospace, serif;
    font-size: 1em;
}

pre {
    white-space: pre-wrap;
}

q {
    quotes: "\201C" "\201D" "\2018" "\2019";
}

small {
    font-size: 80%;
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

img {
    border: 0;
}

svg:not(:root) {
    overflow: visible;
}

figure {
    margin: 0;
}

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

legend {
    border: 0;
    padding: 0;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: 100%;
    margin: 0;
}

button, input {
    line-height: normal;
}

button, select {
    text-transform: none;
}

button, html input[type="button"], input[type="reset"], input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

button[disabled], html input[disabled] {
    cursor: default;
}

input[type="checkbox"], input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

input[type="search"] {
    -webkit-appearance: none;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

button::-moz-focus-inner, input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
    vertical-align: top;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

*, *:after, *:before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    text-rendering: optimizeLegibility;
    -webkit-font-variant-ligatures: common-ligatures;
    font-variant-ligatures: common-ligatures;
    -webkit-font-feature-settings: "kern";
    -moz-font-feature-settings: "kern";
    font-feature-settings: "kern";
    font-kerning: normal;
    touch-action: manipulation;
}


/*  BASICS
========================================================================== */

html {
    height: 100%;
}

body {
    --bg-color: #e8e8e8;
    --e-bg-color: #e8e8e8;
    --text-color: #383838;
    --e-text-color: #383838;
    --hover-color: #1a1a1a;
    --e-hover-color: #1a1a1a;
    --mixed-color: #7d7d7d;
    --e-mixed-color: #7d7d7d;
    --mixed-more-color: #7d7d7d;
    --e-mixed-more-color: #7d7d7d;
    --mixed-most-color: #e1e1e1;
    --e-mixed-most-color: #e1e1e1;
    --mixed-less-color: #5c5c5c;
    --e-mixed-less-color: #5c5c5c;
    --header-color: #DFDFE0;
    --logo-color: #383838;
    --e-x-bg-color: #e1e1e1;
    background: var(--bg-color);
    color: var(--text-color);
    font-family: 'balboa', Arial Narrow, sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
    width: 100%;
    min-height: 100vh;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow: hidden;
    overflow-y: scroll;
    position: relative;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);

    /* Prevent text resize on orientation change, useful for web-apps */
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    -ms-text-size-adjust: none;
    -o-text-size-adjust: none;
    text-size-adjust: none;
    /* force scroll to appear */
}

html, body {
    touch-action: manipulation;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #383838;
    text-decoration: none;
}

.text a {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.2);
}

a:hover {
    color: #383838;
}

p {
    margin: 0;
    padding: 0;
    padding-bottom: 0.85em;
}

blockquote {
    margin: 0;
    margin-bottom: 1em;
}

.embed-container, ul, ol {
    margin-bottom: 1.25em;
}

.embed-container, p, blockquote p:first-of-type:last-of-type {
    -webkit-column-break-inside: avoid;
    -moz-column-break-inside: avoid;
    -o-column-break-inside: avoid;
    -ms-column-break-inside: avoid;
    column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid-column;
}

p:first-of-type:last-of-type {
    -webkit-column-break-inside: auto;
    -moz-column-break-inside: auto;
    -o-column-break-inside: auto;
    -ms-column-break-inside: auto;
    column-break-inside: auto;
    page-break-inside: auto;
    break-inside: auto;
}


.embed-container:last-child,
blockquote:last-child {
    margin-bottom: 0;
}

p:last-child {
    padding-bottom: 0;
}

ul, ol {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

ul li, ol li {
    position: relative;
}

ul li {
    margin-bottom: 0.25em;
}

ol li {
    margin-bottom: 0.85em;
    z-index: 1;
}

.wrapper {
    -webkit-flex: 1 0 auto;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--bg-color);
}

main {
    flex-grow: 1;
    position: relative;
    z-index: 1;
}


/*  BANNER
========================================================================== */

.global-banner {
    font-weight: 500;
    font-size: 15px;
    font-size: 13.7px;
    padding: 0.75em;
    text-align: center;
    position: relative;
    z-index: 3;
    line-height: 1.3;
    font-family: "stevie-sans", sans-serif;
    margin-bottom: 0.75em;
}

.global-banner b, .global-banner strong {
    font-weight: 600;
}

.global-banner.text p {
    margin: 0;
    padding: 0;
}

.global-banner.text * {
    line-height: 1.3;
    font-family: "stevie-sans", sans-serif;
}

.global-banner.text a {
    color: inherit;
}

.banner-lightgrey {
    background: var(--header-color);
}

.banner-red {
    background: #dd4f4f;
    color: #fff;
}

.banner-yellow {
    background: #ffef62;
}

.banner-blue {
    background: #607d8b;
    color: #fff;
}

.banner-green {
    background: #4caf50;
    color: #fff;
}

.banner-darkgrey {
    background: var(--logo-color);
    color: var(--bg-color);
}

.banner-darkgrey.text a:hover,
.banner-red.text a:hover,
.banner-blue.text a:hover,
.banner-green.text a:hover {
    color: #fff;
}

.page-template-page-pagebuilder .banner-darkgrey.text a:hover {
    color: var(--header-color);
}


.banner-red.text a:not(.no-ind),
.banner-blue.text a:not(.no-ind),
.banner-green.text a:not(.no-ind) {
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMCA0Ij48cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiNmZmZmZmYiIHN0cm9rZS13aWR0aD0iMC41IiBjbGFzcz0icyIgZD0iTTAsMi41IEwgMjAsMi41IiAvPjwvc3ZnPg==");
}

.banner-red.text a:not(.no-ind):hover,
.banner-blue.text a:not(.no-ind):hover,
.banner-green.text a:not(.no-ind):hover {
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMCA0Ij48cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiNmZmZmZmYiIHN0cm9rZS13aWR0aD0iMiIgY2xhc3M9InMiIGQ9Ik0wLDIuNSBMIDIwLDIuNSIgLz48L3N2Zz4=");
}

.global-banner.text a {
    background-position: 0 100% !important;
}

.global-banner.text a:hover {
    background-position: 0 calc(100% - 1px) !important;
}

/*  HEADER + FOOTER
========================================================================== */


footer {
    position: relative;
    box-sizing: border-box;
    max-width: 1072px;
    margin: 0 auto;
    margin-top: 36px;
    display: flex;
    align-items: center;
    width: 100%;
    z-index: 0;
}

.footer-wrapper {
    overflow-x: hidden;
}

footer {
    margin-bottom: 64px;
}

audio, canvas, video {
    max-width: 100%;
    height: auto;
}


.menu {
    flex-grow: 1;
    position: relative;
    height: 46px;
}


footer:before {
    content: "";
    display: block;
    position: absolute;
    height: 46px;
    width: 100vw;
    top: 0;
    background: var(--header-color);
    transform: skewX(-23.5deg);
}

footer:before {
    left: -5px;
    transform-origin: 0 0;
}

.menu ul {
    display: flex;
    align-items: center;
    height: 100%;
}

.footer-menu ul {
    justify-content: flex-end;
    /* margin-right: -20px */
    margin-right: -5px;
}

.menu ul li {
    margin: 0;
}

.menu-item {
    font-family: "stevie-sans", sans-serif;
    font-weight: 600;
    font-size: 17px;
    line-height: 1;
    height: 100%;
    text-align: center;
}

.footer-menu .menu-item {
    font-size: 15px;
}

.menu-item a {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 1;
    color: var(--text-color);
}

.ready .menu-item a {
    transition: color 0.05s ease-in-out 0s;
}

.footer-menu .menu-item a {
    padding-left: 20px;
    padding-right: 20px;
}

.menu .menu-item a:before {
    content: "";
    position: absolute;
    width: calc(100% - 8px);
    height: 100%;
    top: 0;
    left: 4px;
    transform: skewX(0deg) rotateX(-0.75deg);
    transition: transform 0s cubic-bezier(0.46, 0.03, 0.52, 0.96) 0.2s, opacity 0.075s cubic-bezier(0.46, 0.03, 0.52, 0.96) 0s;
    border-bottom: 1px solid var(--text-color);
    border-top: 1px solid var(--text-color);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}

.menu .menu-item.current-menu-item a {
    color: #292929;
}

.menu .menu-item.current-menu-item a:before {
    transform: skewX(-23.5deg);
    border: 0;
    opacity: 1;
    background: #D8D8D9;
}

.menu .menu-item.current-menu-item.force a:before {
    transform: skewX(-23.5deg) !important;
    transition: transform 0s !important;
}

.ready .menu .menu-item:not(.current-menu-item) a:hover {
    color: var(--hover-color);
    transition: color 0.1s cubic-bezier(0.46, 0.03, 0.52, 0.96) 0s;
}


.menu .menu-item:not(.current-menu-item) a:hover:before {
    opacity: 0.2;
    transform: skewX(-23.5deg) rotateX(-0.75deg);
    transition: transform 0.14s cubic-bezier(0.46, 0.03, 0.52, 0.96) 0s, opacity 0.1s cubic-bezier(0.46, 0.03, 0.52, 0.96) 0s;
}


.menu-item a span {
    width: 100%;
    display: block;
    position: relative;
    z-index: 2;
}

.menu .menu-item.navigating a:before {
    display: none;
}


.text h2 a {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/*  BASIC PAGE
========================================================================== */

main.content {
    width: 100%;
    max-width: 744px;
    margin: 0 auto;
    font-weight: 400;
    font-size: 17.85px;
    padding-bottom: 84px;
    padding-top: 36px;
}

main.content .text {
    padding-left: 32px;
    padding-right: 32px;
}

main.content h1,
main.content h2,
main.content h3,
main.content h4,
main.content h5,
main.content h6 {
    line-height: 1.2;
    margin-top: 0;
}

main.content h1,
main.content h2,
main.content h3,
main.content h4,
main.content h2.showcase-title {
    margin-left: -32px;
}

.text h2,
.text h3,
.text h4,
.text h5,
.text h6 {
    font-weight: 600;
}

main.content h1 {
    font-size: 3.0253em;
    font-weight: 700;
    margin-bottom: 0.8em;
    line-height: 1;
}

main.content .page-title {
    text-align: right;
}

main.content h2.page-title {
    margin-bottom: 1.2em;
}

main.content h2.showcase-title {
    font-size: 2.3535em;
    margin-bottom: 0.675em;
    line-height: 1.1;
}

main.content h2 {
    font-size: 2.3535em;
    margin-bottom: 0.675em;
    line-height: 1.1;
    padding-top: 0.05em;
}

main.content h3 {
    font-size: 1.793em;
    margin-bottom: 0.62em;
    line-height: 1.15;
}


main.content h4 {
    font-size: 1.17em;
    margin-top: -0.3em;
    margin-bottom: 0.7em;
    padding-left: 1px;
}

main.content h5 {
    font-size: 1.17em;
    margin-bottom: 0.75em;
}

main.content h2 + h4 {
    margin-top: -1em;
    margin-bottom: 1.08em;
}

main.content h3 + h4 {
    margin-top: -0.7em;
    margin-bottom: 0.92em;
}

main.content p + h2,
main.content ul + h2,
main.content ol + h2,
main.content div + h2,
main.content blockquote + h2 {
    padding-top: 0.8em;
}

main.content p + h3,
main.content ul + h3,
main.content ol + h3,
main.content div + h3,
main.content blockquote + h3 {
    padding-top: 0.72em;
}

main.content h3 + h5,
main.content p + h5,
main.content ul + h5,
main.content ol + h5,
main.content div + h5,
main.content blockquote + h5 {
    padding-top: 0.5em;
}

main.content .embed-container {
    width: calc(100% + 62px);
    padding-top: 31px;
    margin-left: -31px;
    margin-bottom: 1.8em;
}

.text img {
    margin-bottom: 0.4em;
}

.text figure {
    margin-bottom: 1.225em;
}

.text img:first-child {
    margin-top: 0 !important;
}

.text figure:not(.size-medium) {
    max-width: 100%;
}

.text img.aligncenter:not(.size-n_742):not(.size-medium),
.text figure.aligncenter:not(.size-n_742):not(.size-medium) {
    margin-left: auto;
    margin-right: auto;
}

.text img.alignright:not(.size-n_742):not(.size-medium),
.text figure.alignright:not(.size-n_742):not(.size-medium) {
    float: right;
    margin-left: 1.4em;
    max-width: 62%;
}

main.content img.alignright:not(.size-n_742):not(.size-medium),
main.content figure.alignright:not(.size-n_742):not(.size-medium) {
    margin-right: -31px;
}

.text img.alignleft:not(.size-n_742):not(.size-medium),
.text figure.alignleft:not(.size-n_742):not(.size-medium) {
    float: left;
    margin-right: 1.4em;
    max-width: 62%;
}

main.content img.alignleft:not(.size-n_742):not(.size-medium),
main.content figure.alignleft:not(.size-n_742):not(.size-medium) {
    margin-left: -31px;
}

main.content img.size-n_742,
main.content figure.size-n_742 {
    width: calc(100% + 62px);
    max-width: calc(100% + 62px);
    margin-left: -31px;
    margin-top: 0.4em;
    margin-bottom: 0.7em;
}

.text figure.size-n_742 {
    margin-bottom: 1.575em;
}

.event-text img.size-n_742,
.event-text figure.size-n_742,
.text img.size-medium,
.text figure.size-medium {
    width: 100%;
    margin-top: 0.4em;
    margin-bottom: 0.5em;
}

.text figure.size-medium,
.event-text figure.size-n_742 {
    margin-bottom: 1.35em;
}

.text figure.size-n_742 img,
.text figure.size-medium > a,
.text figure.size-medium img,
.text figure.size-medium > a {
    width: 100%;
}

.text figure img {
    margin-bottom: 0 !important;
}

.text figure.alignleft:not(.size-n_742):not(.size-medium),
.text figure.alignright:not(.size-n_742):not(.size-medium),
.text img.alignleft:not(.size-n_742):not(.size-medium),
.text img.alignright:not(.size-n_742):not(.size-medium) {
    margin-bottom: 0.35em !important;
}

figcaption {
    padding: 0.575em 0.875em;
    background: var(--mixed-most-color);
    font-size: 0.9em;
    font-weight: 500;
    font-family: "stevie-sans", sans-serif;
    line-height: 1.3;
    text-align: right;
}

.event .text figcaption {
    background: var(--e-mixed-most-color);
}

.text p + .embed-container,
.text .p + .embed-container,
.text ul + .embed-container,
.text ol + .embed-container,
.text blockquote + .embed-container {
    margin-top: 0.4em;
}

/*  TICKETS + LOCATIONS PAGE
========================================================================== */

a[href^="tel"] {
    color: inherit !important;
    text-decoration: none;
    background-image: none !important;
}


/*  EVENT OVERLAY
========================================================================== */

.text p,
.text ul,
.text ol {
    font-family: "stevie-sans", sans-serif;
    line-height: 1.75;
}

.text blockquote {
    padding: 1.1em 1.5em;
    background: var(--mixed-most-color) !important;
    border-left: 2px solid var(--mixed-more-color) !important;
}

.text ul {
    list-style-type: disc;
}

.text ol {
    list-style-type: decimal;
}

.text ul,
.text ol {
    padding-left: 1em;
    padding-bottom: 0.85em;
}

.text ul:last-child,
.text ol:last-child {
    padding-bottom: 0;
}

.text ul li,
.text ol li {
    padding-left: 0.45em;
}

.text a:hover {
    color: var(--e-hover-color);
}

main.content .text p a:hover {
    color: #000000;
}

.text a:not(.no-ind) {
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMCA0Ij48cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiM5MDkwOTAiIHN0cm9rZS13aWR0aD0iMC41IiBjbGFzcz0icyIgZD0iTTAsMi41IEwgMjAsMi41IiAvPjwvc3ZnPg==");
}

.text a:not(.no-ind):hover,
a.highlight-item:hover > span {
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMCA0Ij48cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiM5MDkwOTAiIHN0cm9rZS13aWR0aD0iMiIgY2xhc3M9InMiIGQ9Ik0wLDIuNSBMIDIwLDIuNSIgLz48L3N2Zz4=");
}

a.no-ind img {
    transition: filter 0.1s;
}

a.no-ind:hover img {
    filter: brightness(1.025);
}

.text a:not(.no-ind) {
    background-position: 0 100%;
    background-size: 10px 4px;
    background-repeat: repeat-x;
}

.text a:not(.no-ind):not(:hover) {
    background-size: 15px 6px;
    background-position: 0 calc(100% + 1px);
}

.text a:not(.no-ind) {
    padding-bottom: 2px;
    margin-bottom: -2px;
}

.embed-container {
    position: relative;
    padding-bottom: 56.21%;
    height: 0;
    overflow: hidden;
    background: var(--mixed-most-color);
}

.embed-container iframe,
.embed-container object {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/*  MEDIA QUERIES
========================================================================== */

@media screen and (min-width: 881px) {
    main.content .page-title {
        margin-right: -24px;
    }
}


@media screen and (max-width: 1278px) {

    .footer-menu .menu-item {
        font-size: 14px;
    }

    .footer-menu .menu-item a {
        padding-left: 18px;
        padding-right: 18px;
    }


    footer {
        max-width: 912px;
    }

}


@media screen and (max-width: 1079px) {

    .footer-menu ul {
        margin-right: -14px;
    }

    .footer-menu .menu-item a {
        padding-left: 15px;
        padding-right: 15px;
    }

    .menu .menu-item a:before {
        width: 100%;
        left: 0;
    }


    footer {
        max-width: 724px;
    }

    main.content {
        max-width: 736px;
    }

}


@media screen and (max-width: 880px) {

    main.content {
        max-width: 676px;
    }

    main.content h1, main.content h2, main.content h3, main.content h4 {
        margin-left: -28px;
    }

    main.content img.size-n_742,
    main.content figure.size-n_742 {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-bottom: 0.5em;
    }

    main.content figure.size-n_742 {
        margin-bottom: 1.35em !important;
    }

    main.content .embed-container {
        width: 100%;
        padding-top: 0;
        margin-left: 0 !important;
        margin-bottom: 1.8em;
    }

    .text img.alignright:not(.size-n_742):not(.size-medium),
    .text figure.alignright:not(.size-n_742):not(.size-medium),
    .text img.alignleft:not(.size-n_742):not(.size-medium),
    .text figure.alignleft:not(.size-n_742):not(.size-medium) {
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        float: none;
    }

    .text figure.alignright:not(.size-n_742):not(.size-medium) img,
    .text figure.alignleft:not(.size-n_742):not(.size-medium) img {
        width: 100%;
    }

    .text figure.alignleft:not(.size-n_742):not(.size-medium),
    .text figure.alignright:not(.size-n_742):not(.size-medium) {
        margin-bottom: 1.225em !important;
    }

    .text img.alignleft:not(.size-n_742):not(.size-medium),
    .text img.alignright:not(.size-n_742):not(.size-medium) {
        margin-bottom: 0.4em !important;
    }

    .footer-menu a {
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.2);
    }

    footer {
        width: 100%;
        max-width: 100%;
        margin-bottom: 0;
        background: var(--header-color);
        padding-bottom: 54px;
        flex-wrap: wrap;
        justify-content: center;
    }


    footer:before {
        display: none;
    }


    .footer-menu ul {
        margin-right: 0;
        justify-content: center;
        height: auto;
        flex-wrap: wrap;
        margin-bottom: 0;
    }

    .footer-menu {
        width: 100%;
        order: 1;
        margin-bottom: 0;
        height: auto;
    }

    .footer-menu .menu-item {
        height: 54px;
    }

    .footer-menu:before {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        background: #d8d8d9;
    }

    .menu.footer-menu .menu-item a:before {
        display: none;
    }


}

@media screen and (max-width: 764px) {

    main.content h1, main.content h2, main.content h3, main.content h4 {
        margin-left: -1px;
    }

}


@media screen and (max-width: 732px) {

    .global-banner {
        font-size: 13px;
        line-height: 1.4;
    }

    .global-banner.text * {
        line-height: 1.4;
    }

    .global-banner.text p {
        display: inline;
    }

    .global-banner.text br {
        display: none;
    }

    main.content {
        font-size: 16px;
    }

    main.content {
        max-width: 620px;
    }

    .text ul, .text ol {
        padding-left: 1.2em;
    }

    .text ul li, .text ol li {
        padding-left: 0.25em;
    }
}


@media screen and (max-width: 666px) {

    main.content {
        max-width: 470px;
    }

    main.content .text {
        padding-left: 24px;
        padding-right: 24px;
    }

    main.content h1 {
        font-size: 42px;
    }

    main.content h2,
    main.content h2.showcase-title {
        font-size: 32px;
    }

    .text p,
    .text ul,
    .text ol {
        line-height: 1.65;
    }


}


@media screen and (max-width: 530px) {


    main.content .page-title {
        text-align: left;
    }

    main.content {
        padding-bottom: 72px;
    }

}


@media screen and (max-width: 390px) {
    .footer-menu .menu-item a {
        padding-left: 13px;
        padding-right: 13px;
    }
}

@media screen and (max-width: 360px) {
    main.content .text {
        padding-left: 20px;
        padding-right: 20px;
    }
}


/*  NO TOUCH HOVER
========================================================================== */

@media (pointer: coarse) {


    .text a:not(.no-ind):hover,
    main.content .text p a:not(.no-ind):hover {
        color: inherit;
    }

    .text a:not(.no-ind):hover {
        background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMCA0Ij48cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiM5MDkwOTAiIHN0cm9rZS13aWR0aD0iMC41IiBjbGFzcz0icyIgZD0iTTAsMi41IEwgMjAsMi41IiAvPjwvc3ZnPg==");
    }

    a.no-ind:hover img {
        filter: none;
    }

    .menu .menu-item:not(.current-menu-item) a:hover,
    .menu .menu-item:not(.current-menu-item) a:focus {
        color: var(--hover-color) !important;
    }

}


/*  ADMIN
========================================================================== */

body #wpadminbar #wp-admin-bar-site-name > .ab-item:before {
    content: "\f111";
}

.edit-link {
    display: none;
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 0 10px 8px 0;
}

.admin-bar .edit-link {
    display: block;
}

.edit-link:before {
    content: "\f464";
    font: normal 20px/1 dashicons;
    background: #4b5156;
    padding: 4px;
    border-radius: 2px;
    color: #eee;
}

.edit-link:hover:before {
    color: #00b9eb;
    background: #32373c;
}

@media screen and (max-width: 782px) {
    #wp-toolbar > ul#wp-admin-bar-root-default > li:not(.menupop) {
        display: none !important;
    }

    body.admin-bar .wrapper {
        padding-top: 48px;
    }

}

@media screen and (min-width: 783px) {

    body.admin-bar .wrapper {
        padding-top: 32px;
    }

}