/**
 * @file
 * Presentational styles for Drupal junkerbaum theme layout.
 *
 * It is left empty for testing purposes.
 *
 * @see https://www.drupal.org/project/drupal/issues/2349711
 */

@font-face {
  font-family: 'Merriweather';
  src: url('../fonts/Merriweather-Regular.ttf');
}

@font-face {
  font-family: 'Gentium Book Basic';
  src: url('../fonts/GentiumBookBasic-Regular.ttf');
}

@font-face {
  font-family: 'Lato';
  src: url('../fonts/Lato-Regular.ttf');
}

/* colors*/ 
 
.color-primary-0 { color: #328000 } /* mittleres wenig gesättigtes grün */
.color-primary-1 { color: #ABE487 } /* weiß*/
.color-primary-2 { color: #5BB720 } /* hellgrün*/
.color-primary-3 { color: #1C4600 } /* dunkelgrün gesättigt*/
.color-primary-4 { color: #020400 } /* dunkelgrün-schwarz*/
.color-primary-5 { color: #242D1B } /* #242d1b dunkelgrün-grau*/

/* general styles*/



html {
  margin: 0;
  padding: 0;
}

html  * {
  margin: 0;
  padding: 0;
}
body {
  margin: 0;
  padding: 0;
  width: 100%;
  font-family:  'Lato', 'Calibri', 'Arial', sans-serif;
  font-size: 1em;
  color: #020400;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Merriweather', serif;
}
h2 {
font-size: 1.2em;
line-height: 1.8em;
}
h1 a {
text-decoration: none;
}
h2 a {
text-decoration: none;
}
.clearfix {
clear: both;
}
a:link {
color: #1C4600;
text-decoration: none;
}
a:visited {
color: #1C4600;
text-decoration: none;
}
a:hover{
color: #328000;
text-decoration: none;
}

/* base wrappers */
div.layout-container {
clear: both;
background: white url(../images/bgbottom.png) bottom left repeat-x;
padding-bottom: 3em;
}
/* header */

header {
    margin: 0;
    height: 25vh;
    background: url(../images/header.jpg);/* #c8e2b8; */ /* url(sideimg/apfel.jpg) no-repeat; */
    background-size: cover;
    border-bottom: 1px solid #020400;
}
#block-junkerbaum-branding {
  display: inline-block;
  margin-left: 16%;
  border: 1px solid #020400;
  border-width: 0 1px 1px 1px;
  border-radius: 0 0 2vw 2vw;
  font-family: 'Gentium Book Basic', Gentium, Adobe Garamond, Serif;
  background-color: rgba(250,250,250,0.95);
  text-decoration: none;
  color: #020400;
}
.site-name{
  float: left;
  padding: 1vw 2vw;
}
.site-name a{
  font-size: 4vw;
  line-height: 6vw;
  vertical-align: center;
  font-weight: bold;
  color: #020400;
}
#block-junkerbaum-branding .site-logo {
  float: left;
  height: 6vw;
  padding: 1vw 2vw;
}
#block-junkerbaum-branding .site-logo img{
  height: 6vw;
}

/* columns*/
main {
  display: flow-root;
  background: transparent url(../images/bgtop.png) top left repeat-x;
  margin-bottom: 1em;
}
.layout-content,
.layout-sidebar-first,
.layout-sidebar-second {
  float: left;
  display: inline;
  position: relative;
  min-height: 20em;
}
.layout-sidebar-first {
  left: -50%;
  font-size: 1.3em;
}
.layout-sidebar-second {
  font-size: 1.1em;
  background: #777;
}
aside {
  width: 27%;
  padding: 3%;
}
/* content */

.layout-content {
  float: left;
  display: inline;
  position: relative;
  width: 50%;
  left: 33%;
}
.layout-content > div {
  clear: both;
}
.block-junkerbaum-stark-system-main {
  padding: 0 1em;
}
#block-junkerbaum-page-title {
  clear: both;
  padding: 2vh 0;
  line-height: 3em;
}
article {
  line-height: 1.5em;
    max-width: 85ex;
}
article a {
  font-weight: bold;
}
article p {
  text-align: justify;
  padding: 0.5em 0;
}
article li {
  margin-left: 3em;
}
.page-node-type-pflanze-detailbeschreibung .field{
  padding-right: 4%;
  margin-bottom: 1em;
}
.page-node-type-pflanze-detailbeschreibung .field:nth-child(odd) {
  clear: both;
}

.page-node-type-uebersichtsseite .field--type-image img{
  max-width: 100%;
  height: 25%;
  max-width: 100%;
}

.page-node-type-pflanze-detailbeschreibung .field--type-image img{
  max-width: 100%;
  height: 50%;
  max-width: 100%;
  border: 1px dashed rgba(0, 0, 0, 0.1);
}

.page-node-type-pflanze-detailbeschreibung .field--name-field-regionale-sorte img {
  position: relative;
  top: calc(-160px - 2.4em);
  left: 485px;
  margin-bottom: -160px;
  margin-right: -480px;
}

.page-node-type-uebersichtsseite .field--name-field-lateinische-bezeichnung {
  position: relative;
  top: -2.5em;
  float: right;
  font-size: 1.3em;
  font-style: italic;
}
#highlighted {
  margin: 1em ;
  padding: 0.5em 2em;
  border: 2px dashed darkred;
  border-width: 1px 0;
  width: 50%;
  max-width: 80ex;
}

.view-header {
  max-width: 85ex;
  line-height: 1.5em;
  margin-bottom: 4em;
}

.views-row {
  margin-bottom: 2em;
}

.views-field-field-regionale-sorte img{
  position:relative;
  top: 95px;
  left: 142px;
  margin-top: -100%;
}

.views-field-field-regionale-sorte a{
  position: absolute;
}

.views-field-field-pflanze img {
  border: 1px dashed rgba(0, 0, 0, 0.1);
}

/* sidebars */

.layout-sidebar-first li {
  list-style-type: none;
  list-style-image: none;
  padding: 0;
  margin: 0;
  min-height: 2em;
  line-height: 2em;
}

.layout-sidebar-first li span{
  padding: 0.5em 0.5em;
  height: 2em;
  color: #888;
  font-size: 0.85em;
}

.layout-sidebar-first a:hover {
  height: 2em;
  background: #242d1b;
  color: white !important;
}
.layout-sidebar-first li a {
  padding: 0.5em 1em;
  height: 2em;
  color: #020400;
}
.layout-sidebar-first li.active {
  color: #1C4600;
}
.layout-sidebar-first li li {
  font-size: 0.9em;
  font-weight: normal;
}
.layout-sidebar-first li ul {
  margin-left: 1.5em;
  border-left: 1px dashed #aaa;
}

/* footer */

footer {
  clear: both;
  border-top: 1px solid #020400;
  font-size: 0.9em;
  padding: 1em 0;
  background: white;
}
footer > div > div {
  display: block;
  float: left;
  width: 24%;
  padding-left: 7%;
}
footer > div > div:last-child {
  width: 100%;
  float: none;
  clear: both;
  padding-top: 1em;
}
footer .menu li {
  list-style-type: none;
  list-style-image: none;
}
.clearfix:after {
  content: ".";
  clear: both;
  display: block;
  visibility: hidden;
  height: 0px;
}
@media only screen and (orientation: portrait) {
header {
  height: 10vh;
}

.site-name a{
  font-size: 6vw;
  line-height: 9vw;
}
#block-junkerbaum-branding .site-logo {
  height: 9vw;
}
#block-junkerbaum-branding .site-logo img{
  height: 9vw;
}
.layout-content {
  position: static;
  width: 100%;
}
.layout-sidebar-first {
  position: static;
  width: 0%;
  left: 0;
}
.node__content .field {
  padding: 0 5vw;
}
.node__content .field--type-image {
  width: 100%;
  padding: 0.5em 0;
}
#block-junkerbaum-page-title {
  padding: 0.5em 5vw;
  line-height: 3em;
}
.page-node-type-uebersichtsseite .field--name-field-lateinische-bezeichnung {
  position: static;
  float: left;
}
footer > div > div {
  width: 100%;
  padding: 1em 5vw;
}

}

/* temporary stuff */
/*
rgba(42,31,0,0.65);
 <link href="http://fonts.googleapis.com/css?family=Gentium+Book+Basic:700&amp;text=BaumschuleJunkerGehölzeStauden" rel="stylesheet" type="text/css">
 */