.modal {
    display: none; 
    position: fixed;
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.4); 
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto; 
    padding: 20px;
    border: 1px solid #888;
    width: 80%; 
    max-width: 600px; 
    position: relative;
}

.closeB, .fullscreenB {
    float: right;
    width: 44px;
    height: 44px;
}
.closeB path, .fullscreenB path {
    stroke: black;
    stroke-width:2;
    fill:none;
}

.closeB:hover,
.closeB:focus,
.fullscreenB:hover,
.fullscreenB:focus {
    text-decoration: none;
    cursor: pointer;
}

.modal-content img {
    width: 100%;
    height: auto;
}

.fullscreen-modal {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    background-color: rgba(0,0,0,0.6);
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 0;
    border-radius: 0 3px 3px 0;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
    color: white;
}

.modal-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.modal-caption {
    font-size: 16px;
    color: #555;
}
		
.gallery_image {
	padding: 8px;
}
		
.gallery_image .img-info{
	position: absolute;
    background: rgba(0,0,0,0.5);
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px;
	overflow:hidden;
	color:#fff;
	top:0;
	display:none;
    -webkit-transition: 2s;
    transition: 2s;
	cursor: pointer;
}

.gallery_image:hover .img-info{
	display:block;
   -webkit-transition: 2s;
    transition: 2s;
}

@media (max-width: 600px) {
    .img-info {
        display:block !important;
        -webkit-transition: 2s;
        transition: 2s;
    }
    .col-xs-6 {
        width: 100%;
        margin-bottom: 12px;
    }
}