/*
	Theme Name: Keksind.Hamburg
	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/
[role=main] {
  padding: 0 /*2% 5%*/;

}
/* 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 12px/1.5  Helvetica, Arial, sans-serif;
	color:#000; text-align: center;
	overflow-y: scroll;
	align-items: center;

}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

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

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

/* wrapper */
.wrapper {
	position:relative; display: inline-block; width: 100%; max-width: 1200px;
}
/* header */
.header{}
.header a span{
text-decoration: none;

}
/* logo */
#sticky{
	position: fixed;
	background: #fff;z-index: 4;
	top: 0;/*(wie absolute) top: -30px; (lässt logo verschwinden)*/
	width: 100%; max-width: 1200px;
}
 .logo, .logo a, .logo a:hover{
padding: 30px ;
text-decoration: none;
}
.logotext1, .logotext2{font-size: 150%;
color: #aaa;
letter-spacing: 25px;
}
.logotext1{font-size: 160%;color: #ccc;}
.logotext2{font-size: 140%;}
.reg{font-size: 1.8rem; position: absolute; top: 15%; left: 49%;color: #aaa;}
#square { 
  width: 6px; 
   height: 6px; 
   background: #c00;
  display: inline-table;
margin-right: 20px;  
}
.header-img {
margin-top: 45px;
}

article{
	
	margin: 165px auto 0;
}
/*---------------------------------*\
          Navigation  main
\*---------------------------------*/


.nav {
  font-size: 1.2em;
  /*white-space: nowrap;*/
  position: absolute;
  background: #fff;
  width: 100%;
  text-align: center;
  height: 45px;
}

.nav ul {
  display: inline-table;
  list-style-type: none;
  margin: 0px;
  padding-top: 10px;  
}
.nav ul li{
  display: table-cell;
    background: #fff;

}
.nav ul li a {
  margin: 0.5em;
  padding: 5px;
  display: block;
  /*color: #000;
  text-decoration: none;*/
}

.nav ul li a:hover {
  color: #69b;
}
.nav ul li ul {
  display: none;
}
.unav li.current-menu-parent a, .nav li.current-menu-parent a,.unav li.current-menu-item a, .nav li.current-menu-item a{color: #69b !important;}


ul.menu-item {width: 100%;display: flex; margin: -200px;}

.unav{margin:0 0 0 0; background: #f1f1f1; height: 38px; width: 100%; max-width: 1200px;}
.unav {position: fixed; top: 130px;z-index: 9999;}
.unav ul li{background: #f1f1f1;}
/*---------------------------------*\
          Navigation  footer
\*---------------------------------*/
.footer, .footernav {
  font-size: 1.0em;
  width: 100%;
  text-align: center;
  height: 45px;
}


.footernav ul {
  /*display: inline-table;*/
  list-style-type: none;
  margin: 0px;
  padding-top: 10px;  
}

 .footernav ul li {
  display: inline;
 

}
.footernav ul li a{
   margin:  10px;
  padding:5px 15px;
  color: #000;
  text-decoration: none;

}

.footernav ul li a:active {
  color: #F00;
}
.footernav ul li a:hover {
  color: #aaa; /*#67c;*/
}
.footernav ul li ul {
  /*position: block;*/
  display: none;
}


/*---------------------------------*\
          Navigation  left
\*---------------------------------*/
.leftnav {
  font-size: 1em;
  white-space: nowrap;
 text-align: left;
	width: 10%;
	position:fixed;
	top:22%; left: 0; z-index: 20;/*border: 1px solid #aaa;*/}

.leftnav ul {
  display: block;
  list-style-type: none;
  margin: 0px;
  padding: 5px;  
}

 .leftnav ul li {
  display: block;
	 /*border: 1px solid #aaa;*/
	 margin: 0px;
  padding: 15px 0;
 

}
.leftnav ul li a{
   margin:  10px;
  padding:5px 15px;
  color: #000;
  text-decoration: none;

}

.leftnav ul li a:active {
  color: #F00;
}
.leftnav ul li a:hover {
  color: #69b; /*#67c;*/
}

.footernav ul li ul {
  /*position: block;*/
  display: none;
}



/* sidebar */
.sidebar {
clear: both;
}
#element_oben_fix {
position: fixed; /*feste Positionierung, Element wird nicht gescrollt*/
left: 0; /*Abstand von links, alternativ von rechts*/
top: 0; /*Abstand von oben*/
width: 100%; /*geht über die gesamte Breite*/
}
/* footer */
.footer {
	margin-top: 50px;
	padding: 4px 0;
	height: 45px;
	background: #f1f1f1;
}
/*------------------------------------*\
    /menu
\*------------------------------------*/



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

.wp-caption {border:10px solid #000;}

/*------------------------------------*\ 
    IMAGE-groups responsive
\*------------------------------------*/

.row {
  display: -ms-flexbox; /* IE10 */
  display: flex;
  -ms-flex-wrap: wrap; /* IE10 */
  flex-wrap: wrap;
  padding: 0 4px;
}

/* Create four equal columns that sits next to each other */
.column {
  -ms-flex: 25%; /* IE10 */
  flex: 25%;
  max-width: 25%;
  padding: 0 4px;
}

.column img {
  margin-top: 8px;
  vertical-align: middle;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
  .column {
    -ms-flex: 50%;
    flex: 50%;
    max-width: 50%;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column {
    -ms-flex: 100%;
    flex: 100%;
    max-width: 100%;
  }
}

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

@font-face {
  font-family: "kekskind";
  src: url("./fonts/kekskind.eot"); /* IE9 Compat Modes */
  src: url("./fonts/kekskind.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("./fonts/kekskind.otf") format("opentype"), /* Open Type Font */
    url("./fonts/kekskind.svg") format("svg"), /* Legacy iOS */
    url("./fonts/kekskind.ttf") format("truetype"), /* Safari, Android, iOS */
    url("./fonts/kekskind.woff") format("woff"), /* Modern Browsers */
    url("./fonts/kekskind.woff2") format("woff2"); /* Modern Browsers */
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "keks";
  src: url("./fonts/keks.eot"); /* IE9 Compat Modes */
  src: url("./fonts/keks.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("./fonts/keks.otf") format("opentype"), /* Open Type Font */
    url("./fonts/keks.svg") format("svg"), /* Legacy iOS */
    url("./fonts/keks.ttf") format("truetype"), /* Safari, Android, iOS */
    url("./fonts/keks.woff") format("woff"), /* Modern Browsers */
    url("./fonts/keks.woff2") format("woff2"); /* Modern Browsers */
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "keks3";
  src: url("./fonts/keks3.eot"); /* IE9 Compat Modes */
  src: url("./fonts/keks3.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("./fonts/keks3.otf") format("opentype"), /* Open Type Font */
    url("./fonts/keks3.svg") format("svg"), /* Legacy iOS */
    url("./fonts/keks3.ttf") format("truetype"), /* Safari, Android, iOS */
    url("./fonts/keks3.woff") format("woff"), /* Modern Browsers */
    url("./fonts/keks3.woff2") format("woff2"); /* Modern Browsers */
  font-weight: normal;
  font-style: normal;
}

/*------------------------------------*\
	1st PAGE
\*------------------------------------*/
.kkk1 {
	font-family: arial, helvetica, san-serif; font-size: 250%; line-height: 120%; font-weight: bold;letter-spacing: 2.5rem;
}
.kkk2 {
	font-family: arial, helvetica, san-serif; font-size: 150%; line-height: 120%; font-weight: normal;letter-spacing: 2.5rem;
}
.kkkr{font-size: 200%; color: #ff0000; font-family: arial, helvetica, sans-serif; vertical-align: 80%;
}
.kk{
	font-family: kekskind,arial,san-serif; font-size: 100%; line-height: 120%;
}
/*-------------------------------------*\
  BILDER DER KEKSE
\*-------------------------------------*/
.keksimg{width: 100%; max-width: 180px;}

/*-------------------------------------*\
  /BILDER DER KEKSE
\*-------------------------------------*/
/*-------------------------------------*\
  BESCHREIBUNG DER KEKSE
\*-------------------------------------*/
.outerdiscr{
	max-width: 70%; 
	margin: 0 auto; 
	display: grid; 
	grid-template-columns:  auto auto auto auto;
}
.imgdiscr{
	display: flex;  
	justify-content: center;
	flex-direction: column;
}
.textdiscr{
	padding-left: 2vw;
}

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

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

 	/* logo */


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

 	/* logo */

.logotext1, .logotext2{font-size: 150%;
color: #aaa;
letter-spacing: 25vw;
}
.logotext1{font-size: 160%;color: #ccc;}
.logotext2{font-size: 140%;}
.reg{font-size: 1.5vw; position: absolute; top: 15%; left: 49%;color: #aaa;}
	
}
@media only screen and (max-width:900px) {
	/* logo */

	.logotext1, .logotext2{font-size: 150%;
color: #aaa;
letter-spacing: 2vw;
}
.logotext1{font-size: 160%;color: #ccc;}
.logotext2{font-size: 100%; margin-left: -1vw;}
.reg{font-size: 2vw; position: absolute; top: .5vw; left: 49.5vw;color: #aaa;}

.header-img {
margin-top: 0!important;
}

#square { 
  width: 4px; 
   height: 4px; 
   background: #c00;
  display: inline-table;   
}

/*---------------------------------*\
          Navigation  footer
\*---------------------------------*/
.footernav {
  font-size: 1em!important;
  width: 100%!important;
}


.footernav ul {
  display: inline-block!important;
  margin: -30px!important;  
}

 .footernav ul li {
  display: inline-block!important;
 

}
.footernav ul li a{
   margin:  3px!important;
}
.outerdiscr{
	max-width: 90%; 
	margin: 0 auto; 

}
}

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

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

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

}
@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;
}

/*------------------------------------*\
    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 transparent;
	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:1px solid transparent  /*#f0f0f0 */;
	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;
}
.sticky {

}
.bypostauthor {

}

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

/* responsive image grid */

#rig, #rig-s, #rig4, #rig3{
    width: 95%;
	max-width:1200px;
    margin-left: 8%;  /*center aligned*/
    padding:0;
    font-size:normal; /* Remember to change it back to normal font size if have captions */
    list-style:none;
	text-align: left;
    background-color:#fff;
}
#rig100 {  /* responsive grid for 1st page */
	width: 100%;
	max-width:1200px;
    margin: 0; /*center aligned*/
    padding:0;
    list-style:none;
    background-color:#fff;
	}

#rig3 li {  /* responsive grid for 1st page */
	 display: inline-block;
    *display:inline;/*for IE6 - IE7*/
    width:25%;
    vertical-align:top; /*middle oder bottom*/
    box-sizing:border-box;
    margin:0;
    padding:30px 4px;
	
}

#rig4 li {  /* responsive grid for 1st page */
	 display: inline-block;
    *display:inline;/*for IE6 - IE7*/
    width:23%;
    vertical-align:top; /*middle oder bottom*/
    box-sizing:border-box;
    margin:0;
    padding:30px 4px;
}

#rig li, #rig-s li, #rig100 li {
    display: inline-block;
    *display:inline;/*for IE6 - IE7*/
    width:20%;
    vertical-align:top; /*middle oder bottom*/
    box-sizing:border-box;
    margin:0;
    padding:30px 4px;
}
        
/* The wrapper for each item */
.rig-cell {
    display:block;
    position: relative;
    overflow:hidden;
	margin:8% 3%;
}
        
/* If have the image layer */
.rig-img {
    display:block;
    width: 90%;
    height: auto;
    border:none;
    /*transform:scale(1);
    transition:all .3s;
}

#rig li:hover .rig-img {
    transform:scale(1.05);
}
 */
}
/* If have the overlay layer */
.rig-overlay {
    position: absolute;
    display:block;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    background: #3DC0F1 url(img/link.png) no-repeat center 20%;
    background-size:50px 50px;
    opacity:0;
    filter:alpha(opacity=0);/*For IE6 - IE8*/
    transition:all 0.6s;
}
#rig li:hover .rig-overlay {
    opacity:0.8;
}

/* If have captions */
.rig-text {
    display:block;
    padding:0 30px;
    box-sizing:border-box;
    position:absolute;
    left:0;
    width:100%;
    text-align:center;
    text-transform:capitalize;
    font-size:18px;
    font-weight:bold;
    font-family: 'Oswald', sans-serif;
    font-weight:normal!important;
    top:40%;
    color:#fff;
    opacity:0;
    filter:alpha(opacity=0);/*For older IE*/
    transform:translateY(-20px);
    transition:all .3s;
}
#rig li:hover .rig-text {
    transform:translateY(0px);
    opacity:0.9;
}

@media (max-width: 9000px) {
    #rig li {
        width:18%;
    }
	#rig-s li {
        width:45%;
		margin: 2%;
    }
	#rig100 li {
        width:10%;
		margin: 0;  
    }

}

@media (max-width: 900px) {
    #rig li {
        width:30%;  }
		
		#rig-s li{
        width:90%;
		margin: 0;
  
    }
	#rig4 li {
		width:43%;
	margin: 0;}
}

@media (max-width: 550px) {
    #rig li {
        width:50%;
    }
	#rig4 li {
        width:90%;
    }
}
