﻿section.dayFilter {
    margin-top: 30px;
    margin-bottom: 0;
}

    section.dayFilter .calendarOuter {
        position: relative;
        z-index: 100;
        display: none;
    }

    section.dayFilter .calendarBody {
        position: absolute;
        bottom: 5px;
        left: 0px;
    }

        section.dayFilter .calendarBody.listBottom {
            bottom: initial;
            top: 55px;
        }

div.dayFilter {
    display: flex;
    flex-wrap: wrap;
}

    div.dayFilter a {
        margin: 0 2px 10px 2px;
        border-radius: 5px;
        border: 0;
        /*  font-size: 120%;*/
        display: inline-grid;
        grid-template-columns: 1fr auto;
        padding: 5px 10px;
        box-shadow: 0px 10px 20px 0px rgba(255,255,255,0.2);
        transition: all 0.4s;
        background-color: black;
        color: #e0e0e0;
        border: 1px solid #5e5e5e;
        cursor: pointer;
        /* gap: 5px 10px;*/
        align-items: center;
        transition: all 0.5s;
    }

        /* .dayFilter a.chooseDay {
            height: 34px;
            display: inline-block;
        }*/

        div.dayFilter a:hover, div.dayFilter a.selected {
            box-shadow: 0px 10px 15px 0px rgba(255,255,255,0.4);
            transform: scale(1.05);
            background-color: white;
            color: black;
        }


    div.dayFilter .date span {
        display: block;
        text-align: center;
    }

    div.dayFilter .count {
        background: white;
        color: #404040;
        border-radius: 5px;
        padding: 5px;
        margin-left: 10px;
        font-size: 80%;
    }

    div.dayFilter a:hover .count, div.dayFilter a.selected .count {
        color: #c0c0c0;
        background: black;
    }

    div.dayFilter .dayName {
        font-size: 92%;
        font-weight: 200;
        color: #dfdfdf;
    }

    div.dayFilter a:hover .dayName, div.dayFilter a.selected .dayName {
        color: #202020;
    }

    div.dayFilter .dayDate {
        font-size: 112%;
    }


.calendarBody {
    box-shadow: 0px 10px 15px 0px rgba(255, 255, 255, 0.2);
}

    .calendarBody ul {
        list-style-type: none;
    }


    /* Month header */
    .calendarBody .month {
        width: 100%;
        background: white;
        text-align: center;
        border-radius: 5px 5px 0 0;
    }

        /* Month list */
        .calendarBody .month ul {
            margin: 0;
            padding: 0;
            padding: 10px;
        }

            .calendarBody .month ul li {
                color: black;
                font-size: 20px;
                text-transform: uppercase;
                letter-spacing: 3px;
            }

        /* Previous button inside month header */
        .calendarBody .month .prev {
            float: left;
            padding-top: 10px;
            cursor: pointer;
        }

        /* Next button */
        .calendarBody .month .next {
            float: right;
            padding-top: 10px;
            cursor: pointer;
        }

    /* Weekdays (Mon-Sun) */
    .calendarBody .weekdays {
        margin: 0;
        padding: 10px 0;
        background-color: #ddd;
        padding-left: 10px;
    }

        .calendarBody .weekdays li {
            display: inline-block;
            width: 13.66%;
            overflow: hidden;
            color: #666;
            text-align: center;
        }

    /* Days (1-31) */
    .calendarBody .days {
        padding: 10px 0;
        background: black;
        color: silver;
        margin: 0;
        padding-left: 10px;
        border-radius: 0 0 5px 5px;
    }

        .calendarBody .days a {
            color: white;
        }

        .calendarBody .days li {
            list-style-type: none;
            display: inline-block;
            width: 13.66%;
            text-align: center;
            /*margin-bottom: 5px;*/

            font-size: 12px;
            color: #777;
        }

            .calendarBody .days li a, .calendarBody .days li span {
                display: block;
                transition: all 0.5s;
                padding: 10px 0;
            }
            .calendarBody .days li.today {
                background-color: white;
                color: black;
            }

                .calendarBody .days li.today a {
                    color: black;
                }

                .calendarBody .days li a:hover {
                    background-color: white;
                    color: black;
                    transform: scale(1.05);
                }
            /* Highlight the "current" day */
            .calendarBody .days li .active {
                padding: 5px;
                background: #1abc9c;
                color: white !important
            }





/* mobilni design */
@media screen and (max-width: 444px) {
    div.dayFilter {
        display: grid;
        grid-template-columns: 33% 33% 33%;
        margin-bottom: 20px;
    }

        div.dayFilter a.chooseDay {
            display: inline-block;
            text-align: center;
        }
}
