﻿/*body {
    font-family: Tahoma;
}*/

header {
    text-align: center;
}

#calendar {
    width: 100%;
}

    #calendar a {
        color: #8e352e;
        text-decoration: none;
    }

    #calendar ul {
        list-style: none;
        padding: 0;
        margin: 0;
        width: 100%;
    }

        #calendar ul.days {
            display: flex;
        }

    #calendar li {
        /*display: block;
    float: left;*/
        /*width:14.342%;*/
        width: 14.37%;
        padding: 5px;
        box-sizing: border-box;
        border: 1px solid #ccc;
        margin-right: -1px;
        margin-bottom:0;
        border-top:none;
    }

    #calendar ul.weekdays {
        height: 46px;
        /*background: #0092d0;*/
        /*background: #ffd500;*/
    }

        #calendar ul.weekdays li {
            display: block;
            float: left;
            text-align: center;
            text-transform: uppercase;
            line-height: 20px;
            padding: 13px 6px;
            font-family: "Cabin",Sans Serif,Arial !important;
            border: none;
            border-right: 1px solid #ccc;
            border-left: 1px solid #ccc;
            color: #373737;
            font-size: 16px;
            letter-spacing: 1px;
            font-weight: bolder !important;
            background-color: #71908f !important;
        }

    #calendar .days li {
        min-height: 130px !important;
        /*overflow:auto;*/
        /*display:table-cell!important;*/
        vertical-align: top;
        /*display: inline-block;*/
    }

        #calendar .days li:hover {
            background: #d3d3d3;
        }

    #calendar .date {
        text-align: right;
        /*padding: 4px;*/
        /*background: #333;*/ /*#0092d0;*/
        color: #fff;
        width: 20px;
        /*border-radius: 50%;*/
        float: right;
        margin: 4px;
        color: #373737;
        font-size: 17px;
        letter-spacing: 1px;
        font-family: "Cabin",Sans Serif,Arial !important;
        font-weight: bolder !important;
    }

    #calendar .event {
        clear: both;
        display: block;
        font-size: 12px;
        /*border-radius: 4px;*/
        padding: 5px;
        margin-top: 10px;
        margin-bottom: 5px;
        line-height: 14px;
        /*background: #e4f2f2;
    border: 1px solid #b5dbdc;
    color: #009aaf;*/
        background: #40a29f;
        /*border: 1px solid #40a29f;*/
        color: #fff;
        text-decoration: none;
    }
    #calendar .date + a .event {
        margin-top: 40px;
    }
    #calendar .event.multiple {
        background: #a4bb20;
    }

    #calendar .event-desc {
        color: #fff;
        margin: 3px 0 7px 0;
        text-decoration: none;
        /*font-weight:bold;*/
        /*word-break:break-all;*/
        -webkit-hyphens: auto;
        -moz-hyphens: auto;
        hyphens: auto;
        -ms-hyphens: auto;
    }

    #calendar .other-month {
        background: #f5f5f5;
        color: #666;
    }

        #calendar .other-month .date {
            color: #989898;
        }

/* ============================
                Mobile Responsiveness
   ============================*/


@media(max-width: 768px) {

    /*#calendar .weekdays, #calendar .other-month {
        display: none;
    }*/

    #calendar li {
        height: auto !important;
        border: 1px solid #ededed;
        /*width: 100%;*/
        padding: 10px;
        margin-bottom: -1px;
    }

    #calendar .date {
        float: none;
    }
}
