/*
Theme Name: embeDD Modern
Author: Peter Steinhaeuser
Description: Theme for the embeDD GmbH WebSite 
Version: 1.0
License: CC BY-ND 4.0 
License URI: h://creativecommons.org/licenses/by-nd/4.0.
Text Domain: newmedia-netc
Tags: one-column, two-columns, right-sidebar, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
*/

/* Fonts
 * -------------------------- */
@import 'assets/fonts/roboto/style.css';
@import 'assets/fonts/roboto-slab/style.css';

/* Reset 
 * --------------------------- */
html { -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body { margin: 0; }
a { background: transparent; text-decoration: none; }
a:active, a:hover { outline: 0; }
img { border: 0; }
input, button, textarea, select { -webkit-appearance: none; -moz-appearance: none; }
h1, h2, h3, h4, h5, h6, p { margin-top: 0; }*/

/* Colour reference
 * --------------------------- */
.light-blue { color: #c3f2f5; }
.dark-purple { color: #4e3e68; }
.light-purple { color: #6a6384; }
.orange { color: #f96f52; }
.shadow { color: rgba(0, 70, 75, .2); }

/* Basic setup 
 * --------------------------- */
body {
  color: #333;
  background-color: #fff;
  font-size: 100%;
  font-family: RobotoSlab, Helvetica, Arial, sans-serif;
  line-height: 2.2;
}

/* embeDD
 * --------------------------- */
a {
  color: #d90e0e;
}

.wrapper {
  margin-top: 75px;
}

/*
 * Basic fonts
 */
h4, h5 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* Header
 * --------------------------- */
.header {
  padding-top: 8px;
  padding-bottom: 7px;
  -webkit-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  background-color: #fff;
  color: #333;
}

.header .navbar {
  float: none;
  vertical-align: top;
  text-transform: uppercase;
  font-family: Roboto, Helvetica, Arial, san-serif;
}

.header .navbar-brand {
  display: flex;
  align-items: center;
}

.header .navbar-brand .image {
  _position: absolute;
  _top: 8px;
  _right: 0;
  height: 40px;
  width: 154px;
  _margin-right: 50px;
  background-image: url('assets/images/embedd-logo_hidpi.png');
  background-size: 154px 30px;
  background-position-y: 5px;
  background-repeat: no-repeat;
}

.header .navbar-brand span {
  display: none;
}

.header .navbar a {
  color: #333;
}

.nav-link {
  padding: 6px 1rem;
}

.switcher-dropdown {
  margin-left: 8px;
  line-height: 18px;
}

.header .navbar-brand .switcher-dropdown span {
  display: inline-block;
}

#top-background #image {
  position: absolute;
  z-index: -2;
  top: -30px;
  width: 100%;
  height: 400px;
  background-image: url('assets/images/bg_embedd_hires.png');
  background-position: center;
  background-size: 659px 400px;
}

.home #top-background #image {
  top: 70px;
}

#top-background #image .page {
  height: 250px;
}

.nmn-slide {
  height: 250px;
/*  background-color: #03283b;
  background-image: url('assets/images/header_bg.png');
  background-position: center;
  background-size: cover;
*/  text-align: center;
  font-weight: 500;
  color: #fff;
}

.nmn-slide-front {
  height: 350px;
}

.nmn-slide .slide-content {
  height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.nmn-slide-front .slide-content {
  height: 330px;
}

.nmn-slide .slide-content .item {

}

.nmn-slide h1 {
  font-size: 5em;
  max-width: 1200px;
}

.nmn-slide .btn-primary {
  margin-top: 1rem;
  background-color: #1482BE;
}

/* Main
 * --------------------------- */

.main-raised {
  margin: -20px auto 20px auto;
  border-radius: 4px;
  -webkit-box-shadow: 0 16px 24px 2px rgba(0,0,0,0.14),0 6px 30px 5px rgba(0,0,0,0.12),0 8px 10px -5px rgba(0,0,0,0.2);
  box-shadow: 0 16px 24px 2px rgba(0,0,0,0.14),0 6px 30px 5px rgba(0,0,0,0.12),0 8px 10px -5px rgba(0,0,0,0.2);
  background-color: #fff;
}

.main-content {
  padding-top: 50px;
  padding-bottom: 50px;
}

#site-content h2 {
  margin-top: 20px;
  margin-bottom: 20px;
}

/*
 * Footer
 * --------------------------- */
.footer {
  width: 100%;
  margin-top:100px;
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: #888;
  color: #fff;
  box-shadow: 0 100vh 0 100vh #888;
  font-family: Roboto, Helvetica, Arial, san-serif;
}

.footer .menu {
  list-style: none;
  padding-inline-start: 0;
}

.footer .menu a {
  color: #fff;
}

.footer .menu a:hover {
  text-decoration: none;
}

/* WP specific
 * --------------------------- */
.wp-block-group {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/* Media related
 * --------------------------- */

/* Medium devices (tablets, 768px and up) */
@media (max-width: 768px) {
  .container {
    max-width: 600px;
    padding-left: 0;
    padding-right: 0;
  }

  .container-raised {
    max-width: 600px;
    padding-left: 35px;
    padding-right: 35px;
  }

  .salsamora-slogan {
    padding: 30px 0;
    font-size: 3em;
  }

  .nmn-slide h1 {
    font-size: 4em;
  }

  .nmn-slide h3 {
    font-size: 1.5em;
  }
}

/* ---- separators ---- */
#site-content .wp-block-separator {
    width: 200px;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    border-top-width: 1px;
    border-top-color: rgba(0,0,0,0.2);
}

/*
 * Footer
 * --------------------------- */
.footer {
  width: 100%;
  min-height: 200px;
  margin-top:100px;
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: #eee;
  color: #626262;
  box-shadow: 0 100vh 0 100vh #e6eef4;
  font-family: Roboto, Helvetica, Arial, san-serif;
}

.footer .menu {
  list-style: none;
  padding-inline-start: 0;
}

.footer .menu a {
  color: #626262;
}

.footer .menu a:hover {
  text-decoration: none;
}

/* WP specific
 * --------------------------- */
.wp-block-group {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 576px) {
  .wrapper {
    margin-top: 50px;
  }

  .header {
    text-align: left;
  }

  .nmn-slide h1 {
    font-size: 2.5em;
  }

  .nmn-slide h3 {
    font-size: 1.25em;
  }

  .main-content {
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 20px;
    padding-right: 20px;
  }

  .container-raised .main-content {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Cookie banner
 * --------------------------- */
.cn-button.bootstrap {
  background-color: #d90e0e; 
}
