/* contains all styles for basic layout, reset and typography */

/* -------------------------------------------------------------- 
  
   reset.css
   * Resets default browser CSS.
   
-------------------------------------------------------------- */

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, code,
del, dfn, em, img, q, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
}

body { 
  line-height: 1.5; 
}

/* Tables still need 'cellspacing="0"' in the markup. */
table { border-collapse: separate; border-spacing: 0; }
caption, th, td { text-align: left; font-weight: normal; }
table, td, th { vertical-align: middle; }

/* Remove possible quote marks (") from <q>, <blockquote>. */
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }

/* Remove annoying border on linked images. */
a img { border: none; }

/* -------------------------------------------------------------- 
   
   typography.css
   * Sets up some sensible default typography.
      
-------------------------------------------------------------- */

/* Default font settings. 
   The font-size percentage is of 16px. (0.75 * 16px = 12px) */
body { 
  font-size: 75%;
  color: #222; 
  background: #fff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}


/* Headings
-------------------------------------------------------------- */

h1,h2,h3,h4,h5,h6 { font-weight: normal; color: #111; }

h1 { font-size: 3em; line-height: 1; margin-bottom: 0.5em; }
h2 { font-size: 2em; margin-bottom: 0.75em; }
h3 { font-size: 1.5em; line-height: 1; margin-bottom: 1em; }
h4 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; height: 1.25em; }
h5 { font-size: 1em; font-weight: bold; margin-bottom: 1.5em; }
h6 { font-size: 1em; font-weight: bold; }

h1 img, h2 img, h3 img, 
h4 img, h5 img, h6 img {
  margin: 0;
}


/* Text elements
-------------------------------------------------------------- */

p           { margin: 0 0 1.5em; }
p img       { float: left; margin: 1.5em 1.5em 1.5em 0; padding: 0; }
p img.right { float: right; margin: 1.5em 0 1.5em 1.5em; }

a:focus, 
a:hover     { color: #666; }
a           { color: #fe0000; text-decoration: underline; }

blockquote  { margin: 1.5em; color: #666; font-style: italic; }
strong      { font-weight: bold; }
em,dfn      { font-style: italic; }
dfn         { font-weight: bold; }
sup, sub    { line-height: 0; }

abbr, 
acronym     { border-bottom: 1px dotted #666; }
address     { margin: 0 0 1.5em; font-style: italic; }
del         { color:#666; }

pre,code    { margin: 1.5em 0; white-space: pre; }
pre,code,tt { font: 1em 'andale mono', 'lucida console', monospace; line-height: 1.5; } 


/* Lists
-------------------------------------------------------------- */

li ul, 
li ol       { margin:0 1.5em; }
ul, ol      { margin: 0 1.5em 1.5em 1.5em; }

ul          { list-style-type: disc; }
ol          { list-style-type: decimal; }

dl          { margin: 0 0 1.5em 0; }
dl dt       { font-weight: bold; }
dd          { margin-left: 1.5em;}


/* Tables
-------------------------------------------------------------- */

table       { margin-bottom: 1.4em; width:100%; }
th          { font-weight: bold; background: #C3D9FF; }
th,td       { padding: 4px 10px 4px 5px; }
tr.even td  { background: #E5ECF9; }
tfoot       { font-style: italic; }
caption     { background: #eee; }


/* Misc classes
-------------------------------------------------------------- */

.small      { font-size: .8em; margin-bottom: 1.875em; line-height: 1.875em; }
.large      { font-size: 1.2em; line-height: 2.5em; margin-bottom: 1.25em; }
.hide       { display: none; }

.quiet      { color: #666; }
.loud       { color: #000; }
.highlight  { background:#ff0; }
.added      { background:#060; color: #fff; }
.removed    { background:#900; color: #fff; }

.first      { margin-left:0; padding-left:0; }
.last       { margin-right:0; padding-right:0; }
.top        { margin-top:0; padding-top:0; }
.bottom     { margin-bottom:0; padding-bottom:0; }

/* -------------------------------------------------------------- 
   
   forms.css
   * Sets up some default styling for forms
   * Gives you classes to enhance your forms
   
   Usage:
   * For text fields, use class .title or .text
   
-------------------------------------------------------------- */

label       { font-weight: bold; display: block; }
fieldset    { padding:1.4em; margin: 0 0 1.5em 0; border: 1px solid #ccc; }
legend      { font-weight: bold; font-size:1.2em; }


/* Form fields
-------------------------------------------------------------- */

input.text, input.title,
textarea, select {
  margin:0.5em 0;
  border:1px solid #bbb;
}

input.text:focus, input.title:focus,
textarea:focus, select:focus {
  border:1px solid #666;
}

input.text, 
input.title   { width: 300px; padding:5px; }
input.title   { font-size:1.5em; }
textarea      { width: 390px; height: 250px; padding:5px; }


/* Success, notice and error boxes
-------------------------------------------------------------- */

.error,
.notice, 
.success    { padding: .8em; margin-bottom: 1em; border: 2px solid #ddd; }

.error      { background: #FBE3E4; color: #8a1f11; border-color: #FBC2C4; }
.notice     { background: #FFF6BF; color: #514721; border-color: #FFD324; }
.success    { background: #E6EFC2; color: #264409; border-color: #C6D880; }
.error a    { color: #8a1f11; }
.notice a   { color: #514721; }
.success a  { color: #264409; }

/* GRID
------------------------------------------------------------- */

.container { width: 940px; position: relative; margin: 0 auto; background: #fff; z-index: 2; }

/* Use this to create a horizontal ruler across a column. */
hr {
  background: #ddd; 
  color: #ddd;
  clear: both; 
  float: none; 
  width: 100%; 
  height: .1em;
  margin: 0 0 1.45em;
  border: none; 
}
hr.space {
  background: #fff;
  color: #fff;
}


/* Clearing floats without extra markup
   Based on How To Clear Floats Without Structural Markup by PiE
   [http://www.positioniseverything.net/easyclearing.html] */

.clearfix:after, .container:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}
.clearfix, .container {display: inline-block;}
* html .clearfix,
* html .container {height: 1%;}
.clearfix, .container {display: block;}

/* Regular clearing
   apply to column that should drop below previous ones. */

.clear { clear:both; }

/* DEBUG
------------------------------------------------------------- */

.debug {margin: 20px 0; }

/* Elements
All static elements on all pages
------------------------------------------------------------- */

/*Site styles
------------------------------------------------------------- */

body {background: url('../../img/body_bg.png') repeat-x #f9f9f9;}

div#site_container {position: relative; width: 950px; height: 100%; z-index: 1; background: url('../../img/drop_shadow.png') repeat-y; margin: 0 auto;}

h1 span {display: none;}
h1 {height: 105px; width: 235px; background: url('../../img/aids_logo2.gif') no-repeat #fff; float: left; position: relative; margin: 0; padding: 0;}

/* Nav */
div#header ul {margin: 0; padding: 0; display: block; position: absolute; bottom: 2px; left: 300px;}
div#header ul li {float: left; list-style-position: inside; list-style-type: none; margin: 0; padding: 0;}
div#header ul li a {display: block; margin: 0 1px; padding: 2px 6px 10px 6px; background: #ccc; color: #000; text-decoration: none;}
div#header ul li a:hover, div#header ul li a.on {background: #666; color: #fff;}

/*Large picture Info*/
div#picture_info {background: url('../../img/large_image_bg.jpg') no-repeat #fff; height: 360px;}
div.left_col_2 {width: 50%; position: relative; float: left; padding-top: 140px;}
span#days_left {color: #fe0000; font-size: 6em; font-weight: bold; margin-left: 10px; line-height: 1em;}
span#days_text {font-weight: bold; font-size: 3em; margin-left: 10px; line-height: 1em;}
a.button {background: url('../../img/button.png') no-repeat; width: 210px; height: 39px; text-align: center; display: block; padding-top: 5px; text-decoration: none; font-size: 1.3em;}
p.picture_info_bottom {text-align: right; margin: 0; padding-right: 60px;}
p.picture_info_bottom a.button {margin-left: 200px;}
p#raised_info {text-align: right; padding-right: 10px;}
span#raised_text {font-size: 2.2em; font-weight: bold; line-height: 1em;}
span#raised_amount {font-size: 5em; font-weight: bold; color: #fe0000; line-height: 1em;}
p#raised_button a.button {float: right; margin-right: 10px;}

h2 {font-size: 1.8em; font-weight: bold; margin: 0 0 15px 0;}
h3 {color: #fe0000;}

/*Content*/
.news_date {text-align: right;}
.left_col_4 {width: 420px; float: left; position: relative;}
.left_col_4 > * {margin: 0 10px;}
.left_col_4 > p {margin: 0 10px 10px 10px;}
.left_col_4 > h3 {margin: 0 10px 10px 10px;}
.left_col_4_2 { width: 100px; float: left; position: relative; }
.left_col_4_2 > * {margin: 0 10px;}
.left_col_4_3 {width: 210px; float: left; position: relative;}
.left_col_4_3 > * {margin: 0 10px;}
.left_col_4_3 p, .left_col_4_3 hr {margin-bottom: 15px;}
.left_col_4_3 hr {width: 90%;}
.left_col_4_4 {width: 200px; position: relative; float: left;}
.left_col_4_4 hr, .left_col_4_4 p, .left_col_4_4 h3 { margin: 5px 10px;}
.left_col_4_4 hr {width: 90%;}
.left_col_2_large {width: 700px; float: left; position: relative; padding: 10px 0 20px 0;}
.left_col_2_large > * {margin: 0 20px;}
.left_col_2_large p {margin-bottom: 10px;}
.left_col_2_large ul li {margin-left: 50px; list-style-type: circle;}
.left_col_2_small {width: 220px; position: relative; float: left;}
.flickr_thumb {margin: 7px 0; border: 7px solid #f6f6f6;}
.left_col_2_small .flickr_thumb {margin: 7px 14px 7px 0;}
div#sponsors img { margin: 20px; border: 1px solid #ccc; padding: 10px; }

/*Footer*/
div#footer {background:#2b2b2b; color: #fff; font-size: .9em; padding: 10px 0 50px 0;}
div#hope_and_help {width: 50%; position: relative; float: left;}
div#footer p {padding: 0 20px; margin-bottom: 10px;}
div#footer p img {margin: 5px 10px 5px 0; padding: 0;}
div#footer_info p {text-align: right; margin-bottom: 5px;}
div#footer a {color: #fff;}
div#footer a:hover {color: #fe0000;}

/*Admin*/
textarea#body {width: 500px; height: 500px;}
div#admin {float: right; position: relative; margin-right: 10px;}
div#admin p {margin-bottom: 5px;}