@charset "utf-8";

body
{
  margin-top: 0;
  margin-right: auto;
  margin-left: auto;

  background:url('http://s.demotivatori.lv/img/bg1.png') ;
  background-color:#000;
  font-family:Arial, Helvetica, sans-serif;
  color:white;
  font-size:12px;
  line-height:20px;
}


a, a:visited {
  text-decoration:none; color: white;
}

a:hover {
  text-decoration:none; color: orange;
}

img {
  border:0px;
}


.box_top {
  width: 100%;
  margin: 0px; 
  padding: 0px;
  
}

.box_top_1000{
  margin-left: auto;
  margin-right: auto;
  width: 1000px;
  color: orange;
}
.box_logo {
  width: 422px;
  height: 110px;
  background-image: url('http://s.demotivatori.lv/img/logo2.png');
  float: left;
}
.box_nextto_logo{
  width: 578px;
  height: 65px;
  float: right;
  text-align: right;
  font-size: 13px;
  font-weight: bold;
}
.box_menu{
  width: 578px;
  height: 40px;
  float: right;
  text-align: right;
}

#tabs {
  margin-top: 10px;
}
#tabs ul {
  margin-left: 0;
  padding-left: 0;
  display: inline;
}

#tabs ul li {
  margin-left: 0;
  margin-right: 5px;
  margin-bottom: 0;
  padding: 5px 15px 5px;
  border: 1px solid #000;
  list-style: none;
  display: inline;
  background-color: #212121;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 15px;
  font-weight: bold;
}
#tabs ul li a {
  color: white;
}
#tabs ul li a:hover {
  color: orange;
}

#tabs ul li:hover {
  background-color: #191919;
  border-bottom: 1px solid orange;
}



.box_content {

  width: 1000px;
  padding: 0px;
  margin-top: 5px;
  margin-right: auto;
  margin-left: auto;


}

.box_right {

  width: 188px;
  border: 1px solid black;
  float: right;
  margin-bottom: 5px;
  background-color: #191919;
  padding: 5px;
  min-height: 400px;
  overflow: hidden;

}

.box_footer {
  clear: both;
  width: 988px;
  background-color: #191919;
  margin-right: auto;
  margin-left: auto;
  padding: 5px;
  text-align: right;
  border: 1px solid black;
  min-height: 20px;

}

.voteLinksUp a {
  color: green;
  font-size: 18px;
  font-weight: bold;
}
.voteLinksDown a {
  color: red;
  font-size: 18px;
  font-weight: bold;
}


#messages {
  text-align: center;
  width: 70%;
  background-color: #373737;
  padding: 20px;
  font-size: 14px;
  margin-left: auto; margin-right: auto;
  margin-top: 10px;
  border: 1px white dotted;
  color: orange;
  font-weight: bold;
  margin-bottom: 10px;

}
#messages-error {
  text-align: center;
  width: 70%;
  background-color: #373737;
  padding: 20px;
  font-size: 14px;
  margin-left: auto; margin-right: auto;
  margin-top: 10px;
  border: 1px white dotted;
  color: red;
  font-weight: bold;
  margin-bottom: 10px;
}


.d-box {
  width: 793px;
  background-color: #191919;
  border: 1px solid black;
  float: left;
  margin-bottom: 10px;
  margin-right: 5px;
  padding-bottom: 10px;
  overflow: hidden;
}
.d-title {
  width: 783px; padding-left: 10px;
}
.d-img {
  text-align: center; width: 520px; float: left; 
}
.d-desc {
  width: 263px; float: left;
}
.d-desc .d-date {
  font-weight: bold;
}