/* For modern browsers */
.clear:before,
.clear:after {
    content:"";
    display:table;
}
.clear:after {
    clear:both;
}
/* For IE 6/7 (trigger hasLayout) */
.clear {
    zoom:1;
}

.fancybox-title .albumLink {
    float: right;
    margin-left: 20px;
}

.snippet-code {
    font-family: monospace;
    margin: 35px 0 10px 0;
    font-size: 14px;
    background: #ddd;
    padding: 7px;
    border: 1px solid #eee;
}


.adgallery-main-content-1colums { width:950px; float:left; line-height:normal; }
.adgallery-main-content-2colums { width:750px; margin-left:5px; float:left; line-height:normal; }
.adgallery-main-content-2colums.wide { width: 100%; }
.adgallery-main-content-side-column-left { width:195px; float:left; line-height:normal; }
.adgallery-sidemenu-level0 { padding-bottom:10px; }
.adgallery-sidemenu-level0-content { font-weight:bold; color:#555; }
.adgallery-sidemenu-album { padding-bottom:2px; }
.adgallery-sidemenu-album.active a {
    color: #d96708;
    text-decoration: underline;
}
#adgallery-top-navigation { padding-bottom:20px; }
.adgallery-picture-ref-link { text-align:right; }
.adgallery-album-ref-link { text-align:right; }
.adgallery-albums-row { padding-bottom:20px; }
.adgallery-albums-item, .adgallery-album-item, .adgallery-album-summary-item { float: left;
    margin: 3px;
    width: 178px;
    border: 1px solid #ddd;}
.adgallery-albums-item-photo img, .adgallery-album-item-photo img, .adgallery-album-summary-item-photo img { border:0; }
.adgallery-albums-item-photo, .adgallery-album-item-photo, .adgallery-album-summary-item-photo { display: block;
    margin: 9px;
    overflow: hidden;
    width: 160px;
    height: 120px;
    text-align: center; }
.adgallery-albums-item-photo:hover, .adgallery-album-item-photo:hover, .adgallery-album-summary-item-photo:hover { border-color:#0091d7; }
.adgallery-album-title-wrapper { text-align:center; padding-bottom:30px; }
.adgallery-album-title { text-align:center; padding-bottom:30px; font-size:24px; font-family:Verdana,sans-serif; }
.adgallery-albums-item-description {
    text-align: center;
    font-size: 12px;
    margin: 0 0px 6px;
    height: 24px;
    overflow: hidden;
    display: table;
    width: 100%;
}
.adgallery-albums-item-description .vcenter {
    width: 100%;
    display: table-cell;
    vertical-align: middle;
}
.adgallery-album-item-description {
    text-align: center;
    overflow: hidden;
    font-size: 10px;
    margin: 0 9px 6px;
    height: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.adgallery-album-item-description:empty {
    display: none;
}
.adgallery-album-description-wrapper { padding-bottom:30px; }
.adgallery-albums-description, .adgallery-albums-description p {
    font-size: 11px;
    line-height: 16px;
    margin-bottom: 10px;
}
.adgallery-album-description, .adgallery-album-description p {
    font-size: 11px;
    line-height: 16px;
    margin-bottom: 10px;
}
#adgallery-picture { text-align:center; }
#adgallery-picture-caption { padding-top:10px; text-align:center; }
.adgallery-not-found { padding-top:30px; padding-bottom:30px; color:#ccc; }
.adgallery-not-found a { color:#b3ddf3 }
.adgallery-is-hidden { padding-top:30px; padding-bottom:30px; color:#ccc; }
.adgallery-is-hidden a { color:#b3ddf3 }
.adgallery-album-summary { background:#f0f0f0; padding:3px; clear:both; border:1px solid #ddd; }
.adgallery-album-summary-content { background:#fff; padding:3px; padding-left:7px; height:90px; overflow:hidden; }
.adgallery-album-summary-title-wrapper { padding:5px 0 5px 20px; }
.adgallery-album-summary-title { font-family:Verdana,sans-serif; font-weight:bold; font-size:18px; }
.adgallery-album-summary-item { width:auto; }
.adgallery-album-summary-item-photo { border-color:#f0f0f0; padding:5px; width:72px; height:72px; }
.adgallery-album-summary-item-photo:hover { border-color:#0091d7; }
.adgallery-album-summary-link { padding-left:20px; }
.adgallery-album-summary-link-thumbnails { cursor:pointer; padding-left:15px; padding-right:13px; background:url('http://amazingdiscoveries.org/assets/templates/AD02/img/icons/arrow_down.png') no-repeat center right; }
.adgallery-album-summary-link-album { padding-right:16px; background:url('http://amazingdiscoveries.org/assets/templates/AD02/img/icons/arrow_out.png') no-repeat center right; }
.adgallery-picture-summary { background:#f0f0f0; padding:3px; margin:10px; border:1px solid #ddd; }
.adgallery-picture-summary-left { margin-left:0; float:left; margin-right: 9px !important;}
.adgallery-picture-summary-right { margin-right:0; float:right; margin-left: 9px !important;}
.adgallery-picture-summary-center { margin:10px; margin-left:auto; margin-right:auto; text-align: center;}
.adgallery-picture-summary-info { overflow:hidden; }
.adgallery-picture-summary-description { font-size:11px; margin: 10px;}
.adgallery-picture-summary-description p { margin:0; padding: 0; }
.adgallery-picture-summary-link { padding-right:18px; }
.adgallery-picture-summary-link-album { background:url('http://amazingdiscoveries.org/assets/templates/AD02/img/icons/arrow_out.png') no-repeat center right; }
.adgallery-picture-summary-link-picture { background:url('http://amazingdiscoveries.org/assets/templates/AD02/img/icons/magnifying_glass.png') no-repeat center right; }
.adgallery-picture-summary-no-frame { background:transparent; padding:0; margin:0; border:none; }

.picasa-album-summary-toggle {
    margin-left: 30px;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.picasa-album-summary-toggle .show {
    display: none;
}

.full-view .picasa-album-summary-content {
    height: auto;
}

.full-view .picasa-album-summary-toggle .show {
    display: inline;
}

.full-view .picasa-album-summary-toggle .hide {
    display: none;
}

.fancybox-title-inside-wrap div.copyright, .fancybox-title-inside-wrap div.location {
    font-size: 11px;
    margin-top: 5px;
    text-shadow: rgb(255, 255, 255) 1px 1px 0;
    color: rgb(200, 200, 200);
}

.fancybox-title-inside-wrap div.location {
    color: rgb(61, 61, 61);
}

.tooltipster-shadow {
    background: #fff;
    box-shadow: 0px 0px 7px rgba(0,0,0,0.3);
    color: #000;
    opacity: .95;
}

.tooltipster-shadow .tooltipster-content {
    font-family: Verdana,Arial,Helvetica,sans-serif;
    font-size: 10px;
    line-height: 14px;
    padding: 5px 7px;
}

.adgallery-sidemenu-album-group-title, .adgallery-group-title {
    font-size: 18px;
    margin-top: 30px;
    margin-bottom: 10px;
}

.hr {
    border-bottom: 1px solid #c2c2c2;
    margin: 10px 3px;
}

/* Fix tooltipset overlay fancybox*/
.tooltipster-base {
    z-index: 1000 !important;
}
