/* Navigation and Header
–––––––––––––––––––––––––––––––––––––––––––––––––– */
header, .outer {
	padding: 30px 0px 20px 0px;
}
	
.topnav {
	border-left: 1px solid #219dc1;
}

.topnav, nav {
  background-color: #30add1;
  overflow: hidden;
}

.outer {
    background-color: #afe6f6;
	color:#fff;
	text-shadow: 2px 2px #219dc1;
	padding-bottom: 0px;
}

.character {
	background: transparent url('../images/character.png') no-repeat center bottom;
	min-height:200px;
	background-size: contain;	
}

.engineer {
	background: transparent url('../images/alarm-engineer.png') no-repeat center bottom;
	min-height:216px;
	background-size: contain;	
}

.einbruch {
	background: transparent url('../images/einbruch.png') no-repeat center bottom;
	min-height:257px;
	background-size: contain;
}

.heimalarman {
	background: transparent url('../images/heimalarman.png') no-repeat center bottom;
	min-height:325px;
	background-size: contain;
}

.alarmempfangszentrum {
	background: transparent url('../images/alarmempfangszentrum.png') no-repeat center bottom;
	min-height:179px;
	background-size: contain;
}

.einzelpfad {
	background: transparent url('../images/einzelpfad.png') no-repeat center bottom;
	min-height:310px;
	background-size: contain;
}

.dualpfad {
	background: transparent url('../images/dualpfad.png') no-repeat center bottom;
	min-height:399px;
	background-size: contain;
}

.selbstüberwachte {
	background: transparent url('../images/selbstuberwachte.png') no-repeat center bottom;
	min-height:300px;
	background-size: contain;
}

.drahtlose {
	background: transparent url('../images/drahtlose-vs-verdrahtetes.png') no-repeat center bottom;
	min-height:220px;
	background-size: contain;
}
.outer:after {
	content: " ";
    display:block;
    position: relative;
	top:0px;left:0px;
    width:100%;
    height:50px;
    background: linear-gradient(#afe6f6 0%, transparent 0%), linear-gradient(135deg, #FFFFFF 33.33%, transparent 33.33%) 0 0%, #FFFFFF linear-gradient(45deg, #FFFFFF 33.33%, #afe6f6 33.33%) 0 0%;
    background: -webkit-linear-gradient(#afe6f6 0%, transparent 0%), -webkit-linear-gradient(135deg, #FFFFFF 33.33%, transparent 33.33%) 0 0%, #FFFFFF -webkit-linear-gradient(45deg, #FFFFFF 33.33%, #afe6f6 33.33%) 0 0%;
    background: -o-linear-gradient(#afe6f6 0%, transparent 0%), -o-linear-gradient(135deg, #FFFFFF 33.33%, transparent 33.33%) 0 0%, #FFFFFF -o-linear-gradient(45deg, #FFFFFF 33.33%, #afe6f6 33.33%) 0 0%;
    background: -moz-linear-gradient(#afe6f6 0%, transparent 0%), -moz-linear-gradient(135deg, #FFFFFF 33.33%, transparent 33.33%) 0 0%, #FFFFFF -moz-linear-gradient(45deg, #FFFFFF 33.33%, #afe6f6 33.33%) 0 0%;
    background-repeat: repeat-x;
    background-size: 0px 100%, 13px 27px, 13px 27px;
    }

.topnav a {
  float: left;
  display: block;
  color: #fff;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  border-right: 1px solid #219dc1;
}

.topnav a:hover {
	background-color: #29a1c4;
}

.topnav a.active {
	background: #4ec0e1 url('../images/up_arrow1.png') no-repeat center bottom;
	margin: 0;
	cursor: default;
}

.topnav .icon {
  display: none;
}

.dropdown {
    float: left;
    overflow: hidden;
}

.dropdown-content {
    display: none;
    position: absolute;
	background-color:#30add1;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
	clear:left;
    float: left;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    display: block;
	position: absolute;
}


/* Check
–––––––––––––––––––––––––––––––––––––––––––––––––– */
ul.prefix-icon {
	list-style: none;
}

ul.prefix-icon li i {
	margin-right: 1rem;
}

/* Big Number Lists
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.counter {
	counter-reset: my-big-counter;
}

.counter dt {
	position: relative;
	padding: 22px 30px 0px 0;
	float:left;
}

.counter dt:before {
	content: counter(my-big-counter);
	counter-increment: my-big-counter;
	position: absolute;
	left: 0;
	top: 0;
	font-size: 40px;
	font-weight:bold;
}
	
.counter dt {
	padding-left: 35px;
}

.circle {
	border-radius: 40px;
	width: 60px;
	height: 60px;
	display: inline-block;
	margin-right: 10px;
	text-align: center;	
}

.circle i {
	text-align: center;
	line-height: 55px;
	font-size: 30px;
}

/* Table of Contents
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.table-of-contents {
  float: right;
  width: 40%;
  background: #eee;
  font-size: 0.8em;
  padding: 1em 2em;
  margin: 0 0 0.5em 0.5em;
}
.table-of-contents ul {
  padding: 0;
  list-style:disc;
}
#tocList li ul {
	margin-top:0;
	margin-bottom:0;
}

#tocList li ul li {
	list-style: circle;
}

.table-of-contents li {
  margin: 0 0 0.25em 0;
}
.table-of-contents a {
  text-decoration: none;
}
.table-of-contents a:hover,
.table-of-contents a:active {
  text-decoration: underline;
}

h2:target {
  animation: highlight 1s ease;
}

@keyframes highlight {
  from { background: yellow; }
  to { background: white; }
}

/* Colours
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.green {color: green;}
.red {color: red;}
.white {color: white;}

.bggreen {background-color: green;}
.bgred {background-color: red;}
.bgwhite {background-color: white;}

@media screen and (max-width: 800px) {

	.topnav a:not(:first-child) {
		display: none;
	}
	
	.topnav a.icon {
		float: right;
		display: block;
		border-right: none;
	}
	
	h1, h2, h3, p {
	  -webkit-hyphens: auto;
	  -moz-hyphens: auto;
	  -ms-hyphens: auto;
	  hyphens: auto;	
	}

	.logo img {
		height: auto; 
		width: auto; 
	}
	
	nav {
		background-color:transparent;
	}
	
	.topnav{
		border-left: none;
	}	
	
	.topnav a {
		border-right: none;
	}

	.topnav a.active {
		background: #4ec0e1 url('../images/right_arrow.png') no-repeat left center;
		margin: 0;
		cursor: default;
	}
	
	.topnav.responsive {
		position: relative;
	}
	
	.topnav.responsive .icon {
		position: absolute;
		right: 0;
		top: 0;
	}
	
	.topnav.responsive a {
		float: none;
		display: block;
		text-align: left;
	}
	
	html {
  		font-size: 62.5%;
	}
	
	.table-of-contents {
	  width: 75%;	
	  float:none;
	  font-size: 1.2em;
	  margin: 0;
	}

}