/*
 *  __                  __
 * /\ \                /\ \
 * \ \ \___   __  __   \_\ \     __
 *  \ \  _ `\/\ \/\ \  /'_` \  /'__`\
 *   \ \ \ \ \ \ \_\ \/\ \_\ \/\  __/
 *    \ \_\ \_\/`____ \ \___,_\ \____\
 *     \/_/\/_/`/___/> \/__,_ /\/____/
 *                /\___/
 *                \/__/
 *
 * Designed, built, and released under MIT license by @mdo. Learn more at
 * https://github.com/poole/hyde.
 */


/*
 * Contents
 *
 * Global resets
 * Sidebar
 * Container
 * Reverse layout
 * Themes
 */


/*
 * Global resets
 *
 * Update the foundational and global aspects of the page.
 */

html {
  font-family: "PT Sans", Helvetica, Arial, sans-serif;
}
@media (min-width: 48em) {
  html {
    font-size: 16px;
  }
}
@media (min-width: 58em) {
  html {
    font-size: 20px;
  }
}

/* overwrite poole definitions */
body { color: #717776; }
h1, h2, h3, h4 { color: #717776; }
strong { color: #717776; }
a { color: #717776; }
a.active { color: #f59b00; }

/*
 * Header
 */

.header {
    height: 4em;
    background-color: #dcdcdc;
    position: sticky;
    right: 0;
    top: 0;
    left: 0;
    display: block;
}
.header .wrap {
    display: flex;
    height: 4em; 
    margin-left: auto;
    margin-right: auto;
}
.logohead {
    height: 2em;
    margin-left: 1em;
    margin-top: 1em;
    display: block;
}
.textlogo {
    height: 2em;
    display: block;
    margin-top: 1em;
    margin-left: auto;
    margin-right: auto;
}
.sidebar-toggle {
    height: 2rem;
    width: 2rem;
    display: block;
    position: relative;
    margin-right: 1rem;
    margin-top: 1rem;
    border: none;
    background-color: #dcdcdc;
}


@media (min-width: 48em) {
    .header {
	display: none;
    }
}

/*
 * Sidebar
 *
 * Flexible banner for housing site name, intro, and "footer" content. Starts
 * out above content in mobile and later moves to the side with wider viewports.
 */

.sidebar {
  text-align: center;
  padding: 2rem 1rem;
  color: #999;
  background-color: #202020;
}

@media (max-width: 48em) {
    .sidebarlogo {
	display: none;  
    }
} 

@media (min-width: 48em) {
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 16rem;
    text-align: left;
    overflow: auto;
  }
}

/* Sidebar image alignment */
.sidebar IMG.logo {
	display: block;
	margin-left: auto;
	margin-right: auto;
	z-index: 2;
}

/* Sidebar links */
.sidebar a {
  color: #717776;
}

/* About section */
.sidebar-about h1 {
  color: #fff;
  margin-top: 0;
  font-family: "Abril Fatface", serif;
  font-size: 1.75rem;
}

/* Sidebar nav */
.sidebar-nav {
  padding-left: 0;
  list-style: none;
}
.sidebar-nav li::before {
	content: "• ";
	color: #f59b00;
}

.sidebar-nav-item {
  display: block;
}
a.sidebar-nav-item:hover,
a.sidebar-nav-item:focus {
  text-decoration: underline;
}
.sidebar-nav-item.active {
  font-weight: bold;
}


/* Sticky sidebar
 *
 * Add the `sidebar-sticky` class to the sidebar's container to affix it the
 * contents to the bottom of the sidebar in tablets and up.
 */

@media (min-width: 48em) {
  .sidebar-sticky {
    position: absolute;
    right:  1rem;
  /*  bottom: 1rem;*/
    left:   1rem;
  }
}


/* Container
 *
 * Align the contents of the site above the proper threshold with some margin-fu
 * with a 25%-wide `.sidebar`.
 */

.content {
  padding-top:    4rem;
  padding-bottom: 4rem;
  background-image: url(/background-content_top.png);
  background-position: left top;
  background-repeat: no-repeat;
  background-size: contain;
  overflow: auto;		      
}
details ul {
    margin-bottom: 0;
}

h2 {
      clear: both;
  }
@media (min-width: 48em) {
  .content {
    max-width: 38rem;
    margin-left: 20rem;
    margin-right: 2rem;
  }
  .content .ansprechpartner img {
      float: right;
  }
   .content .ansprechpartnerkarriere img {
       float: left;
   }
}
@media (min-width: 64em) {
  .content {
    margin-left: 22rem;
    margin-right: 4rem;
  }
}
 .content .ansprechpartnerkarriere img {
      margin-right: 1em;
      width: 5em;
  }
/*
 * Footer
 */
.footer a {
    color: #999;
}
.footer {
    height: 2em;
    background-color: #dcdcdc;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;    
    font-size: small;
    color: #999;
}
.footer .wrap {
    display: block;
    height: 2em;
    margin-left: 0.5em;
    margin-right: 0.5em;
    }
.copyright  {
    float: right;
}
.kontakt {
	display: none;
    }

@media (min-width: 48em) {
    .footer {
	height: 5.5em;
	margin-left: 16rem;
	margin-right: auto;
	position: fixed;
    }
    .footer .wrap {
	height: 4.5em;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
    }
    .kontakt {
	display: contents;
    }
}
.footer p {
    margin-bottom: 0;
}

/*
 * Reverse layout
 *
 * Flip the orientation of the page by placing the `.sidebar` on the right.
 */

@media (max-width: 48em) {
  .layout-reverse .sidebar {
      left: auto;
      bottom: 0;
  }
  .layout-reverse .content {
      margin-left: 2rem;
      margin-right: 20rem;
  }
}

@media (min-width: 64em) {
  .layout-reverse .content {
    margin-left: 4rem;
    margin-right: 22rem;
  }
}



/*
 * Themes
 *
 * As of v1.1, Hyde includes optional themes to color the sidebar and links
 * within blog posts. To use, add the class of your choosing to the `body`.
 */

/* Base16 (http://chriskempson.github.io/base16/#default) */

/* light gray */
.theme-base-07 .content a,
.theme-base-07 .related-posts li {
    color: #717776;
  /*  font-weight: bold;
  /*  font-style: italics;*/
  /*  text-decoration: underline;*/
}

.theme-base-07 .content p a:hover{
    color: #f59b00;
   /* font-weight: bold;*/
}

.theme-base07 .content {
	color: #f59b00;
}
.theme-base07 .container {
	color: #717776;
}
.theme-base-07 .sidebar {
  background-color: #dcdcdc;
}
.theme-base-07 .sidebar li a:hover{
  color: #f59b00;
}

.theme-base-08 .content a,
.theme-base-08 .related-posts li a:hover {
  color: #ac4142;
}

/* Red */
.theme-base-08 .sidebar {
  background-color: #ac4142;
}
.theme-base-08 .content a,
.theme-base-08 .related-posts li a:hover {
  color: #ac4142;
}

/* Orange */
.theme-base-09 .sidebar {
  background-color: #dddddd;
}
.theme-base-09 .content a,
.theme-base-09 .related-posts li a:hover {
  color: #d28445;
}

/* Yellow */
.theme-base-0a .sidebar {
  background-color: #f4bf75;
}
.theme-base-0a .content a,
.theme-base-0a .related-posts li a:hover {
  color: #f4bf75;
}

/* Green */
.theme-base-0b .sidebar {
  background-color: #90a959;
}
.theme-base-0b .content a,
.theme-base-0b .related-posts li a:hover {
  color: #90a959;
}

/* Cyan */
.theme-base-0c .sidebar {
  background-color: #75b5aa;
}
.theme-base-0c .content a,
.theme-base-0c .related-posts li a:hover {
  color: #75b5aa;
}

/* Blue */
.theme-base-0d .sidebar {
  background-color: #6a9fb5;
}
.theme-base-0d .content a,
.theme-base-0d .related-posts li a:hover {
  color: #6a9fb5;
}

/* Magenta */
.theme-base-0e .sidebar {
  background-color: #aa759f;
}
.theme-base-0e .content a,
.theme-base-0e .related-posts li a:hover {
  color: #aa759f;
}

/* Brown */
.theme-base-0f .sidebar {
  background-color: #8f5536;
}
.theme-base-0f .content a,
.theme-base-0f .related-posts li a:hover {
  color: #8f5536;
}
