/* this style was inspired by
	https://lonewolfonline.net/minimal-responsive-mobile-first-css-skeleton/
*/

/* Common base styles for all devices */
body {
	font-size:1em;
	font-family: Courier New,Courier;	
}

#page {
	justify-content: center;
	margin: auto;
	padding: 0;
	border-radius: 5px;
}
#page_content {
  margin: auto;
  padding: 3em;
}
   
.info, .success, .warning, .error, .validation {
  border: 1px solid;
  margin: 10px 0px;
  padding:15px 10px 15px 50px;
  background-repeat: no-repeat;
  background-position: 10px center;
}
.info {
  color: #00529B;
  background-color: #BDE5F8;
  background-image: url('https://harmolodic.de/content/img/info.png');
}
.success {
  color: #4F8A10;
  background-color: #DFF2BF;
  background-image:url('https://harmolodic.de/content/img/success.png');
}
.warning {
  color: #9F6000;
  background-color: #FEEFB3;
  background-image: url('https://harmolodic.de/content/img/warning.png');
}
.error {
  color: #D8000C;
  background-color: #FFBABA;
  background-image: url('https://harmolodic.de/content/img/error.png');
}

#head {
  background-image: url(https://harmolodic.de/content/img/nature-impression.png);
  height: 284px;
  border-radius: 5px;
  width: 100%;
  background-size: 100% 100%;
  opacity: 1;
}
noscript {
  background-color: #e9ff7abf;
  padding: .2em;
  font-size:.84em;
}  
h1, h2, h3, h4 {
	color: #111;
	font-style: italic;
}
#content h1 {
	text-align: center;
}
textarea, input {
  padding-left: 0.36em;
}
a:visited, a {
  text-decoration: none;
  color: blue;
}
a.external_link {
	font-style: italic;
}
div#content div {
	text-align: justify;
}	
div.img {
  width: 100%;
  margin: 1em 0 1em 0;
}
div.img img {
  width: 100%;

}
div.img span {
  font-size: .84em;
  font-style: italic;
}
div.formular {
  margin: 1.5em;
  font-size: .84em;
}
div.formular span {
  font-size: 1.34em;
  margin-bottom: .42em;
  display: inline-block;
}
div.formular ul {
  margin: 0;
  font-size: 1.1em;
}
div.sources {
  margin-top: 1.4em;
}
/* navi */
.nav {
  width: 100%;
  margin-top: .42em;
}
.nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
  position: relative;
}

.nav ul.menu {
	width: 100%;
}
.nav ul li {
  margin: 0;
  display: inline-block;
  background-color: #007497;
  border: 1px solid;
  border-color:  silver;
  border-radius: 5px;
}
.nav > ul > li.level-0,
.nav > ul > li.level-1 {
  border-color:  #424393;
}
	
.nav ul ul {
  position: absolute;
}
.nav ul ul > li {
  float: none;
  display: block ruby;
  position: relative; 
}
.nav ul ul li {
  min-width: 334px;
  width: auto;
}
.nav ul.sub-2 {
  margin-left: 170px;
  margin-top: -10px;
}
.nav ul ul ul li {
  position: relative;
  top: -26px;
  left: 164px;
  height: 100%;
}
.nav ul.sub-2, 
.nav ul.sub {
  visibility: hidden; 
  opacity: 0; 
  height: 0px;
}
.level-1:hover .sub,
.level-1:focus-within > .sub,
.level-1:focus > .sub ,
.level-2:hover .sub-2,
.level-2:focus-within > .sub-2,
.level-2:focus > .sub-2 {
  visibility: visible;
  opacity: 1;
  height: auto;
}
.nav a {
  display: inline-block;
  padding: .7em;
  color: #FFF;
}
.nav li > a:focus, .nav li > a:hover, .nav li > a:focus-within {
	font-size: 1em;
	color: #e9ff7a;;
	  font-weight: bold;
}
.breadcrumb {
  font-size: .64em;
  padding: .32em;
  font-style: italic;
}

.nav ul, .breadcrumb {

}

.breadcrumb a {
  padding: .132em;
  font-weight: bold;
  	color: #0f0675;
}

#footer {
  margin-top: .64em;
  border-radius: .27em;
}
.footer_content {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}
.footer_content a {
  color: #fff;
}
.footer_content a:focus, .footer_content a:hover, .footer_content a:focus-within {
	font-size: 1em;
	color: #e9ff7a;
	font-weight: bold;
} 
.footer_content div:nth-child(1) {
	width: 33%;
}
.footer_content div:nth-child(2) {
	width: 66%;
	text-align: right;
}

div.half {
  align-self: flex-start;
  padding: 1em 2em;
  flex: 1 1 280px;
  flex-basis: 280px;
  max-width: 100%;
  padding: 0 .4em;
  display: flex;
  flex-wrap: wrap;
  flex-basis: calc(960px * 999 - 100% * 999);
  margin: 1em;
  color: #fff;
}
div.half span {
  width: 100%;
}
span#date_error,
form > div > span {
  min-width: 99%;
  display: block;
}
form > div > span:nth-child(1) {
	margin-top: .64em;
}
span#date_error, 
form > div > span:nth-child(3) {
  color: red;
  padding: .2em;
  font-size: 1em;
  font-weight: bold;
}
.search_container input[type="text"], 
#contact_form input {
	border-radius: 5px;
}
#contact_form input {
	width: 84%;
	font-size: 1.04em;
}
#cont {
  padding-left: .42rem;
}
.contact a[name="contact"] {
	visibility: hidden;
}
a#contact {
  visibility: hidden;
}
.search_container input[type="text"]:focus,
#contact_form input:focus {
	background-color: #e9ff7a;
}
button {
  font-size: 1em;
  padding: .1em .4em;
  background-color: lightsteelblue;
  border-radius: .42em;
  border: black 2px solid;
}

#footer {
	min-width: auto;
	background-color: #007497;
	padding: 1em;
}
.footer_content .half:nth-child(1) span:nth-child(2) {
	font-size: .81em;
	font-style: italic; 
}
.footer_content .half:nth-child(1) span:nth-child(3) {
	font-size: .84em;
	margin-top: .64em;
	font-weight: bold;
}
.footer_content .half:nth-child(1) span:nth-child(4) {
  	margin-top: .1em;
	font-size: .81em;
}
.footer_content .half:nth-child(2) span {
  width: 100%;
}
.footer_content .half:nth-child(2) span a {
  color: #fff;
}
.search_outer {
  width: auto;
  margin: 0em;
  display: inline-block;
}
.search_container {
  display: inline-block;
  text-align: left;
  padding: 1.3em;
}
.search {  
  text-align: left;
}
.search_title {
  margin-right: .63em;
  font-weight: bold;
}
.search_opt span span input {
  margin-right: 1.2em;
}
.search span:nth-child(2) input {
  font-size: .71em;
  margin-left: .4em;
}
.search span:nth-child(2) {
  font-size: 1.3em;
  padding: 0 0 .3em 0;
  display: inline-block;
}
.search_btn {
  margin-top: 1.3em;
}
.result_row {
  line-height: 1.2em;
  margin-top: .81em;
}
#opt_date {
  font-size: .81em;
  margin-left: .5em;
}
.search_result { 
	color: green; 
}
ul.navi li.language {
  background-position: 0;
  background-size: 81%;
  background-repeat: no-repeat;
}
.nav li.search,
.nav li.language {
	position: relative;
	background-color: #ddd;
	background-size: contain;
	background-repeat: no-repeat;
	border-color: #ddd;
	width: 2.8em;
}
li.language a,
li.search a {
  width: 1.4em;
}
.nav li.search {
  background-image: url(https://harmolodic.de/content/img/search.png);
  margin-right: .3em;
}
.nav li.language.language_de {
  background-image: url(https://harmolodic.de/content/img/de.png);
}
.nav li.language.language_en {
  background-image: url(https://harmolodic.de/content/img/en.png);
}
.sources h2 {
  font-size: 1.1em;
  margin: 0;
  padding: 0;
}
.sources ul {
  margin-top: .3em;
}
.sources ul li {
  font-size: .74em;
}
.sources ul li a {
  font-size: 1.3em;
}
div.sources li a:nth-child(2) {
  margin-right: .6em;
}
table.scales_tbl {
  width: 100%;
}
.conclusion, 
.green {
  color: green;
  margin: 0 .02em 0 .06em;
}
.green {
  font-style: italic;
  font-weight: bold;
}
ul.feature-list li .solution {
  width: 100%;
  display: inline-block;
  color: green;
  font-style: italic;
  margin-top: .3em;
}
ul.feature-list li {
	margin-top: .84em;	
}
.hide {
	display: none !important;
}

@media only screen and (max-width: 479px)  {
  /* Styles for wide mobiles (480px) and above */
  body {font-size: 1.5em; }
  .nav {
  	font-size: .81em !important;
  } 
  #page_content {
	  padding: 1em;
  }
  .nav ul li {
  	margin: .162em 0;
  }
  
}

@media only screen and (min-width: 480px)  {
  /* Styles for wide mobiles (480px) and above */
  body {font-size: 1.5em; }
  #page_content {
	  padding: 1.3em;
  }
  .nav {
  	font-size: .88em;
  }
}

@media only screen and (min-width: 768px) { 
  /* Styles for tablets/netbooks (768px) and up */
  body {font-size: 1.1em;}
  #content {
    font-size: 1.25em;
  }  
  #footer {
    font-size: 1.48em;
  }  
  .search_container input[type="text"], #contact_form input {
  	font-size: 2.23rem;
  }
  .nav {
  	font-size: 1.2em;
  }
}

@media only screen and (min-width: 1024px) { 
  /* Styles for large screens (desktops 1024px) and above */
  body {font-size: 1em;}
  #page {
  	max-width: 1224px;
  }
  .nav {
  	font-size: 1.42em;
  }
  div.half {
    max-width: 42%;
  }
  .search_container input[type="text"], #contact_form input {
  	font-size: 1.23rem;
	line-height: 1.23rem;
  }
  #footer {
	font-size: 1.4em;
  }    
 }
