@charset "utf-8";
/* ========================================================================================

name: calendar.css

description: seminar calender style

update: 2020.08.20

======================================================================================== */

/* #calendar 
-------------------------------------------------- */

#calendar {
    max-width: 800px;
    margin: 40px auto 0;
}

#calendar div {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: stretch;
    align-content: flex-start;
}

#calendar table {
    width: 48%;
    border-collapse: collapse;
    border-spacing: 0;
    line-height: 1.5;
}

#calendar table th,
#calendar table td {
    border: 1px solid #ccc;
    text-align: center;
    background-color: #ffffff;
}

#calendar table th {
    background: #eeeff3;
}

@media all and (-ms-high-contrast:none) {
    *::-ms-backdrop,
    #calendar table th {
        /*ie11*/
        padding: 4px 0 0;
    }
}

#calendar table td {
    padding: 10px;
    vertical-align: top;
    text-align: center;
}

@media all and (-ms-high-contrast:none) {
    *::-ms-backdrop,
    #calendar table td {
        /*ie11*/
        padding: 10px 10px 5px 10px;
    }
}

#calendar table .cellholiday {
    background-color: #ccc;
}

#calendar table .cellsaturday {
    background-color: #dafaff;
}

#calendar table .cellsunday,
#calendar table .cellholiday {
    background-color: #ffe7e7;
}

#calendar table .cellclose {
    background-color: #b8b8b8;
}

#calendar table td {
    position: relative;
}

#calendar table td a {
    padding: 10px;
    background-color: #00559d;
    color: #fff;
    text-decoration: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    vertical-align: middle;
}

@media all and (-ms-high-contrast:none) {
    *::-ms-backdrop,
    #calendar table td a {
        /*ie11*/
        margin: -10px -10px -5px -10px;
        padding: 10px 10px 5px 10px;
    }
}

#calendar table td a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 767px) {
    #calendar {
        width: 90%;
        margin: 10px 5% 30px;
    }
    #calendar table {
        width: 100%;
    }
    #calendar table:first-of-type {
        margin-bottom: 20px;
    }
    #calendar table td {
        padding: 2px;
    }
    #calendar table td a {
        margin: 0;
        padding: 2px;
    }
}

/* #notes 
-------------------------------------------------- */

#notes {
    margin: auto;
    margin-top: 50px;
    width: 800px;
}

#notes h2 {
    font-weight: normal;
    font-size: .20rem;
    color: #000;
    padding: 0 0 20px;
}

#notesbutton {
    text-align: center;
}

#notesbutton i {
    display: inline-block;
    padding: 0 10px;
    font-size: .32rem;
    line-height: 1.0em;
    transform: scale(1, -1);
    transition: all ease-out 0.2s;
}

#notes.notesclose #notesbutton {
    transform: translatey(-15px);
}

#notes.notesclose #notesbutton i {
    transform: scale(1, 1);
}

#notesbutton i:hover {
    cursor: pointer;
    color: #666666;
}

#notes>ul {
    box-sizing: border-box;
    height: auto;
    max-height: 100vh;
    overflow: hidden;
    transition: all ease-out 0.5s;
}

#notes.notesclose>ul {
    max-height: 0;
    transition: all ease-out 0.25s;
}

#notes ul li {
    position: relative;
    padding: 0 0 2px 1.0em;
    font-size: .14rem;
    line-height: 1.67em;
}

#notes ul li ul {
    margin-top: 2px;
    margin-left: 10px;
}

#notes ul li::before {
    content: "";
    position: absolute;
    background: #00559d;
    top: 10px;
    left: 0;
    height: 6px;
    width: 6px;
    border-radius: 100%;
}

#notes ul li ul li::before {
    background: #6c6e70;
    top: 11px;
    left: 6px;
    height: 3px;
    width: 3px;
}

@media screen and (max-width: 767px) {
    #notes {
        margin: auto;
        margin-top: 20px;
        width: auto;
    }
    #notes h2 {
        font-size: .15rem;
        padding: 0 0 20px;
    }
    #notes>ul {
        margin-top: 0;
    }
    #notesbutton i {
        font-size: .26rem;
        line-height: 1.0em;
    }
    #notesbutton i:hover {
        cursor: pointer;
        color: #000;
    }
    #notes ul li {
        position: relative;
        padding: 0 0 2px 1.0em;
        font-size: .11rem;
        line-height: 1.5em;
    }
    #notes ul li ul {
        margin-top: 2px;
        margin-left: 10px;
    }
    #notes ul li::before {
        top: 5px;
        left: 0;
        height: 6px;
        width: 6px;
    }
    #notes ul li ul li::before {
        top: 6px;
        left: 6px;
        height: 3px;
        width: 3px;
    }
}