

.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-decoration: none;
	opacity:0.8;
    
}
.boxes_obr a:title {
    font-size:2em;
    
}

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

.boxes_obr a h4 {
    font-size:1em;
}
.boxes_obr a span img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
	-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_obr a:hover {
    text-decoration: none;
	opacity:1;
}
.boxes_obr a:hover span {
	/*background: #bd9540;*/
	
	transform: rotateY(180deg)
}

.boxes_obr a:hover span img.clearover{
	opacity:0;
	
}


.boxes_obr .container {
	width: 100%;
    margin:0 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;
}
@media only screen and (max-width: 767px) {
  
	.boxes_obr .kafelek{
	width: 40%;
	}	
}
@media only screen and (max-width: 500px) {
   
	.boxes_obr .kafelek{
	width: 100%;
	}
}
@media (min-width: 992px) {
    
}
@media (min-width: 1200px) {
    
}

.kafelek3{
	position: relative;
	text-align: center;
	float:left;
	color: white;
	width:25%;
	height:240px;
	padding:0px;
	margin:0px;
	overflow:hidden;
	border:1px solid #000;
	-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;
	background:red;
}
.kafelek3:hover{
	border:1px solid #0071bc;
}


.kafelek3 img{
	height:100%;
	vertical-align: middle;
	margin:0px;
	padding:0px;
}


.etykieta {
	color:white;
	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.6;
}
.etykieta h3 {
	color:white;
	-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;
}
.kafelek3:hover div.etykieta h3 {

}
.etykieta p {
color:#ccc;
}
.kafelek3:hover .etykieta {
	margin-bottom:0px;
	background:  rgba(0, 0, 0, 0.8);
	opacity:1;
}




.kafelek4{
	position: relative;
	text-align: center;
	float:left;
	color: white;
	width:24%;
	
	padding:0px;
	margin:0.5%;
	overflow:hidden;
	border:2px solid #803689;
	-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;
	background:red;
}
.kafelek4:hover{
	border:2px solid #172983;
}


.kafelek4 img{
	width:100%;
	vertical-align: middle;
	margin:0px;
	padding:0px;
}
.kafelek4:hover div.etykieta h3 {
}
.kafelek4:hover .etykieta {
	margin-bottom:0px;
	background:  rgba(0, 0, 0, 0.8);
	opacity:1;
}