/* Gallery styling */

.photos {
    list-style-type: none;
    padding-left: 0;
}

.gallery .photos {
    
}

.photos li {
    float: left;
}

.ref {
	clear: both;
	margin-bottom: 0;
}

.photos img {
    border: 0;
    width: 5em;
    height: auto;
}

.photos a {
    margin-bottom: 1em;
    display: block;
    background: black;
    border: 1px solid #ccc;
    padding: 0.2em;
}

.photos a:hover {
   
    opacity: 0.4;
    -moz-opacity: 0.4;
    filter: alpha(opacity=40); /* nur fÃ¼r IE */
}

/* Single page styling */
.photo {
    text-align: center;
    margin-bottom: 1em;
}

.photo img {
    background: #fff;
    border: 1px solid #ccc;
    padding: 3px;
}

.caption {
    border-top: 1px dotted #b0b0b0;
    text-align: center;
    padding-top: 1em;
}

@media only screen and (min-width: 48em) {

.photos img {
    width: 100%;
}

}

// Frome style.css

/* Gallery styling */

.photos {
    list-style-type: none;
    padding-left: 0;
}

.gallery .photos {
    
}


.photos li:first-of-type {
	margin-left: 0em;
}

.photos li {
    float: left;
    margin-left: 0.2em;
}

.ref {
	clear: both;
	margin-bottom: 0;
}

.photos img {
    border: 0;
    width: 5em;
    height: auto;
}

.photos a {
    margin-bottom: 1em;
    display: block;
    background: black;
    border: 1px solid #ccc;
    padding: 0.2em;
}

.photos a:hover {
   
    opacity: 0.4;
    -moz-opacity: 0.4;
    filter: alpha(opacity=40); /* nur fÃ¼r IE */
}

/* Single page styling */
.photo {
    text-align: center;
    margin-bottom: 1em;
}

.photo img {
    background: #fff;
    border: 1px solid #ccc;
    padding: 3px;
}

.caption {
    border-top: 1px dotted #b0b0b0;
    text-align: center;
    padding-top: 1em;
}

@media only screen and (min-width: 48em) {

.photos img {
    width: 100%;
}

}

// From style.css

.galerie_links img {
	width: 16em;
}

.galerie_links p {
	margin-bottom: 0;
}
.galerie_links a {
	border: none;
}

.galerie_links a:hover {
	border: none;
}

div.caption {
	width: 14em;
	display: inline-block;
}

p.galerie_thumbs {
	display: inline-block;
}

.galerie_thumbs a {
	border: none;
}

.galerie_thumbs a:hover {
	border: none;
}

.galerie_thumbs img {
	max-width: 100%;
	max-height: 100%;
}