/*
Theme Name: Bulgarien.info
Theme URI: http://www.triplemind.com/
Description: Template der Seite Bulgarien.info
Author: Franziska Ott
Version: 1.0
Tags: bulgaria, black sea, varna, golden sands
*/
* {
	margin: 0;
	padding: 0;
}
body {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #333333;
	line-height: 1.45em;
	font-size: 15px;
	text-shadow: 0 1px 1px rgba(0,0,0,.1);
	text-align: left;
	background: url(https://cdn.fluxgrid.net/www.schottland.info/wp-content/themes/schottland.info/images/background.png) left bottom repeat-x #FFFFFF;
}
h1 {
	font-size: 22px;
	font-weight: bold;
	margin-bottom: 20px;
	color: #9cc83b;
}
h2 {
	font-size: 22px;
	font-weight: bold;
	margin-bottom: 15px;
	line-height: 1.5em;
}
h3 {
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 15px;
}
h4 {
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 15px;
}
h5 {
	font-size: 14px;
	font-weight: bold;
	margin-bottom: 10px;
}
h6 {
	font-size: 14px;
	font-weight: normal;
	margin-bottom: 10px;
}
a {
	font-weight: bold;
	text-decoration: none;
	color: #253d69;
}
a:hover {
	font-weight: bold;
	text-decoration: underline;
	color: #a40713;
}
p {
	margin-bottom: 15px;
}
ol {
	list-style: decimal-leading-zero;
	padding-left: 35px;
}
hr {
	margin-bottom: 15px;
	border-left: 0;
	border-right: 0;
	border-top: 1px solid #D6D6D6;
	border-bottom: solid 1px #F6F6F6;
}
.clear {
	height: 0px;
	width: 0px;
	clear: both;
	font-size: 0px;
}
.infobox {
	background-color: #F6F6F6;
	border: 1px solid #D6D6D6;
	margin-bottom: 10px;
	padding: 15px;
}
.infobox p:last-child {
	margin-bottom: 0;
}
.infobox div:last-child:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
.infobox ul li {
	list-style: circle outside none;
	margin-left: 15px;
}
/*CAPTION IMG*/
a img, .image {
	background-color: #F6F6F6;
	border: 1px solid #D6D6D6;
	padding: 5px;
}
.image {
	float: right;
	margin: 0 0 15px 15px;
}
.wp-caption {
	background-color: #F6F6F6;
	border: 1px solid #D6D6D6;
	padding: 7px 7px 0;
	text-align: center;
}
.wp-caption img {
	border: none;
	margin: 5px 0 7px 0;
}
.wp-caption-text {
	margin: 0 0 7px;
	font-size: 0.85em;
	padding: 0 5px;
}
.alignnone {
	margin: 0 0 15px 0;
	clear: both;
}
.alignleft {
	float: left;
	margin: 0 15px 15px 0;
}
.alignright {
	float: right;
	margin: 0 0 15px 15px;
}
.aligncenter {
	display: block;
	margin-bottom: 15px;
	margin-left: auto;
	margin-right: auto;
}
/* CAPTION IMG END */
#content {
	width: 100%;
	height: 100%;
}
#layer {
	width: 1000px;
	height: 100%;
	margin: 0 auto;
	position: relative;
}
#head {
	width: 1000px;
	height: 151px;
	background: url(https://cdn.fluxgrid.net/www.schottland.info/wp-content/themes/schottland.info/images/head.png) no-repeat;
	position: relative;
}
#head a {
	display: block;
	width: 330px;
	height: 78px;
	text-decoration: none;
	left: 20px;
	top: 57px;
	position: absolute;
}
#head-nav {
	width: 100%;
	height: 27px;
}
#head-nav-left {
	width: 15px;
	height: 27px;
	background: url(https://cdn.fluxgrid.net/www.schottland.info/wp-content/themes/schottland.info/images/background_head-nav-left.png) no-repeat;
	float: left;
}
#head-nav-center {
	width: 970px;
	height: 27px;
	background: url(https://cdn.fluxgrid.net/www.schottland.info/wp-content/themes/schottland.info/images/background_head-nav.png) repeat-x;
	float: left;
}
#time {
	color: #475c1a;
	font-size: 10px;
	padding-left: 15px;
	float: left;
	text-shadow: 0 1px 0 #d7ebac;
}
#sidemenu {
	color: #475c1a;
	font-size: 10px;
	padding-right: 15px;
	float: right;
	text-shadow: 0 1px 0 #d7ebac;
}
#sidemenu a {
	font-weight: bold;
	text-decoration: none;
	color: #475c1a;
}
#sidemenu a:hover {
	text-decoration: underline;
}
#head-nav-right {
	width: 15px;
	height: 27px;
	background: url(https://cdn.fluxgrid.net/www.schottland.info/wp-content/themes/schottland.info/images/background_head-nav-right.png) no-repeat;
	float: left;
}
#box-content {
	width: 1000px;
	height: 100%;
	background: url(https://cdn.fluxgrid.net/www.schottland.info/wp-content/themes/schottland.info/images/background_content.png);
}
#box-left {
	width: 240px;
	height: 100%;
	float: left;
}
#layer-left {
	height: 100%;
	width: 200px;
	height: 100%;
	margin-left: 10px;
	padding: 15px 10px 20px 20px;
}
/* NAVIGATION START */
#navigation {
	width: 200px;
	height: 100%;
	margin-bottom: 20px;
	font-size: 0.85em;
}
.navigation-head {
	height: 21px;
	border: 1px solid #253d69;
	background: url(https://cdn.fluxgrid.net/www.schottland.info/wp-content/themes/schottland.info/images/background_nav-head.png) repeat-x;
	font-weight: bold;
	color: #FFFFFF;
	text-shadow: 0 1px 0 #13263f;
	padding: 3px 10px;
	margin-bottom: 1px;
}
.navigation-selection {
	height: 100%;
	border: 1px solid #D6D6D6;
}
.navigation-selection ul {
	margin-bottom: 0;
}
.navigation-selection ul li.page_item, .navigation-selection ul li ul li.page_item {
	list-style: none;
	border-top: 1px solid #FFFFFF;
	border-bottom: 1px solid #D6D6D6;
	background-color: #F6F6F6;
}
.navigation-selection ul li ul li.page_item {
	background-color: #FFFFFF;
}
.navigation-selection ul li.page_item:first-child {
	border-top: none;
	border-bottom: 1px solid #D6D6D6;
}
.navigation-selection ul li ul li.page_item:first-child {
	border-top: 1px solid #FFFFFF;
	border-bottom: 1px solid #D6D6D6;
}
.navigation-selection ul li.page_item:last-child {
	border-top: 1px solid #FFFFFF;
	border-bottom: none;
}
.navigation-selection ul li.page_item:hover, .navigation-selection ul li.page_item.current_page_item, .navigation-selection ul li.current_page_ancestor, .navigation-selection ul li ul li.page_item:hover, .navigation-selection ul li ul li.page_item.current_page_item {
	background-color: #ECECEC;
}
.navigation-selection ul li.current_page_ancestor ul {
	border-top: 1px solid #D6D6D6;
}
.navigation-selection ul li.current_page_ancestor ul li.page_item:last-child {
	border-bottom: 0;
}
.navigation-selection ul li.page_item a, .navigation-selection ul li ul li.page_item a, .navigation-selection ul li.page_item.current_page_item ul li a {
	display: block;
	padding: 2px 10px 3px;
	text-decoration: none;
	list-style-position: outside;
	color: #666666;
}
.navigation-selection ul li ul li.page_item:hover a, .navigation-selection ul li.page_item.current_page_item a, .navigation-selection ul li.page_item.current_page_item:hover ul li a {
	color: #333333;
}
.navigation-selection ul li ul li.page_item a {
	margin-left: 10px;
	background: url(https://cdn.fluxgrid.net/www.schottland.info/wp-content/themes/schottland.info/images/arrow.png) no-repeat left 10px transparent;
}
.navigation-selection ul li ul li ul li.page_item a {
	margin-left: 20px;
}
.navigation-selection-nolink {
	width: 198px;
	height: 100%;
	border: 1px solid #D6D6D6;
}
.navigation-selection-nolink ul {
	list-style: none;
	background-color: #F6F6F6;
}
.navigation-selection-nolink ul li {
	border-top: 1px solid #ffffff;
	border-bottom: 1px solid #D6D6D6;
	padding: 5px 10px 5px 10px;
}
.navigation-selection-nolink ul li:first-child {
	border-top: none;
	border-bottom: 1px solid #D6D6D6;
}
.navigation-selection-nolink ul li:last-child {
	border-top: 1px solid #ffffff;
	border-bottom: none;
}
/* NAVIGATION END */
/* TEASER START */
.teaser {
	width: 200px;
	height: 100%;
	margin-bottom: 15px;
}
.teaser-head {
	width: 198px;
	height: 73px;
	border: 1px solid #D6D6D6;
	position: relative;
	margin-bottom: 1px;
}
.teaser-head-deco {
	width: 178px;
	height: 16px;
	background: url(https://cdn.fluxgrid.net/www.schottland.info/wp-content/themes/schottland.info/images/background_teaser-head.png) repeat-x;
	z-index: 100;
	padding: 54px 10px 3px 10px;
	position: absolute;
	font-weight: bold;
	color: #666666;
	text-shadow: 0 1px 0 #FFFFFF;
	float: left;
}
.teaser-head img {
	float: left;
	position: absolute;
}
.teaser-head-deco span {
	cursor: pointer;
}
.pic-link span {
	display: block;
	cursor: pointer;
	height: 57px;
	width: 198px;
	margin-top: -57px;
	margin-left: -10px;
}
.pic-link span:hover {
	text-decoration: none;
	;
}
.teaser-text {
	background: url(https://cdn.fluxgrid.net/www.schottland.info/wp-content/themes/schottland.info/images/background_teaser-text.png) repeat-x #F6F6F6;
	padding: 5px 10px 5px 10px;
	border: 1px solid #D6D6D6;
	color: #666666;
	text-shadow: 0 1px #FFFFFF;
}
.teaser-text hr {
	margin-top: 5px;
	margin-bottom: 7px;
	border: 0;
	border-top: 1px solid #D6D6D6;
	border-bottom: solid 1px #F6F6F6;
}
/* TEASER END */
#box-center {
	width: 720px;
	background: #FFFFFF;
	padding: 10px 10px 25px 10px;
	position: relative;
	float: left;
}
#box-center.small {
	width: 500px;
}
#main-content {
	margin-bottom: 25px;
}
.booking {
	width: 500px;
	height: auto;
}
.booking-pic {
	float: left;
	background: url(https://cdn.fluxgrid.net/www.schottland.info/wp-content/themes/schottland.info/images/pics/reiseplanung.jpg) no-repeat;
	width: 500px;
	height: 150px;
}
.booking-mask {
	float: left;
	padding-left: 15px;
	padding-top: 7px;
}
.exclamation {
	background-color: #F6F6F6;
	border-top: 2px solid #D6D6D6;
	border-bottom: 2px solid #D6D6D6;
	padding: 2px 10px 5px 10px;
	margin-bottom: 20px;
	color: #666666;
}
.exclamation b {
	font-size: 20px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
}
.exclamation-mini {
	background-color: #F6F6F6;
	border-top: 1px solid #D6D6D6;
	border-bottom: 1px solid #D6D6D6;
	padding: 1px 10px 3px 10px;
	margin-bottom: 15px;
	margin-top: -10px;
	color: #666666;
	font-size: 10px;
}
.exclamation-mini b {
	font-size: 14px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
}
/* sitemap START */
#sitemap {
	width: 100%;
	height: 100%;
	background: url(https://cdn.fluxgrid.net/www.schottland.info/wp-content/themes/schottland.info/images/background_content.png) repeat-y;
}
#sitemap h1 {
	padding-left: 25px;
	padding-top: 25px;
}
#sitemap li {
	list-style-type: none;
}
#sitemap li ul {
	float: none;
	min-height: 120px;
}
#sitemap li ul li a {
	background: #F6F6F6;
	border-bottom: 1px solid #D6D6D6;
	border-top: 1px solid #D6D6D6;
	color: #666666;
	padding: 5px 10px;
	width: 100%;
	display: block;
}
#sitemap li ul li {
	list-style-type: none;
	padding-top: 5px;
	margin-bottom: 25px;
	float: left;
	width: 450px;
	margin-left: 25px;
}
#sitemap li ul.children li {
	float: left;
	width: 50%;
	margin: 0;
}
#sitemap li ul.children li a {
	background: none;
	border: none;
	background: url("https://cdn.fluxgrid.net/www.schottland.info/wp-content/themes/schottland.info/images/arrow.png") no-repeat scroll left center transparent;
}
/* sitemap END */
#gallery-box {
	background-color: #FFFFFF;
	width: 478px;
	height: auto;
	padding: 10px;
	border: 1px solid #D6D6D6;
	margin-bottom: 20px;
}
#breadcrumb {
	font-size: 10px;
	padding-bottom: 10px;
}
#box-right {
	width: 240px;
	height: 100%;
	float: left;
}
#layer-right {
	height: 100%;
	width: 200px;
	height: 100%;
	margin-right: 10px;
	padding: 15px 20px 20px 10px;
}
#foot {
	width: 1000px;
	height: 50px;
}
#foot-left {
	width: 10px;
	height: 50px;
	background: url(https://cdn.fluxgrid.net/www.schottland.info/wp-content/themes/schottland.info/images/background_shadow-left.png) repeat-y;
	float: left;
}
#foot-center {
	width: 980px;
	height: 30px;
	background: url(https://cdn.fluxgrid.net/www.schottland.info/wp-content/themes/schottland.info/images/background_footer.png) repeat-x;
	float: left;
	color: #FFFFFF;
	font-size: 10px;
	text-align: center;
	padding: 15px 0 5px;
	text-shadow: 0 1px 0 #1c3a61;
}
#foot-right {
	width: 10px;
	height: 50px;
	background: url(https://cdn.fluxgrid.net/www.schottland.info/wp-content/themes/schottland.info/images/background_shadow-right.png) repeat-y right;
	float: left;
}
/* TS24 Buchungsmaske 
.ts-headerbg, .ts-linkbuttonwrapper, .ts-orangebar, .ts-bigbox h2 {
	display: none;
}
#ts-frame .ts-boxwrapper {
	margin: 0 !important;
}
#ts-frame {
	background: none !important;
	border: none !important;
	width: 230px !important;
}
#ts-frame * {
	color: #333333 !important;
}
.ts-bigbox {
	background: none !important;
}
#ts-frame .ts-submitbutton {
	background: url("http://www.schottland.info/wp-content/themes/schottland.info/images/background_nav-head.png") repeat-x scroll center transparent !important;
	padding: 2px 12px 3px 13px !important;
	border: 1px solid #253d69 !important;
	color: #FFFFFF !important;
	text-shadow: 0 1px 0 #004331 !important;
}
#ts-frame .ts-submitbutton:hover {
	background: url("http://www.schottland.info/wp-content/themes/schottland.info/images/background_nav-head_hover.png") repeat-x scroll center transparent !important;
	border: 1px solid #9cc83b !important;
	color: #475c1a !important;
	text-shadow: 0 1px 0 #d7ebac !important;
}
.ts-fieldwrapper #flugdauer, label[for="flugdauer"], label[htmlfor="flugdauer"] {
	display: none;
} */
.link {
	font-weight: bold;
}
.link:hover {
	text-decoration: underline;
	cursor: pointer;
	color: #a40713;
}
.ts-teaser {
	border-bottom: 1px solid #F6F6F6;
	clear: both;
	margin-bottom: 17px;
}
/* button START */
.submit-button {
	margin: 8px 0;
}
.submit-button span, .submit-button-vac span {
	background: url(https://cdn.fluxgrid.net/www.schottland.info/wp-content/themes/schottland.info/images/background_nav-head.png) repeat-x center center;
	border: 1px solid #253d69;
	-moz-border-radius: 5px; /* Firefox */
	-webkit-border-radius: 5px; /* Safari, Chrome */
	-khtml-border-radius: 5px; /* Konqueror */
	border-radius: 5px; /* CSS3 */
	font-weight: bold;
	color: #FFFFFF;
	text-shadow: 0 1px #13263F;
	padding: 2px 18px 4px 16px;
}
.submit-button span:hover, .submit-button-vac span:hover {
	background: url(https://cdn.fluxgrid.net/www.schottland.info/wp-content/themes/schottland.info/images/background_nav-head_hover.png) repeat-x;
	color: #FFFFFF;
	text-shadow: 0 1px #13263F;
	text-decoration: none;
}
/* button END */
/* ADDTHIS BIG BOX */
div.addthis_toolbox, a.addthis_button_facebook_like, a.addthis_button_tweet, a.addthis_counter {
	height: 20px;
	text-shadow: none;
}
a.addthis_button_tweet iframe {
	width: 105px !important;
}
#addthis_big #___plusone_1, #addthis_big #___plusone_0 {
	width: 70px !important;
}
#addthis_big {
	clear: both;
	padding: 5px 0;
}
.addthis_button_facebook_like.at300b {
	width: 130px !important;
}
/* ADS START */
#ad_skyscraper {
	position: absolute;
	left: 1010px;
	top: 203px;
}
#ad_leaderboard {
	margin-bottom: 7px;
	margin-top: 10px;
	text-align: center;
}
#ad_skyscraper img, #ad_leaderboard img {
    max-width: none;
    max-height: none
}
/* ADS END */
/* KLIMADIAGRAMM START */
table.klimadiagramm {
	font-size: 10px;
}
table.klimadiagramm td {
	width: 38px;
	text-align: center;
	padding-bottom: 5px;
}
/* KLIMADIAGRAMM END */
/* TOP TEN STÄDTE START */
table.staedte {
	margin-bottom: 10px;
}
table.staedte th {
	padding: 3px 0;
	font-weight: bold;
	text-align: center;
}
table.staedte td:first-child {
	padding: 3px 0;
}
table.staedte td {
	background-color: #F9F9F9;
	padding-top: 3px 0 3px 5px;
	border-top: 1px solid #E2E2E2;
	border-bottom: 1px solid #E2E2E2;
	text-align: center;
}
/* TOP TEN STÄDTE END */
/* SEARCH START */
input#s {
	height: 30px;
	margin: 10px 0;
	padding: 0 5px;
	width: 188px;
}
input#searchsubmit {
	background: url("https://cdn.fluxgrid.net/www.schottland.info/wp-content/themes/schottland.info/images/background_nav-head.png") repeat-x scroll 0 0 transparent;
	border: 1px solid #253D69;
	color: #FFFFFF;
	font-weight: bold;
	height: 30px;
	width: 90px;
	text-shadow: 0 1px 0 #13263F;
}
input#searchsubmit:hover {
	opacity: 0.8;
	tex-tdecoration: underline;
}
label.screen-reader-text {
	display: none;
}
/* SEARCH END */
/* MAP */
.wpgmza_map {
	margin-bottom: 1.5em;
}
/* MAP END *//* added from example.html */

#comment-form {
    width: 100%;
  }
  #error {
    display: none;
    background: #FFF;
    position: absolute;
    left: 100px;
    top: 100px;
    width: 498px;
    height: auto;
    border: 1px solid #CCC;
  }
/* added from example.html */


.ad-gallery {
  width: 100%;
}
.ad-gallery, .ad-gallery * {
  margin: 0;
  padding: 0;
}
  .ad-gallery .ad-image-wrapper {
    width: 100%;
    height: auto;
    margin-bottom: 5px;
    position: relative;
    overflow: hidden;
  }
    .ad-gallery .ad-image-wrapper .ad-loader {
      position: absolute;
      z-index: 10;
      top: 48%;
      left: 48%;
      border: 1px solid #CCC;
    }
    .ad-gallery .ad-image-wrapper .ad-next {
      position: absolute;
      right: 0;
      top: 0;
      width: 25%;
      height: 100%;
      cursor: pointer;
      display: block;
      z-index: 100;
    }
    .ad-gallery .ad-image-wrapper .ad-prev {
      position: absolute;
      left: 0;
      top: 0;
      width: 25%;
      height: 100%;
      cursor: pointer;
      display: block;
      z-index: 100;
    }
    .ad-gallery .ad-image-wrapper .ad-prev, .ad-gallery .ad-image-wrapper .ad-next {
      /* Or else IE will hide it */
      background: url(https://cdn.fluxgrid.net/www.schottland.info/wp-content/themes/schottland.info/slideshow/non-existing.jpg)\9
    }
      .ad-gallery .ad-image-wrapper .ad-prev .ad-prev-image, .ad-gallery .ad-image-wrapper .ad-next .ad-next-image {
        background: url(https://cdn.fluxgrid.net/www.schottland.info/wp-content/themes/schottland.info/slideshow/ad_prev.png);
        width: 30px;
        height: 30px;
        display: none;
        position: absolute;
        top: 47%;
        left: 0;
        z-index: 101;
      }
      .ad-gallery .ad-image-wrapper .ad-next .ad-next-image {
        background: url(https://cdn.fluxgrid.net/www.schottland.info/wp-content/themes/schottland.info/slideshow/ad_next.png);
        width: 30px;
        height: 30px;
        right: 0;
        left: auto;
      }
    .ad-gallery .ad-image-wrapper .ad-image {
      position: absolute;
      overflow: hidden;
	  width:478px !important;
      top: 0;
      left: 0;
      z-index: 9;
    }
      .ad-gallery .ad-image-wrapper .ad-image .ad-image-description {
        position: absolute;
        bottom: 0px;
        left: 0px;
        padding: 5px 10px 5px 10px;
        text-align: left;
        width: 100%;
        z-index: 2;
        background: url(https://cdn.fluxgrid.net/www.schottland.info/wp-content/themes/schottland.info/slideshow/opa75.png);
        color: #000;
      }
      * html .ad-gallery .ad-image-wrapper .ad-image .ad-image-description {
        background: none;
        filter:progid:DXImageTransform.Microsoft.AlphaImageLoader (enabled=true, sizingMethod=scale, src='opa75.png');
      }
        .ad-gallery .ad-image-wrapper .ad-image .ad-image-description .ad-description-title {
          display: block;
        }
  .ad-gallery .ad-controls {
    height: 17px;
  }
    .ad-gallery .ad-info {
      float: left;
	  padding-left:20px;
	  font-size:10px;
    }
    .ad-gallery .ad-slideshow-controls {
      float: right;
	  padding-right:20px;
	  font-size:10px;
    }
      .ad-gallery .ad-slideshow-controls .ad-slideshow-start, .ad-gallery .ad-slideshow-controls .ad-slideshow-stop {
        padding-left: 5px;
        cursor: pointer;
      }
      .ad-gallery .ad-slideshow-controls .ad-slideshow-countdown {
        padding-left: 5px;
        font-size: 0.9em;
      }
    .ad-gallery .ad-slideshow-running .ad-slideshow-start {
      cursor: default;
      font-style: italic;
    }
  .ad-gallery .ad-nav {
    width: 478px;
    position: relative;
  }
    .ad-gallery .ad-forward, .ad-gallery .ad-back {
      position: absolute;
      top: 0;
      height: 100%;
      z-index: 10;
    }
    /* IE 6 doesn't like height: 100% */
    * html .ad-gallery .ad-forward, .ad-gallery .ad-back {
      height: 100px;
    }
    .ad-gallery .ad-back {
      cursor: pointer;
	  margin-top:21px;
      width: 10px;
	  height:14px;
      display: block;
      background: url(https://cdn.fluxgrid.net/www.schottland.info/wp-content/themes/schottland.info/slideshow/ad_scroll_back.png) no-repeat;
	  left:0;
    }
	
    .ad-gallery .ad-forward {
      cursor: pointer;
      display: block;
      right:0;
      width: 10px;
	  height:14px;
	  margin-top:21px;
      background: url(https://cdn.fluxgrid.net/www.schottland.info/wp-content/themes/schottland.info/slideshow/ad_scroll_forward.png) no-repeat;
    }
    .ad-gallery .ad-nav .ad-thumbs {
      overflow: hidden;
      width: 448px;
	  margin-left:15px;
	  margin-right:15px;
    }
      .ad-gallery .ad-thumbs .ad-thumb-list {
        float: left;
        width: 9000px;
        list-style: none;
      }
        .ad-gallery .ad-thumbs li {
          float: left;
          padding-left: 5px;
        }
		
		.ad-gallery .ad-thumbs li:first-child {
          float: left;
          padding-left: 0;
        }
          .ad-gallery .ad-thumbs li a {
            display: block;
          }
            .ad-gallery .ad-thumbs li a img {
              border: 3px solid #CCC;
              display: block;
            }
            .ad-gallery .ad-thumbs li a.ad-active img {
              border: 3px solid #616161;
            }
/* Can't do display none, since Opera won't load the images then */
.ad-preloads {
  position: absolute;
  left: -9000px;
  top: -9000px;
}