.mercato_ad
{
  background-color: #ebebeb;
  padding: 5px;
  clear: both;
  margin: 0 0 20px;
}

.mercato_ad #ad_titel
{
  font-family: verdana, sans-serif;
  font-size: 12px;
  font-color: #000;
  font-weight: bold;
  margin: 0 0 20px;
  float: left;
}

.mercato_ad #ad_prijs
{
  font-size: 12px;
  font-weight: bold;
  margin: 0 0 10px;
  float: right;
}

.mercato_ad #ad_fotos
{
  clear: both;
  margin: 0 0 10px;
}

.mercato_ad #ad_fotos img
{
  margin-right: 5px;
  border: 1px solid #000;
  cursor: pointer;
}

.mercato_ad #ad_text
{
  margin: 0 0 10px;
  clear: both;
}

.mercato_ad #ad_naw
{
  margin: 0 0 10px;
}

.mercato_ad #ad_naw td
{
  padding: 1px 0;
  font-weight: bold;
}

#ad_buttons button
{
  width: 125px;
  margin-right: 5px;
}

.mod_button
{
  color: #fff;
  background-color: #c00;
  border: 1px solid #000;
}

#mercato_reactieform td
{
  padding: 2px 0;
}


#tabnav a
{
  display: block;
  float: left;
  margin: 0 2px 0 0;
  padding: 4px 10px;
  border-bottom: 1px solid #999;
  color: #c00;
  text-decoration: none;
  clear: none;
  background: #d5d5d5;
}

#tabnav a:hover
{
  text-decoration: underline;
  background: #ebebeb;
}

#tabnav a.active
{
  background: #ebebeb;
  color: #000;
  border-bottom: 1px solid #ebebeb;
}

#tabnav a.right
{
  float: right;
  margin: 0;
}


#ad_list td
{
  padding: 4px 2px;
  border-bottom: 1px solid #ebebeb;
}

#ad_list td img
{
  border: 1px solid #666;
}

#ad_list .header td
{
  padding: 2px;
  border-width: 0;
}

#ad_list td a
{
  /*font-weight: normal;*/
}

#ad_list td a:visited
{
  font-weight: normal;
  color: #900;
}

#ad_list .header
{
  font-weight: bold;
  background-color: #ebebeb;
  color: #000;
}

#ad_list .header td
{
  border-bottom: 1px solid #ebebeb;
}


#ad_list_pagination
{
  background-color: #ebebeb;
  color: #000;
  font-weight: bold;
}

#ad_list_pagination td
{
  padding: 2px;
}

#ad_edit_foto
{
  margin: 5px 0;
  width: auto;
}

#ad_edit_foto td
{
  padding: 0 0 5px;
}

#ad_edit_foto img
{
  margin: 0;
  padding: 0;
}


#fotopopup
{
  padding: 0;
  margin: 0;
  background: #000;
}

#fotopopup #header
{
  display: block;
  clear: both;
  background: url(/images/headers/flag_top.gif) right no-repeat #c00;
  height: 60px;
}

#fotopopup #header img
{
  margin: 42px 5px 5px;
}

#fotopopup h1
{
  display: block;
  clear: both;
  background: #000;
  color: #fff;
  font-family: verdana;
  font-size: 12px;
  padding: 4px;
  margin: 0;
  height: 16px;
}

#fotopopup #footer img
{
  cursor: pointer;
  border: 1px dotted #fff;
  margin: 7px 1px 5px 5px ;
}

#fotopopup #footer img.selected
{
  border: 2px solid #fff;
}