/*! HTML5 Boilerplate v7.1.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 1.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

 
/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

   html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}




 /* ==========================================================================
   Author's custom styles
   ========================================================================== */

@font-face {
    font-family: 'Roboto';
    src: local('Roboto'),
        url('../fonts/Roboto/Roboto-Light.ttf')
        format('TrueType')
}


body {
    font-size: 1em;
    line-height: 1.4;
	width: 100%;
	font-family: 'Open Sans';
	counter-reset: agbtitel;
}

body, h1, h2, h3, h4, p {
	margin: 0;
	padding: 0;
}


.bild-slider img:hover {
	opacity: 0.5;
}
.bild-slider {
	width: 100%;
}
.bild-slider img {
	width: 100%;
	height: auto;
	border-radius: 50%;
	opacity: 0.8;
	margin: 0 auto;
	
}
.ueber-mich img {
		height: 120px;
		width: 120px;
	}
h1, h2, h3 {
	font-family: 'Open Sans';
}
h1 {
	font-size: 1.6em;
}
h2 {
	font-size: 1.2em;
}
h3 {
	padding-top: 3em;
}
.location h2 {
	padding-top: 4em;
}
h4 {
	padding-top: 4em;
}
h1 {
	padding: 5em 0 2em 0;
}
/* Holder */
.holder {
	margin: 0 auto;
	width: 80%;
}
.pruefung .holder, .ueber-mich .holder, .location .holder, .impressum .holder {
	padding-top: 5em;
	text-align: center;
	margin: 0 auto;
}

/* Navigation */
nav {
	height: 100px;
	background: #fff;
	text-align: left;
	position: fixed;
	width: 100%;
	z-index: 99;
}
.home {
	width: 20%;
	float: left;
}
.menu {
	float: right;
	padding-top: 20px;
}
nav li {
	display: inline-block;
	padding-top: 20px;
}
a {
	color: #132e30;
	text-decoration: none;
}
a:hover {
	color: #62ccec;
}
ul {
	padding: 0;
}

    

@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url('../icons/MaterialIcons-Regular.eot'); /* For IE6-8 */
  src: local('Material Icons'),
    local('MaterialIcons-Regular'),
    url('../icons/MaterialIcons-Regular.woff2') format('woff2'),
    url('../icons/MaterialIcons-Regular.woff') format('woff'),
    url('../icons/MaterialIcons-Regular.ttf') format('truetype');
}
.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 35px;  /* Preferred icon size */
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  padding: 0 8px;

  /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;

  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;

  /* Support for IE. */
  font-feature-settings: 'liga';
}

.location .material-icons {
	font-size: 20px;
}

/* Angebot */
.startseite {
	background: #62ccec;
	height: 100vh;
	width: 100%;
	
}



.pruefung, .pruefung .material-icons, .pruefung a  {
	color: #132e30;
}
p {
	padding-top: 1em;
	padding-bottom: 3em;
}

.pruefung-text {
	padding-bottom: 50px;
}
.pruefung img {
	padding-top: 4em;
}
/* Footer */
footer {
	color: #132e30;
}
.footer-block {
	padding: 2em;
	text-align: center;
}

.titel-1 {
	position: relative;
	right: 1.8em;
	font-weight: normal;
}
.titel-2 {
	position: relative;
	left: 0.8em;
}

.link-agb {
	padding: 2em;
	font-size: 0.7em;
}
.link-agb:hover {
	color: #62ccec;
}
.pruefungsorganisation .holder
	{
		height: 100vh;
		display: flex; 
    	justify-content: center; 
    	align-items: center;
	}

	.agb h2 {
	counter-increment: agbtitel;
	margin-top: 2em;
}
.agb h2:before {
	content: counter(agbtitel) " ";
}
footer p {
	font-size: 0.8em;
}
nav .material-icons {
	font-size: 30px;
}
@media only screen and (min-width: 800px) {
    /* Style adjustments for viewports that meet the condition */
h2 {
	font-size: 1.5em;
}

	nav .material-icons {
	font-size: 50px;
}
	h1 {
		font-size: 2.2em;
	}
	.bild-slider {
		text-align: center;
	}
.pruefungsorganisation .bild-slider img {

	height: 500px;
	width: 500px;
	margin: 0 auto;
	}


.titel-1 {
	position: relative;
	right: 4em;
}
.titel-2 {
	position: relative;
	left: 2em;
}	
	
	.pruefung .holder, .ueber-mich .holder, .location .holder, .impressum .holder, pruefungsorganisation .holder {
		margin: 0 auto;
		width: 60%;
	}
.agb {
		width: 60%;
		margin: 0 auto;
	}



	.sms {
		display: none;
	}

/* Tooltips */


.tooltip {
    position: relative;
}
.tooltip:after {
    position: absolute;
    padding: 8px;
    border: 3px solid #62ccec;
    border-radius: 8px;
    background-color: #62ccec;
	font-family: 'Open Sans';
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    content: attr(data-tooltip);
   	min-width: 280px;
	text-align: center;
    opacity: 0;
    
    visibility: hidden;
    z-index: 2;
}

.tooltip:hover:after {
    opacity: 1;
    visibility: visible;
}
.tooltip-top:after {
    bottom: 150%;
    left: 0;
}
.tooltip-bottom:after {
    top: 155%;
    right: 0;
}


/*Tooltip final positions*/
.tooltip-top:hover:after {
    bottom: 120%;
	
}
.tooltip-bottom:hover:after {
    top: 125%;
}

/*triangle*/
.tooltip-top:before,
.tooltip-bottom:before {
    content: "";
    display: block;
    position: absolute;
    border-width: 7px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0);
    opacity: 0;
    visibility: hidden;
}
.tooltip-top:hover:before,
.tooltip-bottom:hover:before {
    opacity: 1;
    visibility: visible;
}
/*Triangle starter positions*/
.tooltip-top:before {
    top: -51%;
    left: 50%;
    transform: translateX(-50%);
    border-top-color: #62ccec;
}


.tooltip-bottom:before {
    bottom: -56%;
    left: 50%;
    transform: translateX(-50%);
    border-bottom-color: #62ccec;
}
	



/* Triangle final positions */
.tooltip-top:hover:before {
    top: -21%;
}
.tooltip-bottom:hover:before {
    bottom: -26%;
}
/*Spezialfarben*/

	.pruefung .tooltip:after {
		 border: 3px solid #62ccec;
		color: #fff;
	}
	.pruefung .tooltip-bottom:before {
		border-bottom-color: #62ccec;
	}
	
}








 /* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

 .hidden {
  display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap; /* 1 */
}

/*
* Extends the .visuallyhidden class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
  white-space: inherit;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}

 
/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

   @media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

 
/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

   @media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}


