﻿body, h1, h2, h3, h4, h5, h6 {
	font-family: "Raleway", sans-serif;
	font-size: 1.25em;
	-webkit-font-smoothing: antialiased !important;
	-webkit-backface-visibility: hidden !important;
}

body, html {
	height: 100%;
	color: #777;
	line-height: 1.8;
}

/* Create a Parallax Effect */
.bgimg-1, .bgimg-2, .bgimg-3, .bgimg-4 {
	opacity: 1;
	background-size: cover;
}

/* First image (Full height) */
.bgimg-1 {
	background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAGElEQVQIW2NkYGD4D8SMMBrEQAFwGZwqAKzeBAUqvbkLAAAAAElFTkSuQmCC') repeat, url('images/image-3.jpg') no-repeat fixed bottom;
	min-height: calc(100% - 102px);
}

.bgimg-2 {
	background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAGElEQVQIW2NkYGD4D8SMMBrEQAFwGZwqAKzeBAUqvbkLAAAAAElFTkSuQmCC') repeat, url('images/image-1.jpg') no-repeat fixed bottom;
	min-height: 400px;
}

.bgimg-3 {
	background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAGElEQVQIW2NkYGD4D8SMMBrEQAFwGZwqAKzeBAUqvbkLAAAAAElFTkSuQmCC') repeat, url('images/image-6.jpg') no-repeat fixed bottom;
	min-height: 400px;
}

.bgimg-4 {
	background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAGElEQVQIW2NkYGD4D8SMMBrEQAFwGZwqAKzeBAUqvbkLAAAAAElFTkSuQmCC') repeat, url('images/image-7.jpg') no-repeat fixed bottom;
	min-height: 400px;
}

.w3-hover-opacity {
	cursor: pointer;
}

.w3-btn {
	box-shadow: none !important;
	min-width: 47px;
}

#logo {
	height: 70px;
}

#back-to-top {
	position: fixed;
	bottom: 10px;
	right: 10px;
	z-index: 9999;
	width: 36px;
	height: 36px;
	text-align: center;
	line-height: 30px;
	background: #c0c0c0;
	color: #444;
	cursor: pointer;
	border: 0;
	/*border-radius: 2px;*/
	text-decoration: none;
	transition: opacity 0.2s ease-out;
	opacity: 0;
}

	#back-to-top:hover {
		background: #e9ebec;
	}

	#back-to-top.show {
		opacity: 1;
	}

.nowrap {
	white-space: nowrap;
}

@media screen and (max-width:600px) {
	#logo {
		height: 40px;
	}

	.bgimg-1 {
		min-height: calc(100% - 72px);
	}

	.w3-btn {
		padding: 3px 10px;
	}
}

/* Turn off parallax scrolling for tablets and mobiles */
@media only screen and (max-width: 1024px) {
	.bgimg-1 {
		background-attachment: scroll;
		background-position: 50% 90%;
		min-height: calc(100% - 72px);
	}

	.bgimg-2, .bgimg-3, .bgimg-4 {
		background-attachment: scroll;
		background-position: 50% 65%;
		min-height: 300px;
	}
}
