@import url(https://fonts.googleapis.com/css?family=Lato:300,300italic,400,700,700italic); /** * Base Elements */ * { margin: 0; padding: 0; } body, h1, h2, h3, h4, h5, h6, p, div, span, a, button { font-family: 'Lato', 'Open Sans', 'Helvetica Neue', 'Segoe UI', Helvetica, Arial, sans-serif; line-height: 1.5; } body { background: #f3f3f3; } a { color: #016aba; text-decoration: none; } button { font-size: 100%; } p { line-height: 1.5; margin-bottom: 15px; } /** * Button */ .button { padding: 10px 30px 10px; text-decoration: none; color: #fff; background: #016aba; border-radius: 5px; border: none; font-size: 20px; font-weight: bold; opacity: 0.9; display: inline-block; } .button:hover { opacity: 1; } /** * Body Container */ .container { max-width: 1024px; min-height: 100vh; background: #f9f9f9; margin: 0 auto; } /** * Top Navigation */ .menu { height: 4em; background-color: #677ae4; background-color: #05526A; background-color: #e46855; } .menu h1 { position: relative; padding: 5px 0 0 8px; color: #f9f9f9; font-size: 1.8em; font-style: italic; } .menu a, .menu .links { display: inline-block; } .menu a { text-decoration: none; padding: 0 15px; color: #fff; font-size: 20px; font-weight: bold; } .menu a:hover, .menu a.active { opacity: 1; } .menu .links { padding: 0 21px; } .menu .links a { position: relative; bottom: 5px; } .kategorie label span { font-size: 140%; margin: 50px auto 20px; display: block; text-align: center; font-style: italic; } .kategorie input { padding: 11px; font-size: 18px; width: 500px; margin: 20px auto 50px; background-color: rgba(255, 255, 255, 0.75); border: solid 1px lightgray; display: block; } .menu input:focus { background-color: #f9f9f9; outline: none; } .menu button { margin-right: 15px; position: relative; top: -1px; left: -5px; border-top-left-radius: 0; border-bottom-left-radius: 0; background-color: #262626; cursor: pointer; opacity: 1; } .menu button:hover { background-color: #111; opacity: 1; } .menu .results { display: none; position: absolute; width: 215px; top: 54px; left: 10px; background-color: #f6f6f6; border-right: 1px solid rgba(0, 0, 0, 0.05); border-bottom: 1px solid rgba(0, 0, 0, 0.05); } .results { margin-top: -10px; } .resultsProdukt { display: flex; flex-wrap: wrap; flex-direction: row; } .resultsRezept { display: flex; flex-direction: column; width: 100%; } .resultsRezept li { list-style: none; padding: 10px 15px; display: flex; flex-wrap: wrap; flex-direction: column; } .results li { list-style: none; padding: 10px 15px; } .menu .results li:hover { background: #f3f3f3; } /** * Content Area */ .body { padding: 15px; } /** * Similar to Jumbotron */ .jumbo { padding: 50px; background: #f6f6f6; } .jumbo h2 { font-size: 3.2em; margin-top: -25px; } .jumbo p, .jumbo address { margin-bottom: 25px; } .jumbo img { height: 200px; position: relative; top: -25px; right: -20px; } /** * Individual rezept Listing */ .rezept label span { font-size: 140%; margin: 50px auto 20px; display: block; text-align: center; font-style: italic; } .rezept input { padding: 11px; font-size: 18px; width: 500px; margin: 20px auto 50px; background-color: rgba(255, 255, 255, 0.75); border: solid 1px lightgray; display: block; } .rezept { margin-top: 15px; background-color: white; padding: 20px 25px; display: flex; justify-content: space-between; align-items: center; text-align: center; width: 100%; border: #677ae4; border-width: 15px; } .rezept.selected{ border: #016aba; border-width: 7px; border-style: solid; border-radius: 5px; font-size: 100%; } .rezept:hover { border: #016aba; border-width: 2px; border-style: solid; border-radius: 5px; font-size: 100%; } .rezept.selected:hover { background-color: #f3f3f3; border-width: 5px; } .rezept img { border-radius: 5px; width: 100%; } .rezept .image { flex-grow: 0; flex-basis: 150px; margin: 20px 25px; text-align: center; } .rezept .image img { max-width: 100%; } .rezept .image.large { margin: 30px 25px 50px 25px; flex-basis: 100%; } .rezept .image small { display: block; margin-top: 5px; margin-bottom: -15px; text-align: center; color: #016aba; /* This is needed to fix a safari clipping issue */ position: relative; } .rezept .image.large small { margin-top: 10px; margin-bottom: 0px; font-size: 110%; } .rezept .details { flex-basis: 50%; flex-grow: 2; display: flex; height: 150px; margin: 20px 25px; justify-content: space-between; flex-wrap: wrap; align-content: space-around; text-align: center; } .rezept h3 { flex-basis: 100%; } .rezept h3 a { display: inline; } .rezept .detail { flex-basis: 50%; font-weight: 300; font-style: italic; white-space: pre-wrap; text-align: center; flex: auto; list-style-type: none; } .rezept .detail h3 h4{ text-align: center; } .rezept .detail span { font-weight: 400; font-style: normal; } .rezept .bild span { width: 50; } .rezept .map { flex-grow: 0; flex-basis: 150px; font-size: 0; margin: 0px 25px; } .rezept .map img { width: 150px; height: 150px; } .rezept.detailed { background: none; align-items: flex-start; } .rezept.detailed .image { flex-basis: 320px; } .rezept.detailed .image.large { margin: 30px 25px 50px 25px; flex-basis: 100%; } .rezept.detailed .details { height: auto; } .rezept.detailed h3 { font-size: 200%; margin-bottom: 10px; } .rezept.detailed .detail { margin: 5px 0px; flex-basis: 100%; flex-shrink: 2; } .rezept.detailed .description { white-space: normal; flex-basis: 100%; flex-shrink: 1; } .rezept.detailed .map { flex-basis: 100%; margin: 50px 25px 25px 25px; } .rezept.detailed .map img { width: 100%; height: auto; } @media only screen and (max-width: 919px) { .rezept.detailed .image, .rezept.detailed .image.large { margin: 30px 25px 25px 25px; flex-basis: 100%; cursor: default; } .rezept.detailed .image:hover { flex-basis: 100%; cursor: default; } .rezept.detailed .image small { display: none; } .rezept.detailed button.image:hover:after { opacity: 0; } .rezept.detailed button.image:focus:after { opacity: 0.1; } .rezept.detailed .map { margin-top: 25px; } } /** * Individual produkt Listing */ .produkt label span { font-size: 140%; margin: 50px auto 20px; display: block; text-align: center; font-style: italic; } .produkt input { padding: 11px; font-size: 18px; width: 500px; margin: 20px auto 50px; background-color: rgba(255, 255, 255, 0.75); border: solid 1px lightgray; display: block; } .produkt { margin: 15px; background-color: white; padding: 20px 25px; display: flex; justify-content: space-between; align-items: center; text-align: center; flex-wrap: wrap; width:20%; border: none; } .produkt.selected{ border: #016aba; border-width: 7px; border-style: solid; border-radius: 5px; font-size: 100%; } .produkt:hover { border: #016aba; border-width: 2px; border-style: solid; border-radius: 5px; font-size: 100%; } .produkt.selected:hover { background-color: #f3f3f3; border-width:5px; } .produkt img { border-radius: 5px; width: 100%; } .produkt .image { flex-grow: 0; flex-basis: 150px; margin: 20px 25px; text-align: center; } .produkt .image img { max-width: 100%; } .produkt .image.large { margin: 30px 25px 50px 25px; flex-basis: 100%; } .produkt .image small { display: block; margin-top: 5px; margin-bottom: -15px; text-align: center; color: #016aba; /* This is needed to fix a safari clipping issue */ position: relative; } .produkt .image.large small { margin-top: 10px; margin-bottom: 0px; font-size: 110%; } .produkt .details { flex-basis: 50%; flex-grow: 2; display: flex; height: 150px; margin: 20px 25px; justify-content: space-between; flex-wrap: wrap; align-content: space-around; text-align: center; align-items: center; } .produkt h3 { flex-basis: 100%; } .produkt h3 a { display: inline; } .produkt .detail { flex-basis: 50%; font-weight: 300; font-style: italic; white-space: pre-wrap; text-align: center; flex: auto; list-style-type: none; } .produkt .detail span { font-weight: 400; font-style: normal; } .produkt .map { flex-grow: 0; flex-basis: 150px; font-size: 0; margin: 0px 25px; } .produkt .map img { width: 150px; height: 150px; } .produkt.detailed { background: none; align-items: flex-start; } .produkt.detailed .image { flex-basis: 320px; } .produkt.detailed .image.large { margin: 30px 25px 50px 25px; flex-basis: 100%; } .produkt.detailed .details { height: auto; } .produkt.detailed h3 { font-size: 200%; margin-bottom: 10px; } .produkt.detailed .detail { margin: 5px 0px; flex-basis: 100%; flex-shrink: 2; } .produkt.detailed .description { white-space: normal; flex-basis: 100%; flex-shrink: 1; } .produkt.detailed .map { flex-basis: 100%; margin: 50px 25px 25px 25px; } .produkt.detailed .map img { width: 100%; height: auto; } @media only screen and (max-width: 919px) { .produkt.detailed .image, .produkt.detailed .image.large { margin: 30px 25px 25px 25px; flex-basis: 100%; cursor: default; } .produkt.detailed .image:hover { flex-basis: 100%; cursor: default; } .produkt.detailed .image small { display: none; } .produkt.detailed button.image:hover:after { opacity: 0; } .produkt.detailed button.image:focus:after { opacity: 0.1; } .produkt.detailed .map { margin-top: 25px; } } /** * Individual kategorie Listing */ .kategorie { margin-top: 15px; background-color: #f6f6f6; padding: 20px 25px; display: flex; justify-content: space-between; /**align-items: center;*/ flex-wrap: wrap; align-items: flex-start; width: 95%; } .kategorie .details { flex-basis: 50%; flex-grow: 2; display: flex; height: 150px; margin: 20px 25px; justify-content: space-between; flex-wrap: wrap; align-content: space-around; text-align: center; align-items: center; } .kategorie.resultsRezept { display: flex; flex-wrap: wrap; flex-direction: column; } .kategorie h3 { flex-basis: 100%; } .kategorie h3 a { display: inline; } .kategorie .detail { flex-basis: 50%; font-weight: 300; font-style: italic; white-space: nowrap; } .kategorie .detail span { font-weight: 400; font-style: normal; } .kategorie.detailed { background: none; align-items: flex-start; } .kategorie.detailed .details { height: auto; } .kategorie.detailed h3 { font-size: 200%; margin-bottom: 10px; } .kategorie.detailed .detail { margin: 5px 0px; flex-basis: 100%; flex-shrink: 2; } .kategorie.detailed .description { white-space: normal; flex-basis: 100%; flex-shrink: 1; } /** * Utilities */ .light { font-weight: 300; } .left { float: left; } .right { float: right; } .hidden { display: none; } .relative { position: relative; } .screen-reader{ position: absolute; overflow: hidden; clip: rect(0 0 0 0); height: 1px; width: 1px; margin: -1px; padding: 0; border: 0; }