/*
============================================================================================
	Main
============================================================================================
*/

header {
  background-color: #f1f1f1;
  padding: 30px;
  text-align: center;
}
	

body {
  margin: 8px;
  font-family: 'Anaheim', selena, corbel, sans-serif;
  font-size: 16px;
  background: #fff;
}

li {
	color: #4CAF50;
}

/*
============================================================================================
	Menü
============================================================================================
*/
#navbar {
  overflow: hidden;
  background-color: #333;
  width: 100%;
  border-radius: 5px;
}

#navbar a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 18px; 
}

#navbar a:hover {
  background-color: #ddd;
  color: black;
  border-radius: 5px;
}

#navbar a.active {
  background-color: #4CAF50;
  color: white;
  border-radius: 5px;
}


.navbar {
  overflow: hidden;
  background-color: #333;
  width: 100%;
  border-radius: 5px;
}

.navbar a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 18px; 
}

.navbar a:hover {
  background-color: #ddd;
  color: black;
  border-radius: 5px;
}

.navbar a.active {
  background-color: #4CAF50;
  color: white;
  border-radius: 5px;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 18px;  
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.dropdown a {
  float: left;
  overflow: hidden;
  /* font-size: 16px; */  
  border: none;
  outline: none;
  color: #333;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.dropdown-content {
  display: none;
  position: absolute;
  color: #f2f2f2;
  background-color: #333;
  border-radius: 5px;
  min-width: 200px;
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
  z-index: 50;
}

.dropdown-content a {
  float: none;
  color: white;
  padding: 14px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  border-radius: 5px;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.dropdown:hover .dropdown-content {
  display: block;
}



.sticky {
  position: fixed;
  top: 0;
  width: 100%;
}

.sticky + .content {
  padding-top: 16px;
}

.showfamilytree {
  float: right;
  padding: 14px;
  color: #f2f2f2;
  text-decoration: none;
  font-size: 18px; 
}


/*
============================================================================================
	Forms
============================================================================================
*/

input[type=text], [type=email], [type=file], [type=password], [type=date], [type=number], select, textarea {
  width: 100%; 
  padding: 12px; 
  border: 1px solid #ccc; 
  border-radius: 4px; 
  box-sizing: border-box; 
  margin-top: 6px; 
  margin-bottom: 16px; 
  resize: vertical;
  font-size: 16px;
  font-family: 'Anaheim', selena, corbel, sans-serif;  
}

input[type=submit], .button, .hiddenbox {
  background-color: #4CAF50;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  font-family: 'Anaheim', selena, corbel, sans-serif;  
  font-size: 16px;
  outline: none;
  user-select: none;
}


input[type=search] {
  width: 100%; 
  padding: 6px; 
  border: 1px solid #ccc; 
  border-radius: 4px; 
  box-sizing: border-box; 
  margin-top: 0;
  margin-bottom: 0;
  resize: vertical;
  font-size: 16px;
  font-family: 'Anaheim', selena, corbel, sans-serif;  

}

input[type=submit]:hover, .button:hover {
  background-color: #45a049;
  font-family: 'Anaheim', selena, corbel, sans-serif;
  user-select: none;
}

.eye {
	margin-left: -30px;
	cursor: pointer;
	color: #45a049;
	font-size: 16px;
	user-select: none;
}

.whitebutton {
  background-color: #ff4500;
  color: white;
  padding: 12px 20px;
  border: 1px solid #ffffff;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  font-family: 'Anaheim', selena, corbel, sans-serif;  
  font-size: 16px;
  outline: none;
  user-select: none;
  float:right;
  margin-left:10px;
}

.whitebutton:hover {
  background-color: #ee4500;
  font-family: 'Anaheim', selena, corbel, sans-serif;
  user-select: none;
}

.deleteassignment {
  background-color: #ff4500;
  color: white;
  padding: 6px 20px;
  border: 1px solid #ffffff;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  font-family: 'Anaheim', selena, corbel, sans-serif;  
  font-size: 16px;
  outline: none;
  user-select: none;
  float:left;
  margin-right:10px;
}

.deleteassignment:hover {
  background-color: #ee4500;
  font-family: 'Anaheim', selena, corbel, sans-serif;
  user-select: none;
}

.container {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
  
  margin-top: 10px;
  /* cursor: pointer; */
}

.link {
	color: #45a049;
	text-decoration: none;
	cursor: pointer;
}
.link:hover {
	color: #777777;
	text-decoration: none;
}

.containerright {
	float: right;
}

.containerleft {
	float: left;
}

.searchform {
	padding: 0;
	margin-bottom :15px;
	width: 100%;
}

input:in-range {
    /* background-color: rgba(0, 255, 0, 0.25); */
}
input:out-of-range {
    /* background-color: rgba(255, 0, 0, 0.25); */
    border: 2px solid red;
}
/*
input:in-range + ::after {
    content:' ✔';
}
input:out-of-range + ::after {
    content:' außerhalb des Bereichs!';
}
*/

/*
============================================================================================
	Login
============================================================================================
*/

.bg-img {
  background-image: url("/img/login.jpg");
  min-height: 500px;/* 375px; */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  border-radius: 5px;
}

.logincontainer {
  position: absolute;
  left: 0;
  margin: 20px;
  max-width: 300px;
  padding: 16px;
  background-color: white;
  border-radius: 5px;
}

/*
============================================================================================
	Gallery
============================================================================================
*/
.gallery {
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 5px;
  background-color: white; 
}

.gallery:hover {
  border: 2px solid #4CAF50;
}

.gallery img {
  height: auto;
  width: 100%;
  border-radius: 5px;
  border: 1px solid #ccc;
  /*
  -webkit-filter: grayscale(50%); 
  filter: grayscale(50%); 
  */
}

.mediadesc {
  padding: 7px 7px 20px;
  text-align: center;
  height: 8%;
  overflow:hidden; 
  font-size: 13px;
}

.responsive {
  /* padding: 0 6px; */
  margin: 0.5%;
  float: left;
  width: 13%;
}

@media only screen and (max-width: 1200px) {
	.responsive {
	margin: 0.5%;
	float: left;
	width: 19%;
	}
}

@media only screen and (max-width: 1000px) {
	.responsive {
	margin: 0.5%;
	float: left;
	width: 24%;
	}
}

@media only screen and (max-width: 900px) {
  .responsive {
    width: 33%;
    margin: 0.1%;
  }
}

@media only screen and (max-width: 700px) {
  .responsive {
    width: 49%;
    margin: 0.5%;
  }
}

@media only screen and (max-width: 500px) {
  .responsive {
	margin: 1%;
    width: 98%;
  }
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

.filter {
  font-weight: bold;
  font-size: 20px; 	
}
/*
============================================================================================
	Buttons
============================================================================================
*/

/*
============================================================================================
	Boxen ein- und ausblenden
============================================================================================
*/

.panel {
  /* padding: 0 18px;
  background-color: white; */
  display: none;
  margin-top: 10px;
  max-height: auto;
}

/*
============================================================================================
	Fotos
============================================================================================
*/
.media {
  border: 2px solid #ccc;
  border-radius: 5px; 
  cursor: pointer; 
}

.media:hover {
  border: 2px solid #4CAF50;
}

.nomedia {
  text-decoration: none;
  border: 2px solid #ccc;
  border-radius: 5px; 
  /* cursor: pointer; */
}



/*
============================================================================================
	Tabellen
============================================================================================
*/

table {
  border: 0 solid #ccc;
  margin-top: 10px;
  width: 100%;
  table-layout:fixed;
}

.tdtitle {
	background-color: #4CAF50;
	color: white;
	margin: 1px;
    padding: 10px 30px 10px 10px;
    border-radius: 3px;
	cursor: pointer;
	vertical-align: top;
	-webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
	width: 20%;
}

.tdtext {
	padding: 10px;
	background-color: #ccc;
	border-radius: 3px;
	vertical-align: top;
	margin: 1px;
	width: 80%;
	word-wrap:break-word;
}

.tdtitle:hover {
	background-color: #45a049;	
}

.tdtitlenotedit {
	background-color: #4CAF50;
	color: white;
	margin: 1px;
    padding: 10px 30px 10px 10px;
    border-radius: 3px;
	vertical-align: top;
	-webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
	width: 20%;
	word-wrap:break-word;
}

.tdtextlink {
	padding: 10px;
	background-color: #ccc;
	border-radius: 3px;
	vertical-align: top;
	margin: 1px;
	width: 80%;
	-webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
	cursor: pointer;
	word-wrap:break-word;
}

.tdtextlink:hover {
	padding: 10px;
	background-color: #bbb;
	border-radius: 3px;
	vertical-align: top;
	margin: 1px;
	width: 80%;
}


/*
============================================================================================
	Modale Bildanzeige
============================================================================================
*/

.contentModal {
  visibility: hidden;
  width: 600px;
  height: 1%;
  border-radius: 8px;
  background-color: #fff;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: 20px auto auto;
  transition: opacity 1s;
  opacity: 0;
  cursor: pointer;
}

.contentModal img {
  width: 600px;
  cursor: pointer;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.deletecontainer {
  border-radius: 5px;
  background-color: #ff4500;
  padding: 20px;
  margin-top: 10px;
  display: none;
  /* cursor: pointer; */
}

.addcontainer {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
  margin-top: 10px;
  display: none;
  /* cursor: pointer; */
}

/*
============================================================================================
	Editfunktionen
============================================================================================
*/
.editform {
	display: none;
}

.edittext {
	display: block;
}

.todoedit {
  border-radius: 5px;
  padding: 20px;
  margin-top: 10px;
  display: none;
}

.todotext {
  border-radius: 5px;
  padding: 20px;
  margin-top: 10px;
  display: block;
}


/*
============================================================================================
	Personen
============================================================================================
*/

.red {
	color: red;
}

.blue {
	color: blue;
}

.green {
	color: #4CAF50;
}

.contentModalPerson, .contentModalLocation, .contentModalSource, .contentModalRepository {
  visibility: hidden;
    width: 400px;
  height: 1%;
  border-radius: 8px;
  background-color: #fff;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
    margin: 20px auto auto;
    transition: opacity 1s;
  opacity: 0;
  cursor: pointer;
}

.contentModalPerson img, .contentModalLocation img, .contentModalSource img, .contentModalRepository img {
  width: 400px; 
  cursor: pointer;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.deletewarning {
	color: #fff;
	font-weight: bold;
	vertical-align: middle;
	font-size: 20px;
}

.containerpersonmedia, .containerlocationmedia, .containersourcemedia, .containerrepomedia {
	margin-top: 10px;
}

h1, h2, h3 {
	margin-top:0;
	margin-bottom:0;
}

h1 {
	margin-top:0;
	margin-bottom:10px;
}

.sortpersons, 
.sortlocations, 
.sortsources, 
.sortrepos, 
.sortaddresses, 
.sortincidenttypes,  
.sortlocationtypes,
.sortrelationshiptypes,
.fieldtypes {
	float: left;
	padding-top: 5px;
	padding-left: 5px;
}



.comment {
	font-size: 13px
}

.whiteline {
	border-top: 1px solid white;
	margin-bottom: 8px;
	margin-top: 8px;
}

/*
============================================================================================
	Loader
============================================================================================
*/

.loader {
  border: 12px solid #fff;
  border-radius: 50%;
  border-top: 12px solid #4CAF50;
  border-bottom: 12px solid #4CAF50;
  width: 20px;
  height: 20px;
  -webkit-animation: spin 1s linear infinite;
  animation: spin 1s linear infinite;
  left: 50%;
  top: 20%;
  position: absolute; 
  visibility: hidden;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/*
============================================================================================
Tabulatoren
============================================================================================
*/

.containertabblock {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
  margin-top: 10px;
  /* cursor: pointer; */
}

.containertabhide {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
  margin-top: 10px;
  display: none;
  /* cursor: pointer; */
}

.containertabpic {
  border-radius: 0;
  background-color: #ffffff;
  padding: 0;
  margin-top: 0;
  display: none;
  /* cursor: pointer; */
}

/*
============================================================================================
Personentabellen
============================================================================================
*/


.titletd {
	background-color: #4CAF50;
	color: white;
	margin: 1px;
    padding: 13px 10px 10px 8px;
    border-radius: 3px;
	cursor: pointer;
	vertical-align: top;
	-webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.texttd {
    padding: 13px 10px 10px 8px;
    background-color: #ccc;
	border-radius: 3px;
	vertical-align: top;
	margin: 1px;
}

.titletd1 {
	width: 6%;
}

.titletd2 {
	width: 31%;
}

.titletd3 {
	width: 20%;
}

.titletd4 {
	width: 10%;
}

.titletd5 {
	width: 25%;
}

.titletd6 {
	width: 5%;
}
.titletd7 {
	width: 3%;
}



/* --------------------- */

.titletdf1 {
	width: 10%;
}

.titletdf2 {
	width: 34%;
}

.titletdf3 {
	width: 8%;
}

.titletdf4 {
	width: 10%;
}

.titletdf5 {
	width: 34%;
}

.titletdf6 {
	width: 4%;
}

/* --------------------- */

.deletesmallbutton {
  /* background-color: #ff4500; */
  color: white;
  padding: 4px 6px 4px 6px;
  border: 2px solid #ffffff;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  font-family: 'Anaheim', selena, corbel, sans-serif;  
  font-size: 12px;
  outline: none;
  user-select: none;
  margin-left:0;
}
.addsmallbutton {
  /* background-color: #ff4500; */
  color: white;
  padding: 0 7px 0 7px;
  border: 2px solid #ffffff;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  font-family: 'Anaheim', selena, corbel, sans-serif;  
  font-size: 18px;
  outline: none;
  user-select: none;
  margin-left:0;
}


.deletesmallbutton:hover {
  background-color: #ee4500;
  font-family: 'Anaheim', selena, corbel, sans-serif;
  user-select: none;
}

.addsmallbutton:hover {
  background-color: #45a049;
  font-family: 'Anaheim', selena, corbel, sans-serif;
  user-select: none;
}

.addmember {
	
}

/*
============================================================================================
Dashboard
============================================================================================
*/

.dashcolumn {
	width: 32%;
    display: inline-block;
	vertical-align:top;
}

@media screen and (max-width: 1200px) {
	.dashcolumn	{
		width: 46%;
	}
}

@media screen and (max-width: 640px) {
	.dashcolumn	{
		width: 94%;
	}
}

.reportcolumn {
	width: 23%;
    display: inline-block;
	vertical-align:top;
}

/*
============================================================================================
Formular
============================================================================================
*/
.inputdate {
	width: 10.15%;
    display: inline-block;
	vertical-align:top;
}

.inputsearch, .inputlabel {
	width: 31.3%;
    display: inline-block;
	vertical-align:top;	
}

.inputselect, .inputvalue {
	width: 68%;
    display: inline-block;
	vertical-align:top;		
}

.inputselectsmall, .inputvaluesmall {
	width: 36.1%;
    display: inline-block;
	vertical-align:top;		
}

.inputtitle {
	width: 99.8%;
    display: inline-block;
	vertical-align:top;		
}

/*
============================================================================================
"Tabulatoren"
============================================================================================
*/

.tabulator {
	display: inline-block; 
	/* border: 1px solid red; */
	padding-top: 12px;
	padding-bottom: 12px; 
	margin-top: 2px;
	margin-bottom: 2px;
	/* vertical-align:top; */
	/* display: block; */
	/* width: auto; */
}

.tabulatorall {
	/*overflow: hidden;
	float: left;
	display: block; 
	width: 100%; */
}

.dummy {}

