/******************/
/* LAYOUT */

#container { width: 960px; margin: auto; }
#header { position: relative; padding-bottom: 10px; }
#content {
    padding: 10px;
    -moz-border-radius-topleft: 10px;
    -webkit-border-top-left-radius: 10px;
    -moz-border-radius-topright: 10px;
    -webkit-border-top-right-radius: 10px;
}
#footer {
    padding: 20px 10px 30px;
    margin-bottom: 10px;
    overflow: auto;
    -moz-border-radius-bottomleft: 10px;
    -webkit-border-bottom-left-radius: 10px;
    -moz-border-radius-bottomright: 10px;
    -webkit-border-bottom-right-radius: 10px;
}

/******************/
/* COLORS + BACKGROUNDS */

html, body { color: #666; background: #d9d8d8 url('../images/bg-body.png') repeat-x top; }
h1, h2, h3 { color: #000; }
#content { position: relative; background: #fff; }
#footer { background: #000; clear: both; }
a, a h2, .mock-link { color: #f7403a; }
h6 a { color: #666; }

/******************/
/* TYPOGRAPHY */
#nav li, #filter-options li a, button.ui-datepicker-trigger, #grid, #image-complement-bottom, #slide-nav, 
ul.inline { font-family: Arial, Verdana, sans-serif; margin-bottom: 0.4em; }
body, h5, h6, h1, h2, h3, h4 { font-family: Arial, "Lucida Grange", Helvetica, sans-serif; }
h1 { font-size: 35px; } 
h2 { font-size: 161.6%; } /* 21px */
h3 { font-size: 138.5%; } /* 18px */
h4 { font-size: 123.1%; } /* 16px */
h6 { font-weight: bold; text-transform: uppercase; font-size: 77%; } /* 10px */
h5, p { font-size: 108%; } /* 14px */
p { margin-bottom: 1em; }
strong { font-weight: bold; }
em { font-style: italic; }
a { text-decoration: none; }
small, .small { font-size: 0.9em; }
ol { padding-left: 2em; }
ol, ol li { list-style-type: decimal; }
.content-block ul, .wysiwyg-output ul { padding-left: 2em; font-size: 108%; line-height: 1.5em; }
.content-block ul li, .wysiwyg-output ul li { list-style-type: disc; }

/******************/
/* FORMS */
input[type='text'], input[type='password'], input.text, input.password {
    height: 14px;
    font-size: 12px;
    line-height: 14px; /* 29 - ( 6 + 11 ) */
    width: 140px; /* 168 - 2 * 14 */
    padding: 7px 14px 8px; /* overall height is 29px */
    background: url('../images/input.png');
    border: 0px;
}
input[type='submit'], input.submit {
    background: url('../images/submit.png') no-repeat;
    height: 26px;
    width: 69px;
    border: 0px;
}
input.pinkbg {
    width: 173px; /* 201 - 2 * 14 */
    background: url('../images/input-pink.png') no-repeat;
}
.errors {
  padding: 8px 0 8px 16px;
  background: transparent url(../images/form-error.png) no-repeat 0 10px;
  color: #c00;
}

/******************/
/* HEADER */

#logo { display: block; margin: 0 0 16px 10px; position: relative; top: 16px; width: 221px; height: 165px; }
#logo img { display: block; }
#searchbar { position: absolute; bottom: 19px; right: 130px; text-align: right; }
#searchbar label { display: none; }
#principal-sponsor { position: absolute; bottom: 100px; right: 7px; }
#principal-sponsor2 { position: absolute; bottom: 17px; right: 7px; }
#nav { float: right; }
#nav li { 
    float: left;
    text-transform: uppercase;
    font-weight: bold; 
    margin-left: 6px;
}
#nav li a {
    display: block;
    outline: 0px;
    padding: 21px 7px 14px;
}
#nav li a:link, #nav li a:visited {
    color: #000;
}
#nav li a:hover, #nav li a.active {
    color: #fff;
    background-color: #000;
    -moz-border-radius-bottomleft: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-radius-bottomright: 5px;
    -webkit-border-bottom-right-radius: 5px;
}
#searchbar label {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 84.6%;
}
#searchbar input[type=submit] {
    background: url('../images/search.png') no-repeat;
    width: 29px;
    height: 27px;
    top: 1px;
    position: relative;
}

/******************/
/* LIST CONTENT */
.news-list-item {
    clear: both;
    margin-top: 10px;
}
.news-list-image {
    float: left;
    width: 90px;
}
.news-list-content {
    float: right;
    width: 820px;
    padding-left: 10px;
}


/******************/
/* FOOTER */
.footer-right-box { width: 502px; height: 99px; float: right; position: relative; left: 0; top: -10px; }
.footer-right-box a { display: block; float: right; margin: 9px; }
.footer-right-box img { display: block; }
#footer-nav { font-size: 92.3%; line-height: 158.3%; }
#footer-nav a:hover { text-decoration: underline; }
#footer-legal { width: 200px; float: left; }
#footer-lists { float: right; width: 480px; }
#footer-lists div { float: left; width: 160px; }
#footer, #footer h2, #footer a { color: #fff;}
#footer h2 { border-bottom: 1px solid #5c5c5c; padding-bottom: 8px; margin-bottom: 10px; font-size: 20px; }
#footer-lists li, #footer-legal li { margin-bottom: 4px; }
#copyright { color: #000; margin: 6px 0 0 18px; float: left; font-size: 92.3%; }
#agency-logo { float: right; margin: 6px 18px 120px 0; }
.follow-link { display: block; float: left; width: 25px; height: 34px; margin: 10px 10px 0 0; }

/******************/
/* HACKS */
.horizontal-center {
    text-align: center;
}
.flickr-instruction { font-size: 0.9em; }
#featured-content .event-category { display: inline; position: relative; top: -2px; }
#featured-content .event-times img { margin: 0 0.6em 0 0 !important; }
.corner-hack-top-left, .corner-hack-top-right, .corner-hack-bottom-left, .corner-hack-bottom-right {
    height: 10px;
    width: 10px;
    background: url('../images/corner-hack.png') no-repeat top left;
    position: absolute;
}
.corner-hack-top-left {
    background-position: 0px 0px;
    top: 0px;
    left: 0px;
}
.corner-hack-top-right {
    background-position: -10px 0px;
    top: 0px;
    right: 0px;
}
.corner-hack-bottom-left {
    background-position: 0px -10px;
    bottom: 0px;
    left: 0px;
}
.corner-hack-bottom-right {
    background-position: -10px -10px;
    bottom: 0px;
    right: 0px;
}
#atffc { display: none; }
input[type='submit'] { cursor: pointer; }

@media screen and (-webkit-min-device-pixel-ratio:0) {
  #searchbar input[type=text] {
    /* SAFARI / CHROME HACK FOR SEARCHBAR */
    position: relative;
    top: 7px;
  }
  #featured-content .event-times {
    position: absolute;
    top: 11px;
  }
  #featured-content .event-category {
    padding-left: 18px;
  }
  #featured-content .event-category-safari-padding {
    padding-left: 40px;
  }
}
