:root{

  --highlight1: #8B8DBA;
  --background1: #FFFCF9;
  --background2: #DDE1E4;
  --background3: #C1CAD6;
  --background4: #94a3b8;

}

body{

  padding: 0px;
  margin: 0px;
  font-family: 'Noto sans' !important;

}

.container{

  width: 100%;
  min-height: 100%;
  background-color: var(--background1);
  display: flex;
  flex-direction: row;
  align-items: stretch;

}

.mainScreen{

  background-color: var(--background1);
  display: flex;
  flex-direction: column;
  flex-grow: 2;

}

.currentTasks{

  width: 100%;
  display: flex;
  flex-direction: row;
  margin-left: 20px;

}

.task h3{

  margin-bottom: 5px;

}

.next{

  width: 20%;
  margin-left: 100px;

}

.now{

  width: calc(80% - 100px);

}

.now > .taskContent{

  background-color: var(--background2);
  min-height: 200px;

}

.next > .taskContent{

  background: var(--background2);
  background: linear-gradient(90deg, var(--background2) 0%, var(--background3) 100%);
  min-height: 200px;

  transition: background 0.5s; /*check this l8r ah yes */

}

.next > .taskContent:hover{

  background: var(--background3);
  background: linear-gradient(90deg, var(--background3) 0%, var(--background4) 100%);
  min-height: 200px;

}

.calendarWrapper{

  border-top: 1px var(--background2) solid;
  display: flex;
  flex-direction: column;
  margin-top: 10px;

}

.calendarButtons{

  display: flex;
  flex-direction: row;
  padding: 10px;
  border-bottom: 1px var(--background2) solid;

}

.calendarButton{

  background-color: var(--background2);
  border: none;
  color: var(--highlight1);
  min-width: 170px;
  padding: 5px;
  font-size: 18px;
  margin-left: 20px;
  border-radius: 5px;
  transition: background-color 0.2s, color 0.2s;
  cursor: pointer;

}

.calendarButton:hover{

  background-color: var(--highlight1);
  color: var(--background2);

}

.calendarButton:focus{

  outline: none;

}

.calendar{

  flex-grow: 2;

}
.cover{

  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.2s;

}
.popup{

  width: 60%;
  min-width: 200px;
  position: fixed;
  top: 400px;
  left: 20%;
  background-color: var(--background2);
  border: 1px solid black;
  padding: 10px;
  transition: opacity 0.2s;

}

a{
  text-decoration: none;
  color: inherit;
}

.tabbed{
  margin-left:25px;
}

.sidebar{

  background-color: var(--background2);
  display: flex;
  min-width: 100px;
  width: 15%;
  max-width: 400px;
  flex-direction: column;
  padding-top: 10px;

}

.sideelm{

  padding: 10px;
  font-size: 19px;
  text-align: center;
  display: block;

  transition: background 0.5s;

}

.sideelm:hover{
  background-color:#bbb;
}

.calendar{
	border-collapse:collapse;
  font-family: "Noto sans" !important;
}

.weekDay > td{
	text-align:center;
}

.week{
	position:relative;
	background-color:FBFCFE;
	transition:background-color 0.5s;
}

.week:hover{
	background-color:#ffffff;
}

.day{
	border:solid 1px #D9E7E7;
	vertical-align:top;
	padding:6px;
	width:14.285714285714285714285714285714%;
}

.dayNum{
	margin-bottom:4px;
}

.event{
	text-align:center;
	padding:4px;
	background-color:#2175C6;
	color:#ffffff;
	border-radius:3px;
	margin-bottom:2px;
	transition:background-color 0.5s;
	cursor:pointer;
}

.event:hover{
	background-color:#2381D3;
}

.event .preview{
	text-align:left;
	font-size:14px;
}

.header{

  text-align: center;
  padding: 10px;
  background-color: #2175C6;
  color: white;
  font-size: 24px;


}

.form{
  padding: 15px;
}

.preInput{

  width: 100%;
  padding: 5px;
  color: #666;

}

.inputExplanation{
  width: 100%;
  padding: 5px;
  padding-top: 0px;
  font-size: 13px;
  padding-bottom: 15px;
  color: #666;
}

.formInput{

  padding: 10px;
  font-size: 18px;
  width: 100%;
  color: black;
  border: none;
  box-shadow: 0px 0px 5px #666666;
  border-radius: 10px;
  outline: none;
  margin-bottom: 35px;

  transition: box-shadow 0.5s;

}

.formInput:focus{
  box-shadow: 0px 0px 5px #66aa66;
}

.formTextarea{

  padding: 10px;
  font-size: 18px;
  width: 100%;
  color: black;
  border: none;
  box-shadow: 0px 0px 5px #666666;
  border-radius: 10px;
  outline: none;
  margin-bottom: 35px;
  height: 200px;

  transition: box-shadow 0.5s;

}

.formTextarea:focus{
  box-shadow: 0px 0px 5px #66aa66;
}

.dateTimeButton{

  background-color: #fafafa;
  border-left: 1px solid black;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  border-right: none;
  padding: 10px;

}

.borderRadiusRight{

  border-radius: 0px 5px 5px 0px;
  border-right: 1px solid black;

}

.borderRadiusLeft{

  border-radius: 5px 0px 0px 5px;

}

.conditional{
  display: none;
}

.dateTimeGroup{

  display: flex;
  flex-direction: row;
  justify-content: center;
  align-content: center;
  border: 1px solid black;
  background-color: white;

}

.dateTimeSubgroup{

  display: flex;
  /* height: 100px; */
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  /* align-items: flex-start; */

}

.dateTimeSubgroup > .dateTimeTitle{

  display: flex;
  flex-grow: 1;
  border-bottom: 1px solid black;
  font-size: 15px;
  max-height: 20px;
  padding-top: 3px;
  padding-bottom: 3px;

}

.dateTimeSubgroup > .dateTimeSubtitle{

  display: flex;
  flex-grow: 1;
  border-top: 1px solid black;
  font-size: 15px;

}

.dateTimeSubgroup > input:focus{

  outline: none;

}
.dateTimeSubgroup > input{

  display: flex;
  flex-grow: 2;
  border: none;
  text-align: center;
  font-size: 60px;
  width: auto;
  background: transparent;
  max-height: 72px;

}

.durationInput{

  display: flex;
  /* flex-grow: 2; */
  border: none;
  text-align: center;
  font-size: 40px;
  /* width: auto; */
  max-width: 200px;
  background: transparent;
  max-height: 72px;

}

.durationInput:focus{

  outline: none;

}

.durationWrapper{

  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: stretch;
  background-color: white;
  /* padding-left: 10px; */
  border: 1px solid black;

}

.untilDateWrapper{

  display: flex;
  flex-grow: 2;
  flex-direction: row;
  align-items: stretch;
  justify-content: stretch;
  background-color: white;
  padding: 4px;
  border-left: 1px solid black;

}

.miniDay{

  display: flex;
  margin-right: 10px;
  flex-direction: column;
  background-color: #88cc88;
  flex-grow: 2;
  text-align: center;

  border: 1px solid #117711;
  cursor: pointer;

}

.miniDay:last-child{

  margin-right: 0px;

}

.miniDayHoursWrapper{

  display: flex;
  flex-grow: 2;
  flex-direction: row;
  align-items: stretch;
  justify-content: stretch;
  background-color: white;
  /* padding: 4px; */
  /* border-left: 1px solid black; */

}

.miniDayHoursWrapper > div:last-child{

  border-right: none;

}

.miniDayHoursWrapper > div{

  border-right: 1px solid black;
  /* padding: 1px; */
  min-height: 40px;
  min-width: 15px;
  display: flex;
  flex-direction: column;
  background-color: #88cc88;
  flex-grow: 2;
  text-align: center;
  cursor: pointer;

}

.miniDayHoursWrapper > div > div{

  /* float: left; */
  font-size: 12px;

}

.dateTimeWrapper{

  display: inline-flex;
  flex-grow: 1;
  flex-direction: row;

}

.repeatSelect{

  border: none;
  background: transparent;
  font-size: 16px;
  padding: 2px;

  border-bottom: 1px solid #777;

}

.repeatSelect:focus{

  outline: none;

}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 34px;

}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 50%;

}

input:checked + .slider {
  /* background-color: #2196F3; */
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}
