body {
	font-family: Helvetica, Verdana;
	font-size: 1em;
	line-height: normal;
	background: #000 url(../imgs/bg_pattern.gif) repeat;
	color: #333;
	margin: 0;
	width:100%;
	height:100%;
}

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

a:hover {
	text-decoration: underline;
}

img {
	vertical-align: middle;
}

/* basics */

.tiny { font-size: 85%; }
.small { font-size: 80%; }
.normal { font-size: 100%; }
.big { font-size: 115%; }
.large { font-size: 130%; }
.huge { font-size: 200%; }

.bd { font-weight: bold; }
.it { font-style: italic; }
.ur { text-decoration: underline; }
.nu { text-decoration: none; }

.br1 { border: 1px solid #CCC; }

.bb1 { border-bottom: 1px dotted #CCC; }
.bt1 { border-top: 1px dotted #CCC; }

#content {
	margin-left: 20px;
}

#logo {
	color: #333;
	background-color: #FFF;
	font-size: 150%;
	font-weight: bold;
	margin-top: 20px;
	padding: 6px;
	width: 125px;
}

#links {
	margin: 0;
	padding: 0;
	list-style-type: none;
	height: 50px;
}
#links li {
	float: left;
	padding: 4px 16px;
}
#links a {
	color: #FFF;
	font-size: 110%;
	font-weight: bold;
}
#links a:hover {
	text-decoration: none;
}

#comments_header {
	color: #FFF;
	font-size: 130%;
	font-weight: bold;
	padding: 8px;
	background-color: #666;
}

#comments {
	background-color:#FFF;
	padding:8px;
}

#tags_header {
	background-color: #FF0044;
	color: #FFF;
	font-size: 130%;
	font-weight: bold;
	padding: 8px;
}

#tags {
	background: #E7E7E7 url(../imgs/bg_tags.gif) repeat;
	color:#555555;
	font-weight:bold;
	padding:8px;
	clear:left;
	line-height:25px;
}

#tags a, #tags a:link, #tags a:visited{
	color:#555555;
	padding:1px;
	margin-right: 7px;
}

#tags a:hover, #tags a:hover{
	text-decoration:none;
	color:#fff;
	background-color: #555555;
	margin-right: 7px;
	/*font-size:140% !important;*/
}

#options {
	background-color: #333;
	padding: 8px;
}

#options div, #options span {
	vertical-align: middle;
}

#options .title {
	font-size: 110%;
	font-weight: bold;
	color: #999;
	padding-top: -2px;
	margin-right: 8px;
}

#options_title {
	color: #FFF;
	font-size: 130%;
	font-weight:bold;
	float: left;
	width: 100px;
}

#size {
	float: left;
	width: 200px;
}

#order {
	float: left;
	width: 220px;
}

#tagged {
	float: left;
}

#options #tag_selected {
	padding: 1px 2px;
	font-size: 90%;
	font-weight: bold;
	color: #FFF;
	background-color: #333;
	border-width: 0;
	cursor: pointer;
	text-decoration: none;
	vertical-align: middle;
}

#options #tag_selected.tag_show {
	background-color: #999;
}

#rm_tag {
	margin-left: 4px;
}

#tumblr {
	color: #CC0034;
	margin-bottom: 20px;
}

#tumblr .load {
	color: #FFF;
	font-size: 120%;
	font-weight: bold;
	margin-left: 4px;
}
#tumblr .img {
	background-color: #FFF;
	position: relative;
	width: 100%;
	height: 100%;
	border-bottom: 4px solid #FFF;
}
#tumblr .img_tags {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 100%;
	
	background-color: rgba(0,0,0,0.8);
	display: none;
	cursor: pointer;
	text-align: right;
}
* html #tumblr .img_tags {
	background-color: #000;
	/*filter: alpha(opacity=80);*/
}
#tumblr .img_tags span {
	position: absolute;
	bottom: 6px;
	right: 6px;
}

#top {
	background: url(../imgs/top_arrow.png) no-repeat;
	position: fixed;
	top: 15px;
	right: 15px;
	filter: alpha(opacity=60);
	-moz-opacity: .60;
	opacity: .60;
	width: 50px;
	height: 50px;
	display: none;
	cursor: pointer;
}
* html #top {
	background: url(../imgs/top_arrow.gif) no-repeat;
	position: absolute;
	top: expression(document.compatMode=="CSS1Compat"? document.documentElement.scrollTop+15+"px" : body.scrollTop+15+"px");
	right: expression(document.compatMode=="CSS1Compat"? document.documentElement.scrollRight+15+"px" : body.scrollRight+15+"px");
}

#loading {
	background: url(../imgs/button.png) no-repeat;
	position: fixed;
	bottom: 15px;
	right: 15px;
	width: 32px;
	height: 32px;
	padding: 9px;
	filter: alpha(opacity=60);
	-moz-opacity: .60;
	opacity: .60;
	display: none;
}
* html #loading {
	background: url(../imgs/button.gif) no-repeat;
	position: absolute;
	bottom: expression(document.compatMode=="CSS1Compat"? document.documentElement.scrollBottom+15+"px" : body.scrollBottom+15+"px");
	right: expression(document.compatMode=="CSS1Compat"? document.documentElement.scrollRight+15+"px" : body.scrollRight+15+"px");
}

#imgs {
	border-color: #FFF;
	border-style: solid;
	border-width: 4px 0 4px 4px;
}

.full {
	background: url(../imgs/splitter_500.gif) repeat;
}

.half {
	background: url(../imgs/splitter_250.gif) repeat;
}

.small {
	background: url(../imgs/splitter_100.gif) repeat;
}

#tumblr_form {
	background-color: #999;
	width: 400px;
	margin: 60px auto 0 auto;
	padding: 32px;
	-moz-border-radius: 12px;
	-webkit-border-radius: 12px;
	border-radius: 12px;
}
#tumblr_form .field {
	margin-bottom: 16px;
}
#tumblr_form .field.last {
	color: #CCC;
	font-style: italic;
	margin-bottom: 24px;
}
#tumblr_form .field .name {
	color: #FFF;
	font-size: 120%;
	font-weight: bold;
}
#tumblr_form .field .name.error {
	color: #C41434;
}
#tumblr_form .field .input {
	margin-top: 6px;
	background-color: #FFF;
	padding: 4px 8px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}
#tumblr_form .field .input input {
	border: 0;
	outline: none;
	font-size: 100%;
	width: 250px;
}
#result {
	width: 448px;
	margin: 20px auto;
	background: #E0E0E0 url(../imgs/load_mini_E0E0E0.gif) no-repeat 440px 6px;
	margin-top: 24px;
	padding: 8px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	display: none;
}

#result div {
	margin-top: 6px;
	font-size: 85%;
}
#result.done {
	background-image: none;
}

form { margin: 0; }

img {
	max-width: 100%;
	border: 0;
}

.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.clearfix {
	display: inline-block;
}

/* Hides from IE-mac \*/

* html .clearfix {
	height: 1%;
}

.clearfix {
	display: block;
}

/* End hide from IE-mac */

.button_corner {
	background-color: #FF0044;
	color: #FFF;
	font-height: bold;
	font-size: 85%;
	font-weight: bold;
	border: 0;
	padding: 1px 4px;
	display: inline;
	cursor: pointer;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}
.button_corner div {
	overflow: hidden;
	position: relative;
}
.button_corner.dark {
	background-color: #060C25;
}
.button_corner:hover {
	background-color: #2553CE;
}
.button_corner.dark:hover {
	background-color: #0F1C5A;
}
.button_corner.big {
	font-size: 100%;
	padding: 4px 6px;
}