p {
	margin-bottom: 10px;
}

pre {
  white-space: pre-wrap;
  text-align: left;
}

input[type=text]{
	font-size: 1em;
	padding: 10px;
	border: none;
    background-color: transparent;
    width: 100%;
}
input[type=text]:focus-visible{
	outline: none;
}

input[type=password],
input[type=number],
input[type=tel],
textarea,
select {
	font-size: 1em;
  padding: 2px 3px;
  margin: 2px;
  border: 2px solid green;
  outline: 1px solid white;
  border-radius: 5px;
}


.content > * {
	padding: 0 15px;
}

.search > * {
	font-size: 1rem;
    border-radius: 5px;
    padding: 5px;
    margin: 10px 0;
    background-color: rgb(255, 255, 255, 0.1);
    box-shadow: 
    	0 0 10px 5px rgb(var(--theme_color), 0.3),
    	inset 0 0 20px rgb(var(--theme_color), 0.3);
}

.search p {
	margin-bottom: 3px;
	padding: 0;
}

.search > * > * {
	padding: 3px 0;
}

.searchInput {
	display: grid;
	grid-template-columns: 1fr auto;
	margin: auto;
	max-width: 400px;
    border: 2px solid rgb(var(--theme_color), 1);
    border-radius: 1000px;
}


.lastSearch {
	font-size: 1.3em;
	padding: 10px 0 0 0;
}
.lastSearch a {
	color: rgb(var(--theme_color), 1)
}

.last_address{
	display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 100%;
}

.nearCompany-container {
	display: block;
	color: rgb(var(--text-color));
	text-decoration: none;
	max-width: 400px;
    margin: 10px auto;
    padding: 10px;
    border-radius: 5px;
    background-color: rgb(255,255,255,0.1);
    box-shadow: inset 0 0 50px rgb(var(--theme_color), 1);
}

@keyframes moveLogo {
	0% {
		margin-left: -150%;
		transform: scale(0);
	}
	100% {
		margin-left: 0;
		transform: scale(1);
	}
}

.index_logo {
	width: 100%;
	max-width: 400px;
	animation: moveLogo ease 1.5s;
}




.company > h2 {
	margin-top: 20px;
}
.company a {
	font-size: 1.2em;
	margin: 4px;
	color: rgb(var(--theme_color), 1);
}

details {
	text-align: left;
	padding: 10px;
	cursor: pointer;
	border-radius: 5px;
	background-color: white;
    box-shadow: inset 0 0 50px rgb(var(--theme_color), 0.2);
}
details summary {
	font-size: 1.2em;
}
details > div {
	margin-left: 30px;
}
ol li {
	padding: 5px;
}



.to-location > div {
	box-shadow: inset 0 0 120px rgb(var(--theme_color), 0.5);
	
	margin: 5px 0;
    padding: 10px;
	border-radius: 10px;
}

.to-location h2 {
	font-size: 2em;
}

.to-location a {
	background-color: rgb(var(--theme_color), 0.7);
    border-radius: 7px;
    z-index: 1;
    
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    margin-top: 10px;
    padding: 5px;
    
    color: white;
    text-decoration: none;
    
	font-size: 2em;
}








.to-company-type {
	display:flex;
	flex-direction: column;
}

.to-company-type > a {
	display: flex;
    align-items: center;
	justify-content: center;
	position: relative;
    margin: 10px 0;
    padding: 10px;
    box-shadow: inset 0 0 120px rgb(var(--theme_color), 1);
    color: white;
    text-decoration: none;
    border-radius: 15px;
}

.to-company-type .search-icon {
	position: absolute;
	color: black;
	height: 100%;
  		width: 100%;
}
.to-company-type .search-icon > svg {
	width: 100%;
    height: 100%;
}

.to-company-type .search-text {
    background-color: rgb(var(--theme_color), 0.8);
    border-radius: 10px;
    z-index: 1;
    
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.to-company-type h2 {
	font-size: 3em;
    font-weight: 700;
}

.to-company-type p {
	margin: 10px;
	font-size: 2em;
	color: rgb(200,230,110, 1);
}










#banner picture {
	position: relative;
	display: inline-block;
	min-height: 50px;
	width: 100%;
}
#banner .edit {
	position: absolute;
	right: 5px;
	bottom: 10px;
	z-index: 999;
	background-color: rgb(var(--theme_color), 0.8);
	border-radius: 5px;
}
#logo picture {
	position: relative;
	display: inline-block;
	min-height: 30px;
    max-width: 80%;
    margin: auto;
}
#logo .edit {
	position: absolute;
	right: 5px;
	bottom: 10px;
	z-index: 999;
	background-color: rgb(var(--theme_color), 0.8);
	border-radius: 5px;
}
.company-banner {
  object-fit: cover;
  object-position: center;
  aspect-ratio: 21 / 9;
  
  box-sizing: border-box;
  width: 100%;
}
.company-logo-wrapper{
	transform: translateY(-60%);
	margin-bottom: -6.5em;
	text-align: center;
}
.company-logo-wrapper_without-banner{
    margin-bottom: -5px;
    text-align: center;
}
.company-logo {
  box-sizing: border-box;
  object-fit: contain;
  height: 10em;
  max-width: 100%;
/*   background-color: rgb(255,255,255,0.9); */
  padding: 5px;
/*   border: 5px solid rgb(var(--theme_color),1); */
  border-radius: 20px;
}




.edit{
	display: flex;
	font-size: 1.3rem;
	border-radius: 1000px;
    padding: 10px;
    margin: 1px;
    background-color: rgb(var(--theme_color), 1);
}
.edit > * {
	display: grid;
    grid-template-columns: auto auto auto;
	padding-right: 0;
	white-space: nowrap;
	text-align: center;
}
.edit > * > button {
	color: white;
	font-size: 0.8em;
	border: none;
	border-radius: 1000px;
    cursor: pointer;
    padding: 5px 20px;
    margin: -10px;
    background-color: transparent;
}

.edit > * > div {
	width: 2px;
	background-color: white;
}















.footer,
.footer a {
	color: black;
}
























/*Extra small devices (portrait phones, less than 576px)
No media query since this is the default in Bootstrap*/

/*Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) {
	
}

/*Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {
}

/*Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {
  #index .header_name {
	font-size: 1em;
  }
  .content {
  	width: 70%;
  	margin: auto;
  }
}

/*Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {
  
}

/*XX-Large devices (larger desktops, 1400px and up)*/
@media (min-width: 1400px) { 
  
}

/* CSS Code wenn Dark Mode aktiv */ 
@media (prefers-color-scheme: dark) {
  /*:root {
  	color: white;
  	background-color: black;
  }
  .control-container {
  	background-color: black;
  }
  .company-time {
      background-color: grey;
  }
  .company-description {
      background-color: grey;
  }
  .menu-day {
      background-color: grey;
  }
  .card-type {
      background-color: grey;
  }*/
  
}

@media print {

}