@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');

@font-face {
    font-family: janna;
    font-weight: 400;
    src: url(../fonts/janna.ttf);
}

@font-face {
    font-family: janna;
    font-weight: 700;
    src: url(../fonts/janna-bold.ttf);
}

:root {
    --primary-color: #bc6a6a;
    --secondary-color: #20273F;
    --primary: #bc6a6a;
    --secondary: #20273F;
    --third: #2F6A93;
    font-size: 16px;
}

body,
body.rtl {
    font-family: 'Tajawal', sans-serif;
    background: #FFF !important;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:active,
a:focus,
a:hover,
span.card-link:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

#global {
    overflow: hidden;
}

.btn-primary,
.button.button-primary,
.wp-core-ui .button.button-primary {
    color: #fff;
    border-color: var(--primary-color);
    background-color: var(--primary-color);
}

.btn-secondary,
.button.button-secondary,
.wp-core-ui .button,
.wp-core-ui .button-secondary {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    background-color: transparent;
}

.btn-primary:focus,
.btn-primary:hover,
.button.button-primary:focus,
.button.button-primary:hover,
.wp-core-ui .button.button-primary:focus,
.wp-core-ui .button.button-primary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
}

.btn-secondary:focus,
.btn-secondary:hover,
.button.button-secondary:focus,
.button.button-secondary:hover,
.wp-core-ui .button-secondary:focus,
.wp-core-ui .button:hover {
    color: #fff;
    border-color: var(--secondary-color);
    background-color: var(--secondary-color);
}

.btn-secondary-solid {
    color: #fff;
    border-color: var(--secondary-color);
    background-color: var(--secondary-color);
}

.btn-secondary-solid:hover {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    background-color: transparent;
}

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

.btn-outline-primary:focus,
.btn-outline-primary:hover {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
}

.btn {
    border-radius: 2rem;
}

.btn-no-wrap {
    white-space: nowrap;
}

.btn-simple {
    border-radius: .25rem;
}

.btn-outline-primary:not(:disabled):not(.disabled).active,
.btn-outline-primary:not(:disabled):not(.disabled):active,
.show>.btn-outline-primary.dropdown-toggle {
    color: #fff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.custom-control-input.error+label.custom-control-label {
    color: red;
}

.custom-select,
.form-control {
    border-radius: 0;
    border-color: var(--primary-color);
    box-shadow: none;
    height: calc(2.25rem + 4px);
}

.form-control.error,
.input.error {
    border-color: red;
}

[type="email"],
[type="tel"] {
    direction: ltr;
    text-align: right;
}

.card-bs {
    padding: 0;
    width: 100%;
    max-width: 100%;
}

.timepicker,
.timepicker-picker {
    direction: ltr;
}

.ds-ajax-loading {
    position: relative;
}

.ds-ajax-loading::before {
    position: absolute;
    top: -1rem;
    bottom: -1rem;
    left: -1rem;
    right: -1rem;
    display: block;
    background: #000;
    z-index: 10;
    content: "";
    opacity: 0.4;
}

.customer-name {
    font-weight: 700;
    color: var(--secondary-color);
    vertical-align: middle;
}

#video-frame {
    display: block;
    max-height: 100%;
    height: 0;
    width: 100%;
    padding-bottom: 50%;
    position: relative;
    background: #f1f1f1;
}

#video-frame::before {
    height: 0;
    width: 0;
    border-top: 2rem solid transparent;
    border-bottom: 2rem solid transparent;
    border-left: 4rem solid var(--primary-color);
    display: block;
    content: "";
    opacity: 0.5;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    transition: 0.6s;
}

#video-frame:hover::before {
    opacity: 0.7;
}

#video-frame * {
    position: absolute;
    width: 100%;
    height: 100%;
}

.body-ajax {
    overflow: hidden;
}

.body-ajax::after,
.body-ajax::before {
    content: "";
    position: fixed;
    top: 0;
    right: 0;
    z-index: 99999;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    display: inline-block;
}

.body-ajax::after {
    width: 10rem;
    height: 10rem;
    vertical-align: text-bottom;
    background-color: #fff;
    border-radius: 50%;
    opacity: 0;
    -webkit-animation: spinner-grow 0.75s linear infinite;
    animation: spinner-grow 0.75s linear infinite;
    margin: auto;
    bottom: 0;
    left: 0;
}

.time-schedule {
    margin: 0 -1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--primary-color);
    border-top: 1px solid var(--primary-color);
    background: #f1f1f1;
}

.time-schedule-date {
    width: 50%;
    display: inline-block;
    font-weight: 700;
}

.time-schedule-action {
    width: 50%;
    display: inline-block;
    text-align: left;
}

.time-schedule-footer {
    color: var(--secondary-color);
}

#error-page {
    background: #f1f1f1;
}

#error-page::before {
    content: "";
    background: var(--primary-color);
    width: 120%;
    height: 12rem;
    display: block;
    position: fixed;
    top: -60px;
    transform: rotate(4deg);
    left: -20px;
    right: -20px;
    z-index: 0;
}

#error-page::after {
    content: "";
    background: var(--secondary-color);
    width: 120%;
    height: 6rem;
    display: block;
    position: fixed;
    bottom: -60px;
    transform: rotate(4deg);
    left: -20px;
    right: -20px;
    z-index: 0;
}

.wp-die-message {
    position: relative;
    z-index: 1;
    background: #fff;
    max-width: 900px;
    margin: 8rem auto;
    padding: 2rem 1rem;
    display: block;
    width: 100%;
    position: relative;
    color: var(--primary-color);
    font-size: 1.4rem;
    box-shadow: 0 0 0.4rem 0.1rem #ddd;
    min-height: 360px;
    text-align: center;
}

#card-element {
    border: 1px solid var(--primary-color);
    height: calc(2.25rem + 4px);
    padding: 0.6rem 0.75rem 0;
    line-height: 1.5;
    display: block;
}

#card-errors {
    color: red;
    margin-top: 0.5rem;
}

.payment_success {
    color: var(--secondary-color);
    font-size: 2.4rem;
    text-align: center;
    display: block;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.payment_success::before {
    content: "\f2f7";
    display: block;
    margin: auto;
    font-family: "Font Awesome 5 Pro";
    font-weight: 300;
    font-size: 3rem;
}

#fixed-toast {
    position: fixed;
    bottom: -12rem;
    left: 2rem;
    z-index: 99999;
    transition: 0.6s;
}

#fixed-toast.show {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 99999;
}

.doctor-detail-avatar {
    max-width: 140px;
    max-height: 140px;
    width: 100%;
    height: 100%;
    margin: auto;
}

.doctor-detail-avatar img {
    width: 100%;
    max-height: 100%;
    height: auto;
    border-radius: 100%;
}

.doctor-detail-name {
    font-weight: 700;
    display: inline-block;
}

.doctor-detail-label {
    font-weight: 700;
}

.doctor-box-border {
    padding-top: 1rem;
    padding-bottom: 1rem;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
}

.doctor-box-none {
    background: #fff;
    padding: 1rem;
    height: 100%;
}

.review {
    text-align: center;
    color: #ffc107;
}

.ask-question-inner {
    background: #ededed;
    padding: 1rem;
}

.fas.fa-male.gender_icon {
    font-size: 1.1rem;
    line-height: 2rem;
    color: #fff;
}

.fas.fa-female.gender_icon {
    font-size: 1.1rem;
    line-height: 2rem;
    color: #e91e63;
}

.event_item {
    margin: -0.75rem;
    padding: 0.75rem;
    border-bottom: 1px solid #ddd;
    overflow: hidden;
}

.event_message {
    font-weight: 700;
    text-align: justify;
}

.event_date {
    color: #666;
}

[data-currency-amount]::before {
    content: "- - -";
    opacity: 0;
    -webkit-animation: spinner-grow 0.75s linear infinite;
    animation: spinner-grow 0.75s linear infinite;
}

.app-amount-loaded::before {
    display: none;
}

.geoplugin-ready {
    position: relative;
}

.geoplugin-ready::before {
    background: #ffffff;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    content: "";
    z-index: 1;
}

.geoplugin-ready::after {
    position: absolute;
    margin: auto;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    display: block;
    content: "";
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: spinner-border 0.75s linear infinite;
    animation: spinner-border 0.75s linear infinite;
    z-index: 1;
}

.ip-ready {
    position: fixed;
    width: 100%;
    z-index: 100000;
}

.ip-ready::before {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    background-color: var(--primary-color);
    z-index: 100000;
    content: "";
    bottom: 0;
}

.ip-ready::after {
    display: block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: 0.25em solid #fff;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: spinner-border 0.75s linear infinite;
    animation: spinner-border 0.75s linear infinite;
    content: "";
    z-index: 100000;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.load-ajax {
    position: relative;
}

.load-ajax::before {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    background-color: #fff;
    z-index: 1;
    content: "";
    bottom: 0;
}

.load-ajax::after {
    display: block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: 0.25em solid var(--primary-color);
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: spinner-border 0.75s linear infinite;
    animation: spinner-border 0.75s linear infinite;
    content: "";
    z-index: 10;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

#rate-form.focus {
    max-width: 800px;
    width: 100%;
    position: fixed;
    z-index: 10000;
    background: #fff;
}

#rate-form.focus+#rate-form-op {
    position: fixed;
    width: 100%;
    height: 100%;
    content: "";
    top: 0;
    left: 0;
    background: #000;
    opacity: .6;
    z-index: 9999;
}

.navbar-light .navbar-toggler {
    color: #fff;
    border-color: transparent;
}

.navbar-light .navbar-toggler[aria-expanded="true"] {
    color: var(--primary);
    border-color: transparent;
}