/*
    3 - Global styles - used site wide.

    3.01 - color selection
    3.02 - container padding
    3.10 - width helpers
    3.20 - text styles
    3.30 - button styles
    3.40 - hr styles
    3.50 - breadcrumbs
    3.60 - form styles
    3.70 - ribbon button
    3.80 - password protection
    3.90 - complianz

 */


/* 3.01 - color selection */
.has-white-color {
    --color: var(--white);
}
.has-white-background-color {
    --color-bg: var(--white);
}
.has-black-color {
    --color: var(--black);
}
.has-black-background-color {
    --color-bg: var(--black);
}
.has-alpha-color {
    --color: var(--color-alpha);
}
.has-alpha-background-color {
    --color-bg: var(--color-alpha);
}
.has-bravo-color {
    --color: var(--color-bravo);
}
.has-bravo-background-color {
    --color-bg: var(--color-bravo);
}
.has-charlie-color {
    --color: var(--color-charlie);
}
.has-charlie-background-color {
    --color-bg: var(--color-charlie);
}
.has-delta-color {
    --color: var(--color-delta);
}
.has-delta-background-color {
    --color-bg: var(--color-delta);
}
.has-echo-color {
    --color: var(--color-echo);
}
.has-echo-background-color {
    --color-bg: var(--color-echo);
}
.has-foxtrot-color {
    --color: var(--color-foxtrot);
}
.has-foxtrot-background-color {
    --color-bg: var(--color-foxtrot);
}
.has-hotel-color {
    --color: var(--color-hotel);
}
.has-hotel-background-color {
    --color-bg: var(--color-hotel);
}
.has-india-color {
    --color: var(--color-india);
}
.has-india-background-color {
    --color-bg: var(--color-india);
}
.has-juliett-color {
    --color: var(--color-juliett);
}
.has-juliett-background-color {
    --color-bg: var(--color-juliett);
}


/* 3.02 - container padding */
h1.has-background,
h2.has-background {
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
}
.is-style-extend-left {
    /* 80px is twice the max-page padding */
    margin-left: calc((max(40px, 100vw - var(--page-width)) + 80px) * -0.5) !important;
    padding-left: calc((max(40px, 100vw - var(--page-width)) + 80px) * 0.5) !important;
}
.is-style-extend-right {
    /* 80px is twice the max-page padding */
    margin-right: calc((max(40px, 100vw - var(--page-width)) + 80px) * -0.5) !important;
    padding-right: calc((max(40px, 100vw - var(--page-width)) + 80px) * 0.5) !important;
}


/* 3.10 - width helpers */
.page-small,
.page-medium,
.page-large {
    margin: 0 auto;
    width: 100%;
}
.page-small {
    --wp--style--global--content-size: var(--page-width-small);
    max-width: var(--page-width-small);
}
.page-medium {
    --wp--style--global--content-size: var(--page-width-medium);
    max-width: var(--page-width-medium);
}
.page-large {
    --wp--style--global--content-size: var(--page-width-large);
    max-width: var(--page-width-large);
}
.no-gap {
    gap: 0;
}


/* 3.20 - text style overrides */
h2 {
    font-family: var(--font-family-alt);
    letter-spacing: 0.4px;
    text-transform: uppercase;
}
@media all and (min-width: 782px) {
    h2 {
        letter-spacing: 0.6px;
    }
}


/* 3.30 - button styles */
a.wp-block-button__link.has-alpha-background-color {
    border-color: var(--color-alpha);
}
a.wp-block-button__link.has-alpha-background-color:hover {
    background: var(--white) !important;
    color: var(--color-alpha) !important;
}
a.wp-block-button__link.has-echo-background-color {
    border-color: var(--color-echo);
}
a.wp-block-button__link.has-echo-background-color:hover {
    background: var(--white) !important;
    color: var(--color-echo) !important;
}
a.wp-block-button__link.has-foxtrot-background-color {
    border-color: var(--color-foxtrot);
}
a.wp-block-button__link.has-foxtrot-background-color:hover {
    background: var(--white) !important;
    color: var(--color-foxtrot) !important;
}


button,
.wp-block-button > *,
input[type='submit'] {
    border: 2px solid var(--button-bg);
    color: var(--white);
    font-family: var(--font-family-alt);
    letter-spacing: 0.4px;
}

@media all and (min-width: 782px) {
    button,
    .wp-block-button > *,
    input[type='submit'] {
        letter-spacing: 0.6px;
    }
}


/* 3.40 - hr styles */
.wp-block-separator.is-style-dots {
    border-bottom: 2px dashed var(--white);
    margin: 0;
    padding: 0;
}
.wp-block-separator.is-style-dots.has-black-color {
    border-bottom-color: var(--black);
}
.wp-block-separator.is-style-dots.has-alpha-color {
    border-bottom-color: var(--color-alpha);
}
.wp-block-separator.is-style-dots.has-bravo-color {
    border-bottom-color: var(--color-bravo);
}
.wp-block-separator.is-style-dots.has-charlie-color {
    border-bottom-color: var(--color-charlie);
}
.wp-block-separator.is-style-dots.has-delta-color {
    border-bottom-color: var(--color-delta);
}
.wp-block-separator.is-style-dots.has-echo-color {
    border-bottom-color: var(--color-echo);
}
.wp-block-separator.is-style-dots.has-foxtrot-color {
    border-bottom-color: var(--color-foxtrot);
}
.wp-block-separator.is-style-dots.has-golf-color {
    border-bottom-color: var(--color-golf);
}
.wp-block-separator.is-style-dots.has-hotel-color {
    border-bottom-color: var(--color-foxtrot);
}
.wp-block-separator.is-style-dots.has-hotel-color {
    border-bottom-color: var(--color-foxtrot);
}
.wp-block-separator.is-style-dots.has-india-color {
    border-bottom-color: var(--color-india);
}
.wp-block-separator.is-style-dots.has-juliett-color {
    border-bottom-color: var(--color-juliett);
}
.wp-block-separator.is-style-dots:before {
    content: none;
}


/* 3.50 - breadcrumbs */
.breadcrumbs {
    display: none;
}


/* 3.60 - form styles */
form.forminator-custom-form label,
form.forminator-custom-form h4.forminator-label,
form.forminator-custom-form span.forminator-label {
    display: block;
    font-family: var(--font-family-alt);
    font-size: var(--font-size);
    font-weight: 400;
    letter-spacing: normal;
    margin: 0;
    padding-bottom: 0.5em;
    text-transform: uppercase;
}
form.forminator-custom-form input[type=checkbox] {
    --size: 0.8em;
}
form.forminator-custom-form input[type=radio] {
    width: auto;
}
@media all and (min-width: 782px) {
    form.forminator-custom-form input[type=radio] {
        -ms-transform: scale(1.5); /* IE 9 */
        -webkit-transform: scale(1.5); /* Chrome, Safari, Opera */
        transform: scale(1.5);
    }
}
form.forminator-custom-form span.forminator-checkbox-label,
form.forminator-custom-form span.forminator-radio-label {
    color: var(--color-alpha);
    font-style: italic;
    padding-left: 0.5em;
    text-transform: none;
}

/* 3.70 - ribbon button */
.ribbon-button {
    position: relative;
    overflow-x: hidden;
}
.ribbon-button .wp-block-buttons {
    position: absolute;
    top: 1em;
    left: -1em;
}
.ribbon-button .wp-block-buttons .wp-block-button {
        background: repeating-linear-gradient(88deg, var(--white), var(--white) 1px, var(--color-delta) 1px, var(--color-delta) 8px);
        padding: 0.75em 1.5em 0.75em 2em;
        transform: skew(-20deg);
}
.ribbon-button.green-ribbon .wp-block-buttons .wp-block-button {
        background: repeating-linear-gradient(88deg, var(--white), var(--white) 1px, var(--color-alpha) 1px, var(--color-alpha) 8px);
}
.ribbon-button.orange-ribbon .wp-block-buttons .wp-block-button {
        background: repeating-linear-gradient(88deg, var(--white), var(--white) 1px, var(--color-echo) 1px, var(--color-echo) 8px);
}
.ribbon-button.red-ribbon .wp-block-buttons .wp-block-button {
        background: repeating-linear-gradient(88deg, var(--white), var(--white) 1px, var(--color-foxtrot) 1px, var(--color-foxtrot) 8px);
}
.ribbon-button .wp-block-buttons .wp-block-button a {
    background:transparent;
    border: none;
    color: var(--color-text);
    border-radius: unset;
    line-height: unset;
    height: unset;
    margin: unset;
    padding: unset;
    text-align: left;
    transform: skew(20deg);
}
.ribbon-button .wp-block-buttons .wp-block-button a:hover {
    color: var(--color-text);
}

/* 3.80 - password protection */
form.post-password-form {
    --wp--style--global--content-size: var(--page-width);
    margin: 2em auto 0 auto;
    max-width: var(--page-width);
    padding: 0 40px;
    width: 100%;
}

/* 3.90 - complianz */
#cmplz-document, .editor-styles-wrapper .cmplz-unlinked-mode {
    font-size: var(--font-size);
    max-width: 100%;
}

#cmplz-document p, .editor-styles-wrapper .cmplz-unlinked-mode p, #cmplz-document li, .editor-styles-wrapper .cmplz-unlinked-mode li, #cmplz-document td, .editor-styles-wrapper .cmplz-unlinked-mode td {
    font-size: var(--font-size);
}

#cmplz-document h2, .editor-styles-wrapper .cmplz-unlinked-mode h2, #cmplz-document h3, .editor-styles-wrapper .cmplz-unlinked-mode h3 {
    font-size: var(--font-size);
    text-align: left;
    margin-top: 1em;
    padding-bottom: 0;
    margin-bottom: 1em;
    font-weight: bold;
}

#cmplz-cookies-overview .cmplz-dropdown summary h3, #cmplz-document .cmplz-dropdown summary h3, .editor-styles-wrapper .cmplz-unlinked-mode .cmplz-dropdown summary h3 {
    padding: 0.25em;
    font-size: var(--font-size);
}

#cmplz-cookies-overview .cmplz-dropdown p, #cmplz-document .cmplz-dropdown p, .editor-styles-wrapper .cmplz-unlinked-mode .cmplz-dropdown p, #cmplz-cookies-overview .cmplz-dropdown a, #cmplz-document .cmplz-dropdown a, .editor-styles-wrapper .cmplz-unlinked-mode .cmplz-dropdown a {
    font-size: var(--font-size);
}

#cmplz-cookies-overview .cmplz-dropdown h4, #cmplz-document .cmplz-dropdown h4, .editor-styles-wrapper .cmplz-unlinked-mode .cmplz-dropdown h4 {
    font-size: var(--font-size);
    margin: 0.5em 0;
}
