@import url(//fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700);
html {
  background-color: whitesmoke;
}

/* fonts */
body {
  font-family: 'Open Sans', Helvetica, Arial, sans-serif;
}

.sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0px;
}

.navbar {
  background: no-repeat url("/static/home/images/header1.jpg") left top;
  border: none;
  border-radius: 0;
  margin: 0;
}

.navbar .navbar-brand {
  padding-left: 50px;
  color: #ddd;
}

.navbar .navbar-brand:focus, .navbar .navbar-brand:hover {
  background-color: red;
}

.navbar .navbar-nav > li > a {
  color: #ddd;
  font-size: 1.6rem;
}

.navbar .navbar-nav > li > a:focus, .navbar .navbar-nav > li > a:hover {
  background-color: #e22527;
}

.navbar .navbar-toggle .icon-bar {
  background-color: #ddd;
}

.navbar .navbar-nav .open .dropdown-menu > li > a:focus, .navbar .navbar-nav .open .dropdown-menu > li > a:hover {
  background-color: #e22527;
  color: #ddd;
}

.navbar #search-input {
  border: none;
  opacity: 0.5;
  transition: opacity 0.5s ease-in-out;
}

.navbar #search-input:focus, .navbar #search-input:hover {
  opacity: 1;
}

.navbar #search-button {
  background-color: #111;
  border: none;
  color: #ddd;
}

#header {
  margin-bottom: 5vh;
}

/* Homepage */
.homepage #header {
  position: relative;
  background-repeat: no-repeat;
  background-image: url("/static/home/images/header1.jpg");
  background-position: left bottom;
  background-size: cover;
  height: 65vh;
}

.homepage #header .navbar {
  background: none;
}

.homepage #header .navbar.with-bg {
  background: no-repeat url("/static/home/images/header1.jpg") left top;
}

.homepage #header #banner-overlay {
  position: absolute;
  bottom: 20%;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.homepage #header #banner-overlay p {
  color: #ddd;
  font-size: 1.8rem;
  margin: 0 1rem;
  width: 50%;
  text-align: center;
}

.homepage #header #banner-overlay #banner-logo {
  width: 160px;
  height: auto;
}

/* Footer */
.georgia {
  font-family: Georgia, serif;
}

#footer {
  background-image: url("/static/home/images/bg-down-water-darker.png");
  background-repeat: no-repeat;
  background-size: cover;
  font-size: 1.8rem;
  color: white;
  padding-top: 3rem;
  margin-top: 3rem;
}

#footer .row {
  margin: 1rem 0;
}

#footer a {
  color: #ddd;
  text-decoration: none;
}

#footer a:hover {
  color: #96c1d1;
}

#footer #footer-right {
  border-bottom: 1px solid #b5b5b5;
  padding-bottom: 3rem;
}

#footer #footer-right #footer-uio {
  background-image: url("/static/home/images/uio-app-uio-sickle-medium.png");
  background-repeat: no-repeat;
  background-position: left center;
  padding-left: 90px;
}

#footer .uio-acronym {
  font-size: 3.5rem;
  background-image: url("/static/home/images/double-dots-red.svg");
  background-repeat: no-repeat;
  background-position: 100% 0.45ex;
  background-size: auto .8em;
  padding-right: .6em;
}

#footer .uio-title {
  font-size: 3.3rem;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
}

#footer .uio-subtitle {
  font-size: 1.8rem;
}

#footer-bottom {
  font-size: 1.4rem;
}

#footer-bottom .advert-list {
  padding: 0;
  margin: 0;
  float: right;
}

#footer-bottom .advert-list a {
  color: white;
}

/* body image styles - classes supplied by rich text editor */
.body-content {
  width: 100%;
  overflow: hidden;
  clear: both;
  margin-bottom: 1em;
}

.body-content img {
  margin-bottom: 2%;
  margin-top: 2%;
}

.body-content img.full-width {
  width: 100%;
}

.body-content img.left {
  margin-right: 5%;
  float: left;
}

.body-content img.right {
  margin-left: 5%;
  float: right;
}

.body-content h1, .body-content h2, .body-content h3, .body-content h4, .body-content h5 {
  clear: both;
}

.img-wrapper {
  margin-bottom: 1em;
  position: relative;
}

.img-wrapper img {
  display: block;
  width: 100%;
  margin-bottom: 0;
}

.img-wrapper.left {
  float: left;
  margin-right: 5%;
}

.img-wrapper.right {
  float: right;
  margin-left: 5%;
}

.intro {
  font-size: 1.4em;
}

figure {
  position: relative;
}

figure img {
  max-width: 100%;
  height: auto;
}

figure figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  background: #f2f2f2;
  opacity: 0.9;
  padding: 0.2em 0.5em 0.2em 0.5em;
  font-size: 0.9em;
  font-style: italic;
}

.left {
  float: left;
  margin: 0 1em 1em 0;
}

.thumbnail {
  color: #333;
}

.thumbnail:focus, .thumbnail:hover {
  color: #333;
  text-decoration: none;
}

blockquote {
  margin: 2em 0;
}

blockquote span {
  display: block;
  color: #AAA;
  font-size: 0.8em;
}

/* List styling - tweaks to include images */
a.list-group-item {
  clear: both;
  width: 100%;
  overflow: hidden;
}

a.list-group-item .list-group-item-text {
  margin-top: 1%;
}

a.list-group-item .list-group-item-text img {
  float: left;
  margin-right: 2%;
  margin-bottom: 1%;
}

/* Style pager */
.col-sm-4.pages {
  text-align: center;
}

.col-sm-4.next {
  text-align: right;
}

.main {
  min-height: 700px;
}

.carousel {
  margin-bottom: 15px;
}

.carousel .carousel-caption {
  background-color: rgba(0, 127, 127, 0.6);
  padding-top: 0;
}

.carousel .carousel-caption .btn {
  margin-bottom: 10px;
}

p {
  text-align: justify;
}

p:last-child {
  margin-bottom: 0;
}

/* override some bootstrap */
.jumbotron {
  padding: 10px 10px;
  margin-bottom: 10px;
  color: inherit;
  background-color: #eee;
}
