/* https://www.flaticon.com/packs/international-flags */

/* switch lang */
/******************************/
.spacer {
  visibility: hidden !important;
}

.link {
  cursor: pointer;
}

#header.noLogo .wrap {
  margin-right: 0;
}

.header-text { /*switch-lang container*/
  position: relative;
}

/* 
-- header - flex 
------------------------------------------------------------------- 
*/
/* v2023-04-19 */
body.lang-switch-position-page-header #header .header-logo,
body.lang-switch-position-page-header #header .header-text,
body.lang-switch-position-page-header #header .wrap,
body.lang-switch-position-page-header #header {
  display: flex;
  box-sizing: border-box;
  justify-content: center;
  align-content: center;
  align-items: center;
}

body.lang-switch-position-page-header #header .wrap {
  justify-content: space-between;
}

body.lang-switch-position-page-header #header .header-logo {
  min-width: 10%;
  margin-right: 10px;
}

body.lang-switch-position-page-header #header .header-text {
  padding-right: 100px;
  height: 100%;
  width: auto;
}

body.lang-switch-position-page-header #header .header-title {
  width: 100%;
  line-height: 1.2em;
}

/* ------------------------------------------------------------------- */
.lang-modal {
  display: none;
  background: rgba(0, 0, 0, .5);
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.lang-modal-close {
  display: none;
}

.lang-expanded .lang-modal-close {
  text-align: center;
  display: inline-block;
  width: 44px;
  height: 44px;
}

/*** modal is invisible ***/
.lang-expanded .lang-modal {
  opacity: 0;
}

.lang-expanded .lang-modal-close {
  display: none;
}

.lang-expanded .lang-modal-close::after {
  content: "x";
  font-family: monospace;
  color: #ffffff;
  font-size: 14px;
  margin: 50% 2px 0 auto;
  display: inline-block;
  transform: translate(0, -50%);
}

.lang-expanded .lang-modal {
  display: inline-block;
}


/* v2023-04-19 
.lang-switch:not(.lang-multi) .lang-list-flags .lang-text,
.lang-switch:not(.lang-multi) .lang-item,
.lang-switch:not(.lang-multi) .lang-list-flags{
  opacity: 1;
}
*/

/* v2023-04-19
.lang-switch:not(.lang-multi):hover .lang-list-flags .lang-selected,
.lang-switch:not(.lang-multi) .lang-list-flag .lang-selected,
.lang-switch:not(.lang-multi) .lang-list-flags .lang-selected{
  display: none;
}
*/


.lang-list-container {
  display: inline-block;
  height: 100%;
  width: 100%;
}

.lang-list-container .wrapper {
  display: inline-block;
  vertical-align: middle;
  position: relative;
  width: 100%;
}

.lang-list {
  width: 100%;
  display: inline-block;
  position: relative;
  overflow: visible;
  /* required for lang-text not to move up on hover */
  min-height: 30px;
  height: 30px;
}

.lang-list-flag-wrapper {
  margin: auto;
  position: relative;
  height: 26px; /*.lang-flag:height*/
  width: 26px; /*.lang-flag:width*/
}


/* header-lang-switch
/**********************************************************************************************************/
#header .header-lang-switch {
  display: inline-block;
  position: relative;
  text-align: center;
  vertical-align: middle;
}

/* v2023-04-19 */
body.lang-switch-position-page-header #header .header-lang-switch {
  position: fixed;
  top: 0;
  /*width:100px;*/
  width: 60px; /*v2023-07*/
}

/* v2023-04-19 */
body.lang-switch-position-page-header #header .header-lang-switch {
  right: 1%;
}

/* v2023-04-19 */
@media only screen and (min-width: 1580px) {
  body.lang-switch-position-page-header #header .header-lang-switch {
    right: calc(50% - 790px);
  }
}

/* v2023-04-19 */
@media only screen and (max-width: 799px) {
  body.lang-switch-position-page-header #header .header-lang-switch {
    right: 0;
  }
}


/* lang-switch
/**********************************************************************************************************/
.lang-switch {
  /*background: rgba(255, 255, 255, .4);*/
  border-radius: 4px;

  width: 50px;
  display: inline-block;
  z-index: 20000;
  text-align: center;
  
  user-select: none;
}

.lang-expanded.lang-switch {
  z-index: 30000;
}

body.lang-switch-position-player-bottom .lang-switch,
body.lang-switch-position-player-bottom #container #elementsBottomPlayer #switchLang.lang-switch {
  position: absolute;
  width: auto;
  transform: none;
  text-align: right;
  margin: 4px 0;

  top: 4px;
  bottom: auto;
  right: 0px;
  left: auto;
}

body.lang-switch-position-player-top .lang-switch {
  position: absolute;
  transform: none;
  text-align: right;
  margin: 4px 1px;

  top: 2px;
  bottom: auto;
  right: 2px;
  left: auto;

  width: 55px;
}

/* v2023-04-19
body.lang-switch-position-page-header.scrolled .lang-switch:hover,
body.lang-switch-position-page-header.scrolled .lang-switch{
  position: fixed;
  top:auto;
  bottom:2px;
  left:2px;
  right: auto;

  padding-left: 2px;
  padding-right: 2px;
}
body.lang-switch-position-page-header.scrolled .lang-switch:hover{
  height:50px;
  width:104px;
  bottom: 0;
}
*/
/* v2023-04-19 */
body.lang-switch-position-page-header .lang-switch {
  padding-top: 10px;
}


/* lang-list-flags appearance/disappearance */
/**********************************************************************************************************/
.lang-item {
  /* v2023-04-19
  position: relative;
  */
  display: inline-block;

  /* v2023-04-19 */
  border-radius: 50%;
  margin: 1px;
  
  font-size: 13px;
}

.lang-item {
  z-index: 10000;
}

.lang-item.lang-selected {
  z-index: 10001;
}

.lang-item:hover {
  z-index: 10002;
}

.lang-switch.lang-expanded .lang-item.lang-selected,
.lang-switch:hover .lang-item.lang-selected {
  z-index: 9999;
}

/*
.lang-list-flags .lang-item,
*/
.lang-list-items .lang-item {
  transition: opacity .5s ease-out;
  opacity: 0;
  float: right;
  overflow: visible;
}


.lang-switch.lang-expanded .lang-item,
.lang-switch:hover .lang-item {
  opacity: 1;
}

.lang-switch .lang-item.lang-selected {
  opacity: 0;
}

/* v2023-04-19 */
.lang-switch.lang-selected .lang-item.lang-selected,
.lang-switch .lang-item.lang-selected {
  opacity: 1;
}

/* v2023-04-19 */
body.lang-switch-position-player-top .lang-switch .lang-item.lang-selected {
  position: absolute;
  right: 0;
}

/* v2023-04-19 */
body.lang-switch-position-player-top .lang-switch.lang-multi.lang-expanded .lang-item,
body.lang-switch-position-player-top .lang-switch.lang-multi:hover .lang-item {
  position: relative;
}

/* v2023-04-19 */
body.lang-switch-position-player-top .lang-switch:hover .lang-item {
  position: absolute;
  top: 0;
  left: 0;
}

/*
body.lang-switch-position-page-header.x-scrolled .lang-list-flags .lang-item,
*/
body.lang-switch-position-page-header.x-scrolled .lang-list-items .lang-item {
  float: left;
}

body.lang-switch-position-page-header .lang-switch.lang-multi .lang-item {
  position: relative;
}

/* v2023-04-19 */
body.lang-switch-position-page-header .lang-switch.lang-multi .lang-item.lang-selected {
  position: absolute;
  top: 0;
  left: 0;
}

/* v2023-04-19 */
body.lang-switch-position-page-header .lang-switch:not(.lang-multi) .lang-item:not(.lang-selected) {
  position: absolute;
  top: 0;
  left: 0;
}

/* v2023-04-19 */
body.lang-switch-position-page-header .lang-switch.lang-multi .lang-item.lang-selected,
body.lang-switch-position-page-header .lang-switch.lang-multi .lang-item:hover:not(.lang-selected) {
  display: inline-block;
}

/* v2023-04-19 */
body.lang-switch-position-player-bottom .lang-switch:not(.lang-multi) .lang-item:not(.lang-selected) {
  opacity: .5;
}

/* v2023-04-19 */
body.lang-switch-position-player-bottom .lang-switch:not(.lang-multi) .lang-item:hover,
  /*
  body.lang-switch-position-player-bottom .lang-switch.lang-multi .lang-list-flags .lang-item,
  */
body.lang-switch-position-player-bottom .lang-switch.lang-multi .lang-list-items .lang-item {
  opacity: 1;
}


/* lang-list-flags */
/**********************************************************************************************************/
/*
.lang-list-flags,
*/
.lang-list-items {
  position: absolute;
  top: 0;
  display: inline-block;
  /*background-color: rgba(255,255,255,.4);*/
  border-radius: 4px;
  overflow: visible;
}

/*
.lang-list-flags,
*/
.lang-list-items {
  height: 26px;
  width: 26px;
  /*width: 100vw;*//*IE down to 10 (+ needs js code on document load)*/
}

/*
.lang-list-flags,
*/
.lang-list-items {
  opacity: 1;
}

/* delay flag list visibility (wait for width calculus) */
/*
.lang-switch.lang-multi:not(.lang-switch-set-width-done) .lang-list-flags,
*/
.lang-switch.lang-multi:not(.lang-switch-set-width-done) .lang-list-items {
  opacity: 0;
}

/*
.lang-list-flags,
*/
.lang-list-items {
  left: auto;
  right: 0px; /* -(.lang-list  margin) */
}

/* lang-flag */
/**********************************************************************************************************/
/* v2023-04-19 */
/*.lang-item .lang-flag,*/
.lang-item .lang-img {
  border-color: #fff;
}

/* v2023-04-19 */
/*.lang-item.lang-selected .lang-flag,*/
.lang-item.lang-selected .lang-img {
  border-color: #000;
  border-width: 1px;
}

/*
.lang-flag,
*/
.lang-img {
  border-radius: 50%;
  border: 1px solid;
  /* v2023-04-19 
  margin: 1px;
  */
  position: relative;
  background: no-repeat center;

  width: 22px;
  height: 22px;
  background-size: 23px 23px;

  display: flex;
  justify-content: center;
  align-items: center;
}

/*
.lang-item.use-img .lang-flag,
*/
.lang-item.use-img .lang-img {
  color: transparent;
}

/*
.lang-expanded .lang-flag,
*/
.lang-expanded .lang-img {
  width: 44px;
  height: 44px;
  background-size: cover;
}

/*
.lang-list-flags .lang-item .lang-flag,
*/
.lang-list-items .lang-item .lang-img {
  /* v2023-04-19 
  opacity:.5;
  */
}

/*
.lang-list-flags .lang-item:hover .lang-flag,
.lang-list-flags .lang-item.lang-selected .lang-flag,
*/
.lang-list-items .lang-item:hover .lang-igm,
.lang-list-items .lang-item.lang-selected .lang-img {
  /* v2023-04-19 */
  opacity: 1;
}

/* v2023-04-19 */
/*
.lang-switch.lang-multi .lang-list-flags .lang-item .lang-flag,
*/
.lang-switch.lang-multi .lang-list-items .lang-item .lang-img {
  opacity: .5;
}

/* v2023-04-19 */
/*
.lang-switch.lang-multi .lang-list-flags .lang-item:hover .lang-flag,
.lang-switch.lang-multi .lang-list-flags .lang-item.lang-selected .lang-flag,
*/
.lang-switch.lang-multi .lang-list-items .lang-item:hover .lang-img,
.lang-switch.lang-multi .lang-list-items .lang-item.lang-selected .lang-img {
  opacity: 1;
}

/* v2023-04-19 */
/*
.lang-item[data-lang-target]:not([data-lang-audio]):not(.lang-selected):hover .lang-flag,
*/
.lang-item[data-lang-target]:not([data-lang-audio]):not(.lang-selected):hover .lang-img {
  transform: scale(1.1);
}

/*
.lang-item[data-lang-target][data-lang-audio].lang-selected .lang-flag,
*/
.lang-item[data-lang-target][data-lang-audio].lang-selected .lang-img {
  transform: scale(1) rotate(360deg);
  transition: transform 1s;
}


/*
------------------------------------------------------------------------------------------------------------------------
--
-- switch lang flex (general)
--
------------------------------------------------------------------------------------------------------------------------
*/

.lang-switch,
.lang-list-flag,
.lang-list-flag-wrapper,
.lang-list-items,
  /*
  .lang-list-flags, 
  .lang-list-flags, .lang-list-items,
  */
.lang-item {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}


.lang-list-items .lang-item .lang-text,
.lang-list-items .lang-item:hover.lang-selected .lang-text,
.lang-list-items:hover .lang-item.lang-selected .lang-text,
.lang-list-items:hover .lang-item .lang-text,
  /*
  .lang-list-flags .lang-item .lang-text,
  .lang-list-flags .lang-item:hover.lang-selected .lang-text,
  .lang-list-flags:hover .lang-item.lang-selected .lang-text,
  .lang-list-flags:hover .lang-item .lang-text,
   */
.lang-item.lang-selected:hover .lang-text {
  opacity: inherit;
}

/*.lang-list-flags: not(:hover) .lang-item.lang-selected .lang-text,*/
.lang-list-items:not(:hover) .lang-item.lang-selected .lang-text {
  opacity: 1;
}

/*
.lang-list-flags .lang-item:hover.lang-selected  .lang-text,
.lang-list-flags .lang-item:hover .lang-text, 
*/
.lang-list-items .lang-item:hover.lang-selected .lang-text,
.lang-list-items .lang-item:hover .lang-text {
  opacity: 1;
}

/*
.lang-list-flags .lang-item:hover.lang-selected  .lang-text, 
*/
.lang-list-items .lang-item:hover.lang-selected .lang-text {
  display: flex;
}

#container #elementsBottomPlayer #switchLang,
.lang-list-flag-wrapper,
  /*
  .lang-list-flags, 
  */
.lang-list-items {
  height: auto;
}

.lang-list-flag-wrapper {
  width: auto !important;
  position: relative;
}

/*
.lang-list-flags, 
*/
.lang-list-items {
  width: auto !important;
  position: relative;
}

.lang-list-text.spacer {
  display: none;
}

/*
.lang-list-flags .lang-item,
*/
.lang-list-items .lang-item {
  margin: 0;
  padding: 1px;
  border-radius: 0;
}


/*
------------------------------------------------------------------------------------------------------------------------
*/


/* v2023-04-19 */
/*
body.lang-switch-position-player-top .lang-switch.lang-multi:hover .lang-item.lang-selected .lang-flag::before,
*/
body.lang-switch-position-player-top .lang-switch.lang-multi:hover .lang-item.lang-selected .lang-img::before {
  content: none;
}

/* v2023-04-19 */
/*
body.lang-switch-position-player-top .lang-switch.lang-multi .lang-list-flags .lang-item .lang-flag,
*/
body.lang-switch-position-player-top .lang-switch.lang-multi .lang-list-items .lang-item .lang-img {
  opacity: 1;
}


/* v2023-04-19 */
/*
body.lang-switch-position-player-top .lang-switch.lang-multi:hover .lang-flag,
*/
body.lang-switch-position-player-top .lang-switch.lang-multi:hover .lang-img {
  background-color: rgba(0, 0, 0, .5);
  opacity: 1;
}


/*
body.lang-switch-position-page-header.x-scrolled .lang-switch:hover .lang-list-flag,
*/
body.lang-switch-position-page-header.x-scrolled .lang-switch:hover .lang-list-img {
  position: absolute;
  bottom: 2px; /*lang-switch:bottom*/
  top: auto;
  width: 50px;
}

/*
body.lang-switch-position-page-header.x-scrolled .lang-list-flags,
*/
body.lang-switch-position-page-header.x-scrolled .lang-list-items {
  left: 0px; /* -(.lang-list  margin) */
  right: auto;
}

/* v2023-04-19 */
/*
body.lang-switch-position-page-header .lang-switch.lang-multi .lang-list-flags,
*/
body.lang-switch-position-page-header .lang-switch.lang-multi .lang-list-items {
  padding-top: 26px;
}

/* v2023-04-19 */
/*
body.lang-switch-position-page-header .lang-switch:not(.lang-multi) .lang-list-flags,
*/
body.lang-switch-position-page-header .lang-switch:not(.lang-multi) .lang-list-items {
  padding-top: 0;
}

/*
body.lang-switch-position-page-header .lang-switch .lang-list-flags,
*/
body.lang-switch-position-page-header .lang-switch .lang-list-items {
  background-color: transparent;
}

/*
body.lang-switch-position-page-header .lang-list-flags,
*/
body.lang-switch-position-page-header .lang-list-items {
  max-width: 26px;
}

/*
body.lang-switch-position-page-header.x-scrolled .lang-list-flags,
*/
body.lang-switch-position-page-header.x-scrolled .lang-list-items {
  max-width: none;
}

/*
body.lang-switch-position-page-header .lang-switch:hover .lang-list-flags,
*/
body.lang-switch-position-page-header .lang-switch:hover .lang-list-items {
  height: auto;
}

/* v2023-04-19 */
/*
body.lang-switch-position-page-header .lang-switch.lang-multi .lang-list-flags .lang-item .lang-flag,
*/
body.lang-switch-position-page-header .lang-switch.lang-multi .lang-list-items .lang-item .lang-img {
  opacity: 1;
}

/*
body.lang-switch-position-page-header.x-scrolled .lang-switch.lang-multi .lang-item.lang-selected .lang-flag::before,
body.lang-switch-position-page-header          .lang-switch.lang-multi .lang-item.lang-selected .lang-flag::before 
*/
body.lang-switch-position-page-header.x-scrolled .lang-switch.lang-multi .lang-item.lang-selected .lang-img::before,
body.lang-switch-position-page-header .lang-switch.lang-multi .lang-item.lang-selected .lang-img::before {
  font-size: x-small;
  position: absolute;
  opacity: 1;
  transition: opacity .5s;
}

/*
body.lang-switch-position-page-header .lang-switch.lang-multi .lang-item.lang-selected .lang-flag::before,
*/
body.lang-switch-position-page-header .lang-switch.lang-multi .lang-item.lang-selected .lang-img::before {
  content: "\25E3";
  right: auto;
  left: -4px;
  top: auto;
  bottom: -4px;
}

/*
body.lang-switch-position-page-header.x-scrolled .lang-switch.lang-multi:hover .lang-item.lang-selected .lang-flag::before,
*/
body.lang-switch-position-page-header.x-scrolled .lang-switch.lang-multi:hover .lang-item.lang-selected .lang-img::before {
  opacity: 0;
}

/*
body.lang-switch-position-page-header.x-scrolled .lang-switch.lang-multi .lang-item.lang-selected .lang-flag::before,
*/
body.lang-switch-position-page-header.x-scrolled .lang-switch.lang-multi .lang-item.lang-selected .lang-img::before {
  content: "\25E2";
  left: auto;
  right: -4px;
  top: auto;
  bottom: -4px;
}

/*
body.lang-switch-position-page-header .lang-switch.lang-multi:hover .lang-item.lang-selected .lang-flag::before,
*/
body.lang-switch-position-page-header .lang-switch.lang-multi:hover .lang-item.lang-selected .lang-img::before {
  opacity: 0;
}


/* lang-text */
/**********************************************************************************************************/
/* v2023-04-19 */
.lang-item.lang-selected:hover .lang-text {
  display: none;
}

.lang-text {
  opacity: 0;
}

/* v2023-04-19 */
/*
.lang-switch:not(.lang-multi) .lang-list-flags .lang-text,
.lang-switch:not(.lang-multi) .lang-list-flags,
*/
.lang-switch:not(.lang-multi) .lang-list-items .lang-text,
.lang-switch:not(.lang-multi) .lang-list-items {
  opacity: 1;
}

/* v2023-04-19 */
.lang-switch:not(.lang-multi) .lang-item.lang-selected:hover .lang-text,
.lang-switch:not(.lang-multi) .lang-item.lang-selected .lang-text,
  /*
  .lang-switch:not(.lang-multi) .lang-list-flags:hover .lang-item.lang-selected .lang-text,
  .lang-switch:not(.lang-multi) .lang-list-flags:hover .lang-text,
  .lang-switch:not(.lang-multi) .lang-list-flags .lang-text, 
  */
.lang-switch:not(.lang-multi) .lang-list-items:hover .lang-item.lang-selected .lang-text,
.lang-switch:not(.lang-multi) .lang-list-items:hover .lang-text,
.lang-switch:not(.lang-multi) .lang-list-items .lang-text {
  opacity: 0;
}

/* v2023-04-19 */
.lang-switch:not(.lang-multi) .lang-item:hover .lang-text {
  opacity: 1;
}

.lang-switch:hover .lang-item:hover .lang-text, /* .lang-item:hover .lang-text, wouldn't suffice, opacity 1 would apply on all .lang-item on .lang-list-flags:hover despise .lang-text opacity 0 */
.lang-item.lang-selected .lang-text {
  opacity: 1;
}

body.lang-switch-position-player-top .lang-item.lang-selected .lang-text {
  opacity: 0;
}

/* v2023-04-19 */
.lang-item.lang-selected:hover .lang-text,
.lang-item.lang-selected .lang-text {
  opacity: 0;
}

/* v2023-04-19 */
/*
.lang-list-flags:hover .lang-item.lang-selected .lang-text,
*/
.lang-list-items:hover .lang-item.lang-selected .lang-text {
  /* .lang-item:hover .lang-text, wouldn't suffice, opacity 1 would apply on all .lang-item on .lang-list-flags:hover despise .lang-text opacity 0 */
  opacity: 1;
}

/* v2023-04-19 */
body.lang-switch-position-player-top .lang-switch:hover .lang-item.lang-selected .lang-text {
  display: none;
}

/* v2023-04-19 */
body.lang-switch-position-player-top .lang-switch:not(.lang-multi):hover .lang-item:not(.lang-selected) .lang-text {
  opacity: 1;
}

body.lang-switch-position-page-header .lang-switch:not(.lang-multi) .lang-item.lang-selected .lang-text {
  opacity: 1;
}

body.lang-switch-position-page-header .lang-switch:not(.lang-multi) .lang-item:not(.lang-selected) .lang-text {
  opacity: 1;
  display: inline-block;
}

body.lang-switch-position-page-header .lang-switch.lang-multi:hover .lang-item .lang-text {
  opacity: 0;
}

body.lang-switch-position-page-header .lang-switch.lang-multi:hover .lang-item:hover .lang-text {
  opacity: .9;
}

/* v2023-04-19 */
body.lang-switch-position-page-header .lang-switch .lang-item .lang-text,
body.lang-switch-position-page-header .lang-switch:hover .lang-item .lang-text,
body.lang-switch-position-page-header .lang-switch.lang-multi .lang-item.lang-selected:hover .lang-text {
  display: none;
}

/* v2023-04-19 */
body.lang-switch-position-page-header .lang-switch .lang-item.lang-selected .lang-text,
body.lang-switch-position-page-header .lang-switch.lang-multi .lang-item:hover .lang-text {
  display: inline-block;
}

body.lang-switch-position-page-header .lang-item .lang-text {
  border: 1px solid #404040;
}

body.lang-switch-position-page-header .lang-item.lang-selected .lang-text {
  border: none;
}

body.lang-switch-position-page-header .lang-switch .lang-item .lang-text {
  position: absolute;
  min-width: 50px;
  transform: translate(0, -50%);
  top: 50%;
  padding: 3px 8px;
  left: auto;
  right: 100%;
  opacity: .9;
}

body.lang-switch-position-page-header.x-scrolled .lang-switch .lang-item .lang-text,
body.lang-switch-position-page-header .lang-switch .lang-item.lang-selected .lang-text,
body.lang-switch-position-page-header .lang-switch:not(.lang-multi) .lang-item .lang-text {
  position: absolute;
  min-width: 50px;
  transform: translate(-50%, 0);
  left: 50%;
  top: 100%;
  padding: 8px 1px 4px 1px; /* must be padding, with margin, lang-flag and lang-text are separated by the margin that breaks the :hover of /* lang-list-flags appearance/disappearance */
}

body.lang-switch-position-player-bottom .lang-switch:not(.lang-multi) .lang-text,
body.lang-switch-position-player-bottom .lang-selected .lang-text {
  display: inline-block;
  position: absolute;
  top: auto;
  bottom: 0;
  right: 100%;
  left: auto;
}

body.lang-switch-position-player-bottom .lang-switch:not(.lang-multi) .lang-text {
  float: left;
  margin: 4px;
  padding: 4px;
  font-size: small;
  width: 130px;
}

body.lang-switch-position-player-bottom .lang-selected .lang-text {
  margin: 0;
  width: 200px;
  padding-right: 8px;
  font-size: small;
}

body.lang-switch-position-player-bottom .lang-text {
  display: none;
}

/* header lang-switch position (see @media) */
/**********************************************************************************************************************/
.header-title {
  width: 100%;
}


.lang-list-text,
.lang-text {
  font-size: x-small;
  border-radius: 4px;
  padding: 8px 1px 8px 1px;
}

.lang-text {
  background-color: rgba(255, 255, 255, 1);
}

.lang-selected .lang-text {
  background-color: rgba(255, 255, 255, 1);
}

.lang-switch.lang-horizontal:not(.lang-switch-set-width-done) {

}


body.lang-switch-position-page-header .header-title {
  width: 79%;
}


body.lang-switch-position-page-header .lang-switch:hover .lang-list {
  height: auto;
}


/** lang-switch - player-bottom - **/
/********************************************/
.instantShare {
  /* handle overlapping time-sharing and lang-switch */
  z-index: 20001;
  min-width: 100px;
  width: auto;
}

#container #elementsBottomPlayer #InstantShareAction {
  height: calc(100% - 10px);
  margin-top: 0;
  padding: 0 2px 4px 0;
}

#InstantShareAction .currentTime {
  display: inline-block;
}

body.lang-switch-position-player-bottom #container #elementsBottomPlayer #switchLang.lang-switch,
body.lang-switch-position-player-bottom .lang-list-flag-wrapper,
  /*
  body.lang-switch-position-player-bottom .lang-list-flags,
  */
body.lang-switch-position-player-bottom .lang-list-items {
  width: auto;
}

body.lang-switch-position-player-bottom .lang-list {
  width: auto;
}


/** lang-switch - player-top - **/
/********************************************/
body.lang-switch-position-player-top .lang-switch .lang-item .lang-text {
  display: none;
}

body.lang-switch-position-player-top .lang-switch:hover .lang-item .lang-text {
  display: inline-block;
  position: absolute;
  min-width: 55px;
  transform: translate(-50%, 0);
  left: 50%;
  top: 100%;
  padding: 8px 1px 4px 1px; /* must be padding, with margin, lang-flag and lang-text are separated by the margin that breaks the :hover of /* lang-list-flags appearance/disappearance */
  border: 1px solid #404040;
  text-align: center;
}

.lang-switch.lang-expanded .lang-item .lang-text {
  display: none;
}

body.lang-switch-position-player-top .lang-item.lang-selected .lang-text {
  border: none;
}

/*
body.lang-switch-position-player-top .lang-switch.lang-multi .lang-item.lang-selected .lang-flag::before,
*/
body.lang-switch-position-player-top .lang-switch.lang-multi .lang-item.lang-selected .lang-img::before {
  position: absolute;
  font-size: x-small;
  content: "\25E3";
  right: auto;
  left: -4px;
  top: auto;
  bottom: -4px;
}

/*
body.lang-switch-position-player-top .lang-expanded.lang-horizontal .lang-list-flags,
*/
body.lang-switch-position-player-top .lang-expanded.lang-horizontal .lang-list-items {
  max-width: none;
  width: 100vw !important;
  height: auto;
}

/*
body.lang-switch-position-player-bottom .lang-expanded.lang-horizontal .lang-list-flags,
*/
body.lang-switch-position-player-bottom .lang-expanded.lang-horizontal .lang-list-items {
  max-width: none;
  width: 100vw !important;
  height: auto;
  bottom: 0;
  top: auto;
}

/*
body.lang-switch-position-page-header .lang-expanded .lang-list-flags,
*/
body.lang-switch-position-page-header .lang-expanded .lang-list-items {
  max-width: none;
  width: 100vw !important;
  height: auto;
  text-align: left;
}

/**********************************************************************************************************************/
/** @media queries < 800 px **/
/**********************************************************************************************************************/

@media only screen and (max-width: 430px) {
  #header .header-text .subtitle,
  #header .header-text .title {
    font-size: small;
  }
}


/*
------------------------------------------------------------------------------------------------------------------------
--
-- switch lang flex (position-player-bottom)
--
------------------------------------------------------------------------------------------------------------------------
*/

body.lang-switch-position-player-bottom  .lang-list-items {
  justify-content: flex-end;
}


body.lang-switch-position-player-bottom .lang-switch:hover .lang-item.lang-selected .lang-text {
  display: inline-block;
}
body.lang-switch-position-player-bottom .lang-switch:hover .lang-item.lang-selected:hover .lang-text,
body.lang-switch-position-player-bottom .lang-switch .lang-item.lang-selected .lang-text {
  display: none;
}



/*
------------------------------------------------------------------------------------------------------------------------
--
-- switch lang flex (position-player-top)
--
------------------------------------------------------------------------------------------------------------------------
*/


body.lang-switch-position-player-top .lang-switch 
{
  justify-content: flex-end;
  width: auto;
  right: 20px;
  top: 10px
}

body.lang-switch-position-player-top  .lang-list-items 
{
  justify-content: flex-end;
}


body.lang-switch-position-player-top .lang-switch .lang-item 
{
  position: absolute;
  top: 0;
  right: 0;
}

body.lang-switch-position-page-header .lang-switch.lang-multi .lang-item.lang-selected,
body.lang-switch-position-player-top .lang-switch .lang-item,
body.lang-switch-position-player-top .lang-switch:hover .lang-item 
{
  left: auto;
}

body.lang-switch-position-player-top .lang-switch .lang-item.lang-selected 
{
  /*z-index: 100;*/
  order: 100;
}

body.lang-switch-position-player-top .lang-switch .lang-item .lang-text 
{
  opacity: 0;
}

body.lang-switch-position-player-top .lang-switch.lang-multi .lang-item.lang-selected .lang-img::before 
{
  color: #000;
}

/*
------------------------------------------------------------------------------------------------------------------------
--
-- switch lang flex (position-page-header )
--
------------------------------------------------------------------------------------------------------------------------
*/

body.lang-switch-position-page-header .lang-switch.lang-multi .lang-list-items
{
  flex-direction: column;
}
body.lang-switch-position-page-header .lang-switch.lang-multi.lang-expanded .lang-list-items
{
  padding-top: 0;
}

body.lang-switch-position-page-header .lang-switch.lang-multi:not(:hover) .lang-item.lang-selected .lang-img::before {
  color: #000;
}

body.lang-switch-position-page-header .lang-switch.lang-multi:not(:hover) .lang-item 
{
  position: absolute;
}

body.lang-switch-position-page-header .lang-switch.lang-multi:not(:hover) .lang-item.lang-selected 
{
  position: absolute;
}



body.lang-switch-position-page-header .lang-switch.lang-multi.lang-expanded .lang-item
{
  position: relative;  
}

body.lang-switch-position-player-bottom #container #elementsBottomPlayer #switchLang.lang-switch.lang-expanded,
body.lang-switch-position-player-bottom .lang-switch.lang-expanded
{
  top: auto;
  bottom: 0;
}
body.lang-switch-position-page-header .lang-switch.lang-expanded .lang-item.lang-selected,
body.lang-switch-position-player-top .lang-switch.lang-expanded .lang-item.lang-selected,
body.lang-switch-position-player-bottom .lang-switch.lang-expanded .lang-item.lang-selected
{
  display: none;
}
body.lang-switch-position-page-header .lang-switch.lang-expanded .lang-item:hover .lang-text,
body.lang-switch-position-page-header .lang-switch.lang-expanded .lang-item .lang-text,
body.lang-switch-position-player-top .lang-switch.lang-expanded .lang-item .lang-text,
body.lang-switch-position-player-bottom .lang-switch.lang-expanded .lang-item .lang-text 
{
  display: none;
}
