/*
	Theme Name: HTML5 Blank
	Theme URI: http://html5blank.com
	Description: HTML5 Blank WordPress Theme
	Version: 1.4.3
	Author: Todd Motto (@toddmotto)
	Author URI: http://toddmotto.com
	Tags: Blank, HTML5, CSS3

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




/* fonts */


/* cinzel-regular - latin */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400;
  src: local('Cinzel Regular'), local('Cinzel-Regular'),
       url('../fonts/cinzel-v8-latin-ext_latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/cinzel-v8-latin-ext_latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}


/* lato-regular - latin-ext_latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'),
       url('../fonts/lato-v15-latin-ext_latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/lato-v15-latin-ext_latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}



/* colours */
:root {
  --green: #96b41e; 
  
  --light-grey: #ededed;
  --dark-grey: #878787;
}



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

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font:300 11px/1.4 Lato, Helvetica, Arial, sans-serif;
	color:#444;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#444;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}


/*------------------------------------*\
    NAVIGATION MOBILE
\*------------------------------------*/

#toggle-nav-mobile {
    position: fixed;
    color: #fff;
    left: 3%;
    display: none;
    z-index: 999;
    cursor: pointer;
    top: 28px;
    height: 30px;
    width: 40px;
}

#toggle-nav-mobile span,
#toggle-nav-mobile span:before, 
#toggle-nav-mobile span:after,
#toggle-nav-mobile:after {
    position: absolute;
    left: 0px;
    top: 0px;    
    width: 40px;
    display: inline-block;
}
#toggle-nav-mobile span:before, 
#toggle-nav-mobile span:after,
#toggle-nav-mobile:after {
    height: 2px;
}

#toggle-nav-mobile span:before, 
#toggle-nav-mobile span:after {
    content: "";
    transform: rotate(0deg);
    transition: transform 500ms,top 500ms;
}

/* bottom bar */
#toggle-nav-mobile span:after {
    top: 26px;
}

/* middle bar */
#toggle-nav-mobile:after {
    content: "";
    top: 13px;
}

#toggle-nav-mobile:after,
#toggle-nav-mobile span:before, 
#toggle-nav-mobile span:after,
#toggle-nav-mobile.active span:before,
#toggle-nav-mobile.active span:after,
#toggle-nav-mobile.active:after{
    background-color: #fff;
}

#toggle-nav-mobile.active:after {
    display: none;
}

/* position of active element, cross */
#toggle-nav-mobile.active span:before,
#toggle-nav-mobile.active span:after {
    top: 15px;
    transform: rotate(45deg);
}

#toggle-nav-mobile.active span:before {
    transform: rotate(-45deg);
}

nav#main-mobile {
    position: fixed;
    left: 0;
    top: 80px;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: none;
    z-index: 100;
    padding: 7% 5% 5% 5%;
}

nav#main-mobile > ul {
	list-style-type: none;
}

nav#main-mobile > ul > li > a {
    color: var(--light-blue);
    padding: 0.5em 0 0.5em 0;
    display: block;
    text-transform: uppercase;
    font-size: 1.4rem;
    font-weight: bold;
}

nav#main-mobile ul.level-2 > li > a {
    color: var(--dark-blue);
    padding: 0.25em 0 0.25em 0;
    display: block;
    text-transform: none;
    font-size: 1.4rem;
}




	nav#main {
		background: none;
		padding: 0;
		position:relative;
		width:66%;
		margin:0;
		padding:0;
		display: block;
	}
	
	nav#main > ul {
		margin: 0;
		padding: 0;
		list-style-type: none;
		display: flex;
		width: 100%;
		height: 100%;
	}	

	nav#main > ul > li {
		display: flex;
		align-items: center;		
	}
	
	nav#main > ul > li > a {
		font-size: 1.4rem;
		font-family: Cinzel;
	    padding: 10px;
		display: block;
		text-decoration: none;
		color: var(--dark-grey);
		transition: color 0.25s ease-in-out;	
	}
		
	nav#main > ul > li.current > a,
	nav#main > ul > li > a:hover {
		color: #fff;
	}


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

	.wrapper.outer {
		width: 100%;
	}

	
	article > section,
    ul#nav-footer,
	#footer-sub,
	.popup	{
		width: 95%;
		margin: 0 auto;	
	}	
	
	
	
    .wrapper > header {
        -webkit-box-shadow: 0 0 10px #333;
           -moz-box-shadow: 0 0 10px #333;
                box-shadow: 0 0 10px #333;
    }


	.wrapper > header {
		background-color: rgba(0,0,0,0.75);
		position: fixed;
		top: 0;
		width: 100%;
		height: 60px;
		padding: 0 3% 0 3%;
		z-index: 10;
        display: flex;
        justify-content: space-between;		
		align-items: center;
	}

	.wrapper > header > h1 {
		position: relative;
		background-size: contain;
		background-repeat: no-repeat;
		background-position: right center;
		background-image: url(../../img/logo-athos-feinkost.png);
		margin: 0;
		padding: 0;
		height: 50%;
		width: 100%;
		max-width: 335px;
	}		
	

	
	
	.wrapper > header > h1 > a {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		display: block;
	}
	
	.sectionheader {
		position: relative;
		margin: 0 auto;
		width: 100%;
		height: 25vh;
		background-color: transparent;
		background-size: cover;
		background-repeat: no-repeat;
		background-position: center center;
	}
	
	#athos-feinkost > .sectionheader {
        height: 35vh;
	}

	main > section {
		position: relative;
	}
	
	
	#logo {
	    display: none;	
	}
	

	
	/*
    h1 {
		text-align: center;
		margin: 40px 0 30px 0;
	}
	*/
	section#kontaktformular {
		background-color: var(--light-grey);
	}	
	
	
	
	article {
		padding: 5% 0 5% 0;
	}
	
	article > header {
		width: 100%;
		margin: 0 auto;
		background-image: url(../img/bg-h1.png);
		background-repeat: repeat-x;
		background-position: center center;
		margin: 0;
		text-align: center;
	}	
	
	article h1 {
		display: inline-block;
		padding: 0 7% 0 7%;
		font-family: Cinzel, serif;
		font-size: 3rem;
		font-weight: 400;
		color: var(--green);
		background-color: #fff;
		
	}
	

	
	article ul {
		list-style-type: none;
		margin: 5%;
	}
	
	article h2,
    article p,
    article ul li {
		text-align: center;
		font-size: 1.8rem;
		line-height: 1.3em;
	}	
	
	article h2 {
		margin: 4% 0 0 0;
		font-weight: 400;
	}
	
	article p {
		margin: 3% 0 0 0;
		font-weight: 400;
	}
	
	section p:first-child {
		margin-top: 5%;
	}
	
	section h2 + p {
		margin: 1% 0 0 0;
	}
	
	.eyecatcher {

	}
	
	.ico.greek {
		width: 40px;
	}

	
	
	
	.products {
		margin: 10% auto 0 auto;
		display: block;
	}
	
	.products.oil {
		width: 90%;
	}
	
	.products.olives {
		width: 35%;
	}

	.products.tea {
		width: 40%;
	}

	.products.honey {
		width: 65%;
	}		
	
	
	
	
	form  {
		border: none;
		padding: 0;
		margin: 0;
		display: flex;
		flex-direction: column;
	}
	

	
	.col {
		width: 100%;
	}
	
	


	
	
	
	
	
	
	
	
	
	
	form input,
	form select,
    form textarea {
		width: 100%;
		border: 1px solid var(--dark-grey);
		padding: 5px;
	}
		
    form textarea {
		height: 200px;
	}
		
		
	
	form .submit {
		border: none;
		background-color: var(--green);
		padding: 5px 20px;
		width: 45%;
		color: #fff;
	}
	
	
	
	
	
	
	
	nav#footer {
		background-color: var(--dark-grey);
	}
	
	ul#nav-footer {
		display: flex;
		flex-direction: column;
		justify-content: space-evenly;
		list-style-type: none;
		padding: 2% 0 2% 0;
	}
	
	ul#nav-footer > li > a {
		font-size: 1.6rem;
		font-family: Lato;
		color: var(--light-grey);
	    padding: 10px;
		display: block;
		text-decoration: none;		
		text-transform: uppercase;
		text-align: center;
	}
	
	
	#footer-sub {
		text-align: center;
		padding: 1% 0 2% 0;
	}
	
	#footer-sub p {
		font-size: 1.4rem;
	}	
	
	

	
	.popup h1,
	.popup h2,
	.popup h3,
	.popup p	{
		color: #fff;
	}
	
	.popup h1 {
		font-size: 2.4rem;
	}
	
	.popup h2 {
	
	}
	
	.popup h3 {
		
	}
	.popup p {
		font-size: 1.8rem;
	}
		
		
		
	.desktop-visible {
		display: none;
	}
	
	.mobile-visible {
		display: block;
	}	
	

/*------------------------------------*\
    PAGES
\*------------------------------------*/



/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family:'Font-Name';
	src:url('fonts/font-name.eot');
	src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
		url('fonts/font-name.woff') format('woff'),
		url('fonts/font-name.ttf') format('truetype'),
		url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}

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

@media only screen and (min-width:320px) {

}
@media only screen and (min-width:480px) {

	.sectionheader {

		height: 26vh;
	}
}


@media only screen and (min-width:768px) {
	.sectionheader {

		height: 40vh;
	}

	.eyecatcher {
		bottom: -20%;
	}
	
	
	article h1 {
		font-size: 3.4rem;
	}
	
}




@media only screen and (min-width:1024px) {


	.eyecatcher {
		position: absolute;
		left: 5%;
		bottom: -30%;
	}

	.desktop-visible {
		display: block;
	}
	
	.mobile-visible {
		display: none;
	}	
	


	.wrapper > header > h1 {
		height: 75%;
	}

	nav#main > ul > li > a {
		font-size: 2rem;
	    padding: 10px;
	}

	.wrapper > header {
		padding: 0 7% 0 7%;
	}

	#logo {
		position: absolute;
		top: 25%;
		right: 18%;
		display: block;
	}
	
	.scroll #logo {
		display: none;
	}

	
	.wrapper > header > h1 {
		background-image: none;	
	}
		
	.scroll .wrapper > header > h1 {
		background-image: url(../../img/logo-athos-feinkost.png);
	}
		

	.bg-olives {
		position: fixed;
		right: 0px;
		bottom: 50%;
		width: 100px;
		height: 100px;
		background-image: url(../../img/olives.png);
		background-repeat: no-repeat;
		background-size: contain;
		background-position: center center;	
		z-index: 999;
	}

/*
	#toggle-nav-mobile {
		display: none;
	}
	*/
	
	article > section,
	ul#nav-footer,
	#footer-sub,
	.popup	{
		max-width: 960px;
	}
	
	.sectionheader {
		height: 35vh;
	}
#athos-feinkost > .sectionheader	{
		height: 60vh;
	}
	
	

	
	
	.eyecatcher {
		position: absolute;
		left: auto;
		right: 5%;
		bottom: -17%;
	}
					

	/*
		
	body.stationary header.scroll h1 {
		text-align: left;
		font-size: 1em;
		padding-bottom: 0;
		padding-top: 30px;
	}
	
	body.stationary header.scroll > nav > ul {
		display: block;
		margin: 0 auto;
		text-align: right;
		margin-top: -32px;
		padding-left: 200px;
	}	
	
	body.stationary header.scroll > nav > ul > li {
		display: inline-block;
		margin: 0;
	}	
	
	body.stationary header.scroll > nav > ul > li > a {
		font-size: 15px;
		padding: 0 5px 5px 5px;
	}	
	
	body.stationary header.scroll > nav > ul > li.last > a {
		padding-right: 0;
	}	
	*/
	

   
	article h1 {
		font-size: 4rem;
	}
	
	
	ul#nav-footer {
		flex-direction: row;
    }		
	
	ul#nav-footer > li > a {
	    padding: 20px;
	}
		
	
	
	form  {
		
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
		flex-direction: row;
	}
	
	.col {
		width: 45%;
	}	
	
	.col.three {
		width: 100%;
	}
	
	
	

	
	
}
@media only screen and (min-width:1140px) {

}
@media only screen and (min-width:1280px) {


	.sectionheader {
		height: 40vh;
	}
#athos-feinkost > .sectionheader	{
		height: 70vh;
	}
	

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/

/*------------------------------------*\
    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;
	}
}
