/* ==========================================================================
   Design system — tokens, reset and base typography.

   Visual language reproduced from the original Joomla / Helix Ultimate
   template (templates/bbccolonic):
     accent green #639846 · light #82B064 · gradient #A1C886 -> #689E4B
     headings #707070, uppercase, Arial, normal weight
     body text #252525, boxed wrapper 1240px, borders #DBDBDB
     footer #171717
   ========================================================================== */

:root {
    --green: #639846;
    --green-light: #82b064;
    --green-dark: #4f7a36;
    --gradient-top: #a1c886;
    --gradient-bottom: #689e4b;

    --text: #252525;
    --heading: #707070;
    --muted: #888888;
    --link: #639846;
    --link-hover: #4f7a36;

    --border: #dbdbdb;
    --border-menu: #e0e0e0;
    --border-soft: #f3f3f3;
    --surface: #ffffff;
    --surface-alt: #fbfbfb;

    --footer-bg: #171717;
    --footer-text: #ffffff;
    --footer-link: #a2a2a2;

    --wrapper: 1240px;
    --container: 1140px;
    --header-height: 72px;

    --font-body: Helvetica, Arial, "Helvetica Neue", sans-serif;
    --font-heading: Arial, Helvetica, sans-serif;

    --radius: 3px;
    --shadow-header: 0 0 4px 0 rgba(0, 0, 0, 0.1);
    --shadow-dropdown: 0 3px 5px 0 rgba(0, 0, 0, 0.2);
    --shadow-boxed: 0 0 5px rgba(0, 0, 0, 0.2);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    border: 0;
}

a {
    color: var(--link);
    text-decoration: none;
    transition: color 400ms, background-color 400ms;
}

a:hover,
a:focus,
a:active {
    color: var(--link-hover);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: normal;
    text-transform: uppercase;
    line-height: 1.25;
    margin: 0 0 1rem;
    color: var(--heading);
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.375rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }
h5, h6 { font-size: 1rem; }

p {
    margin: 0 0 1rem;
}

ul, ol {
    margin: 0 0 1rem;
    padding-left: 1.25rem;
}

hr {
    border: 0;
    border-top: 1px solid var(--border);
    margin: 24px 0;
}

blockquote {
    margin: 0 0 1rem;
    padding: 10px 20px;
    border-left: 3px solid var(--green-light);
    background: var(--surface-alt);
    font-style: italic;
}

strong { font-weight: 700; }

/* Check-bullet list (template image) */

ul.check {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
}

ul.check > li {
    padding: 2px 0 2px 28px;
    background: url("../images/ui/list_check.png") 0 4px no-repeat;
}

/* Page shell */

.body-wrapper,
.body-innerwrapper {
    max-width: var(--wrapper);
    margin: 0 auto;
    background: var(--surface);
    box-shadow: var(--shadow-boxed);
    overflow-x: hidden;
}

.mw-container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

.skiplink {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--green);
    color: #fff;
    padding: 10px 18px;
    z-index: 200;
}

.skiplink:focus {
    top: 0;
    color: #fff;
}

.text-center { text-align: center; }
.small-print { font-size: 13px; color: var(--muted); }

/* Buttons */

.btn {
    display: inline-block;
    padding: 11px 24px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-family: var(--font-heading);
    font-size: 14px;
    text-transform: uppercase;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: background-color 250ms, color 250ms, border-color 250ms;
}

.btn-primary {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--green-dark);
    border-color: var(--green-dark);
    color: #fff;
}

.btn-outline {
    background: transparent;
    border-color: var(--green);
    color: var(--green);
}

.btn-outline:hover,
.btn-outline:focus {
    background: var(--green);
    color: #fff;
}

/* Tables */

table {
    border-collapse: collapse;
    width: 100%;
}

.entry table {
    margin: 0 0 24px;
    font-size: 15px;
}

.entry th,
.entry td {
    padding: 10px 14px;
    border: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

.entry thead th {
    background: var(--surface-alt);
    font-family: var(--font-heading);
    font-size: 13px;
    text-transform: uppercase;
    color: var(--heading);
}

/* Forms */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
textarea,
select {
    display: block;
    width: 100%;
    padding: 9px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font: inherit;
    color: var(--text);
    background: #fff;
}

input:focus,
textarea:focus,
select:focus {
    outline: 0;
    border-color: var(--green);
}

/* -------------------------------------------------------------------------
   Fidelity corrections from jos_template_styles (preset1, 3-MinimalLayout)
   body 14px Open Sans #999 ? h1 35px ? h2 26px ? links #639846 / #5C5C5C
   ------------------------------------------------------------------------- */

body {
    font-family: "Open Sans", "Segoe UI", Tahoma, Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: #999999;
}

h1 {
    font-size: 35px;
    color: #707070;
    font-family: "Open Sans", "Segoe UI", Tahoma, Helvetica, Arial, sans-serif;
}

h2 {
    font-size: 26px;
    color: #707070;
    font-family: "Open Sans", "Segoe UI", Tahoma, Helvetica, Arial, sans-serif;
}

h3, h4, h5, h6 {
    font-family: "Open Sans", "Segoe UI", Tahoma, Helvetica, Arial, sans-serif;
    color: #707070;
}

a {
    color: #639846;
}

a:hover,
a:focus,
a:active {
    color: #5c5c5c;
}

.entry {
    font-size: 14px;
    color: #999999;
}

.entry strong,
.entry b {
    color: #707070;
}
