.icon.spinner.rotate {
    animation: rotateSpinner 1.2s linear infinite;
}

#calendarLoading .loader {
    margin-right: 1em;
}

@keyframes rotateSpinner {
    0% {transform: rotate(0deg)}
    12.4%  {transform: rotate(0deg)}
    12.5% {transform: rotate(45deg)}
    24.9%  {transform: rotate(45deg)}
    25% {transform: rotate(90deg)}
    37.4%  {transform: rotate(90deg)}
    37.5% {transform: rotate(135deg)}
    49.9%  {transform: rotate(135deg)}
    50% {transform: rotate(180deg)}
    62.4%  {transform: rotate(180deg)}
    62.5% {transform: rotate(225deg)}
    74.9%  {transform: rotate(225deg)}
    75% {transform: rotate(270deg)}
    87.4%  {transform: rotate(270deg)}
    87.5% {transform: rotate(315deg)}
    99.9% {transform: rotate(315deg)}
    100% {transform: rotate(360deg)}
}

#menu {
    position: sticky;
    top: 0;
    z-index: 10;
    border-radius: 0;
    border: 0 none;
    background-color: #00539f;
}

#menuButton {
    margin: 0;
}

.details {
    line-height: 2;
}

#calWrap {
    padding: 4em;
}

#calendar .fc-content {
    padding: 0.2em;
    white-space: normal;
    word-wrap: break-word;
}

#calendar .fc-bg {
    opacity: 1;
}

#ytpC {
    z-index: 999999;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

section:not(:first-of-type) {
    margin-top: 1.5em;
}

section:not(:last-of-type) {
    padding-bottom: 1.5em;
    /*border-bottom: 0.1em solid #aaa;
    border-image: linear-gradient(90deg, transparent 0%, #aaa 40%, #aaa 60%, transparent 100%) 1;/**/
}

.fc-event {
    background: transparent;
    border-radius: 0.4em;
    border: 0.1em solid rgba(68,68,68,0.4);
    cursor: pointer;
}

.fc-event.exercise .fc-bg {
    background-image: repeating-linear-gradient(135deg, transparent 0em, transparent 0.3em, rgba(0,0,0,0.12) 0.3em, rgba(0,0,0,0.12) 0.6em, transparent 0.6em);
}
.fc-event.holiday .fc-bg {
    opacity: 0.6 !important;
}

.fc-event.exercise.lecture.holiday .fc-bg {
    background-image: repeating-linear-gradient(135deg, transparent 0em, transparent 0.3em, rgba(0,0,0,0.12) 0.3em, rgba(0,0,0,0.12) 0.6em, transparent 0.6em, transparent 1em);
}

.fc-event:hover {
    border-color: #444;
}

.fc button {
    height: auto;
}

.fc td.fc-today {
    background-color: rgba(145, 187, 229, 0.12);
}

#calendarName {
    font-weight: bold;
}

.ui.inverted.yellow.button:hover, .ui.inverted.yellow.buttons .button:hover {
    background-color: #f6a800 !important;
    color: black !important;
}

.ui.inverted.yellow.button, .ui.inverted.yellow.buttons .button {
    box-shadow: 0 0 0 2px #f6a800 inset!important;
    color: #f6a800 !important;
}

@media only screen and (min-width:768px) {
    .ui.modal .content .ui.ribbon.label {
        left: calc(-1.5rem - 1.2em);
    }
}

@media only screen and (max-width:767px) {
    #calWrap {
        padding: 1.5em 0.5em 0.5em 0.5em;
    }
}