html {
    min-height: 100%;
    position: relative;
}

body {
    font-family: 'Nunito';
    font-weight: 200;
    letter-spacing: 0.02em;
    overflow-x: hidden;
    background-image: url('images/bg_dark.jpg');
	background-size: cover;
	background-position: 50% 50%;
}

img {
    max-width: 100%;
}

.logo {
    position: static;
    width: 500px;
    max-width: 100%;
    margin: 0px auto 20px auto;
    z-index: 100;
    padding: 25px;
    background: rgba(255, 255, 255, 0.75);
    overflow: hidden;
	position: relative;
}

.logo .logo-el {
    background-repeat: no-repeat;
    height: 140px;
    width: 140px;
	position: relative;
}

.logo .heart {
    float: right;
    background-image: url('images/heart_140.png');
    padding: 0 0 0 0;
}

.logo .heart:before {
	content: '';
	display: block;
	height: 100%;
	width: 2px;
	background: #055632;
	position: absolute;
	top: 0;
	bottom: 0;
	left: -40px;
}

.logo .font {
    float: left;
    width: 260px;
    background-image: url('images/hofer-tischlerei.png');
	background-size: 220px 115px;
	background-position:center center;
}

.bg {
    position: relative;
}

.bg img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.bg:before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.38);
}

/* message */

.msg {
    width: 1100px;
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
    padding: 40px 25px 40px 25px;
    color: #fff;
}

.msg a {
	color: #fff;
	text-decoration: underline;
}

.msg-body {
    padding: 10px 0 20px 0;
    font-size: 2.8rem;
    line-height: 2.8rem;
    text-transform: uppercase;
}

.intro-text {
    padding: 0 0 20px 0;
    font-size: 1.4rem;
    line-height: 1.8rem;
	max-width: 940px;
	margin: 0 auto;
}

/* gallery */

.gallery .slick-slide {
    height: auto;
}

.gallery {
    position: relative;
    width: 1700px;
    max-width: 100%;
    margin: 0 auto 200px auto;
    padding: 10px 100px;
    transition: opacity 0.4s linear;
	min-height: 230px;
}

.gallery:before {
    content: '';
    position: absolute;
    left: -1000px;
    right: -1000px;
    top: 0;
    bottom: 0;
    display: block;
    background: rgba(255, 255, 255, 0.65);
    z-index: 0;
}

.gallery .item {
    width: 20%;
    padding: 10px;
    float: left;
	opacity: 0;
	height: 0;
}

.gallery.load .item {
	height: auto;
	opacity: 1;
	transition: opacity 0.2s ease-in;
}

.gallery.load {
	min-height: 0;
}

.gallery .item a {
    outline: none;
}

.gallery .item img {
    width: 100%;
    max-width: 100%;
    height: auto;
    outline: none;
}

/* slick */

.gallery button {
    background: none;
    color: transparent;
    border: none;
    width: 40px;
    height: 40px;
    background-repeat: no-repeat;
    position: absolute;
    top: calc(50% - 20px);
    z-index: 1000;
    outline: none;
    cursor: pointer;
    font-size: 0;
}

.gallery li[role='presentation'] {
    display: none !important;
}

.gallery .slick-prev {
    left: 20px;
}

.gallery .slick-next {
    right: 20px;
}

.gallery button:before {
    content: '';
    display: block;
    position: absolute;
    top: 5px;
    left: 5px;
    width: 30px;
    height: 30px;
    background-image: url('icons/arrow.svg');
    background-repeat: no-repeat;
}

.gallery .slick-prev:before {
    transform: rotate(180deg);
}

.footer {
    position: static;
    color: #fff;
    max-width: 100%;
    margin: 0 auto;
    text-transform: uppercase;
    font-size: 1.1rem;
    line-height: 1.4em;
	overflow: hidden;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: flex-end;
	align-content: flex-end;
	flex-wrap: wrap;
}

.social-bar {
    text-align: left;
    padding: 20px 25px 15px 25px;
	float: left;
	flex: 1;
}

.social-icon-wrapper {
    background: #fff;
    width: 50px;
    height: 50px;
    position: relative;
    display: inline-block;
    margin: 10px 5px 0 5px;
    border-radius: 25px;
}

.social-icon {
    display: block;
    width: 100%;
    height: 100%;
}

.facebook,
.instagram {
    background-repeat: no-repeat;
}

.facebook {
    background-image: url('icons/facebook.svg');
}

.instagram {
    background-image: url('icons/instagram.svg');
}

.info {
    color: #fff;
    text-align: right;
	padding: 20px 25px;
	float: right;
	flex: 1;
}

.info a {
    color: #fff;
    text-decoration: none;
}

/* check */
.facebook-wrapper {
    margin: 0 0 120px 4px;
    display: none !important;
}

.fb_iframe_widget {
    display: block !important;
    text-align: center;
    margin: 0 auto;
}

.facebook-wrapper h2 {
    color: #fff;
    padding: 15px 0;
    text-align: center;
    font-size: 1.6rem;
    line-height: 1.8rem;
    display: none;
}

.facebook-wrapper iframe {
    height: 500px !important;
    position: static !important;
}

.facebook-wrapper span {
    height: auto !important;
}

a.button-green {
	background: #055632;
    color: #fff;
    display: inline-block;
    padding: 5px 8px;
    border-radius: 0px;
    text-decoration: none;
	font-size: 0.88em;
}

@media screen and (max-width: 800px) {
    .footer {
		display: block;
		position: static;
        padding: 20px;
    }

    .footer .social-bar,
    .footer .info {
        position: static;
        text-align: center;
        padding: 20px;
        margin: 0;
        margin-right: 0;
        max-width: none;
		float: none;
    }

    .gallery {
        margin: 0 0 40px 0;
        padding: 15px 70px;
    }

    .gallery-item {
        padding: 0;
    }

	.intro-text {
		font-size: 1.3rem;
		line-height: 1.4em;
	}

	.msg {
		padding: 50px 15px 50px 15px;
	}
	
	/*
	.logo .font {
		background-image: url('images/hofer_280.png');
		background-size: 165px 165px;
		background-position: center left;
	}
	
	.logo .heart {
		background-image: url('images/heart_280.png');
		background-size: 140px 140px;
	}*/
}

@media screen and (max-width: 540px) {
    .logo {
        width: 260px;
        padding: 12px 15px;
    }

    .logo .logo-el {
        height: 90px;
    }
	
	.logo .font {
        width: 122px;
		height: 65px;
		/*background-image: url('images/hofer_180.png');*/
		background-size: 110px 110px;
		background-size: 100%;
		position: absolute;
		left: 15px;
		top: 50%;
		transform: translateY(-50%);
		-webkit-transform: translateY(-50%);
		-ms-transform: translateY(-50%);
		-moz-transform: translateY(-50%);
		-o-transform: translateY(-50%);			
    }
	
    .logo .heart {
        background-image: url('images/heart_180.png');
		background-size: 90px 90px;
        width: 90px;
    }
	
	.logo .heart:before {
		width: 1px;
		left: -10px;
	}	
}

@media screen and (max-width: 480px) {
    .msg-body {
        font-size: 2.4rem;
        line-height: 2.7rem;
    }
}