/*
Single Member
*/

@import '../../../assets/config';
@import '../../../assets/mixins';
@import '../../../assets/direction';

.member-profile {
    text-align: center;
}
@include mq(md) {
    .member-single .member-profile {
        padding-#{$right}: 20px;
    }
}
@include mq(lg) {
    .member-single .member-profile {
        padding-#{$right}: 45px;
    }
}
.member-contact {
    margin-bottom: 3.3rem;
}
.member-single {
    .post-title.page-title {
        font-size: 3.2rem;
        margin-bottom: .8rem;
    }
    .post-cats {
        font-size: 1.6rem;
        margin-bottom: 3.2rem;

        > a {
            color: var(--alpha-grey-color);

            &:hover {
                color: var(--alpha-primary-color);
            }
        }
    }
    .alpha-dark & .post-cats > a {
        color: var(--alpha-primary-color);
        &:hover {
            color: var(--alpha-primary-color-hover);
        }
    }
    .post-media {
        margin: 0 auto 2.7rem;
    }
    @include mq(md, max) {
        .post-media {
            max-width: 360px;
        }
    }
    .social-icon {
        width: 3em;
        height: 3em;
    }
    .social-icons {
        margin: -.5rem -.5rem 2.3rem;
        justify-content: center;
    }
    .member-contact {
        padding: 4rem;
        border: 1px solid var(--alpha-change-border-color);

        h4 {
            margin-bottom: .5rem;
        }

        h4 + p {
            margin-bottom: 0;
        }

        label {
            font-size: 1.2rem;
            display: block;
            margin-top: 2.3rem;
        }

        a {
            display: block;
            overflow-wrap: break-word;
            line-height: 1.2;
        }

        p + label {
            margin-top: 1.8rem;
        }

        .telephone {
            font-size: 1.8rem;
            font-weight: 600;
            color: var(--alpha-change-color-dark-1);

            &:hover {
                color: var(--alpha-primary-color);
            }
        }
    }

    @include mq( lg, max ) {
        .member-contact {
            padding: 4rem 2rem;
        }
    }

    @include mq( md, max ) {
        .post-title.page-title {
            margin-top: 3rem;
        }
    }
}

.single-udesign_member .related-posts {
    border-top: 0;

    .title {
        margin-top: 6.6rem;
    }
}

// Appointment
.btn.btn-appointment {
    text-transform: none;
    max-width: 100%;

    .mini-basket-box.offcanvas-type & {
        line-height: 1;
    }

    @include mq(lg, max) {
        & {
            padding: 1.8rem 2.5rem;
        }
    }
}
.offcanvas-type {
    .offcanvas-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid var(--alpha-change-border-color);
        padding-bottom: 1.4rem;
        margin-bottom: 2rem;

        h4 {
            margin-bottom: 0;
            font-size: 1.6rem;
            text-transform: uppercase;
        }
    }
}
.booking-form {
    .form-control {
        margin-bottom: 1rem;
    }
    p.alert {
        padding: .7rem 1.7rem;
    }
}

/* Date & Time Picker */
.form-control-wrap {
    position: relative;

    // Date Picker
    .datepicker-dropdown {
        position: absolute;
        background: var(--alpha-change-color-light-1);
        border: 1px solid var(--alpha-change-border-color);
    }
    .datepicker {
        td, th {
            color: var(--alpha-change-color-dark-1);
        }
        &.datepicker-dropdown.dropdown-menu .active {
            background: var(--alpha-primary-color) !important;
            &:hover {
                background: var(--alpha-primary-color-hover);
            }
        }
    }

    // Time Picker
    .bootstrap-timepicker-widget.dropdown-menu {
        position: absolute;
        z-index: 2;
        background: var(--alpha-change-color-light-1);
        border: 1px solid var(--alpha-change-border-color);
        top: 100% !important;
        left: 0 !important;
    }
    .bootstrap-timepicker-widget td input {
        width: 4rem;
        padding: 0;
    }
    td, th {
        border-bottom: 0;
    }
}
.alpha-rounded-skin {
    .btn-appointment,
    .booking-form-submit .btn {
        border-radius: $corner-sm;
    }
}