/**
 * Theme Name: Theme uB Design
 * Version: 1.6.3
 * Author: Agence MagicWeb
 * Description: Thème officiel de l'Université de Bourgogne
 * Requires at least: 5.0
 * Tested up to: 6.5.3
 * Requires PHP: 8.0
 * Text Domain: ubtheme
 * Author URI: https://magicweb.fr/
 */

/*! tailwindcss v3.3.5 | MIT License | https://tailwindcss.com
 */

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: currentColor;
  /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
*/

html {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
     tab-size: 4;
  /* 3 */
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font family by default.
2. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-feature-settings: inherit;
  /* 1 */
  font-variation-settings: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
[type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden] {
  display: none;
}

:root {
  --ub-color-primary: 4 54 90;
  --ub-color-secondary: 187 137 0;
  --ub-color-beige: 228 227 222;
  --ub-color-color_rs: 78 78 78;
  --ub-color-orange: 236 116 2;
  --ub-color-border: 233 232 224;
  --ub-color-white: 255 255 255;
  --ub-color-text-grey: 96 96 96;
  --ub-color-grey: 128 128 128;
  --ub-color-text-menu: 207 203 203;
  --ub-color-member: 248 247 245;
  --main-font: 'Titillium';
}

*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
}

.container {
  width: 100%;
  padding-right: 2rem;
  padding-left: 2rem;
}

@media (min-width: 1600px) {
  .container {
    max-width: 1600px;
    padding-right: 10rem;
    padding-left: 10rem;
  }
}

.my-12 {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.block {
  display: block;
}

.flex {
  display: flex;
}

.table {
  display: table;
}

.list-item {
  display: list-item;
}

.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.flex-col {
  flex-direction: column;
}

.gap-2 {
  gap: 0.5rem;
}

.text-center {
  text-align: center;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

/* Hide scrollbar for Chrome, Safari and Opera */

.breadcrumb ul::-webkit-scrollbar  {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */

.breadcrumb ul {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

.wp-block-heading {
  font-weight: 700;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-primary) / var(--tw-text-opacity));
}

/**Slider**/

.switch {
  position: relative;
  display: inline-block;
  height: 2.25rem;
  width: 4rem;
}

.switch input {
  display: none;
}

.slider {
  position: absolute;
  bottom: 0px;
  left: 0px;
  right: 0px;
  top: 0px;
  cursor: pointer;
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-text-grey) / var(--tw-bg-opacity));
  transition: .4s;
}

.slider:before {
  position: absolute;
  bottom: 0.25rem;
  left: 0.25rem;
  height: 1.75rem;
  width: 1.75rem;
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-white) / var(--tw-bg-opacity));
  content: "";
  transition: .4s;
}

.switch.active .slider {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-orange) / var(--tw-bg-opacity));
}

.switch.active .slider::before {
  content: var(--tw-content);
  --tw-translate-x: 26px;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.switch .slider.round {
  border-radius: 34px;
}

.switch .slider.round::before {
  content: var(--tw-content);
  border-radius: 50%;
}

/* DROPDOWN BEGIN */

.dropdown-block {
  display: flex;
  flex-direction: column;
}

.dropdown-block .title::after {
  font-family: 'Font Awesome 6 Free';
  font-weight: 600;
  --tw-content: '\f078';
  content: var(--tw-content);
}

.dropdown-block .title {
  display: flex;
  align-items: center;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(var(--ub-color-primary) / var(--tw-border-opacity));
  fill: rgb(var(--ub-color-primary) / 1);
  padding: 0.5rem;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-primary) / var(--tw-text-opacity));
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.dropdown-block .title:hover {
  cursor: pointer;
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-primary) / var(--tw-bg-opacity));
  fill: rgb(var(--ub-color-white) / 1);
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-white) / var(--tw-text-opacity));
}

.dropdown-block .title i {
  margin-right: 0.25rem;
}

.title-text {
  flex: 1 1 0%;
}

.title svg {
  height: 100%;
}

.dropdown-block .content {
  display: none;
  padding: 0.5rem;
}

.dropdown-block svg {
  margin-right: 1.25rem;
  height: 1.25rem;
  width: 1.25rem;
}

.dropdown-block.open .content {
  display: block;
}

.dropdown-block.open .title {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-primary) / var(--tw-bg-opacity));
  fill: rgb(var(--ub-color-white) / 1);
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-white) / var(--tw-text-opacity));
}

.dropdown-block.open .title::after {
  --tw-content: '\f077';
  content: var(--tw-content);
}

/* DROPDOWN END */

/* ARTICLE */

article .post-content p {
  margin-top: 1.25rem;
}

article .post-content ol li {
  margin-left: 2rem;
  list-style-type: decimal;
}

article .post-content ul li, .member-container li {
  margin-left: 2rem;
  list-style-type: disc;
}

h1 {
  font-size: 1.875rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-primary) / var(--tw-text-opacity));
}

h2 {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  margin-left: 1.25rem;
  font-size: 1.625rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-primary) / var(--tw-text-opacity));
}

@media (min-width: 1024px) {
  h2 {
    margin-left: 0px;
  }
}

h3 {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 1.375rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-primary) / var(--tw-text-opacity));
}

h4 {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-primary) / var(--tw-text-opacity));
}

h5 {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-primary) / var(--tw-text-opacity));
}

h6 {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-primary) / var(--tw-text-opacity));
}

article blockquote p {
  font-size: 1.375rem;
  font-weight: 600;
  font-style: italic;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-text-grey) / var(--tw-text-opacity));
}

article blockquote cite {
  font-size: 1rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-text-grey) / var(--tw-text-opacity));
}

article pre {
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-primary) / var(--tw-text-opacity));
}

article figure td {
  --tw-border-opacity: 1 !important;
  border-color: rgb(var(--ub-color-primary) / var(--tw-border-opacity)) !important;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-text-grey) / var(--tw-text-opacity));
}

article tfoot td, article thead {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-primary) / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-white) / var(--tw-text-opacity));
}

article tfoot, article thead tr th, thead {
  border-width: 0px !important;
  border-top-width: 0px !important;
  border-bottom-width: 0px !important;
}

article .wp-block-button a {
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(var(--ub-color-primary) / var(--tw-border-opacity));
  --tw-bg-opacity: 1 !important;
  background-color: rgb(var(--ub-color-primary) / var(--tw-bg-opacity)) !important;
  --tw-text-opacity: 1 !important;
  color: rgb(var(--ub-color-white) / var(--tw-text-opacity)) !important;
}

article .wp-block-button a:hover {
  --tw-bg-opacity: 1 !important;
  background-color: rgb(var(--ub-color-white) / var(--tw-bg-opacity)) !important;
  --tw-text-opacity: 1 !important;
  color: rgb(var(--ub-color-primary) / var(--tw-text-opacity)) !important;
}

article pre {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}

.errorDescription {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.errorDescription span {
  margin-bottom: 1.25rem;
  font-size: 3rem;
  line-height: 1;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-primary) / var(--tw-text-opacity));
}

@media (min-width: 1024px) {
  .errorDescription span {
    font-size: 8rem;
    line-height: 1;
  }
}

.errorDescription h1 {
  text-align: center;
  font-size: 1.375rem;
}

@media (min-width: 1024px) {
  .errorDescription h1 {
    font-size: 1.875rem;
  }
}

.errorDescription h4 {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 1rem;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-text-grey) / var(--tw-text-opacity));
}

@media (min-width: 1024px) {
  .errorDescription h4 {
    font-size: 1.375rem;
  }
}

.errorboxbody {
  margin: auto;
  display: flex;
  max-width: 100px;
  flex-direction: row;
}

.errorboxbody a {
  margin-top: 0.75rem;
  margin-bottom: 1.25rem;
  width: 100%;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(var(--ub-color-primary) / var(--tw-border-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-primary) / var(--tw-bg-opacity));
  text-align: center;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-white) / var(--tw-text-opacity));
}

.errorboxbody a:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-white) / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-primary) / var(--tw-text-opacity));
}

.wp-block-table {
  overflow-y: visible;
}

.tabs-widget {
  width: 100%;
  font-size: 1.125rem;
}

.tabs-widget .tabs-desktop-list {
  margin-top: 1.25rem;
  display: none;
}

@media (min-width: 1024px) {
  .tabs-widget .tabs-desktop-list {
    display: flex;
  }
}

.tabs-widget .tabs-desktop-list li {
  margin-left: 0px !important;
  display: flex;
  list-style-type: none !important;
  align-items: center;
}

.tabs-widget .tabs-desktop-list.empty .title {
  border-bottom-width: 1px;
}

.tabs-widget .title {
  max-width: 250px;
  cursor: pointer;
  flex-wrap: wrap;
  border-width: 1px;
  border-right-width: 0px;
  border-bottom-width: 0px;
  --tw-border-opacity: 1;
  border-color: rgb(var(--ub-color-primary) / var(--tw-border-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-white) / var(--tw-bg-opacity));
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-primary) / var(--tw-text-opacity));
}

.tabs-widget .title:last-child {
  border-right-width: 1px;
}

.tabs-widget .title.active {
  --tw-border-opacity: 1;
  border-color: rgb(var(--ub-color-primary) / var(--tw-border-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-primary) / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-white) / var(--tw-text-opacity));
}

.tabs-widget .tabs {
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(var(--ub-color-primary) / var(--tw-border-opacity));
}

@media (min-width: 1024px) {
  .tabs-widget .tabs {
    border-width: 0px;
  }
}

.tabs-widget .tabs .tabs-entry {
  border-bottom-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(var(--ub-color-primary) / var(--tw-border-opacity));
}

.tabs-widget .tabs .tabs-entry:last-child {
  border-width: 0px;
}

@media (min-width: 1024px) {
  .tabs-widget .tabs .tabs-entry {
    border-width: 0px;
  }
}

.tabs-widget .tabs .title {
  position: relative;
  width: 100%;
  max-width: 100%;
  border-width: 0px;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-right: 2rem;
}

.tabs-widget .tabs .title::after {
  position: absolute;
  top: 0px;
  right: 0.5rem;
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-family: 'Font Awesome 6 Free';
  font-weight: 600;
  --tw-content: '\f077';
  content: var(--tw-content);
}

@media (min-width: 1024px) {
  .tabs-widget .tabs .title {
    display: none;
    padding-top: 0px;
    padding-bottom: 0px;
  }
}

.tabs-widget .content {
  display: none;
  min-height: 150px;
  width: auto;
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-white) / var(--tw-bg-opacity));
  padding: 0.75rem;
  font-family: var(--main-font);
  font-size: 1rem;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-text-grey) / var(--tw-text-opacity));
}

.tabs-widget .tabs-entry {
  display: flex;
  flex-direction: column;
}

.tabs-widget .tabs-entry.active .content {
  display: block;
}

@media (min-width: 1024px) {
  .tabs-widget .tabs-entry.active .content {
    border-width: 1px;
    --tw-border-opacity: 1;
    border-color: rgb(var(--ub-color-primary) / var(--tw-border-opacity));
  }
}

.tabs-widget .tabs-entry.active .content p:first-child {
  margin-top: 0px;
}

.tabs-widget .tabs-entry.active .title {
  --tw-border-opacity: 1;
  border-color: rgb(var(--ub-color-primary) / var(--tw-border-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-primary) / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-white) / var(--tw-text-opacity));
}

.tabs-widget .tabs-entry.active .title::after {
  --tw-content: '\f078';
  content: var(--tw-content);
}

.div-chercheur-listing {
  margin: auto;
  display: flex;
  max-width: 850px;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  padding-bottom: 1.25rem;
}

.listing-span-chercheur {
  display: flex;
  height: 90px;
  width: 250px;
  align-items: center;
  justify-content: center;
}

.member-container {
  margin: auto;
  display: flex;
  max-width: 900px;
  flex-direction: column;
  gap: 1.25rem;
}

.member-container .hal_publications, .member-container .local-publications {
  padding: 0.5rem;
}

.member-container .hal_btn {
  margin: auto;
  display: flex;
}

.contact-member {
  margin-bottom: 3.5rem;
  display: flex;
  height: auto;
  width: 100%;
  max-width: 850px;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-beige) / var(--tw-bg-opacity));
  padding: 2rem;
  padding-top: 1.25rem;
}

.contact-member .member-infos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .contact-member .member-infos {
    flex-direction: row;
  }
}

.contact-member .thumbnail {
  height: 150px;
  width: 150px;
  border-radius: 9999px;
  -o-object-fit: cover;
     object-fit: cover;
}

.member-metas table {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
}

@media (min-width: 1024px) {
  .member-metas table {
    align-items: baseline;
    padding-left: 0px;
    padding-right: 0px;
  }
}

.member-metas table tr td:first-child {
  padding-right: 2.5rem;
  vertical-align: top;
}

@media (min-width: 1024px) {
  .member-metas {
    text-align: left;
  }
}

.member-metas {
  font-family: var(--main-font);
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-text-grey) / var(--tw-text-opacity));
}

.member-metas .title {
  font-family: var(--main-font);
  font-size: 1.25rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-primary) / var(--tw-text-opacity));
}

.member-metas .span-label {
  font-family: var(--main-font);
  font-weight: 600;
}

.tabs-div {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-top: 2rem;
}

@media (min-width: 1024px) {
  .tabs-div {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

.tease-member p {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.tease-membre {
  margin: auto;
  max-width: 850px;
}

.archive-membre {
  margin-bottom: 75px;
}

.img-tease {
  height: 200px;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

@media (min-width: 1024px) {
  .img-tease {
    max-width: 250px;
  }
}

.image-tease {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  display: flex;
  height: 100%;
  width: auto;
  flex-direction: column;
  align-items: center;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(var(--ub-color-border) / var(--tw-border-opacity));
}

@media (min-width: 1024px) {
  .image-tease {
    margin-right: 0.5rem;
  }
}

body.post-type-archive-member {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-member) / var(--tw-bg-opacity));
}

.local-publications {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.local-publications li {
  margin: 0px;
  list-style-type: none;
}

/** ACCORDEON **/

.accordeon {
  margin: auto;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(var(--ub-color-primary) / var(--tw-border-opacity));
}

.accordeon-item {
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(var(--ub-color-primary) / var(--tw-border-opacity));
}

.accordeon-header {
  position: relative;
  cursor: pointer;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-primary) / var(--tw-text-opacity));
}

.accordeon-header:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-primary) / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-white) / var(--tw-text-opacity));
}

.accordeon-header::after {
  content: "\f078";
  position: absolute;
  top: 25%;
  right: 1rem;
  font-family: 'Font Awesome 6 Free';
  font-weight: 600;
}

.accordeon-content {
  display: none;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 1rem;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-text-grey) / var(--tw-text-opacity));
}

.accordeon-item.open .accordeon-header::after {
  content: "\f077";
  font-family: 'Font Awesome 6 Free';
  font-weight: 600
}

.accordeon-item.open .accordeon-content {
  display: block;
}

.accordeon-item.open .accordeon-header {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-primary) / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-white) / var(--tw-text-opacity));
}

/** SIDEBAR **/

.list-contact {
  margin: auto;
  max-width: 300px;
  padding-top: 1.25rem;
  text-align: left;
}

.item-contact {
  margin-bottom: 0.25rem;
  display: flex;
  flex-direction: column;
  border-bottom-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(var(--ub-color-text-grey) / var(--tw-border-opacity));
}

.span-contact svg {
  margin-right: 0.5rem;
  height: 20px;
  width: 20px;
  fill: rgb(var(--ub-color-primary) / 1);
}

.span-contact {
  display: flex;
  cursor: pointer;
  flex-direction: row;
  align-items: center;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-primary) / var(--tw-text-opacity));
}

.span-contact span {
  flex-grow: 1;
  font-family: var(--main-font);
}

.span-contact:hover, .span-contact:hover svg {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-primary) / var(--tw-bg-opacity));
  fill: rgb(var(--ub-color-white) / 1);
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-white) / var(--tw-text-opacity));
}

.span-contact::after {
  content: "\f078";
  font-family: 'Font Awesome 6 Free';
  font-weight: 600;
}

.span-campus {
  padding-bottom: 0.25rem;
  font-family: var(--main-font);
  font-weight: 600;
}

.span-service {
  padding-bottom: 0.25rem;
  font-family: var(--main-font);
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-primary) / var(--tw-text-opacity));
}

.span-coord {
  margin-bottom: 0.25rem;
  font-family: var(--main-font);
}

.title-list {
  width: auto;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(var(--ub-color-primary) / var(--tw-border-opacity));
}

.sidebar-content {
  display: none;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 1rem;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-text-grey) / var(--tw-text-opacity));
}

.list-contact.open .span-contact::after {
  content: "\f077";
  font-family: 'Font Awesome 6 Free';
  font-weight: 600
}

.list-contact.open .item-fichier {
  display: block;
}

.list-contact.open .span-contact, .list-contact.open .span-contact svg {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-primary) / var(--tw-bg-opacity));
  fill: rgb(var(--ub-color-white) / 1);
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-white) / var(--tw-text-opacity));
}

.item-fichier a {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: row;
  border-bottom-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(var(--ub-color-text-grey) / var(--tw-border-opacity));
  padding-bottom: 0.5rem;
  font-family: var(--main-font);
}

.item-fichier a svg {
  margin-right: 1.25rem;
  fill: rgb(var(--ub-color-text-grey) / 1);
}

.li-formation {
  margin-right: 1.25rem;
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-beige) / var(--tw-bg-opacity));
}

.tease-texte {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.img-item {
  height: 150px;
  -o-object-fit: cover;
     object-fit: cover;
}

@media (min-width: 1024px) {
  .img-item {
    max-width: 250px;
  }
}

.h3-img {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  text-align: center;
  font-family: var(--main-font);
  font-size: 1.375rem;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-text-grey) / var(--tw-text-opacity));
}

.gut-block {
  margin-top: 2.5rem !important;
  margin-bottom: 2.5rem !important;
  padding-left: 2.25rem;
  padding-right: 2.25rem;
}

.gut-block .no-content {
  text-align: center;
  font-size: 1.25rem;
}

.ub-listing-first {
  margin: auto;
  display: flex;
  max-width: 1200px;
  flex-direction: column;
  border-width: 0px;
}

@media (min-width: 1024px) {
  .ub-listing-first {
    flex-direction: row;
    border-width: 2px;
    --tw-border-opacity: 1;
    border-color: rgb(var(--ub-color-border) / var(--tw-border-opacity));
  }

  .ub-listing-first .ub-listing-image {
    width: 100%;
    max-width: 500px;
  }
}

.ub-listing-first .ub-listing-image img {
  height: 14rem;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

@media (min-width: 1024px) {
  .ub-listing-first .ub-listing-image img {
    height: 100%;
  }
}

.ub-listing-content {
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 1024px) {
  .ub-listing-content {
    margin-left: 2.5rem;
    margin-bottom: 1.25rem;
    margin-top: 1.25rem;
    width: 100%;
    gap: 0.5rem;
  }
}

.img-listing {
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.button-welcome {
  margin-right: 0px;
  margin-top: 1.25rem;
  width: 100%;
  justify-content: flex-end;
}

@media (min-width: 1024px) {
  .button-welcome {
    display: flex;
    padding-right: 1.25rem;
  }
}

.block-generic-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .block-generic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .block-generic-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Carousel BEGIN */

.owl-carousel .nav-button {
  position: absolute;
  cursor: pointer;
}

.owl-carousel .owl-prev.disabled,
.owl-carousel .owl-next.disabled {
  pointer-events: none;
  opacity: 0.25;
}

.owl-carousel .owl-prev, .owl-next {
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent !important;
  font-family: var(--main-font) !important;
  font-size: 1.5rem !important;
  line-height: 2rem !important;
  --tw-text-opacity: 1 !important;
  color: rgb(var(--ub-color-text-grey) / var(--tw-text-opacity)) !important
}

.owl-carousel .owl-next {
  position: absolute;
  right: -35px;
}

.owl-carousel .owl-prev {
  position: absolute;
  left: -35px;
}

.carousel-ub-main .owl-dots {
  position: absolute;
  bottom: 0.5rem;
  left: 0px;
  z-index: 10;
  width: 100%;
  text-align: center;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-white) / var(--tw-text-opacity));
}

.block-generic-carrousel.owl-dots {
  position: absolute;
  bottom: 1rem;
  left: 0px;
  z-index: 10;
  width: 100%;
  text-align: center;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-white) / var(--tw-text-opacity));
}

.carousel-ub-main .owl-dots .owl-dot.active span {
  width: 15px !important;
  height: 15px !important;
  background-color: white !important;
}

.block-generic-carrousel .owl-dots .owl-dot.active span {
  width: 15px !important;
  height: 15px !important;
  background-color: darkgray !important;
}

.owl-theme .owl-dots .owl-dot span {
  width: 15px !important;
  height: 15px !important;
  background-color: grey !important;
  opacity: 90% !important;
}

.carousel-ub-main {
  margin: auto;
  max-height: 500px;
  width: 100vw;
  max-width: 900px;
}

.carousel-ub-main img {
  height: 100%;
  max-height: 200px;
  min-height: 200px;
  -o-object-fit: cover;
     object-fit: cover;
}

@media (min-width: 1024px) {
  .carousel-ub-main img {
    height: 100%;
    max-height: 500px;
    min-height: 100%;
  }
}

/* Carousel END */

.more-button {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  text-align: right;
}

#content {
  width: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-bottom: 1.25rem;
}

@media (min-width: 1024px) {
  #content {
    margin: auto;
    max-width: 1100px;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}

.article-post {
  max-width: 900px;
}

.sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.post-type-post {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

.single-content article {
  overflow-wrap: break-word;
}

.single-content article > .thumbnail {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  max-height: 250px;
  width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

@media (min-width: 1024px) {
  .single-content article > .thumbnail {
    margin: 0.75rem;
    max-height: 400px;
  }
}

.single-content article > .video-iframe {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  display: flex;
  max-height: 250px;
  width: 100%;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1024px) {
  .single-content article > .video-iframe {
    margin: 0.75rem;
    max-height: 400px;
  }
}

.single-content article a {
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-primary) / var(--tw-text-opacity));
  text-decoration-line: underline;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.single-content article a:hover {
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-secondary) / var(--tw-text-opacity));
}

.single-content article a:active {
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-secondary) / var(--tw-text-opacity));
}

.single-content article a.btn {
  text-decoration-line: none;
}

.sidebar-picto {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.sidebar-picto ul {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.sidebar-picto li {
  margin-right: 1rem;
  font-size: 1.375rem;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-grey) / var(--tw-text-opacity));
}

.sidebar-picto span {
  fill: rgb(var(--ub-color-text-grey) / 1) !important;
  font-size: 1.375rem;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-grey) / var(--tw-text-opacity));
}

.sidebar-picto a:hover {
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-secondary) / var(--tw-text-opacity));
}

.sidebar-picto a:active {
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-secondary) / var(--tw-text-opacity));
}

.sidebar-picto svg {
  fill: rgb(var(--ub-color-text-grey) / 1);
}

.sidebar-picto svg:hover {
  fill: rgb(var(--ub-color-orange) / 1);
}

.sidebar-picto svg:focus {
  fill: rgb(var(--ub-color-orange) / 1);
}

.sidebar-picto svg:active {
  fill: rgb(var(--ub-color-orange) / 1);
}

.sidebar-contact {
  display: flex;
  flex-direction: column;
  padding-top: 0.5rem;
}

.sidebar-contact:not(:last-child) {
  border-bottom-width: 2px;
  --tw-border-opacity: 1;
  border-color: rgb(var(--ub-color-border) / var(--tw-border-opacity));
  padding-bottom: 1.25rem;
}

.sidebar-contact span {
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-primary) / var(--tw-text-opacity));
}

.sidebar-contact strong {
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-text-grey) / var(--tw-text-opacity));
}

.sidebar-link a {
  display: flex;
  flex-direction: row;
  fill: rgb(var(--ub-color-grey) / 1);
  padding-top: 0.5rem;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-grey) / var(--tw-text-opacity));
}

.sidebar-link a:hover {
  text-decoration-line: underline;
}

.sidebar-link:not(:last-child) {
  border-bottom-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(var(--ub-color-border) / var(--tw-border-opacity));
  padding-bottom: 0.5rem;
}

.sidebar-generic {
  display: flex;
  flex-direction: column;
  padding-top: 0.5rem;
}

.sidebar-generic:not(:last-child) {
  border-bottom-width: 2px;
  --tw-border-opacity: 1;
  border-color: rgb(var(--ub-color-border) / var(--tw-border-opacity));
  padding-bottom: 1.25rem;
}

.article-h1 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 1024px) {
  .article-h1 {
    padding-left: 0px;
    padding-right: 0px;
  }
}

.list-site {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.625rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 1024px) {
  .list-site {
    padding-left: 0px;
    padding-right: 0px;
  }
}

.list-site li a {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-color_rs) / var(--tw-bg-opacity));
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  font-weight: 600;
  --tw-text-opacity: 1 !important;
  color: rgb(var(--ub-color-white) / var(--tw-text-opacity)) !important;
  text-decoration-line: none;
}

.list-site li a:hover {
  --tw-bg-opacity: 1 !important;
  background-color: rgb(var(--ub-color-primary) / var(--tw-bg-opacity)) !important;
  --tw-text-opacity: 1 !important;
  color: rgb(var(--ub-color-white) / var(--tw-text-opacity)) !important;
}

.list-site li a:active {
  --tw-bg-opacity: 1 !important;
  background-color: rgb(var(--ub-color-primary) / var(--tw-bg-opacity)) !important;
  --tw-text-opacity: 1 !important;
  color: rgb(var(--ub-color-white) / var(--tw-text-opacity)) !important;
  text-decoration-line: underline !important;
}

.sidebar-container {
  display: none;
  width: 100%;
}

@media (min-width: 1024px) {
  .sidebar-container {
    display: block;
  }
}

.article-p {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.single-content {
  display: flex;
  max-width: 100%;
  gap: 2.5rem;
}

.single-content article {
  max-width: 100%;
  flex: 1 1 0%;
  overflow: hidden;
}

.single-content h2 {
  position: relative;
}

.single-content h2::before {
  content: " ";
  position: absolute;
  height: 0.25rem;
  width: 6rem;
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-border) / var(--tw-bg-opacity));
}

.sidebar-lieu {
  display: flex;
  flex-direction: column;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-primary) / var(--tw-text-opacity));
}

.sidebar-date {
  max-width: 300px;
  border-top-width: 1px;
  border-bottom-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(var(--ub-color-border) / var(--tw-border-opacity));
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  font-size: 1.375rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-primary) / var(--tw-text-opacity));
}

.sidebar-horraire {
  display: flex;
  max-width: 300px;
  flex-direction: column;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-primary) / var(--tw-text-opacity));
}

/* Events BEGIN */

.event-contacts {
  display: flex;
  flex-direction: column;
}

.event-contacts .event-contact {
  display: flex;
  flex-direction: column;
  border-bottom-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(var(--ub-color-grey) / var(--tw-border-opacity));
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.event-contacts .event-contact:first-child {
  padding-top: 0px;
}

.event-contacts .event-contact:last-child {
  border-bottom-width: 0px;
  padding-bottom: 0px;
}

.event-webiste {
  border-top-width: 1px;
  border-bottom-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(var(--ub-color-grey) / var(--tw-border-opacity));
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-grey) / var(--tw-text-opacity));
}

.post-foot-links {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.5rem;
}

@media (min-width: 1024px) {
  .post-foot-links {
    flex-direction: row;
  }
}

/* Events END */

/* Sidebar MOBILE */

.sidebar-button {
  position: absolute;
  top: 50%;
  left: 0px;
  z-index: 50;
}

@media (min-width: 1024px) {
  .sidebar-button {
    display: none;
  }
}

.sidebar-button {
  transform: translate(-50%);
}

.sidebar-button i {
  height: 80px;
  position: absolute;
  align-items: center;
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-beige) / var(--tw-bg-opacity));
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  font-family: 'Font Awesome 6 Free';
  font-size: 1.875rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-grey) / var(--tw-text-opacity));
}

.sidebar-single {
  position: fixed;
  top: 0px;
  left: 0px;
  height: 100%;
}

@media (min-width: 1024px) {
  .sidebar-single {
    position: relative;
    z-index: auto;
    width: 350px;
    max-width: 350px;
  }
}

.sidebar-single.open .sidebar-container {
  display: block;
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-white) / var(--tw-bg-opacity));
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.sidebar-single.open {
  z-index: 100000;
  display: flex;
  width: 100%;
  overflow-y: scroll;
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-white) / var(--tw-bg-opacity));
  padding-top: 2.5rem;
}

@media (min-width: 1024px) {
  .sidebar-single.open {
    display: block;
    overflow-y: hidden;
    padding: 0px;
  }
}

.sidebar-single.open .fa-chevron-left, .sidebar-single .fa-chevron-right {
  display: flex;
}

.sidebar-single .fa-chevron-left, .sidebar-single.open .fa-chevron-right {
  display: none;
}

/*Sidebar END*/

.article-container {
  margin-left: auto;
  margin-right: auto;
  display: block;
  width: 100%;
  min-width: 0px;
  max-width: 1200px;
  flex-grow: 1;
}

.archive-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.post-list {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  justify-content: center;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .post-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .post-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body.sidebar .post-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.post-list > div {
  display: flex;
  flex-direction: column;
}

.archive-search {
  display: flex;
  width: 100%;
}

@media (min-width: 768px) {
  .archive-search {
    margin: auto;
    max-width: 28rem;
  }
}

.archive-search input {
  flex: 1 1 0%;
}

.filters {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background-color: transparent;
}

@media (min-width: 768px) {
  .filters {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 28rem;
  }
}

@media (min-width: 1024px) {
  .filters {
    max-width: 100%;
  }
}

.filters > li {
  display: flex;
  flex-direction: column;
}

.filter-list a.primary:hover {
  --tw-bg-opacity: 1 !important;
  background-color: rgb(var(--ub-color-primary) / var(--tw-bg-opacity)) !important;
}

.filters .filter-title {
  display: flex;
  justify-content: space-between;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(var(--ub-color-primary) / var(--tw-border-opacity));
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  text-align: center;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-primary) / var(--tw-text-opacity));
}

.filters .filter-title:hover {
  cursor: pointer;
}

@media (min-width: 1024px) {
  .filters .filter-title {
    display: inline;
    border-width: 0px;
    padding: 0px;
    text-align: left;
    --tw-text-opacity: 1;
    color: rgb(var(--ub-color-text-grey) / var(--tw-text-opacity));
  }

  .filters .filter-title:hover {
    cursor: default;
  }
}

.filters .filter-title::after, .filters .filter-title::before {
  font-family: 'Font Awesome 6 Free';
  font-weight: 600;
  --tw-content: '\f077';
  content: var(--tw-content);
}

@media (min-width: 1024px) {
  .filters .filter-title::after, .filters .filter-title::before {
    display: none;
  }
}

.filter-list {
  display: none;
  width: 100%;
  flex-direction: column;
  flex-wrap: wrap;
  overflow-x: hidden;
}

@media (min-width: 1024px) {
  .filter-list {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.5rem;
    overflow-x: auto;
  }
}

.filter-list a {
  display: inline-flex;
  width: 100%;
  border-top-width: 0px !important;
}

.single-content article a.filter-list a {
  text-decoration-line: none;
}

.filter-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(var(--ub-color-primary) / var(--tw-border-opacity));
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-primary) / var(--tw-text-opacity));
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.filter-list a:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-primary) / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-white) / var(--tw-text-opacity));
}

.filter-list a:focus {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-primary) / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-white) / var(--tw-text-opacity));
}

.filter-list a:active {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-primary) / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-white) / var(--tw-text-opacity));
}

.filter-list a.primary {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-primary) / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-white) / var(--tw-text-opacity));
}

.filter-list a.primary:hover {
  cursor: pointer;
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-secondary) / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-white) / var(--tw-text-opacity));
}

.filter-list a.primary:focus {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-secondary) / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-white) / var(--tw-text-opacity));
}

.filter-list a.primary:active {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-secondary) / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-white) / var(--tw-text-opacity));
}

.filter-list a.disabled {
  --tw-border-opacity: 1 !important;
  border-color: rgb(var(--ub-color-grey) / var(--tw-border-opacity)) !important;
  background-color: transparent !important;
  --tw-text-opacity: 1 !important;
  color: rgb(var(--ub-color-grey) / var(--tw-text-opacity)) !important;
}

.filter-list a.primary.disabled {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-grey) / var(--tw-bg-opacity));
}

.filter-list a svg {
  fill: rgb(var(--ub-color-primary) / 1);
}

.filter-list a:hover svg,.filter-list a:active svg,.filter-list a:focus svg {
  fill: rgb(var(--ub-color-white) / 1) !important;
}

.filter-list a.btn-secondary {
  width: 100%;
  justify-content: center;
  --tw-border-opacity: 1;
  border-color: rgb(var(--ub-color-secondary) / var(--tw-border-opacity));
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-secondary) / var(--tw-text-opacity));
}

.filter-list a.btn-secondary:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-secondary) / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-white) / var(--tw-text-opacity));
  text-decoration-line: none;
}

.filter-list a.btn-secondary:focus {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-secondary) / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-white) / var(--tw-text-opacity));
  text-decoration-line: none;
}

.filter-list a.btn-secondary:active {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-secondary) / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-white) / var(--tw-text-opacity));
  text-decoration-line: none;
}

@media (min-width: 1024px) {
  .filter-list a.btn-secondary {
    width: auto;
    justify-content: normal;
  }
}

.filter-list a.btn-secondary svg {
  fill: rgb(var(--ub-color-secondary) / 1);
}

@media (min-width: 1024px) {
  .filter-list a {
    border-top-width: 1px !important;
  }
}

.filter-list li {
  flex-shrink: 0;
}

.filter-list a {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

@media (min-width: 1024px) {
  .filter-list a {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
  }
}

.filters > li.open  .filter-title {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-grey) / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-white) / var(--tw-text-opacity));
}

@media (min-width: 1024px) {
  .filters > li.open  .filter-title {
    background-color: transparent;
    --tw-text-opacity: 1;
    color: rgb(var(--ub-color-text-grey) / var(--tw-text-opacity));
  }
}

.filters > li.open  .filter-list {
  display: flex;
}

.filters > li.open .filter-title::after, .filters > li.open .filter-title::before {
  --tw-content: '\f078';
  content: var(--tw-content);
}

/* PAGINATION START */

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.pagination li:not(.next, .prev) {
  display: none;
}

@media (min-width: 1024px) {
  .pagination li:not(.next, .prev) {
    display: inline;
  }
}

/* PAGINATION END */

.post .thumbnail {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-grey) / var(--tw-bg-opacity));
}

/* DEFAULT */

.tease-container {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.tease-container a {
  text-decoration-line: none !important;
}

.tease-default {
  display: flex;
  height: 100%;
  flex-direction: column;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(var(--ub-color-border) / var(--tw-border-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-white) / var(--tw-bg-opacity));
  font-size: 1.375rem;
}

.tease-default .thumbnail {
  height: 175px;
  -o-object-fit: cover;
     object-fit: cover;
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.tease-default .thumbnail:hover {
  opacity: 0.5;
}

.tease-default .thumbnail:focus {
  opacity: 0.5;
}

.tease-default .thumbnail:active {
  opacity: 0.5;
}

.tease-default .title {
  display: flex;
  flex: 1 1 0%;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  text-align: center;
  font-weight: 600 !important;
  --tw-text-opacity: 1 !important;
  color: rgb(var(--ub-color-text-grey) / var(--tw-text-opacity)) !important;
}

.tease-default .title:hover {
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-primary) / var(--tw-text-opacity));
  text-decoration-line: underline;
}

.tease-default .title:focus {
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-primary) / var(--tw-text-opacity));
  text-decoration-line: underline;
}

.tease-default .title:active {
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-primary) / var(--tw-text-opacity));
  text-decoration-line: underline;
}

/* POST */

.tease-post {
  position: relative;
  display: flex;
  flex: 1 1 0%;
  flex-direction: column;
  gap: 0.5rem;
}

.tease-post .category, .ub-categ-actu {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  line-height: 1rem;
  text-transform: uppercase;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-secondary) / var(--tw-text-opacity));
}

.tease-post .thumbnail {
  height: 200px;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.tease-post .thumbnail:hover {
  opacity: 0.6;
}

.tease-post .title, .ub-titre-actu {
  flex: 1 1 0%;
  font-size: 1.125rem !important;
  line-height: 1.75rem !important;
  --tw-text-opacity: 1 !important;
  color: rgb(var(--ub-color-text-grey) / var(--tw-text-opacity)) !important;
}

.tease-post .excerpt {
  flex: 1 1 0%;
  font-size: 1rem;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-text-grey) / var(--tw-text-opacity));
}

/* TEXT */

.tease-text {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-beige) / var(--tw-bg-opacity));
  padding: 2.5rem;
  text-align: center;
  font-size: 1.375rem;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-primary) / var(--tw-text-opacity));
}

.tease-text:hover {
  text-decoration-line: underline;
}

.tease-text:focus {
  text-decoration-line: underline;
}

.tease-text:active {
  text-decoration-line: underline;
}

/* MEMBERS */

.tease-member {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-white) / var(--tw-bg-opacity));
  padding: 0.75rem;
  text-align: center;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-primary) / var(--tw-text-opacity));
}

.tease-member:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-primary) / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-white) / var(--tw-text-opacity));
}

.tease-member:focus {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-primary) / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-white) / var(--tw-text-opacity));
}

.tease-member:active {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-primary) / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-white) / var(--tw-text-opacity));
}

.tease-member .thumbnail {
  height: 150px !important;
  width: 150px !important;
  border-radius: 9999px;
  -o-object-fit: cover;
     object-fit: cover;
  --tw-grayscale: grayscale(100%);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.tease-member .titles {
  display: flex;
  flex: 1 1 0%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.tease-member .title {
  padding-top: 0.75rem;
  font-family: var(--main-font);
  font-weight: 600 !important;
  --tw-text-opacity: 1 !important;
  color: rgb(var(--ub-color-primary) / var(--tw-text-opacity)) !important;
}

.tease-member:hover .thumbnail, .tease-member:active .thumbnail, .tease-member:focus .thumbnail {
  --tw-grayscale: grayscale(0);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.tease-member:hover .title, .tease-member:active .title, .tease-member:focus .title {
  --tw-text-opacity: 1 !important;
  color: rgb(var(--ub-color-white) / var(--tw-text-opacity)) !important;
}

/* VIDEO */

.tease-video {
  display: flex;
  height: 100%;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 1.125rem;
  --tw-text-opacity: 1 !important;
  color: rgb(var(--ub-color-text-grey) / var(--tw-text-opacity)) !important;
}

.tease-video .thumbnail {
  display: flex;
  height: 250px;
  width: 100%;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.tease-video .thumbnail > svg {
  height: 50px;
}

.tease-video .title {
  display: flex;
  font-size: 1.125rem !important;
}

.tease-video svg path {
  fill: rgb(var(--ub-color-white) / 1);
}

.tease-video svg rect {
  fill: rgb(var(--ub-color-secondary) / 1);
}

.tease-video:hover svg path, .tease-video:active svg path {
  fill: rgb(var(--ub-color-secondary) / 1);
}

.tease-video:hover svg rect, .tease-video:active svg rect {
  fill: rgb(var(--ub-color-white) / 1);
}

/* ICON */

.tease-icon {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(var(--ub-color-border) / var(--tw-border-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-white) / var(--tw-bg-opacity));
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  text-align: center;
  font-size: 1.125rem;
}

.tease-icon .thumbnail {
  height: 150px;
  width: 150px !important;
  border-radius: 9999px;
  -o-object-fit: cover;
     object-fit: cover;
}

.tease-icon .title {
  display: flex;
  flex: 1 1 0%;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem !important;
  --tw-text-opacity: 1 !important;
  color: rgb(var(--ub-color-grey) / var(--tw-text-opacity)) !important;
}

/* AGENDA */

.ub-img-agenda {
  height: 250px;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.ub-post-agenda {
  margin-right: 1.25rem;
  display: flex;
  flex-direction: column;
}

.image-container {
  position: relative;
  width: 100%;
}

.agenda-date {
  position: absolute;
  top: 0px;
  right: 0px;
  display: flex;
  height: 100%;
  width: 50%;
  align-items: center;
  background-color: rgb(var(--ub-color-primary) / var(--tw-bg-opacity));
  --tw-bg-opacity: 0.7;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-white) / var(--tw-text-opacity));
  transition: width 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.image-container:hover .agenda-date,
.agenda-date:hover {
  width: 100%;
  color: transparent;
}

.agenda-date::after {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(var(--ub-color-primary) / var(--tw-bg-opacity));
  --tw-bg-opacity: 0.7;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.image-container:hover .agenda-date::after,
.agenda-date:hover::after {
  content: attr(data-discover);
  opacity: 1;
  background-color: rgb(var(--ub-color-primary) / var(--tw-bg-opacity));
  --tw-bg-opacity: 0.8;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-white) / var(--tw-text-opacity))
}

.block-generic-carrousel .owl-stage {
  display: flex;
}

.tease-container .item {
  display: flex;
  flex-direction: column;
}

.post-event .item {
  display: flex;
  flex-direction: column;
}

.post-event a:hover {
  text-decoration-line: none !important;
}

.tease-post:hover .title, .post-event:hover span.ub-titre-actu , .tease-video:hover .title,
.tease-post:active .title,.post-event:active span.ub-titre-actu,.tease-video:active .title,
.tease-post:focus .title, .post-event:focus span.ub-titre-actu , .tease-video:focus .title {
  --tw-text-opacity: 1 !important;
  color: rgb(var(--ub-color-primary) / var(--tw-text-opacity)) !important;
}

footer {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-white) / var(--tw-bg-opacity));
}

.widget {
  text-align: left;
}

.widget p, .widget ul {
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-primary) / var(--tw-text-opacity));
}

.widget .widget-title {
  font-size: 1.375rem;
  font-weight: 600;
  text-transform: uppercase;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-primary) / var(--tw-text-opacity));
}

.div_logo {
  margin-left: 3.25rem;
  width: 6rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .div_logo {
    margin-right: 1.25rem;
    margin-left: 10rem;
    display: flex;
    flex-direction: row;
    padding-bottom: 1.25rem;
    padding-top: 1.25rem;
  }
}

.div_rs {
  margin: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.picture_rs svg {
  margin: 1.25rem;
  height: 2rem;
  width: auto;
  fill: rgb(var(--ub-color-color_rs) / 1);
}

.picture_rs svg:hover {
  fill: rgb(var(--ub-color-orange) / 1);
}

@media (min-width: 1024px) {
  .picture_rs svg {
    height: 2.5rem;
  }
}

.picture_logo {
  width: 100%;
}

@media (min-width: 1024px) {
  .picture_logo {
    min-width: 125px;
  }
}

/*FOOTER MENU*/

.footer-menu {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-grey) / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-white) / var(--tw-text-opacity));
}

.footer-menu ul {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .footer-menu ul {
    flex-direction: row;
    gap: 0px;
  }

  .footer-menu ul li:not(:last-child)::after {
    padding-right: 0.25rem;
    --tw-content: '-';
    content: var(--tw-content);
  }
}

.footer-menu li a:hover {
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-primary) / var(--tw-text-opacity));
}

/* WIDGETS */

.widget_footer {
  position: relative;
  margin-left: 1.25rem;
  margin-right: 1.25rem;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .widget_footer {
    margin-left: 10rem;
    display: flex;
    flex-direction: row;
    padding-bottom: 3rem;
  }
}

.widget_footer h2 {
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  font-size: 1.375rem;
  font-weight: 600;
}

.widget_footer .widget {
  position: relative;
}

@media (min-width: 1024px) {
  .widget_footer .widget {
    padding-left: 4rem !important;
    padding-right: 4rem !important;
  }

  .widget_footer .widget::after {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 50%;
    width: 1px;
    --tw-bg-opacity: 1;
    background-color: rgb(var(--ub-color-border) / var(--tw-bg-opacity));
    --tw-content: "";
    content: var(--tw-content);
  }

  .widget_footer .widget:first-child {
    padding-left: 0px !important;
  }

  .widget_footer .widget:first-child::after {
    content: var(--tw-content);
    display: none;
  }

  .widget_footer .widget:last-child {
    padding-right: 0px;
  }
}

.widget_footer .widget {
  /** Footer desktop **/
  margin-left: 2rem;
  border-top-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(var(--ub-color-border) / var(--tw-border-opacity));
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.widget_footer .widget:first-child {
  border-top-width: 0px;
}

@media (min-width: 1024px) {
  .widget_footer .widget {
    margin-left: 0px;
    border-top-width: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
  }
}

.widget_footer .widget {
  /** Footer Mobile **/
}

/* TOP UP */

body.scrolled #jump-top {
  bottom: -10rem;
}

#jump-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 50;
  display: flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(var(--ub-color-secondary) / var(--tw-border-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-secondary) / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-white) / var(--tw-text-opacity));
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

@media (min-width: 1024px) {
  #jump-top {
    bottom: 30px;
    right: 30px;
  }
}

.main_header {
  display: flex;
  flex-direction: row;
}

@media (min-width: 1024px) {
  .main_header {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

.main_header .third-item ul, .second-item {
  display: flex;
  flex-direction: row;
}

.main_header nav ul {
  display: none;
}

@media (min-width: 1024px) {
  .main_header nav ul {
    display: flex;
    flex-direction: row;
  }
}

.main_header {
  max-width: 100%;
  align-items: center;
  justify-content: space-between;
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-text-grey) / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-text-menu) / var(--tw-text-opacity));
}

.main_header nav ul li:not(:last-child)::after {
  margin-right: 0.5rem;
  margin-left: 0.5rem;
  content: "|";
}

.main_header .third-item li {
  padding: 0.75rem;
}

@media (min-width: 1024px) {
  .main_header .third-item li {
    padding: 0.5rem;
  }
}

.main_header .third-item li:not(:first-child) {
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-white) / var(--tw-text-opacity));
}

.main_header .third-item i, .second-item i {
  margin-right: 0.5rem;
}

.main_header .third-item i:hover {
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-orange) / var(--tw-text-opacity));
}

.main_header .third-item li:last-child {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-orange) / var(--tw-bg-opacity));
}

.main_header .third-item li:last-child:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-white) / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-orange) / var(--tw-text-opacity));
}

.main_header .third-item li:last-child:active {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-white) / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-orange) / var(--tw-text-opacity));
}

.main_header .third-item a:hover {
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-orange) / var(--tw-text-opacity));
}

.main_header .third-item a:active {
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-orange) / var(--tw-text-opacity));
}

.ub-mainmenu-parent {
  justify-content: center;
}

.i-desktop {
  display: none;
}

@media (min-width: 1024px) {
  .i-desktop {
    display: block;
  }
}

.i-mobile {
  align-self: center;
}

@media (min-width: 1024px) {
  .i-mobile {
    display: none;
  }
}

.second-item {
  position: relative;
}

.second-item li:hover, .second-item li a:hover {
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-white) / var(--tw-text-opacity));
}

.list-item:hover {
  cursor: pointer;
}

.language {
  position: absolute;
  top: 100%;
  left: 0px;
  z-index: 50;
  display: none;
  border-width: 2px;
  --tw-border-opacity: 1;
  border-color: rgb(var(--ub-color-text-grey) / var(--tw-border-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-white) / var(--tw-bg-opacity));
}

.language.open {
  display: flex;
  flex-direction: column;
}

.language li {
  border-bottom-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(var(--ub-color-grey) / var(--tw-border-opacity));
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-text-grey) / var(--tw-text-opacity));
}

.language li, .language li a {
  font-weight: 500;
}

.language li:hover, .language li a:hover {
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-orange) / var(--tw-text-opacity));
}

.language li:last-child {
  border-bottom-width: 0px;
}

.ub-mainmenu {
  display: flex;
  display: none;
  flex-direction: column;
  align-items: center;
  align-self: auto;
  white-space: normal;
  text-align: center;
}

@media (min-width: 1024px) {
  .ub-mainmenu {
    margin: auto;
    display: flex;
    width: 100%;
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
    justify-content: space-around;
    align-self: flex-end;
    border-bottom-width: 2px;
    --tw-border-opacity: 1;
    border-color: rgb(var(--ub-color-border) / var(--tw-border-opacity));
    --tw-bg-opacity: 1;
    background-color: rgb(var(--ub-color-white) / var(--tw-bg-opacity));
  }
}

.ub-mainmenu ul li {
  display: flex;
  align-items: center;
}

.header_menu {
  position: relative;
  width: 100%;
}

@media (min-width: 1024px) {
  .header_menu {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
}

.ub-mainmenu-parent a {
  line-height: .75rem;
}

@media (min-width: 1024px) {
  .ub-mainmenu-parent a {
    margin-left: 1.25rem;
    margin-right: 1.25rem;
  }
}

.ub-mainmenu-parent ul {
  margin-right: 0px;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .ub-mainmenu-parent ul {
    margin-bottom: 1.25rem;
    margin-right: 1.25rem;
    display: flex;
    flex-direction: row;
    align-self: center;
    font-weight: 600;
    --tw-text-opacity: 1;
    color: rgb(var(--ub-color-text-grey) / var(--tw-text-opacity));
  }
}

.ub-mainmenu-parent li {
  margin-right: 0px;
  border-right-width: 0px;
  text-transform: uppercase !important;
}

@media (min-width: 1024px) {
  .ub-mainmenu-parent li {
    border-right-width: 2px;
    --tw-border-opacity: 1;
    border-color: rgb(var(--ub-color-text-grey) / var(--tw-border-opacity));
  }

  .ub-mainmenu-parent li:last-child {
    border-right-width: 0px;
  }
}

.content-wrapper {
  margin: auto;
}

.ub-mainmenu-sub {
  display: none;
}

.ub-mainmenu-sub ul {
  display: none;
}

@media (min-width: 1024px) {
  .ub-mainmenu-sub ul {
    display: block;
  }

  .ub-mainmenu-sub ul:first-of-type {
    display: none !important;
  }
}

.ub-mainmenu-sub ul.display {
  display: block;
}

@media (min-width: 1024px) {
  .ub-mainmenu-sub li.back {
    display: none;
  }
}

.ub-mainmenu-sub li.back a {
  justify-content: flex-start;
  font-weight: 700;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-grey) / var(--tw-text-opacity));
}

.ub-mainmenu-sub li.back a:before {
  content: '\f053';
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  font-family: 'Font Awesome 6 Free';
}

.ub-mainmenu-sub-wrapper {
  position: absolute;
  bottom: 0px;
  width: 100%;
  --tw-translate-y: 100%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-white) / var(--tw-bg-opacity));
}

.ub-mainmenu-sub.active {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  justify-content: space-around;
  gap: 1.25rem;
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-white) / var(--tw-bg-opacity));
  padding: 1.25rem;
}

@media (min-width: 1024px) {
  .ub-mainmenu-sub.active {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ub-mainmenu-sub li {
  display: flex;
  border-bottom-width: 2px;
  --tw-border-opacity: 1;
  border-color: rgb(var(--ub-color-border) / var(--tw-border-opacity));
  padding-bottom: 1.25rem;
  padding-top: 1.25rem;
}

.ub-mainmenu-sub li:hover {
  font-weight: 700;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-primary) / var(--tw-text-opacity));
}

.ub-mainmenu-sub li:active {
  font-weight: 700;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-primary) / var(--tw-text-opacity));
}

.ub-mainmenu-sub li a {
  display: flex;
  flex: 1 1 0%;
  justify-content: space-between;
}

.ub-mainmenu-sub li.has-child a::after {
  content: '+';
}

.ub-mainmenu-sub li.has-child.open a::after {
  content: '-';
}

.ub-mainmenu-parent li.open {
  font-weight: 700;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-primary) / var(--tw-text-opacity));
}

.ub-mainmenu-parent li {
  position: relative;
}

.ub-mainmenu-parent li:hover::before, .ub-mainmenu-parent li.open::before{
  content: '';
  position: absolute;
  bottom: -1.4rem;
  left: 0px;
  height: 0.125rem;
  width: 100%;
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-primary) / var(--tw-bg-opacity));
}

.mobil_menu {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  border-bottom-width: 2px;
  --tw-border-opacity: 1;
  border-color: rgb(var(--ub-color-border) / var(--tw-border-opacity));
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

@media (min-width: 1024px) {
  .mobil_menu {
    display: none;
  }
}

.mobil_menu a:first-child {
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-text-grey) / var(--tw-text-opacity));
}

.mobil_menu .logo_header {
  height: 2.25rem;
  max-height: 2.25rem;
}

/** FIL D'ARIANE **/

.breadcrumb ul {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  overflow-x: scroll;
  border-bottom-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(var(--ub-color-border) / var(--tw-border-opacity));
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 2rem;
  padding-right: 2rem;
}

.breadcrumb li {
  flex-shrink: 0;
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .breadcrumb li {
    white-space: normal;
  }
}

.breadcrumb a {
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-text-grey) / var(--tw-text-opacity));
  text-decoration-line: none;
}

.breadcrumb a:hover {
  text-decoration-line: underline;
}

.breadcrumb ul li:not(:last-child)::after {
  content: "\f054";
  margin-left: 0.5rem;
  font-family: 'Font Awesome 6 Free';
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-text-grey) / var(--tw-text-opacity))
}

.breadcrumb ul li:last-child a {
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-primary) / var(--tw-text-opacity));
}

/* LANGS */

.lang-switcher a {
  text-transform: uppercase;
}

.modal {
  display: none;
  z-index: 1000;
}

.modal.active {
  position: fixed;
  left: 0px;
  top: 0px;
  display: flex;
  height: 100%;
  width: 100%;
  align-items: center;
  justify-content: center;
  background-color: rgb(var(--ub-color-text-grey) / var(--tw-bg-opacity));
  --tw-bg-opacity: 0.8;
  z-index: 1000;
}

.modal-content {
  height: -moz-fit-content;
  height: fit-content;
  width: 100%;
  max-width: 400px;
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-white) / var(--tw-bg-opacity));
}

.modal-iam, .modal-iam ul, .modal-acces, .modal-search ul, .modal-search {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-iam span, .modal-iam h3, .modal-acess span, .modal-acces h3, .modal-search h3, .modal-acces span {
  padding-bottom: 1.25rem;
}

.close-modal i {
  padding-top: 0.75rem;
  font-size: 1.875rem;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-text-grey) / var(--tw-text-opacity));
}

.close-modal i:hover {
  cursor: pointer;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-orange) / var(--tw-text-opacity));
}

.modal-iam ul {
  width: 100%;
  padding-left: 1.25rem;
  padding-right: 1.25rem
}

.modal-iam li {
  width: 100%;
  border-top-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(var(--ub-color-grey) / var(--tw-border-opacity));
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  text-align: center;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-text-grey) / var(--tw-text-opacity));
}

.modal-iam li:hover {
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-orange) / var(--tw-text-opacity));
}

.modal-iam h3, .modal-acces h3, .modal-search h3 {
  font-size: 1.125rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-text-grey) / var(--tw-text-opacity));
}

.modal-acces a, .modal-search a {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.modal-acces li:not(:last-child) .span-acces {
  width: 100%;
  border-bottom-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(var(--ub-color-text-menu) / var(--tw-border-opacity));
}

.span-acces, .svg-picto {
  padding-bottom: 0px !important;
}

.modal-acces .close-modal {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.modal-acces h3 {
  padding-bottom: 2.5rem;
}

.modal-acces ul {
  width: 100%;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  padding-bottom: 1.25rem;
}

.modal-acces li * {
  margin-bottom: 0.25rem;
  fill: rgb(var(--ub-color-text-grey) / 1);
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-text-grey) / var(--tw-text-opacity));
}

.svg-picto {
  min-width: 30px;
}

.svg-picto svg {
  height: 1.25rem;
  width: 1.25rem;
  -o-object-fit: cover;
     object-fit: cover;
}

.modal-acces li:hover * {
  fill: rgb(var(--ub-color-orange) / 1);
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-orange) / var(--tw-text-opacity));
}

.modal-acces li svg .stroke {
  stroke: rgb(var(--ub-color-text-grey) / 1);
}

.modal-acces li:hover svg .stroke {
  stroke: rgb(var(--ub-color-orange) / 1);
}

.modal-search li:not(:last-child) {
  width: 100%;
  border-top-width: 1px;
  border-bottom-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(var(--ub-color-text-menu) / var(--tw-border-opacity));
}

.modal-search li:last-child {
  width: 100%;
  border-bottom-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(var(--ub-color-text-menu) / var(--tw-border-opacity));
}

.modal-search form {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: row;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(var(--ub-color-text-grey) / var(--tw-border-opacity));
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.input-modal {
  border: none;
  color: black;
}

.span-search {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  text-align: center;
}

.modal-search li {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.modal-search .icon {
  margin-left: 0.5rem;
}

.modal-search .span-search {
  position: relative;
}

.modal-search .span-search:hover::before {
  content: "";
  height: 2px;
  bottom: -3%;
  position: absolute;
  left: 0px;
  width: 100%;
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-orange) / var(--tw-bg-opacity))
}

.modal-search form span {
  align-self: center;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-text-grey) / var(--tw-text-opacity));
}

.input-modal:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.modal-search li:hover, .modal-search li a:hover {
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-orange) / var(--tw-text-opacity));
}

.submit-modal {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-white) / var(--tw-bg-opacity));
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-text-grey) / var(--tw-text-opacity));
}

.submit-modal:hover {
  --tw-border-opacity: 1;
  border-color: rgb(var(--ub-color-orange) / var(--tw-border-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-orange) / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-white) / var(--tw-text-opacity));
}

.modal-slide {
  max-width: 200px;
}

.modal-slide ul li {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

@font-face {
  font-family: 'Titillium';

  src: url(./fonts/TitilliumWeb-Regular.ttf);
}

@font-face {
  font-family: 'Titillium';

  src: url(./fonts/TitilliumWeb-ExtraLight.ttf);

  font-weight: 200;
}

@font-face {
  font-family: 'Titillium';

  src: url(./fonts/TitilliumWeb-ExtraLightItalic.ttf);

  font-weight: 200;

  font-style: italic;
}

@font-face {
  font-family: 'Titillium';

  src: url(./fonts/TitilliumWeb-Black.ttf);

  font-weight: 900;
}

@font-face {
  font-family: 'Titillium';

  src: url(./fonts/TitilliumWeb-Light.ttf);

  font-weight: 300;
}

@font-face {
  font-family: 'Titillium';

  src: url(./fonts/TitilliumWeb-LightItalic.ttf);

  font-weight: 300;

  font-style: italic;
}

@font-face {
  font-family: 'Titillium';

  src: url(./fonts/TitilliumWeb-SemiBold.ttf);

  font-weight: 600;
}

@font-face {
  font-family: 'Titillium';

  src: url(./fonts/TitilliumWeb-Bold.ttf);

  font-weight: bold;
}

@font-face {
  font-family: 'Titillium';

  src: url(./fonts/TitilliumWeb-BoldItalic.ttf);

  font-weight: bold;

  font-style: italic;
}

@font-face {
  font-family: 'Titillium';

  src: url(./fonts/TitilliumWeb-Italic.ttf);

  font-style: italic;
}

@font-face {
  font-family: 'Titillium';

  src: url(./fonts/TitilliumWeb-SemiBoldItalic.ttf);

  font-style: italic;

  font-weight: 600;
}

@font-face {
  font-family: "Open Dyslexic";

  src: url(./fonts/OpenDyslexic-Regular.otf);
}

@font-face {
  font-family: "Open Dyslexic";

  src: url(./fonts/OpenDyslexic-Italic.otf);

  font-style: italic;
}

@font-face {
  font-family: "Open Dyslexic";

  src: url(./fonts/OpenDyslexic-Bold.otf);

  font-weight: bold;
}

@font-face {
  font-family: "Open Dyslexic";

  src: url(./fonts/OpenDyslexic-BoldItalic.otf);

  font-weight: bold;

  font-style: italic;
}

body.dyslexia {
  --main-font: 'Open Dyslexic';
}

body.contrast {
  --ub-color-primary: 0 0 255;
  --ub-color-secondary: 0 255 0;
  --ub-color-beige: 255 255 255;
  --ub-color-color_rs: 0 0 0;
  --ub-color-orange: 165 42 42;
  --ub-color-border: 255 255 255;
  --ub-color-white: 255 255 255;
  --ub-color-text-grey: 0 0 0;
  --ub-color-grey: 0 0 0;
  --ub-color-text-menu: 255 255 255;
  --ub-color-member: 255 255 255;
}

body {
  display: flex;
  flex-direction: column;
  padding-top: 170px;
  font-family: var(--main-font);
}

@media (min-width: 1024px) {
  body {
    padding-top: 180px;
  }
}

b, strong {
  font-weight: bold;
}

/** INPUT UB **/

.btn, .button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(var(--ub-color-primary) / var(--tw-border-opacity));
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-primary) / var(--tw-text-opacity));
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.btn:hover, .button:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-primary) / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-white) / var(--tw-text-opacity));
}

.btn:focus, .button:focus {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-primary) / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-white) / var(--tw-text-opacity));
}

.btn:active, .button:active {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-primary) / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-white) / var(--tw-text-opacity));
}

.btn.primary, button.primary {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-primary) / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-white) / var(--tw-text-opacity));
}

.btn.primary:hover, button.primary:hover {
  cursor: pointer;
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-secondary) / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-white) / var(--tw-text-opacity));
}

.btn.primary:focus, button.primary:focus {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-secondary) / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-white) / var(--tw-text-opacity));
}

.btn.primary:active, button.primary:active {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-secondary) / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-white) / var(--tw-text-opacity));
}

.btn.disabled, button.disabled, button:disabled {
  --tw-border-opacity: 1 !important;
  border-color: rgb(var(--ub-color-grey) / var(--tw-border-opacity)) !important;
  background-color: transparent !important;
  --tw-text-opacity: 1 !important;
  color: rgb(var(--ub-color-grey) / var(--tw-text-opacity)) !important;
}

.btn.primary.disabled, button.primary.disabled, button.primary:disabled {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-grey) / var(--tw-bg-opacity));
}

.btn svg {
  fill: rgb(var(--ub-color-primary) / 1);
}

.btn:hover svg, .btn:active svg, .btn:focus svg {
  fill: rgb(var(--ub-color-white) / 1) !important;
}

.btn.btn-secondary {
  width: 100%;
  justify-content: center;
  --tw-border-opacity: 1;
  border-color: rgb(var(--ub-color-secondary) / var(--tw-border-opacity));
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-secondary) / var(--tw-text-opacity));
}

.btn.btn-secondary:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-secondary) / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-white) / var(--tw-text-opacity));
  text-decoration-line: none;
}

.btn.btn-secondary:focus {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-secondary) / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-white) / var(--tw-text-opacity));
  text-decoration-line: none;
}

.btn.btn-secondary:active {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-secondary) / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-white) / var(--tw-text-opacity));
  text-decoration-line: none;
}

@media (min-width: 1024px) {
  .btn.btn-secondary {
    width: auto;
    justify-content: normal;
  }
}

.btn.btn-secondary svg {
  fill: rgb(var(--ub-color-secondary) / 1);
}

input {
  border-radius: 0px;
  border-width: 1px;
  border-right-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(var(--ub-color-primary) / var(--tw-border-opacity));
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-primary) / var(--tw-text-opacity));
  accent-color: rgb(var(--ub-color-primary) / 1);
}

.custom-checkbox[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  content: "";
  display: inline-block;
  height: 1rem;
  width: 1rem;
  appearance: none;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(var(--ub-color-primary) / var(--tw-border-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-white) / var(--tw-bg-opacity));
  background-clip: content-box;
  padding-left: 0.125rem;
  padding-right: 0.125rem;
  padding-top: 0.125rem;
  padding-bottom: 0.125rem
}

input[type="checkbox"]:checked {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-primary) / var(--tw-bg-opacity));
}

input[type="button"]:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-primary) / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-white) / var(--tw-text-opacity));
}

input[type="radio"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  content: "";
  display: inline-block;
  height: 1rem;
  width: 1rem;
  appearance: none;
  border-radius: 9999px;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(var(--ub-color-primary) / var(--tw-border-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-white) / var(--tw-bg-opacity));
  background-clip: content-box;
  padding-left: 0.125rem;
  padding-right: 0.125rem;
  padding-top: 0.125rem;
  padding-bottom: 0.125rem
}

input[type="radio"]:checked {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-primary) / var(--tw-bg-opacity));
}

select {
  position: absolute;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(var(--ub-color-primary) / var(--tw-border-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-white) / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-secondary) / var(--tw-text-opacity));
}

input {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-primary) / var(--tw-text-opacity));
}

input:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

textarea {
  max-width: 100%;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(var(--ub-color-primary) / var(--tw-border-opacity));
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-primary) / var(--tw-text-opacity));
}

/**FIN INPUT**/

a:hover {
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-primary) / var(--tw-text-opacity));
}

a:active {
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-primary) / var(--tw-text-opacity));
}

a svg:hover {
  fill: rgb(var(--ub-color-primary) / 1);
}

a svg:focus {
  fill: rgb(var(--ub-color-primary) / 1);
}

a svg:active {
  fill: rgb(var(--ub-color-primary) / 1);
}

.fix-to-top {
  position: fixed;
  left: 0px;
  top: 0px;
  z-index: 50;
  margin: auto;
  width: 100%;
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-white) / var(--tw-bg-opacity));
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

body.admin-bar .fix-to-top {
  top: 46px;
}

@media screen and (min-width: 782px) {
  body.admin-bar .fix-to-top {
    top: 32px;
  }
}

.ub-container {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

@media (min-width: 1024px) {
  .ub-container {
    margin: auto;
    max-width: 1200px;
  }
}

.ub-container-listing-partenaire {
  margin: auto;
  max-width: 1500px;
}

.logo_header {
  margin: 0.5rem;
  height: 4rem;
  max-height: 4rem;
}

.parent_container {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-beige) / var(--tw-bg-opacity));
}

.container_rs {
  margin-top: 2.5rem !important;
  max-width: 100%;
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-beige) / var(--tw-bg-opacity));
}

.ub-h2 {
  position: relative;
  padding-top: 1.75rem;
  font-family: var(--main-font);
  font-size: 1.875rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-primary) / var(--tw-text-opacity));
}

.ub-h2::before {
  content: "";
  position: absolute;
  height: 0.25rem;
  width: 6rem;
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-border) / var(--tw-bg-opacity));
}

.ub-p-excerpt {
  margin-top: 0.75rem;
  padding-right: 0px;
  padding-bottom: 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-text-grey) / var(--tw-text-opacity));
}

@media (min-width: 1024px) {
  .ub-p-excerpt {
    margin-right: 5rem;
    padding-bottom: 0px;
  }
}

.ub-p-info {
  font-size: 1rem;
}

@media (min-width: 1024px) {
  .ub-p-info {
    margin-right: 5rem;
  }
}

.ub-activity {
  margin: auto;
  margin-top: 0.75rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.ub-title-activity {
  margin: auto;
  max-width: 1200px;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.ub-button {
  margin: auto;
  margin-top: 0.5rem;
  display: flex;
  max-width: 1200px;
  flex-direction: row;
  justify-content: flex-end;
}

.block-generic-carrousel .item {
  display: flex;
  flex-direction: column;
}

.carousel-ub-main .owl-dots {
  bottom: auto;
}

.carousel-ub-main .owl-dots .owl-dot.active span {
  --tw-bg-opacity: 1 !important;
  background-color: rgb(var(--ub-color-primary) / var(--tw-bg-opacity)) !important;
}

.ub-agenda .item {
  display: flex;
  flex-direction: column;
  padding-right: 1.25rem;
}

.ub-img-actu {
  display: block;
  height: auto;
  width: 100%;
}

.summary-img {
  display: flex;
  flex-direction: row;
  padding-bottom: 2.5rem;
}

.img-item {
  height: 150px;
  -o-object-fit: cover;
     object-fit: cover;
}

@media (min-width: 1024px) {
  .img-item {
    max-width: 250px;
  }
}

.h3-img {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  text-align: center;
  font-family: var(--main-font);
  font-size: 1.375rem;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-text-grey) / var(--tw-text-opacity));
}

.border-img {
  height: 100px;
  width: 100px;
  -o-object-fit: cover;
     object-fit: cover;
}

.img-picto {
  height: 100%;
  width: 100%;
  border-radius: 50%;
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-primary) / var(--tw-bg-opacity));
}

.ub-partenaire {
  margin: auto;
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  padding-top: 2.5rem;
}

@media (min-width: 1024px) {
  .ub-partenaire {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ub-tutelle {
  margin-top: 0px;
  margin-bottom: 1.25rem;
  width: auto;
  border-width: 2px;
  --tw-border-opacity: 1;
  border-color: rgb(var(--ub-color-border) / var(--tw-border-opacity));
  padding-right: 45px;
  padding-left: 45px;
  padding-top: 0px;
  padding-bottom: 1.25rem;
}

.partenaire-img {
  height: 11rem;
  width: auto;
  -o-object-fit: contain;
     object-fit: contain;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  --tw-grayscale: grayscale(100%);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.partenaire-img:hover {
  --tw-grayscale: grayscale(0);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.partenaire-img:active {
  --tw-grayscale: grayscale(0);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.ub-partenaire-global {
  margin-top: 10rem;
  margin-bottom: 5rem;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.ub-tutelle-titre {
  padding-bottom: 0px;
  padding-top: 0.5rem;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-text-grey) / var(--tw-text-opacity));
}

@media (min-width: 1024px) {
  .ub-tutelle-titre {
    padding-top: 0.75rem;
    padding-bottom: 1.25rem;
    font-size: 1.375rem;
  }
}

.picto-grid {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 1024px) {
  .picto-grid {
    flex-direction: row;
  }
}

@media (min-width: 1650px) {
  .ub-partenaire {
    flex-direction: column;
    align-items: center;
  }

  .ub-tutelle {
    margin-top: 1.25rem;
  }
}

.tease-picto {
  margin-right: 0px;
  margin-top: 1.25rem;
  display: flex;
  height: auto;
  max-width: 250px;
  flex-direction: column;
  align-items: center;
  border-width: 2px;
  --tw-border-opacity: 1;
  border-color: rgb(var(--ub-color-border) / var(--tw-border-opacity));
  padding-top: 1.25rem;
}

@media (min-width: 1024px) {
  .tease-picto {
    margin-right: 1.25rem;
    margin-top: 0px;
    height: 200px;
    width: auto;
  }
}

.select-personnalise {
  -webkit-appearance: none;
  position: absolute;
  float: right;
  --tw-border-opacity: 1;
  border-color: rgb(var(--ub-color-primary) / var(--tw-border-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(var(--ub-color-white) / var(--tw-bg-opacity));
  padding: 0.5rem;
  font-size: 1rem;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-primary) / var(--tw-text-opacity));
  outline-color: rgb(var(--ub-color-primary) / 1);
}

.ub-global {
  display: block;
}

.container {
  margin: auto;
  padding-right: 0px;
  padding-left: 0px;
}

a.btn-icon-hidden {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-text-grey) / var(--tw-text-opacity));
}

a.btn-icon-hidden:hover {
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-secondary) / var(--tw-text-opacity));
}

a.btn-icon-hidden:focus {
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-secondary) / var(--tw-text-opacity));
}

a.btn-icon-hidden:active {
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-secondary) / var(--tw-text-opacity));
}

a.btn-icon-hidden span {
  color: transparent;
}

a.btn-icon-hidden:hover span, a.btn-icon-hidden:active span, a.btn-icon-hidden:focus span {
  --tw-text-opacity: 1;
  color: rgb(var(--ub-color-secondary) / var(--tw-text-opacity));
}

#wpadminbar {
  position: fixed !important;
}

@media screen and (max-width: 1024px) {
  button.cmplz-btn.cmplz-manage-consent {
    display: none;
  }
}

@media print {
  .fix-to-top {
    display: none !important;
  }

  footer {
    display: none !important;
  }
}

