/* CSS Document */
.galerie-entry{
    border-top: 1px solid #333333;
    margin-top: 20px;
    padding-top: 25px;
}
.galerie-entry:first-child{
    border: none;
    margin-top: 0;
    padding-top: 0;
}

.galerie-images{
    margin-left: -10px;
    margin-right: -10px;
}
.galerie-images .bild_entry {
    width: 33.3333333%;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 20px;
    float: left;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    /* max-height: 151px; */
    /* overflow: hidden; */
    /* border: 1px solid #CCC; */
    /* border-top: 1px solid #ccc; */
    /* height: 130px; */
    /* background-color: #efefef; */
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.galerie-images .bild_entry img {
    max-width: 100%;
    max-height: 100%;
    border: 1px solid #ccc;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.galerie-images .bild_entry a {
    padding: 10px;
    /* padding-right: 10px; */
    float: left;
    display: block;
    border: 1px solid #ccc;
    /* max-height: 117px; */
    /* overflow: hidden; */
    height: 141px;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    text-align: center;
    background-color: #efefef;
}



/**************************************************************************************************
 * 
 * #Media Queries
 * 
 *************************************************************************************************/
/**************************************************************************************************
 * Browser normal
 * 
 * Greater than 959 ()
 *************************************************************************************************/
@media only screen and (min-width: 960px) {
	
}



/**************************************************************************************************
 * Browser schmal
 * Smartphone Landscape
 * Smartphone Portrait
 * 
 * Smaller than standard 960 (devices and browsers)
 *************************************************************************************************/
@media only screen and (max-width: 959px) {
    #bildergalerie .bild_entry{
        height: 114px;
    }
}



/**************************************************************************************************
 * Browser schmal
 * 
 * Tablet Portrait size to standard 960 (devices and browsers)
 *************************************************************************************************/
@media only screen and (min-width: 768px) and (max-width: 959px) {
}



/**************************************************************************************************
 * Smartphone Landscape
 * Smartphone Portrait
 * 
 * All Mobile Sizes (devices and browser)
 *************************************************************************************************/
@media only screen and (max-width: 767px) {
	#bildergalerie .bild_entry.every_4
	{
		margin-right: 0;
	}
	#bildergalerie .bild_entry.every_4_after
	{
		clear: left
	}
    #bildergalerie .bild_entry{
        height: auto;
    }

    .bildergalerie_wrapper > div.bild_entry{
        display: none;
    }
    .bildergalerie_wrapper>div:first-child{
        display: block;
    }
    .detail .bildergalerie_wrapper > div.bild_entry{
        display: block;
    }
    .detail .image-add p{
        text-align: left;
        margin-top: 10px;
    }

}



/**************************************************************************************************
 * Smartphone Landscape
 * 
 * Mobile Landscape Size to Tablet Portrait (devices and browsers)
 *************************************************************************************************/
@media only screen and (min-width: 480px) and (max-width: 767px) {

}



/**************************************************************************************************
 * Smartphone Portrait
 * 
 * Mobile Portrait Size to Mobile Landscape Size (devices and browsers)
 *************************************************************************************************/
@media only screen and (max-width: 479px) {
    #bildergalerie .bild_entry{
        height: auto;
    }
}
