@charset "UTF-8";
@font-face {
  font-family: 'DINNext';
  font-weight: normal;
  font-style: normal;
  font-display: fallback;
  src: url("../fonts/DIN_Next/DINNextW1G-Regular.otf") format("opentype"); }

@font-face {
  font-family: 'DINNext';
  font-weight: bold;
  font-style: normal;
  font-display: fallback;
  src: url("../fonts/DIN_Next/DINNextW1G-Medium.otf") format("opentype"); }

body {
    position: relative;
    padding-top: 0;
    padding-bottom: 20px;
    font-family: DINNext, Helvetia, Arial, sans-serif;
    font-size: 18px;
}

a:hover {
    text-decoration: none;
    color: #2d6987;
}

.navbar {
    margin-top: 0;
}

.navbar-right {
    line-height: 20px;
    margin-top: 7px;
}

.navbar-brand {
    line-height: 90px;
}

.page-header {
    margin-top: 30px;
}

.breadcrumb {
    margin-top: 20px;
}

.preamble {
    margin-top: 30px;
}

.content h2:first-of-type {
    margin-top: 0;
}

.half-rule {
    width: 100px;
    margin: 30px auto 50px;
}

.nobr {
    white-space: nowrap;
}

.fa {
    margin-right: 0.5em;
}

.checklist {
    padding: 0;
    list-style: none;
}

.carousel-caption {
    position: relative;
    right: 0;
    left: 0;
}

.carousel-caption > h3 {
    color: rgb(31, 64, 122);
}

/* footer */

.footer {
    margin-top: 30px;
    padding-top: 16px;
    color: #777;
    border-top: 1px solid #ecf0f1;
    text-align: center;
}

.footer p {
    margin: 0;
}

/* code */

code {
    padding: 0 2px 0 2px;
    font-size: inherit;
    /* color: #333; */
    color: inherit;
    white-space: nowrap;
    background-color: transparent;
    border-radius: 0;
}

pre {
    border: 1px solid #ecf0f1;
    /*font-size: 85%; */
    color: #333;
    line-height: 1.2;
    background-color: transparent;
}

/* nested lists */

.content ul li ul li:last-child,
.content ul li ul li:last-child,
.content ul li ol li:last-child,
.content ol li ol li:last-child
{
    margin-bottom: 10px;
}

.content ul li p,
.content ol li p
{
    margin-bottom: 5px;
}

/* blockquote */
blockquote p {
    font-size: inherit;
    line-height: inherit;
}

/* toc */

.toc {
    line-height: normal;
}

.toc ul {
    padding-left: 0;
    font-size: 90%;
    list-style: none;
    border-bottom: 1px solid #c9cfd2;
}

.toc ul li {
    padding-top: 3px;
    border-top: 1px solid #c9cfd2;
}

.toc ul li a {
    display: block;
    color: #333333;
    padding: 0.3125rem 0.75rem;
    text-decoration: none;
    line-height: 1.4285714286;
    font-weight: 400;
}

.toc ul ul {
    padding-left: 10px;
    font-size: 95%;
}

/* affix hacks from boostrap 3.0 docs */
.sidebar.affix {
    position: relative;
}

@media (min-width: 992px) {
    /* Widen the fixed sidebar */
    .sidebar.affix,
    .sidebar.affix-bottom {
        width: 213px;
    }

    .sidebar.affix {
        position: relative; /* Undo the static from mobile first approach */
        top: 0;
    }

    .sidebar.affix-bottom {
        position: relative; /* Undo the static from mobile first approach */
    }
}

@media (min-width: 1200px) {
    /* Widen the fixed sidebar again */
    .sidebar.affix,
    .sidebar.affix-bottom {
        width: 263px;
    }
}


a[href^="https://"]:not([href*="sis.id.ethz.ch"]):not([href*="www.ethz.ch"]):after {
    content: " \f08e ";
    font-family: FontAwesome;
    font-size: x-small;
}

a[href^="http://"]:not([href*="sis.id.ethz.ch"]):not([href*="www.ethz.ch"]):after {
    content: " \f08e ";
    font-family: FontAwesome;
    font-size: x-small;
}

.jumbotron {
    padding-top: 9px;
    padding-bottom: 33px;
    background-color: transparent !important;
}

.jumbotron p {
    font-size: 25px;
}

/*
 * Bootstrap overrides
 */
    .navbar.navbar-default {
    padding-bottom: 0;
    margin-bottom: 0;
    background-color: transparent;
    border-color: transparent;
}

.navbar-default .navbar-nav > li > a {
    color: black;
    font-weight: normal;
}


ul.navbar-nav li ul {
    padding-top: 0;
    padding-bottom: 0;
}


ul.navbar-nav li ul li a {
    padding-top: 10px;
    padding-bottom: 10px;
}

.navbar-default .navbar-nav > .active > a {
    color: black;
    text-decoration: underline;
    background-color: white;
}

.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .open > a:hover {
    color: black;
    text-decoration: underline;
    background-color: white;
}

.nav-item{
    text-align: left;
}

@media (min-width: 768px) {
    .navbar.navbar-default {
        padding-bottom: 0;
        margin-bottom: 0;
        background-color: transparent;
        border-color: transparent;
    }

    .navbar-default .navbar-nav > li > a {
        color: black;
        font-weight: normal;
    }


    ul.navbar-nav li ul {
        padding-top: 0;
        padding-bottom: 0;
    }


    ul.navbar-nav li ul li a {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .navbar-default .navbar-nav > .active > a {
        color: black;
        text-decoration: underline;
        background-color: white;
    }

    .navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .open > a:hover {
        color: black;
        text-decoration: underline;
        background-color: white;
    }

    .nav-item{
        text-align: left;
    }

}

/* Links */
.carousel-caption a {
    text-shadow: none;
}

a.text-info:hover {
    color: rgb(31, 64, 122) !important;
}

a:hover {
    color: rgb(0, 105, 180)
}


#banner {
    background-color: #000000;
}


#banner {
    width: 100%;
    height: 30px;
}

h1, .h1 {
    /* font-size: 39px; */
    color: rgb(31, 64, 122);
    font-weight: bold;
}

@media only screen and (min-width: 768px) {
  .dropdown:hover .dropdown-menu {
    display: block;
  }
}

@media (min-width: 768px ) {
  .row {
      position: relative;
  }

  .bottom-align-text {
    position: absolute;
    bottom: 0;
    right: 0;
  }
}

