html, body {
  font-family: 'Open Sans', 'Helvetica', sans-serif;
  margin: 0;
  padding: 0;
}

header {
  height: 23em;
}

header h1 {
  margin: 0;
  padding: 1em 0;
}

header p {
  margin: 0;
  padding: 1em 0 0 0;
}

.card .card-action {
  text-align: right;
  padding-right: 0;
}

label {
  color: black;
}

.pointer-cursor {
  cursor: pointer;
}

.card-editable {
  font-size: 24px !important;
  font-weight: 300 !important;
  width: 50% !important;
  border: none !important;
  flex-grow: 100;
  font-family: 'Open Sans', 'Helvetica', sans-serif;
  padding: 0;
  margin: 0;
}

/* code from https://www.w3schools.com/howto/howto_js_autocomplete.asp */
.autocomplete {
  /* the container must be positioned relative */
  position: relative;
  display: inline-block;
  width: 100%;
  top: 4.2em;
}
.autocomplete input[type=text], .autocomplete input[type=text]:focus:not([readonly]) {
  border: none;
  background: white;
  padding: 20px 20px;
  font-size: 1.4em;
  font-family: 'Open Sans';
  border-radius: 3px;
  width: 100%;
  box-sizing: border-box;
  height: auto;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}
.autocomplete input[type=text]:focus:not([readonly]) {
  box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}
.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 0;
  right: 0;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}
.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff; 
  border-bottom: 1px solid #d4d4d4; 
}
.autocomplete-items div:hover {
  /*when hovering an item:*/
  background-color: #e9e9e9; 
}
.autocomplete-active {
  /*when navigating through the items using the arrow keys:*/
  background-color: DodgerBlue !important; 
  color: #ffffff; 
}

[type="radio"]:checked + span:after, [type="radio"].with-gap:checked + span:before, [type="radio"].with-gap:checked + span:after {
  border: 2px solid #ff9800;
}
[type="radio"]:checked + span:after, [type="radio"].with-gap:checked + span:after {
  background-color: #ff9800;
}

.dropdown-content li>a, .dropdown-content li>span {
  color: #ff9800;
}
.select-wrapper input.select-dropdown:focus {
  border-bottom: 1px solid #ff9800;
}

#mainApp {
  display: none;
}


/* visual calendar */
.timings-container {
  display: inline-flex;
  width: 100%;
}

.timings {
  text-align: right;
  padding-right: 10px;
  width: 10%;
  height: 720px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: white;
  font-size: 0.5em;
  box-sizing: border-box;
  color: #696969;
}

.timings span {
  font-size: 200%;
  color: #000;
}

.days {
  height: 720px;
  width: 18%;
  padding: 0px 10px;
  background-color: #F0F0F0;
  border-color: #ddd;
  border-style: solid;
  border-width: 1px;
  box-sizing: border-box;
  position: relative;
}

.days + .days {
  border-left: none;
}

.days::before {
  display: block;
  position: absolute;
  top: -1.7em;
  text-align: center;
  left: 0;
  width: 100%;
  color: #696969;
}

#events-M::before {
  content: 'Monday';
}

#events-T::before {
  content: 'Tuesday';
}

#events-W::before {
  content: 'Wednesday';
}

#events-R::before {
  content: 'Thursday';
}

#events-F::before {
  content: 'Friday';
}

.event {
  background-color: white;
  border-style: solid;
  border-width: 1px;
  border-left-width: 5px;
  border-color: #ddd;
  border-left-color: #03a9f4;
  padding-left: 10px;
  padding-top: 5px;
  position: absolute;
  font-size: 0.5em;
  box-sizing: border-box;
  overflow: auto;
}

.event .title {
  color: #03a9f4;
  font-size: 200%;
}
