* {
    outline: none;
    box-sizing: border-box;
}

#calendar-loader-div {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: white;
    opacity: 0.9;
    z-index: 9999;
}

html {
    font-size: 100%;
}

body {
    height: 100vh;
    margin: 0;
    padding: 1rem;
    /*background-color: #f6f5f1;*/
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-family: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, "Helvetica Neue", sans-serif;
    /*background-image: linear-gradient(45deg, #f86a6c 0%, #fd588a 100%);*/
}

@media screen and (min-width: 55em) {
    body {
        height: 100vh;
        margin: 0;
    }
}

h1, h2, h3, h4, h5, h6 {
    -webkit-font-smoothing: antialiased;
}

p, span, ul, li {
    color: #2d4338;
    font-weight: 100;
    -webkit-font-smoothing: subpixel-antialiased;
    font-size: 1rem;
}

.calendar-contain {
    position: relative;
    left: 0;
    right: 0;
    border-radius: 0;
    width: 100%;
    /*height: 100%;*/
    max-height: 650px;
    overflow: hidden;
    max-width: 1020px;
    min-width: 1020px;
    margin: auto;
    background-color: #f5f7f6;
    box-shadow: 5px 5px 72px rgba(30, 46, 50, 0.5);
    color: #040605;
}

@media screen and (min-width: 55em) {
    .calendar-contain {
        margin: auto;
        top: 5%;
    }
}

.ToDay_Select {
    position: relative;
    float: left;
    left: 10%;
    font-size: 35px;
    /*font-weight: 800;*/
    cursor: pointer;
    color: coral;
}

.DName {
    color: #fd588a;
}

.DDescription {
    color: #fd588a;
}

.title-bar {
    position: relative;
    width: 100%;
    display: table;
    text-align: right;
    background: #f5f7f6;
    padding: 0.5rem;
    margin-bottom: 0;
}

    .title-bar:after {
        display: table;
        clear: both;
    }

.title-bar__burger {
    display: block;
    position: relative;
    float: left;
    overflow: hidden;
    margin: 0;
    padding: 0;
    width: 38px;
    height: 30px;
    font-size: 0;
    text-indent: -9999px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-shadow: none;
    border-radius: none;
    border: none;
    cursor: pointer;
    background: none;
}

    .title-bar__burger:focus {
        outline: none;
    }

.burger__lines {
    display: block;
    position: absolute;
    width: 18px;
    top: 15px;
    left: 0;
    right: 0;
    margin: auto;
    height: 1px;
    background: #040605;
}

    .burger__lines:before, .burger__lines:after {
        position: absolute;
        display: block;
        left: 0;
        width: 100%;
        height: 1px;
        background-color: #040605;
        content: "";
    }

    .burger__lines:before {
        top: -5px;
    }

    .burger__lines:after {
        bottom: -5px;
    }

.title-bar__year {
    display: block;
    position: relative;
    float: left;
    font-size: 1rem;
    line-height: 30px;
    width: 27%;
    padding: 0 0.5rem;
    text-align: left;
}

@media screen and (min-width: 55em) {
    .title-bar__year {
        width: 27%;
    }
}

.title-bar__month {
    position: relative;
    float: left;
    font-size: 1rem;
    line-height: 30px;
    width: 12%;
    padding: 0 0.5rem;
    text-align: left;
}

@media screen and (min-width: 55em) {
    .title-bar__month {
        width: 12%;
    }
}

.title-bar__month:after {
    content: "";
    display: inline;
    position: absolute;
    width: 10px;
    height: 10px;
    right: 0;
    top: 5px;
    margin: auto;
    border-top: 1px solid black;
    border-right: 1px solid black;
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
}

.title-bar__minimize,
.title-bar__maximize,
.title-bar__close {
    position: relative;
    float: left;
    width: 34px;
    height: 34px;
}

    .title-bar__minimize:before, .title-bar__minimize:after,
    .title-bar__maximize:before,
    .title-bar__maximize:after,
    .title-bar__close:before,
    .title-bar__close:after {
        top: 30%;
        right: 30%;
        bottom: 30%;
        left: 30%;
        content: " ";
        position: absolute;
        border-color: #8e8e8e;
        border-style: solid;
        border-width: 0 0 2px 0;
    }

.title-bar .title-bar__controls {
    display: inline-block;
    vertical-align: top;
    position: relative;
    float: right;
    width: auto;
}

    .title-bar .title-bar__controls:before, .title-bar .title-bar__controls:after {
        content: none;
    }

.title-bar .title-bar__minimize:before {
    border-bottom-width: 2px;
}

.title-bar .title-bar__maximize:before {
    border-width: 1px 1px 2px 1px;
}

.title-bar .title-bar__close:before,
.title-bar .title-bar__close:after {
    bottom: 50%;
    top: 49.9%;
}

.title-bar .title-bar__close:before {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.title-bar .title-bar__close:after {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.calendar__sidebar {
    width: 30%;
    margin: 0 auto;
    float: left;
    background: linear-gradient(120deg, #eff3f3, #e1e7e8);
    padding-bottom: 0.7rem;
}

@media screen and (min-width: 55em) {
    .calendar__sidebar {
        position: absolute;
        height: 100%;
        width: 30%;
        float: left;
        margin-bottom: 0;
    }
}

.calendar__sidebar .content {
    padding: 2rem 1.5rem 2rem 4rem;
    color: #040605;
}

.sidebar__nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 0.9rem;
    padding: 0.7rem 1rem;
    background-color: #f5f7f6;
}

.sidebar__nav-item {
    display: inline-block;
    width: 22px;
    margin-right: 23px;
    padding: 0;
    opacity: 0.8;
}

.sidebar__list {
    list-style: none;
    margin: 0;
    padding-left: 1rem;
    padding-right: 1rem;
}

.sidebar__list-item {
    margin: 1.2rem 0;
    color: #2d4338;
    font-weight: 100;
    font-size: 1rem;
}

.list-item__time {
    display: inline-block;
    /*width: 60px;*/
    margin-right: 2rem;
    font-weight: bold;
    color: #fd588a;
    border-bottom: 1px solid #fd588a;
}

.list-item__time__description {
    color: #868686;
}

@media screen and (min-width: 55em) {
    .list-item__time {
        margin-right: 2rem;
    }
}

.sidebar__list-item--complete {
    color: rgba(4, 6, 5, 0.3);
}

    .sidebar__list-item--complete .list-item__time {
        color: rgba(4, 6, 5, 0.3);
    }

.sidebar__heading {
    font-size: 2.2rem;
    font-weight: bold;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-bottom: 3rem;
    margin-top: 1rem;
}

    .sidebar__heading span {
        float: right;
        font-weight: 300;
    }

.calendar__heading-highlight {
    color: #2d444a;
    font-weight: 900;
}

.calendar__days {
    display: flex;
    flex-flow: column wrap;
    align-items: stretch;
    width: 70%;
    float: right;
    min-height: 580px;
    height: 100%;
    /*font-size: 12px;*/
    padding: 0.8rem 0 1rem 1rem;
    background: #f5f7f6;
}

@media screen and (min-width: 55em) {
    .calendar__days {
        width: 70%;
        float: right;
    }
}

.calendar__top-bar {
    display: flex;
    flex: 32px 0 0;
}

.top-bar__days {
    width: 100%;
    padding: 0 5px;
    color: #2d4338;
    font-weight: 100;
    -webkit-font-smoothing: subpixel-antialiased;
    font-size: 1rem;
    text-align: center;
}

.calendar__week {
    display: flex;
    /*flex: 1 1 0;*/
}

.calendar__day {
    display: flex;
    flex-flow: column wrap;
    justify-content: space-between;
    width: 100%;
    padding: 1.9rem 0.2rem 0.2rem;
    text-align: center;
}

    .calendar__day:not(.inactive) {
        cursor: pointer;
    }

.calendar__day__selected {
    background-color: #fd588a;
    border-radius: 50%;
}

    .calendar__day__selected > .calendar__date, .calendar__day__selected > .calendar__task {
        color: #FFF !important;
    }

.calendar__date {
    color: #040605;
    font-size: 2.3rem;
    font-weight: 600;
    line-height: 0.7;
    padding-bottom: 5px;
}

@media screen and (min-width: 55em) {
    .calendar__date {
        font-size: 2.3rem;
    }
}

.calendar__week .inactive .calendar__date,
.calendar__week .inactive .task-count {
    color: #c6c6c6;
}

.calendar__week .today .calendar__date {
    color: #fd588a;
}

.calendar__task {
    color: #040605;
    /*display: flex;*/
    font-size: 1rem;
    text-align: center;
}

@media screen and (min-width: 55em) {
    .calendar__task {
        font-size: 1rem;
    }
}

.calendar__task.calendar__task--today {
    color: #fd588a;
}

.calendar__day {
    position: relative;
    float: right;
}

#sidebar__event__show_container {
    overflow: auto;
}

    #sidebar__event__show_container::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
        border-radius: 10px;
        background-color: #F5F5F5;
    }

    #sidebar__event__show_container::-webkit-scrollbar {
        width: 10px;
        background-color: #F5F5F5;
    }

    #sidebar__event__show_container::-webkit-scrollbar-thumb {
        border-radius: 10px;
        -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
        background-color: #fb759d;
    }

.calendar__day__holiday > span {
    color: #F00 !important;
}
