/*
 * The Kuali Financial System, a comprehensive financial management system for higher education.
 *
 * Copyright 2005-2016 The Kuali Foundation
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
/*
YUI fonts, reset and base

Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.2
*/
/**
 * Percents could work for IE, but for backCompat purposes, we are using keywords.
 * x-small is for IE6/7 quirks mode.
 */

table {
    font-size: inherit;
    font: 100%;
}

/**
 * Bump up IE to get to 13px equivalent
 */
pre, code, kbd, samp, tt {
    font-family: monospace;
    *font-size: 108%;
    line-height: 100%;
}

html {
    color: #000;
}

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td {
    margin: 0;
    padding: 0;
}

body { /*do not change, will break iframe width*/
    margin-right: 30px;
    padding-bottom: 20px;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

fieldset, img {
    border: 0;
}

address, caption, cite, code, dfn, em, strong, th, var {
    font-style: normal;
    font-weight: normal;
}

li {
    list-style: none;
}

caption, th {
    text-align: left;
}

h1, h2, h3, h4, h5, h6 {
    font-size: 100%;
    font-weight: normal;
}

q:before, q:after {
    content: '';
}

abbr, acronym {
    border: 0;
    font-variant: normal;
}

/* to preserve line-height and selector appearance */
sup {
    vertical-align: text-top;
}

sub {
    vertical-align: text-bottom;
}

/*because legend doesn't inherit in IE */
legend {
    color: #000;
}

/* base.css, part of YUI's CSS Foundation */
h1 {
    /*18px via YUI Fonts CSS foundation*/
    font-size: 138.5%;
}

h2 {
    /*16px via YUI Fonts CSS foundation*/
    font-size: 123.1%;
}

h3 {
    /*14px via YUI Fonts CSS foundation*/
    font-size: 108%;
}

h1, h2, h3 {
    /* top & bottom margin based on font size */
    margin: 1em 0;
}

h1, h2, h3, h4, h5, h6, strong {
    /*bringing boldness back to headers and the strong element*/
    font-weight: bold;
}

abbr, acronym {
    /*indicating to users that more info is available */
    border-bottom: 1px dotted #000;
    cursor: help;
}

em {
    /*bringing italics back to the em element*/
    font-style: italic;
}

blockquote, ul, ol, dl {
    /*giving blockquotes and lists room to breath*/
    margin: 1em;
}

ol, ul, dl {
    /*bringing lists on to the page with breathing room */
    margin-left: 2em;
}

ol li {
    /*giving OL's LIs generated numbers*/
    list-style: decimal outside;
}

ul li {
    /*giving UL's LIs generated disc markers*/
    list-style: disc outside;
}

dl dd {
    /*giving UL's LIs generated numbers*/
    margin-left: 1em;
}

th, td {
    /*borders and padding to make the table readable*/
    /* [disabled]border:1px solid #000; */
    padding: 0.5em;
}

th {
    /*distinguishing table headers from data cells*/
    font-weight: bold;
    text-align: center;
}

caption {
    /*coordinated margin to match cell's padding*/
    margin-bottom: .5em;
    /*centered so it doesn't blend in to other content*/
    text-align: center;
}

p, fieldset, table, pre {
    /*so things don't run into each other*/
    margin-bottom: 1em;
}

/* setting a consistent width, 160px;
   control of type=file still not possible */
/* Davidb: removing so that we retain the ability to size text-fields and textareas
input[type=text],input[type=password],textarea{width:12.25em;*width:11.9em;}
input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}    */

/*************************************************************************************/
/* Prevent unecessary scrollbars in IE */
/* Put font data on the HTML element to allow overrides on the body */
/* IE6 cant zoom text properly, so text size reset is a rough approximation */
html {
    overflow: auto;
    font: 13px/1.231 arial, helvetica, clean, sans-serif;
    *font-size: small;
}

/*to enable resizing for IE*/
input, textarea, select {
    *font-size: 100%;
    *font-family: sans-serif;
}

/* IE rendering fix for extra padding on buttons. Padding can now be set safely */
input {
    *overflow: visible;
    *padding: 0 1em;
}

/* custom default focus indicator - theme overwrites this */
:focus {
    outline: 2px solid black;
}
