.content {
	display:table;
}

.content h2 {
    text-align: center;
    font-size:34px;
    text-transform: uppercase;
    padding: 20px;
}

.content .kategorie {
    width: 100%;
    position: relative;
    display: inline-block;
    border-bottom: 1px solid #000;
    margin: 20px 0;
    padding-bottom: 3px;
}

.content .kategorie p {
    float: left;
    font-size: 18px;
    font-weight: 600;
    display: block;
    margin-right: 40px;
}

.content .kategorie .kategoria {
    margin-right: 20px;
    display: block;
    float: left;
    font-size: 18px;
    color: black;
    transition: all 0.2s ease;
}

.content .kategorie .kategoria:hover {
    opacity: 0.6;
}

.content .box {
    color: #000;
    width: 396px;
    height: 396px;
    position: relative;
    display: block;
    float: left;
    margin-right: 5px;
    margin-top: 5px;
    background-size: cover;
    background-position: center;
}

.content .box:nth-child(3n + 2) {
	margin-right:0px;
}

.content .box.aodefense {
	background: url('../graph/ao-defense.jpg');
}

.content .box.purgeparasitis {
	background: url('../graph/parasit.jpg');
}

.content .box.ilads2019 {
	background: url('../graph/madrid.jpg');
}

.content .box.e8promo {
	background: url('../graph/vitamine8.jpg');
}

.content .box.rg3 {
	background: url('../graph/rg3.jpg');
}

.content .box.nsu2018 {
	background: url('../graph/konfa2018.jpg');
}

.content .box.ostatniemiejsca {
	background: url('../graph/novotel.jpg');
}

.content .box.bransten {
	background: url('../graph/bransten.jpg');
}

.content .box:after {
	content:"";
	display:block;
	position:absolute;
	bottom:0px;
	left:0px;
	width:100%;
	height:95px;
	background:rgba(0, 0, 0, 0.4);
	transition:all 0.6s ease;
}

.content .box:hover:after {
	background:rgba(0, 0, 0, 0.8);
	height:100%;
}

.content .box .description {
    position: relative;
	height:100%;
	padding:0 10%;
	transition:all 0.6s ease;
	z-index:10;
}

.content .box .description button {
	background:none;
	border:none;
	position:absolute;
	left:50%;
	top:5px;
	opacity:0;
	color:#fff;
	transform:translateX(-50%);
	transition:all 0.6s ease;
}

.content .box:hover .description button {
	opacity:1;
	transition:all 1s ease 1s;
}

.content .box .description button:hover {
	text-decoration:underline;
}

.content .box .description h3 {
	position:absolute;
	top:80%;
	left:10%;
	right:10%;
    font-size: 25px;
	color:#fff;
	display:inline-block;
	text-transform:uppercase;
	transition:all 0.6s ease;
}

.content .box .description h3:before {
    content:"";
	display:block;
	width:4px;
	height:61px;
	background:#fff;
	float:left;
	margin-right:20px;
}

.content .box .description p {
	position:absolute;
	bottom:8%;
	left:10%;
	right:10%;
	color:#fff;
    opacity:0;
	font-size:18px;
	transition:all 0.1s ease;
}

.content .box:hover .description h3 {
	top:50%;
}

.content .box:hover .description p {
	opacity:1;
	transition:all 0.6s ease 0.6s;
}

@media only screen and (max-width: 1199px) {
	body .content .box {
		width: 33.3333%;
		margin: 0;
		background-size: cover !important;
		background-position: center center !important;
		border: 1px solid #fff;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;		
	}
	body .content .box .description button {
		display: none !important;
	}
	body .content .box .description p {
		display: none !important;
	}
	body .content .box .description h3 {
		top: auto !important;
		bottom: 0 !important;
	}
	body .content .box .description h3 {
		font-size: 17px;
		left: 0;
		right: 0;
		width: 100%;
	}
	body .content .box .description {
		padding: 0 !important;
		height: auto;
		position: absolute;
		width: 100%;
		bottom: 0;
		left: 0;
		display: block;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;				
	}
    .content .box .description h3 {
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;			
		padding: 15px 15px 12px 15px;
		background: rgba(0,0,0,0.4);
	}
	.content .box .description h3:before {
		height: auto !important;
	}
	body .content .box:after {
		display: none !important;
	}
}

@media only screen and (max-width: 767px) {
    body .content .box {
		width: 50%;
		height: 250px;
	}
	body .content .box .description h3 {
		font-size: 15px;
	}
}