body {
  margin-top: 85px;
  margin-bottom: 105px;
  overflow: scroll;
}

* {
  border-radius: 0 !important;
}

a, a:active, a:focus {
   outline: none;
}

/* Z-index */
/* Bootstrap values
.dropdown-backdrop { z-index: 990; }
.navbar-static-top, .dropdown-menu { z-index: 1000; }
.navbar-fixed-top, .navbar-fixed-bottom { z-index: 1030; }
.modal-backdrop { z-index: 1040; }
.modal { z-index: 1050; }
.popover { z-index: 1060; }
.tooltip { z-index: 1070; }
 */
.sticky {
  z-index: 980;
}

@media (max-width: 520px) {
  #main {
    width: 100%;
  }
}

/* Front page stuff */
#front-logo {
  margin: auto;
}

/* Navbar stuff */
.navbar {
  max-width: 100vw;
  background-color: rgb(255, 255, 255);
  border-bottom: 1px solid rgb(230, 230, 230);
}

.navbar .navbar-brand {
  height: 75px;
}

.navbar-fixed-top {
  min-height: 70px;
}

.navbar-toggle .icon-bar {
  background: black;
  width: 45px;
  height: 8px;
}

.navbar-toggle .icon-bar+.icon-bar {
  margin-top: 6px;
}

#top-navbar > .nav > li > a {
  padding: 30px 7px;
}

.nav .dropdown-menu  {
  padding: 0;
}

.nav .dropdown-menu .divider {
  margin: 0;
}

.nav .dropdown-menu > li > a {
  padding-top: 15px;
  padding-bottom: 15px;
}

@media (max-width: 767px) {
  .navbar-fixed-top .navbar-collapse {
    max-height: 450px;
  }

  .navbar .navbar-collapse {
    border-bottom: 1px solid #ccc;
    -webkit-box-shadow: 0 8px 6px -6px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 8px 6px -6px rgba(0,0,0,0.2);
    box-shadow: 0 8px 6px -6px rgba(0,0,0,0.2);
  }
  .navbar .navbar-nav {
    margin: 0 -15px;
  }

  .navbar .nav > li {
    border-top: 1px solid #ccc;
  }
  .navbar .nav li a {
    padding: 20px !important;
  }

  .btn-group-vertical > .btn{
    padding: 20px;
  }
}


/* btn-group */
.btn-group .btn:last-of-type {
  border-right: 1px solid #ccc;
}

.btn-group .btn.btn-primary:last-of-type {
  border-color: #2e6da4;
}

/* Form stuff */

.form-control, .form-control:focus {
  box-shadow: none;
}

.btn-black {
  background-color: rgb(0, 0, 0);
  color: rgb(255, 255, 255);
}

.btn-grey {
  background-color: #777;
  color: rgb(255, 255, 255);
}

#map {
  height: 800px;
}

/* Footer */
footer {
    position: fixed;
    width: 100%;
    text-align: center;
    background-color: white;
    bottom: 0px;
    padding: 5px;
    left: 50%;
    transform: translate(-50%);
}

@media (max-width: 767px) {
  footer {
    max-width: 100%;
  }
}

.breadcrumb > li.no-before::before {
    content: "";
}

.text-container {
    display: flex;
    align-items: center;
    height: 200px;
}

.event {
    padding: 5px;
    vertical-align: top;
    flex-grow: 1;
    border: 1px solid black;
    cursor: pointer;
}

.event-in-overview {
    min-height: 100px;
    margin: 5px;
    max-width: 200px;
    min-width: 200px;
}

.location-column {
    position: relative;
    margin: 0 2px;
    background-color: #f5f5f5;
}

.location-column-header {
  text-align: center;
  font-weight: bold;
  line-height: 50px;
  font-size: 20px;
  background-color: #eee;
  border-bottom: 1px solid #fff;
}

.location-column-slot {
  border-bottom: 1px solid #fff;
}

.day-view-gutter {
  text-align: right;
}

.event-in-dayview {
    position: absolute;
}


@media (max-width: 520px) {
  .event {
      width: 50%;
      padding: 5px;
  }
}

.event:hover {
    background-color: black !important;
    color: white !important;
    text-decoration: none !important;
}

.fa-select {
    font-family: 'FontAwesome','Helvetica Neue',Helvetica,Arial,sans-serif;
}

.day-table {
  border-collapse: separate;
  border-spacing: 1px;
}

.day-table > tbody > tr > td {
  padding: 5px !important;
  border: 0 !important;
}

.schedule-filter ul {
  list-style: none;
  padding: 0;
}

.schedule-filter .btn {
  width: 100%;
  text-align: left;
}


@media (min-width: 520px) {
  .schedule-sidebar {
    border-left: 1px solid #eee;
  }
}

.sticky {
  position: sticky;
  background-color: #fff;
}

#daypicker {
  top: 80px;
}

#schedule-days {
  list-style: none;
  padding: 0;
  display: flex;
}

#schedule-days a {
  display: inline;
  flex-grow: 1;
}

.schedule-day-row {
  display: flex;
  flex-wrap: wrap;
}

.filter-choice-active {
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
    -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
    box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
}

.sponsor {
  padding: 10px;
}

.sponsor .caption {
  text-align: center;
}

.bar-row {
  -moz-column-width: 300px;
  -webkit-column-width: 300px;
  column-width: 300px;
}

.bar-product {
  display: flex;
  justify-content: flex-start;
  border-bottom: 1px solid lightgrey;
}

body.bar-menu {
  margin-top: 0px;
  background-color: #000000;
  color: #00ff00;
  overflow: hidden;
}

.bar-product .name {
  width: 900px;
  font-size: 14pt;
}

.bar-product .price {
  font-size: 14pt;
  width: 300px;
}

@media (min-width: 600px) {
    .event-table-tags {
        width: 20%;
    }
}

.team-guide-markdown
{
    background-color: #f9f9f9;
    padding: 10px 20px;
}
.team-guide-markdown h1,
.team-guide-markdown h2,
.team-guide-markdown h3,
.team-guide-markdown h4
{
    font-size: 80%;
    font-weight: bold;
}

/* the .noscript class is in <body> html and removed on load for js enabled useragents */
.no-js .hide-for-no-js-users {
    display: none;
}

/* hide map in forms until we can show a real leaflet map */
div #id_location-map {
    display: none;
}


/* Stuff for responsiveness */

.break-word {
    word-break: break-word;
}

.table-scroll {
  overflow-x: auto;
}

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

/* tabbed panel tweaks in bootstrap v3 */

.panel-heading-nav {
  border-bottom: 0;
  padding: 10px 0 0;
}

.panel-heading-nav .nav {
  padding-left: 10px;
  padding-right: 10px;
}
