/* Stylesheet for stevesque.com */
/* November 2017 */

/* Global */

* {
    border: 0;
    margin: 0;
    padding: 0;
}

body {
    background: #eeeeee;
    color: #333333;
    font-family: "Noto Serif", Georgia, serif;
    font-size: 16px;
    text-align: center;
}


/* IDs */

#container {
    margin: 0 auto;
    max-width: 768px;
}

#header {
    background: #333333;
    background-position: center center;
    color: #ffffff;
    padding: 20px;
    text-align: left;
}

#header a {
    background: transparent;
    color: #ffffff;
    text-decoration: none;
}

#header p {
    font-size: 112.5%; /* 18px */
    margin-bottom: 0;
}

#main {
    background: #ffffff;
    padding: 20px;
    text-align: left;
}

#footer {
    background: #333333;
    background-position: center bottom;
    color: #ffffff;
    padding: 20px;
    text-align: left;
}

#footer a {
    background: transparent;
    color: #ffffff;
    text-decoration: none;
}

#footer p {
    margin-bottom: 0;
}


/* HTML */

a {
    background: transparent;
    color: #000099;
}

a:visited {
    background: transparent;
    color: #000033;
}

a:hover {
    background: transparent;
    color: #990000;
}

a[href^="http:"] {
    background: url("/images/external.png") no-repeat center right;
    padding-right: 15px;
}

a[href^="mailto:"] {
    background: url("/images/email.png") no-repeat center right;
    padding-right: 19px;
}

a[href$=".pdf"] {
    background: url("/images/pdf.png") no-repeat center right;
    padding-right: 13px;
}

abbr, acronym {
    border-bottom: 1px solid #eeeeee;
}

button {
    border: 1px solid #333333;
    padding: 5px;
}

button:hover {
    background-color: #EEEEEE;
}

cite {
    background: transparent;
    color: #56887d;
}

code {
    background: transparent;
    color: #319177;
    font-weight: bold;
}

form {
    margin-bottom: 20px;
}

form label {
    text-align: right;
}

form input {
    border: 1px solid #000000;
    margin: 0 4px;
    padding-left: 3px;
}

.slider {
    border: 0;
}

#submit {
    margin-left: 64px;
}

form select {
    border: 1px solid #000000;
    height: 20px;
    line-height: 20px;
    margin: 4px;
}

form textarea {
    border: 1px solid #000000;
    margin: 4px;
    
    -webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
    
    width: 99%;
}

h1 {
    font-size: 250%; /* 40px */
}

h2 {
    font-size: 187.5%; /* 30px */
    font-weight: normal;
    margin: 0 0 0.75em 0;
}

h3 {
    font-size: 150%; /* 24px */
    font-weight: normal;
    margin: 1.25em 0 0.5em 0;
}

h3:first-child {
    margin-top: 0;
}

h4 {
    font-size: 112.5%; /* 18px */
    margin: 1.25em 0 0.5em 0;
}

hr {
    color: #999999;
    background-color: #999999;
    height: 1px;
    margin-bottom: 1em;
}

.equation {
    margin: -0.25em 0 0.5em 2em;
}

p {
    line-height: 1.25em;
    margin-bottom: 1em;
}

table {
    border-collapse: collapse;
    border-bottom: 2px solid #666666;
    margin: 10px 0;
    font-size: 87.5%; /* 14px */
}

th, td {
    padding: 6px 12px;
}

th {
    background-color: #eeeeee;
    border-top: 2px solid #666666;
    border-bottom: 1px solid #999999;
    vertical-align: bottom;
}

td {
    background-color: #fcfcfc;
    border-bottom: 1px solid #cccccc;
    vertical-align: middle;
}

li {
    margin: 0.25em 0 0.25em 0;
}

ul {
    margin: 1em 0 1em 2em;
    list-style-type: square;
}

ul ul {
    margin: 0.5em 0 0.75em 2em;
    list-style-type: disc;
}

ul ul ul {
    list-style-type: circle;
}

ol {
    margin: 1em 0 1em 2em;
}

ol .comments {
    margin: 0 0 0 1.5em;
}

ol .comments li {
    background: transparent;
    color: #666666;
    font-size: 87.5%; /* 14px */
    margin: 0;
}

sup, sub {
    vertical-align: baseline;
    position: relative;
    top: -0.4em;
}

sub {
    top: 0.4em;
}

var {
    font-family: "Times New Roman", serif;
    font-style: italic;
}

var sub, sup {
    font-style: normal;
}


/* Classes */

.address {
    background: transparent;
    color: #663300;
}

.centre, .center {
    margin: 0 auto 20px auto;
    text-align: center;
}

.half {
    width: 300px;
}

.left {
    float: left;
    margin: 0 10px 20px 0;
}

.notice {
    background-color: #ffffcc;
    border: 1px solid #cc9966;
    padding: 10px;
}

.right {
    float: right;
    margin: 0 0 20px 10px;
}

.small {
    font-size: 87.5%; /* 14px */
}

.spaced li {
    margin-bottom: 1em;
}

.warning {
    background: transparent;
    color: #cc3333;
}