.dropdown-content {
  z-index: 999999;
}

p {
    text-indent:5px;
}

* {
    box-sizing: border-box;
}

.container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.sidebar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-content: space-between;
  padding: 10px 10px 0px 10px;
  height: 100%;
  width: 200px;
  background-color:white;
  line-height: 150%;
}

.sidebar * {
  margin: 0;
}

.btn-group {
  width: 100%;
}

.btn-group .styledbtn {
  width: 100%;
  margin-top: 0.5em;
}

.btn-group a {
    text-decoration:none;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 99999; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
}

/* Modal Content/Box */
.modal-content {
    background-color: #525252;
    color: white;
    margin: 240px auto 0px; /* 15% from the top and centered */
    padding: 20px;
    width: 80%; /* Could be more or less, depending on screen size */
    max-width: 800px;
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24),0 17px 50px 0 rgba(0,0,0,0.19);
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    margin-top: -9px;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: white;
    text-decoration: none;
    cursor: pointer;
}

body {
	margin: 0;
	padding: 0;
}

#loading {
	display: none;
  position:absolute;
  z-index: 99999;
  left: 0;
  right: 0;
  margin: 0 auto;
}

#loadingcontent {
  position:relative;
  bottom: 10px;
}

#calendar {
	width: calc(99% - 200px);
  max-width: 1024px;
	padding: 10px;
  background-color:white;
  line-height: 150%
}

@media only screen and (max-width: 1640px) {
    #calendar {
    	width: calc(98% - 200px);
    }
}

@media only screen and (max-width: 1152px) {
    .sidebar {
      height: auto;
      width: 100%;
    }
    .sidebar div {
      width: 100%;
    }
    #calendar {
    	width: 100%;
    }
}
