﻿/*--------------------------------------
	CALENDAR
---------------------------------------*/


.calendar {
    width: 100%;
}

.calendar a {
    color: #666;
    text-decoration: none;
}

.calendar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.calendar li {
    display: block;
    float: left;
    width: 13.99%;
    margin: 0.5px;
    box-sizing: border-box;
    border: 1px solid #eee;
}

.calendar li img {
    max-width: 100% !important;
    max-height: 90% !important;
    /*padding-top: 5%;*/
}

.calendar ul.weekdays li {
    background: #ccc;
    text-align: center;
    text-transform: uppercase;
    border: none !important;
    color: #000;
    font-size: 11px;
    padding: 8px 0;
}

.calendar .days li {
    height: 47px;
    text-align: center;
}

.calendar .days li:hover {
    background: #d3d3d3;
}

.calendar .date {
    position: absolute;
    padding-left: 2px;
    font-size: 9px;
}

.calendar .other-month {
    visibility: hidden;
}

.calendar .today {
    background: #f8fbb3;
}

.calendar a div.valor {
    position: relative;
    top: 20px;
    line-height: 14px;
}

.calendar a.discovery-cove {
    font-size: 11px;
    font-weight: bold;
}

@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;
    }*/

    .calendar li {
        margin: 0.3px;
    }

    .calendar li img {
        margin-top: 13px;
    }
}

@media (max-width:540px) {
    .calendar a {
        font-size: 11px;
        font-weight: 600;
        line-height: 22px;
    }
    .calendar a.discovery-cove {
        font-size: 8px;
        line-height: 8px;
        letter-spacing: -1px;
        font-weight: 500;
    }
}

@media (min-width:541px) and (max-width:767px) {
    .calendar a {
        font-size: 13px;
        font-weight: 500;
        line-height: 24px;
    }
    .calendar a.discovery-cove {
        font-size: 10px;
        line-height: 10px;
        font-weight: 600;
    }
}