/*
	Theme Name: LEMONTEC THEME
	Theme URI: http://lemontec.at
	Description: WordPress Theme
	Version: 1.0
	Author: LEMONTEC
	Author URI: http://lemontec.at
	Tags: Blank, HTML5, CSS3

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

body {
	font: 400 14px/1.5 'Open Sans', sans-serif;
	color: #333;
	margin: 0;
	padding: 0;
}

h1, h2, h3, h4, .slogan, .gform_button, .shop_banner {
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
    font-weight: 700;
}

h1, #burger, .header_all nav ul li span, .header_all nav a, .top_teaser h2, .slogan_1, .news h3, .shop_banner a  {
    color: #007161;
}

.footer, .footer a, h4, .cta a, .cta a:hover, .gform_button {
    color: #ffffff;
}

a, h2, .slogan_2 {
	color: #a61380;
}

a,
button.accordion,
.gform_button {
    transition: 0.5s ease;
}

a,
.header_all nav a:hover,
.header_all nav li.current-menu-item a,
.header_all nav li.current-menu-item ul li a:hover {
	text-decoration: underline;
}

a:hover,
a:active,
a:focus,
.header_all nav a,
.header_all nav li.current-menu-item ul li a,
.shop_banner a {
    text-decoration: none;
}

a:hover,
a:active,
a:focus {
	outline:0;
    color: inherit;
}

input:focus {
	outline:0;
	border: 1px solid #ccc;
}

img {
	max-width:100%;
	vertical-align:bottom;
}

.single_content img, .content_block img, .accordion img {
    height: auto;
}

section {
    overflow: hidden;
}

ul {
	list-style: none;
    margin: 0;
    padding: 0;
}

.content_block ul li {
    list-style: initial;
    margin-left: 15px;
}

.header_all,
.header_all nav ul li,
.cta ul li,
.top_teaser article,
.news {
    text-align: center;
}

h4 {
    font-size: 2.8vw;
    padding: 0 40px;
    margin: 0;
    line-height: 1.2em;
}

h1, #burger {
    font-size: 30px;
    margin-top: 0;
}

.top_teaser article h2, .slogan {
    font-size: 1.7vw;
}

h2 {
    font-size: 22px;
}

h3 {
    font-size: 18px;
}

.news, .slideshow, .shop_banner {
    margin-bottom: 40px;
}

.newsletter, .spacer {
    margin-top: 40px;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

main {
    clear: both;
    padding-top: 80px;
}

/* HEADER */

.header_all {
    background-color: #f9f0ce;
    height: 80px;
    width: 100%;
    position: fixed;
    z-index: 100;
}

.logo img {
    height: 100%;
    max-height: 139px;
    padding-top: 10px;
}

.header_all nav {
    margin-top: 27px;
}

#burger {
    display: none;
    cursor: pointer;
}

.header_all nav ul li, .cta ul li {
    display: inline-block;
}

.header_all nav ul li {
    padding: 0 30px;
    position: relative;
}

.header_all nav ul li span {
    position: absolute;
    right: 0;
    top: -3px;
    font-size: 16px;
    display: none;
    cursor: pointer;
}

.header_all nav ul li.menu-item-has-children span {
    display: block;
}

.header_all nav a {
    text-transform: uppercase;
    font-size: 16px;
}

.header_all ul.sub-menu {
    position: absolute;
    background-color: #f9f0ce;
    left: 0;
    width: 100%;
    padding: 5px 0;
    display: none;
}

.header_all ul.sub-menu.active {
    display: block;
}

.header_all ul.sub-menu li {
    padding: 5px;
    display: block;
}

.header_all nav .sub-menu li span {
    display: none !important;
}

.header_all ul.sub-menu a {
    font-size: 13px;
    text-transform: none;
}

.cta {
    font-size: 24px;
    margin-top: 15px;
}

.cta li {
    padding: 0 5px;
}

.cta li a {
    background-color: #a61380;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: block;
    padding-top: 6px;
}

.cta li a:hover {
    transform: rotate(360deg);
}

/* SHOP BANNER */

.shop_banner {
    height: 150px;
    font-size: 54px;
    text-align: right;
    background-position: center right;
    background-size: cover;
    background-repeat: no-repeat;
}

.shop_link {
    padding: 30px 45px;
}

/* ACF MAP */
.acf-map {
	width: 100%;
	height: 400px;
	border: #ccc solid 1px;
	margin: 20px 0;
}

/* fixes potential theme css conflict */
.acf-map img {
   max-width: inherit !important;
}


/* SLIDESHOW */

.slideshow {
    max-height: 500px;
    overflow: hidden;
    clear: both;
    position: relative;
}

.slideshow ul.flex-direction-nav {
    position: absolute;
    top: 0;
    font-size: 60px;
    width: 100%;
}

.slideshow li.flex-nav-prev {
    position: absolute;
    left: 10px;
}

.slideshow li.flex-nav-next {
    position: absolute;
    right: 10px;
}

.slideshow li.flex-nav-prev a::before,
.slideshow li.flex-nav-next a::before {
    font-family: FontAwesome;
    color: #ffffff;
}

.slideshow li.flex-nav-prev a::before {
    content: '\f104';
}

.slideshow li.flex-nav-next a::before {
    content: '\f105';
}


.slideshow ul.flex-direction-nav a {
    color: #ffffff;
    text-decoration: none;
}


.slideshow img {
    width: 100%;
}

/* TOP TEASER */

.top_teaser ul {
    padding: 0 !important;
}

.top_teaser img {
    width: 100%;
}

.top_teaser article {
    padding: 50px;
}

.top_teaser article p {
    min-height: 50px;
}

.top_teaser article.slogan {
    padding: 85px 50px;
}

.top_teaser article h2 {
    margin: 0;
}

.top_teaser a {
    border: 1px solid #a61380;
    padding: 10px;
    text-decoration: none;
    display: block;
    width: 230px;
    margin: 0 auto;
    text-transform: uppercase;
    font-weight: 600;
}

.top_teaser a:hover {
    width: 250px;
}

/* NEWS */

.news, .newsletter {
    background-color: #f5f5f5;
}

.news {
    padding: 50px 0;
}

.news img {
    height: auto;
}

.news article p, .news article a {
    font-size: 13px;
}

.news article p {
    padding: 0 20px;
    min-height: 70px;
}

/* CONTENT */

button.accordion {
    background-color: #eee;
    cursor: pointer;
    padding: 10px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    position: relative;
    margin-bottom: 2px;
}

button.accordion:after {
    content: '\f107';
    font-family: FontAwesome;
    font-size: 25px;
    position: absolute;
    right: 15px;
    bottom: 0;
}

button.accordion.active,
button.accordion:hover {
    background-color: #f9f0ce;
}

button.accordion.active:after {
    content: "\f106";
}

.accordion .panel {
    padding: 0;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
}

.accordion .panel.show {
    display: block;
    opacity: 1;
    max-height: 10000px;
}

/* SINGLE CONTENT */

span.date {
    display: block;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 5px 0;
    margin: 40px 0 10px;
    font-size: 12px;
}

.single_content article {
    text-align: center;
}

/* NEWSLETTER */

.newsletter {
    position: relative;
    overflow: hidden;
    padding: 70px 0;
    background-color: #086a60;
}

.newsletter::before {
    content: ' ';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    display: block;
    transform: scale(1.1);
    background-attachment: fixed;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}

.newsletter div.container {
    z-index: 10;
    position: relative;
}

.newsletter .gform_wrapper {
    margin: 0 !important;
}

.newsletter div.container,
.newsletter .gform_wrapper form {
    text-align: center;
}

.newsletter .gfield_label {
    display: none !important;
}

.newsletter .gform_wrapper ul li.gfield {
    margin-top: 0;
}

.newsletter .ginput_container input {
    text-align: center;
    padding: 10px 0 !important;
    border: none;
}

.gform_button {
    padding: 10px 90px;
    border: none;
    background-color: #a61380;
    font-size: 16px !important;
    font-weight: 400;
}

.gform_button:hover {
    padding: 10px 110px;
}

.newsletter .gform_wrapper .gform_footer {
    padding: 0;
    margin: 10px 0 0;
}

#gform_1 #input_1_4 label {
    margin-top: 5px;
}

/* FOOTER */

.footer {
    background-color: #086a60;
    font-size: 12px;
    letter-spacing: 1px;
    text-align: center;
    padding: 40px 0;
    position: relative;
}

.copyright {
    text-transform: uppercase;
}

.footer ul.menu li {
    display: inline-block;
    position: relative;
    padding-left: 25px;
    margin: 0 15px;
}

.footer ul#menu-footer li::before {
    content: '\f0e0';
    position: absolute;
    top: -2px;
    left: 0;
    font-size: 15px;
    font-family: FontAwesome;
}

.footer ul#menu-footer li::after {
    content: '\f111';
    position: absolute;
    top: 5px;
    right: -20px;
    font-size: 5px;
    font-family: FontAwesome;
}

.footer ul#menu-footer li:last-child::after {
    display: none;
}

#scroll_top {
    position: absolute;
    right: 80px;
    top: 55px;
    font-size: 40px;
}

#scroll_top i {
    background-color: #f9f0ce;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    padding-top: 7px;
    color: #a61380;
    cursor: pointer;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (max-width: 1440px) {
    .cta {
        font-size: 20px;
        margin-top: 20px;
    }
    
    .cta li a {
        width: 40px;
        height: 40px;
        padding-top: 5px;
    }
}

@media only screen and (max-width: 1280px) {
    .header_all nav ul li {
        padding: 0 20px;
    }
    
    .header_all nav a {
        font-size: 14px;
    }
    
    .top_teaser article p,
    .news article p {
        font-size: 12px;
    }
    
    .top_teaser article {
        padding: 50px 20px;
    }
    
    .top_teaser article p {
        min-height: auto;
    }
    
    .top_teaser article.slogan {
        padding: 85px 20px;
    }
    
    .news {
        padding: 30px 0;
    }
    
    .news article p {
        min-height: 100px;
    }
}

@media only screen and (max-width: 1199px) {
    #burger {
        display: block;
    }
    
    .header_all nav {
        margin-top: 17px;
    }
    
    .header_all nav ul {
        display: none;
        background-color: #f9f0ce;
        padding: 5px 0;
        position: fixed;
        width: 100%;
        left: 0px;
    }
    
    #burger:hover > .header_all nav ul,
    .header_all nav ul li {
        display: block;
    }
    
    .header_all nav ul li {
        padding: 5px 10px;
    }
    
    .header_all nav a {
        font-size: 14px;
    }
    
    .cta li {
        padding: 0 0px;
    }
    
    .newsletter::before {
        transform: none;
        background-attachment: scroll;
        background-position: center center;
    }
    
    #scroll_top {
        right: 40px;
    }
}

@media only screen and (max-width: 991px) {
    body,
    .top_teaser article p,
    .news article p {
        font-size: 13px;
    }
    
    .top_teaser article h2, .slogan {
        font-size: 2.8vw;
    }
    
    h1 {
        font-size: 26px;
    }

    h2 {
        font-size: 18px;
    }

    h3 {
        font-size: 14px;
    }
    
    .shop_banner {
        font-size: 40px;
    }
    
    .shop_link {
        padding: 45px;
    }
    
    .top_teaser ul {
        overflow: hidden;
    }
    
    .top_teaser li {
        width: 50%;
        float: left;
    }
    
    .top_teaser article {
        padding: 14vw 2vw 0;
    }
    
    .top_teaser article.slogan {
        padding: 18.6vw 2vw 0;
    }
    
    .news {
        padding: 20px 0;
    }
    
    .news li {
        padding: 10px 50px;
    }
    
    .news article p {
        min-height: auto;
    }
    
    .content_block article.col-md-6.col-sm-12 {
        padding: 0;
    }
    
    #scroll_top {
        position: relative;
        right: 0;
        top: 0;
        margin-top: 20px;
    }
    
    #scroll_top i {
        width: 50px;
        height: 50px;
        padding-top: 2px;
    }
}

@media only screen and (max-width: 660px) {
    .header_all {
        height: 60px;
    }
    
    .logo img {
        height: 50px;
    }
    
    .header_all nav {
        margin-top: 7px;
    }
    
    .cta {
        margin-top: 10px;
    }
    
    main {
        padding-top: 60px;
    }
    
    body,
    .top_teaser article p,
    .news article a {
        font-size: 12px;
    }
    
    h1 {
        font-size: 22px;
    }
    
    h4, .shop_banner {
        font-size: 30px;
    }
    
    .footer {
        font-size: 11px;
    }
    
    .top_teaser article {
        padding: 12vw 1vw 0;
    }
    
    .top_teaser a {
        width: 190px;
    }
    
    .shop_banner {
        height: 100px;
    }
    
    .shop_link {
        padding: 28px;
    }
}

@media only screen and (max-width: 480px) {
    h1 {
        font-size: 18px;
    }

    h2 {
        font-size: 16px;
    }

    h4 {
        font-size: 22px;
    }
    
    .cta {
        font-size: 17px;
    }
    
    .cta li {
        padding: 0;
    }
    
    .cta li a {
        width: 35px;
        height: 35px;
    }
    
    .cta_cart {
        display: none !important;
    }
    
    .shop_banner {
        height: 50px;
    }
    
    .shop_link {
        padding: 2px 10px;
    }
    
    .slogan_wrapper {
        display: none;
    }
    
    .top_teaser li {
        width: 100%;
        float: none;
    }
    
    .top_teaser li img {
        width: 70%;
        display: block;
        margin: 0 auto;
    }
    
    .top_teaser article h2 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .top_teaser article {
        padding: 15px;
    }
    
    .news li {
        padding: 10px 20px;
    }
    
    .slideshow ul.flex-direction-nav {
        position: absolute;
        top: 0;
        font-size: 30px;
        width: 100%;
    }
    
    .footer ul.menu li {
        display: block;
        margin: 5px 65px;
    }
    
    .newsletter {
        padding: 40px 0;
    }
    
    .footer ul#menu-footer li::after {
        display: none;
    }
}


/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
