/**
 * @file        gallery.css
 * @description Gallery Results and Detail page styles
*/

.utilities-top {height:25px;}


/**
 * @section HEADER
*/

.headers-container {
    margin-bottom: 12px;
}

.headers-container .content-headline {
    text-transform: capitalize;
}

.headers-container .content-extra-text{
    font-family:Arial,Helvetica,sans-serif;
    font-size: 11px;
    margin-top: -2px;
}

/**
 * @section SUPPORTING CONTENT
*/
.gallery-results .supporting {
    float: left;
    margin-bottom: 20px;
    padding-right: 15px;
    width: 140px;
}


/* More Galleries */

/* results */
.gallery-results .more-galleries {
    border: 1px solid #e0e0e0;
    margin-bottom: 6px;
    padding: 1px;
}

.more-galleries h2 {
    background: #59ad3c;
    color: #fff;
    font-size: 10px;
    margin-bottom: 7px;
    padding: 3px 5px 2px;
    position: relative;
    text-transform: uppercase;
}

.gallery-results .more-galleries h2:after {
    content: url(/css/i/gallery/more-header-notch.png);
    position: absolute;
    bottom: -5px;
    left: 5px;
}

.more-galleries li {
    font-size: 12px;
    margin: 0 0 1px 6px;
}

.more-galleries li:before {
    content: "\203a\00a0";
}

.more-galleries .view-all {
    border-bottom: 3px solid #59ad3c;
    font: 10px Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 4px;
    text-align: right;
    text-transform: lowercase;
}

.more-galleries .view-all:before {
    content: "";
}

.more-galleries .view-all a {
    color: #444;
}

/* drop down */
.gallery-detail .more-galleries {
    float: right;
    top: 10px;
    width: 161px;
}

.gallery-detail .more-galleries.dropdown {
    position: absolute;
    right: 0;
    z-index: 9;
}

.gallery-detail .more-galleries h2 {
    margin-bottom: 0;
}

.gallery-detail .more-galleries.dropdown h2 {
    background: #59ad3c url(/css/i/gallery/gallery-sprite.png) no-repeat -45px 0;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -moz-box-shadow: 3px 3px 6px rgba(0, 0, 0, .1);
    -webkit-box-shadow: 3px 3px 6px rgba(0, 0, 0, .1);
    box-shadow: 3px 3px 6px rgba(0, 0, 0, .1);
    cursor: pointer;
}

.gallery-detail .more-galleries.dropdown h2:hover {
    background-color: #4e9425;
}

.gallery-detail .more-galleries ul {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 8px 1px 1px;
}

.gallery-detail .more-galleries.dropdown ul {
    display: none;
    margin-top: -3px;
}


.mediaviewer-container.slideshow-enabled {
    height: 340px;
}
.mediaviewer-container.slideshow-enabled .slideshow-navigation-overlay {
    bottom: 0px;
}


/* Facet List */
.facet-list h2 {
    font-style: italic;
    font-weight: normal;
    font-size: 14px;
    margin: 0 0 6px 4px;
}

.facet-list dl {
    font: 11px Arial, Helvetica, sans-serif;
}

.facet-list dt {
    color: #444;
    background-color: #bdc0b6;
    font-weight: bold;
    margin-bottom: 2px;
    padding: 4px 8px 4px 15px;
    text-transform: capitalize;
}

.facet-list.elastic dt {
    background: #bdc0b6 url(/css/i/rss/rss-sprite.gif) no-repeat -321px -88px;
    cursor: pointer;
}

.facet-list.elastic dt:hover {
    text-decoration: underline;
}

.facet-list.elastic dt.contracted {
    background-position: -321px 0;
}

.facet-list dd {
    padding: 3px 0 3px 15px;
    position: relative;
    text-transform: lowercase;
    display: none;
}
.facet-list.elastic dd {
    display:block;
}

.facet-list.elastic dd.viewall {
    font-weight:bold;
}


.ss_wedding-hair .facet-list.elastic dd.viewall,
.s_wedding-ideas .facet-list.elastic dd.viewall,
.s_home-wedding-registry .facet-list.elastic dd.viewall,
.facet-list.elastic dd.contracted,
.designer-list.contracted {
    display: none;
}
.ss_wedding-favors .facet-list.elastic dd.viewall,
.ss_wedding-invitations-stationery .facet-list.elastic dd.viewall{
    display:block;
}

.facet-list dd a {
    color: #2d2d2d;
    display: block;
}

/* facet thumbnail */
.facet-list dd .facet-thumb {
    background: #bdc0b6;
    border: 1px solid #fff;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: 4px 4px 12px rgba(0, 0, 0, .3);
    -webkit-box-shadow: 4px 4px 12px rgba(0, 0, 0, .3);
    box-shadow: 4px 4px 12px rgba(0, 0, 0, .3);
    display: none;
    padding: 4px;
    position: absolute;
    top: -35px;
    left: 140px;
    z-index: 5;
}

.facet-list dd .facet-thumb:before {
    content: url(/css/i/gallery/facet-hover-notch.png);
    position: absolute;
    top: 38px;
    left: -7px;
}

.facet-list dd:hover .facet-thumb {
    display: block;
}

/* designer-list layer */
.designer-list {
    background: #fff;
    border: 4px solid #bdc0b6;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: 4px 4px 12px rgba(0, 0, 0, .3);
    -webkit-box-shadow: 4px 4px 12px rgba(0, 0, 0, .3);
    box-shadow: 4px 4px 12px rgba(0, 0, 0, .3);
    font: 11px Arial, Helvetica, sans-serif;
    padding-bottom: 8px;
    position: absolute;
    top: 0;
    left: 140px;
    max-width: 652px;
    z-index: 9;
}

.designer-list dt {
    background: #bdc0b6;
    color: #444;
    font-weight: bold;
    margin-bottom: 4px;
    padding: 2px 0 4px 8px;
}

.designer-list dt .close {
    background: url(/css/i/gallery/gallery-sprite.png) no-repeat 0 -51px;
    cursor: pointer;
    float: right;
    position: relative;
    top: -3px;
    text-indent: -9999px;
    width: 17px;
    height: 17px;
}

.designer-list dt .close:hover {
    background-position: -27px -51px;
}

.designer-list dd {
    float: left;
    line-height: 1;
    margin: 3px 8px;
    width: 147px;
}

.designer-list dd a {
    color: #2d2d2d;
}

/* clear */
.facet .clear {
    background: url(/css/i/gallery/gallery-sprite.png) no-repeat;
    display: inline-block;
    overflow: hidden;
    text-indent: -9999px;
    vertical-align: middle;
    width: 13px;
    height: 12px;
}

.facet:hover .clear {
    background-position: -23px 0;
}

.active .facet a:hover {
    color: #c33;
    text-decoration: none;
}


/**
 * @section RESULTS
*/
.gallery-results .results {
    float: left;
    width: 100%;
}

.gallery-results .supporting + .results {
    width: 475px;
}

/* Tabs */
.gallery-tabs {
    border-bottom: 1px solid #e0e0e0;
    float: left;
    font: normal 10px Arial, Helvetica, sans-serif;
    margin-bottom: 3px;
    text-transform: uppercase;
    width: 100%;
}

.gallery-detail .gallery-tabs {
    margin-bottom: 10px;
}

.gallery-tabs li {
    border: 1px solid #e0e0e0;
    float: left;
    position: relative;
    top: 1px;
    left: 10px;
}

.gallery-tabs li + li {
    border-left: 0;
}


.gallery-tabs .current {
    border-bottom-color: #fff;
    background-color: #fff;
    padding: 6px 8px 6px 8px;
    top:-1px;
    margin-bottom:-3px;
    border-left:1px solid #e0e0e0;
    font-weight:bold;
}

.gallery-tabs li a {
    background: #f6f5f4;
    color:#137095;
    display: block;
    padding: 5px 8px;
}

.gallery-tabs li a:hover {
    background: #e1e1e1;
}

/* Active Filters */
.filters {
    clear: both;
    font: italic 11px Arial, Helvetica, sans-serif;
    margin-bottom: 0;
    padding: 4px 0 0 8px;
    float:left;
    width:468px;
}

.filters h2 {
    float:left;
    font: italic 11px Georgia, serif;
    margin-top:3px;
    margin-bottom:7px;
    padding-right:3px;
}

.filters ul {
    float:left;
    margin-top:4px;
    padding-bottom:4px;
    max-width:290px !important;
    width:auto !important;
    width:290px;
}

.filters li {
    float:left;
    margin-right: 5px;
    margin-bottom:5px;
    text-transform: lowercase;
    white-space:nowrap;
}

.filters .facet a {
    color: #2d2d2d;
}

.filters .facet a:hover {
    color: #c33;
    text-decoration: none;
}

.filters .clear-all {
    display:block;
    text-indent:-9999px;
    font-size:1px;
    line-height:0.1em;
    width:72px;
    height:21px;
    background: url(/css/i/gallery/gallery-sprite.png) right -80px no-repeat;
    float:left;
    margin-bottom:5px;
    }

        .filters a.clear-all:hover {
            background-position: right -116px;
         }

/* Pagination */
.gallery-pagination {
    border: 1px solid #e0e0e0;
    border-width: 1px 1px 1px 0;
    clear: both;
    float: left;
    font: 11px Arial, Helvetica, sans-serif;
    margin-bottom: 11px;
    padding: 0;
    text-align: right;
    width: 100%;
    height:22px;
    position:relative;
}


.gallery-pagination div {
    display:inline;
    font-weight: bold;
    text-transform: lowercase;
    margin-top:4px;
}

.gallery-pagination .previous,
.gallery-pagination .next {
    font-size:1px;
    text-indent:-9999px;
    position:absolute;
    top:0;
    background:url(i/gallery/gallery-sprite.png) 5px -197px no-repeat;
    text-align:left;
    margin-top:0;
}

.gallery-pagination span.pagecount {
    display:block;
    width:140px;
    height:22px;
    text-align:center;
    position:absolute;
    top:4px;
    right:55px;
}

.gallery-pagination strong {
    font-weight: normal;
}


.gallery-pagination .previous {
    border-right: 1px solid #e0e0e0;
    border-left: 1px solid #e0e0e0;
    right:195px;
}


    .gallery-pagination .previous,
    .gallery-pagination .previous a
    {
        display:block;
        width:75px;
        height:22px;
    }
    .gallery-pagination .previous a
    {
        background:url(i/gallery/gallery-sprite.png) 5px -153px no-repeat;
    }

     .gallery-pagination .previous a:hover
    {
        background-position:5px -175px;
    }


.gallery-pagination .next {
    border-left: 1px solid #e0e0e0;
    background-position:-154px -197px;
    right:0;
}



    .gallery-pagination .next,
    .gallery-pagination .next a
    {
        display:block;
        width:55px;
        height:22px;
    }

    .gallery-pagination .next a {
         background:url(i/gallery/gallery-sprite.png) -154px -153px no-repeat;
    }
    .gallery-pagination .next a:hover {
        background-position:-154px -175px;
    }

.gallery-pagination .return {
    float: left;
}

.gallery-pagination .new-search {
    border-left: 1px solid #e0e0e0;
    float: left;
    margin-left: 11px;
    padding-left: 10px;
}

.gallery-pagination.top {
    margin-top: 7px;
}


.gallery-detail .gallery-pagination.top {
    margin-top:0;
    margin-bottom: 20px;
}

/* Thumbnails */
.thumbs .row {
    clear: both;
}

.thumbs .result {
    float: left;
    font: 11px Arial, Helvetica, sans-serif;
    margin: 0 0 11px 11px;
    overflow: hidden;
    width: 149px;
}   /* override in ie.css */

.supporting + .results .thumbs .result {
    width: 110px;
}

.thumbs .result:first-child {
    margin-left: 0;
}

.thumbs .result .thumb {
    margin-bottom: 4px;
}

.thumbs .result .header {
    font-size: 11px;
}

.thumbs .result .summary {
    color: #666;
}

.thumbs .result .summary strong {
    font-weight: normal;
}

/* No Results */
.results-page p {
    line-height: 1.4;
    margin-bottom: 10px;
}


/**
 * @section DETAIL
*/
.gallery-detail #main {
    position: relative;
}

.gallery-detail .headers-container {
    margin-right: 165px;
}

.detail {
    clear: both;
    float: left;
    padding: 0 10px 13px;
    width: 610px;
}

/* Media */
.detail-media {
    float: left;
    margin-right: 15px;
    overflow: hidden;
    text-align: center;
    width: 340px;
}
.detail-media .try-dress {
    width : 222px;
}

/* Info */
.detail-info {
    float: left;
    font: 11px Arial, Helvetica, sans-serif;
    width: 255px;
}   /* override in ie.css */

.detail-info h2.content-headline {
    font-size: 11px;
    margin-bottom: 1px;
    text-transform: uppercase;
}

.detail-info .summary {
    margin-bottom: 9px;
}

.detail-info .summary strong {
    font-weight: normal;
}

.detail-info .text {
    font: 12px Georgia, serif;
    margin-bottom: 11px;
}

.detail-info .text p {
    margin-bottom: 10px;
}

/* vendor info */
.detail-info .vendor-links .main a {
    background: url(/css/i/gallery/gallery-sprite.png) no-repeat 0 -22px;
    display: block;
    margin-bottom: 7px;
    overflow: hidden;
    text-indent: -9999px;
    width: 95px;
    height: 21px;
}

.detail-info .vendor-links .main a:hover {
    background-position: -105px -22px;
}

.detail-info .vendor-links .other li {
    margin-bottom: 4px;
}

.detail-info .vendor-links .other a {
    color: #444;
    text-decoration: underline;
}

.detail-info .vendor-links .other a:hover {
    text-decoration: none;
}

/* local links */
.detail-info .local-links {
    background: #f6f5f4;
    border: 1px solid #fff;
    margin-bottom: 9px;
    outline: 1px solid #e0e0e0;
    padding: 3px 10px;
}   /* overrides in ie.css */

.detail-info .local-links h3 {
    color: #59ad3c;
    font-size: 10px;
    letter-spacing: .5px;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.detail-info .local-links p {
    margin-bottom: 2px;
}

.detail-info .local-links p strong {
    font-weight: normal;
}

.detail-info .local-links li {
    font-weight: bold;
    text-transform: lowercase;
}

.detail-info .local-links li a:after {
    content: " \203a\203a";
}

/* link to full content */
.detail-info .content-link {
    font-weight: bold;
    text-transform: lowercase;
}

/* facet list */
.detail-info .facets {
    border-top: 1px dotted #999;
    margin-top: 8px;
    padding-top: 8px;
}

.detail-info .facets h3 {
    font-size: 11px;
    margin-bottom: 7px;
    text-transform: uppercase;
}

.detail-info .facets li {
    margin-bottom: 3px;
}

.detail-info .facets li strong {
    font-weight: normal;
    text-transform: capitalize;
}

.detail-info .facets li a {
    text-transform: capitalize;
}

/* photo credits */
.detail-info .photo-credits {
    border-top: 1px dotted #999;
    display: block;
    margin-top: 8px;
    padding-top: 8px;
}

/* Ad */
.content-container .detail-ad {
    border: 1px solid #e0e0e0;
    border-width: 1px 0;
    clear: both;
    display: none;
    padding: 10px;
    text-align: center;
}

.content-container .detail-ad .displayAd{
    width:300px;
    margin:0 auto;
}

.content-container.show-ad .detail-ad {
   display: block;
}

.show-ad .gallery-tabs,
.show-ad .gallery-pagination,
.show-ad .detail {
    display: none;
}

.detail-ad table {
    margin: 0 auto;
}

.detail-ad .continue {
    margin: 10px 0;
}

.detail-ad .continue a {
    border: 1px solid #e0e0e0;
    font: bold 10px Arial, Helvetica, sans-serif;
    padding: 3px;
    text-transform: uppercase;
}

.detail-ad .continue a:hover {
    background: #f6f5f4;
    text-decoration: none;
}


}

