/* Spearia CSS Base */
/*-----------------------------------------------------------------*/
/* This file strips down the most commonly used elements and then  */
/* applies basic styling that works well with all browsers.  Don't */
/* be afraid to change the default generic values! Also, feel free */
/* to delete rules you'll never use.                               */
/*-----------------------------------------------------------------*/

/* RESET */

* { margin: 0; padding: 0; text-decoration: none; font-size: 1em; outline: none; }
code, kbd, samp, pre, tt, var, textarea, input, select, isindex { font: inherit; font-size: 1em; }
dfn, i, cite, var, address, em { font-style: normal; }
th, b, strong, h1, h2, h3, h4, h5, h6 { font-weight: normal; }
a, img, a img, iframe, form, fieldset, abbr, acronym, object, applet { border: none; }
table { border-collapse: collapse; border-spacing: 0; }
caption, th, td, center { text-align: left; vertical-align: top; }
body { line-height: 1; background: white; color: black; }
q { quotes: "" ""; }
ul, ol, dir, menu { list-style: none; }
sub, sup { vertical-align: baseline; }
a { color: inherit; }
hr { display: none; }
font { color: inherit !important; font: inherit !important; color: inherit !important; }

/* GENERIC STYLES */

/* Main Typography */
html { font-size: 62.5%; font-family: helvetica, "microsoft sans serif", arial, sans-serif; }
strong, th, thead td, h1, h2, h3, h4, h5, h6 { font-weight: bold; }
cite, em, dfn { font-style: italic; }
code, kbd, samp, pre, tt, var { font-size: 92%; font-family: monaco, "Lucida Console", courier, mono-space; }
del { text-decoration: line-through; color: #666; }
ins, dfn { border-bottom: 1px solid #bbb; }
small, sup, sub { font-size: 85%; }
abbr, acronym { text-transform: uppercase; font-size: 85%; letter-spacing: .1em; }
a abbr, a acronym { border: none; }
abbr[title], acronym[title], dfn[title] { cursor: help; border-bottom: 1px solid #bbb; }
sup { vertical-align: super; }
sub { vertical-align: sub; }

/* Quotes */
blockquote { border-top: 1px solid #bbb; border-bottom: 1px solid #bbb; color: #666; }
blockquote *:first-child:before { content: "\201C"; }
blockquote *:first-child:after { content: "\201D"; }
q { quotes: "\201C" "\201D" "\2018" "\2019"; }

/* Forms */
fieldset { border: 1px solid #bbb; }
legend { background: #fff; }
textarea, input[type='text'],  input[type='password'], select { border: 1px solid #bbb; background: #fff; }
textarea:hover, input[type='text']:hover, input[type='password']:hover, select:hover { border-color: #999; background: #f5f5f5; }
textarea:focus, input[type='text']:focus, input[type='password']:focus, select:focus { border-color: #888; outline: 2px solid #f63; }
input, select { cursor: pointer; }
input[type='text'] { cursor: text; }

/* CONTENT ONLY */

/* Base Sizes */
p  { font-size: 1.2em; line-height: 1.3em; }
h1 { font-size: 2.2em; margin: 0 0 20px; padding-left: 10px; }
h2 { font-size: 2.2em; margin: 0 0 20px; padding-left: 10px; }
h3 { font-size: 1.6em; margin: 0 0 10px; }
h4 { font-size: 1.4em; }
h5 { font-size: 1.2em; }
h6 { font-size: 1.1em; }
p, ul, ol, dl, h1, h2, h3, h4, h5, h6 { margin: 0 0 10px; }

textarea, input[type='text'], select { font-size: 1.2em; }

/* HR */
hr {
display: block;
background: #bbb;
color: #bbb;
width: 100%;
height: 1px;
border: none;
margin: 0 0 20px;
} 

/* Lists */
ul.bullet li { text-indent: -.85em; margin-left: .85em; }
ul.bullet li:before { content: "\2022\00a0\00a0"; }
ol.number {
list-style-position: outside;
list-style-type: decimal;
margin: 0 0 0 20px;
}
	ol.number li {
	font-size: 1.2em;
	line-height: 1.3em;
	color: #666;
	margin: 0 0 10px;
	}
dt { font-weight: bold; }

/* Tables */
table.data { border-top: 1px solid #bbb;  border-left: 1px solid #bbb; }
.data th, .data td { border-bottom: 1px solid #ddd; border-right: 1px solid #bbb; }
.data th, .data td { padding: .8em; }

caption { padding-bottom: .8em; } /* padding instead of margin for IE */

/* Paddings & Margins */
blockquote { padding: 0 1em; margin: 1.6em 0; }
fieldset { padding: 0 1em 1em 1em; margin: 1.6em 0; } /* padding-top is margin-top for fieldsets in Opera */
legend { padding-left: .8em; padding-right: .8em; }
legend+* { margin-top: 1em; } /* compensates for the opera margin bug */
textarea, input { padding: .3em .4em .15em .4em; }
select { padding: .1em .2em 0 .2em; }
option { padding: 0 .4em; }
a { position: relative; padding: 0.3em 0 .1em 0; } /* larger click-area */
dt { margin-top: .8em; margin-bottom: .4em; }

/* Colors */
a, a:link { text-decoration: underline; color: #d41; }
a:visited { text-decoration: underline; color: #b20; }
a:hover   { text-decoration: underline; color: #f63; }
a:active  { text-decoration: underline; color: #f85; }
a:focus   { text-decoration: underline; color: #f85; }


/* Template admin */

#template-admin {
	width: 100%;
}

#template-admin td {
	border:1px solid black;
	padding:4px;
}

.thumb {
	clear:both;
	float:left;
	width:160px;
}

.template-edit {
	font-size:12px;
}

.template-edit label {
	clear:both;
	float:left;
	margin: 6px;
}

.template-edit .text {
	float: left;
	margin: 6px;
}

.template-edit .submit {
	clear: both;
	float: left;
	margin: 6px;
}

#slides {
	clear: both;
	float: left;
}

.template-edit .field {
	border: 1px solid gray;
	clear: both;
	float: left;
}

#perms {
	clear: both;
	float: left;
}

.template-edit input {
	clear: both;
	display: block;
	float: left;
}
