#header {
  position: relative;
  color: #141d38;
  font-weight: 700;
  line-height: 1.3em;
  margin-top: 15px;
  padding: 10px;
  font-size: 32px;
  font-family: sans-serif;
  display: flex;
  justify-content: space-between;
}
#header button {
  background-color:transparent;
}
#weekdays {
  width: 100%;
  display: flex;
  color: #444444;
}
#weekdays label {
  width: calc(100%/7);
  padding: 10px;
}
#calendar {
  width: 100%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
}
.day {
  width: calc(100%/7 - 10px);
  padding: 10px;
  height: 100px;
  cursor: pointer;
  box-sizing: border-box;
  background-color: white;
  margin: 5px;
  box-shadow: 0px 0px 3px #CBD4C2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.day:hover {
  background-color: #83ffee;
}

.day + .selected_date {
    border: 1px dashed #1d80f5;
    background-color: #83d6ff;
}

.event {
  font-size: 10px;
  padding: 3px;
  background-color: #58bae4;
  color: white;
  border-radius: 5px;
  max-height: 55px;
  overflow: hidden;
}
.padding {
  cursor: default !important;
  background-color: #FFFCFF !important;
  box-shadow: none !important;
}
#newEventModal, #deleteEventModal {
  display: none;
  z-index: 20;
  padding: 25px;
  background-color: #e8f4fa;
  box-shadow: 0px 0px 3px black;
  border-radius: 5px;
  width: 350px;
  top: 100px;
  left: calc(50% - 175px);
  position: absolute;
  font-family: sans-serif;
}
#eventTitleInput {
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 25px;
  border-radius: 3px;
  outline: none;
  border: none;
  box-shadow: 0px 0px 3px gray;
}
#eventTitleInput.error {
  border: 2px solid red;
}
#cancelButton, #deleteButton {
  background-color: #d36c6c;
}
#saveButton, #closeButton {
  background-color: #92a1d1;
}
#eventText {
  font-size: 14px;
}
#modalBackDrop {
  display: none;
  top: 0px;
  left: 0px;
  z-index: 10;
  width: 100vw;
  height: 100vh;
  position: absolute;
  background-color: rgba(0,0,0,0.8);
}
#prevDay{
  opacity: 0.5;
}
#prevDay:hover{
  background-color: #fff !important;
  cursor: default !important;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

input[type="number"] {
	-moz-appearance: textfield;
}

.time-picker {
	display: flex;
	justify-content: space-around;
	align-items: center;

	width: 100%;
	max-width: 200px;
	margin: 0 auto;
	padding: 25px 15px;

	background-color: #F3F3F3;
	border-radius: 8px;
	box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2);

	color: #53565A;
	font-size: 42px;
	font-weight: 700;

	user-select: none;
}

.time-picker .hour,
.time-picker .minute {
	position: relative;
	min-width: 60px;
	text-align: center;
	display: flex;
	justify-content: stretch;
	align-items: stretch;
}

.time-picker .hour .hr,
.time-picker .minute .min {
	background: none;
	font-size: 42px;
	appearance: none;
	border: none;
	outline: none;
	display: block;
	width: 100%;
	text-align: center;
	font-family: 'Saira', sans-serif;
}

.time-picker .hour .hr-up,
.time-picker .hour .hr-down,
.time-picker .minute .min-up,
.time-picker .minute .min-down {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);

	width: 40px;
	height: 20px;

	border-left: 20px solid transparent;
	border-right: 20px solid transparent;

	cursor: pointer;
}

.time-picker .hour .hr-up,
.time-picker .minute .min-up {
	top: -10px;
	border-bottom: 20px solid #AAA;
}

.time-picker .hour .hr-down,
.time-picker .minute .min-down {
	bottom: -10px;
	border-top: 20px solid #AAA;
}

.time-picker .hour .hr-up:hover,
.time-picker .hour .hr-down:hover,
.time-picker .minute .min-up:hover,
.time-picker .minute .min-down:hover {
	border-bottom-color: #53565A;
	border-top-color: #53565A;
}
