body {
    margin: 0;
    padding: 0;
    display: flex;
    height: 100vh;
}

*::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
* {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    margin: 0;
    padding: 0;
}

.left-column, .right-column {
    width: 300px;
    overflow-y: scroll;
}

.left-column>h3, .right-column>h3 {
    text-align: center;
    width: 100%;
    height: 40px;
    line-height: 40px;
    display: block;
}

.left-column {
    overflow: hidden;
}

#leftsidecontent {
    overflow-y: scroll;
    height: calc(100% - 72px);
}


.middle-column {
    flex: 1;
    background-color: #9146FF;
    padding: 10px;
}

#current_month {
    text-align: center;
    width: 100%;
    height: 40px;
    line-height: 40px;
    display: block;
}

#twitch_login
{
    text-decoration: none;
    padding: 8px 13px;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    position: relative;
    text-shadow: none;
    background: #9146FF;
    border-radius: 6px;
    color: #fff;
    margin-right: 5px;
    transition: all 0.3s ease;
}

#userbox
{
    width: 100%;
    text-align: center;
    padding-top: 20px;
}

#prev
{
    float: left;
}

#next
{
    float: right;
}

.day, .wrongmonth
{
    position: relative;
}

.day, .wrongmonth, .day_header
{
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    display:block;
    border-right: 1px solid gray;
    border-bottom: 1px solid gray;
    background-color: white;
}

.day_header
{
    background-color: lightgray;
    text-align: center;
    line-height: 25px;
    height: 25px;
    border-top: 1px solid gray;
}

.day[day="1"],.wrongmonth[day="1"], .day_header[day="1"]
{
    border-left: 1px solid gray;
}
.day[day="6"], .day[day="7"],.wrongmonth[day="6"],.wrongmonth[day="7"]
{
    background-color: lightgray;
}


.dayoverlay {
    background-image: url("img/wrong_month.jpg");
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-size: cover;
    z-index: 9;
    opacity: 0.5;
}

.appointments
{
    overflow-y: scroll;
    height: calc(100% - 18px);
}

.appointment {
    display: block;
    text-align: center;
    line-height: 18px;
    border-width: 0px;
    border-radius: 4px;
    margin: 2px 2px 4px 2px;
    box-shadow: gray 4px 4px 4px;
    font-size: small;
}

.holiday {
    background-color: rgb(245, 43, 43);
    color: white;
    font-weight: bold;
}

.anniversary, .weddingDay {
    background-color: rgb(245, 43, 178);
    color: white;
    font-weight: bold;
}


.birthday {
    background-color: lightgreen;
    color: black;
    display: flex;
    flex-direction: column;
}

.twitch {
    background-color: purple;
    color: white;
    display: flex;
    flex-direction: column;
}

.appointment span {
    display: inline-flex;
    align-self: center;
}

.twitch span:before {
    content: "";
    background-size: 16px 16px;
    width: 16px; 
    height: 16px;
    background-image: url('img/twitch.png');
}

.birthday span:before {
    content: "";
    background-size: 16px 16px;
    width: 16px; 
    height: 16px;
    background-image: url('img/birthday.png');
}

.linkbutton {
   text-decoration: underline;
   background-color: transparent;
   border: none;
   margin-right: 8px;
   cursor: pointer;
}

.linkbutton:last-child {
   margin-right: 0px;
}

.linkbutton.activeMenu {
   text-decoration: none;
   font-weight: bold;
   cursor: default;
}

.week, .day_header_bar
{
    display: flex;
    flex-direction: row;
    flex: 1
}

.day_header_bar
{
    height: 27px;
    flex: 0;
}

#calendar
{
    display: flex;
    flex-direction: column;
    height: calc(100% - 70px);
    clear: both;
}

#cal_header
{
    height: 70px;
}




@media screen and (max-width: 800px) {
    .middle-column, .right-column {
        display: none;
    }

    .left-column {
        width: 100%;
    }
}


@media screen and (max-width: 1600px) {
    .right-column {
        display: none;
    }
}