/*
Theme Name: Bigler Gartenbau
Theme URI: https://portfolio.bigler-gartenbau.ch
Author: Philippe Zumofen
Author URI: https://portfolio.philippezumofen.ch
Description: One-Pager mit wechselndem Hintegrund
Version: 1.0
*/

/*----------------------------------------------------------------

Schriften einbinden

-----------------------------------------------------------------*/

@font-face {
    font-family: ink;
    src: url(img/LithosProBlack.otf);
}

@font-face {
    font-family: kinamay;
    src: url(img/LithosProRegular.otf);
}

@font-face {
    font-family: bbold;
    src: url(img/LithosProBold.otf);
}


/*----------------------------------------------------------------

Druckansicht/Lesemodus optimieren

-----------------------------------------------------------------*/

@media print {

    .background1,
    .background2,
    .background3,
    .background4,
    .background5,
    .background6,
    .background7,
    .justified-gallery,
    .rc-anchor {
        visibility: hidden !important;
        display: none !important;
    }

    html,
    body {
        overflow: visible;
    }

    .papyrus {
        border: none;
        visibility: hidden;
        display: none;
    }


}

/*----------------------------------------------------------------

Normalisieren

-----------------------------------------------------------------*/

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-weight: normal;
    font-family: Calibri, Helvetica, sans-serif;
    text-decoration: none;
    color: rgb(40, 40, 40);
    text-shadow: 0px 0px 10px white;
    font-size: 17px;
}

*:focus, *:active, *::-moz-focus-inner {
border: none;
}

/*----------------------------------------------------------------

Äusserste Boxen

-----------------------------------------------------------------*/

html {
    background-color: white;
}

html,
body {
    width: 100%;
    margin: 0 auto;
}

body {
    padding-left: calc(50% - 300px);
    padding-right: calc(50% - 300px);
}

.papyrus {
    background-image: url(img/papyrus3.jpg);
    background-size: 100% 100%;
    height: 110vh;
    max-width: 800px;
    width: 90%;
    position: fixed;
    left: 50%;
	transform: translateX(-50%);
    margin-top: -2px;
    border: 2px solid #375b3b;
    z-index: -1;
}


main {
    position: relative;
    height: auto;
    padding-bottom: 100px;
    box-sizing: content-box;
    width: 100%;
}

/*----------------------------------------------------------------

Header

-----------------------------------------------------------------*/

.titelwrapper {
    overflow: hidden;
    display: block;
    position: relative;
    z-index: 2;
}

.logohome {
    width: 120px;
    height: auto;
    float: left;
    margin-top: 80px;
}

h1 {
    font-size: 60px;
    font-family: bbold, Calibri, Helvetica, sans-serif;
    color: #9a3302;
    margin-bottom: 5px;
    padding-top: 20px;
    margin-top: 50px;
    line-height: 1.1;
    display: block;
    float: right;
    width: calc(100% - 140px);
}


/*----------------------------------------------------------------

Navigation

-----------------------------------------------------------------*/

nav {
    margin-top: 20px;
    padding: 15px 0px 0px 0px;
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -ms-sticky;
    position: -o-sticky;
    position: sticky;
    top: -10px;
    z-index: 99;
    display: block;
}

nav ul {
	padding-top: 5px;
    border-bottom: 1px solid #1b5633;
    padding-bottom: 10px;
}

nav ul li {
    list-style-type: none;
    display: inline-block;
    border-right: 1px solid #1b5633;
    padding: 0 7px;
}

nav ul li:last-child {
    border-right: none;
}

nav ul li:first-child {
    padding-left: 0;
}

nav ul li a {
    text-decoration: none;
    font-size: 17px;
}

.navklein {
    background-image: url(img/papyrus3.jpg);
}

#navilogo {
    display: none;
}

.shownavbar {
    display: block !important;
}

.icon {
    display: none;
}

.active a {
    color: yellowgreen;
}


/*----------------------------------------------------------------

Text-Styles

-----------------------------------------------------------------*/

h2 {
    font-size: 40px;
    color: #375b3b;
    margin-bottom: 20px;
    padding-top: 100px;
    font-family: kinamay, Calibri, Helvetica, sans-serif;
}

h3 {
    font-size: 20px;
    color: #375b3b;
    margin-top: 50px;
    font-family: kinamay, Calibri, Helvetica, sans-serif;
    margin-bottom: 15px;
}

strong {
    font-weight: bold;
}

main ul {
    margin-top: 7.5px;
}

main li {
    list-style-position: inside;
    list-style-type: square;
}


/*----------------------------------------------------------------

Einzelbilder & Gallerien

-----------------------------------------------------------------*/

.alignnone {
    width: 100% !important;
    display: block;
    margin-top: 30px;
    margin-bottom: 5px;
    height: auto;
}

.alignnone img {
    width: 100%;
    height: auto;
}

.justified-gallery {
    margin-top: 20px;
}

.justified-gallery img {
    border-radius: 2px;
    box-shadow: 10px 10px 5px #ccc;
    -moz-box-shadow: 10px 10px 5px #ccc;
    -webkit-box-shadow: 10px 10px 5px #ccc;
    -khtml-box-shadow: 10px 10px 5px #ccc;
}

/*----------------------------------------------------------------

Formular

-----------------------------------------------------------------*/

.wpcf7-form {
    margin-bottom: 20px;
    padding: 0;
}

.wpcf7-form p {
    margin-top: 10px;
}

.wpcf7-form p label,
.wpcf7-form p label span,
.wpcf7-form p label input,
.wpcf7-form p label textarea {
    width: 100%;
}


.wpcf7-submit {
    width: 100%;
    padding: 5px;
}

.wpcf7-form .wpcf7-response-output {
    border: none;
    margin: 0;
    margin-bottom: 10px;
    background-color: yellow;
}

.wpcf7-form p label input,
.wpcf7-form p label textarea {
    padding: 2.5px;
}


/*----------------------------------------------------------------

Karte

-----------------------------------------------------------------*/

#wpgmza_map {
    border: 1px solid black;
}

/*----------------------------------------------------------------

Hintergründe

-----------------------------------------------------------------*/

.hintergrund {
    display: none;
    visibility: hidden;
}


.background1 {
    position: fixed;
    z-index: -3;
    background-image: url(img/hintergrund_1.jpg);
    background-size: cover;
    height: 100vh;
    width: 102%;
    display: block;
    visibility: visible;
    left: 50%;
    transform: translateX(-51%);
    -webkit-transform: translateX(-51%);
    max-width: 2560px;
}

.background2 {
    position: fixed;
    z-index: -4;
    background-image: url(img/hintergrund_2.jpg);
    background-size: cover;
    height: 100vh;
    width: 102%;
    display: block;
    visibility: visible;
    left: 50%;
    transform: translateX(-51%);
    -webkit-transform: translateX(-51%);
    max-width: 2560px;
}

.background3 {
    position: fixed;
    z-index: -5;
    background-image: url(img/hintergrund_3.jpg);
    background-size: cover;
    height: 100vh;
    width: 102%;
    display: block;
    visibility: visible;
    left: 50%;
    transform: translateX(-51%);
    -webkit-transform: translateX(-51%);
    max-width: 2560px;
}

.background4 {
    position: fixed;
    z-index: -6;
    background-image: url(img/hintergrund_4.jpg);
    background-size: cover;
    height: 100vh;
    width: 102%;
    display: block;
    visibility: visible;
    left: 50%;
    transform: translateX(-51%);
    -webkit-transform: translateX(-51%);
    max-width: 2560px;
}

.background5 {
    position: fixed;
    z-index: -7;
    background-image: url(img/hintergrund_5.jpg);
    background-size: cover;
    height: 100vh;
    width: 102%;
    display: block;
    visibility: visible;
    left: 50%;
    transform: translateX(-51%);
    -webkit-transform: translateX(-51%);
    max-width: 2560px;
}

.background6 {
    position: fixed;
    z-index: -8;
    background-image: url(img/hintergrund_6.jpg);
    background-size: cover;
    height: 100vh;
    width: 102%;
    display: block;
    visibility: visible;
    left: 50%;
    transform: translateX(-51%);
    -webkit-transform: translateX(-51%);
    max-width: 2560px;
}

.background7 {
    position: fixed;
    z-index: -9;
    background-image: url(img/hintergrund_7.jpg);
    background-size: cover;
    height: 100vh;
    width: 102%;
    display: block;
    visibility: visible;
    left: 50%;
    transform: translateX(-51%);
    -webkit-transform: translateX(-51%);
    max-width: 2560px;
}

	.background1, .background2, .background3, .background4, .background5, .background6, .background7{
		
		margin-left: 1%;
		
		
	}
	


/*----------------------------------------------------------------

<1300px => nur noch ein Hintergrund

-----------------------------------------------------------------*/

@media screen and (max-width: 1200px) {

    .hintergrund {
        background-image: url(img/hintergrund_1.jpg) !important;
        background-position: center !important;
        background-size: cover !important;
        display: block !important;
        visibility: visible !important;
        position: fixed;
        height: 120vh;
        width: 100%;
        display: block;
        visibility: visible;
        left: 50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        z-index: -2;
    }

    .background1,
    .background2,
    .background3,
    .background4,
    .background5,
    .background6,
    .background7 {
        display: none !important;
        visibility: hidden !important;
    }


}

/*----------------------------------------------------------------

<1000px => Navigationsumschaltpunkt

-----------------------------------------------------------------*/

@media screen and (max-width: 1000px) {
    .papyrus {
        width: 75%;
    }

    body {
        padding-left: 20%;
        padding-right: 20%;
    }

    h1 {
        font-size: 40px;
        margin-bottom: 20px;
        margin-left: 5px;
    }

    .logohome {
        margin-top: 55px;
    }

    h2 {
        margin-top: 0;
        padding-top: 40px;
        font-size: 30px;
    }

    nav {
        transform: translatex(-120vw);
        position: fixed;
        padding-top: 0px;
        width: 75%;
        max-width: 500px;
        left: 0;
        padding-left: 20px;
        height: 120vh;
        background-size: cover;
        margin-left: 0;
        margin-top: 0;
        overflow-y: scroll;
        background-image: url(img/papyrus3.jpg);
		background-size: 100%;
    }

    nav ul {
        border: none;
        margin-top: 50px;
    }

    nav ul li {
        display: block;
        border: none;
        padding: 0;
        margin-bottom: 15px;
    }

    nav ul li a {
        font-size: 22px;
    }

    .icon {
        display: block;
        position: fixed;
        right: 20px;
        top: 15px;
        z-index: 999;
        text-decoration: none;
		background-color: white;
		padding: 2.5px 7.5px;
		border-radius: 5px;
    }

    .icon .fa {
        font-size: 40px;
        color: #375b3b;
        display: block;

    }

    #closebutton {
        display: none;
    }

}

/*----------------------------------------------------------------

<700px => Platzausschöpfungsoptimierungen

-----------------------------------------------------------------*/

@media screen and (max-width: 700px) {

    h1 {
        font-size: 40px;
    }

    .papyrus {
        width: 90%;
    }

    body {
        padding-left: 10%;
        padding-right: 10%;
    }

    nav {
        padding-left: 10%;
    }


    .icon {
        right: 10%;
        top: 15px;

    }
}

/*----------------------------------------------------------------

<500px => Platzausschöpfungsoptimierungen

-----------------------------------------------------------------*/

@media screen and (max-width: 500px) {

    h1 {
        width: 100%;
        display: block;
        margin-top: 0px;
        padding-top: 0;
    }

    .logo2 {
        width: 70px;
    }

    .logohome {
        margin-top: 20px;
        width: 100px;
    }


    .icon {
        right: calc(5% + 2px);
        top: 15px;

    }

}
