/*******************  General settings ****************** */

* {
	-webkit-appearance: none;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-webkit-tap-highlight-color:transparent;
}

body {
	margin:0px;
	margin-bottom:2px;
	font-family: "Helvetica Neue", "Roboto", Helvetica, Sans-Serif;
	font-size: 16px;
	background:transparent;
}

/* general paragraph style */
p {
    margin-left: 12px;
    margin-right: 12px;
	color: black;
	text-decoration: none;
}

/* main titles (used in .doc divisions) */
h1 {
	color: black;
	text-decoration: none;
	font-family: "Helvetica Neue", "Roboto", Helvetica, Sans-Serif;
	font-size: 21px;
	font-weight: bold;
	padding-top: 4px;
	margin-left:12px;
    margin-right:12px;
}

/* sub titles (used in .doc divisions) */
h2 {
	color: black;
	text-decoration: none;
	font-family: "Helvetica Neue", "Roboto", Helvetica, Sans-Serif;
	font-size: 16px;
}

hr {
	border: 0;
    height: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* dotted lists */
ul {
	color: black;
	text-decoration: none;
	margin-left: 0px;
	padding-left:18px;
}

/* ordered lists */
ol {
	color: black;
	text-decoration: none;
	margin-left: 0px;
	padding-left: 21px;
}

/* don't decorate most links - we do it in special cases */
a {
	color: black;
	text-decoration: none;
	font-size: 16px;
}

video {
	margin-left: auto;
	margin-right: auto;
	display: block
}

figure {
	width: 100%;
	margin: 16px auto;
}


br {

}

*:focus {
    outline: none;
}


/******************* end of general settings - special elements follow ********************/

/* each "text document" is enclosed within a .doc division */
.doc{
	margin: 12px;
}

/* reverse margin when leadin is within a .doc division */
.doc .leadin {
    margin-left: 0px;
    margin-right: 0px;
}
/* reverse margin when h1 is within a .doc division */
.doc h1 {
    margin-left: 0px;
    margin-right: 0px;
}

/* reverse effect of indentation when a tcell is within a .doc division */
div.doc div.tcell {
	margin-left:-12px;
	margin-right:-12px;
}

/* reverse effect of indentation when an image is within a .doc division, but add top/bottom margins */
div.doc img {
    margin-right:0px;
    margin-top:3px;
    margin-bottom:3px;
    width: 100%;
}

/* instead, show a small image inline */
div.doc img.inlinesmall {
	margin-left:1px;
	margin-right:4px;
	margin-top:1px;
	margin-bottom:1px;
	height:20px;
	width:20px;
	vertical-align: middle;
}

/* instead, show a logo image inline */
div.doc img.logo {
	margin-left:1px;
	margin-right:4px;
	margin-top:1px;
	margin-bottom:1px;
	display: block;
	max-width:280px;
	max-height:90px;
	width: auto;
	height: auto;
	vertical-align: middle;
}

/* normal images are full page size - some need to be smaller */
div.doc img.smallimg {
	margin-left:0px;
	width: 200px;
}

/* small images used as icons */

img.icon {
	height: 70px !important;
	width: unset !important;
	display: inline-block;
}

/* style for a "lead in text" (span) */
.leadin {
	/* font-style: italic; */
    margin-left: 12px;
    margin-right: 12px;
	display: inline-block;
	padding-bottom: 12px;
}

/* scrollable row of images */

.imagerow {
	margin: 0;
    padding: 0;
    white-space: nowrap;
	overflow-x: auto;
	max-height: 300px;
	width: 100vw;
	display: flex;
}

.imagewithcaption {
	display: flex;
	flex-direction: column;
	margin-left: 10px !important;
}

.imagewithcaption img {
    height: 90% !important;
    width: 90vw !important;
    display: inline-block;

}

.caption{
	font-style:italic;
}

.imagerow. img {
	display: block;
}



/* Slideshow container */
.slideshow-container {
	max-width: 1000px;
	position: relative;
	margin: auto;
  }

  .slideshow-container a {
	color: white !important;
	text-shadow: 0px 0px 5px #000000;
  }
  
  /* Next & previous buttons */
  .prev, .next {
	cursor: pointer;
	position: absolute;
	top: 50%;
	width: auto;
	padding: 16px;
	margin-top: -22px;
	font-weight: normal;
	font-size: 18px;
	transition: 0.6s ease;
	border-radius: 0 3px 3px 0;
	/* background-color: rgb(255, 255, 255);*/
	user-select: none;
  }
  
  /* Position the "next button" to the right */
  .next {
	right: 0;
	border-radius: 3px 0 0 3px;
  }
  
  /* Caption text */
  .caption1 {
	padding: 8px 12px;
	bottom: 8px;
	width: 100%;
	text-align: center;
  }
  
  /* Number text (1/3 etc) */
  .numbertext {
	color: #f2f2f2;
	font-size: 12px;
	padding: 8px 12px;
	position: absolute;
	top: 0;
  }
  
  /* The dots/bullets/indicators */
  .dot {
	cursor: pointer;
	height: 15px;
	width: 15px;
	margin: 0 2px;
	background-color: #bbb;
	border-radius: 50%;
	display: inline-block;
	transition: background-color 0.6s ease;
  }
  
  .active, .dot:hover {
	background-color: #717171;
  }
  
  /* Fading animation */
  .fade {
	animation-name: fade;
	animation-duration: 1.5s;
  }
  
  @keyframes fade {
	from {opacity: .4} 
	to {opacity: 1}
  }

/* style for a source (Quellenangabe) within a document */
.source {
	font-style: italic;
	margin-bottom: 4px;
}

/* links within a .source should be visible and look like links */
.source a {
	color: blue;
	font-style: normal;
}


/* light gray text */
.lighttext  {
	color: #666;
}

/* compact text */


/* UIListviewCell like cell (division) */
.tcell {
	height: 85px;
}

/* small UIListviewCell like cell (division) */
.tcell-small {
	height: 30px;
}

/* main title within a tcell (used with span) */
.maintitle {
	position: absolute;
	margin-top: 12px;
	margin-left: 12px;
	font-size: 16px;
	font-weight: bold;
}

/* subtitle within a tcell (used with span) */
.subtitle {
	position: absolute;
	font-size: 12px;
	margin-top: 40px;
	margin-left: 37px;
	margin-right: 18px;
	font-size: 16px;
	color: #777;
	line-height: 100%;
}


/* main title within a tcell-small (used with span) */
.maintitle-small {
	position: absolute;
	margin-top: 3px;
	margin-left: 12px;
	font-size: 21px;
}

/* subtitle within a tcell-small (used with span) */
.subtitle-small {
	position: absolute;
	font-size:12px;
	margin-top:9px;
	margin-left: 200px;
	margin-right: 15px;
	font-size: 16px;
	color:black;
	line-height: 100%;
}

/* UIListviewCell like tcell division containing an image (first cell) */

.imagecell {
	position: relative;
	color:gray;
	background-color:white;
	background-size: 100%;
	height:auto;
}

/* image within an imagecell */
div.imagecell img {
	width: 100%;
}

/* UIListviewCell like tcell divisions for a special topic */


.trecognizing {
    color:#65A664;
}

/* Different class name, because "tcontrol" is used in identification_* HTML-Files */
.tcontrolc {
     color:#F7B226;
}

.tcontrol {
     color:black;
}

.tgeneralinfo {
     color:#1F3D5C;
}

.tidentification {
     color:#035D63;
 }

 .treporting {
      color:#954453;
  }

.tdiary {
	color:#954453;
}

.tmap {
	color:#F7B226;
}

.tprepare {
	color:#035D63;
}

.tinfo {
	color:#1F3D5C;
}

.tcontribute {
	color:#AD9DE4;
}

/* UIListviewCell like tcell divisions in a second level (surrounding ones have same color, so we need a border) */
.second {
	border-top: 1px solid lightgray;
}

/* text within a .imagecell division ("Hier und jetzt:") */
.headtext {
	position: absolute;
	font-size:12px;
	bottom: 0px;
	margin-bottom:6px;
	margin-left: 12px;
	margin-right: 18px;
	font-size: 16px;
	color:white;
	line-height: 100%;
}

/* text within a .imagecell used as main title IM MOMENT AUF TRANSPARENT GESETZT! */
.toptitle {
	float:left;
	position:absolute;
	top: 5px;
	left: 12px;
	color: transparent;
	font-size:16px;
	font-weight:bold;
}

/* instead, show a half size image */
@media (min-width:640px){
    div.doc img.halfsize {
        width:50%;
        display: block;
    }
}

/* link within realm "generalinfo" */
.generalinfo a {
	color:#1F3D5C;
}

/* link within realm "prepare" */
.prepare a {
	color:#6EAC4C;
}

/* link within realm "recognizing" */
.recognizing a {
	color:#65A664;
}

/* link within realm "control" */
.control a {
	color:#F7B226;
}

/* link within realm "identification" */
.identification a {
	color:#035D63;
}


/* image in BigImageView */
.bigimage {
	width: 100%;
	margin:0;
	padding:0;
}

/*******************  some general layout helpers  ****************** */

.top {
	margin: 0;
	padding-top: 24px;
	padding-bottom: 54px;
}

.left {
	float: left;
}

.right {
	float: right;
}


.key {
	width: 115px;
    float:left;
    vertical-align: middle;
    display: inline-block;
}

.val {
    width: 60%;
    float: right;
    display: inline-block;

}

.dang {
    clear:both;
}

/* side by side elements */
.wrapper {
    display: flex;
    align-items: center;
	margin-top: 12px;
	margin-bottom: 6px;
}

/*******************  we build the "diary entry view" in HTML for android  ****************** */

/* segmented control */
.segmented-control {
	display: table;
	padding: 0;
	width: 90%;
}

.segmented-control__item {
	display: table-cell;
	margin: 0;
	padding: 0;
	list-style-type: none;
}

.segmented-control__input {
	position: absolute;
	visibility: hidden;
}

.segmented-control__label {
	display: block;
	margin: 0 -2px -0px -1px;
	/* -1px margin removes double-thickness borders between items */
	padding: .25em .25em;
	border: 1px solid #954453;
	font: 14px/1.5 sans-serif;
	text-align: center;
	color: #954453;
}

.segmented-control__input:checked + .segmented-control__label {
	background: #954453;
	color: #FFF;
}
/* image info icon */
.diary .infoicon  {
	width: 30px;
	position: absolute;
	right:10px;
	top:6px;
}
/* we need some space instead of <br/> */
.verticalspace {
	height: 50vw;
}


/* image buttons for body part and map */
/* we use background images, so the css for the boxes is in the HTML-part of the code */

.boxcontainer {
	/*width:100%;*/
}

/*body part box*/
.box1 {
	width: 45%;
	/*height: 83px;*/
	background-color: transparent;
	background-size: contain;
	background-image: url({{'body'+bodyparturl+'.png'}});
	border: 1px dashed black; /*die Länge der Strichli ist browserabhängig und lässt sich nicht einstellen*/
	float: right;
	padding-bottom:45%;
	position: relative;
	text-align:center;
}

/*map box*/
.box2 {
	width: 45%;
	background-color: transparent;
	background-size: contain;
	background-image: url({{mapurl}});
	border: 1px dashed black; /*die Länge der Strichli ist browserabhängig und lässt sich nicht einstellen*/
	float: left;
	padding-bottom:45%;
	position: relative;
	text-align:center;
}

/*single map box*/
.box {
	background-color: transparent;
	background-size: contain;
	border: 1px dashed black; /*die Länge der Strichli ist browserabhängig und lässt sich nicht einstellen*/
	width:45%;
	padding-bottom:45%;
	display: block;
}

/*body parts*/
.boxtext {
	position: absolute;
	bottom: 2;
	left: 0;
	width: 100%;
	color: #954453;
	background: white;
}

/*image for "Zecke einsenden"*/
div.stretchy-wrapper {
	background-size: contain;
	width: 100%;
	padding-bottom: 75%; /* 4:3 */
	position: relative;
}

/*writing on image for "Zecke einsenden"*/
div.stretchy-wrapper > div {
	position: absolute;
	top: 30%; left: 40%;
	font-family: 'Annie Use Your Telescope', cursive;
	font-size: 53px;
	text-align: center;
}


.diary .block {
    height: 57px;
}

.diary input[type=checkbox] {
    height:30px;
    width: 30px;
    display:block;
}

.diary input[type=checkbox]:checked {
    background-color: #F24066;
}

.diary .dings {
    display: block;
    float:left;
    margin-top: 7px;
    margin-left:9px;
    margin-bottom:10px;
    vertical-align: middle;
}

.diary label {
    padding-left: 8px;
    height: 50;
    display: table-cell;
    vertical-align: middle;
}

.diary .newKey {
    margin-left: 12px;
    /*width: 110px;*/

}


.diary .submitLink {
    margin-left: 12px;
}



.diary select {
    background: transparent;
    color: F24066;
    display: block;
    width: 200px;
    padding: 0px;
    font-size: 16px;
    /* line-height: 1; */
    border: 0;
    border-radius: 0;
    height: 34px;
    overflow: hidden;
}

.diary .lighttext  {
	background: transparent;
	color: #666;
	margin-bottom: 20px;
}

.diary h1  {
	margin-bottom: 3px;
}

.diary table  {
	margin-left: -2px;
}

.diary td {
	vertical-align: middle;
}
.diary br {
	display: block;
    padding: 6px;
    content: " ";
}

.diary .address br {
    display: block;
    padding: 1px;
    content: " ";

}

.diary .loading  {
	width:100px;
}

.diary textarea, input {
	border: 1px solid #ccc;
	padding: 5px;
	border-radius: 3;
	font-size: 16px;
	width: 100%;
	font-family: "Helvetica Neue", "Roboto", Helvetica, Sans-Serif;
}

.diary .error {
	padding: 12px;
}

.diary .tcell {
    height: 67px;
}

.checkbite {
	margin-top: 30px;
	margin-right: 12px;
	float: right;
}

.diary input.[text] {
	height: 30px;
	width: 50%;
}

.diary .savelink {
	width: 200px;
	display: block;
	margin-left: auto;
	margin-right: auto;
	font-size: 21px;
	display: block;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	padding-top: 18px;
}


.diary .newSaveLink {
	display: block;
	margin-left: auto;
	margin-right: auto;
	font-size: 21px;
	display: block;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	padding-top: 18px;
}

.center {
    margin-left: 23vw;
}

.share {
    width: 35px !important;
    height: 35px !important;
    float: right;
    margin-left: 3px;
    margin-right: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.share img {
    width: 35px !important;
    height: 35px !important;
    float: right;
    padding-top: 4px;
}
