/*
Theme Name: NMN Modern
Author: Peter Steinhaeuser
Description: Theme for the NewMedia-NET 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: 110%;
  font-family: RobotoSlab, Helvetica, Arial, sans-serif;
  line-height: 2.0;
}

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

.wrapper {
  margin-top: 75px;
}

/* Header
 * --------------------------- */
.header {
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #03283b;
  color: #fff;
}

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

.header .navbar-brand img {
  height: 40px;
  width: 180px;
  background-image: url('assets/images/nmn-logo.png');
  background-size: 180px 35px;
  background-position-y: 8px;
  background-repeat: no-repeat;
}

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

.header .navbar-toggler {
  margin-right: 5px;
}

.navbar-light .navbar-nav .nav-link {
  padding: 6px 1rem;
  color: #fff;
}

.navbar-light .navbar-toggler {
  color: #fff;
  border-color: #fff;
}

.switcher-dropdown {
  line-height: 20px;
}

#top-background #image {
  position: absolute;
  z-index: -2;
  width: 100%;
  height: 350px;
  background-color: #03283b;
  background-image: url('assets/images/header_bg.png');
  background-position: center;
  background-size: cover;
}

#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;
}

.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: 30px;
  margin-bottom: 30px;
}

#site-content .wp-block-separator {
  width: 200px;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  border-top-width: 2px;
  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: #e6eef4;
  color: #1f599e;
  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: #1f599e;
}

.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: 991px) {
  .navbar {
    display: block;
  }

  .header .navbar-right {
    position: absolute;
    top: 18px;
    right: 15px;
  }
}

@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;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 576px) {
  .header {
    text-align: left;
  }

  .salsamora-slogan {
    padding: 20px 0;
    font-size: 1.8em;
  }

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

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

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