/*** Esup Pod main CSS ***/

:root {
  /* COMMON COLORS */
  --color-black: #000;
  --color-black-alpha: rgba(0, 0, 0, .6);
  --color-alto: #ddd;
  --color-silver: #ccc;
  --color-silver-chalice: #aaa;

  /***
   *  exemple vert 'univ-lille.fr' 2022
   ***/
  /*** Theme primary color ***/
  --pod-primary: #1F7C85;
  --pod-primary-rgb: 31, 124, 133;

  /* a light variant of primary color, used for button hover */
  --pod-primary-lighten: #08b0a0;
  /* a dark variant of primary color, used for active links and disabled buttons */
  --pod-primary-darken: #18575D;
  /* les valeurs '...-dark' ci-dessous sont pour le mode sombre.*/
  --pod-primary-dark: #1F7C85;
  --pod-primary-lighten-dark: #08b0a0;
  --pod-primary-lighten-dark-rgb: 8, 176, 160;
  --pod-primary-darken-dark: #18575D;

  /***
   * Esup-Pod default colors
   ***/

  /*** couleur de fond du site ***/
  --pod-background: #fff;
  --pod-background-dark: #222831;

  /*** couleur du texte des boutons principaux ***/
  --pod-btn-text: #fff;
  --pod-btn-text-dark: #fff;

  /**** couleur de police ****/
  --pod-font-color: #000;
  --pod-font-color-dark: #f8f9fa;

  /**** couleur neutre pour fond de bloc (ex jumbotron) ***/
  --pod-background-neutre1-bloc: #ddd;
  --pod-background-neutre1-bloc-dark: #393e46;

  /**** couleur neutre 2 pour fond de bloc ***/
  --pod-background-neutre2-bloc: #f5f5f5;
  --pod-background-neutre2-bloc-dark: #161c26;

  /**** couleur des liens *****/
  --pod-link-color: var(--pod-primary);
  --pod-link-color-rgb: var(--pod-primary-rgb);
  --pod-activelink-color: var(--pod-primary-darken);

  /* couleur d'un élément actif (ex. : survol de bouton) */
  --pod-primary-focus: var(--pod-primary-darken);

  /* Couleur d'alerte*/
  --pod-alert: #FC8670;
  --pod-alert-dark: #B11030;

  /**** font family ****/
  /* For better accessibility, avoid fonts where 1,i,L / O,0 are the same. */
  --bs-body-font-family: "Verdana", sans-serif;
  --bs-body-font-size: 11pt;
  --pod-font-family-dyslexie: "Open Dyslexic";

  font-size: var(--bs-body-font-size);

  /* BOOTSTRAP COLORS */
  --bs-primary-rgb: var(--pod-primary-rgb);
  --bs-light: #f8f9fa;
  --bs-dark: #343a40;
  --bs-link-color: var(--pod-link-color);
  --bs-link-color-rgb: var(--pod-link-color-rgb);
  --bs-link-hover-color: var(--pod-activelink-color);
  --bs-card-color: var(--pod-font-color);

  /* Use system font (faster load) */
  --font-family-sans-serif: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, Verdana, sans-serif;

  /** reinit before cleaning all old css vars ***/
  --primary-background-color: var(--pod-background-neutre1-bloc) !important;
  --third-background-color: var(--pod-background-neutre1-bloc) !important;
}

:root[data-dyslexia="on"] {
  --bs-body-font-family: var(--pod-font-family-dyslexie);
}

.pod-card--video a:not(.btn) {
  color: inherit;
}

/* copy "alert-danger" style from Bootstrap 4 */
.alert-error {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.navbar-light .navbar-nav .nav-link,
.navbar-light .navbar-toggler {
  transition: background-color .3s ease-in-out, color .3s ease-in-out;
  color: var(--pod-font-color);
  box-shadow: .05rem .05rem .2rem .05rem rgba(0, 0, 0, .2);
  border-radius: .15rem;
  margin-top: 1rem;
}

.table-hover tbody tr {
  transition: background-color .5s;
}

/*.table-hover tbody tr:hover {
  color: var(--pod-font-color);
  background-color: var(--pod-background);
}*/

.navbar-toggler:focus,
.navbar-toggler:hover {
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
  color: var(--pod-primary);
  border-color: var(--pod-primary);
}

.navbar-light .navbar-brand:focus,
.navbar-light .navbar-brand:hover {
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
  color: var(--color-black)
}

.btn-lang:focus,
.btn-lang:hover,
.btn-lang:active {
  box-shadow: 0 0 3px var(--pod-primary);
  --bs-btn-hover-color: var(--pod-font-color);
  --bs-btn-active-color: var(--pod-font-color);
}

.pod-nav-link-icon, .pod-add {
  font-size: 120%;
}

.modal-title svg {
  color: var(--pod-primary) !important;
}

.bg-light {
  background-color: var(--bs-light) !important;
}

.tab-title {
  font-size: 1.5rem;
}

.pod-meta-title {
  font-size: 85%;
}

.pod-meta-title+ul {
  display: inline-block;
}

.btn-link {
  /*font-weight: 400;*/
  /*color: var(--pod-link-color);*/
  text-decoration: none;
}

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

a.btn-outline-primary:not(:hover) svg {
  fill: var(--pod-primary)
}


#collapseAside .card>.btn {
  white-space: normal !important;
  word-wrap: break-word;
  word-break: normal;
  padding: 0.5rem;
}

.submit-row a.deletelink {
  height: 35px;
}

tr,
.rowl {
  display: table-row !important;
}


.pod-mt-7 {
  margin-top: 3.5rem;
}

.pod-share-fieldset {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--pod-background-neutre1-bloc);
}

.pod-share-fieldset legend {
  margin-bottom: 1.5rem;
}

:not(footer)>.pod-btn-social {
  font-size: 2rem;
}
.btn.pod-btn-social {
  color: var(--pod-font-color);
  --bs-btn-hover-color: var(--pod-font-color);
  --bs-btn-active-color: var(--pod-font-color);
}

.pod-btn-social i {
  transition: all 0.2s ease;
}

.pod-btn-social:hover i {
  transform: rotate(15deg);
  display: inline-block;
}

.list-group-item {
  background: var(--pod-background);
  padding: .25rem 1.25rem;
}

/***
 *  video *
 ***/
#myTabContent #info p {
  margin-top: .5rem;
  margin-bottom: .5rem;
}

#share legend {
  line-height: 1em;
}

.hidespinner {
  display: none;
}

.link-center-pod {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 576px) {
  .link-center-pod,
.file-image {
  display: block;
  overflow: hidden;
  max-height: auto;
}
}

@media (min-width: 576px) {
.link-center-pod,
.file-image {
  display: block;
  overflow: hidden;
  max-height: 10rem;
}
}

.link-center-pod >img {
  min-width:100%;
  height: 100%;
}

/***
 * navbar
 ***/

.btn-lang {
  padding: .2rem .25rem;
  width: 100%;
  text-align: left;
}

.btn-lang-active {
  background: var(--pod-background);
  color: var(--pod-font-color);
}

.navbar-inner-pod {
  position: relative;
}

.navbar-toggler {
  padding: .5rem;
  line-height: inherit;
  font-size: 1rem;
}

.userpicture {
  height: 34px;
  line-height: 2.5em; /* Align username if no image available */
}

/** modal **/
.modal-title svg {
  height: 40px;
  width: 40px;
  /*color:var(--pod-primary);*/
}

.modal-content {
  background-color: var(--pod-background);
}

.modal-title {
  display: flex;
  align-items: center;
}

.modal-pod-full .close {
  font-size: 3rem;
}

.title-chaine {
  margin-right: .5rem;
  font-weight: 600;
  flex-direction: row-reverse;
}

.title-chaine>a {
  margin-right: .5em;
}

#listeChaines {
  max-height: 30rem;
  overflow: auto;
  border-bottom: 1px solid var(--color-black);
}

.liste-collapse {
  z-index: 900;
}
/**end modal **/

/***
 * tab
 ***/
.tab-content>.active {
  border: 1px solid var(--color-alto);
  padding: 1.5rem;
  background: var(--pod-background);
}

.pod-live-info { /* Very dirty fix */
  border: 0 !important;
  border-top: 1px solid var(--color-alto) !important;
  padding: 1.5rem;
  background: var(--pod-background);
  margin-top: 0.75rem;
}

.nav-tabs {
  border: 0;
}

.dropdown-menu {
  background-color: var(--pod-background);
  color: var(--pod-font-color);
  border: 1px solid var(--color-silver-chalice);
}

.dropdown-header {
  color: var(--color-black);
}

/***aside ***/
/*.open-aside {
  margin-right: 15px;
}*/

#card-takenote .dropdown-menu {
  border: none;
}

/* general search */
#s+button {
  opacity: 0;
  transition: opacity .8s ease-in;
}

#s:focus+button,
#s+button:focus,
#s+button:hover  {
  opacity: 1;
}

/*** modif taille logo ***/
@media (max-width: 576px) {
  .navbar-brand img {
    height: 35px;
  }

  /* .navbar-brand,
  .nav-item>.btn {
    font-size: .9rem;
  } */
}

@media (max-width: 992px) {
  .langs {
    border-top: 1px solid var(--color-silver);
  }

  .langs .active {
    background: var(--pod-primary);
    color: var(--bs-white);
  }

  /*.navbar-items-pod {
    position: absolute;
    top: 60px;
    left: 0;
    padding: 1rem;
    width: 100%;
    background-color: var(--bs-light);
    box-shadow: 1px 1px 3px gray;
    z-index: 100;
  }*/

  .navbar-nav .login .dropdown-menu {
    position: absolute;
    float: left;
  }

  /*** General search ***/
  .pod-navbar-search{
    position: absolute;
    left: 0;
    top: 0;
  }

  #s {
    border-radius: 0;
    padding: 0;
    margin: 0;
    transition: height .5s;
  }

  #s:not(:focus) {
    margin-top: -3rem;
    width: 1px;
    height: 1px;
    box-shadow: none;
    outline: none;
    border: 0;
    opacity: 0;
  }
  #s:not(:focus)+button{
    height: 1px;
  }

  #s:focus {
    width: calc(100% - 4em);
    opacity: 1;
    display: inline-block;
    padding: .5rem 1rem;
    z-index: 99;
    height: 3rem;
    margin-top: 0;
  }

  /* nav-search form */
  #nav-search label:hover .pod-nav-link-icon,
  #nav-search label:focus .pod-nav-link-icon {
    color: var(--pod-activelink-color);
  }

  .navbar label {
    padding-left: 1px;
    /*display: inline-block;*/
    /*margin-top: .3em;*/
    position: relative;
    left: .1em;
    cursor: pointer;
  }

}

/*** end MQueries **/

.login>.initials {
  font-weight: 600;
}

/*.nav-link {
  padding: .25rem .5rem;
}*/

button.nav-link {
  background: none;
  border: none;
}

.btn .userpicture {
  border: 1px solid transparent;
}
.btn:hover .userpicture,
.btn:focus .userpicture {
  opacity: .8;
  border-color: #CCC;
}

/*** Videos list header ***/
.videos-list-header{
   align-items: center;
}

/*** CARD ***/
.infinite-item .card-body {
  padding: .9rem;
  height: 3.5rem;
  overflow: hidden;
}

.infinite-item .card-header .octicon {
  height: .9rem;
  margin: .1rem;
}

#videos_list .card-header,
.playlist-videos .card-header {
  /*position: absolute;
  width: 100%;
  background: var(--color-black-alpha);
  padding: 0 .25rem;
  z-index: 9;*/
  padding: .4rem !important;
}

.pod-card--video .video-title {
  line-height: 1.2;
  display: inline-block;
  max-width: 100%;
}

#videos_list .video-title a {
  text-decoration: none;
}

#videos_list .video-title a:hover,
#videos_list .video-title a:focus {
  text-decoration: underline;
}

/* prevent default thumbnail to be too small on some screens */
.video-card>.card-thumbnail{
  min-height: 146px;
  background-color: #000;
}

.video-card .d-flex {
  /*position:relative;*/
  top: 0;
  gap: 0.5rem;
}

.pod-footer-content {
  display: grid;
  grid-template-columns: 200px 1fr;
}

a:not(.btn):hover,
a:not(.btn):focus {
  color: var(--pod-activelink-color);
  text-decoration: underline;
}

.btn-link:hover,
.btn-link:focus,
.nav-link:hover,
.nav-link:focus {
  text-decoration: underline;
}

div.card a img {
  transition: -webkit-transform .5s ease;
  transition: transform .5s ease;
  transition: transform .5s ease, -webkit-transform .5s ease;
  background: #000;
}

.card .link-center-pod:hover>img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
  z-index: 0;
}

.card-footer-pod {
  position: absolute;
  bottom: 3.5rem;
  right: 0;
  border: none;
  display: flex;
  background: #00000095;
}

.card-footer-pod a.btn,
.card-footer-pod button {
  border: none;
  color: white;
  background: none;
  --bs-btn-hover-color:  #FFF;
  --bs-btn-active-color: #FFF;
}

.card-footer-pod a.btn i {
  transition: 0.2s all ease;
  display: inline-block;
}

.card-footer-pod a.btn:hover i,
.card-footer-pod a.btn:focus i {
  transform: rotate(10deg);
}

/*.video-card .card-footer,
.video-card .card-header {
  height: 1rem;
}*/

/** menu channels **/
/*.dropdown-submenu>.dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -6px;
  margin-left: -1px;
  border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover {
  background-color: var(--bs-white);
}

.dropdown-submenu:hover>.dropdown-menu {
  display: block;
}

.dropdown-submenu>a:after {
  display: block;
  content: " ";
  float: right;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
  border-width: 5px 0 5px 5px;
  border-left-color: var(--color-silver);
  margin-top: 5px;
  margin-right: -10px;
}*/

/** aside list video **/
#collapseAside .card-body .card-title{
    position: relative;
    padding-bottom: 0.8em;
}
#collapseAside .card-body .card-title::after{
    content: "";
    border-top: 1px solid #ccc !important;
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
}
#resetFilters{
    margin-left: auto !important;
}
#filterType div.collapse:not(.show),
#filterDiscipline div.collapse:not(.show),
#filterCursus div.collapse:not(.show),
#filterTag div.collapse:not(.show) {
  height: 148px !important;
  overflow: hidden;
  display: -webkit-box;
  display: flex;
  flex-direction: column;
  display: -ms-flexbox;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

#filterType div.collapsing,
#filterDiscipline div.collapsing,
#filterCursus div.collapsing,
#filterTag div.collapsing {
  min-height: 148px !important;
}

#filterType a.collapsed:after,
#filterDiscipline a.collapsed:after,
#filterCursus a.collapsed:after,
#filterTag a.collapsed:after {
  content: '+';
}

#filterType a:not(.collapsed):after,
#filterDiscipline a:not(.collapsed):after,
#filterCursus a:not(.collapsed):after,
#filterTag a:not(.collapsed):after {
  content: '-';
}

/** ckeditor **/
.django-ckeditor-widget {
  width: 100%;
}

/** video form **/

/* as video filename can be very long,
  it is usefull to wrap it anywhere
  (specially on Chrome) */
.field_video a {
  overflow-wrap: anywhere;
}

.required_star,
.form-help-inline {
  color: var(--bs-danger);
  font-size: 1.3rem;
}

.errors>.form-control:focus{
  box-shadow: 0 0 0 .25rem rgba(var(--bs-danger-rgb),.25);
  border-color: var(--bs-danger);
}

.errors input,
.errors select,
.errors textarea{
  border: 1px solid var(--bs-danger);
}

.form-group-required .errors,
.form-group .errorlist {
  /*background-color: rgba(var(--bs-danger-rgb),.2);*/
  color: var(--bs-danger);
}

.form-group .errorlist {
  margin-bottom: 0;
}

#base-message-alert,
#formalertdiv {
  position: fixed;
  top: 50%;
  text-align: center;
  margin: 0 auto;
  left: 50%;
  transform: translate(-50%, 0);
  z-index: 1000;
}

.flashing_field {
  border-color: var(--pod-primary);
  box-shadow: 0 0 4px var(--pod-primary);
  transition: box-shadow .5s, border-color .5s;
}

/** channel form **/

#channel_form .selector,
#enrichment_group_form .selector {
  width: 100%;
}

#channel_form .selector select,
#enrichment_group_form .selector select {
  width: 100%;
}

#channel_form .selector-available,
#channel_form .selector-chosen,
#enrichment_group_form .selector-available,
#enrichment_group_form .selector-chosen {
  width: 88%;
}

@media screen and (min-width:992px) {

  #channel_form .selector-available,
  #channel_form .selector-chosen,
  #enrichment_group_form .selector-available,
  #enrichment_group_form .selector-chosen {
    width: 47%;
  }
}

#channel_form .selector .selector-available input,
#enrichment_group_form .selector .selector-available input {
  width: 90%;
}

#channel_form .selector .selector-filter label #enrichment_group_form .selector .selector-filter label {
  margin-top: 0;
}

#channel_form .selector-available h2,
#channel_form .selector-chosen h2,
#enrichment_group_form .selector-available h2,
#enrichment_group_form .selector-chosen h2 {
  margin: 0;
  padding: 8px;
  font-weight: 400;
  font-size: 13px;
  text-align: left;
}

/** vignettes video **/
@media (max-width: 575.98px) {
  .pod-flex-direction {
    flex-direction: column;
  }
}

/*@media screen and (min-width:768px) {
  .card-img-top {
    max-height: 184.13px;
  }
}*/
@media screen and (min-width:992px) {
  .card-img-top {
    max-height: 195.36px;
  }

  .flex-2 {
    flex: 2;
  }
}

.footer_links>li:before {
  margin-right: 2px;
  content: "\F234";
  font-family: bootstrap-icons;
  vertical-align: -.125em;
}

#view-counter-icon {
  color: var(--pod-primary);
}

#viewers-list {
  position: absolute;
  right: 0;
  margin-right: 80px;
  color: var(--color-black);
  text-align: center;
  font-size: 20px;
  background-color: var(--pod-background-neutre1-bloc);
  padding: 10px 0;
  z-index: 2147483647;
  /*bottom: 100px;*/
  display: none;
}

.live-video {
  z-index: 1;
}

#viewers-ul {
  height: 200px;
  list-style-type: none;
  padding-left: 0;
}

#viewers-ul {
  overflow: hidden;
  overflow-y: scroll;
}

/* use to hide valid human chekbox in contact form to prevent spam */
#contact_us .valid_human {
  display: block;
  overflow: hidden;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: 0 !important;
}

/** Django 3 Admin pages
 *  (must be set after Bootsrap to reset Django defaults)
 **/
body[data-admin-utc-offset] {
  padding-top: 0;
  --primary: var(--pod-primary);
  --breadcrumbs-bg: var(--pod-primary);
  --button-bg: var(--pod-primary);
  background-color: var(--body-bg);
}

body[data-admin-utc-offset] textarea.cke_source {
  background-color: var(--pod-background);
}

body[data-admin-utc-offset] caption {
  caption-side: top;
}

body[data-admin-utc-offset] h1 {
  font-size: 20px;
}

body[data-admin-utc-offset] h2 {
  font-size: 18px;
}

body[data-admin-utc-offset] h3 {
  font-size: 16px;
}

body[data-admin-utc-offset] .hidden {
  display: none;
}

body[data-admin-utc-offset] .btn-outline-primary {
  color: var(--link-fg);
}

body[data-admin-utc-offset] .btn-outline-primary:hover,
body[data-admin-utc-offset] .btn-outline-primary:focus {
  background-color: var(--pod-primary);
  color: var(--bs-light);
}

body[data-admin-utc-offset] .form-row.errors {
  display: block;
}

/* css corrections for select2 autocompletion Multiple in dark theme.
 * (see "additional owners", or "disciplines" for sample.)
 */
body[data-admin-utc-offset] .select2-selection--multiple {
  background-color: var(--pod-background);
  border-color: var(--border-color);
}

body[data-admin-utc-offset] .select2-dropdown {
  background-color: var(--pod-background);
}

body[data-admin-utc-offset] .select2-container--open .select2-selection--multiple {
  border-color: var(--body-quiet-color);
}

body[data-admin-utc-offset] .select2-search--inline .select2-search__field {
  color: var(--pod-font-color);
}

body[data-admin-utc-offset] .select2-selection--multiple .select2-selection__choice,
body[data-admin-utc-offset] .select2-selection--multiple .select2-results__option[aria-selected="true"] {
  color: #333;
}

/* end select2 multiple corrections */

/* System/browser dark mode */


/*** CUSTOM CLASSES POD - bootstrap5 - 2022/04 ****/
/**** vers methodo BEM .element__souselement--variante ***/
body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100vh;
  padding-top: 3.1rem;
  color: var(--pod-font-color);
  background-color: var(--pod-background);
}

/***reinit bootstrap 5***/
.nav{
  --bs-nav-link-color: var(--pod-font-color);
}
/*
.nav-link:focus,
.nav-link:hover {
  color: inherit;
}*/

.accordion{
  --bs-accordion-active-color: var(--pod-link-color);
  --bs-accordion-active-bg: rgba(var(--bs-primary-rgb),.1);
  --bs-accordion-btn-focus-border-color: var(--pod-primary);
}

.timecode{
  font-size: 12px;
}

.btn{
  --bs-btn-hover-color: #FFF;
}

.btn-link {
  --bs-btn-hover-color: var(--pod-activelink-color);
  --bs-btn-active-color: var(--pod-activelink-color);
}

.btn-primary,
.btn-outline-primary {
  --bs-btn-hover-color:         var(--pod-btn-text);
  --bs-btn-hover-bg:            var(--pod-primary-focus);
  --bs-btn-hover-border-color:  var(--pod-primary-lighten);
  --bs-btn-active-color:        var(--pod-btn-text);
  --bs-btn-active-bg:           var(--pod-activelink-color);
  --bs-btn-active-border-color: var(--pod-primary-lighten);
}

.btn-primary {
  --bs-btn-bg: var(--pod-primary);
  --bs-btn-border-color: var(--pod-primary);
  --bs-btn-color: var(--pod-btn-text);
}

/* used in badges (# of videos in channel) */
.text-bg-primary {
  background-color: var(--pod-primary) !important;
}

.btn-primary.disabled, .btn-primary:disabled {
  background: var(--pod-primary-darken);
}


.btn-close {
  color: var(--pod-font-color);
}

.card-header {
  background: none;
}

.pod-params-button {
  color: var(--pod-font-color);
  --bs-btn-hover-color: var(--pod-primary);
  font-size: 1.4rem;
  display: flex;
}

/* .pod-params-button:focus,
.pod-params-button:hover {
  color: var(--pod-primary);
  transform: rotate(10deg);
} */

/* Make icon rotate and button remain still */
#pod-param-buttons__button::before {
  transition: transform ease-in-out .3s;
}

#pod-param-buttons__button:hover::before {
  transform: rotate(20deg);
}


#pod-param-buttons__button:hover {
/*  transition: background-color ease-in-out .5s;
  background-color:var(--pod-primary);
  color:var(--pod-btn-text);*/
}

.pod-gotoup {
  font-size: 2rem;
}

.pod-channel__item {
  font-size: 1.5rem;
}

.pod-aside-collapse {
  position: absolute;
  right: 0.5rem;
  z-index: 6;
}

.pod-aside-collapse__button {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: all 0.5s ease-in;
  background: none;
  border: 1px solid silver;
  color: var(--pod-font-color);
  text-shadow: 1px 1px 0  var(--pod-background);
}
.pod-aside-collapse__button:hover{
  background-color: var(--pod-link-color);
  color: var(--pod-btn-text);
}

.pod-aside-collapse[aria-expanded="true"] {
  transform: rotate(-90deg);
}

/*** footer **/
.pod-footer {
  margin-top: auto;
  font-size: 90%;
  line-height: 1.4;
  border-top: 1px solid var(--pod-background-neutre1-bloc);
  padding-top: 1rem;
}

.pod-footer-container {
  margin-top: auto;
}

@media (min-width: 1450px) {
  .pod-footer {
    margin-left: 5rem;
    margin-right: 5rem;
  }
}

.pod-footer__credits {
  font-size: 85%;
  opacity: .8;
}

.pod-footer__links {
  display: flex;
  justify-content: space-around;
  gap: .5rem;
  font-weight: 600;
}

.pod-footer a {
  text-decoration: none;
}

.pod-footer a:hover,
.pod-footer a:focus {
  text-decoration: underline;
}

.pod-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pod-card__title,
.pod-card__title label {
  display: flex;
  gap: .5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .pod-card__title,
  .pod-card__title label {
    flex-flow: wrap
  }
}

.pod-navbar {
  background: var(--pod-background);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24);
}

.pod-info-video {
  margin-top: 1.5rem;
}
.pod-info-video a{
  word-wrap: break-word;
}

.pod-info-video__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.pod-info-video__header h1 {
  margin-bottom: 0;
}

.video-info_duration-view-share {
  display: flex;
  font-size: 90%;
  gap: 0.75rem;
  align-items: center;
  justify-content: flex-start;
  border-bottom: 1px solid var(--pod-background-neutre1-bloc);
  padding-bottom: 0.75rem;
}

.pod-info-video__info {
  padding: 1.5rem 0;
  border-top: 1px solid var(--pod-background-neutre1-bloc);
  font-size: 90%;
  border-bottom: 1px solid var(--pod-background-neutre1-bloc);
}

.pod-info-video__summary {
  max-width: 900px;
  font-size: 90%;
}

@media (min-width: 992px) {
  .modal-dialog {
    max-width: 80vw;
    margin: 1.75rem auto;
  }
}

/* Additional class for modal element */
/* -- */
/* Download modal */

.pod-download-title {
  font-size: 1.5rem;
  padding: 1rem 0 0 1rem;
}


.pod-download-title > .bi {
    padding-right: 0.5rem;
}

/* ------ */

.video-info_duration-view-share button {
  margin-left: auto;
}

.pod-info-video__buttons {
  margin-left: auto;
}

.pod-btn {
  color: var(--pod-font-color);
  text-decoration: none;
}

.pod-btn:hover,
.pod-btn:focus {
  color: var(--pod-primary);
  text-decoration: underline;
}

/*.pod-btn-share {
  border: 1px solid silver;
  transition: all .2s ease-in;
  color: var(--pod-font-color);
}*/

.pod-btn-share i,
.pod-info-video__signal i {
  transition: all 0.2s ease-in;
  display: inline-block;
}

.pod-btn-share:hover i,
.pod-btn-share:focus i,
.pod-info-video__signal:focus i,
.pod-info-video__signal:hover i {
  transform: rotate(15deg);
}

.pod-info-video__signal {
  color: var(--bs-danger);
  font-size: 1.5rem;
}
.pod-info-video__signal:focus i,
.pod-info-video__signal:hover i {
  color: var(--bs-danger);
}

.pod-navbar__container {
  justify-content: flex-start !important;
}

.pod-navbar__brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--pod-font-color) !important;
  transition: transform .4s ease;
}
.pod-navbar__brand:hover,
.pod-navbar__brand:focus {
  transform: scale(1.03);
}

/* Do not set brightness 0, as many logo are not monochromatic :/
:root .pod-footer-logo { filter: brightness(0%);}
*/
.pod-footer-logo {
  height:40px;
  background-repeat: no-repeat;
}

.pod-offcanvas {
  background: var(--pod-background-neutre2-bloc);
}

.page_title {
  margin-bottom: 1.5rem;
}

.pod-navbar__theme-switch__item>* {
  display: flex;
  align-items: center;
  margin: 1rem 2rem;
}

.pod-navbar__theme-switch__item .form-label {
  flex-grow: 1;
}
.pod-navbar__theme-switch__item .dropdown-menu{
  position: absolute;
}

/*.pod-navbar-nav {
  margin-left: auto;
  justify-content: space-around;
}

.pod-navbar-nav .dropdown-menu {
  position: absolute;
}*/

.pod-navbar__form {
  margin-left: auto;
}

@media(min-width:992px) {
  .pod-navbar__form {
    flex-basis: 350px;
  }
}

/*.pod-navbar__nav-item {
  margin-right: .25rem;
  margin-left: .25rem;
}

.pod-navbar .pod-navbar-nav .pod-navbar__nav-item__nav-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8rem;
}*/

/* small screens */
.pod-grid-content {
  display: grid;
  grid-template-columns: minmax(0%, 100%) repeat(auto-fit, 100%);
  position: relative;
}

/* medium screens */
@media(min-width:992px) {
  .pod-grid-content {
    gap: 2rem;
    grid-template-columns: minmax(0%, 100%) repeat(auto-fit, 33%);
  }
}

/* large screens */
@media(min-width:1200px) {
  .pod-grid-content {
    grid-template-columns: minmax(0%, 100%) repeat(auto-fit, 25%);
  }
}

/*.pod-navbar .pod-navbar-nav .pod-navbar__nav-item__nav-link:hover,
.pod-navbar .pod-navbar-nav .pod-navbar__nav-item__nav-link:focus {
  text-decoration: underline;
}*/

/**** static content homepage ***/
/*.pod-content-static {}

.pod-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pod-dropdown-item:hover,
.pod-dropdown-item:focus {
  text-decoration: underline;
}*/

.pod-card--video {
  border: none;
  box-shadow: 0 3px 6px rgba(0, 0, 0, .16), 0 3px 6px rgba(0, 0, 0, .23);
  background: var(--pod-background);
}
.pod-event-card .video-title{
  line-height: 1rem;
}

.pod-aside {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  grid-template-rows: min-content;
  grid-auto-flow: row;
  grid-auto-rows: min-content;
  background: var(--pod-background-neutre2-bloc);
  padding: 1rem;
  width: 0;
  overflow: hidden;
  margin-left: 100%;
  transition: all 0.15s ease;
  z-index: 5;
  padding-top: 5rem;
}

.pod-aside.show {
  margin-left: 0;
  width: auto;
}

@media(min-width:992px) {
  .pod-show-lg {
    margin-left: 0;
    width: auto;
  }
}

@media(max-width:992px) {
  .pod-aside {
    width: 100% !important;
    position: fixed;
    min-height: 100vh;
  }
  .pod-aside-collapse{
    position: fixed;
  }
}

@media(min-width:1450px) {
  .pod-mainContent {
    padding-left: 5rem;
    padding-right: 5rem;
  }

  /*.pod-aside {
    padding-right: 5rem;
  }*/

  .pod-grid-content {
    gap: 0;
  }

}

.pod-aside.collapsing {
  height: auto;
}


.pod-aside .card {
  background: none;
  border-radius: 0;
  border: none;
  ;
}

.pod-navbar__button-toggler {
  color: var(--pod-font-color);
  padding: 0;
  font-size: 1.8rem;
  margin: 0;
  border: 0;
  margin-right: .3rem;
  background: none;
  width:2.5rem;
  height: 2.5rem;
}

.pod-camera-video {
  font-size: 2rem !important;
  z-index: 0;
}

#card-helpfields .card {
  border-bottom: 1px solid silver;
}

.pod-infinite-container {
  display: grid;
  grid-auto-flow: row;
  gap: 2rem;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  margin: 1rem 0;
}

#login-form label{
  min-width: 9rem;
}

/* ---------------------------------------------------------------------*/
/* Minor corrections */

/* Buttons side by side under the title */
#event_add{
  display: inline-block !important;
  padding-right: 0.5rem;
}

/*Fix table on "My meetings" */

.table > :not(caption) > * > *
{
  padding: .5rem .25rem;
  border-bottom-width: 0 !important;
}

table :not(footer) > .pod-btn-social {
  font-size: 1.5rem;
  width: 3rem !important;
  height: 3rem !important;
}

/*table .btn:hover {
  background-color: var(--pod-primary) !important;
  color: var(--pod-font-color);
}*/

th + td + td + td + td {
  /* border-right: 0.15rem solid var(--pod-link-color);  */
  text-align: center;
}

/* .table, .navbar-light .navbar-nav .nav-link, .navbar-light .navbar-toggler {
  color: var(--pod-font-color);
} */

/*.table-hover > tbody > tr > * {
  --bs-table-accent-bg: var(--bs-table-hover-bg) !important;
  color: var(--pod-font-color) !important;
}*/

/*.table-hover > tbody > tr:hover > * {
  --bs-table-accent-bg: var(--bs-table-hover-bg) !important;
  color: var(--pod-font-color) !important;
}*/

table .alert.alert-danger.btn.pod-btn-social {
  background-color: var(--pod-alert) !important;
}

/* Quick fix for video preview - override of video-js.min.css on line 1 */
.vjs-poster {
  background-size: cover !important;
}

.vjs-logo-button {
  filter: invert(100%)
}
.vjs-logo-button:hover,
.vjs-logo-button:focus {
  transform: rotate(30deg);
  background-color: transparent !important;
}

/* replace default .video-js 10px font size to avoid an accessibility "Very small text" warning */
#podvideoplayer{
  font-size: 11px;
}

/* My Files font color fix */

.navbar-brand {
  color: var(--pod-font-color) !important;
}

.navbar-brand:focus, .navbar-brand:hover {
  text-decoration: underline;
}

/* Upload page */

.form-group.hide-on-processing {
  border: dotted var(--pod-link-color);
  padding: 2rem;
  margin-bottom:0.5rem;
  border-radius: 1rem;
  width: fit-content;
}

.pod-callout {
  padding: .7rem 1rem;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  border: 1px solid #eee;
  border-left-width: .33rem;
  border-radius: .25rem;
}
.pod-callout-primary {
  border-left-color: var(--pod-primary);
}
.pod-callout-secondary {
  border-left-color: var(--bs-secondary);
}
.pod-callout-success {
  border-left-color: var(--bs-success);
}
.pod-callout-danger {
  border-left-color: var(--bs-danger);
}
.pod-callout-warning {
  border-left-color: var(--bs-warning);
}
.pod-callout-info {
  border-left-color: var(--bs-info);
}

/* Pure css loader */
.lds-ring {
  display: none;
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto;
  z-index: 9999;
}
.lds-ring.show{
  display: flex;
  align-items: center;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 51px;
  height: 51px;
  margin: 6px;
  border: 6px solid var(--pod-font-color);
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: var(--pod-font-color) transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}

@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* *** fix for calendar choice widget in modal dialog *** */
.calendarbox {
  z-index: 3000;
  background-color: var(--pod-background) !important;
}
