body {
    font: 16px/1.5 'Open Sans', sans-serif;
    background-color: #000;
    color: #fff;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    margin: 20px 0;
}

.gallery-title {
	padding-top: 50px;
	padding-bottom: 50px;
}

.gallery-title h3 {
	color: #fff;
	font-size: 2em;
	margin: 0 0 10px;
}

.gallery-title span {
	font-size: .875em;
	color: rgba(255,255,255,.75);
}

.gallery-box {
	text-align: center;
}

.gallery-box p {
	font-size: .875em;
	color: rgba(255,255,255,.75);
	margin: 15px 0;
}

.gallery-box > div {
	display: inline-block;
	position: relative;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 25px;
	overflow: hidden;
}

.gallery-box div img {
	display: block;
	margin: 0 auto;
	width: auto;
    max-width: 100%;
}

.gallery-box div a {
	position: absolute;
	top: 10px;
	left: 10px;
	display: none;
	height: 40px;
	width: 40px;
	background-color: rgba(63, 103, 178, .5);
	color: rgba(255,255,255,0.75);
	font-size: 1.25em;
	line-height: 40px;
	text-align: center;
	z-index: 99;
    transition: background-color 0.125s ease-in-out 0s, color 0.125s ease-in-out 0s;
    -moz-transition: background-color 0.125s ease-in-out 0s, color 0.125s ease-in-out 0s;
    -webkit-transition: background-color 0.125s ease-in-out 0s, color 0.125s ease-in-out 0s;
    -o-transition: background-color 0.125s ease-in-out 0s, color 0.125s ease-in-out 0s;
    -ms-transition: background-color 0.125s ease-in-out 0s, color 0.125s ease-in-out 0s;
}

.gallery-box div a:hover {
	background-color: #4167b2;
	color: #fff;
}

.gallery-box div span {
	display: none;
	position: absolute;
	bottom: 10px;
	right: 10px;
	background-color: rgba(80,80,80,0.65);
	color: rgba(255,255,255,0.75);
	font-size: .7125em;
	padding: 5px 10px;
	color: #fff;
	z-index: 99;
}

.gallery-back {
	text-align: center;
	padding: 50px 0;
}

.gallery-back a {
	display: inline-block;
	height: 50px;
	line-height: 50px;
	padding: 0 20px;
    background: #019ee0;
    color: #fff;
	font-size: 1.125em;
	text-decoration: none;
}

.gallery-close {
	display: block;
	position: fixed;
	top: 10px;
	right: 10px;
	background-color: rgba(80,80,80,0.65);
	color: rgba(255,255,255,0.75);
	font-size: .875em;
	padding: 5px 10px;
	text-decoration: none;
	transition: background-color 0.125s ease-in-out 0s, color 0.125s ease-in-out 0s;
    -moz-transition: background-color 0.125s ease-in-out 0s, color 0.125s ease-in-out 0s;
    -webkit-transition: background-color 0.125s ease-in-out 0s, color 0.125s ease-in-out 0s;
    -o-transition: background-color 0.125s ease-in-out 0s, color 0.125s ease-in-out 0s;
    -ms-transition: background-color 0.125s ease-in-out 0s, color 0.125s ease-in-out 0s;
    z-index: 1;
}

.gallery-close:hover {
	background-color: #505050;
	color: #fff;
	text-decoration: none;
}

.gallery-close span {
	display: inline-block;
	margin-right: 5px;
}

.gallery-next,
.gallery-next:hover,
.gallery-next:focus {
	display: block;
	position: fixed;
	bottom: 10px;
	right: 10px;
	background-color: #019ee0;
	font-size: .875em;
	padding: 5px 10px;
	color: #fff;
	text-decoration: none;
	z-index: 100;
}

.gallery-next span {
	width: 40px;
    display: inline-block;
    overflow: hidden;
    font-size: 1em;
    vertical-align: -2px;
}

.gallery-next svg {
    animation: bounce 2s infinite;
    -webkit-animation: bounce 2s infinite;
    -moz-animation: bounce 2s infinite;
    -o-animation: bounce 2s infinite;
}

.gallery-rek {
	text-align: center;
}

@-webkit-keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
	    opacity: 1;
    }
    40% {
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px);
	    opacity: .25;
    }
    60% {
        -webkit-transform: translateY(-5px);
        transform: translateY(-5px);
	    opacity: .25;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
	    opacity: 1;
    }
    40% {
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px);
	    opacity: .25;
    }
    60% {
        -webkit-transform: translateY(-5px);
        transform: translateY(-5px);
	    opacity: .25;
    }
}

.rekB > div {
	margin-top: -275px;
}

.rekB > div span {
	bottom: auto !important;
    top: -10px !important;
    color: rgba(255,255,255,.75) !important;
}

.gallery-box-centerme-please {
	text-align: center;
	display: block !important;
	max-width: none !important;
}

@media only screen and (max-width : 1440px) {

	.rekB > div {
		margin-top: -225px;
	}
	
	.wstaw_baner {
		width: 170px !important;
	}

}

@media only screen and (max-width : 1370px) {

	.gallery-box div {
		max-width: 75%;
	}

}

@media only screen and (max-width : 1279px) {

	.gallery-box div {
		max-width: 90%;
	}
}

@media only screen and (max-width : 1199px) {

	.rekB {
		display: none;
	}

}

@media only screen and (max-width : 991px) {

	.container,
	.col-xs-12 {
		padding: 0;
	}

	.col-xs-12.gallery-back {
		padding: 50px 0;
	}

	.row {
		margin-left: 0;
		margin-right: 0;
	}

	.gallery-close,
	.gallery-next,
	.gallery-next:hover,
	.gallery-next:focus {
		font-size: 1.5em;
	}
	
	.gallery-close span {
		display: none;
	}
	
	.gallery-box.gallery-vertical div {
		max-width: 75%;
	}

	.gallery-next span {
		width: 50px;
		font-size: .65em;
	}

}

@media only screen and (max-width : 767px) {

	.gallery-title {
		padding-right: 10px;
		padding-left: 10px;
	}

}

@media (max-width: 767px) and (orientation:landscape) {

	.gallery-box div img {
		max-height: 300px;
	}

	
}