.page-rdv-wrapper {
    display: flex;
    flex-wrap: wrap;
    min-height: calc(75vh);
}

.page-rdv-wrapper > div {
    width: 100%;
}

.page-rdv-wrapper > div.pharmacy-footer {
    margin-top: auto !important;
}

.section-apt-forms {
    padding: 55px 0;
}

lib-apt-form {
    font-size: 16px;
    color: #004e75;
    font-family: "Open Sans" !important;
}

lib-apt-form .bi-box {
    box-shadow: unset;
    padding: 0 !important;
}

lib-apt-form .bi-hr {
    background-color: #6e9ab04d;
}

informationpanel {
    position: relative;
    padding: 0 20px 30px;
    display: block;
    border-radius: 5px;
    box-shadow: 0 6px 10px 0px rgba(0, 0, 0, 0.1);
    border-top: #00b0db solid 3px;
    color: #537c92;
}

informationpanel .bi-title {
    padding-top: 30px;
    margin: 0 0 11px;
}

informationpanel .bi-title~div>.pe-4 {
    padding-right: 0 !important;
}

informationpanel .ng-fa-icon {
    margin-right: 14px !important;
    font-size: 16px !important;
    padding: 0 !important;
    display: inline-flex;
    width: 16px;
    text-align: center;
    align-items: center;
    justify-content: center;
    height: 16px;
    line-height: 0 !important;
}

informationpanel .bi-text-plus {
    color: #537c92 !important;
    font-size: 16px !important;
    font-family: "Open Sans" !important;
}

.mat-form-field-appearance-outline .mat-form-field-outline-start,
.mat-form-field-appearance-outline .mat-form-field-outline-end {
    border-color: #6e9ab0 !important;
}

.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-start,
.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-end {
    border-color: #f44336 !important;
}

.mat-form-field.mat-form-field-invalid .mat-form-field-label,
.mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,
.mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker {
    color: #f44336 !important;
}

.mat-form-field.mat-focused .mat-form-field-label,
.mat-form-field.mat-focused .mat-form-field-required-marker {
    color: #004e75;
}

.mat-form-field-appearance-outline .mat-form-field-outline-gap {
    display: none;
}

.mat-form-field-appearance-outline .mat-form-field-infix {
    padding: 8px 0 15px;
}

.mat-form-field-appearance-outline .mat-form-field-wrapper {
    margin: 25px 0 !important;
    padding-bottom: 0 !important;
}

.mat-form-field-subscript-wrapper {
    position: relative !important;
    top: 0 !important;
    margin-top: 5px;
}

.mat-form-field-label-wrapper {
    top: -38px !important;
    left: -12px !important;
    font-family: GothamRnd !important;
    font-weight: 700 !important;
    font-size: 17px !important;
}

.mat-form-field-appearance-outline .mat-form-field-label {
    top: 0;
    margin-top: 0;
    transform: unset !important;
    width: 100% !important;
    margin-bottom: 5px;
}

.mat-form-field-appearance-outline .mat-select-arrow-wrapper .mat-select-arrow {
    display: none;
}

.mat-form-field-appearance-outline .mat-select-arrow-wrapper {
    transform: translateY(-25%);
    width: 14px;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.959641 2.04036C0.569117 1.64983 0.569117 1.01667 0.959641 0.626145C1.32576 0.260029 1.90513 0.237146 2.29791 0.557498L2.37385 0.626145L7.00008 5.25259L11.6263 0.626145C11.9924 0.260029 12.5718 0.237146 12.9646 0.557498L13.0405 0.626145C13.4066 0.992262 13.4295 1.57164 13.1092 1.96441L13.0405 2.04036L7.70719 7.37369C7.34107 7.73981 6.7617 7.76269 6.36892 7.44234L6.29297 7.37369L0.959641 2.04036Z' fill='%23537C92'/%3E%3C/svg%3E%0A");
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    top: 4px;
}

.mat-form-field .mat-datepicker-toggle>.mat-icon-button {
    border: unset !important;
    top: 2px;
    padding: 0 !important;
    right: -8px;
}

.row bmdc-vital-card-input-widget .mat-form-field {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body .mat-select-value,
body .mat-input-element,
body input.mat-input-element[type] {
    color: #0f2e61 !important;
    font-family: GothamRnd !important;
    font-weight: 400 !important;
    font-size: 16px !important;
}

.mat-form-field-label,
.mat-hint {
    color: #004e75;
}

.mat-hint,
.mat-error {
    font-size: 12px !important;
    width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    font-family: GothamRnd !important;
    font-weight: 400 !important;
}

lib-apt-form .row.bi-box>.col-lg-3 {
    width: 30%;
}

lib-apt-form .row.bi-box>.col-lg-9 {
    width: 70%;
    min-height: auto !important;
    padding-left: 120px;
}

.bi-title {
    font-size: 22px !important;
    color: #004e75 !important;
    font-family: GothamRnd !important;
    font-weight: 700 !important;
}

.bi-subtitle {
    font-size: 32px !important;
    color: #004e75 !important;
    font-family: GothamRnd !important;
    font-weight: 700 !important;
}

.bi-custom-alert-warning {
    border-radius: 5px;
    width: calc(100% - 20px) !important;
    margin: 0 10px 25px !important;
    font-size: 15px !important;
    border: unset !important;
}

apttypepanel .col-sm-12.col-md-6.col-lg-4 {
    position: relative;
    padding: 0 15px !important;
}

@media (min-width: 992px) {
    apttypepanel .col-sm-12.col-md-6.col-lg-4 {
        width: 50%;
    }
}

apttypepanel .bi-apt-card {
    box-shadow: none !important;
    padding: 25px 43px !important;
    border: #6e9ab04d solid 1px;
    text-align: center;
    height: 100%;
    display: flex !important;
    align-items: center;
    color: #0f2e61 !important;
    background-color: #fff !important;
    font-family: GothamRnd !important;
    font-weight: 700 !important;
    font-size: 17px !important;
}

apttypepanel .bi-apt-card:hover {
    background: #004e75 !important;
    color: #fff !important;
}

lib-apt-form .row.bi-box>.col-lg-9>.col-lg-9,
lib-apt-form .row.bi-box>.col-lg-9>.col-lg-3 {
    width: 100%;
}

calendar-view mat-grid-list {
    margin: 0 -40px;
}

calendar-view .header>div:nth-child(1) {
    width: 100% !important;
}

calendar-view .header>div:nth-child(2) {
    display: none !important;
}

calendar-view .header .bi-title.mw-250 {
    width: 100%;
    display: flex !important;
    align-items: center;
}

calendar-view mat-grid-tile .mat-grid-tile-content {
    font-size: 13px !important;
    color: #004e75;
    font-family: GothamRnd !important;
    font-weight: 400 !important;
    text-transform: lowercase !important;
}

calendar-view .day-slots {
    background-color: transparent !important;
    border-radius: 100%;
    color: #004e75;
    height: 50px;
    width: 50px;
    border: #6e9ab0 solid 1px;
}

calendar-view .bi-subtitle,
calendar-view .day-slots .bi-subtitle,
calendar-view .day-slots .bi-subtitle.color-primary {
    font-size: 16px !important;
    color: #004e75 !important;
    font-family: GothamRnd !important;
    font-weight: 400 !important;
}

calendar-view .day-slots:hover,
calendar-view .day-slots.activeDay {
    border-color: #004e75 !important;
    background-color: #004e75 !important;
}

calendar-view .day-slots.activeDay .bi-subtitle.color-primary,
calendar-view .day-slots.activeDay .bi-subtitle.color-white,
calendar-view .day-slots:hover .bi-subtitle.color-primary,
calendar-view .day-slots:hover .bi-subtitle.color-white {
    color: #fff !important;
}

listappointment .col-12.bi-title {
    justify-content: left !important;
}

listappointment .col-12.max-height-480 {
    display: flex !important;
    flex-wrap: wrap !important;
    width: calc(100% + 20px) !important;
    max-width: calc(100% + 20px) !important;
    margin-left: -10px;
    margin-top: 20px !important;
    height: auto !important;
    max-height: 480px !important;
}

listappointment .slot-parent {
    height: auto !important;
    width: 100% !important;
    max-width: 33.33% !important;
    padding: 8px;
}

listappointment .slot-parent .slot {
    padding: 12px 5px !important;
    margin: 0px !important;
    border: #6e9ab04d solid 1px !important;
    color: #0f2e61 !important;
    font-family: GothamRnd !important;
    font-weight: 700 !important;
    font-size: 17px !important;
}

listappointment .slot-parent .slot:hover {
    border: 1px solid;
}

listappointment .slot-parent .activated-slot,
listappointment .slot-parent .confirmation-slot {
    margin: 0px !important;
    padding: 12px 5px !important;
    border: #004e75 solid 1px;
    font-family: GothamRnd !important;
    font-weight: 700 !important;
    font-size: 17px !important;
}

listappointment .slot-parent .activated-slot {
    border-radius: 8px 0px 0px 8px !important;
    background-color: #fff;
    width: 40% !important;
    color: #0f2e61 !important;
}

listappointment .slot-parent .confirmation-slot {
    border-radius: 0px 8px 8px 0px;
    background-color: #004e75;
    color: #fff;
    width: 60%;
}

formagpanel .row>.bi-subtitle {
    position: relative;
    margin-bottom: 0 !important;
}

formagpanel .row>div>.bi-subtitle {
    font-size: 25px !important;
    margin: 20px 0 !important;
}

.mat-raised-button:hover {
    background-color: #0f2e61 !important;
    color: #fff !important;
}

.mat-raised-button,
.mat-button,
.mat-icon-button,
.mat-stroked-button,
.mat-flat-button {
    font-size: 17px !important;
    padding: 6px 25px !important;
    border-radius: 30px !important;
    box-shadow: unset !important;
    background-color: transparent !important;
    border: #0f2e61 solid 2px !important;
    color: #0f2e61 !important;
    font-family: GothamRnd !important;
    font-weight: 700 !important;
}

.mat-raised-button:disabled,
.mat-button:disabled,
.mat-icon-button:disabled,
.mat-stroked-button:disabled,
.mat-flat-button:disabled {
    border: #ccc solid 2px !important;
    color: #ccc !important;
}

.mat-raised-button:not(:disabled):hover,
.mat-button:not(:disabled):hover,
.mat-icon-button:not(:disabled):hover,
.mat-stroked-button:not(:disabled):hover,
.mat-flat-button:not(:disabled):hover {
    background-color: #0f2e61 !important;
    color: #fff !important;
}

.bi-btn.mat-stroked-button:not(.mat-button-disabled) {
    border-color: #0f2e61 !important;
}

confirmationpanel {
    /*max-width: 625px !important;*/
    max-width: 100% !important;
    display: block;
    margin: auto;
}

confirmationpanel div {
    width: 100% !important;
}

confirmationpanel>div.mt-2 {
    margin-top: 1.5rem !important;
}

confirmationpanel>div:nth-child(3) {
    margin-top: 0 !important;
}

confirmationpanel>div:nth-child(4) {
    justify-content: space-between !important;
}

confirmationpanel>div .box-apt {
    background-color: #e0eff6 !important;
    border-radius: 10px !important;
    padding: 25px !important;
}

.mat-checkbox-frame {
    border-color: #004e75;
}

.mat-checkbox-indeterminate.mat-primary .mat-checkbox-background,
.mat-checkbox-checked.mat-primary .mat-checkbox-background {
    background-color: #004e75;
}

.cdk-global-scrollblock .sticky-top {
    z-index: 1000;
}

.section-apt-steps {
    position: relative;
    background-color: #e0eff6;
    padding: 55px 0;
}

.apt-steps-content {
    position: relative;
}

.apt-steps-caption {
    position: relative;
    text-align: center;
    font-size: 42px;
    margin-bottom: 35px;
    color: #004e75;
    font-family: GothamRnd !important;
    font-weight: 700 !important;
}

.apt-steps-items {
    position: relative;
    display: flex;
    justify-content: center;
}

.apt-steps-item {
    position: relative;
    margin: 10px 15px;
    width: 100%;
    max-width: 155px;
    text-align: center;
    font-size: 17px;
    color: #537c92 !important;
    font-family: GothamRnd !important;
    font-weight: 700 !important;
}

.apt-steps-item.pointer,
.apt-steps-item.span-text-primary {
    color: #004e75 !important;
}

.apt-steps-item::before {
    content: "";
    display: flex;
    text-align: center;
    justify-content: center;
    width: 40px;
    margin: 0 auto 15px;
    height: 40px;
    align-items: center;
    border-radius: 50%;
    background-color: #00a2c7;
    font-size: 22px;
    color: #fff;
    font-family: GothamRnd !important;
    font-weight: 700 !important;
}

.apt-steps-item.span-text-primary::before {
    border: #fff solid 4px;
    width: 48px;
    height: 48px;
    margin-top: -4px;
}

.apt-steps-item.pointer::before {
    content: "" !important;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19.9732 4.20816C20.6867 3.36494 21.9487 3.25978 22.7919 3.97327C23.5929 4.65108 23.7279 5.82389 23.1277 6.66243L23.0268 6.79193L12.0268 19.7919C11.307 20.6426 10.0411 20.7344 9.20747 20.0264L9.08579 19.9143L2.08579 12.9143C1.30474 12.1332 1.30474 10.8669 2.08579 10.0858C2.82573 9.34589 4.00121 9.30694 4.787 9.969L4.91421 10.0858L10.377 15.548L19.9732 4.20816Z' fill='white'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px;
    background-color: #004e75;
}

.apt-steps-item:nth-child(1)::before {
    content: "1";
}

.apt-steps-item:nth-child(2)::before {
    content: "2";
}

.apt-steps-item:nth-child(3)::before {
    content: "3";
}

.apt-steps-item::after {
    content: "";
}

/** apt-confirmation  */
.section-apt-confirmation {
    position: relative;
    padding: 57px 0 0;
}

.container {
    position: relative;
}

.apt-confirmation-content {
    position: relative;
}

.apt-confirmation-check {
    position: relative;
    width: 44px;
    margin: 0 auto 20px;
    height: 44px;
    border-radius: 50%;
    background-color: transparent;
    border: #004e75 solid 2px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 22px;
    display: block;
    background-image: url("data:image/svg+xml,%3Csvg width='23' height='18' viewBox='0 0 23 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18.9732 1.20816C19.6867 0.364945 20.9487 0.259782 21.7919 0.97327C22.5929 1.65108 22.7279 2.82389 22.1277 3.66243L22.0268 3.79193L11.0268 16.7919C10.307 17.6426 9.04111 17.7344 8.20747 17.0264L8.08579 16.9143L1.08579 9.91426C0.304738 9.13321 0.304738 7.86688 1.08579 7.08583C1.82573 6.34589 3.00121 6.30694 3.787 6.969L3.91421 7.08583L9.377 12.548L18.9732 1.20816Z' fill='%23004E75'/%3E%3C/svg%3E%0A");
}

.apt-confirmation-caption {
    position: relative;
    text-align: center;
    font-size: 42px;
    margin-bottom: 12px;
    font-weight: 600;
    color: #004e75;
}

.apt-confirmation-description {
    position: relative;
    text-align: center;
    font-size: 16px;
    margin-bottom: 0;
    color: #537c92;
    display: block;
}

/* mat-dialog */
.mat-dialog-container {
    font-family: GothamRnd !important;
    color: #0f2e61;
}

.cdk-overlay-pane {
    /*max-width: 600px !important;*/
    /*min-width: 600px !important;*/
}

.mat-dialog-container {
    border-radius: 9px !important;
}

@media (max-width: 1199px) {
    .section-apt-steps {
        padding: 42px 0;
    }

    .apt-steps-caption {
        font-size: 32px;
        margin-bottom: 24px;
    }

    .apt-steps-item {
        margin: 8px 13px;
        max-width: 155px;
        font-size: 15px;
    }

    .apt-steps-item::before {
        width: 36px;
        margin: 0 auto 10px;
        height: 36px;
        font-size: 18px;
    }

    .apt-confirmation-caption {
        font-size: 26px;
        margin-bottom: 6px;
    }

    .apt-confirmation-description {
        font-size: 14px;
    }

    .apt-confirmation-check {
        width: 40px;
        margin: 0 auto 12px;
        height: 40px;
        background-size: 17px;
    }

    lib-apt-form {
        font-size: 14px;
    }

    informationpanel {
        padding: 0 16px 25px;
    }

    informationpanel .bi-title {
        padding-top: 25px;
    }

    .bi-title {
        font-size: 18px !important;
    }

    .bi-subtitle {
        font-size: 26px !important;
    }

    .bi-custom-alert-warning {
        font-size: 13px !important;
    }

    informationpanel .bi-title {
        margin: 0 0 9px;
    }

    informationpanel .bi-text-plus {
        font-size: 14px !important;
    }

    .mat-form-field-label-wrapper {
        top: -34px !important;
        left: -12px !important;
        font-size: 15px !important;
    }

    body .mat-select-value,
    body .mat-input-element,
    body input.mat-input-element[type] {
        font-size: 14px !important;
    }

    .mat-form-field-appearance-outline .mat-form-field-infix {
        padding: 3px 0 11px;
    }

    .mat-form-field-appearance-outline .mat-select-arrow-wrapper {
        width: 12px;
        top: 2px;
        background-size: 12px;
    }

    lib-apt-form .row.bi-box>.col-lg-9 {
        padding-left: 100px;
    }

    apttypepanel .bi-apt-card {
        padding: 19px 35px !important;
        font-size: 15px !important;
    }

    .mat-raised-button,
    .mat-button,
    .mat-icon-button,
    .mat-stroked-button,
    .mat-flat-button {
        font-size: 15px !important;
        padding: 3px 21px !important;
        border-radius: 30px !important;
        line-height: 28px !important;
        white-space: normal !important;
    }

    listappointment .slot-parent .slot {
        padding: 8px 3px !important;
        margin: 0px !important;
        font-size: 15px !important;
    }

    listappointment .slot-parent .activated-slot,
    listappointment .slot-parent .confirmation-slot {
        margin: 0px !important;
        padding: 8px 3px !important;
        font-size: 15px !important;
    }

    listappointment .col-12.max-height-480 {
        width: calc(100% + 20px) !important;
        max-width: calc(100% + 20px) !important;
        margin-left: -10px;
        margin-top: 10px !important;
        max-height: 420px !important;
    }

    formagpanel .row>div>.bi-subtitle {
        font-size: 20px !important;
    }

    calendar-view .bi-subtitle,
    calendar-view .day-slots .bi-subtitle,
    calendar-view .day-slots .bi-subtitle.color-primary {
        font-size: 14px !important;
    }
}

@media (max-width: 991px) {
    lib-apt-form .row.bi-box>.col-lg-3 {
        width: 100%;
    }

    lib-apt-form .row.bi-box>.col-lg-9 {
        width: 100%;
        padding-left: 0;
    }

    calendar-view mat-grid-list {
        margin: 0;
    }

    informationpanel {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .apt-steps-item:not(.span-text-primary) {
        /*display: none;*/
    }

    .apt-steps-item {
        margin: 8px 5px;
    }

    listappointment .slot-parent {
        max-width: 50% !important;
    }

    .section-apt-forms .row>* {
        margin: 0;
    }

    .cdk-global-overlay-wrapper .cdk-overlay-pane {
        max-width: 100% !important;
        min-width: 100% !important;
        width: 100% !important;
    }

    .cdk-global-overlay-wrapper {
        padding: 10px;
    }

    .day-slots {
        height: 36px !important;
        width: 36px !important;
    }
}