/** Variables **/
:root {
  --ife-blue: #003770;
  --ife-magenta: #e32ea6;
  --ife-orange: #f39200;
  --ife-orange-contrast: #5b3700;
  --ife-typo-light: #808185;
  --ife-typo-default: #525254;
  --ife-typo-dark: #19191A;
  --ife-typo-placeholder: #a0a2a6;
  --ife-error: #dc2626;
  --ife-error-dark: #7f1d1d;
  --ife-error-stroke: #FCA5A5;
  --ife-error-bg: #FCCACA;
  --ife-body-background: #F9FAFB;
  --ife-stroke-light: #f0f1f2;
  --ife-stroke: #C7CCD3;
}

:root {
  --ife-basefont: "Barlow", sans-serif;
  --size-xxl: 2.133rem;
  --size-xl: 1.733rem;
  --size-lg: 1.33rem;
  --size-md: 1.2rem;
  --size-df: 1rem;
  --size-sm: .875rem;
}

:root {
  --spaceunit: 8px;
  --space-xxxlarge: calc(var(--spaceunit) * 10);
  --space-xxlarge: calc(var(--spaceunit) * 5);
  --space-xlarge: calc(var(--spaceunit) * 4);
  --space-large: calc(var(--spaceunit) * 3);
  --space-base: calc(var(--spaceunit) * 2);
  --space-small: calc(var(--spaceunit) * 1.5);
  --space-smaller: calc(var(--spaceunit) * 1);
}

:root {
  --sidebarwidth: 250px;
  --mobilesidebarheight: 80px;
  --border-radius: 8px;
  --contentsidebarwidth: 300px;
}

/** Utility **/
/**
 * Address styling not present in IE 7/8/9, Safari 5, and Chrome.
 */
abbr[title] {
  border-bottom: 1px dotted;
}

/**
 * Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3.
 */
audio,
canvas,
video {
  display: inline-block;
  *display: inline;
  *zoom: 1;
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */
audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Address styling not present in Safari 5 and Chrome.
 */
dfn {
  font-style: italic;
}

/**
 * Address styling not present in IE 6/7/8/9.
 */
mark {
  background: #ff0;
  color: #000;
}

/**
* Correct font family set oddly in IE 6, Safari 4/5, and Chrome.
*/
code,
kbd,
pre,
samp {
  font-family: monospace, serif;
  _font-family: "courier new", monospace;
  font-size: 1em;
}

/**
 * Improve readability of pre-formatted text in all browsers.
 */
pre {
  white-space: pre;
  white-space: pre-wrap;
  word-wrap: break-word;
}

/**
 * Address CSS quotes not supported in IE 6/7.
 */
q {
  quotes: none;
}

/**
 * Address `quotes` property not supported in Safari 4.
 */
q:before,
q:after {
  content: "";
  content: none;
}

/**
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
*/
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* ==========================================================================
   Embedded content
   ========================================================================== */
/**
 * 1. Remove border when inside `a` element in IE 6/7/8/9 and Firefox 3.
 * 2. Improve image quality when scaled in IE 7.
 */
img {
  border: 0; /* 1 */
  -ms-interpolation-mode: bicubic; /* 2 */
}

/**
 * Correct overflow displayed oddly in IE 9.
 */
svg:not(:root) {
  overflow: hidden;
}

/* ==========================================================================
   Figures
   ========================================================================== */
/**
 * Address margin not present in IE 6/7/8/9, Safari 5, and Opera 11.
 */
figure {
  margin: 0;
}

/* ==========================================================================
   Forms
   ========================================================================== */
/**
 * Correct margin displayed oddly in IE 6/7.
 */
form {
  margin: 0;
}

/**
 * Define consistent border, margin, and padding.
 */
fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

/**
 * 1. Correct color not being inherited in IE 6/7/8/9.
 * 2. Correct text not wrapping in Firefox 3.
 * 3. Correct alignment displayed oddly in IE 6/7.
 */
legend {
  border: 0; /* 1 */
  padding: 0;
  white-space: normal; /* 2 */
  *margin-left: -7px; /* 3 */
}

/**
 * 1. Correct font size not being inherited in all browsers.
 * 2. Address margins set differently in IE 6/7, Firefox 3+, Safari 5,
 *    and Chrome.
 * 3. Improve appearance and consistency in all browsers.
 */
button,
input,
select,
textarea {
  font-size: 100%; /* 1 */
  margin: 0; /* 2 */
  vertical-align: baseline; /* 3 */
  *vertical-align: middle; /* 3 */
}

/**
 * Address Firefox 3+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */
button,
input {
  line-height: normal;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Chrome, Safari 5+, and IE 6+.
 * Correct `select` style inheritance in Firefox 4+ and Opera.
 */
button,
select {
  text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 * 4. Remove inner spacing in IE 7 without affecting normal text inputs.
 *    Known issue: inner spacing remains in IE 6.
 */
button,
html input[type=button],
input[type=reset],
input[type=submit] {
  -webkit-appearance: button; /* 2 */
  cursor: pointer; /* 3 */
  *overflow: visible; /* 4 */
}

/**
 * Re-set default cursor for disabled elements.
 */
button[disabled],
html input[disabled] {
  cursor: default;
}

/**
 * 1. Address box sizing set to content-box in IE 8/9.
 * 2. Remove excess padding in IE 8/9.
 * 3. Remove excess padding in IE 7.
 *    Known issue: excess padding remains in IE 6.
 */
input[type=checkbox],
input[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
  *height: 13px; /* 3 */
  *width: 13px; /* 3 */
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
 *    (include `-moz` to future-proof).
 */
input[type=search] {
  -webkit-appearance: textfield; /* 1 */
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box; /* 2 */
  box-sizing: content-box;
}

/**
 * Remove inner padding and search cancel button in Safari 5 and Chrome
 * on OS X.
 */
input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * Remove inner padding and border in Firefox 3+.
 */
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/**
 * 1. Remove default vertical scrollbar in IE 6/7/8/9.
 * 2. Improve readability and alignment in all browsers.
 */
textarea {
  overflow: auto; /* 1 */
  vertical-align: top; /* 2 */
}

/* ==========================================================================
   Tables
   ========================================================================== */
/**
 * Remove most spacing between table cells.
 */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/** Base Styles **/
/* barlow-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  src: url("../font/barlow-v12-latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* barlow-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  src: url("../font/barlow-v12-latin-500.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* barlow-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  src: url("../font/barlow-v12-latin-600.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* barlow-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Barlow";
  font-style: normal;
  font-weight: 700;
  src: url("../font/barlow-v12-latin-700.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
.icon-angle-left,
.icon-angle-right,
.icon-angle-double-left,
.icon-angle-double-right {
  width: 0.8rem;
  height: 0.8rem;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.icon-angle-left {
  background-image: url("../../assets/img/icon/icon-angle-left.svg");
}

.icon-angle-double-left {
  background-image: url("../../assets/img/icon/icon-angle-left-double.svg");
}

.icon-angle-right {
  background-image: url("../../assets/img/icon/icon-angle-right.svg");
}

.icon-angle-double-right {
  background-image: url("../../assets/img/icon/icon-angle-right-double.svg");
}

mark,
.awesomplete mark {
  background: var(--ife-blue) !important;
  color: #fff !important;
}

/** Standalone Components **/
.counter {
  display: none;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: var(--space-xlarge) 0;
}
.pagination a {
  color: var(--ife-blue);
}
@media screen and (min-width: 768px) {
  .pagination {
    margin: var(--space-xxxlarge) 0;
  }
}
.pagination_wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}
.pagination .page-item::marker {
  content: none;
}
.pagination .page-item > a, .pagination .page-item > span {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 50%;
  transition: 0.15s ease-in-out;
}
.pagination .page-item > a:hover {
  background: color-mix(in srgb, var(--ife-blue) 10%, transparent);
}
.pagination .page-item.active > a, .pagination .page-item.active > span {
  background: var(--ife-blue);
  color: #fff;
}
.pagination .page-item.disabled > a, .pagination .page-item.disabled > span {
  opacity: 0.35;
}
.pagination .page-item + .page-item {
  margin-left: var(--space-smaller);
}

.com_eapportal_appointments-booking #jform_appointment_type input[type=radio]:checked + label {
  border: 1px solid #F39200;
}
.com_eapportal_appointments-booking #jform_appointment_type input[type=radio]:disabled + label {
  opacity: 0.5;
}
.com_eapportal_appointments-booking .vanilla-calendar-day__btn.eapappointment {
  background: yellow;
}

.appointmentselect__list .btn {
  width: 100%;
}
.appointmentselect__list input[type=radio]:checked + .btn {
  background: var(--ife-blue);
  border-color: var(--ife-blue);
  color: #fff;
}

/** Sidebar **/
/** Form **/
fieldset > * + * {
  margin-top: var(--space-small);
}

label {
  font-weight: 500;
  color: var(--ife-typo-dark);
  margin-bottom: var(--space-smaller);
  display: inline-block;
}

input[type=radio]:checked + label.card,
input[type=checkbox]:checked + label.card {
  background: color-mix(in srgb, var(--ife-orange) 5%, transparent);
  border: 1px solid color-mix(in srgb, var(--ife-orange) 25%, transparent);
}

select {
  background-image: url("../../assets/img/icon/icon-angle-select.svg");
  background-position: calc(100% - var(--space-small)) center;
  background-repeat: no-repeat;
  background-size: 0.875em;
}

/** Contentarea **/
.contentarea__headerbar_nav ul > li.parent > a:after,
.contentarea__headerbar_nav ul > li.parent > span:after {
  background-image: url("../../assets/img/icon/icon-angle-right.svg");
}

/** Views **/
/** Vendor **/
.vanilla-calendar .vanilla-calendar-day__btn_today {
  color: var(--ife-blue);
}
.vanilla-calendar .vanilla-calendar-day__btn_selected {
  background: var(--ife-blue);
  color: #fff;
}
.vanilla-calendar .vanilla-calendar-day__btn_selected:hover {
  background: var(--ife-blue);
  color: #fff;
}
.vanilla-calendar .vanilla-calendar-day__btn.eapappointment {
  background: var(--ife-stroke-light);
  position: relative;
}
.vanilla-calendar .vanilla-calendar-day__btn.eapappointment:before {
  width: 4px;
  height: 4px;
  background: var(--ife-blue);
  position: absolute;
  top: 6px;
  right: 6px;
  content: " ";
  display: block;
  border-radius: 100vh;
}
.vanilla-calendar .vanilla-calendar-day__btn.eapappointment:hover {
  background: var(--ife-stroke-light);
  color: var(--ife-typo-default);
}
.vanilla-calendar .vanilla-calendar-day__btn.eapappointment.vanilla-calendar-day__btn_selected {
  background: var(--ife-blue);
  color: #fff;
}
.vanilla-calendar .vanilla-calendar-day__btn.eapappointment.vanilla-calendar-day__btn_selected:before {
  background: #fff;
}