/*
  ###################################################################
  Regedor Project : main stylesheet
  Author          : miguelregedor[at]gmail[dot]com
  ###################################################################
*/


/* = Reset. http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/
----------------------------------------------------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0; padding: 0; border: 0; outline: 0; font-weight: inherit; font-style: inherit; font-size: 100%;
  font-family: inherit; vertical-align: baseline;
}
/* remember to define focus styles! */
:focus { outline: 0; }
body { line-height: 1; color: black; background: white; }
ol, ul { list-style: none; }
/* tables still need 'cellspacing="0"' in the markup */
table { border-collapse: separate; border-spacing: 0; }
caption, th, td { text-align: left; font-weight: normal; }
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }

/*
  ###################################################################
  Color Notes:
  ###################################################################
*/


/* = Typography
-------------------------------------------------- */
body                        { font-size: 62.5%; color: #111;}
body                        { font-family:Verdana,HelveticaNeue,Helvetica,Arial,sans-serif;}
body                        { color:#444;}
a                           { text-decoration:none; color:#555;}
a:hover                     { color:#971318;}
#content h1                          { font-size:1.7em; margin-bottom:1em; margin-top:1em;}
h2                          { font-size:1.7em; margin-bottom:1em; color: #b55;margin-top:1em;}
h4                          { font-size:1.7em; margin-bottom:0.2em; margin-top:2em;color:#971318;padding-bottom:0.5em;color:#b55;}
h5                          { font-size:1.4em; margin-top:0.5em;padding-bottom: 0.5em; color: #b55;}

blockquote { background: #fafafa no-repeat right top; border-bottom: 1px solid #eee; border-top: 1px solid #eee;}
blockquote { display: block;margin: 1em 0 1em 0;padding: 1em;}
ul { margin-left: 1em; margin-bottom: 1em; list-style: none; line-height:.5em; }
li { margin:0; padding: 0 0 0 1em; line-height: 1em; font-size: 1.3em; }

#account-info               { font-size:1.26em;}
#account-info               { text-align:right; line-height:1em;}
#account-info .flags        { vertical-align:text-top;}
#navigation                 { font-size:1.5em; margin-bottom:1em;}
#navivation a               { text-decoration: none;}
#admin-navigation           { font-size:1.5em; margin-bottom: 1em;}
#admin-navigation a         { text-decoration: none;}
#admin-navigation span      { text-decoration:none; color:#555;}
#content p                  { font-size:1.3em; text-align:justify;}
#content p                  { margin-bottom:1em; line-height:1.15em;}
#footer                     { font-size:1.26em; text-align:left; line-height: 1.1em;}
#footer a                   { font-weight:bold; text-decoration:none;}
.flash_text                 { font-size:1.3em; text-align:center; padding:0.8em; margin-bottom: 1em;}
.flash_text.error           { color:#e22; border-top:1px dashed #fcc; border-bottom:1px dashed #fcc;}
.flash_text.error           { background: url(/images/Alert.png) no-repeat 100% 0;}
.flash_text.error .wrapper  { background: url(/images/Alert.png) no-repeat 0 0;}
.flash_text.notice          { color:#591; border-top:1px dashed #cd8; border-bottom:1px dashed #cd margin-bottom:0.5em; margin-top:1em; color:#971318;padding-bottom: 0.5em;}8;}
.flash_text.notice          { background: url(/images/Info.png) no-repeat 100% 0;}
.flash_wrapper { background: url(/images/Info.png) no-repeat 0 50%;}
.resource-list a            { text-decoration:none;}
.resource-list th           { font-size:1.6em; color:#e22;}             
.resource-list td           { font-size:1.3em;}         
.resource-list td.actions   { text-align:right;}
#about p                    { margin-bottom: 0.5em;}
#about h4                   { margin-top: 1em; margin-bottom:0.1em}


/* = Structure
-------------------------------------------------- */
body                         { background:#ddd; margin:0;  padding:0;}
#wrapper                     { background:#fff;}
#wrapper                     { width:730px;margin:0 auto;border-left:1px solid #999;border-right:1px solid #999;}
#header                      { margin:0 auto;}
#links                       { float:right; margin-right:20px; }
#content                     { margin:0 auto; margin-left:20px; margin-right:20px; }
#navigation                  { margin:0 auto; margin-left:20px; margin-right:20px; }
#admin-navigation            { margin:0 auto; margin-left:20px; margin-right:20px; }
#footer                      { margin:0 auto; margin-left:20px; margin-right:20px; }
#account-info                { width:730px; margin:0 auto; height:1em;}
#account-info img            { margin: 0 3px -3px 0 !important ;}
#admin-navigation            { margin-bottom: 1em; }
#header                      { height: auto; border-bottom: #999 solid 1px;margin-bottom: 1em; }
#site-logo                   { background: url(/images/bg_logo.png) no-repeat; }
#site-logo                   { text-indent: -6666px; height:207px; width:730px;}
#navigation                  { margin-bottom: 0em; }
#content                     { border-bottom: #ddd solid 1px; }
#footer                      { height: 45px; padding-top: 1em; }
.form_with_notes             { width:70%; }
.form_side_notes             { width:27%; float:right; margin-left: 2%; }
.form_side_notes > .note     { border: #ddd solid 1px; padding-top: 14px; margin-bottom: 15px;}
.form_side_notes > .note > * { margin: 15px; margin-top:0; }
.form_side_notes .buttons a  { float:none; display:block; margin:0; }
.required_field_note         { margin-left:25%; margin-bottom:1em; }

/* = Resources List Structure
-------------------------------------------------- */
#postals-list                      { width: 100%; border-collapse: collapse;}
#postals-list thead                { text-align: center;}
#postals-list tbody tr             { height: 150px;}
#postals-list tbody tr.odd         { background: #f5f5f5;}
#postals-list tbody tr:hover       { background: #eee;}
#postals-list tbody tr:hover a     { color:#971318;}
#postals-list tbody                { border: 1px solid #eee}
#postals-list img                  { border: 1px solid #fff;}
#postals-list a                    { display: block;}
#postals-list th                   { padding:10px;font-size:1.7em;margin-bottom:1em;color:#b55;border:none;text-align:center;}
#postals-list td                   { padding: 1em 10px; vertical-align: middle; }
#postals-list td.photo             { text-align:center; }
#postals-list tbody p              { font-size:1.4em;}

.postal_block { float:left; width: 150px; height: 220px; text-align:center;}
.postal_block { margin: 0 10px 10px 0px; padding: 5px; border: 1px solid #ccc;}
.postal_block {	-moz-border-radius: 3px;-khtml-border-radius: 3px;-webkit-border-radius: 3px;       }

#content .postal_image { height: 140px; text-align:center ; vertical-align:middle;  }
#content .postal_image a { vertical-align:middle;  }
#content .postal_block .postal_info p { text-align:center ; font-size: 1.1em; }

/* = About Page Structur
------------------------------------------------- */
#development_video { width: 450px; float: right; }
#usage_video       { width: 450px; }
#user-invite       { width:50%; margin-right:16%; border-right: 1px solid #ccc; } 
#user-info         { float:right; width:33%; } 
#user-downloads    { margin-top:4em; padding-top: 1em; border-top: 1px solid #ccc }

/* = Home Page Structur
------------------------------------------------- */
#content #search_panel .search_left_side    { width: 340px; float: left;          }
#content #search_panel .controls            { width: 100%; display: inline-block; }
#content #search_panel fieldset             { margin-bottom: 1em;                 }
#content #search_panel { margin: 0 0 20px 0; padding: 5px; border: 1px solid #ccc;}
#content #search_panel {-moz-border-radius: 3px;-khtml-border-radius: 3px;-webkit-border-radius: 3px;}
#home_news  { margin-top: 2.2em; font-size:1.3em; text-align:center; padding:0.8em; margin-bottom: 1.3em;}
#home_news  { border-top:1px solid #ccc; border-bottom:1px solid #ccc;}

/* = generic effects 
------------------------------------------------- */
ul.gallery { width: 690px; /*--Adjust to scenario--*/ list-style: none;	margin: 0; padding: 0; }
ul.gallery li {	float: left; margin: 0 9px 18px 9px; padding: 0; text-align: center; border: 1px solid #ccc; display: inline; }
ul.gallery li { -moz-border-radius: 3px; -khtml-border-radius: 3px; -webkit-border-radius: 3px; }
ul.gallery li a.thumb {	width: 200px;height:225px;/*--Ajust image--*/padding: 5px;border-bottom: 1px solid #ccc;cursor:pointer;}
ul.gallery li span { /*--Ajust image--*/width: 200px;height: 225px;overflow: hidden;display: block;}
ul.gallery li a.thumb:hover { background: #333; /*--Hover effect for browser with js turned off--*/ }
ul.gallery li h2 { font-size: 1em; font-weight: normal;	text-transform: uppercase; } 
ul.gallery li h2 { margin: 0; padding: 10px; background: #f0f0f0;border-top: 1px solid #fff; /*--Subtle bevel effect--*/}
ul.gallery li a  {text-decoration: none; color: #777; display: block;}

.pagination            { padding: 2px; text-align: right; font-size:1.3em;                                       }
.pagination ul         { margin: 0;padding: 0;text-align: left; font-size: 16px;                                 }
.pagination li         { list-style-type: none;display: inline;padding-bottom: 1px;                              }
.pagination .current   { padding: 0 5px;border: 1px solid #971318;color: #333;font-weight: bold;cursor: default; }
.pagination .disabled  { cursor: default;color: #929292;font-weight: normal !important;                          }
.pagination a.prevnext { font-weight: bold;                                                                      }



/* = New postal 
------------------------------------------------- */
#form-postal table     {border-spacing: 0.8em;}
#form-postal tr        {font-size: 1.2em;}
#form-postal textarea  {width: 687px;}


#show-postal h4 { border-color: #EEEEEE; border-style: solid; border-width: 0 0 1px; }
#show-postal #postal_controllers   { font-size: 1.5em; margin-bottom:0.5em;float:right;}
#show-postal #postal_controllers a { color: #e22;background-color:#eee; }
#edit_link a { color: #e22;background-color:#eee; }
.active-scaffold .form-footer { margin-top:1em; }
.active-scaffold li.form-element { margin-bottom:0.5em; }



/* Self-clearing floats and IE hacks */
.hidden           { display: none; }
.selfclear:after  { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.selfclear        { display: inline-block; /* IE 7 */ }
.selfclear        { display: block; }
* html .selfclear { height: 1px; /* IE < 7 */ }
* html .resource-list tr.table-header { background: #000; /* IE < 7 */}




/* -------------------------------------------------------------------------------------------------

It's *strongly* suggested that you don't modify this file.  Instead, load a new stylesheet after
this one in your layouts (eg formtastic_changes.css) and override the styles to suit your needs.
This will allow you to update formtastic.css with new releases without clobbering your own changes.

This stylesheet forms part of the Formtastic Rails Plugin
(c) 2008 Justin French

--------------------------------------------------------------------------------------------------*/


/* NORMALIZE AND RESET - obviously inspired by Yahoo's reset.css, but scoped to just form.formtastic
--------------------------------------------------------------------------------------------------*/
form.formtastic, form.formtastic ul, form.formtastic ol, form.formtastic li, form.formtastic fieldset, form.formtastic legend, form.formtastic input, form.formtastic textarea, form.formtastic select, form.formtastic p { margin:0; padding:0; }
form.formtastic fieldset { border:0; }
form.formtastic em, form.formtastic strong { font-style:normal; font-weight:normal; }
form.formtastic ol, form.formtastic ul { list-style:none; }
form.formtastic abbr, form.formtastic acronym { border:0; font-variant:normal; }
form.formtastic input, form.formtastic textarea, form.formtastic select { font-family:inherit; font-size:inherit; font-weight:inherit; }
form.formtastic input, form.formtastic textarea, form.formtastic select { font-size:100%; }
form.formtastic legend { color:#000; }


/* FIELDSETS & LISTS
--------------------------------------------------------------------------------------------------*/
form.formtastic fieldset { }
form.formtastic fieldset.inputs { }
form.formtastic fieldset.buttons { padding-left:25%; }
form.formtastic fieldset ol { }
form.formtastic fieldset.buttons li { float:left; padding-right:0.5em; }

/* clearfixing the fieldsets */
form.formtastic fieldset { display: inline-block; }
form.formtastic fieldset:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
html[xmlns] form.formtastic fieldset { display: block; }
* html form.formtastic fieldset { height: 1%; }


/* INPUT LIs
--------------------------------------------------------------------------------------------------*/
form.formtastic fieldset ol li { margin-bottom:1.5em; }

/* clearfixing the li's */
form.formtastic fieldset ol li { display: inline-block; }
form.formtastic fieldset ol li:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
html[xmlns] form.formtastic fieldset ol li { display: block; }
* html form.formtastic fieldset ol li { height: 1%; }

form.formtastic fieldset ol li.required { }
form.formtastic fieldset ol li.optional { }
form.formtastic fieldset ol li.error { }
  

/* LABELS
--------------------------------------------------------------------------------------------------*/
form.formtastic fieldset ol li label { display:block; width:25%; float:left; padding-top:.2em; }
form.formtastic fieldset ol li li label { line-height:100%; padding-top:0; }
form.formtastic fieldset ol li li label input { line-height:100%; vertical-align:middle; margin-top:-0.1em;}


/* NESTED FIELDSETS AND LEGENDS (radio, check boxes and date/time inputs use nested fieldsets)
--------------------------------------------------------------------------------------------------*/
form.formtastic fieldset ol li fieldset { position:relative; }
form.formtastic fieldset ol li fieldset legend { position:absolute; width:25%; padding-top:0.1em; }
form.formtastic fieldset ol li fieldset legend span { position:absolute; }
form.formtastic fieldset ol li fieldset legend.label label { position:absolute; }
form.formtastic fieldset ol li fieldset ol { float:left; width:74%; margin:0; padding:0 0 0 25%; }
form.formtastic fieldset ol li fieldset ol li { padding:0; border:0; }


/* INLINE HINTS
--------------------------------------------------------------------------------------------------*/
form.formtastic fieldset ol li p.inline-hints { color:#666; margin:0.5em 0 0 25%; }


/* INLINE ERRORS
--------------------------------------------------------------------------------------------------*/
form.formtastic fieldset ol li p.inline-errors { color:#cc0000; margin:0.5em 0 0 25%; }
form.formtastic fieldset ol li ul.errors { color:#cc0000; margin:0.5em 0 0 25%; list-style:square; }
form.formtastic fieldset ol li ul.errors li { padding:0; border:none; display:list-item; }


/* STRING & NUMERIC OVERRIDES
--------------------------------------------------------------------------------------------------*/
form.formtastic fieldset ol li.string input { width:74%; }
form.formtastic fieldset ol li.password input { width:74%; }
form.formtastic fieldset ol li.numeric input { width:74%; }


/* TEXTAREA OVERRIDES
--------------------------------------------------------------------------------------------------*/
form.formtastic fieldset ol li.text textarea { width:74%; }


/* HIDDEN OVERRIDES
--------------------------------------------------------------------------------------------------*/
form.formtastic fieldset ol li.hidden { display:none; }


/* BOOLEAN OVERRIDES
--------------------------------------------------------------------------------------------------*/
form.formtastic fieldset ol li.boolean label { padding-left:25%; width:auto; }
form.formtastic fieldset ol li.boolean label input { margin:0 0.5em 0 0.2em; }


/* RADIO OVERRIDES
--------------------------------------------------------------------------------------------------*/
form.formtastic fieldset ol li.radio { }
form.formtastic fieldset ol li.radio fieldset ol { margin-bottom:-0.6em; }
form.formtastic fieldset ol li.radio fieldset ol li { margin:0.1em 0 0.5em 0; }
form.formtastic fieldset ol li.radio fieldset ol li label { float:none; width:100%; }
form.formtastic fieldset ol li.radio fieldset ol li label input { margin-right:0.2em; }


/* CHECK BOXES (COLLECTION) OVERRIDES
--------------------------------------------------------------------------------------------------*/
form.formtastic fieldset ol li.check_boxes { }
form.formtastic fieldset ol li.check_boxes fieldset ol { margin-bottom:-0.6em; }
form.formtastic fieldset ol li.check_boxes fieldset ol li { margin:0.1em 0 0.5em 0; }
form.formtastic fieldset ol li.check_boxes fieldset ol li label { float:none; width:100%; }
form.formtastic fieldset ol li.check_boxes fieldset ol li label input { margin-right:0.2em; }



/* DATE & TIME OVERRIDES
--------------------------------------------------------------------------------------------------*/
form.formtastic fieldset ol li.date fieldset ol li,
form.formtastic fieldset ol li.time fieldset ol li,
form.formtastic fieldset ol li.datetime fieldset ol li { float:left; width:auto; margin:0 .3em 0 0; }

form.formtastic fieldset ol li.date fieldset ol li label,
form.formtastic fieldset ol li.time fieldset ol li label,
form.formtastic fieldset ol li.datetime fieldset ol li label { display:none; }

form.formtastic fieldset ol li.date fieldset ol li label input, 
form.formtastic fieldset ol li.time fieldset ol li label input, 
form.formtastic fieldset ol li.datetime fieldset ol li label input { display:inline; margin:0; padding:0;  }
