/*
* Tinman.css | v2.0.0 | MIT | 2026
* Copyright 2026, Selwyn Orren @ Linuxweb
* Free to use under the MIT license.
* https://opensource.org/licenses/MIT
* Based on Skeleton, Copyright 2011-2014 Dave Gamache, MIT
*/

/* Table of contents
––––––––––––––––––––––––––––––––––––––––––––––––––
- Grid
- Base Styles
- Typography
- Links
- Buttons
- Forms
- Lists
- Code
- Tables
- Blockquote
- Tooltip
- Spacing
- Utilities
- Theme toggle
- Misc
*/

/* Grid
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.container {
	margin: 0 auto;
	width: 90%;
	max-width: 1140px;
}

.row {
	margin-left: -0.7em;
	margin-right: -0.7em;
	margin-top: calc(var(--row-gap) * -1);
	--row-gap: 0rem; /* no gap by default. Add .u-row-gap to a row whose columns wrap or stack. Keep this in rem: em resolves against each element's own font size, so a column with a different font size would stop cancelling the row's negative margin */
}

.container:after,
.row::before,
.row::after { content: " "; display: table; }
.row::after { clear: both; }

.column,
.columns {
	float: left;
	width: calc(100% - 1.4em);
	min-height: 1px;
	margin-left: 0.7em;
	margin-right: 0.7em;
	margin-top: var(--row-gap);
}

/* [DESKTOP FIRST] The widths and offsets below are the base. They used to sit
   inside @media (min-width: 48em). The query after them now does the opposite
   job and stacks columns below 48em. */
.one.column,
.one.columns						{ width: calc(8.33333% - 1.4em); }
.two.column,
.two.columns						{ width: calc(16.66667% - 1.4em); }
.three.column,
.three.columns						{ width: calc(25% - 1.4em); }
.four.column,
.four.columns						{ width: calc(33.33333% - 1.4em); }
.five.column,
.five.columns						{ width: calc(41.66667% - 1.4em); }
.six.column,
.six.columns						{ width: calc(50% - 1.4em); }
.seven.column,
.seven.columns						{ width: calc(58.33333% - 1.4em); }
.eight.column,
.eight.columns						{ width: calc(66.66667% - 1.4em); }
.nine.column,
.nine.columns						{ width: calc(75% - 1.4em); }
.ten.column,
.ten.columns						{ width: calc(83.33333% - 1.4em); }
.eleven.column,
.eleven.columns						{ width: calc(91.66667% - 1.4em); }
.twelve.column,
.twelve.columns						{ width: calc(100% - 1.4em); }
.fifth.column,
.fifth.columns						{ width: calc(20% - 1.4em); }

/* Standard offsets by a factor of the column width */
.offset-by-one.column,
.offset-by-one.columns				{ margin-left: calc(8.33333% + 0.7em); }
.offset-by-two.column,
.offset-by-two.columns				{ margin-left: calc(16.66667% + 0.7em); }
.offset-by-three.column,
.offset-by-three.columns			{ margin-left: calc(25% + 0.7em); }
.offset-by-four.column,
.offset-by-four.columns				{ margin-left: calc(33.33333% + 0.7em); }
.offset-by-five.column,
.offset-by-five.columns				{ margin-left: calc(41.66667% + 0.7em); }
.offset-by-six.column,
.offset-by-six.columns				{ margin-left: calc(50% + 0.7em); }
.offset-by-seven.column,
.offset-by-seven.columns			{ margin-left: calc(58.33333% + 0.7em); }
.offset-by-eight.column,
.offset-by-eight.columns			{ margin-left: calc(66.66667% + 0.7em); }
.offset-by-nine.column,
.offset-by-nine.columns				{ margin-left: calc(75% + 0.7em); }
.offset-by-ten.column,
.offset-by-ten.columns				{ margin-left: calc(83.33333% + 0.7em); }
.offset-by-eleven.column,
.offset-by-eleven.columns			{ margin-left: calc(91.66667% + 0.7em); }

/* Center odd remaining columns accross the row width */
.offset-for-one.column,
.offset-for-one.columns				{ margin-left: calc(45.83334% + 0.7em); }
.offset-for-three.column,
.offset-for-three.columns			{ margin-left: calc(37.5% + 0.7em); }
.offset-for-five.column,
.offset-for-five.columns			{ margin-left: calc(29.16666% + 0.7em); }
.offset-for-seven.column,
.offset-for-seven.columns			{ margin-left: calc(20.833333% + 0.7em); }
.offset-for-nine.column,
.offset-for-nine.columns			{ margin-left: calc(12.5% + 0.7em); }
.offset-for-eleven.column,
.offset-for-eleven.columns			{ margin-left: calc(4.166665% + 0.7em); }
.offset-for-fifth.columns			{ margin-left: calc(40% + 0.7em); }

/* Below 48em every column is full width and offsets are ignored.
   .container .columns is as specific as .six.columns and .offset-by-two.columns
   and comes after them, so it wins. A plain .columns would lose.
   47.9375em, not 48em, so a 768px screen still gets the desktop layout, as it
   did before. */
@media (max-width: 47.9375em) {
	.container .column,
	.container .columns {
		width: calc(100% - 1.4em);
		margin-left: 0.7em;
	}
}


/* Base Styles
–––––––––––––––––––––––––––––––––––––––––––––––––– */
*, *::before, *::after {
	-webkit-box-sizing: inherit;
					box-sizing: inherit; }

html {
	font-size: 1em;
	-webkit-box-sizing: border-box;
					box-sizing: border-box; }

body {
	font-size: 1rem;
	line-height: 1.618; /* unitless, so smaller text gets a proportional line height and not a fixed 25.6px */
	font-weight: 300; }


/* Typography
–––––––––––––––––––––––––––––––––––––––––––––––––– */
h1, h2, h3, h4, h5, h6 {
	margin-top: 2.1rem;
	margin-bottom: 1.4rem;
	font-weight: 700; }

/* Golden ratio type scale
   Sizes step by the square root of the golden ratio (1.272) from the 1rem body
   text: 1, 1.272, 1.618, 2.058, 2.618, 3.330, 4.236 (the powers of 1.618 are
   1, 1.618, 2.618 and 4.236).
   Line height is the font size plus a fixed 0.618rem of leading, so
   line-height = 1 + 0.618 / size. At 1rem that is 1.618, the golden ratio, and
   larger text gets proportionally tighter lines. */

/* --- Desktop Base Scale --- */
h1 { font-size: 4.236rem; line-height: 1.146; letter-spacing: -0.06em; }
h2 { font-size: 3.330rem; line-height: 1.186; letter-spacing: -0.04em; }
h3 { font-size: 2.618rem; line-height: 1.236; letter-spacing: -0.03em; }
h4 { font-size: 2.058rem; line-height: 1.300; letter-spacing: -0.02em; }
h5 { font-size: 1.618rem; line-height: 1.382; letter-spacing: -0.01em; }
h6 { font-size: 1.272rem; line-height: 1.486; letter-spacing: 0em; }

/* --- Scale down below 48em / 768px --- */
/* Below the body size the scale runs out, so h5 is a quarter step (1.128) and h6 stays at 1rem. */
@media (max-width: 47.9375em) {
	h1 { font-size: 2.618rem; line-height: 1.236; letter-spacing: -0.05em; }
	h2 { font-size: 2.058rem; line-height: 1.300; letter-spacing: -0.03em; }
	h3 { font-size: 1.618rem; line-height: 1.382; letter-spacing: -0.02em; }
	h4 { font-size: 1.272rem; line-height: 1.486; letter-spacing: -0.01em; }
	h5 { font-size: 1.128rem; line-height: 1.548; letter-spacing: 0em; }
	h6 { font-size: 1.000rem; line-height: 1.618; letter-spacing: 0.01em; }
}

/* normalize.css v8 sets b and strong to "bolder", which does nothing on text that
   is already at the weight of its parent (a 600 or 900 element), and shows no
   bold on the 300 weight body text. Setting it outright keeps normalize.css
   untouched. */
b, strong {
	font-weight: 700; }

/* normalize.css v8 no longer clears the browser's 40px figure margin. */
figure {
	margin: 0; }

p {
	margin-top: 1.4rem;
	margin-bottom: 1.4rem; }


/* Links
–––––––––––––––––––––––––––––––––––––––––––––––––– */
a {
	text-decoration: none; }

a:hover {
	text-decoration: underline; }


/* Buttons
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
	display: inline-block;
	height: 38px;
	padding: 0 30px;
	text-align: center;
	font-size: 11px;
	font-weight: 700;
	line-height: 38px;
	letter-spacing: .1rem;
	text-transform: uppercase;
	text-decoration: none !important;
	white-space: nowrap;
	background-color: transparent;
	border-radius: 4px;
	border: 1px solid;
	cursor: pointer;
	margin: 5px 0;
	-webkit-transition: background-color 0.3s, border-color 0.3s;
	transition: background-color 0.3s, border-color 0.3s; }

.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover {
	outline: 0; }

.button:disabled,
.button:disabled:hover,
.button.disabled,
button[disabled]:active, button[disabled],
input[type="button"][disabled]:active,
input[type="button"][disabled],
input[type="submit"][disabled]:active,
input[type="submit"][disabled] ,
button[disabled]:hover,
input[type="button"][disabled]:hover,
input[type="submit"][disabled]:hover {
	opacity: 0.3;
	cursor: not-allowed;
	pointer-events: none;
	}


/* Forms
–––––––––––––––––––––––––––––––––––––––––––––––––– */
input[type="email"],
input[type="number"],
input[type="date"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
	padding: 6px 10px; /* The 6px vertically centers text on FF, ignored by Webkit */
	border: 1px solid;
	border-radius: 4px;
	-webkit-box-shadow: none;
					box-shadow: none; }

input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
select:not([size]),
textarea:not([rows]) {
	height: 38px; }

/* Removes awkward default styles on some inputs for iOS */
input[type="email"],
input[type="number"],
input[type="date"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="button"],
input[type="submit"],
textarea {
	-webkit-appearance: none;
	   -moz-appearance: none;
	        appearance: none; }

textarea {
	min-height: 65px;
	padding-top: 6px;
	padding-bottom: 6px; }

input[type="email"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
	border: 1px solid;
	outline: 0; }

label,
legend {
	display: block;
	margin-bottom: .5rem;
	font-weight: 600; }

fieldset {
	padding: 0;
	border-width: 0; }

input[type="checkbox"],
input[type="radio"] {
	display: inline;
	margin-right: .5rem; }

label > .label-body {
	display: inline-block;
	margin-left: 0rem;
	font-weight: normal; }

.information-box p, .confirmation-box p, .error-box p, .warning-box p {
		padding: 0.833em 0.833em 0.833em 3em;
		margin: 0em;
}

.information-box {
		background: url('../images/icons/information.png') no-repeat 0.833em center;
		border: 1px solid;
}

.confirmation-box {
		background: url('../images/icons/confirmation.png') no-repeat 0.833em center;
		border: 1px solid;
}

.error-box {
		background: url('../images/icons/error.png') no-repeat 0.833em center;
		border: 1px solid;
}

.warning-box {
		background: url('../images/icons/warning.png') no-repeat 0.833em center;
		border: 1px solid;
}

/* Lists
–––––––––––––––––––––––––––––––––––––––––––––––––– */
ul {
	list-style: circle inside; }
	ul.outside {
		list-style-position: outside; }

ol {
	list-style: decimal inside; }
	ol.outside {
		list-style-position: outside; }

ol, ul {
	padding-left: 0;
	margin-top: 0; }

ul ul,
ul ol,
ol ol,
ol ul {
	margin: 1.4rem 0 1.4rem 2.8rem;
	font-size: 90%; }

li {
	margin-bottom: 0.7rem; }


/* Code
–––––––––––––––––––––––––––––––––––––––––––––––––– */
code {
	padding: .2rem .5rem;
	margin: 0 .2rem;
	font-size: 90%;
	white-space: nowrap;
	border: 1px solid;
	border-radius: 4px; }

pre > code {
	display: block;
	padding: 1rem 1.5rem;
	white-space: pre;
	overflow: auto; }


/* Tables
–––––––––––––––––––––––––––––––––––––––––––––––––– */
table {
	border-collapse: collapse;
	width: 100%;
	margin-top: 0.7rem; }
	@media screen and (max-width: 40em) {
		table {
			width: 100%;
			overflow-x: auto;
			display: block; } }

td, th {
	padding: 12px 15px;
	text-align: left;
	border-bottom: 1px solid; }

tr:hover,
tr:nth-child(even):hover,
tr:hover,
tr:nth-child(odd):hover {
}

th:first-child,
td:first-child {
	padding-left: 15px; }

th:last-child,
td:last-child {
	padding-right: 15px; }

tr:nth-child(even) {}

/* Blockquote
–––––––––––––––––––––––––––––––––––––––––––––––––– */
blockquote {
	border-left: 10px solid;
	margin: 1.4rem 0.7rem;
	padding: 0.5em 10px;
	quotes: "\201C" "\201D" "\2018" "\2019";
	display: table;
}
blockquote:before {
	content: open-quote;
	font-size: 4em;
	line-height: 0.1em;
	margin-right: 0.25em;
	vertical-align: -0.5em;
	font-family: Georgia, serif;
	font-style: italic;
}
blockquote p {
	display: inline;
}
blockquote cite {
	font-size: 14px;
	display: block;
	margin-top: 5px;
}

blockquote cite:before {
	content: "\2014 \2009";
}

/* Tooltip
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.tooltip {
    display: inline-block;
	position: relative;
    text-align: center;
}

.tooltip:hover:after {
	border-radius: 5px;
	bottom: 26px;
	content: attr(rel);
	left: 50%;
    -webkit-transform: translate(-50%);
            transform: translate(-50%);
	padding: 5px 15px;
	position: absolute;
	z-index: 98;
	width: 180px;
    font-weight: initial;
    font-size: initial;
    line-height: initial;
    text-transform: initial;
    white-space: initial;
}
.tooltip:hover:before {
	border: solid;
	border-width: 6px 6px 0 6px;
	bottom: 21px;
	content: "";
	left: 50%;
	position: absolute;
	z-index: 99;
}
.tooltip.button:hover:after {
    bottom: 46px;
}
.tooltip.button:hover:before {
    bottom: 41px;
}

/* Spacing
–––––––––––––––––––––––––––––––––––––––––––––––––– */
button,
.button {
	margin-bottom: 1.4rem; }

button i, a i {
	margin-right: 0.5rem;
}

input,
textarea,
select,
fieldset {
	margin-bottom: 1.4rem; }

pre,
blockquote,
dl,
figure,
table,
/*p:not(:last-child),*/
ul,
ol,
form {
	margin-bottom: 2.8rem; }

/* Utilities
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.u-full-width {
	width: 100%; }

.u-max-full-width {
	max-width: 100%; }

/* Floats */
.u-pull-right {
	float: right; }

.u-pull-left {
	float: left; }

.u-cf {
	content: "";
	display: table;
	clear: both; }

/* Positioning */
.u-center-block {
	display: block;
	margin-left: auto;
	margin-right: auto; }

/**
 * Note:
 *
 * Nest this class inside something with `position: relative` to have
 * your element centered relative to its containing element.
 *
 * Use this class without nesting it to have your element centered relative
 * to the viewport.
 */
.u-center-abs {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translateY(-50%) translateX(-50%);
					transform: translateY(-50%) translateX(-50%); }

/* Type */
.u-text-center {
	text-align: center !important; }

.u-text-right {
	text-align: right !important; }

.u-text-hide {
	font: 0/0 a;
	color: transparent;
	text-shadow: none;
	background-color: transparent;
	border: 0; }

/* Peek a boo */
.u-hide {
	display: none !important; }

.u-show {
	display: block !important; }

.u-invisible {
	visibility: hidden !important; }

.u-visible {
	visibility: visible !important; }

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

.u-no-margin {
	margin: 0; }

/* Adds a 1.4rem vertical gap between wrapped or stacked columns, e.g.
   <div class="row u-row-gap">. Rows have no gap by default, so a header,
   navigation bar or single line row sits flush. The gap only ever falls between
   lines of columns, never above the first or below the last. Put it on the .row,
   never on a column: the row's negative margin and its columns' top margin both
   read --row-gap and must stay equal. To use another size for one row, set
   --row-gap in rem on that row in layout.css. It sits after .row in this file,
   so it wins at equal specificity. */
.u-row-gap { --row-gap: 1.4rem; }

/* Vertical margin for spacing sections, e.g. <div class="container u-margin-4">.
   The steps are multiples of the 0.7 grid gutter (1 = 0.7rem, 2 = 1.4rem and
   so on), so the spacing stays in proportion with the grid. Top and bottom
   only, so a .container keeps its auto side margins. */
.u-margin-1 { margin-top: 0.7rem; margin-bottom: 0.7rem; }
.u-margin-2 { margin-top: 1.4rem; margin-bottom: 1.4rem; }
.u-margin-3 { margin-top: 2.1rem; margin-bottom: 2.1rem; }
.u-margin-4 { margin-top: 2.8rem; margin-bottom: 2.8rem; }
.u-margin-5 { margin-top: 3.5rem; margin-bottom: 3.5rem; }
.u-margin-6 { margin-top: 4.2rem; margin-bottom: 4.2rem; }

/* Theme toggle
––––––––––––––––––––––––––––––––––––––––––––––––––
An icon only button, see the light / dark section of js/application.js.
Colours come from the button rules in colors.css. */
.theme-toggle {
	padding: 0 0.9rem;
	font-size: 1rem;
	letter-spacing: 0; }

.theme-toggle i {
	margin-right: 0; }


/* Misc
–––––––––––––––––––––––––––––––––––––––––––––––––– */
hr {
	margin-top: 1.4rem;
	margin-bottom: 1.4rem;
	border-width: 0;
	border-top: 1px solid; }
