/**
 * @version		0.3
 * @package		Responsive Simple Image Gallery
 * @author		Karolis Martinkus https://martinkus.eu/
 * @copyright	Copyright (c) 2016 Karolis Martinkus
 * @license		http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
 */
.rsig-gallery a:active, .rsig-gallery a:focus {outline:0}
.rsig-gallery{font-size: 0; text-align: center}
.rsig-item{display: inline-block; position: relative; vertical-align: middle}
.rsig-img{display: inline-block; max-width: 100%}

*, *:after, *:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
.rsig-gallery figure {
	overflow: hidden;
}

.rsig-gallery figure img {
	display: block;
}

.rsig-gallery figure figcaption {
	position: absolute;
	font-size: 16px;
	font-weight: 400;
	left: auto;
	width: 100%;
	height: 60px;
	bottom: -60px;
	padding: 20px;
	color: #ddd;
	background: #444;
	-webkit-font-smoothing: antialiased;
	-webkit-transition: bottom 0.2s ease;
	-moz-transition: bottom 0.2s ease-in-out;
	-ms-transition: bottom 0.2s ease-in-out;
	-o-transition: bottom 0.2s ease-in-out;
	transition: bottom 0.2s ease-in-out;
}

.rsig-gallery figure figcaption a {
	color: #fff;
}

.rsig-gallery figure figcaption a:hover {
	color: #ddd;
}

.rsig-gallery figure:hover figcaption {
	bottom: 0px;
}