/* Calendario */
.sample-calendar {
    max-width: 400px;
    text-align: center;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 5px;
    -webkit-box-shadow: 0px 19px 27px -20px rgba(0, 0, 0, 0.16);
    -moz-box-shadow: 0px 19px 27px -20px rgba(0, 0, 0, 0.16);
    box-shadow: 0px 19px 27px -20px rgba(0, 0, 0, 0.16);
}

.wrap-header {
    position: relative;
    width: 50%;
    background: #e7983e;
    padding: 0.3rem;
}

#header-cal {
    width: 100%;
    position: relative;
}

.sample-calendar #header-cal .pre-button, .sample-calendar #header-cal .next-button {
    cursor: pointer;
    width: 1em;
    height: 1em;
    line-height: 1em;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    font-size: 16px;
}

.pre-button {
    left: 5px;
    color: #000000;
}

.next-button {
    right: 5px;
    color: #000000;
}

.head-info, #header-cal {
    align-items: center !important;
    text-align: center;
}

.head-day {
    font-size: 3em;
    line-height: 1;
    color: #000000;
    text-align: center;
}

.head-month {
    font-size: 0.8em;
    line-height: 1;
    color: #000000;
    /*font-size: 14px;*/
    text-transform: uppercase;
    text-align: center;
}

.calendar-wrap {
    width: 100%;
    background: #fff;
    padding: 40px 20px 40px 20px;
}

.sample-calendar #calendar {
    width: 100%;
}

#calendar table {
    border-collapse: collapse;
}

#calendar tr {
        height: 1.9em;
    }
#calendar th {
    text-align: inherit;
    font-size: 0.9rem;
}


#calendar thead tr {
    color: #000;
    font-weight: 700;
}

#calendar tbody tr {
    color: #000;
}

#calendar tbody td {
    width: 14%;
    /*problema table js border-radius: 50%;*/
    cursor: pointer;
    -webkit-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
    position: relative;
    z-index: 0;
    font-size: 0.9rem;
}

#calendar tbody td:after {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    bottom: 0;
    content: '';
    width: 30px;
    height: 30px;
    margin: 0 auto;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    border-radius: 50%;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    z-index: -1;
}

@media (prefers-reduced-motion: reduce) {
    #calendar tbody td:after {
        -webkit-transition: none;
        -o-transition: none;
        transition: none;
    }
}

#calendar tbody td:hover, .selected {
    color: #fff;
    border: none;
}

    #calendar tbody td:hover:after, .selected:after {
        background: #2a3246;
    }

#calendar tbody td:active {
    -webkit-transform: scale(0.7);
    -ms-transform: scale(0.7);
    transform: scale(0.7);
}

#calendar tbody td:hover, .activity {
    color: #fff;
    border: none;
}

    #calendar tbody td:hover:after, .activity:after {
        background: #2a3246;
    }

#today {
    color: #fff;
}

    #today:after {
        background: #e7983e;
    }


    /*fino a qui*/

#disabled {
    cursor: default;
    background: #fff;
}

    #disabled:hover {
        background: #fff;
        color: #c9c9c9;
    }

        #disabled:hover:after {
            background: transparent;
        }

#reset {
    display: block;
    position: absolute;
    right: 0.5em;
    top: 0.5em;
    z-index: 999;
    color: #000000;
    cursor: pointer;
    padding: 0 0.5em;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 11px;
}

    #reset:hover {
        color: #000000;
        border-color: #fff;
    }

    #reset:active {
        -webkit-transform: scale(0.8);
        -ms-transform: scale(0.8);
        transform: scale(0.8);
    }