
.thinksafe_calendar{
    padding: 0px 5px 5px 5px;
    min-width: 750px;
}

.calendar-cell{
    padding-bottom: 2px;
}

/*.calendar-week{*/
/*display: table;*/
/*width: 100%;*/
/*}*/

.calendar-day-header{
    width: 14.2857% !important;
    text-align: center;
    border: black solid thin;
    float: left;
    padding-right: .2em;
    padding-left: .2em;
}

.emptyCell{
    min-height: 10em;
    width: 14.2857% !important;
    border: #ccc solid thin;
    float: left;
    padding-right: .2em;
    padding-left: .2em;
}

.calendar-day-cell{
    min-height: 10em;
    /*height: 100%;*/
    width: 14.2857% !important;
    border: black solid thin;
    float: left;
    padding-right: .2em;
    padding-left: .2em;
}

.calendar-day-cell-number-row-empty > h5{
    color: #ccc;
    text-align: right;
}

.calendar-day-cell-number-row > h5{
    color: black;
    text-align: right;
}

.current_date{
    background-color: lightgrey;
}

.next-button{
    width:30%;
    min-width: 9em;
    margin: .5em 0 0 1em;
}

.previous-button{
    width:30%;
    min-width: 9em;
    margin: .5em 1em 0 0;
}

.current-button{
    min-width: 9em;
    margin: .5em 0 0 1em;
    width: 30%;
}
.event-button{
    min-width: 1em;
    margin-top: .5em;
}

.month-selector{
    min-width: 9em;
    width: 45%;
    margin-top: .5em;
}

.calendar_event{
    margin-bottom: 2px;
    border-radius: 4px;
    padding: 3px 0;
    width:100%;
    position: relative;
    display: inline-block;
}

.prevMonthSquares{
    border-top: black solid thin;
    border-bottom: black solid thin;
}
.nextMonthSquares{
    border-top: black solid thin;
}

.lastOfPrevMonth{
    border-right: black solid thin;
}

.firstOfNextMonth{
    border-left: black solid thin;
}


.calendar_event .tooltiptext {
    visibility: hidden;
    width: 100% !important;
    background-color: lightgrey;
    color: #000;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 100%;
    left: 50%;
    margin-left: -50%;

    opacity: 0;
    transition: opacity 1s;
}

.calendar_event:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.calendar_event .tooltiptext::after {
    content: " ";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: black transparent transparent transparent;
}


.calendar_event .tooltiptextTopRow {
    visibility: hidden;
    width: 100%;
    background-color: lightgrey;
    color: #000;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    top: 100%;
    left: 50%;
    margin-left: -50%;

    opacity: 0;
    transition: opacity 1s;
}

.calendar_event:hover .tooltiptextTopRow {
    visibility: visible;
    opacity: 1;
}


.calendar_event .tooltiptextTopRow::after {
    content: " ";
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent black transparent;
}

