body {
    font-family: "Lato", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    font-weight: normal;
    background: #f8f9fd;
    color: gray;
}

app-calendar a {
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
    color: #e13a9d;
}

a:hover,
a:focus {
    text-decoration: none !important;
    outline: none !important;
    -webkit-box-shadow: none;
    box-shadow: none;
}

h1,
h2,
h3,
h4,
h5,
.h1,
.h2,
.h3,
.h4,
.h5 {
    line-height: 1.5;
    font-weight: 400;
    font-family: "Lato", Arial, sans-serif;
    color: #000;
}

.bg-primary {
    background: #e13a9d !important;
}

.ftco-section {
    padding: 7em 0;
}

.ftco-no-pt {
    padding-top: 0;
}

.ftco-no-pb {
    padding-bottom: 0;
}

.heading-section {
    font-size: 28px;
    color: #000;
}

.img {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.app-calendar {
    max-width: 100%;
    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%;
    z-index: 0;
    min-height: 500px;    
    padding: 10px;
}

.wrap-header:after {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: '';
    background: #000;
    opacity: .5;
    z-index: -1;
}

@media (max-width: 767.98px) {
    .wrap-header {
        width: 100%;
        padding: 20px 0;
    }
}

#header {
    width: 100%;
    position: relative;
}

#header .pre-button,
#header .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: 18px;
}

#header .pre-button i,
#header .next-button i {
    color: #fff;
}

.pre-button {
    left: 5px;
}

.next-button {
    right: 5px;
}

.button-wrap {
    position: relative;
    padding: 10px 0;
}

.button-wrap .pre-button,
.button-wrap .next-button {
    cursor: pointer;
    width: 1em;
    height: 1em;
    line-height: 1em;
    border-radius: 50%;
    position: absolute;
    top: 0;
    font-size: 18px;
}

.button-wrap .pre-button i,
.button-wrap .next-button i {
    color: #cccccc;
}

.button-wrap .pre-button {
    left: 20px;
}

.button-wrap .next-button {
    right: 20px;
}

.head-day {
    font-size: 2em;
    line-height: 1;
    color: #000;
    display: none;
}

.head-month {
    font-size: 16px;
    font-size: 1.5em;
    line-height: 1;
    color: #000;    
    text-transform: uppercase;
    font-weight: 300;
    display: inline-block;
}

.calendar-wrap {
    width: 100%;
    background: #fff;
    padding: 40px 20px 20px 20px;
}

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

#calendar {
    width: 100%;
}

#calendar tr {
    height: 3em;
}

thead tr {
    color: #000;
    font-weight: 700;
}

tbody tr {
    color: #000;
}

tbody td {
    width: 14%;
    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;
}

tbody td:after {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    bottom: 0;
    content: '';
    width: 44px;
    height: 44px;
    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) {
    tbody td:after {
        -webkit-transition: none;
        -o-transition: none;
        transition: none;
    }
}

tbody td:hover,
.selected {
    color: #fff;
    border: none;
}

tbody td:hover:after,
.selected:after {
    background: #2a3246;
}

tbody td:active {
    -webkit-transform: scale(0.7);
    -ms-transform: scale(0.7);
    transform: scale(0.7);
}

#today {
    color: #fff;
}

#today:after {
    background: #e13a9d;
}

#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: rgba(255, 255, 255, 0.7);
    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: #fff;
    border-color: #fff;
}

#reset:active {
    -webkit-transform: scale(0.8);
    -ms-transform: scale(0.8);
    transform: scale(0.8);
}

.w-100{
    width: 100% !important;
}


.d-flex{
    display: flex !important;
}

.align-items-center{
    align-items: center !important;
} 

.justify-content-center{
    justify-content: center !important;
}

@media (min-width: 768px) {
    .d-md-flex {
        display: flex !important;
    }
}


.app-calendar table,.app-calendar tbody, .app-calendar tfoot, .app-calendar thead, .app-calendar tr, .app-calendar th, .app-calendar td{
    vertical-align: middle;
    text-align: center;
}

.slot-button{
    color: black;
    background-color: white;
    display: block;
    width: 100%;
    border-radius: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.app-hidden{
    display:none !important;    
}


.calendar-confirmation{
    min-height: 300px;
    vertical-align: baseline;
    text-align:center;
}