/*

Consider setting this to get rid of added padding
Mainly if you will be aligning things (esp. horizontally)

html, body {
    margin: 0;
    padding: 0;
}

*/

html, body {
  font-family: Arial;
  margin: 0px;
  padding: 0px;
  width: 100%;
  height: 100%;
  background-color: lightgrey;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  overflow: hidden;
}

.event {
  color: blue;
  width: 85%;
  height: 15px;
  background-color: lightgreen;
  text-align: center;
  cursor: default;
  z-index: 2;

}

.eventName {
  width: 100%;
  height: 100%;
  text-align: center;
  padding: 0px;
  margin: 0px;
  display: inline;
  font-size: 15px;
  font-family: Helvetica;
}

#createEventWindow, #editEventWindow {
  display: none;
  z-index: 4;
  position: fixed;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  background: white;
  border-style: solid;
  border-width: 3px;
  border-color: black;
}

#createEventButton {
  float: right;
  margin-right: 7px;
}

hr {
  clear: left;
}

#pageCover {
  display: none;
  z-index: 3;
  position: fixed;
  top: 0%;
  bottom: 0%;
  left: 0%;
  right: 0%;
  /*-webkit-filter: blur(10px);
  -moz-filter: blur(10px);
  -ms-filter: blur(10px);
  -o-filter: blur(10px);
  filter: blur(10px);*/
  opacity: 0.5;
  background-color: grey;
}

#left {
  display: none;
}

#calendar {
  position: fixed;
  top: 0px;
  right: 0px;
  left: 0px;
  height: 20px;
  background: lightgrey;
  /*padding-left: 150px;*/
}

#list {
  position: fixed;
  top: 40px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  background: lightgrey;
  overflow: scroll;
}

#listTitle {
  position: fixed;
  width: 100%;
  height: 30px;
  background-color: lightgrey;
  z-index: 5;
}

#headerContainer {
  height: 30px;
}

#listTitle p {
  margin: 0;
  margin-left: 7px;
  overflow: hidden;
  display: inline-block;
  width: auto;
  float: none;
  text-align: center;
  vertical-align: middle;
  padding: 0px;
  font-weight: bold;
}

#listContainer {
  position: absolute;
  width: 100%;
  top: 30px;
  overflow: scroll;
}

#listContainer div {
  font-family: Helvetica;
}

#iPhoneTodayButton {
  float: right;
}

.listItem {
  height: 38px;
  width: 90%;
  clear: left;
}

.dayCell p {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.listDivTitle {
  color: blue;
  float: left;
  display: inline;
  font-size: 135%;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0px;
  padding: 0px;
  font-weight: bold;
  margin-left: 5%;
  margin-right: 5%;
  margin-top: 10px;
}

.listDivDate {
  display: inline;
  float: left;
  margin: 0px;
  padding: 0px;
  font-size: 75%;
  margin-bottom: 10px;
  margin-left: 5%;
}

.listItem hr {
  width: 90%;
}

#cal_header {
  width: 100%;
  height: 15%;
  background: lightgrey;
}

#calendarsTitle {
  cursor: default;
}

#cal_header #header1 {
  text-align: center;
  font-size: 30px;
  vertical-align: middle;
  cursor: default;
  padding: 0px;
  margin: 0px;
}

#header1 {
  float: none;
}

#prevMonthButton {
  position: absolute;
  top: 5px;
  left: 7px;
}

#nextMonthButton {
  position: absolute;
  top: 5px;
  right: 7px;
}

#todayButton {
  display: none;
}

#eventStartTime, #eventHeadTime {
  padding: 0px;
  margin: 0px;
}

#header1div button {
  display: none;
}

table {
  display: none;
  height: 0%;
  width: 0%;
}

table, th, td {
  padding: 0px;
  border: 1px solid black;
}

tr {
  /*This line fixes the problem of the height changing when elements are added, but it creates a 1 pixel bar on the bottom of the page..*/
  height: 16.66666666666666667%;
  max-height: 16.66666666666666667%;
  overflow: hidden;
  /*The overflow is not working...*/
}

td {
  vertical-align: top;
  /*This line fixes the problem of the height changing when elements are added, but it creates a 1 pixel bar on the bottom of the page..*/
  height: 16.66666666666666667%;
  max-height: 16.66666666666666667%;
  overflow: hidden;
  /*The overflow is not working...*/
}

.cellDay {
  height: 15px;
  margin: 0px;
  padding: 0px;
  text-align: center;
  width: auto;
}

.cellDay p {
  margin: 0px;
  padding: 0px;
  text-align: center;
}

.dateNumber {
  display: inline;
  padding: 0px;
  margin: 0px;
  float: right;
  cursor: default;
}

/*
.day {
  width: 14.05%;
  height: 16.666666%;
  border: 1px black solid;
  background: white;
  float: left;
}*/