@import url("bootstrap-wysiwyg.css");

body{
  background-image: url(/assets/images/bg-website-wolken-nieuw.png);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  font-family: 'Open Sans', sans-serif;
}

.login-container{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.register-container{
  margin-top: 100px;
}

/*
 * Sidebar
 */

.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100; /* Behind the navbar */
  padding: 48px 0 0; /* Height of navbar */
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}


.sidebar-sticky {
  position: relative;
  top: 0;
  height: calc(100vh - 48px);
  /*padding-top: .5rem;*/
  overflow-x: hidden;
  overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

@media (max-width: 768px){
  .sidebar #accordionMenu{
    padding-top: 3rem;
  }
}

@supports ((position: -webkit-sticky) or (position: sticky)) {
  .sidebar-sticky {
    position: -webkit-sticky;
    position: sticky;
  }
}

.sidebar .nav-item{
  border-bottom: 1px solid #ddd;
}
.sidebar .nav-link:hover{
  background-color: #eee;
}
.sidebar .nav-link:not(.collapsed){
  background-color: #eee;
}
.nav-sub{
  padding: 0;
  margin: 0;
}
.nav-sub .nav-item{ 
  border-bottom: none;
  border-top: 1px solid #ddd;
  padding-left: 1rem;
}
.nav-sub .nav-item:hover{
  background-color: #efefef;
}
.sidebar .nav-sub .nav-link{
  background-color: transparent;
}
.sidebar .nav-link {
  font-weight: 500;
  color: #333;
}

.sidebar .nav-link .feather {
  margin-right: 4px;
  color: #999;
}

.sidebar .nav-link.active {
  color: #007bff;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
  color: inherit;
}

.sidebar-heading {
  font-size: .75rem;
  text-transform: uppercase;
}
/*
 * Content
 */

[role="main"] {
  padding-top: 100px; /* Space for fixed navbar */
}

@media (min-width: 768px) {
  [role="main"] {
    padding-top: 48px; /* Space for fixed navbar */
  }
}

/*
 * Navbar
 */

.navbar-brand {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: 1rem;
  background-color: rgba(0, 0, 0, .25);
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}
.contentcontainer{
  background-color: #fff;
  min-height: calc(100vh - 100px);
}
@media (min-width: 768px) {
  .contentcontainer{
    background-color: #fff;
    min-height: calc(100vh - 48px);
  }
}
.form-control.multi{
  height: auto;
}

.scrollContainer{
  max-height: 400px;
  overflow-y: scroll;
}

.js-volunteer-container{
  height: calc(100vh - 330px);
  overflow-y:scroll;
}
.js-sort-container{
  height: calc(100vh - 280px);
  overflow-y:scroll;
}
.js-sort-volunteer:nth-child(even){
  background-color: #eee;
}

.js-sort-container .note, .js-volunteer-container .note{
  font-size: 0.8rem;
}
                                                                                                      
.js-mailsearch-container{
  height: calc(100vh - 520px);
  overflow-y: scroll;
  position: relative;
}
.js-mailresult-container{
  height: calc(100vh - 390px);
  overflow-y: scroll;
}

.loader{
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}
.loader .loader-content{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align:center;
}

#mailresult .sortable-placeholder{
  height: 3rem;
  width: 100%;
  background-color: #fff000;
}

ul.deelnemerlijst, ul.postlijst{
  margin: 0;
  padding: 0;  
}
.deelnemerlijst li, .postlijst li{
  list-style:none;
  margin: 0;
  padding: 0.5rem 1rem;
}
#inGedeeld{
  min-height: 100px;
  min-width: 100%;
}
.js-loadingHover{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255,255,0,0.5);
  min-height: 400px;
  padding-top: 100px;
  display: none;
}
.js-loadingHover_content{
  padding: 1rem;
  text-align: center;
  font-size: 2rem;
}
.connectedLists{
  min-height: 100px;
}

@keyframes opacityChange {
  0%   {opacity: 0.5; background-color: #eee;}
  50%  {opacity: 1; background-color: #ddd;}
  100% {opacity: 0.5; background-color: #eee;}
}
.lightUp{
  animation-name: opacityChange;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.post_header{
  display: block;
  text-align: center;
}
.post_shiftnaam{
  font-weight: bold;
}
.post_shifttijd, .post_shiftdatum, .post_shiftgroep{
  font-size: 0.8rem;
}
.nameculmn{
  min-width:250px;
}
.shiftculmn{
  max-width: 250px;
}
.availability .available{
  background-color: #d1e7dd;
}
.availability .unavailable{
  background-color: #f8d7da;
}
.availability .accepted{
  background-color: #198754;
}
.availability .declined{
  background-color: #dc3545;
}
.availability .unknown{
  background-color: rgba(33, 37, 41, 0.5);
}
