
/*  Events display */
.events-container {
    overflow-y:auto;
    height: 100%;
    width: 100%;
    margin: 0px auto;
    display: inline-block;
    padding: 0px;
    border-bottom-right-radius: 3px;
    border-top-right-radius: 3px;
    padding: 0;
}


.event-card {
    padding: 15px;
    width: 100%;
    display: block;
    border: none !important;
    margin-bottom: 10px;
    background-color: #0275d8;
    color:white;
}

.event-count, .event-name, .event-cancelled {
    display: inline;
}

.event-name {
    padding-right: 0;
    text-align: left;
}

.event-cancelled {
    color: #0275d8;
    text-align: right;
}

.tooltip-inner {
    text-align: left !important;
}

/*  Calendar wrapper */
.calendar-container {
    position: relative;
    margin: 0 auto;
    height: 100%;
    width: 100%;
    background: #fff;
    font: 13px Helvetica, Arial, san-serif;
    display: inline-block;
    padding: 0px 20px 0px 20px;
    float: right;
}

@media (max-width: 991.98px) {
    .calendar-container {
        padding: 0;
    }
}

@media (max-width: 767.98px) {
    .calendar-container {
        padding: 0;
        width: 100%;
    }
}

.calendar-container:after {
    clear: both;
}

.calendar {
    width: 100%;
    padding: 0;
}

/* Calendar Header */
.year-header {
    background: #fff;
    height: 40px;
    text-align: center;
    position: relative;
    color: #fff;
    border-top-left-radius: 3px;
    margin-top: 0px;
}

    .year-header span {
        display: inline-block;
        font-size: 20px;
        line-height: 40px;
        color: #000;
    }

.left-button, .right-button {
    cursor: pointer;
    width: 28px;
    text-align: center;
    position: absolute;
    color: #cccccc !important;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    font-size: 14px !important;
}

@media (prefers-reduced-motion: reduce) {
    .left-button, .right-button {
        -webkit-transition: none;
        -o-transition: none;
        transition: none;
    }
}

.left-button:hover, .right-button:hover {
    color: #0275d8 !important;
}

.left-button {
    left: 0;
}

.right-button {
    right: 0;
    top: 0;
}

/* Buttons */
.button {
    cursor: pointer;
}

    .button.button-white {
        background: #fff;
        color: #000;
    }

    .button:focus {
        -webkit-box-shadow: none;
        box-shadow: none;
        outline: none;
    }

#cancel-button {
    background: #000;
}
#cancel-edit-button {
    background: #000;
}

#add-button {
    display: block;
    float:right;
}

/* Days/months tables */
.days-table, .dates-table, .months-table {
    border-collapse: separate;
    text-align: center;
}

.day {
    height: 26px;
    width: 12%;
    padding: 0 0px;
    line-height: 26px;
    border: 2px solid transparent;
    text-transform: uppercase;
    font-size: 10px;
    color: #000;
    text-align:center;
}

.month {
    cursor: default;
    height: 26px;
    width: 26px;
    padding: 0 2px;
    padding-top: 10px;
    line-height: 26px;
    text-transform: uppercase;
    font-size: 11px;
    color: #cccccc;
    -webkit-transition: all 250ms;
    -o-transition: all 250ms;
    transition: all 250ms;
}

@media (max-width: 991.98px) {
    .month {
        font-size: 8px;
    }
}

@media (max-width: 767.98px) {
    .month {
        font-size: 10.5px;
    }
}

.active-month {
    font-weight: 700;
    color: #0275d8;
}

.month:hover {
    color: #0275d8;
}

/*  Dates table */

.table-date {
    cursor: pointer;
    color: #2b2b2b;
    height: 26px;
    width: 12%;
    font-size: 15px;
    padding: 10px;
    line-height: 26px;
    text-align: center;
    border: 1px solid transparent;
    -webkit-transition: all 250ms;
    -o-transition: all 250ms;
    transition: all 250ms;
    position: relative;
    border: 1px solid black;
    z-index: 0;
}
.nil {
    cursor: default !important;
}

    .table-date_THIS_IS_THE_CIRCLE:before {
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        bottom: 0;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        content: '';
        margin: 0 auto;
        border-radius: 50%;
        z-index: -1;
    }

.noDates {
    border: none;
}

/* this is a date that has some time*/
.event-date {
    background-color:white; /* could be a light blue? */ 
    color: black;
}

/* this is an active date that's empty*/
.active-date {
    background-color: #0275d8;
    color: black;
    font-weight: bold;
}

    .active-date:before {
        background: #0275d8;
    }

    /* this is an active date with time*/
.event-date.active-date {
    background: #0275d8;
    color:white;
    font-weight:bold;
}

/* input dialog */
.dialog {
    z-index: 5;
    background: #0275d8;
    position: relative;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    display: none;
    padding-bottom:30px;
}

@media (max-width: 767.98px) {
    .dialog {
        width: 100%;
        
    }
}

.dialog-header {
    margin: 10px;
    color: #fff;
    text-align: center;
    font-size: 24px;
}

.form-container {
    margin-top: 20%;
}

.form-control {
    max-width:300px;
}

.form-label {
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.9);
}

.input {
    border: none;
    background: none;
    border: 1px rgba(255, 255, 255, 0.2) solid;
    display: block;
    margin-bottom: 30px;
    width: 300px;
    height: 40px;
    text-align: center;
    color: #fff;
}

.input:focus {
        outline: none;
        border-color: #fff;
    }

.error-input {
    border-color: red;
    background-color:lightpink;
}
