﻿.calendar {
    box-sizing: border-box;
    background-color: #ddd;
    font-family: Verdana, sans-serif;
}

.calendar ul {
    list-style-type: none;
}

#calendarTable {    
    width:100%;
    height:auto;
}

.calendar .active {
    padding: 5px;
    font-weight: bold;
    color: black !important
}

.calendar .hide{
    display:none;
}

.calendar .event {
    border-radius: 25%;
    background-color: rgba(26,188,156,0.75);
    color:#FFFFFF;    
}

.calendar .activeevent {
    border-radius: 25%;
    background-color: rgba(26,188,156,0.55);
    font-weight: bold;
    color: black !important
}

.calendarFooter {
    font-size: large;
}

.month {
    padding: 5px 25px;
    width: 100%;
    background: #1abc9c;
    text-align: center;
}

    .month ul {
        margin: 0;
        padding: 0;
    }

        .month ul li {
            color: white;
            font-size: 20px;
            text-transform: uppercase;
            letter-spacing: 3px;
        }

    .month .prev {
        float: left;
        padding-top: 10px;
        color:#FFFFFF;
    }

    .month .next {
        float: right;
        padding-top: 10px;
        color: #FFFFFF;
    }

.weekdays {
    margin: 0;
    padding: 2.5px 0;
    background-color: #ddd;
}

    .weekdays th {
        display: inline-block;
        width: 13.5%;
        color: #666;
        text-align: center;
        font-weight:200;
        font-size:medium;
    }

.days {
    padding: 10px 0;
    background: #eee;
    margin: 0;
}

    .days td {
        list-style-type: none;
        display: inline-block;
        width: 13.5%;
        text-align: center;
        margin-bottom: 5px;
        font-weight: 200;
        font-size: medium;
        color: #777;
    }

        .days td .active {
            padding: 5px;
            font-weight: bold;
            color: black !important
        }

        .days td .event {
            border-radius: 35%;
            background-color: rgba(26,188,156,0.5);
        }


.calendarFooter{
    text-align:center;
}

.calendarBottomDate{
    text-align: center;
    margin: 0 5%;
}

.calendarFooter a {
    color: #000000;
}
    .calendarFooter a:hover {
        color: #000000;
        text-decoration: underline;
    }


/* Add media queries for smaller screens */
@media screen and (max-width:995px) and (min-width:760px) {
    .weekdays th, .days td {
        width: 12.1%;
        font-weight: 100;
        font-size: small;
        margin:0px 1%;
    }

        .days td .active {
            padding: 2px;
            font-size: small;
            font-weight:100;
        }

    .month ul li {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .month .prev .next {
        font-size:small;
    }

    .calendarFooter{
        font-size:small;
    }
}

@media screen and (max-width:720px) {
    .weekdays th, .days td {
        width: 13.5%;
    }
    .calendar .event {
        padding:0px 15px;
    }
}

@media screen and (max-width: 420px) {
    .weekdays th, .days td {
        width: 13.1%;
        font-weight: 100;
        font-size: small;
    }

        .days td .active {
            padding: 2px;
        }
}

@media screen and (max-width: 290px) {
    .weekdays th, .days td {
        width: 11.5%;
    }
}