/* alternatives Boxmodell */
html { 
  box-sizing: border-box; 
} 

/* *, ::before, ::after { 
  box-sizing: inherit; 
}*/

body {
    max-width: 75em;
    margin: 0 auto; 
	padding: 0 1em;
    font: normal 1em Arial, sans-serif;  /* Mindestschriftgröße wird dem Browser, bzw. dem Nutzer überlassen! */
	color: #555;
    background: #ddd;
	position:relative;
}

/* ===== header ===== */

header.banner {
	background: #DAECCF;
	padding: .5em 1em;
	box-shadow: 0 0 10px rgba(0,0,0,0.2);
	border-radius: 0 0 1em 1em;
}

#logo {
	/*margin: 22px 0 0 3%;*/
	margin-right: 230px;
	color: #58585a;
	font-size:1.4em;
	font-weight:bold;
	text-decoration: none;
}

header a#navlink {
	display: block;
	float: right;
	color: #88a600;
	text-decoration: none;
	font-size: 2em;
	font-weight: bold;
}

/* ===== content / Inhalt ===== */
	
main {
	padding: 1em;
	background: #fff;
	box-shadow: 0 0 10px rgba(0,0,0,0.2);
	border-radius: 1em;  
}

ul li a {
	color: #97b314; 
}

ul li a:hover {
	color: #8FDE62;
}

/*a:hover,
a:focus {
	background: rgba(195,214,106,0.95);
	color: #708900;
}*/

#logo-img:hover{
	/*background: #8FDE62;*/
	border: solid 5px #8FDE62;
	border-radius: 15%;
	height: 100px;
}

#logo-beschreibung_index {
	text-shadow: 2px 2px #6C6565;
}

#logo-beschreibung {
	text-shadow: 2px 2px #F3F3F3;
}

#logo-beschreibung:hover{
	background: #8FDE62;
	color: #FFFFFF;
}

/*a.button{
	background: #97b314;
	font-weight: bold;
	box-shadow: 0 0 20px #c3d34e inset, 0 2px 1px rgba(0,0,0,0.2);
	color: #fff;
	padding: 0.5em;
	border-radius: .5em;
	text-decoration: none;	
}
a.button:hover,
a.button:focus {
	background: #708900;
}*/

h1 {
}

h1 span,
.akzentfarbe1 {
	color: #8FDE62;
}

.akzentfarbe2 {
	color: orange;
}

aside,
section {
	box-shadow: 0 0 80px rgba(0,0,0,0.1) inset, 0 3px 1px rgba(0,0,0,0.15);
	border-radius: 1em;
	position: relative;
	padding: 0 0 0em;     /* Platz für abslout positionierte Buttons */
	height: fit-content;
	width:  fit-content;
}

aside h2,
section h2 {
	color: #fff;
	padding: .5em;
	margin: 0;
	background: #8FDE62;
	border-radius: .5em;
	box-shadow: 0 3px 0 #74A757;
}

section p {
	padding: 0.5em 1em;
}

section p:first-of-type {
	font-weight: bold;
	color: #708900;
}

aside {
}

section a.button {			
	position: absolute;	/* So werden Buttons immer an der gleichen Stelle, unabhängig vom vorhandenen Inhalt, positioniert */
	right: 1em;
	bottom: 1em;
}

form {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap:.5em; 
	padding: 1em; 
}

form input {
	background: #555;
	border-radius: 4px;
	border: none;
	color: #fff;
	padding: 0.75em 0.75em 0.75em 2.5em;
	font-weight: bold;
}

form#search{ 
	position:relative;
}	

form#search input {
	width: 15em;
	margin: 0 1em;
}		

#search i {
	position: absolute;
	top: 1.2em;
	left: 1.75em;
	color: #bebebe;
}

section ul {
	margin: 1em 0 0 3em;
}
		
section li {
	font-weight: bold;
	margin: 0.5em 0 1em 2em;
}
section li i {
	color: #97b314; 
}

dl.grid { 
  display: grid; 
  grid-template-columns: repeat(2, 1fr);
  padding: 0.5em;
}
dd { 
  margin: 0; 
  padding-left: 1em; 
}
dl.grid dd {
  margin-bottom: 1em;
}

a[href^="tel"] { white-space: nowrap; }

/* ===== Navigation ===== */

#navigation li {
	display: block;
	list-style: none;
	margin-right: .5em; 
	width: 90%;
}

#navigation a {
	display: block; 
	text-decoration: none;
	padding: 0.5em 1em;
	background-color: #fff;
	border-radius: .5em .5em 0 0;	
}

#navigation a[aria-current=page] {
	font-weight:bold;
    background: linear-gradient(rgba(195,214,106,0.95), #fff);
}

#navigation a:hover,
#navigation a:focus, 
#navigation a:active  {
	color: white;
    background: linear-gradient(#97b314, #fff);	   
}		

/* ===== Footer ===== */
	
#social {
	float: left;
}

#social li {
	margin: 0 20px 0 0;
	display:inline-block;;
}
	
#fb {
	background: url("../img/fb.png") no-repeat;
	float: left;
	width: 16px;
	height: 16px;
}
	
#twitter {
	background: url("../img/twitter.png") no-repeat;
	float: left;
	width: 16px;
	height: 16px;
}
	
#yt {
	background: url("../img/yt.png") no-repeat;
	float: left;
	width: 16px;
	height: 16px;
}
	
footer #copyright {
	float: right;
}

/* ===== responsives Layout ===== */

/* Mobile first! 1-Spaltenlayout  */


/* 2-Spaltenlayout, sobald der Platz es erlaubt  */

@media only screen and (min-width: 40em) {
  main {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap:1em;
	position: relative;
	margin: 3em auto 1em;
  }
  
  article {
	grid-column: span 2;
  }
  
  header a#navlink {
	display: none;
  }

  #navigation  {
    position: absolute;
    top: -3em;
  }
  
  #navigation li {
	display: inline-block;
	width: auto;
}

#navigation a {
	display: inline-block; 
}

/* 3-Spaltenlayout, sobald der Platz es erlaubt  */
/* ORG: @media only screen and (min-width: 60em) {*/
/* 3-Spaltenlayout, sobald der Platz es erlaubt  */
@media only screen and (min-width: 60em) {	
  main {
	grid-template-columns: repeat(3, 1fr);
  }

	main header,
	main footer {
	  grid-column: span 3;
	}

	article{
	  grid-column: span 2;		
	}
}

/* Flexbox Fallback wenn der  Browser kein display:grid unterstützt. */
@supports not (display: grid) {
  main {
    display: flex;
    flex-flow: row wrap;
  }

main > * {
  flex: 1 100%;      /* Alle Elemente werden über die volle Breite dargestellt */
} 

article {
  flex: 1 64%;      
  margin: 1%;
}
section,
aside {
  flex: 1 31%;      /* Diese Elemente erhalten eine Breite von 1/3.  */
  margin: 1%;
}
}

.button-direktbuchung,
.button-direktbuchung a {
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    border-radius: 12px;
}
 
.button-direktbuchung {
	width: 165px;
    background: #4c4e5a;
    background: -webkit-linear-gradient(top, #4c4e5a 0%,#2c2d33 100%);
    background: -moz-linear-gradient(top, #4c4e5a 0%,#2c2d33 100%);
    background: -o-linear-gradient(top, #4c4e5a 0%,#2c2d33 100%);
    background: -ms-linear-gradient(top, #4c4e5a 0%,#2c2d33 100%);
    background: linear-gradient(top, #4c4e5a 0%,#2c2d33 100%);
 
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    
    z-index: 3;
    
    display: block;
    margin: 6px 0;
    line-height: 50px;
    
    text-decoration: none;
    text-shadow: 1px 1px 1px rgba(0,0,0,.6);
    text-align: center;
 
    border-left: 1px solid #393942;
    border-right: 1px solid #4f5058;
 
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 13px;
 
    color: #8FDE62;
    
    -webkit-transition: color .2s ease-in-out;
    -moz-transition: color .2s ease-in-out;
    -o-transition: color .2s ease-in-out;
    -ms-transition: color .2s ease-in-out;
    transition: color .2s ease-in-out;
}

.button-autowerbung {
    background: #4c4e5a;
    background: -webkit-linear-gradient(top, #4c4e5a 0%,#2c2d33 100%);
    background: -moz-linear-gradient(top, #4c4e5a 0%,#2c2d33 100%);
    background: -o-linear-gradient(top, #4c4e5a 0%,#2c2d33 100%);
    background: -ms-linear-gradient(top, #4c4e5a 0%,#2c2d33 100%);
    background: linear-gradient(top, #4c4e5a 0%,#2c2d33 100%);
 
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    
    z-index: 3;
    
    display: block;
    margin: 6px 0;
    line-height: 50px;
    
    text-decoration: none;
    text-shadow: 1px 1px 1px rgba(0,0,0,.6);
    text-align: center;
 
    border-left: 1px solid #393942;
    border-right: 1px solid #4f5058;
 
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 13px;
 
    color: #8FDE62;
    
    -webkit-transition: color .2s ease-in-out;
    -moz-transition: color .2s ease-in-out;
    -o-transition: color .2s ease-in-out;
    -ms-transition: color .2s ease-in-out;
    transition: color .2s ease-in-out;
}

.button-direktbuchung a {	
    display: block;
    padding: 0 14px;
    margin: 6px 0;
    text-decoration: none;
 
    border-left: 1px solid #393942;
    border-right: 1px solid #4f5058;
 
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 17px;
 
    color: #f3f3f3;
    text-shadow: 1px 1px 1px rgba(0,0,0,.6);
    
     cursor: pointer !important;
 
    -webkit-transition: color .2s ease-in-out;
    -moz-transition: color .2s ease-in-out;
    -o-transition: color .2s ease-in-out;
    -ms-transition: color .2s ease-in-out;
    transition: color .2s ease-in-out;
}

.button-autowerbung a {	
    display: block;
    padding: 0 14px;
    margin: 6px 0;
    text-decoration: none;
 
    border-left: 1px solid #393942;
    border-right: 1px solid #4f5058;
 
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 17px;
 
    color: #f3f3f3;
    text-shadow: 1px 1px 1px rgba(0,0,0,.6);
    
     cursor: pointer !important;
 
    -webkit-transition: color .2s ease-in-out;
    -moz-transition: color .2s ease-in-out;
    -o-transition: color .2s ease-in-out;
    -ms-transition: color .2s ease-in-out;
    transition: color .2s ease-in-out;
}

.button-direktbuchung a:hover{
 color: #8FDE62;	
}

.button-autowerbung a:hover{
 color: #8FDE62;	
}

.table-fahrzeuge{
 border-bottom: 4px solid #8FDE62; border-left: 2px solid #8FDE62; border-top: 4px solid #8FDE62; border-right: 2px solid #8FDE62; border-radius: 10px;
}

.table-fahrzeugwerbung{
 border-bottom: 8px solid #F30505; border-left: 4px solid #F30505; border-top: 8px solid #F30505; border-right: 4px solid #F30505; border-radius: 10px;
}

.imges_fahrzeuge{
object-fit: cover;
width: 165px;
height: 150px;	
}

.new-button-auto-im-abo,
.new-button-auto-im-abo a {
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    border-radius: 12px;
}
 
.new-button-auto-im-abo {
    background: #4c4e5a;
    background: -webkit-linear-gradient(top, #4c4e5a 0%,#2c2d33 100%);
    background: -moz-linear-gradient(top, #4c4e5a 0%,#2c2d33 100%);
    background: -o-linear-gradient(top, #4c4e5a 0%,#2c2d33 100%);
    background: -ms-linear-gradient(top, #4c4e5a 0%,#2c2d33 100%);
    background: linear-gradient(top, #4c4e5a 0%,#2c2d33 100%);
 
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 10px;
    
    z-index: 3;
    
    /*display: inline-grid;*/
    margin: 6px 0;
    text-decoration: none;
 
    border-left: 1px solid #393942;
    border-right: 1px solid #4f5058;
 
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
    /*font-size: 45px;*/
   
    height: 45px;
 
    color: #8FDE62;
    text-shadow: 1px 1px 1px rgba(0,0,0,.6);
 
    -webkit-transition: color .2s ease-in-out;
    -moz-transition: color .2s ease-in-out;
    -o-transition: color .2s ease-in-out;
    -ms-transition: color .2s ease-in-out;
    transition: color .2s ease-in-out;
}

.new-button-auto-im-abo a {
    padding: 0 14px;
    margin: 6px;
    text-decoration: none;
 
    border-left: 1px solid #393942;
    border-right: 1px solid #4f5058;
 
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
    /*font-size: 45px;*/
 
    color: #f3f3f3;
    text-shadow: 1px 1px 1px rgba(0,0,0,.6);
    
     cursor: pointer !important;
 
    -webkit-transition: color .2s ease-in-out;
    -moz-transition: color .2s ease-in-out;
    -o-transition: color .2s ease-in-out;
    -ms-transition: color .2s ease-in-out;
    transition: color .2s ease-in-out;
}

.new-button-auto-im-abo a:hover{
 color: #8FDE62;	
}

#tooltip_index:focus::before{
        	content: "+41 76 213 13 63";
        	background-color: #8FDE62;
}

#tooltip:focus::after{
        	content: "+41 76 213 13 63";
        	background-color: #8FDE62;    
}

.autoabo {
	color: #8FDE62;
	padding: .5em;
	margin: 5px;
	background: #ffffff;
	border-radius: .5em;
	box-shadow: 7px 5px 5px #74A757;
	border-style: double;
}