/* HTML elements without class or id */
a {
  color: white;
  text-decoration: none;
}
a:hover {
  border-bottom: 1px solid #f06;
}
a img, a video {
  border: 0;
}
body {
  margin: 0;
  font-family: Tahoma, Helvetica, Arial, sans-serif;
  font-size: 1em;
  background-color: #000000;
}
fieldset {
  margin: 3px;
  padding: 5px;
}
form {
  padding: 0;
  margin: 0;
}
h3 {
  font-size: 1em;
  color: white;
  margin: 0 0 0.1em 0;
}

/* Main divs */
div#header {
  background-color: #000;
  height: 1.2em;
  width: 100%;
  margin: 0;
  padding: 0.2em 0;
  border-bottom: 1px solid #f06;
  color: white;
  font-size: 0.9em;
}

div#container {
	position: relative;	
	margin: 0 0 20px 0;
}

/* Left side */
div#left {
  position: relative;
  float: left;
  background-color: #000;
  width: 150px;
  top: 0px;
  left: 0px;
  padding: 0.3em;
}
/* Logo */
div#logo {
  text-align: center;
}
#logo a:hover {
  border-bottom: 0;
}
#logo img {
  vertical-align: middle;
  padding: 3px;
  border: 1px solid black;
}
#logo img:hover {
  border: 1px solid #f06;
}
/* Navigation */
#nav-list {
  padding-left: 0;
  margin-left: 0.3em;
  list-style-type: none;
  color: #f06;
  line-height: 110%;
}
#nav-list li a {
  color: white;
  padding-left: 0;
  font-size: 0.9em;
}
/* Top list */
div#top_list {
  margin-left: 0.3em;
}
div#top_list a {
  font-size: 0.8em;
}

/* Content area */
div#content {
  text-align: center;
  overflow: auto;
  padding: 20px 10px 10px 10px;
  min-height: 650px;
  background-color: #ffffff;
  border: 1px solid #f06;
  border-top: none;
}

#content a {
color: black;
}

/* Right side */
div#right {
  position: relative;
  background-color: #000;
  width: 150px;
  float: right;
  top: 0px;
  right: 0px;
  text-align: center;
  padding-top: 20px;
  color: white;
}
/* Common for left and right side bars */
div#left a,
div#right a {
  color: white;
}
div#right img:hover,
div#right video:hover {
  background-color: #f06;
}

/* Menu buttons for list browsing */
.menu {
  font-family:verdana;
  font-size:0.9em;
  color: white;
  padding:10px;
  margin: 1em 2em;
  background-color:black;
  border: 1px dashed white;
}
#content a.menu {
  background-color:#191919;
  color:#f06;
  padding:3px;
  margin:2px;
  border:1px solid black;
  text-decoration:none;
}
#content a.menu:hover {
  background-color:black;
  border:1px solid #f06;
}

/* Image list */
div.search div.thumb,
div.top-lists div.thumb,
div.list div.thumb {
  display: inline;
  margin: 0 0.5em;
}
.top-lists .thumb img,
.search .thumb img,
.list .thumb img {
  margin: 0.5em 0;
}
.thumb img,
.thumb video {
  padding:2px;
  border: 1px solid black;
}
.thumb img:hover,
.thumb video:hover {
  padding:2px;
  border: 1px solid black;
  background-color:#191919;
  text-decoration:none;
}
img.new,
video.new {
  background-color: yellow;
}

/* Banner */
div.banner {
  margin-top: 20px;
  text-align: center;
}
div.banner img {
  vertical-align: middle;
}
div.banner-above-content {
  margin: 0 0 10px 0;
}
div.banner_footer {
  text-align: center;
}
div.banner_below_image {
  margin-bottom: 20px;
}
/* Tags */
div#tags {
  font-size:0.9em;
  text-align:left;
  background-color: #191919;
  background-color: black;
  padding: 10px;
  border: 1px solid #f06;
}
#tags a {
  color: white;
}
div#tag_info {
  background-color: black;
  color: white;
  padding: 0.5em;
  margin: 1em 2em;
  text-align: left;
}

/* Poll */
.percentageMask {
  width: 220px;
  height: 20px;
  padding: 4px 0 0 0;
  margin: auto;
  background: url("http://apina.biz/pics/percentageMask.gif") top left no-repeat;
  float: left;
  overflow: hidden;
  text-align: center;
}

.percentage {
  font-family: verdana;
  font-size: 10px;
  width: 220px;
  height: 20px;
  margin: 0;
  padding: 0;
  background-color: transparent;
  background: url("http://apina.biz/pics/percentage.gif") top left no-repeat;
  overflow: hidden;
  position: relative;
  float: left;
  text-align: center;
}
.vote {
  font-family:verdana;
  font-size:1em;
  width:100%;
  float:left;
  text-align:left;
}

/* Publisher */
div#publisher {
  padding: 0 0.5em;
  /* width: 100%; */
  margin: 0 auto;
}

#publisher .banner {
margin-top: 0.5em;
}

/* Upload */
div#upload_copyright {
  margin-bottom: 2em;
  font-size: 0.8em;
}

/* Text divs */
div.news,
div.poll,
div.media,
div.info,
div.advertising,
div.contact {
  font-size:0.9em;
  text-align:left;
}
div.news a,
div.poll a,
div.info a {
  color: black;
}
div#content div.media a {
  color: #f06;
}
div#content div.media a:hover {
  border-bottom: 1px solid black;
}
span.category {
  font-size: 1.1em;
  color: #f06;
}
#randoms img,
#randoms video {
  padding: 2px;
  margin: 0.3em 0;
  border: 1px solid #f06;
}
#addthis {
  margin: 10px 0;
}
.next .image {
  margin-bottom: 10px;
}
.next img,
.prev img,
.next video,
.prev video {
  border: 1px solid #f06;
}
.next img:hover,
.prev img:hover,
.next video:hover,
.prev video:hover {
  background-color:#f06;
}
#big_image img,
#big_image video {
padding: 3px;
border: 1px solid black;
  vertical-align: middle;
}
#big_image img:hover,
#big_image video:hover {
background-color: black;
}
div.thumb img,
div.image img,
div.thumb video,
div.image video {
  vertical-align: middle;
}
input.button {
  background-color: black;
  color: white;
  border: 1px solid #f06;
}
div#page_numbers {
font-size: 0.6em;
  margin: 0 3em;
}

div#image_menu {
  font-size: 0.9em;
  color: white;
  padding: 0.5em 1em;
  margin: 1em 2em;
  background-color: black;
  border: 1px dashed white;
  vertical-align: middle;
}
#image_menu form,
#image_menu div {
  display: inline;
}

div.news_article {
  margin-bottom: 2em;
}

.news_article .topic {
  font-weight: bold;
}

.news_article .content {
  margin: 0.5em 0;
}

span.timestamp {
  color: grey;
  font-size: 11px;
}

#action_message {
  background-color: green;
  color: white;
  top: 10px;
  left: 20px;
  width: 200px;
  height: 40px;
  position: relative;
  border: 1px dashed black;
  float: left;
}
#comment {
  font-size: 0.7em;
  margin-bottom: 1em;
}
#comment .comments {
  text-align: left;
  margin: 0px 3em;
}

#comment input.comment { 
  width: 400px;
}

#image_caption {
  margin: 5px auto;
  font-size: 11px;
}

input#image_caption_text {
  width: 500px;
}

div.banner_text_links {
  text-align: left;
}

div.banner_text_links a {
  font-size: 0.9em;
}

div.banner_text_links h3 {
  margin-bottom: 5px;
}

div.banner_text_links p {
  margin: 0;
  margin-bottom: 5px;
}

div.addthis_toolbox {
  padding: 5px;
  margin: 0 1.5em;
}

#footer {
  border-top: 1px solid #f06;
  padding-top: 5px;
  text-align: center;
  font-size: 0.7em;
  margin: 20px 150px 5px 160px;
}
.your_link_here {
  margin-bottom: 2em;
}
.your_link_here a {
  color: #AAAAAA !important;
  float: right;
  font-size: 0.7em !important;
}
#actions {
  font-size: 11px;
  margin: 3px auto;
}
#paypal-button {
  text-align: center;
  margin-bottom: 10px;
}

/* Search */
#search_keyword {
width: 105px;
display: inline;
}

#search_button {
display: inline;
}
