/*
Theme Name: Four12
Description: Bare page frame for four12global.com. Elementor Pro and the F12 plugins own layout, design and features.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.1
Author: Four12
Text Domain: f12-theme
Update URI: false
*/

/*
 * Base styles carried over from GeneratePress so existing pages keep their look.
 * Deliberately left out: GeneratePress button colours (they fought the design
 * system), navigation, header, sidebar and widget styles. Component styles
 * belong in f12-design, never here.
 */

/* Reset */
blockquote, body, dd, dl, dt, fieldset, figure, h1, h2, h3, h4, h5, h6, hr, html, iframe, legend, li, ol, p, pre, textarea, ul { margin: 0; padding: 0; border: 0; }
html { font-family: sans-serif; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; box-sizing: border-box; }
*, ::after, ::before { box-sizing: inherit; }
main { display: block; }
progress { vertical-align: baseline; }
button, input, optgroup, select, textarea { font-family: inherit; font-size: 100%; margin: 0; }
[type=search] { -webkit-appearance: textfield; outline-offset: -2px; }
[type=search]::-webkit-search-decoration { -webkit-appearance: none; }
::-moz-focus-inner { border-style: none; padding: 0; }

/* Colours */
:root { --contrast-3: #b2b2be; --base: #f0f0f0; --base-2: #f7f8f9; --base-3: #ffffff; --accent: #1e73be; }
:root .has-contrast-3-color { color: var(--contrast-3); }
:root .has-contrast-3-background-color { background-color: var(--contrast-3); }
:root .has-base-color { color: var(--base); }
:root .has-base-background-color { background-color: var(--base); }
:root .has-base-2-color { color: var(--base-2); }
:root .has-base-2-background-color { background-color: var(--base-2); }
:root .has-base-3-color { color: var(--base-3); }
:root .has-base-3-background-color { background-color: var(--base-3); }
:root .has-accent-color { color: var(--accent); }
:root .has-accent-background-color { background-color: var(--accent); }

/* Typography */
body, button, input, select, textarea { font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-weight: 400; text-transform: none; font-size: 17px; line-height: 1.5; }
body { background-color: #f7f8f9; color: #0f0f0f; }
a { color: #ba2516; text-decoration: none; }
a:hover, a:focus, a:active { color: #000; }
a, button, input { transition: color .1s ease-in-out, background-color .1s ease-in-out; }
p { margin-bottom: 1.5em; }
h1, h2, h3, h4, h5, h6 { font-family: inherit; font-size: 100%; font-style: inherit; font-weight: inherit; }
h1 { font-size: 42px; margin-bottom: 20px; line-height: 1.2em; font-weight: 400; text-transform: none; }
h2 { font-size: 35px; margin-bottom: 20px; line-height: 1.2em; font-weight: 400; text-transform: none; }
h3 { font-size: 29px; margin-bottom: 20px; line-height: 1.2em; font-weight: 400; text-transform: none; }
h4 { font-size: 24px; }
h5 { font-size: 20px; }
h4, h5, h6 { margin-bottom: 20px; }
pre { background: rgba(0, 0, 0, .05); font-family: inherit; font-size: inherit; line-height: normal; margin-bottom: 1.5em; padding: 20px; overflow: auto; max-width: 100%; }
blockquote { border-left: 5px solid rgba(0, 0, 0, .05); padding: 20px; font-size: 1.2em; font-style: italic; margin: 0 0 1.5em; position: relative; }
blockquote p:last-child { margin: 0; }
table, td, th { border: 1px solid rgba(0, 0, 0, .1); }
table { border-collapse: separate; border-spacing: 0; border-width: 1px 0 0 1px; margin: 0 0 1.5em; width: 100%; }
td, th { padding: 8px; border-width: 0 1px 1px 0; }
th { font-weight: 700; }
hr { background-color: rgba(0, 0, 0, .1); border: 0; height: 1px; margin-bottom: 40px; margin-top: 40px; }
fieldset { padding: 0; border: 0; min-width: inherit; }
fieldset legend { padding: 0; margin-bottom: 1.5em; }
ol, ul { margin: 0 0 1.5em 3em; }
ul { list-style: disc; }
ol { list-style: decimal; }
li > ol, li > ul { margin-bottom: 0; margin-left: 1.5em; }
dt { font-weight: 700; }
dd { margin: 0 1.5em 1.5em; }
b, strong { font-weight: 700; }
cite, dfn, em, i { font-style: italic; }
address { margin: 0 0 1.5em; }
code, kbd, tt, var { font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; }
abbr, acronym { border-bottom: 1px dotted #666; cursor: help; }
ins, mark { text-decoration: none; }
sub, sup { font-size: 75%; height: 0; line-height: 0; position: relative; vertical-align: baseline; }
sup { bottom: 1ex; }
sub { top: .5ex; }
small { font-size: 75%; }
big { font-size: 125%; }

/* Media */
figure { margin: 0; }
img { height: auto; max-width: 100%; }
embed, iframe, object { max-width: 100%; }
.alignleft { float: left; margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }
.aligncenter { clear: both; display: block; margin: 0 auto; }
.size-auto, .size-full, .size-large, .size-medium, .size-thumbnail { max-width: 100%; height: auto; }
.wp-block-image figcaption { font-size: 13px; text-align: center; }

/* Forms. Buttons get no theme colours. */
button, input[type=button], input[type=reset], input[type=submit] { cursor: pointer; }
input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea { border: 1px solid #ccc; border-radius: 0; padding: 10px 15px; max-width: 100%; color: #666; background-color: #fafafa; }
input[type=email]:focus, input[type=number]:focus, input[type=password]:focus, input[type=search]:focus, input[type=tel]:focus, input[type=text]:focus, input[type=url]:focus, select:focus, textarea:focus { color: #666; background-color: #fff; border-color: #bfbfbf; }
textarea { width: 100%; }

/* Accessibility */
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { background-color: #f1f1f1; border-radius: 3px; box-shadow: 0 0 2px 2px rgba(0, 0, 0, .6); clip: auto !important; clip-path: none; color: #21759b; display: block; font-size: .875rem; font-weight: 700; height: auto; left: 5px; line-height: normal; padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000; }

/*
 * Page frame. Pages the theme renders itself sit in a white 1200px box.
 * Templates and routes that own their layout add the `full-width-content` body class.
 */
.site { max-width: 1200px; margin-left: auto; margin-right: auto; }
.full-width-content .site, .elementor-template-full-width .site { max-width: none; }
.site-content { word-wrap: break-word; }
.site-main { margin: 20px 0; }
.full-width-content .site-main { margin: 0; }
.site-main > article, .site-main > .page-header { margin-bottom: 20px; }
.site-main > :last-child { margin-bottom: 0; }
.inside-article, .page-header { background-color: #fff; padding: 40px; }
.entry-header { word-wrap: break-word; }
.entry-title { margin-bottom: 0; }
.entry-content:not(:first-child), .entry-summary:not(:first-child) { margin-top: 2em; }
.entry-content > p:last-child, .entry-summary > p:last-child, .page-header > :last-child { margin-bottom: 0; }
.featured-image { line-height: 0; }
.inside-article > .featured-image { margin-top: 0; margin-bottom: 2em; }
.page-links { clear: both; margin: 0 0 1.5em; }
.entry-content .alignwide { margin-left: -40px; width: calc(100% + 80px); max-width: calc(100% + 80px); }
.entry-content .alignfull { margin-left: calc(-100vw / 2 + 100% / 2); margin-right: calc(-100vw / 2 + 100% / 2); max-width: 100vw; width: auto; }
.wp-block-group__inner-container { max-width: 1200px; margin-left: auto; margin-right: auto; }
.site-main .wp-block-group__inner-container { padding: 40px; }

@media (max-width: 768px) {
    a, body, button, input, select, textarea { transition: all 0s ease-in-out; }
    .inside-article, .page-header, .site-main .wp-block-group__inner-container { padding: 30px; }
    .entry-content .alignwide { margin-left: -30px; width: calc(100% + 60px); max-width: calc(100% + 60px); }
    .alignleft, .alignright { float: none; display: block; margin-left: auto; margin-right: auto; }
}
