/* !inline gallery - list view */
.inline-gallery {
    height: 75vw;
    position: relative;
    overflow: hidden;
    background: #ddd url("../images/image-placeholder.png") no-repeat center center;
    background-size: 100% 100%;
    width: 100%;
    min-width: 100%;
}

.inline-gallery img {
    width: 100%;
    height: auto;
    vertical-align: top;
}

.static-location-map {
    position: relative;
    z-index: 3;
}

.cs_detail .inline-gallery {
    width: 100vw;
    min-width: 100vw;
}

.cs_detail .full-width-img {
    width: 100vw;
    height: 75vw;
}

/* nearby bookable sites on a free listing */
.cs_detail .search-card-link .inline-gallery {
    width: 100%;
    min-width: 100%;
}
.cs_detail .search-card-link .full-width-img {
    width: 100%;
    height: auto;
}

.carousel {
    width:100%;
    height:100%;
    background: #ddd;
}

#swipeview-slider span {
    -webkit-box-sizing:border-box;
    display:block;
}

#swipeview-slider > div {
    position: relative;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-box-pack: start;
    -webkit-box-align: start;
    overflow: hidden;
    background: #ddd url("../images/image-placeholder.png") no-repeat center center;
    background-size: 100% 100%;
}

.carousel-content {
    width:100%;
}

.carousel-content:before {
    content: attr(data-loading-msg);
    position: absolute;
    z-index:-1;
    bottom: 20%;
    text-align: center;
    width: 100%;
    left: 0;
    right: 0;
    font-size: .8em;
    color: #777;
    font-style: italic;
    padding-left: .5em;
}


/* inline gallery count */
.gallery-count {
    -webkit-font-smoothing: antialiased;
    bottom: 1px;
    color: white;
    font-weight: normal;
    line-height: 25px;
    position: absolute;
    right: 15px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    vertical-align: top;
    z-index: 2;
}

.gallery-count b, .gallery-count i {
    vertical-align: top;
    font-style: normal;
    line-height: 25px;
}

.gallery-count:hover, .gallery-count:active {
    color: white;
}

.gallery-count-text {
    vertical-align: top;
    line-height: 25px;
    display: inline-block !important;
    font-weight: normal;
}

.swipe-in-use .gallery-nav.next {
    transform: translate(200px,0);
    -webkit-transform: translate(200px,0);
}
.swipe-in-use .gallery-nav.prev {
    transform: translate(-200px,0);
    -webkit-transform: translate(-200px,0);
}

/* !inline gallery controls */
.gallery-nav {
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    -webkit-transition: -webkit-transform 500ms ease-in;
    border-radius: 10px;
    color:white;
    display:block;
    height: 60px;
    margin: 1em;
    position: absolute;
    top:41%;
    transition: transform 500ms ease-in;
    visibility:hidden;
    width: 30px;
    z-index: 2;
    opacity:0.7;
}
.loaded .gallery-nav {
    visibility: visible;
}
.gallery-nav.next {
    right: .35em;
    margin-right: 0;
    text-align:right;
}
.gallery-nav.prev {
    left: .35em;
    margin-left: 0;
    text-align:left;
}
.gallery-nav.next:active {
    right: .15em;
}
.gallery-nav.prev:active {
    left: .15em;
}
.gallery-nav:active {
    background-color: black;
    opacity: 1;
}

.inline-gallery .chevron-icon {
    height:40px;
    left: auto;
    position: relative;
    right:0;
    top: 10px;
    width:25px;
}
.chevron-icon.left {
    left: 0;
    right:auto;
}

.cardview .gallery-nav {
    top:35%;
}
