

.boxes_obr {
    float: left;
    width: 100%;
    margin-top: 0px;
    text-align: center;
}
.boxes_obr img{
    vertical-align: middle;
}
.boxes_obr a {
    float: left;
    width: 100%;
    transition: all .3s ease;
    text-transform: uppercase;
    color: #000;
	text-decoration: none;

    
}
.boxes_obr a span {
	background: #eee;
	overflow:hidden;
	border-radius: 50%;
    width: 140px;
    height: 140px;
    position: relative;
    display: inline-block;
    margin-bottom: 0px;
    transition: transform .5s, background .5s
}
.boxes_obr a span.border { 
	border:3px solid #8e2755;
}
.boxes_obr a:hover span.border {
	border:3px solid #006666;
}

.boxes_obr a h4 {
    font-size:1em;
}
.boxes_obr a span img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto
}

.boxes_obr a:hover {
    text-decoration: none
}
.boxes_obr a:hover span {

	background: #0071bc;
	transform: rotateY(180deg)

}


.container {
    padding-right: 5%;
    padding-left: 5%;
    margin-right: auto;
    margin-left: auto;
	display:inline-block;
	
}
.boxes_obr .kafelek{
	float: left;
	position: static;
	width: 33%;
	margin:15px 0px;
	
}

.boxes_obr .mid{
width: 100%;
}
.kafelek h4{
    color: #555;
	line-height:1em;
}


.boxes_kafelki .kafelek3{
	position: relative;
	text-align: center;
	float:left;
	color: white;
	width:31%;
	min-width:150px;
	margin:1%;
	overflow:hidden;
	border:1px solid #e77919;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}
.boxes_kafelki .kafelek3:hover{
	border:1px solid #fff;
}


.boxes_kafelki .kafelek3 img{
	width:100%;
	margin-bottom:-7px;
	padding:0px;
}


.etykieta {
	width:100%;
	position: absolute;
	margin-bottom:-60px;
	min-height:110px;
	bottom: 0px;
	left: 0px;
	background:  rgba(0, 0, 0, 0.3);
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
	opacity:0.5;
}
.etykieta h3 {
color:white;
}
.etykieta p {
color:#ccc;
}
.kafelek3:hover .etykieta {
	margin-bottom:0px;
	background:  rgba(0, 0, 0, 0.8);
	opacity:1;
}

@media only screen and (max-width: 767px) {
  
	.boxes_obr .kafelek{
		width: 40%;
	}
	.boxes_kafelki .kafelek3{
		width: 48%;
	}		
}
@media only screen and (max-width: 500px) {
   
	.boxes_obr .kafelek{
	width: 100%;
	}
	.boxes_kafelki .kafelek3{
		width: 98%;
	}
}
@media (min-width: 992px) {
    
}
@media (min-width: 1200px) {
    
}