/*
OPCJONALEN ELEMENTY:
1. #slider-nav - punkty, dolna nawigacja 
2. #slider-arrows - strzałki, boczna nawigacja prev-next
3. #slider-down - strzałka scrolująca w dól
4. #slider hgroup
*/


#slider {
	position: relative;
	width: 100%;
	height: 100%;
	text-align: center;
	overflow: hidden;
}


#slider .slide {
	width: 100%;
	height: 100%;
	position: absolute;
	background-color: white;
	background-position: center;
	background-size: cover;
	display: flex;
	align-items: center;
}

#slider .slide.active {
	z-index: 4;
}

#slider .slide.next {
	z-index: 3;
}

#slider figure {
	position: absolute;
	display: flex;
	align-items: center;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 6;
}

#slider figure > div {
	width: 100%;
	box-sizing: border-box;
	padding: 20px;
	padding-bottom: 60px;
}

#slider figure img {
	display: block;
	position: relative;
	margin: 0 auto 35px;
	max-width: 600px;
	width: 80%;
}

#slider figure span {
	display: inline-block;
	font-family: 'Montserrat', sans-serif;
	color: white;
	font-size: 28px;
	line-height: 34px;
	font-weight: 500;	
	max-width: 700px;
	width: 80%;
}

#slider-arrows {
	position: absolute;
	z-index: 50;
	display: block;
	width: 100%;
	bottom: 40px;
}

#slider-arrows a {
	display: inline-block;
	width: 14px;
	height: 18px;
	background-size: 200%;
	background-position: left center
}
#slider-arrows a:first-of-type {background-image: url(../img/slider-arrows-prev.png)}
#slider-arrows a:last-of-type {background-image: url(../img/slider-arrows-next.png)}
#slider-arrows a:hover {background-position: right center}

#slider-arrows span {
	position: relative;
	display: inline-block;
	width: 1px;
	height: 40px;
	background: white;
	margin: 0 8px;
	top: 10px;
}

#social-logo {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 1;
}

#social-logo img {
    display: block;
    position: relative;
    max-width: 700px;
    width: 80%;
}


/* #Base 1280 Grid
================================================== */
@media only screen and (max-width: 1280px) {

#slider figure span {
	font-size: 24px;
	line-height: 30px;
}

}


/* #Base 1024 Grid
================================================== */
@media only screen and (max-width: 1024px) {

#slider-arrows {bottom: 20px}
	
}


/* #Base 750 Grid
================================================== */
@media only screen and (max-width: 750px) {
	
#slider figure img {margin-bottom: 20px}	
	
#slider figure span {
    font-size: 20px;
    line-height: 24px;
}	

#slider-arrows {bottom: 15px}

#slider-arrows a {
	width: 14px;
	height: 18px;
	background-position: left center !important;
}

#slider-arrows span {
	height: 30px;
	margin: 0 6px;
	top: 6px;
}
	
}


/* #Base 500 Grid
================================================== */
@media only screen and (max-width: 500px) {

#slider figure img {width: 90%}	
	
#slider figure span {
	width: 90%;
    font-size: 16px;
    line-height: 18px;
}	
	
}