/*----------------------------
	Thumbnails
-----------------------------*/

.touchgallery-thumbs.touchgallery-thumbs-simple-shadow {
    width: 95%;
    margin: 60px auto 35px;
    text-align: center;
    z-index: 0;
}

.touchgallery-thumbs.touchgallery-thumbs-simple-shadow a {
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-radius: 0;
    position: relative;
    text-decoration: none;
    overflow: visible;
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
    background-color: #fff;
}

.touchgallery-thumbs.touchgallery-thumbs-simple-shadow a:before,
.touchgallery-thumbs.touchgallery-thumbs-simple-shadow a:after {
    content: "";
    position: absolute;
    z-index: -1;
    -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    top: 0;
    bottom: 0;
    left: 10px;
    right: 10px;
    border-radius: 100px / 10px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.touchgallery-thumbs.touchgallery-thumbs-simple-shadow a:after {
    right: 10px;
    left: auto;
    -webkit-transform: skew(8deg) rotate(3deg);
    transform: skew(8deg) rotate(3deg);
}

.touchgallery-thumbs.touchgallery-thumbs-simple-shadow a .tg-thumbtitle-simple-shadow {
    display: none;
    /* FF3.6+ */
    /* Chrome,Safari4+ */
    /* Chrome10+,Safari5.1+ */
    /* Opera 11.10+ */
    /* IE10+ */
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.65)));
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%);
    /* W3C */
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#a6000000', GradientType=0);
    /* IE6-9 */
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, .4);
    font-size: 1.12em;
    z-index: 7;
    padding: 2em 6%;
    /*width: 92%;*/
    word-wrap: break-word;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
}

.touchgallery-thumbs.touchgallery-thumbs-simple-shadow a .tg-thumbtitle-simple-shadow {
    -webkit-transition: color 0.3s;
    transition: color 0.3s;
}

.touchgallery-thumbs.touchgallery-thumbs-simple-shadow a .tg-thumbtitle-simple-shadow:before {
    position: absolute;
    bottom: 15%;
    left: 50%;
    color: transparent;
    content: "•";
    text-shadow: 0 0 transparent;
    font-size: 1.2em;
    line-height: 0;
    -webkit-transition: text-shadow 0.3s, color 0.3s;
    transition: text-shadow 0.3s, color 0.3s;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    pointer-events: none;
}

.touchgallery-thumbs.touchgallery-thumbs-simple-shadow a:hover .tg-thumbtitle-simple-shadow:before,
.touchgallery-thumbs.touchgallery-thumbs-simple-shadow a:focus .tg-thumbtitle-simple-shadow:before {
    color: #fff;
    text-shadow: 10px 0 #fff, -10px 0 #fff;
}

.touchgallery-thumbs.touchgallery-thumbs-simple-shadow.tg-with-caption-simple-shadow a .tg-thumbtitle-simple-shadow {
    display: block;
}

