.calendar, .calendar_weekdays, .calendar_content {
    max-width: 450px;
}

.calendar_header {
    padding: 10px 0;
}

.calendar-icon {
    height: 22px;
    width: 22px;
    background-size: cover;
    display: inline-block;
    filter: invert(24%) sepia(18%) saturate(5272%) hue-rotate(212deg) brightness(90%) contrast(91%);
}

.calendar-left {    
    background-image: url("../images/bsicons/chevron-double-left.svg");
}

.calendar-right {
    background-image: url("../images/bsicons/chevron-double-right.svg");
}

.calendar, .calendar_weekdays, .calendar_content {
    max-width: 450px;
}

.calendar {
    margin: auto;
    font-weight: 400;
}

.calendar_content {
    background: #fff;
}

.calendar_weekdays {
    background: #323d95;
}

.calendar_header {
    padding: 10px 0;
}

.calendar_content, .calendar_weekdays, .calendar_header {
    position: relative;
    overflow: hidden;
}

    .calendar_weekdays div {
        display: inline-block;
        vertical-align: top;
        color: #fff !important;
    }

    .calendar_weekdays div, .calendar_content div {
        width: 14.28571%;
        overflow: hidden;
        text-align: center;
        background-color: transparent;
        color: #000;
        font-size: 16px;        
    }

    .calendar_weekdays div {
        padding: 4px 0;
    }

    .calendar_content div {
        padding: 15px 0;
        border: 1px solid transparent;
        float: left;
        position: relative;
        z-index: 0;
    }

        .calendar_content div:hover {
            border: 1px solid #dcdcdc;
            cursor: default;
        }

        .calendar_content div.blank:hover {
            cursor: default;
            border: 1px solid transparent;
        }

        .calendar_content div.past-date {
            color: #d5d5d5;
        }

        .calendar_content div.today {
            font-weight: bold;
            font-size: 16px;
            color: #323d95 !important;
        }

            .calendar_content div.today:after {
                position: absolute;
                top: 50%;
                left: 0;
                right: 0;
                bottom: 0;
                -webkit-transform: translateY(-50%);
                -ms-transform: translateY(-50%);
                transform: translateY(-50%);
                content: '';
                width: 40px;
                height: 40px;
                border: 1px solid #323d95;
                border-radius: 50%;
                margin: 0 auto;
                z-index: -1;
                -webkit-box-shadow: 0px 5px 11px -9px rgba(0, 0, 0, 0.48);
                -moz-box-shadow: 0px 5px 11px -9px rgba(0, 0, 0, 0.48);
                box-shadow: 0px 5px 11px -9px rgba(0, 0, 0, 0.48);
            }

        .calendar_content div.selected {
            font-weight: bold;
            font-size: 16px;
            color: #ffffff !important;
        }
            .calendar_content div.selected:after {
                position: absolute;
                top: 50%;
                left: 0;
                right: 0;
                bottom: 0;
                -webkit-transform: translateY(-50%);
                -ms-transform: translateY(-50%);
                transform: translateY(-50%);
                content: '';
                width: 40px;
                height: 40px;
                border-radius: 50%;
                margin: 0 auto;
                background: #323d95;
                z-index: -1;
            }

.calendar_header {
    width: 100%;
    text-align: center;
}

    .calendar_header h2 {
        padding: 0 10px;
        font-weight: 500;
        font-size: 20px;
        color: #323d95;
        float: left;
        width: 70%;
        margin: 0 0 10px;
    }

button.switch-month {
    background-color: transparent;
    padding: 0;
    outline: none;
    border: none;
    color: #dcdcdc;
    float: left;
    width: 15%;
    -webkit-transition: color .2s;
    -o-transition: color .2s;
    transition: color .2s;
}

    button.switch-month:hover {
        color: #1089ff;
    }
