/* @override 
	http://alfredtips.lan/css/style.css?v=2
	http://alfredtips.com/css/style.css?v=3
*/

/* 
  HTML5 ✰ Boilerplate 
  
  style.css contains a reset, font normalization and some base styles.
  
  credit is left where credit is due.
  much inspiration was taken from these projects:
    yui.yahooapis.com/2.8.1/build/base/base.css
    camendesign.com/design/
    praegnanz.de/weblog/htmlcssjs-kickstart
*/

/* @group Reset */

/* 
  html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline)
  v1.4 2009-07-27 | Authors: Eric Meyer & Richard Clark
  html5doctor.com/html-5-reset-stylesheet/
*/
/**/
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin:0;
  padding:0;
  border:0;
  outline:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
}                  
/**/
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section { 
    display:block;
}

nav ul { list-style:none; }

blockquote, q { quotes:none; }

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

a { margin:0; padding:0; font-size:100%; vertical-align:baseline; background:transparent; }

ins { background-color:#ff9; color:#000; text-decoration:none; }

mark { background-color:#ff9; color:#000; font-style:italic; font-weight:bold; }

del { text-decoration: line-through; }

abbr[title], dfn[title] { border-bottom:1px dotted; cursor:help; }

/* tables still need cellspacing="0" in the markup */
table { border-collapse:collapse; border-spacing:0; }

hr { display:block; height:1px; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0; }

input, select { vertical-align:middle; }

/* END RESET CSS */


/* fonts.css from the YUI Library: developer.yahoo.com/yui/
   Refer to developer.yahoo.com/yui/3/cssfonts/ for font sizing percentages

  There are three custom edits:
   * remove arial, helvetica from explicit font stack
   * we normalize monospace styles ourselves
   * table font-size is reset in the HTML5 reset above so there is no need to repeat
*/
body { font:13px/1.231 sans-serif; *font-size:small; } /* hack retained to preserve specificity */

select, input, textarea, button { font:99% sans-serif; }

/* normalize monospace sizing 
 * en.wikipedia.org/wiki/MediaWiki_talk:Common.css/Archive_11#Teletype_style_fix_for_Chrome
 */
pre, code, kbd, samp { font-family: monospace, sans-serif; }

/* @end */

/* @group minimal base styles */

body, select, input, textarea { 
  /* #444 looks better than black: twitter.com/H_FJ/statuses/11800719859 */ 
  color: #444; 
  /* set your base font here, to apply evenly */
  /* font-family: Georgia, serif;  */   
}

/* Headers (h1,h2,etc) have no default font-size or margin,
   you'll want to define those yourself. */ 
h1,h2,h3,h4,h5,h6 { font-weight: bold; }

/* always force a scrollbar in non-IE */ 
html { overflow-y: scroll; }

 
/* Accessible focus treatment: people.opera.com/patrickl/experiments/keyboard/test */
/*a:hover, a:active { outline: none; }*/

a, a:active, a:visited { color: #607890; }
a:hover { color: #036; }


ul, ol { margin-left: 1.8em; }
ol { list-style-type: decimal; }

/* Remove margins for navigation lists */
nav ul, nav li { margin: 0; } 

small { font-size: 85%; }
strong, th { font-weight: bold; }

td, td img { vertical-align: top; } 

sub { vertical-align: sub; font-size: smaller; }
sup { vertical-align: super; font-size: smaller; }

pre { 
  padding: 15px; 
  
  /* www.pathf.com/blogs/2008/05/formatting-quoted-code-in-blog-posts-css21-white-space-pre-wrap/ */
  white-space: pre; /* CSS2 */
  white-space: pre-wrap; /* CSS 2.1 */
  white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
  word-wrap: break-word; /* IE */
}
 
textarea { overflow: auto; } /* thnx ivannikolic! www.sitepoint.com/blogs/2010/08/20/ie-remove-textarea-scrollbars/ */


/* align checkboxes, radios, text inputs with their label
   by: Thierry Koblentz tjkdesign.com/ez-css/css/base.css  */
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; }

/* hand cursor on clickable input elements */
label, input[type=button], input[type=submit], button { cursor: pointer; }
 
/* webkit browsers add a 2px margin outside the chrome of form elements */  
button, input, select, textarea { margin: 0; }

/* colors for form validity */
input:valid, textarea:valid   {  }
input:invalid, textarea:invalid { 
      border-radius: 1px;
    -moz-box-shadow: 0px 0px 5px red; 
 -webkit-box-shadow: 0px 0px 5px red; 
         box-shadow: 0px 0px 5px red;
}
.no-boxshadow input:invalid, 
.no-boxshadow textarea:invalid { background-color: #f0dddd; }


/* These selection declarations have to be separate.
   No text-shadow: twitter.com/miketaylr/status/12228805301 
   Also: hot pink. */
::-moz-selection{ background: #900a92; color:#fff; text-shadow: none; }
::selection { background:#900a92; color:#fff; text-shadow: none; } 

/*  j.mp/webkit-tap-highlight-color */
a:link { -webkit-tap-highlight-color: #FF5E99; } 

/* make buttons play nice in IE:    
   www.viget.com/inspire/styling-the-button-element-in-internet-explorer/ */
button {  width: auto; overflow: visible; }



/* 
 * Non-semantic helper classes 
 */

/* for image replacement */
.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }

/* Hide for both screenreaders and browsers
   css-discuss.incutio.com/wiki/Screenreader_Visibility */
.hidden { display: none; visibility: hidden; } 

/* Hide only visually, but have it available for screenreaders 
   www.webaim.org/techniques/css/invisiblecontent/  &  j.mp/visuallyhidden  */
.visuallyhidden { position: absolute !important;    
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px); }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* >> The Magnificent CLEARFIX: Updated to prevent margin-collapsing on child elements << j.mp/bestclearfix */
.clearfix:before, .clearfix:after {
  content: "\0020"; display: block; height: 0; visibility: hidden;	
} 

.clearfix:after { clear: both; }
/* Fix clearfix: blueprintcss.lighthouseapp.com/projects/15318/tickets/5-extra-margin-padding-bottom-of-page */
.clearfix { zoom: 1; }

/* @end */

/* 	@group Primary Styles
	Author : Olivier Guerriat
*/

body {
	background:url(/images/bg3.jpg);
	padding:10px 25px;
}

#container {
	max-width:900px;
	margin:0 auto;
}


hgroup h1 {
	font-size:7em;
	font-family:Georgia, serif;
	font-weight:normal;
	text-shadow:#fff 1px 1px 0;
	color:#501E73;
/*due to #msg */
margin-top:30px;
}

hgroup h2 {
	font-size:1.5em;
	font-family:Georgia, serif;
	font-weight:normal;
	margin-top:-1.2em;
	color:#444;
	text-shadow:#fff 1px 1px 0;
}

nav {
	background:#501E73;
	margin-top:20px;
	padding:0 15px;
	-webkit-border-top-left-radius: 10px;
	-webkit-border-top-right-radius: 10px;
	-moz-border-radius-topleft: 10px;
	-moz-border-radius-topright: 10px;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}

nav li {
	display:inline;
}

nav li a, nav li a:visited {
	height:20px;
	display:block;
	float:left;
	line-height:20px;
	padding:5px 10px;
	font-size:1.1em;
	color:white;
	text-decoration:none;
	margin:0 2px;
}

nav li.current a, nav li.current a:hover {
	background:white;
	color:#900a92;
}

nav li a:hover {
	background:#900a92;
	color:#FFF;
}

nav form {
	float:right;
	line-height:25px;
}



#main {
	clear:both;
	background:white;
	padding:15px;
}



#main h1 {
	font-size:3em;
	font-family:Georgia, serif;
	font-weight:normal;
	color:#501E73;
	margin:10px 0;
}

#main h1 span {
	font-size:0.5em;
	display:block;
}

#main h2 {
	font-size:1.8em;
	font-family:Georgia, serif;
	font-weight:normal;
	color:#501E73;
	margin:20px 0 10px;
}

#main p {
	margin:10px 0;
	font-size:1.1em;
}

#main p span {
	font-size:0.9em;
	color:#666;
}

p img {
	vertical-align:bottom;
}

p.twitter a {
	background:#f1ffff url(/images/24balloon-twitter.png) no-repeat 5px 3px;
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	border-radius:5px;
	display:block;
	padding-left:37px;
	line-height:32px;
	height:32px;
	color:#3CD5FF;
	text-decoration:underline;
}

p.twitter a:hover {
	background-color:#CBFEFF;
}

p.twitter a em {
	font-style:normal;
	font-weight:bold;
}

p.download a {
	background:#d5ffd8 url(/images/24magnifier.png) no-repeat 5px 3px;
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	border-radius:5px;
	display:block;
	padding-left:37px;
	line-height:32px;
	height:32px;
	color:#478e4b;
	text-decoration:underline;
	margin:20px 0;
}

p.download a:hover {
	background-color:#8cff95;
	color:#007808;
}



p.big_link a {
	background:#EEE;
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	border-radius:5px;
	display:block;
	padding-left:15px;
	line-height:32px;
	height:32px;
	color:#666;
	text-decoration:underline;
}

p.big_link a:hover {
	background-color:#DDD;
}

#main ol {
	margin-bottom:30px;
}

fieldset {
	border-top:1px solid #501E73;
	margin:20px 0 0 0;
	padding:5px 0 0 0;
}

legend {
	font-size:1.4em;
	font-family:Georgia, serif;
	color:#501E73;
	padding:0 10px;
	margin-left:10px;
}

label {
	height:2em;
	line-height:1.8em;
	float:left;    
	width:14em;
	margin-right:1em;    
	text-align:right;
	font-size:1.1em;
}

form div input[type="text"], form div input[type="url"], form div input[type="email"] {
	height:1.5em;
	width:25em;
	line-height:1.5em;
	padding:0.1em 0.2em;
	font-size:1.1em;
	color:#333;
}

form div input[name="url"] {
	width:45em;
}

form div input[type="checkbox"] {
	height:2em;
}

form div {
	margin:10px 0;
}

form div textarea {
	width:25em;
	padding:0.1em 0.2em;
	font-size:1.1em;
	height:5em;
	line-height:1.2em;
	color:#333;
}

#main form .required {
	color:#444;
	text-decoration:underline;
}

#main form fieldset p {
	padding-left:16.5em;
	margin:-5px 0 15px 0;
	font-size:1em;
}

#main form fieldset p.error {
	color:#A11;
	background:url(/images/exclamation-red.png) no-repeat 15em -1px;
}

#main form fieldset.submit p {
	padding-left:0;
	margin:5px 0 15px;
	font-size:1em;
}

#main form fieldset.submit input {
	margin-left:11.8em;
	font-size:1.4em;
}



.result_s {
	border-bottom:1px solid #501E73;
	padding:5px 10px 10px 0;
	margin:20px 0;
}

h3 {
	color:#333;
	font-weight:normal;
	font-size:1.4em;
	margin-bottom:7px;
}

h3 a {
	text-decoration:none;
	color:#333;
}

h3 a:hover {
	text-decoration:underline;
	color:#333;
}

form h3 input[type="checkbox"] {
	margin-bottom:-7px;
}

.result_s ul {
	list-style-type:none;
	margin:0;
	padding:0;
}

.result_s li {
	display:inline;
	margin:0 10px 0 0;
	padding:0;
}

.result_s li.link a {
	text-decoration:none;
	color:#999;
	font-size:0.9em;
	float:right;
}

.result_s img {
	vertical-align:bottom;
}

.result_t .tools img {
	vertical-align:bottom;
}

.result_s pre {
	padding:3px 0;
}

#main .result_s p {
	margin:5px 0;
}

.result_s .tools {
	margin:10px 0 10px 0;
}

.result_t .tools {
	margin:30px 0 10px 660px;
}

.result_s .tools a, .result_t .tools a {
	display:block;
	float:left;
	padding:5px;
	margin:0 10px 0 0;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	text-decoration:none;
	color:#444;
}

.result_t .tools span {
	display:block;
	padding:5px;
	color:#444;
	margin:10px;
	font-size:0.9em;
}

.result_t .tools a {
	float:none;
	width:100px;
	margin:10px;
}

.result_t .tools span a {
	display:inline;
	margin:0;
	padding:0;
}

.result_s .tools a:hover, .result_t .tools a:hover {
	color:#222;
}

.result_s .tools a.tweet, .result_t .tools a.tweet {
	background:#f1ffff;
	color:#607890;
}

.result_s .tools a.tweet:hover, .result_t .tools a.tweet:hover {
	background:#CBFEFF;
	color:#036;
}

.result_s .tools a.install, .result_t .tools a.install {
	background:#d5ffd8;
	color:#478e4b;
}

.result_s .tools a.install:hover, .result_t .tools a.install:hover {
	background:#8cff95;
	color:#007808;
}

.result_s .tools a.try {
	float:right;
	background:#EEE;
	color:#666;
}

.result_s .tools a.try:hover {
	background:#DDD;
	color:#333;
}

#main .result_s .thankyou{
	clear:both;
	font-size:0.9em;
	padding:10px 0 0 0;
}


.result_t a.link {
	text-decoration:none;
	color:#999;
	font-size:0.9em;
}

.result_t {
	border-bottom:1px solid #501E73;
	padding:5px 10px 10px 0;
	margin:20px 0;
}


.result_s form {
	float:right;
}

.result_s form input[type="text"] {
	width:5em;
}


ul.pagination {
	list-style-type:none;
	text-align:center;
	padding:30px 0;
}

ul.pagination li {
	display:inline;
}

ul.pagination li a {
	padding:7px;
	margin:5px;
	border:1px solid #999;
	text-decoration:none;
	color:#555;
}

ul.pagination li a:hover {
	color:#501E73;
	border-color:#501E73;
}

ul.pagination li.current a {
	background:#501E73;
	border-color:#501E73;
	color:#FFF;
}


form#param {
	text-align:right;
	padding:10px;
	height:20px;
	line-height:20px;
	margin-top:-50px;
	display:none;
}

#param input {
	margin-bottom:6px;
	margin-left:20px;
	padding:0;
}

#param label {
	margin:0;
	padding:0;
	float:none;
}

a.switch {
}

footer {
	padding:5px;
	text-align:right;
}

footer p {
	font-size:0.8em;
	color:#666;
	margin:2px 0;
}

footer a, footer a:visited {
	color:#666;
	text-decoration:underline;
}

footer a:hover, footer a:active {
	color:#444;
	text-decoration:underline;
}




#main p.wmeta {
	margin-top:-10px;
	padding:5px 0;
}

.wmeta a {
	background:#C5EDFE;
	display:block;
	float:left;
	padding:5px;
	margin:-5px 10px 0 0;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	text-decoration:none;
	color:#444;
}

.wmeta a:hover {
	background:#94E0FF;
	color: #115C9E;
}



#msg {
	position:fixed;
	top: 0;
	left:0;
	width: 100%;
	background:#501E73;
	padding:5px 10px;
	text-align: center;
	margin:0;
	color:#FFF;
}

#msg a {
	color:#FFF;
	text-decoration: underline;
}


#msg a:hover {
	text-decoration: none;
}




/* @end */

/* @group Media queries for responsive design
 * These follow after primary styles so they will successfully override. 
 */

@media all and (orientation:portrait) { 
  /* Style adjustments for portrait mode goes here */
  
}

@media all and (orientation:landscape) { 
  /* Style adjustments for landscape mode goes here */
  
}

/* Grade-A Mobile Browsers (Opera Mobile, iPhone Safari, Android Chrome)  
   Consider this: www.cloudfour.com/css-media-query-for-mobile-is-fools-gold/ */
@media screen and (max-device-width: 480px) {
  
  
  /* Uncomment if you don't want iOS and WinMobile to mobile-optimize the text for you
     j.mp/textsizeadjust 
  html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; } */
}

/* 
 * print styles
 * inlined to avoid required HTTP connection www.phpied.com/delay-loading-your-print-css/ 
 */
@media print {
  * { background: transparent !important; color: #444 !important; text-shadow: none !important; }
  a, a:visited { color: #444 !important; text-decoration: underline; }
  a:after { content: " (" attr(href) ")"; } 
  abbr:after { content: " (" attr(title) ")"; }
  .ir a:after { content: ""; }  /* Don't show links for images */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */ 
  tr, img { page-break-inside: avoid; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3{ page-break-after: avoid; }
}

/* @end */




/* @group Theme */

.alfred_container {
	width:600px;
	border:10px solid #000;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
	-moz-background-clip:padding;     /* Firefox 3.6 */
	-webkit-background-clip:padding;  /* Safari 4? Chrome 6? */
	background-clip:padding-box;
	font-family: Helvetica, Geneva, sans-serif;
	float:left;
	margin:20px;
}

.alfred_search_field {
	height:60px;
	font-size:36px;
	line-height:60px;
	padding:0 0 0 11px;
	border:10px solid #000;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

.alfred_logo {
	float:right;
	padding:0 3px 0 15px;
	margin-top:-3px;
	margin-right:-10px;
	height:63px;
	/*visibility:hidden;/**/
}

.alfred_cog {
	position:relative;
	float:right;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	padding:2px 5px;
	/*visibility:hidden;/**/
}

.alfred_result {
	border-left:10px solid #000;
	border-right:10px solid #000;
	height:50px;
	border-top:1px solid #000;
	padding-left:5px;
	clear:both;
}

.alfred_result_icon {
	width:40px;
	height:40px;
	float:left;
	margin-top:5px;
	margin-right:15px;
}

.alfred_result_textbox {
	float:left;
	font-size:24px;
	line-height:44px;
	padding-top:6px;
}

.alfred_result_text {
	font-size:24px;
	line-height:24px;
	margin-top:-1px;
}

.alfred_result_subtext {
	font-size:10px;
	line-height:20px;
}

.alfred_result_shortcut {
	float:right;
	width:55px;
	line-height:45px;
	margin-top:4px;
	font-size:24px;
}

.alfred_spacer {
	height:10px;
	border-top:1px solid #000;
	border-left:10px solid #000;
	border-right:10px solid #000;
	-webkit-border-bottom-right-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-moz-border-radius-bottomright: 5px;
	-moz-border-radius-bottomleft: 5px;
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
}

/* @end */
