/*!
Theme Name: d3p_supervision_inkofer
Author: Matthias Maenner
Author URI: http://www.dotandpixel.de
Description: A custom theme for supervision-inkofer.de
Version: 1.0.0
Copyright: Matthias Maenner

*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Layout
# Typography
# Header
# Content
# Footer
# Media Queries

# Colors
* blue dark: #07528F rgb(7, 83, 143) 
* blue light: #7AABCA rgb(122, 171, 202) 
* blue lighter: #B8CFE0 rgb(184, 207, 224) 
* orange: #CC6A39 rgb(204, 106, 57) 

# Fonts 
* font-family: "Fira Sans",Helvetica,Arial,sans-serif;
* font-weight: 300;
* font-weight: 300; font-style: italic;
* font-weight: 500;
* font-weight: 500; font-style: italic;
* font-family: "Noto Serif","Times New Roman", Times, serif;
* font-weight: 400
* font-style: italic;

 
--------------------------------------------------------------*/

/* Webfonts */

/* font-family: "Fira Sans",Helvetica,Arial,sans-serif; */
@font-face {
  font-family: 'Fira Sans';
  src: url('../fonts/FiraSans-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fira Sans';
  src: url('../fonts/FiraSans-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Fira Sans';
  src: url('../fonts/FiraSans-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fira Sans';
  src: url('../fonts/FiraSans-MediumItalic.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
/* font-family: "Noto Serif","Times New Roman", Times, serif; */
@font-face {
  font-family: 'Noto Serif';
  src: url('../fonts/NotoSerif-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/*--------------------------------------------------------------
# Layout
--------------------------------------------------------------*/

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}
html {
  font-size: 62.5%;
}
body {
  min-height: 100%;
  font-family: "Fira Sans",Helvetica,Arial,sans-serif;
  font-size: 16px;
  font-size: 1.6rem;
  font-weight: 300;
  line-height: normal;
  font-style: normal;
  letter-spacing: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -webkit-font-smoothing: subpixel-antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  font-smooth: always;
  color: #07528F;
  background: #FFF;
  background: -moz-linear-gradient(left, rgba(122,171,202,1) 0%, rgba(255,255,255,0) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(left, rgba(122,171,202,1) 0%,rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right, rgba(122,171,202,1) 0%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7aabca', endColorstr='#00ffffff',GradientType=1 ); /* IE6-9 */
}

body * {
  box-sizing: border-box;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/

h1, h2, h3, h4, h5, h6 {
  font-weight: 300;
}

h1 {
  font-size: 30px;
  font-size: 3rem;
  text-transform: uppercase;
}

h1.site-name {
  display: none;
}

a {
  text-decoration: none;
  transition: all 400ms ease-in-out;
}

a:link, a:visited {
  color: #07528F;
}

a:hover, a:active, a:focus {
  color: #fff;
}

img {
  max-width: 100%;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

#header {
  position: relative;
  overflow: hidden;
}

#header .site-logo, 
#header .site-slogan span,
#content {
  display: block;
  width: 300px;
  margin: 0 auto;
}

#header .site-logo {
  position: relative;
  z-index: 2;
  padding: 20px 0 0;
  padding: 2rem 0 0;
}

#header .site-logo::before {
  content: "";
  position: absolute;
  top: 50px;
  left: -100px;
  z-index: -1;
  width: 300px;
  height: 300px;
  background: -moz-radial-gradient(center, ellipse cover, rgba(0,124,170,0.3) 25%, rgba(255,255,255,0) 60%); /* FF3.6-15 */
  background: -webkit-radial-gradient(center, ellipse cover, rgba(0,124,170,0.3) 25%,rgba(255,255,255,0) 60%); /* Chrome10-25,Safari5.1-6 */
  background: radial-gradient(ellipse at center, rgba(0,124,170,0.3) 25%,rgba(255,255,255,0) 60%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7AABCA', endColorstr='#00ffffff',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

#header .site-logo img {
  width: 300px;
  height: 344px;
}

#header .site-navigation {
  position: relative;
  display: inline-block;
  width: auto;
  margin: 0.4em;
  border: 2px solid #FFF;
  border-radius: 8px;
  z-index: 2; 
}

#header .site-navigation ul {
  display: block;
  padding: 0;
  margin: 0;
  height: 2em;
  line-height: 0;
}

#header .site-navigation ul li {
  display: inline-block;
  margin: 0 0.3em;
  list-style: none;
  list-style-image: none;
}

#header .site-navigation ul li a {
  display: block;
  padding: 0.5em 0;
  font-size: 16px;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1em;
  color: #FFF;
}

#header .site-navigation ul li a:hover,
#header .site-navigation ul li a:active,
#header .site-navigation ul li a:focus {
  color: #07528F;
}

#header .site-name {
  display: none;
}

.site-description {
  position: absolute;
  top: -50px;
  left: -20px;
}

.site-description .description-profile {
  position: absolute;
  top: 310px;
  left: 200px;
  display: block; 
  width: 130px;
  height: 130px;
  padding-top: 5px;
  -moz-border-radius:     65px;
  -webkit-border-radius:  65px;
  border-radius:          65px;
  background: rgba(255,255,255,0.7);
  z-index: 2;
}

.site-description .description-profile img {
  display: block; 
  width: 110px;
  margin: 0 auto;
  height: 110px;
  -moz-border-radius:     90px;
  -webkit-border-radius:  90px;
  border-radius:          55px;
}

.site-description .description-text {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 400px;
  height: 400px;
  -moz-border-radius:     200px;
  -webkit-border-radius:  200px;
  border-radius:          200px;
  background: rgba(255,255,255,0.7);
  z-index: 1;
}

.site-description .description-text-inner {
  position: absolute;
  top: 50%;
  left: 40px;
  display: block;
  width: 300px;
  height: 220px;
  margin-top: -110px;
  font-size: 12px;
  font-size: 1.2rem;
  font-weight: 500;
  font-style: italic;
  color: #CC6A39;
}

.site-description .description-text-inner ul {
  padding-left: 0;
}

.site-description .description-text-inner ul li {
  margin-left: 1em;
}

#header .site-slogan {
  position: relative;
  display: block;
  margin: 0;
  padding: 0.5em 0 0.3em 0;
  border-top: 1px solid #FFF;
  border-bottom: 1px solid #FFF;
  font-family: "Noto Serif","Times New Roman", Times, serif;
  font-weight: 400;
  font-style: italic;
  font-size: 60px;
  font-size: 2.25rem;
  color: #FFF;
  z-index: 1;
}

/*--------------------------------------------------------------
# Header Transition
--------------------------------------------------------------*/

#header::after {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  bottom: -20px;
  right: -20px;
  z-index: -1;   
  background-image: url("/images/supervision-florian-inkofer_bg-header_s.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  transition: all 2000ms ease-in-out;
}

body.transition #header::after {
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  opacity: 1;
}

body.transition #header h2.site-slogan {
  border-top: none;
}

#header h2.site-slogan::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: -1;   
  opacity: 0;
  transition: opacity 2000ms ease-in-out;
}

body.transition #header h2.site-slogan::after {
  background: -moz-linear-gradient(left, rgba(122,171,202,1) 0%, rgba(255,255,255,0) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(left, rgba(122,171,202,1) 0%,rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right, rgba(28,114,144,0.85) 0%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7aabca', endColorstr='#00ffffff',GradientType=1 ); /* IE6-9 */
  opacity: 1;
}

.logo-content,
body.transition .logo-header {
  opacity: 0;
}

body .logo-content {
  transition: none;
}

body.transition .logo-content {
  opacity: 1;
  transition: opacity 2000ms ease-in-out;
}

body .site-description {
  opacity: 0;
  transition: none;
}

body.transition .site-description {
  opacity: 1;
  transition: opacity 2000ms ease-in-out;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

#content {
  position: relative;
  padding-bottom: 3em;
}

#content .logo-content {
  position: absolute;
  display: none;
  top: -10px;
  top: -1rem;
  left: -75px;
  left: -7.5rem;
}

#content .logo-content img {
  width: 60px;
  height: 69px;
}

#content h1.page-title {
  margin: 0.8em 0 0.67em 0;
}

#content .address {
  font-style: italic;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

#footer {
  position: fixed;
  right: 25px;
  bottom: 5px;
  left: 12px;
  text-align: right;
  padding: 0.4em 0.8em;
  font-size: 16px;
  font-size: 1.6rem;
  z-index: 999;
}

#footer a {
  font-size: 16px;
  font-size: 1.6rem;
  text-shadow: 1px 1px 0 #ffffff;
}

#footer a:hover,
#footer a:active,
#footer a:focus {
  color: #B8CFE0;
}