body {
    padding: 0px;
    margin: 0px;
    cursor: default;
}

.working {
    cursor: wait;
}

body,
input,
select {
    font-family: "Segoe UI", "Roboto", Arial, sans-serif;
    font-size: 12px;
}

input[type=text],
input[type=number],
select {
    height: 23px;
}

h1 {
    color: dimgray;
    font-size: 20px;
    text-align: center;
    margin-top: 15px;
}

.new-window {
    text-align: center;
    margin: 23px 0px 30px;
}

#new-window {
    color: black;
    background-color: whitesmoke;
    text-decoration: none;
    padding: 6px 12px 7px;
    border: 1px solid darkgray;
    border-radius: 3px;
}

#new-window:hover {
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2);
}

#new-window:active {
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2) inset;
}

#form {
    overflow: hidden;
    background-color: #ece9d8;
    width: 460px;
    padding: 25px;
    margin: 0px auto;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2);
}

.calendar {
    overflow: hidden;
    margin-bottom: 10px;
}

.day-label {
    float: left;
    width: 80px;
    text-align: right;
    padding-top: 4px;
    margin-right: 10px;
}

.text-box {
    background-color: #ece9d8;
    padding: 3px;
    border: 1px inset white;
}

#day-of-week {
    float: left;
    width: 70px;
    text-align: center;
}

.festival-label {
    float: left;
    width: 60px;
    text-align: right;
    padding-top: 4px;
    margin-right: 10px;
}

#festival {
    float: left;
    width: 206px;
    text-align: center;
}

.calendar-label {
    float: left;
    width: 80px;
    text-align: right;
    padding-top: 4px;
    margin-right: 10px;
}

.calendar-label.before-sunset {
    font-weight: bold;
}

.day-input {
    float: left;
    width: 50px;
    margin-right: 5px;
}

.month-input {
    float: left;
    width: 150px;
    margin-right: 5px;
}

.year-input {
    float: left;
    width: 70px;
}

.era-input {
    float: left;
    padding-top: 4px;
    margin-left: 3px;
}

.era-input input[type=radio] {
    float: left;
    margin-top: 0px;
}

.invalid-input {
    background-color: mistyrose;
    border: 1px inset white;
}

div.day-input {
    width: 42px;
}

div.month-input {
    width: 142px;
}

div.year-input {
    width: 62px;
}

.era-box {
    float: left;
    padding-left: 8px;
    padding-top: 4px;
}

.dates {
    float: left;
    margin-top: 5px;
}

.date {
    overflow: hidden;
    margin-bottom: 5px;
}

.date-label {
    float: left;
    width: 90px;
    text-align: right;
    padding-top: 4px;
    margin-right: 10px;
}

.date-box {
    float: left;
    width: 130px;
    text-align: center;
}

.steps {
    float: right;
    width: 210px;
    margin-top: 5px;
}

.step {
    margin-bottom: 5px;
}

.step-label {
    float: left;
    width: 50px;
    text-align: right;
    padding-top: 5px;
    margin-right: 10px;
}

.step-button {
    width: 25px;
}

.step-amount {
    width: 90px;
}

.step-footer {
    margin-left: 60px;
    text-align: center;
}

.step-today {
    margin-top: 7px;
}

.sunset {
    clear: left;
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.sunset > .date {
    margin-bottom: 0px;
}

.sunset-in {
    padding: 0px 8px;
}

.notes {
    clear: both;
    text-align: center;
    padding-top: 10px;
}

.notes p {
   margin-top: 0px;
   margin-bottom: 5px;
}

.notes p:last-child {
    margin-bottom: -5px;
}
