/*
 * sso-base.css
 * Global baseline that Metro CSS used to provide (html/body, typography, links, form control
 * resets, default buttons). Values are copied from the Metro rules this site relied on so pages
 * keep their size and spacing after metro.css was removed.
 *
 * Rules that must never beat a component class (.sso-btn, .sso-input, ...) are wrapped in
 * :where(), which gives them zero specificity.
 */

html, body { padding: 0; margin: 0; height: 100%; }
html { font-size: 100%; }
*, *:before, *:after { box-sizing: border-box; }

article, aside, details, figcaption, figure, footer, header, nav, section { display: block; }
audio, canvas, video { display: inline-block; }
audio:not([controls]) { display: none; }
img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }

body {
    font-family: "Segoe UI", "Open Sans", sans-serif, serif;
    font-size: 0.875rem;
    line-height: 1.1;
    font-weight: 400;
    font-style: normal;
}

h1 { font: 400 2.25rem/1.1 "Segoe UI", "Open Sans", sans-serif, serif; }
h2 { font: 500 1.875rem/1.1 "Segoe UI", "Open Sans", sans-serif, serif; }
h3 { font: 500 1.5rem/1.1 "Segoe UI", "Open Sans", sans-serif, serif; }
h4 { font: 500 1.125rem/1.1 "Segoe UI", "Open Sans", sans-serif, serif; }
h5 { font: 500 0.875rem/1.1 "Segoe UI", "Open Sans", sans-serif, serif; }
h6 { font: 500 0.75rem/1.1 "Segoe UI", "Open Sans", sans-serif, serif; }
h1, h2, h3, h4, h5, h6 { margin: 0.625rem 0; }

address { font-weight: 400; font-style: normal; margin: 0.625rem 0; }
ul, ol { margin-left: 0.3125rem; }
ul li, ol li { line-height: 1.25rem; }
ul li ul, ol li ul, ul li ol, ol li ol { padding-left: 1.5625rem; }

/* :where() = zero specificity, so a:visited can never override a component such as .sso-btn */
:where(a) { color: #2086bf; text-decoration: none; }
:where(a:visited) { color: #2086bf; }

hr { border: 0; height: 2px; background-color: #88b9e3; }
table { border-collapse: collapse; }

/* Form control resets */
button, input, select, textarea { margin: 0; font-size: 100%; vertical-align: middle; }
button, input { line-height: normal; }
button::-moz-focus-inner, input::-moz-focus-inner { padding: 0; border: 0; }
label, select, button,
input[type="button"], input[type="reset"], input[type="submit"],
input[type="radio"], input[type="checkbox"] { cursor: pointer; }
textarea { overflow: auto; vertical-align: top; }
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
input[type=text]::-ms-clear, input[type=email]::-ms-clear, input[type=url]::-ms-clear,
input[type=tel]::-ms-clear, input[type=number]::-ms-clear, input[type=time]::-ms-clear { display: none; }
input[type=password]::-ms-reveal { display: none; }

/* Default look for ASP.NET <asp:Button> (input type=button/submit/reset); components override this. */
:where(input[type="button"], input[type="reset"], input[type="submit"]) {
    padding: 0 1rem;
    height: 2.125rem;
    text-align: center;
    background-color: #ffffff;
    border: 1px #d9d9d9 solid;
    color: #262626;
    display: inline-block;
    outline: none;
    font-size: 0.875rem;
    line-height: 1;
}
:where(input[type="button"], input[type="reset"], input[type="submit"]):hover { border-color: #787878; }
:where(input[type="button"], input[type="reset"], input[type="submit"]):active { background: #eeeeee; color: #262626; box-shadow: none; }
