* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Golos Text",ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

html {
    min-height: 100%;
}

body {
    background-color: #F7F5F5;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

header {
    background-color: #C70012;
    padding: 10px;
    font-size: 26px;
    font-weight: bold;
    color: #FFF;
    flex: none;
}

main {
    display: flex;
    height: 100%;
    flex: 1;
}

aside {
    flex: none;
    width: 300px;
    background-color: #e4e2e2;
    padding: 10px;
}

section {
    flex: 1;
    padding: 10px;
}

h2 {
    font-size: 20px;
    margin: 5px 0px;
    text-align: center;
}

input[type=text], input[type=date], input[type=password], input[type=time], select, option, textarea {
    width: 100%;
    padding: 10px;
    margin: 5px 0px;
    font-size: 16px;
    outline: none;
    background-color: #fff;
    border: none;
    /* border: 1px solid #999; */
    border-radius: 5px;
}

aside input:focus, aside select:focus, aside textarea:focus {
    background-color: #FFF;
}

aside > label {
    display: flex;
    align-items: center;
}

aside label span {
    flex: none;
    width: 80px;
    color: #777474;
}

button {
    background-color: forestgreen;
    border: none;
    border-bottom: 2px solid darkgreen;
    border-radius: 5px;
    color: #FFF;
    padding: 10px 25px;
    font-size: 16px;
    display: block;
    margin: 10px auto;
}

section {
    display: flex;
}

article {
    flex: 1;
    border: 1px solid #CCC;
    border-radius: 0px;
    display: flex;
    flex-direction: column;
}

h3 {
    text-align: center;
    background-color: #DDD;
}

h3 small {
    font-weight: normal;
    display: block;
}

h4 {
    font-size: 14px;
    padding: 5px 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    position: relative;
    border-bottom: 1px solid #CCC;
    height: 20px;
    min-height: 20px;
}
.eventTimeShow{
    /* position: absolute; */
}

section > :first-child  h4 {
    background-color: #EEE;
}

.otherDays input[type=checkbox] {
    display: none;;
}

.otherDays label {
    padding: 5px;
    margin: 3px;
    display: inline-block;
    border: 1px solid #966;
    width: 120px;
    border-radius: 5px;
    cursor: pointer;
}

.otherDays input[type=checkbox]:checked + label {
    background-color: #9D9;
    border: 1px solid #696;
}

.method {
    display: inline-block;
    margin: 5px;
    padding: 15px 10px;
    text-align: center;
    width: fit-content;
    border: 1px solid #C70012;
    border-radius: 10px;
    color: #C70012;
    text-decoration: none;
}

.active {
    background-color: #C70012;
    color: #FFF;
    text-decoration: none;
    font-weight: bold;
}

dialog {
    width: 600px;
    padding: 10px;
    border: none;
    border-radius: 5px;
    position: fixed;
    top: 200px;
    left: 50%;
    margin-left: -300px;
}

dialog::backdrop {
    background-color: rgba(0,0,0,0.5);
}

dialog span {
    display: inline-block;
    width: 200px;
}

dialog a {
    display: inline-block;
    padding: 5px;
    text-align: center;
    width: 260px;
    text-decoration: none;
    color: #FFF;
    border-radius: 5px;
    margin: 5px;
}

dialog a.edit {
    background-color: forestgreen;
    border-bottom: 2px solid darkgreen;
}

dialog a.delete {
    background-color: tomato;
    border-bottom: 2px solid brown;
}

dialog a.reset {
    background-color: dodgerblue;
    border-bottom: 2px solid royalblue;
}
