:root {
    --primary-color: #2A81A6;
    --primary-color-rgb: 42,129,166;
}

.content-section {
    padding: 5rem 2rem;
}

.content-section.schedule-infos {
    background-color: var(--primary-color);
}

.logo-img {
    width: calc(10rem + 1vw);
    height: calc(10rem + 1vw);
    position: relative;
    object-fit: cover;
    background-color: #fff;
    border-radius: 50%;
    margin-top: calc(1rem + 1vw);
    padding: 1.5rem;
}

.logo-img img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.logo-img::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(12rem + 1vw);
    height: calc(12rem + 1vw);
    background-color: transparent;
    border-radius: 50%;
    border: .35rem solid #fff;
}

.month-arrow {
    width: 4.4rem;
    height: 4.4rem;
    color: #fff;
    padding: .75rem;
    border-radius: 50%;
    background-color: rgba(255,255,255,.075);
    transition: background-color .1s ease;
}

.month-arrow:hover  {
    background-color: rgba(255,255,255,.12);
}

.border-primary {
    border-color: var(--primary-color);
}

.date-arrow {
    min-width: calc(4rem + .4vw);
    min-height: calc(4rem + .4vw);
    color: rgba(var(--primary-color-rgb), .8);
    border-radius: 50%;
    background-color:  rgba(var(--primary-color-rgb), .2);
    transition: background-color .1s ease;
    box-shadow: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.date-arrow:not(.disabled):hover {
    background-color: rgba(var(--primary-color-rgb), .3);
}

.date-arrow.disabled {
    filter: grayscale(1);
    cursor: default;
    pointer-events: none;
}

.schedule-picker {
    max-width: 550px;
}

.picker-label {
    min-width: calc(16rem + 1vw);
}

.picker-label > * {
    text-align: center;
}

.user-select-none {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

.month-label {
    font-size: 2rem;
    font-weight: bolder;
}

.year-label {
    font-size: 1.5rem;
}

.picker-row-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 14.2%);
}

.picker-row-grid .picker-item {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.day-label {
    font-size: calc(1.3rem + .15vw);
    color: #fff !important;
    font-weight: bolder;
}

.day-number {
    font-size: calc(1.2rem + .15vw);
    font-weight: bold;
}

.day-number.faded {
    color: #d1d1d1 !important;
    text-decoration: line-through;
}

.day-number.selectable {
    position: relative;
    z-index: 2;
    color: #fff;
    cursor: pointer;
    transition: background-color .2s ease;
}

.day-number.selectable:hover {
    background-color: rgba(255,255,255,.1);
}

.day-number.selectable.selected {
    color: #131313;
}

.day-number.selectable.selected::before {
    content: '';
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: -1;
    position: absolute;
    width: 4rem;
    height: 4rem;
    transition: all .1s ease;
    background-color: #fff;
}

.section-title {
    font-size: calc(1.7rem + 1.2vw);
    line-height: 1.6;
    color: #343434;
}

.section-subtitle {
    font-size: calc(1.6rem + .3vw);
    line-height: 1.6;
    color: #373737;
}

.text-primary {
    color: var(--primary-color) !important;
}

.spacer {
    min-height: 7vh;
}

.inp {
    position: relative;
    margin: auto;
    width: 100%;
    height: 53px;
}

.inp .border {
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    height: 18px;
    fill: none;
    pointer-events: none;
}

.inp .border path {
    stroke: #c8ccd4;
    stroke-width: 2;
}

.inp .border path d {
    transition: all 0.2s ease;
}

.inp .check {
    position: absolute;
    top: 20px;
    right: 20px;
    fill: none;
    transform: translate(0, 9px) scale(0);
    transition: all 0.3s cubic-bezier(0.5, 0.9, 0.25, 1.3);
    transition-delay: 0.15s;
}

.inp .check path {
    stroke: var(--primary-color);
    stroke-width: 2;
}

.inp input {
    -webkit-appearance: none;
    width: 100%;
    border: 0;
    font-family: inherit;
    padding: 0;
    height: 48px;
    font-size: 16px;
    font-weight: 500;
    background: none;
    border-radius: 0;
    color: #223254;
    transition: all 0.15s ease;
}

.inp input:focus {
    outline: none;
}

.inp input:focus + .border path {
    stroke: var(--primary-color);
}

.inp input:valid + .border path {
    animation: elasticInput 0.8s ease forwards;
}

.inp input:valid + .border + .check {
    transform: translate(0, 0) scale(1);
}

::placeholder {
    color: #9098a9;
}

.schedule-times-item .box {
    width: calc(6rem + .2vw);
    height: calc(6rem + .2vw);
    color: #000;
    transition: all .15s ease;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.schedule-times-item:not(.selected):hover .box  {
    transition: background .15s ease;
    background-color: rgba(var(--primary-color-rgb), .1) !important;
}

.schedule-times-item.selected .box  {
    background-color: var(--primary-color);
}

.schedule-times-item.selected .box  > * {
    color: #fff !important
}

.schedule-slider-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.doctor-card-box {
    margin-bottom: 6rem;
}

.doctor-card .doctor-img {
    margin-top: -60px;
    border: 1px solid rgba(161, 161, 161, 0.4);
}

.badge-time {
    min-width: 80%;
    font-size: 1.35rem;
}

.badge-time svg {
    width: calc(1.25rem + .05vw);
    height: calc(1.25rem + .05vw);
}

.badge-time:hover,
.badge-time.selected {
    transition: all .15s ease;
    background-color: var(--primary-color) !important;
    color: #fff !important;
}

.modal .btn {
    border-radius: 50px;
    min-width: 12rem;
    background-color: transparent;
    font-weight: bolder;
    font-size: calc(1.3rem + .1vw);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.45rem 4rem;
    border: 2px solid;
    transition: all .15s ease;
}

.btn-cancel {
    border-color: #767676 !important;
    color: #767676;
}

.btn-cancel:hover {
    background-color: #767676;
    color: #fff;
}

.btn-reserve {
    border-color: var(--primary-color) !important;
    color: var(--primary-color);
}

.btn-reserve:hover {
    background-color: var(--primary-color);
    color: #fff !important;
}

.form-check-input {
    border-color: var(--primary-color) !important;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.skeleton-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    animation: 1.5s shine linear infinite;
    background: linear-gradient(110deg, #e5e5e5 8%, #f0f0f0 18%, #e5e5e5 33%);
    background-size: 200% 100%;
}


@-moz-keyframes elasticInput {
    33% {
        d: path("M0,12 L226,12 C220,12 220.666667,12 228,12 C239,12 245,1 253,1 C261,1 268,12 278,12 C284.666667,12 285.333333,12 280,12");
    }
    66% {
        d: path("M0,12 L226,12 C220,12 220.666667,12 228,12 C239,12 245,17 253,17 C261,17 268,12 278,12 C284.666667,12 285.333333,12 280,12");
    }
}

@-webkit-keyframes elasticInput {
    33% {
        d: path("M0,12 L226,12 C220,12 220.666667,12 228,12 C239,12 245,1 253,1 C261,1 268,12 278,12 C284.666667,12 285.333333,12 280,12");
    }
    66% {
        d: path("M0,12 L226,12 C220,12 220.666667,12 228,12 C239,12 245,17 253,17 C261,17 268,12 278,12 C284.666667,12 285.333333,12 280,12");
    }
}

@-o-keyframes elasticInput {
    33% {
        d: path("M0,12 L226,12 C220,12 220.666667,12 228,12 C239,12 245,1 253,1 C261,1 268,12 278,12 C284.666667,12 285.333333,12 280,12");
    }
    66% {
        d: path("M0,12 L226,12 C220,12 220.666667,12 228,12 C239,12 245,17 253,17 C261,17 268,12 278,12 C284.666667,12 285.333333,12 280,12");
    }
}
@keyframes elasticInput {
    33% {
        d: path("M0,12 L226,12 C220,12 220.666667,12 228,12 C239,12 245,1 253,1 C261,1 268,12 278,12 C284.666667,12 285.333333,12 280,12");
    }
    66% {
        d: path("M0,12 L226,12 C220,12 220.666667,12 228,12 C239,12 245,17 253,17 C261,17 268,12 278,12 C284.666667,12 285.333333,12 280,12");
    }
}


@media (min-width: 768px) {
    .schedule-times-body {
        width: calc(100% - calc(8rem + .8vw));
    }
}

@media (min-width: 1200px) {
    .schedule-time-by-days {
        max-height: 60vh;
        overflow: auto
    }
}

@media (max-width: 1200px) {
    .content-section.schedule-infos {
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15) inset;
    }
}
