/*
  Main CSS File for the app
*/

html, body {
  margin: 0;
}

body {
  position: relative;
}

div.container {
  position: relative;
  width: auto;
}

div.visible {
  display: block !important;
}

.hidden {
  display:none !important;
}

/* OpenEI Skin Fix */

a:hover,
a:focus {
  text-decoration: none;
}

#mainContent {
  height: calc(100% - 45px);
  display: flex;
  flex-direction: column;
}

#mainContent .content {
  flex: 1 0 auto;
}

div#content {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  padding: 0 1.3em 1em;
  background: rgba(238,238,238,0.96);
  overflow: hidden;
}

div#app-container {
  background: white;
  padding: 1px 1em 1em; /* 1px top to force margin reset on any top of page headers */
  box-shadow: 0px 0px 2px rgba(0,0,0,0.1); /* subtle page border */
}

div#mw-footer {
  margin: 0 -15px;
}

.header {
  position: relative;
  overflow: auto; /* terribad OpenEI style rule */
}
.header .menu {
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  border: none;
}

h1.title {
  font-weight: normal;
  font-size: 36px;
}

#footer-info-copyright {
  position: relative;
  margin-top: 0.5em;
}

.xdr-body-container {
  padding-top: 15px;
}

/* Nav */
.navbar {
  border-radius: 0;
  margin-bottom: 0;
}

.navbar-openei {
  margin-bottom: 0;
  background-color: #f5f3f2;
  min-height: 36px;
}

.navbar-openei .navbar-brand {
  height: 40px;
}

.navbar-openei .navbar-header {
  height: 42px;
}

.navbar-openei .nav.navbar-nav.primary-nav a {
  padding: 12px 15px;
}

.navbar-openei .navbar-nav > li.user-menu {
  padding: 4px;
}

.navbar-openei .navbar-nav > li.user-menu > a {
  font-size: 1.2em;
}

.navbar-openei .user-menu .first-initial {
  width: 16px;
}

.navbar-openei .user-menu .dropdown-menu {
  top: 45px;
}

.navbar-openei .user-menu .dropdown-menu:before {
  top: -5px;
  right: 25px;
}

.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
  color: #333333;
}

/* responsive nav */
@media (max-width: 767px) {
  .navbar-inverse .navbar-nav .open .dropdown-menu {
    background: #fff;
  }
  .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
    color: #5e6367;
    text-shadow: none;
  }
}

/* bootstrap OpenEI fix */

.no-gutter > [class*='col-'] {
  padding-right:0;
  padding-left:0;
}

/* bootstrap OpenEI fix */
.progress {
  min-height: 0px;
  min-width: 0px;
}

div#content .dropdown-menu {
  margin: 0;
  padding: 0;
}

.content-wrapper {
  display: flex;
  align-items: stretch;
  height: 100%;
  position: relative;
  z-index: 1;
}

/* General styles */
.btn {
  border-radius: 0;
}

.btn:focus,
.btn:active {
  outline: none;
}

.col-no-padding {
  padding-left: 0;
  padding-right: 0;
}

/* app styles */
.hero {
  background: url('../../assets/img/hero.jpg') no-repeat center center;
  background-size: cover;
  text-align: center;
  align: center;
  margin-bottom: 0;
  min-height: 600px;
}

.hero h1 {
  margin-top: 2em;
  margin-bottom: 0.4em;
  font-size: 86px;
}

.hero-text {
  background-color: rgba(255,255,255, 0.7);
  line-height: 40px;
  padding: 10px;
}

