html {
  height: 100%;
  margin-left: 10px;
  margin-right: 10px;
  margin-top: 10px;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.row {
  display: flex;
  flex-direction: row;
  /* flex-wrap: wrap; */
  width: 100%;
}

.column {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  flex: 1;
}


.container {
  position: relative;
  display: flex;
  margin-left: 20px;
  margin-right: 20px;
}

.hour-label {
  flex: 0 0 50px;
  background: #f0f0f0;
  border-right: 1px solid #999;
  border-top: 1px solid #ccc;
  text-align: right;
  padding-right: 10px;
  padding-left: 5px;
  box-sizing: border-box;
}

.hours-header-spacer {
  height: 50px;
}

.schedule-grid {
  display: grid;
  width: calc(100% - 50px);
  z-index: 1;
  position: relative;
}

.five-days {
  grid-template-columns: repeat(5, 1fr);
}

.seven-days {
  grid-template-columns: repeat(7, 1fr);
}

.day {
  border-left: 1px solid #ddd;
  min-height: 24 * 60px;
  /* Assuming each hour slot is 60px in height */
}

.day-label {
  text-align: center;
  background-color: #ddd;
  border-left: 1px solid black;
  padding: 15px;
}

/* .hourslot {
  height: 60px;
  border-top: 1px solid #999;
  border-bottom: 1px solid #999;
  box-sizing: border-box;
  padding: 5px;
} */

.timeslot {
  border-top: 1px solid #777;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #777;
  box-sizing: border-box;
  padding: 5px;
  position: absolute;
  display: inline-table;
  width: 20%;
}

/* type of background / timeslot */
.normal, .green { 
  background-color: #4bb44b;
}
.light-green {
  background-color: #c2ffc2;
}
.yellow {
  background-color: #ffff9e;
}
.red {
  background-color: #ff7070;
}
.light-red {
  background-color: #ffb8b8;
}
.gray {
  background-color: #c6c5c5;
}
.light-gray {
  background-color: #e1e1e1;
}
.purple {
  background-color: #b05eb0;
}
.blue {
  background-color: #617bff;
}
.light-blue{
  background-color: #b4ebfe;
}
.orange {
  background-color: #ffd485;
}


label {
  display: block;
  font:
    1rem 'Fira Sans',
    sans-serif;
}

input,
label {
  margin: 0.4rem 0;
}

form-style {
  margin:10px auto;
  max-width: 400px;
  padding: 20px 12px 10px 20px;
  font: 13px "Lucida Sans Unicode", "Lucida Grande", sans-serif;
}
.form-style li {
  padding: 0;
  display: block;
  list-style: none;
  margin: 10px 0 0 0;
}
.form-style label{
  margin:0 0 3px 0;
  padding:0px;
  display:block;
  font-weight: bold;
}
.form-style input[type=text], 
.form-style input[type=date],
.form-style input[type=datetime],
.form-style input[type=number],
.form-style input[type=search],
.form-style input[type=time],
.form-style input[type=url],
.form-style input[type=email],
textarea, 
select{
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  border:1px solid #BEBEBE;
  padding: 7px;
  margin:0px;
  -webkit-transition: all 0.30s ease-in-out;
  -moz-transition: all 0.30s ease-in-out;
  -ms-transition: all 0.30s ease-in-out;
  -o-transition: all 0.30s ease-in-out;
  outline: none;	
}
.form-style input[type=text]:focus, 
.form-style input[type=date]:focus,
.form-style input[type=datetime]:focus,
.form-style input[type=number]:focus,
.form-style input[type=search]:focus,
.form-style input[type=time]:focus,
.form-style input[type=url]:focus,
.form-style input[type=email]:focus,
.form-style textarea:focus, 
.form-style select:focus{
  -moz-box-shadow: 0 0 8px #88D5E9;
  -webkit-box-shadow: 0 0 8px #88D5E9;
  box-shadow: 0 0 8px #88D5E9;
  border: 1px solid #88D5E9;
}
.form-style .field-divided{
  width: 49%;
}

.form-style .field-long{
  width: 100%;
}
.form-style .field-select{
  width: 100%;
}
.form-style .field-textarea{
  height: 100px;
}
.form-style input[type=submit], .form-style input[type=button]{
  background: #4B99AD;
  padding: 8px 15px 8px 15px;
  border: none;
  color: #fff;
}
.form-style input[type=submit]:hover, .form-style input[type=button]:hover{
  background: #4691A4;
  box-shadow:none;
  -moz-box-shadow:none;
  -webkit-box-shadow:none;
}
.form-style .required{
  color:red;
}


.title {
  font-variant: small-caps;
  font-weight: bold;
  font-size: x-large;
  text-align:center;
}

.sub-title {
  /* font-variant: small-caps; */
  font-size: medium;
  text-align:center;
}


@media print {
  body * {
    visibility: hidden;
    
    /* Hide everything in the body */
  }

  .setup {
    display: none;
  }
  
  .printArea,
  .printArea * {
    visibility: visible;
    /* Only printArea will be visible */
  }

  .printArea {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
  }
}