/********************************
Filetypes
*********************************/
a[href^='http'] {
    background: transparent url(/assets/css/icons/world_link.png) center right no-repeat;
    display: inline-block;
    padding-right: 20px;
}

a[href*='cornellcollege.edu'] {
    background: none;
    display: inline-block;
    padding-right: 0px;
}

a[href^='mailto'] {
    background: transparent url(/assets/css/icons/mail_generic.png) center right no-repeat;
    display: inline-block;
    padding-right: 20px;
}

a[href$='.pdf'] {
    background: transparent url(/assets/css/icons/pdf-document.png) center right no-repeat;
    display: inline-block;
    padding-right: 20px;
}

a[href$='.doc'] {
    background: transparent url(/assets/css/icons/page_white_word.png) center right no-repeat;
    display: inline-block;
    padding-right: 20px;
}

a[href$='.xls'] {
    background: transparent url(/assets/css/icons/page_excel.png) center right no-repeat;
    display: inline-block;
    padding-right: 20px;
}

/********************************
Form Stuff
*********************************/
.error{
    color: red;
}

fieldset{
    position: relative;
    left: 0;
    width: auto;
    border: 1px solid #878;
    background-color: #f8f8f8;
    padding: 0.5em;
    margin: 1.5em 0;
}

fieldset legend{
    position: absolute;
    left: 1em;
    top: -0.7em;
    border: 1px solid #000;
    font-size: 1.2em;
    padding: 1px 5px;
    color: #fff;
    background-color: #3e3456;
}

fieldset ol{
    list-style: none;
}

fieldset li:hover {
    background: #ddd;
}

fieldset li label {
    padding: 3px;
}

.element label {
    float: none;
}

fieldset input[type="checkbox"], fieldset input[type="radio"] {
    margin: 5px 6px 7px 2px;
}

.searchResults fieldset li,
#text fieldset li{
    clear: both;
    padding: 0.5em;
    list-style: none;
    margin-left: 0;
}

textarea {
    width: 550px;
    height: 7em;
}

/*********************************
Tables
**********************************/
table.full {
    width: 100%;
}

table.border{
    border-top: 1px solid #000;
    border-left: 1px solid #000;
    border-collapse: collapse;
}

table.border td, table.border th{
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
}

td, th{
    padding: 3px;
    vertical-align: top;
}

td p:first-child{
    padding-top: 0;
    font-weight: bold;
}

th{
    background-color: #2f2149;
    color: #fff;
}

tr.color{
    background-color: #dcd;
}

/*********************************
Heading
**********************************/
h2{
    margin-bottom: 1em;
}

/*********************************
App Specific
**********************************/
.loading {
    background: url('/assets/images/ajax-loader.gif') no-repeat center right;
    padding: 16px;
    margin: 0 0.5em;
}
