.slider-strona{
	max-width: 970px;
	margin: 0 auto;
	}
.slider-g{
	width: 100%;
	height: 400px;
	position: relative;
	text-align: center;
	float: left;
	}


.foto1{
	position: relative;
	width: 66%;
	height: 100%;
	float: left;
	border: 1px solid silver; 
	border-radius: 3px;
	box-shadow: 1px 1px 3px silver; 
	/*background-size: contain; */
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-clip: padding-box;
	font-size: 30px;
}

.foto{
	width: 32%;
	height: 48.5%;
	position: relative;
	margin-left: 10px;
	margin-bottom: 10px;
	float: left;
	border: 1px solid silver; 
	border-radius: 3px;
	box-shadow: 1px 1px 3px silver; 
	/*background-size: contain;     w pionie 100%*/
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-clip: padding-box;
	font-size: 15px;
}
.link-g{
	position: absolute;
	z-index: 1000;
	bottom: 5%;
	text-align: left;
	font-size: 46px;
	color: white;
	font-weight: 900;
	text-shadow: 2px 2px 8px #000000;
	line-height: 50px;
	padding: 0px 10px 0px 10px;
}
.link-g h2{
	font-size: 20px;
}
.link-g a{
	text-decoration: none;
}

@media all and (max-width:977px) {
	.slider-g{
	height: 100%;
	}
	
	.foto1{
	width: 100%;
	height: 400px;
	margin-bottom: 10px;
	}

	.foto{
	width: 100%;
	height: 400px;
	margin-left: 0px;
	}
	.link-g{
	font-size: 25px;
	}
	.link-g h2{
	font-size: 25px;
	}
}

.text-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    height: 100%;
    width: 100%;
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 33%, rgba(0, 0, 0, 0.65) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0, 0, 0, 0)), color-stop(33%, rgba(0, 0, 0, 0)), color-stop(100%, rgba(0, 0, 0, 0.65)));
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 33%, rgba(0, 0, 0, 0.65) 100%);
    background: -o-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 33%, rgba(0, 0, 0, 0.65) 100%);
    background: -ms-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 33%, rgba(0, 0, 0, 0.65) 100%);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 33%, rgba(0, 0, 0, 0.65) 100%);
}

