.parallax {
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: center;
}

.noparallax {
	background-attachment: scroll !important;
}

#header-slider {
	width: 100%;
	height: 50%;
	background-position: center;
	background-size: cover;
	display: flex;
	align-items: center;
	justify-content: center;
}

#header-slider hgroup {position: relative}

#header-slider hgroup span {
	display: block;
	width: 3px;
	height: 60px;
	background: white;
	position: absolute;
	margin: auto;
	left: 0;
	right: 0;
	bottom: -90px;
}

.wrap {
	width: 100%;
	position: relative;
	box-sizing: border-box;	
	padding: 100px 50px;
}

.iwrap {
	width: 100%;
	max-width: 1200px;
	position: relative;
	margin: 0 auto;
}
.text-iwrap {max-width: 900px}

.iwrap::after {
	content: "";
	clear: both;
	display: table;
}

.flexcenter {
	display: flex;
	align-items: center;
}

.flex {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.flex > div {box-sizing: border-box}

.flex50 > div {width: 50%}

.wrap-h2 {
	padding: 0 40px 0 100px;
	box-sizing: border-box;
}

.wrap-h2.iwrap {padding-right: 0}

.flex50 > div > figure {width: 100%}
.flex50 > div > figure img {
	display: block;
	width: 100%;
}

.flex33 > div {
	width: 33.3%;
	padding: 0 10px;
}

.flex33 img {
	width: 100%;
	display: block;
	margin-bottom: 20px;
}

.flex25 > div {width: 25%}

.flex50-50 > div {width: 50%}

.flex50-50-reverse {flex-direction: row-reverse}

.flex50-50-illustration {
	background-size: cover;
	background-position: center;
}

.flex50-50-text {padding: 100px 70px;}

.flex50-50-text > div {
	display: inline-block;
	box-sizing: border-box;
	width: 90%;
	max-width: 600px;
}

.flex50-50-text .wrap-h2 {padding-right: 0}

.flex .iflex60 {width: 60%}

.flex .iflex40 {width: 40%}

.fc-white, .fc-white h3 {color: white}
.fc-white h2::after {background-color: white}

.bc-silver {background-color: #F9F9F9}

.ta-left {text-align: left}
.ta-right {text-align: right}

strong {font-weight: 500}

h1 {
	font-family: 'Montserrat', sans-serif;
	font-size: 32px;
	line-height: 36px;
	font-weight: 600;
}

h2 {
	font-family: 'Montserrat', sans-serif;
	font-size: 42px;
	line-height: 42px;
	font-weight: 600;
	position: relative;
	margin-bottom: 50px;
}

h2::after {
	content: "";
	display: block;
	width: 80px;
	height: 3px;
	background: #B79946;
	position: absolute;
	top: 12px;
	left: -100px;
}

h3 {
	font-family: 'Libre Baskerville', serif;
	font-style: italic;
	color: #B79946;
	font-size: 22px;
	line-height: 22px;
	font-weight: 400;
	margin-bottom: 15px;
}

footer {
	width: 100%;
	position: relative;
	box-sizing: border-box;	
	padding: 40px 50px 50px;
	background: #1D1D1D;
}

#footer-logo {
	display: block;
	position: relative;
	margin: 0 auto;
	width: 80%;
	max-width: 340px;
}

footer .copyright {
	font-size: 12px;
	line-height: 12px;
	position: absolute;
	bottom: 20px;
	right: 0;
	left: 0;
	margin: auto;
}

footer .copyright a {color: white}

#scroll-top {
	position: fixed;
	z-index: 99;
	bottom: 50px;
	right: 50px;
	width: 40px;
	height: 40px;
	border: 1px solid #B79946;
	display: none;
	overflow: hidden;
}

#scroll-top img {
	position: absolute;
	display: block;
	width: 100%;
	left: 0;
	top: 0;
}

.box-link {
	font-family: 'Montserrat', sans-serif;
	display: inline-block;	
	font-weight: 600;
	font-size: 16px;
	padding: 10px 45px 8px;
	margin-top: 50px;
}
.box-link.box-link-transparent {
	background: rgba(191,153,70,0);
	outline: 2px solid #B79946;
}
.box-link.box-link-white {
	background: white;
	outline: 2px solid white;
}

.tel-link {cursor: default}


/*GRID: 1280px */
@media all and (max-width: 1280px) {
		
.wrap-h2 {padding: 0 30px 0 70px}	

h2 {
	font-size: 32px;
	line-height: 32px;
	margin-bottom: 30px;
}

h2::after {
	width: 60px;
	height: 3px;
	left: -70px;
}

footer {padding: 40px 50px 20px}

footer .social-menu {margin-bottom: 20px}

footer .copyright {
    position: relative;
    bottom: 0px;
	padding: 0 30px;
}

.box-link {margin-top: 30px}
	
}


/*GRID: 1024px */
@media all and (max-width: 1024px) {
	
#header-slider hgroup h1 {
	font-size: 28px;
	line-height: 28px;
}

#header-slider hgroup span {
    height: 40px;
    bottom: -60px;
}

.wrap {padding: 60px 50px}

.flex50 > div {
	width: 100%;
	padding: 0;
	margin-bottom: 50px;
}
.flex50 > div:last-of-type {margin-bottom: 0}

.flex25-wrap {padding-bottom: 0}

.flex25 > div {
	width: 50%;
	padding: 0 10px;
}

.flex50-50-reverse {flex-direction: row}

.flex50-50 > div {width: 100%}

.flex50-50-illustration {height: 400px}

.flex50-50-text {padding: 60px 50px}

.flex50-50-text > div {
	width: 100%;
	max-width: 100%;
}

.flex50 > div > figure img {
	width: 100%;
	max-width: 500px;
	margin: 0 auto;
}	

.flex .iflex60 {
	width: 100%;	
}

.flex .iflex40 {
	width: 100%;	
}

.wrap-h2 {padding: 0}

.ta-left, .ta-right {text-align: center}

h2::after {
	position: relative;
	left: 0;
	top: 0;
	margin-left: auto !important;
	margin-right: auto !important;
	margin-top: 15px;
	margin-bottom: 30px;
}

h3 {margin-bottom: 10px}

#scroll-top {
	bottom: 20px;
	right: 20px;
	width: 34px;
	height: 34px;
}

.box-link {margin-top: 30px}
	
}


/*GRID: 750px */
@media all and (max-width: 750px) {
	
#header-slider {padding: 0 20px}

#header-slider hgroup h1 {
	font-size: 22px;
	line-height: 26px;
}

#header-slider hgroup span {
    width: 2px;
    height: 30px;
    bottom: -40px;
}

.wrap {padding: 50px 20px}

.flex33 > div {
	width: 100%;
	padding: 0;
	margin-bottom: 40px;
}
.flex33 > div:last-of-type {margin-bottom: 0}

.flex50-50 > div {width: 100%}

.flex50-50-illustration {height: 300px}

.flex50-50-text {padding: 50px 20px}

h2 {
	font-size: 28px;
	line-height: 28px;
	margin-bottom: 0;
}

h2::after {
	width: 50px;
	height: 2px;
	margin-top: 10px;
    margin-bottom: 20px;
}

h3 {
	font-size: 18px;
	margin-bottom: 5px;
}

footer {padding: 40px 20px 20px}

#scroll-top {
	bottom: 15px;
	right: 15px;
	width: 28px;
	height: 28px;
}

#scroll-top img {top: 0 !important}

.box-link {
	font-size: 15px;
	padding: 8px 35px;
	margin-top: 30px;
	color: black !important;
}
.box-link.box-link-transparent {background: rgba(191,153,70,0) !important}
.box-link.box-link-white {background: white !important}

.black-to-gold {color: black !important}
.gold-to-black, #ebooki-paginacja a {color: #BF9946 !important}
.white-to-gold {color: white !important}
	
}


/*GRID: 500px */
@media all and (max-width:500px) {
	
#header-slider hgroup span {display: none}

.wrap {padding: 40px 15px}

.flex25 > div {
	width: 100%;
	padding: 0;
	margin-bottom: 0;
}
.flex25 > div:last-of-type {margin-bottom: 0}

.flex50-50-illustration {height: 250px}

.flex50-50-text {padding: 40px 15px}

.flex50 > div {margin-bottom: 30px}

.flex50 > div > figure img {max-width: 300px}

h2 {
	font-size: 24px;
	line-height: 24px;
}

h2::after {
	width: 40px;
	height: 2px;
	margin-top: 15px;
	margin-bottom: 20px;
}

h3 {font-size: 18px}

footer { padding: 30px 15px 20px }

#scroll-top {
	bottom: 10px;
	right: 10px;
	width: 24px;
	height: 24px;
}
	
}