@font-face {
    font-family: Muli;
    src: url('fonts/Muli-Light.otf');
}

@font-face {
    font-family: Lobster;
    src: url('fonts/Lobster_1.3.otf');
}

.clear:after {
    content:"";
    height:0;
    display:block;
    visibility: hidden;
    clear:both;
    float: none;
}

body {
    background-image: url('../../images/vegele-background.jpg');
    background-attachment: fixed;
    font-family: 'Muli';
    font-size:16px;
    color:#262427;
    -moz-hyphens: auto;
    -o-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

h1, h2, h3, h4, h5 {
    font-family: Lobster;
    color:#517d47;
}

h1 {
    font-size:33px;
    margin-bottom:65px
}

h3 {
    font-size:33px;
    margin:55px 0 65px 0;
}


a {
    color:#517d47;
    transition: 0.3s all ease-in-out;
    text-decoration:none;
}
a:hover {
    color:#262427;
}
footer,
.wrapper {
    width:1126px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    margin:20px auto;
}

header{
    height:133px;
    position: relative;
}
.logo {
    width:257px;
    height:272px;
    position:absolute;
    left:50%;
    margin-left:-125px;
    z-index:999;
    background-image: url('../../images/vegele-logo.png');
    background-size: contain;
    background-repeat: no-repeat;
}


.header {
    margin-top:140px;
    margin:auto;
}


.headerimage .headerimagewrapper img {
    display:block;
    max-width:100%;
    height:auto;
}
.headerimage {
    position: relative;
    box-shadow: 0 5px 35px 0px rgba(0,0,0,.2);
}

.headerimage .slogan {
    background:rgba(38,36,39,.9);
    width:426px;
    line-height:29px;
    font-size:20px;
    padding:18px;
    text-align:center;
    text-transform:uppercase;
    color:#fff;
    position: absolute;
    top:230px;
    left:50%;
    margin-left:-213px;
	box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.navigationbar {display:none;}
.navigation {
    width:970px;
    position:absolute;
    bottom:56px;
    margin-left:-485px;
    left:50%;
}

.navigation ul {
    margin:0;
    padding:0;
}

.navigation ul li {
    display:inline-block;
    font-size:18px;
}
.navigation ul li:nth-child(1),
.navigation ul li:nth-child(2),
.navigation ul li:nth-child(3) {
    float:left;
    margin-right:30px;
}
.navigation ul li:nth-child(4),
.navigation ul li:nth-child(5),
.navigation ul li:nth-child(6) {
    float:right;
    margin-left:30px;
}

.navigation ul li a {
    text-decoration:none;
    color:#262427;
}
.navigation ul li a:hover,
.navigation ul li.active a {
    color:#517d47;
}

.content {
    background:rgba(255,255,255,.65);
    padding:70px;
    line-height:1.7;
    box-shadow: 0 5px 35px 0px rgba(0,0,0,.2);
}
.content p {
    margin-bottom:30px;
}

.content p:last-child {
    margin-bottom:0;
}

footer .copyright {
    text-align:center;
    padding:50px 0;
}

.footercontent {
    padding:0 80px 30px 80px;
}
.footercontent a {
    color:#262427;
}
.footercontent a:hover {
    color:#517d47;
}

.footercontent h3 {
    font-family: Muli;
    font-size:16px;
    margin:0;
}

.footercontent .left,
.footercontent .right {
    width:50%;
    float:left;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    line-height:1.7;
}
.footercontent .right {
    padding-left:80px;
}

/* SPECIAL CLASSES */
.image100 img {width:100%;height:auto;display:block;}

/* SPEISEKARTE */
.imgtxt-column-left {
    margin-bottom:30px;
    width:100%;
}
.imgtxt-column-left:after {
    content: "";
    display:block;
    height:0;
    visibility: hidden;
    clear: both;
}
.imgtxt-column-left .imgtxt-column-left-image {
    width:11%;
    float:left;
    text-align:center;
}
.imgtxt-column-left .imgtxt-column-left-image img {
    display:block;
    width:100%;
    max-width:102px;
    height:auto;
    margin:auto;
}

.imgtxt-column-left .imgtxt-column-left-text {
    width:89%;
    float:left;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding-left:20px;
}
.imgtxt-column-left .imgtxt-column-left-text ul {
    margin:0;
    padding:0;
}
.imgtxt-column-left .imgtxt-column-left-text ul:after {
    content: "";
    display:block;
    clear:both;
    float:none;
    height:5px;
    visibility: hidden;
}
.imgtxt-column-left .imgtxt-column-left-text ul li {
    display:inline-block;
    float:left;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
.imgtxt-column-left .imgtxt-column-left-text ul li:nth-child(1) {
    width:70%;
}
.imgtxt-column-left .imgtxt-column-left-text ul li:nth-child(2) {
    width:10%;
    text-align:right;
}
.imgtxt-column-left .imgtxt-column-left-text ul li:nth-child(3) {
    width:20%;
    text-align:right;
}

/* News */

.news-pagination {
    text-align:center;
}
.news-pagination .inactive {
    color:#bbb;
}
.newsEntry {
    margin-bottom:25px;
    padding-bottom:25px;
    border-bottom:1px solid rgba(81, 125, 71,0.3);
}

.newsEntry.prio1 {
    background:rgba(81, 125, 71,0.3);
    padding:20px;
    border:1px solid #517d47;
    margin-bottom:45px;
}

.newsEntry h2.news {
    font-size:23px;
    margin:0 0 0 0;
}
.newsEntry .date-author {
    font-size:14px;
    color:#517d47;
}
.newsEntry .text {
    margin:15px 0 0;
}
.newsEntry .text p:last-of-type {
    margin:0;
}
.newsEntry .morelink {
    text-align:right;
}

/* GALERIE */
.gallery .imageEntry {
    float:left;
    width:25%;
    border:8px solid transparent;
    border-radius:20px;
    overflow:hidden;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
.gallery .imageEntry img {
    display:block;
    width:100%;
    height:auto;
}

/* FORMULAR */

.formIntro,
.formSuccess,
.formError {
    margin-bottom:35px;
}

.formSuccess {
    border:1px solid #517d47;
    color:#517d47;
    padding:10px;
}

.formError {
    border:1px solid red;
    color:red;
    padding:10px;
}

.form-field {
    margin-bottom:20px;
    width:100%;
}
.form-field .form-label {
    display:block;
    width:30%;
    float:left;
}
.form-field input[type="text"],
.form-field input[type="email"],
.form-field textarea {
    width:50%;
    font-family: Muli;
    font-size:15px;
    line-height:20px;
    padding:8px;
    border:1px solid #517d47;
    background:rgba(255,255,255,.2);
    box-sizing: border-box;
}
.form-field input[type="text"]:focus,
.form-field input[type="email"]:focus,
.form-field textarea:focus {
    background:rgba(255,255,255,1);
    border:1px solid #517d47;
}

.form-field input[type="text"],
.form-field input[type="email"] {
    height:45px;
}
.form-field textarea {
    height:100px;
    width:50%;
}

.form-field input[type="submit"] {
    border:1px solid #517d47;
    background:#517d47;
    color:#fff;
    padding:15px;
}

.form-field .mathspam {
    display:block;
    font-size:14px;
    font-style: italic;
    width:360px;
    margin-left:30%;
}

.form-type-submit {
    text-align:right;
}

@media screen and (max-width: 1200px) {
    .wrapper,footer {
        width:980px
    }
    header {
        height:100px;
    }

    .navigation {
        width:900px;
        margin-left:-450px;
        bottom:40px;
    }

    .logo {
        width:200px;
        height:215px;
        position:absolute;
        left:50%;
        margin-left:-100px;
    }

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

    .wrapper,footer {
        width:800px
    }

    .logo {
        width:150px;
        height:165px;
        left:50%;
        margin-left:-75px;

    }

    header {
        height:80px;
    }
    .navigation {
        width:750px;
        margin-left:-375px;
        bottom:30px;
    }


    .footercontent {

        padding:0;
    }

    .footercontent .left,
    .footercontent .right {
        padding:0;
        width:50%;
    }

    .headerimage .slogan {
        width:390px;
        line-height:29px;
        font-size:18px;
        padding:16px;
        top:50%;
        left:50%;
        margin-left:-195px;
        margin-top:-45px;
    }
    .form-field .form-label {
        display:block;
        width:30%;
        float:left;
    }
    .form-field input[type="text"],
    .form-field input[type="email"],
    .form-field textarea {
        width:70%;
    }

}
@media screen and (max-width: 850px) {
    .wrapper,footer {
        width:700px
    }

    .navigation {
        bottom:30px;
        width:100%;
        margin:0;
        left:0;
    }
    .navigation ul li {
        font-size:15px;
    }

    .logo {
        width:130px;
        height:155px;
        left:50%;
        margin-left:-65px;

    }
    .headerimage {
        max-width:100%;
    }

    .form-field .form-label {
        width:100%;
    }
    .form-field input[type="text"],
    .form-field input[type="email"],
    .form-field textarea {
        width:100%;
    }
    .form-field .mathspam {
        font-style: italic;
        margin-left:0;
    }
}
@media screen and (max-width: 767px) {
    .wrapper {
        max-width:95%;
        margin:20px auto;
    }
    footer {
        max-width:95%;
        margin:0px auto;
    }

    .content {

        padding:35px;

    }
    .footercontent {
        padding:0 ;
    }

    .footercontent .left,
    .footercontent .right {
        width:100%;
        margin-bottom:25px;
    }


    .navigationbar {
        background:#517d47;
        line-height:40px;
        width:100%;
        position:absolute;
        bottom:0;
        color:#fff;
        display:block;
        padding:0 25px;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
    }

    .navigationbar span {
        cursor:pointer;
    }

    .navigationbar span i {
        margin-right:10px;
        transition: 0.3s all ease;
    }

    .navigation {
        top:100px;
        left:5px;
        line-height:40px;
        width:200px;
        position: absolute;
        display:none;
        opacity: 1;
        z-index:99999;
        transition: 0.3s all ease;
    }

    .navigation.show {
        top:90px;
        /*opacity: 1;*/
        display:block;
    }


    .navigation ul {
        width:100%;
        margin:0;
        padding:0;
    }

    .navigation ul li {
        display:block;
        font-size:16px;
        border-bottom:1px solid #598050;
        background:#517d47;
        padding:0;
    }
    .navigation ul li:nth-child(1),
    .navigation ul li:nth-child(2),
    .navigation ul li:nth-child(3),
    .navigation ul li:nth-child(4),
    .navigation ul li:nth-child(5),
    .navigation ul li:nth-child(6) {
        clear:both;
        float: none;
        padding:0;
        margin:0;
    }

    .navigation ul li a {
        text-decoration:none;
        color:#262427;
        display:block;
        padding-left:35px;
    }

    .navigation ul li:before {
        font-family: FontAwesome;
        content: "\f105";
        position:absolute;
        width:15px;
        margin-left:20px;
        display:inline-block;
        transition: 0.3s all ease;
        -moz-transition: 0.3s all ease;
        -webkit-transition: 0.3s all ease;
    }
    .navigation ul li:hover:before {
        color:#fff;
    }

    .navigation ul li a:hover,
    .navigation ul li.active a {
        color:#fff;
    }
    .navigation ul li.active:before {
        color:#fff;
    }

    h1 {text-align:center;}

    .headerimage .slogan {
        width:290px;
        line-height:29px;
        font-size:18px;
        padding:16px;
        top:50%;
        left:50%;
        font-size:14px;
        margin-left:-145px;
        margin-top:-45px;
    }

    /* Speisekarte */
    .imgtxt-column-left .imgtxt-column-left-image {
        width:100%;
        text-align:center;
        float:none;
        clear:both;
        margin-bottom:20px;
    }
    .imgtxt-column-left .imgtxt-column-left-text {
        width:100%;
        float:none;
        clear: both;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        padding-left:0px;
    }
}
@media screen and (max-width: 480px) {

    header {

        height:50px;
    }

    .navigation {
        top:70px
    }
    .navigation.show {
        top:60px
    }

    .logo {
        width:100px;
        height:125px;
        left:50%;
        margin-left:-50px;

    }

    h1 {
        font-size:30px;
        margin-bottom:35px
    }

    h3 {
        font-size:30px;
        margin:55px 0 65px 0;
    }

    .headerimage .slogan {
        display:none;
    }

    /* GALERIE */
    .gallery .imageEntry {
        width:50%;
    }

    .imgtxt-column-left .imgtxt-column-left-text ul li:nth-child(1) {
        width:100%;
    }
    .imgtxt-column-left .imgtxt-column-left-text ul li:nth-child(2) {
        width:50%;
    }
    .imgtxt-column-left .imgtxt-column-left-text ul li:nth-child(3) {
        width:50%;
    }


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

    body {
        font-size:14px;
    }

    .logo {
        width:80px;
        height:105px;
        left:50%;
        margin-left:-40px;

    }
    .navigationbar  {padding-left:15px;}

    /* GALERIE */
    .gallery .imageEntry {
        width:100%;
    }


}