* {
  margin: 0px;
  padding: 0px;
}

body {
  font-family: arial;
  font-size: 14px;
}

img {
  margin: 0px;
  padding: 0px;
  border-style: 0px none;
}

a, a:visited {
  color: #00f;
}

a:hover {
  color: #00f;
}

table {
  border-collapse: collapse;
}

#wrapper {
  width:  940px;
  margin: auto;
}

#header {
  height: 100px;
  clear:  both;
}

#top_banner {
  float:       right;
  padding-top: 5px;
}

#navigation {
  clear:  both;
  width:  100%;
  height: 30px;
  background: url('../images/navigation-background.png') repeat-x top left;
}

#navigation .layer1 {
  width:  100%;
  height: 30px;
  background: url('../images/navigation-left.png') no-repeat top left;
}

#navigation .layer2 {
  width:  100%;
  height: 30px;
  background: url('../images/navigation-right.png') no-repeat top right;
}

#navigation ul {
  width:  100%;
  height: 30px;
  font-weight: bold;
  list-style-type: none;
}

#navigation ul li {
  display: block;
  float: left;
}

#navigation ul li a {
  display:         block;
  padding:         8px 15px;
  height:          14px;
  text-decoration: none;
  font-size:       14px;
  line-height:     13px;
  color:           #666;
  border-right:    solid 1px #ddd;
  float: left;
}

#navigation ul li a:hover {
  text-decoration: underline;
  color:           #000;
}

#top_ads {
  clear: both;
  padding: 5px 0px;
}

#content {
  width: 940px;
  clear: both;
}

#left {
  width: 770px;
  float: left;
}

#right {
  width: 160px;
  float: right;
}

#big_banners {
  width:    770px;
  overflow: hidden;
 /* clear:    both;*/
  margin-bottom: 10px;
}

#big_banners a {
  text-decoration: none;
  display: block;
}

#bb_user_ads {
  width:        250px;
  height:       250px;
  float:        left;
  background:   url('../images/bb_user_ads.jpg') no-repeat top left;
  color:        #fff;
  margin-right: 10px;
  font-size:    14px;
  line-height:  18px;
}

#bb_magazine_ads {
  width:      250px;
  height:     250px;
  float:      left;
  background: url('../images/bb_magazine_ads.jpg') no-repeat top left;
  color:      #000;
  font-size :   10px;
  line-height:  12px;
}

#bb_magazine {
  width:        250px;
  height:       250px;
  float:        right;
  background:   url('../images/bb_magazine.jpg') no-repeat top left;
  color:        #fff;
  font-size:    14px;
  line-height:  18px;
}

#new_ads {
  width:    770px;
  /*clear:    both;*/
  /*margin-bottom: 10px;*/
}

#new_ads .header {
  background: url('../images/h2-background.gif') repeat-x left top;
}

#new_ads .header .layer1 {
  background: url('../images/h2-background-left.gif') no-repeat left top;
}
  
#new_ads h2 {
  display:     block;
  height:      18px;
  font-size:   16px;
  line-height: 17px;
  padding:     10px 15px;
  background:  url('../images/h2-background-right.gif') no-repeat right top;
  color:       #fff;
}

#new_ads p {
  padding:   15px;
  font-size: 16px;
  /*clear:     both;*/
}

#new_ads table {
  width:  770px;
}

#new_ads table td {
  text-align:     left;
  vertical-align: top;
}

#footer {
  clear: both;
  text-align: center;
  height:      18px;
  font-size:   16px;
  line-height: 17px;
  padding:     10px 15px;
  background:  url('../images/h2-background.gif') repeat-x right top;
  color:       #fff;
}

#logo {
  float: left;
  padding-top: 10px;
}

#contacts {
  width:    770px;
  /*clear:    both;*/
  margin-bottom: 10px;
}

#contacts .header {
  background: url('../images/h2-background.gif') repeat-x left top;
}

#contacts .header .layer1 {
  background: url('../images/h2-background-left.gif') no-repeat left top;
}
  
#contacts h2 {
  display:     block;
  height:      18px;
  font-size:   16px;
  line-height: 17px;
  padding:     10px 15px;
  background:  url('../images/h2-background-right.gif') no-repeat right top;
  color:       #fff;
}

#contacts table {
  margin:   10px;
  font-size: 16px;
}

#contacts table td {
  padding: 5px;
}

#deadlines {
  width:    770px;
  /*clear:    both;*/
  margin-bottom: 10px;
}

#deadlines .header {
  background: url('../images/h2-background.gif') repeat-x left top;
}

#deadlines .header .layer1 {
  background: url('../images/h2-background-left.gif') no-repeat left top;
}
  
#deadlines h2 {
  display:     block;
  height:      18px;
  font-size:   16px;
  line-height: 17px;
  padding:     10px 15px;
  background:  url('../images/h2-background-right.gif') no-repeat right top;
  color:       #fff;
}

#deadlines table {
  width:     750px;
  margin:    10px;
  font-size: 16px;
}

#deadlines table td {
  padding: 5px;
}

#deadlines span.date {
  text-transform: lowercase;
}

#magazine {
  width:    770px;
  /*clear:    both;*/
  margin-bottom: 10px;
}

#ambazar_upload_form
{
	width:392px;
	text-align: center;
	position: absolute;
	top:700px;
  left: 33%;
	border: 5px red solid;
	background-color:white;
	display:none;
}

.photo_preview_item{
    height:80px;
    width:120px;
    display: block;
    float: left;
    margin-right: 5px;
    margin-bottom: 5px;
}

/* ETARGET REKLAMA

table.selfpromo {
  width:      770px;
  height:     38px;
  background: url('../images/h2-background.gif') repeat-x left top;
  margin-bottom: 20px;
}

table.selfpromo td.left {
  color:       #fff;
  text-align:  left;
  background:  url('../images/h2-background-left.gif') no-repeat left top;
  padding:     10px 15px;
  font-size:   16px;
  line-height: 17px;
  font-weight: bold;
}

table.selfpromo td.right {
  color:      #fff;
  text-align: right;
  background: url('../images/h2-background-right.gif') no-repeat right top;
  padding:    10px 15px;
}

.etarget .block {
  padding-left: 15px;
}

table.selfpromo td.right a, table.selfpromo td.right a:visited {
  color:           #fff;
  text-decoration: underline;
}

table.selfpromo td.right a:hover {
  text-decoration: none;
  color:           #ff0;
}
*/
/* FORMULÁR */

#add_form {
  /*clear: both;*/
  width: 770px; 
}

#add_form p {
  margin: 15px;
  line-height: 20px;
}

#add_form li {
  margin: 10px 30px 10px 50px;
}

#add_form .header {
  background: url('../images/h2-background.gif') repeat-x left top;
}

#add_form .header .layer1 {
  background: url('../images/h2-background-left.gif') no-repeat left top;
}
  
#add_form h1, #add_form h2 {
  display:     block;
  height:      18px;
  font-size:   16px;
  line-height: 17px;
  padding:     10px 15px;
  background:  url('../images/h2-background-right.gif') no-repeat right top;
  color:       #fff;
}

#add_form h3 {
  font-size:   16px;
  line-height: 17px;
  padding:     10px 15px;
}

#main_table {
  background-color: #ffa;
  border-collapse:  collapse;
}

#main_table td {
  padding-top:    2px;
  padding-bottom: 2px;
}

#main_table td.w1 {
  width: 140px;
  padding-left: 15px;
}

#main_table .w2 {
  width: 182px;
}

#main_table .w3 {
  width: 178px;
}

#sub_table {
  background-color: #efefef;
  width:770px;
}

#sub_table td {
  padding: 4px 0px;
}

#sub_table td.w1 {
  padding-left: 15px;
}

.cursor {
  cursor: pointer;
}

#magazine_preview {
  /*clear: both;*/
  width: 770px; 
}

#magazine_preview .header {
  background: url('../images/h2-background.gif') repeat-x left top;
}

#magazine_preview .header .layer1 {
  background: url('../images/h2-background-left.gif') no-repeat left top;
}
  
#magazine_preview h2 {
  display:     block;
  height:      18px;
  font-size:   16px;
  line-height: 17px;
  padding:     10px 15px;
  background:  url('../images/h2-background-right.gif') no-repeat right top;
  color:       #fff;
}

#magazine_ads {
  /*clear: both;*/
  width: 770px; 
}

#magazine_ads p {
  margin: 15px;
  line-height: 20px;
}

#magazine_ads .header {
  background: url('../images/h2-background.gif') repeat-x left top;
}

#magazine_ads .header .layer1 {
  background: url('../images/h2-background-left.gif') no-repeat left top;
}
  
#magazine_ads h2 {
  display:     block;
  height:      18px;
  font-size:   16px;
  line-height: 17px;
  padding:     10px 15px;
  background:  url('../images/h2-background-right.gif') no-repeat right top;
  color:       #fff;
}

#magazine_ads table {
  margin:   10px;
  font-size: 16px;
}

#magazine_ads table td {
  padding: 5px;
}

a.button_1, a.button_1:visited {
  clear: both;
  text-decoration: none;
  font-size: 14px;
  color: #00f;
  display: block;
  width:  372px;
  height: 30px;
  background: url('../images/navigation-background.png') repeat-x top left;
}

a.button_1 .layer1 {
  width:  100%;
  height: 30px;
  background: url('../images/navigation-left.png') no-repeat top left;
}

a.button_1 .layer2 {
  width:  100%;
  height: 23px;
  padding-top: 7px;
  background: url('../images/navigation-right.png') no-repeat top right;
}

a.button_1:hover {
  text-decoration: none;
}