/*
 *  * Base structure
 *   */

/* Move down content because we have a fixed navbar that is 50px tall */
body.website {
  padding-top: 50px;
}


/*
 *  * Global add-ons
 *   */

.sub-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

/*
 *  * Top navigation
 *   * Hide default border to remove 1px line.
 *    */
.navbar-fixed-top {
  border: 0;
}

/*
 *  * Sidebar
 *   */

/* Hide for mobile, show later */
.sidebar {
  display: none;
}
@media (min-width: 768px) {
  .sidebar {
    position: fixed;
    top: 51px;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    background-color: #f5f5f5;
    border-right: 1px solid #eee;
  }
}

/* Sidebar navigation */
.nav-sidebar {
  margin-right: -21px; /* 20px padding + 1px border */
  margin-bottom: 20px;
  margin-left: -20px;
}
.nav-sidebar > li > a {
  padding-right: 20px;
  padding-left: 20px;
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
  color: #fff;
  background-color: #428bca;
}


/*
 *  * Main content
 *   */

.main {
  padding: 20px;
}
@media (min-width: 768px) {
  .main {
    padding-right: 40px;
    padding-left: 40px;
  }
}
.main .page-header {
  margin-top: 0;
}


/*
 *  * Placeholder dashboard ideas
 *   */

.placeholders {
  margin-bottom: 30px;
  text-align: center;
}
.placeholders h4 {
  margin-bottom: 0;
}
.placeholder {
  margin-bottom: 20px;
}
.placeholder img {
  display: inline-block;
  border-radius: 50%;
}

/* Sticky footer styles
 * -------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}
body {
  /* Margin bottom by footer height */
  margin-bottom: 30px;
}
.footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 30px;
  background-color: #f5f5f5;
}

.footer div p.text-muted {
  margin-top: 5px;
  margin-bottom: 5px;
}

/* Should be as large as iframe block, iframes are not liked in bootstap */
div.live div.thumbnail {
  background-color: #f7f7f9;
}
div.embed div.thumbnail {
  background-color: #f7f7f9;
}

div.overview div.btn-group a.btn {
  padding: 5px 5px;
}

/* Overview grid formatting on larger screens */
@media(min-width: 992px) {
  div.overview div.thumbnail img {
    min-height: 264px;
  }

  /* Row with equal height columns */
  .row-eq-height {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display:         flex;
  }

  div.live div.thumbnail {
    height: 100%;
  }

  div.embed div.thumbnail {
    height: 100%;
  }

  div.timelapse div.thumbnail {
    height: 100%;
  }

  div.uitdaging div.row-left {
     width: 80%;
  } 

  div.uitdaging div.row-right {
     width: 80%;
     margin-left: 20%;
  } 

  div.overview div.thumbnail {
     min-height: 450px;
  }

  div.overview div.thumbnail div.description {
    overflow: hidden;
    height: 160px;
    margin-top: -40px;
  }
  div.overview div.thumbnail div.description div.shadow {
    position: relative;
    float: left;
    top: 120px;
    width:100%;
    height:40px;
    background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,1));
  }
}


/* Overview grid formatting on medium size screens */
@media (min-width: 768px) {
  div.uitdaging div.row-left {
     width: 80%;
  } 

  div.uitdaging div.row-right {
     width: 80%;
     margin-left: 20%;
  } 
}

