/* Custom 2026 styles for template -> will be added to imports */

/* Used breakpoints are:
- tablet landscape: 1024px
- tablet portrait: 768px
- mobile: 500px
*/

/* Fonts */
@import url("https://cdn.videosync.fi/vs-assets/fonts/calibre_2/stylesheet.css");
@import url("https://cdn.videosync.fi/vs-assets/fonts/roobert/stylesheet.css");


/* Colors */
:root {
  /* --grey-bg: #edeae7; */
  --grey-bg: #f3f1ec;
  --grey-bg-info: #e0dace; 

  --text-grey: #393939;

  /* --label-grey: #4c4c4c; */
  --label-grey: #3b3a38;
  
  /* --border-color: #d5d0cb; */
  --border-color: #DCD4C0;

  /* --blue-highlight: #1c72d4; */
  --blue-highlight: #145cda;

  --beige: #edeae7;
  /* --beige: #f3f1ec; */
}

/* General */
body {
  font-family: "Calibre 2" !important;
  background-size: cover !important;
}

input, textarea {
  border-radius:9px 0 9px 0 !important;
}

.vs-mainwrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

/* Header */
#vs-header {
  position: relative;
}

.second-header {
  font-size: 17px !important;
  font-weight: 400;
  margin: 0;
  text-align: center;
}

#vs-header .main-header {
  padding: 0 2.875rem 0 3.375rem;
}

#vs-header .logo {
  display: flex;
}

#vs-header .main-heading {
  flex: 1;
  justify-content: center;
  display: flex;
  margin: 0;
  order: 2;
}

#vs-header .main-heading h1 {
  padding: 0 1rem;
  font-family: inherit;
  margin: 0;
}

#vs-header .main-heading h1 p {
  margin: 0;
  text-align: center;
}

#vs-header .subheader {
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
}

#vs-header .subheader div {
  font-size: 1rem;
  height: 20px;
}

#vs-header .subheader a {
  margin-left: auto;
  font-size: 17px;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

@media (min-width: 1024px) {
  #vs-header .main-heading h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

/* Tablet header */
@media (max-width: 1024px) {
  #vs-header .header-content {
    flex-direction: column;
  }
  #vs-header .main-header {
    padding: 0 1rem;
  }
  #vs-header .subheader a {
    display: none;
  }
  #vs-header .logo {
    padding: 1.25rem 0 !important;
  }
  #vs-header .main-heading h1 {
    font-size: 15px;
  }
  #vs-header .subheader div {
    font-size: 15px;
    margin: 0.25rem 0 0.75rem;
  }
}

.meta {
  display: none;
}

/* Presentation area */
#vs-presentation {
  order: 1;
  padding: 3.5rem 1.5rem;
  background: url("https://cdn.videosync.fi/events/sampo/common/images/bg-blur_1920x1546_1200585651538.jpg");
  background-size: cover;
}

#vs-presentation .container {
  z-index: 2;
  position: relative;
}

.slides .slide {
  height: auto;
  display: flex;
}

.slides .slide .slide-button-languages {
  display: none;
}

#vs-presentation .video-container,
#vs-presentation .slide-container {
  padding: 0;
}

#vs-presentation .presentation-dl-link {
  font-weight: 600;
  background-color: transparent;
  color: #ffffff;
  font-size: 15px;
  border: 2px solid #ffffff;
  text-align: center;
  border-radius: 9px 0 9px 0;
  margin-top: 0.75rem;
  display: inline-flex;
  text-decoration: none;
  padding: 0.5rem 1rem 0.5rem 1.5rem;
  gap: 0.875rem;
  justify-content: center;
}
#vs-presentation .presentation-dl-link:focus {
  outline: 2px solid #025fcc;
}

#vs-presentation .presentation-dl-link:hover {
 background: #145CDA;
  border: 2px solid #4C9EEA
}

#vs-presentation .presentation-dl-link img {
  filter: brightness(0) invert(1);
}

#vs-presentation .slides .presentation-dl-link + .presentation-dl-link {
  margin-left: 1rem
}

/* Mobile only link */
#vs-presentation > .presentation-dl-link {
  display: none;
  z-index: 1;
  position: relative;
  width: 50%;
  margin-right: 100%;
}

@media (max-width: 1024px) {
  #vs-presentation .slides .presentation-dl-link {
    display: none;
  }

  #vs-presentation > .presentation-dl-link {
    display: flex;
  }
}

@media (max-width: 500px) {
  #vs-presentation > .presentation-dl-link {
    width: 100%;
  }
}

#vs-presentation .container {
  display: flex;
  flex-wrap: unset;
  flex-direction: column-reverse;
  max-width: 750px;
}

.bmpui-ui-seekbar-label {
  display: none !important;
}

.bmpui-ui-uicontainer .bmpui-ui-controlbar {
  opacity: 1;
  top: 0;
}

.bmpui-ui-seek-fwd-button:focus,
.bmpui-ui-seek-bck-button:focus {
  box-shadow: 0 0 0 2px rgba(27, 127, 204, 0.8) !important;
  outline: none !important;
}

#audio-only-btn {
  display: none;
}

.video-player {
  padding-bottom: 82px;
}

.video-container {
  margin-top: -5px;
  padding-top: 0 !important;
}

.video-player video {
  display: none;
}

.bmpui-ui-hugeplaybacktogglebutton {
  display: none;
}

.slide-container {
  padding: 0 !important;
}

.big-overlay-play {
  background: rgba(0, 0, 0, 0.15);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.1s ease-in;
  font-size: 60px;
}

.big-overlay-play:hover {
  opacity: 1;
}

.slide-full .big-overlay-play {
  display: none;
}

#bitmovin-player {
  height: 82px !important;
  background: #000000;
}

.bitmovinplayer-poster {
  display: none !important;
}

.eventstate-public_live .bmpui-ui-settingstogglebutton {
  display: none;
}

.bmpui-ui-settings-panel {
  width: 200px;
  z-index: 9999999;
}

.eventstate-public_live .bmpui-ui-seekbar {
  display: none;
}

.bmpui-ui-fullscreentogglebutton,
.bmpui-ui-audiotracksettingstogglebutton,
.bmpui-ui-piptogglebutton,
.bmpui-ui-casttogglebutton,
.bmpui-ui-vrtogglebutton {
  display: none;
}

.bmpui-ui-hugeplaybacktogglebutton.bmpui-off .bmpui-image {
  visibility: visible !important;
}

.bmpui-ui-skin-smallscreen .bmpui-ui-hugeplaybacktogglebutton .bmpui-image {
  visibility: visible !important;
}

.bmpui-ui-controlbar.bmpui-hidden,
.bmpui-ui-playbacktogglebutton,
.bmpui-ui-playbacktogglebutton,
.bmpui-ui-volumetogglebutton.bmpui-unmuted,
.bmpui-ui-titlebar.bmpui-hidden {
  opacity: 1 !important;
}

.bmpui-ui-skin-smallscreen {
  height: 82px !important;
}

.bmpui-ui-skin-smallscreen .bmpui-ui-controlbar {
  padding: 0 0.5rem;
  display: block !important;
  top: auto !important;
}

.bmpui-ui-skin-smallscreen .bmpui-ui-hugeplaybacktogglebutton {
  display: block !important;
  top: 0 !important;
  left: 0 !important;
  width: 50px !important;
  bottom: auto !important;
  height: 50px !important;
  background-color: transparent !important;
}

.bmpui-ui-recommendation-overlay > .bmpui-container-wrapper {
  padding: 0 !important;
}

.bmpui-ui-hugereplaybutton {
  margin: auto !important;
  padding-bottom: 5rem !important;
}

@media (max-width: 500px) {
  .bmpui-ui-hugereplaybutton {
    margin: auto !important;
    padding-bottom: 1rem !important;
  }
}

.bmpui-ui-skin-smallscreen
  .bmpui-ui-hugeplaybacktogglebutton.bmpui-on
  .bmpui-image {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%20viewBox%3D%220%200%2032%2032%22%20style%3D%22%22%20xml%3Aspace%3D%22preserve%22%20height%3D%22100%25%22%20width%3D%22100%25%22%3E%0A%3Cstyle%20type%3D%22text%2Fcss%22%3E%0A%09.st0%7Bfill%3A%23FFFFFF%3B%7D%0A%3C%2Fstyle%3E%0A%3Cg%20id%3D%22Rectangle_2_copy%22%3E%0A%09%3Cg%3E%0A%09%09%3Cpath%20class%3D%22st0%22%20d%3D%22M11.3%2C5.4H8.9c-1.3%2C0-2.4%2C1.1-2.4%2C2.4v16.5c0%2C1.3%2C1.1%2C2.4%2C2.4%2C2.4h2.4c1.3%2C0%2C2.4-1.1%2C2.4-2.4V7.7%0A%09%09%09C13.6%2C6.4%2C12.6%2C5.4%2C11.3%2C5.4z%20M11.3%2C24.3H8.9V7.7h2.4V24.3z%22%2F%3E%0A%09%3C%2Fg%3E%0A%3C%2Fg%3E%0A%3Cg%20id%3D%22Rectangle_2_copy_2%22%3E%0A%09%3Cg%3E%0A%09%09%3Cpath%20class%3D%22st0%22%20d%3D%22M23.1%2C5.4h-2.4c-1.3%2C0-2.4%2C1.1-2.4%2C2.4v16.5c0%2C1.3%2C1.1%2C2.4%2C2.4%2C2.4h2.4c1.3%2C0%2C2.4-1.1%2C2.4-2.4V7.7%0A%09%09%09C25.4%2C6.4%2C24.4%2C5.4%2C23.1%2C5.4z%20M23.1%2C24.3h-2.4V7.7h2.4V24.3z%22%2F%3E%0A%09%3C%2Fg%3E%0A%3C%2Fg%3E%0A%3C%2Fsvg%3E");
}

.bmpui-ui-buffering-overlay .bmpui-ui-buffering-overlay-indicator {
  width: 1em !important;
  height: 1em !important;
}

.bmpui-ui-buffering-overlay > .bmpui-container-wrapper {
  display: flex;
  justify-content: center;
}

.bmpui-ui-skin-smallscreen .bmpui-ui-titlebar {
  background: none;
  padding: 0;
}

/* Hide video quality picker, mobile video quality picker and subtitles picker */
#bmpui-id-129,
#bmpui-id-38,
#bmpui-id-86 {
  display: none;
}

@media (max-width: 420px) {
  .bmpui-ui-controlbar {
    top: 20px !important;
  }
  .bmpui-ui-hugeplaybacktogglebutton {
    display: block;
  }
}

@media (max-width: 1024px) {
  .video-container {
    width: 100%;
    min-height: 100%;
    position: relative;
    padding: 0;
    -webkit-flex: none;
    -ms-flex: none;
    flex: none;
  }
  .slide-container {
    padding: 0;
    width: 100% !important;
    flex: none;
    height: auto !important;
  }
}

@media (max-width: 500px) {
  .bmpui-ui-settings-panel-page .bmpui-container-wrapper > .bmpui-ui-label {
    font-size: 15px !important;
  }
  .bmpui-ui-settings-panel-page .bmpui-container-wrapper > .bmpui-ui-selectbox {
    font-size: 14px !important;
  }
}

@media (max-width: 1024px) {
  .video-container {
    width: 100%;
    min-height: 100%;
    position: relative;
    padding: 0;
    flex: none;
  }
  .slide-container {
    padding: 0;
    width: 100% !important;
    flex: none;
    height: auto !important;
  }
}

@media (max-width: 768px) {
  .presentation .container {
    flex-direction: column;
  }
}

@media (max-width: 500px) {
  #vs-presentation {
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
  }
  #vs-presentation .presentation-dl-link {
    display: flex;
  }
}

/* Slides */
.slide-button-previous,
.slide-button-next {
  top: 50%;
  transform: translateY(-50%);
  margin-top: 0;
  background: transparent;
  color: #000;
  font-size: 40px;
}

.slide-button-fullscreen {
  background: transparent;
  color: #000;
}

/* Language buttons */
.change-lang-container {
  align-items: flex-start;
  gap: 0.875rem;
  margin-top: 1.5rem;
}

.change-lang-container .change-lang:first-child {
  margin-left: 0 !important;
  width: 140px;
}

.change-lang-container .change-lang {
  font-weight: 600;
  font-family: "Calibre 2";
  background-color: transparent;
  color: #ffffff;
  font-size: 15px;
  padding: 0.5rem 1rem;
  border: 2px solid #ffffff;
  text-align: center;
  border-radius: 9px 0 9px 0;
  margin: 0;
  line-height: 21.75px;
}

.change-lang-container .change-lang.active {
  background-color: #ffffff;
  color: #000000;
}

.change-lang-container .change-lang:not(.active):hover {
  background: #145CDA;
  border: 2px solid #4C9EEA
}

@media (max-width: 768px) {
  .change-lang-container .change-lang {
    flex: 1;
  }
  .change-lang-container .change-lang:first-child {
    flex: 2;
  }
}

@media (max-width: 500px) {
  .change-lang-container .change-lang:first-of-type {
    min-width: 100%;
  }
}

/* Slide thumbnail carousel */
#vs-thumbnails {
  order: 2;
  padding: 1px 0 0;
  margin-top: 0.75rem;
  z-index: 1;
  position: relative;
}

#vs-thumbnails .container {
  padding: 0;
  max-width: 1600px;
  padding-top: 0.75rem;
  border-top: 1px solid white;
}

.slidethumbnails {
  min-height: auto;
}

.slidethumbnails--prev,
.slidethumbnails--next {
  background: transparent;
  padding: 1rem;
  transform: none !important;
  color: white;
  font-size: 1.5rem;
}

.slidethumbnails--prev {
  padding-right: 1rem;
  padding-left: 0;
}

.slidethumbnails--next {
  padding-left: 1rem;
  padding-right: 0;
}

.slidethumbnails--items {
  justify-content: center;
}

@media (max-width: 500px) {
  .slidethumbnails--prev {
    padding-right: 0.5rem;
  }
  .slidethumbnails--next {
    padding-left: 0.5rem;
  }
  .slidethumbnails {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
  }
  .slidethumbnails--prev.ng-hide,
  .slidethumbnails--next.ng-hide {
    display: block !important;
    visibility: hidden;
    pointer-events: none;
  }
}

.slidethumbnails--item {
  padding: 0.25rem 0.125rem;
}

@media (max-width: 900px) {
  .slidethumbnails--item {
    max-width: 20% !important;
  }
}

@media (max-width: 500px) {
  .slidethumbnails--item {
    max-width: 33% !important;
  }
}

.slidethumbnails--item.active {
  outline: #fff solid 1px;
  background-color: transparent !important;
}

.slidethumbnails--item img {
  display: flex;
}

/* Hidden */
#vs-hidden {
  display: flex;
  padding: 0;
  background-position: center !important;
}

.eventstate-paused_live #vs-hidden, .eventstate-hidden_ondemand #vs-hidden {
  min-height: 600px;
  align-items: center;
  background-position: center !important;
}

@media (max-width: 1024px) {
  .eventstate-paused_live #vs-hidden, .eventstate-hidden_ondemand #vs-hidden {
    min-height: 400px;
  }
}

#vs-hidden + #vs-messageboard {
  display: none;
}

#vs-hidden .container .content {
  padding: 0 1.5rem !important;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.25rem;
  width: 100%;
  max-width: 42rem;
}

#vs-hidden .content {
  margin-top: 3.75rem;
  margin-bottom: 6rem;
}

#vs-hidden .hidden-text > span {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

#vs-hidden .hidden-text > span > p {
  display: none;
}

#vs-hidden .info-box {
  padding: 2.875rem 1.375rem 3.375rem;
  margin: 0 auto;
  background-color: var(--grey-bg);
  width: 100%;
  display: flex;
  flex-direction: column;
  min-width: 25rem;
  flex: 1;
  justify-content: space-between;
  border-radius:4px;
}

#vs-hidden .info-box h2 {
  font-size: 1.75rem;
  text-align: center;
  margin: 0 auto;
  max-width: 32rem;
  font-family: "Roobert" !important;
  font-weight: 400;
}

#vs-hidden .info-box .info-text {
  max-width: 32rem;
  margin: 1.75rem auto 0;
  text-align: center;
  line-height: 21px;
  letter-spacing: -0.15px;
  font-size: 15px;
}

#vs-hidden p {
  margin: 0 !important;
}

@media (max-width: 768px) {
  #vs-hidden .content {
    margin-bottom: 3.75rem;
  }
}

@media (max-width: 500px) {
  #vs-hidden .content {
    margin-top: 2.25rem;
    margin-bottom: 2.25rem;
  }
  #vs-hidden .info-box {
    padding-top: 2.25rem;
    padding-bottom: 2.625rem;
    min-width: 100%;
  }
  #vs-hidden .info-box h2 {
    margin-bottom: 1.25rem;
  }
}

/* Countdown */
.countdown-container { 
/* background: rgba(16, 43, 74, 0.4) 0% 0% no-repeat padding-box; */
background: rgba(16, 43, 74, 1) 0% 0% no-repeat padding-box;
border-radius: 4px;
opacity: 1;
/* backdrop-filter: brightness(0.96) blur(8px); */
  color: white;
  width: 100%;
  margin: 0 auto;
  column-gap: 1.25rem;
  row-gap: 1.5rem;
  padding: 2.5rem 1rem;
}

.countdown-container h2 {
  width: 100%;
  text-align: center;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.countdown-container .counter {
  background: transparent;
  min-height: auto;
  opacity: 1;
  gap: 0.5rem;
}

.countdown-container .counter > div {
  min-height: auto;
  min-width: auto;
  background: transparent;
  opacity: 1;
  margin: 0;
}

.countdown-container .counter > div:first-of-type {
  font-size: 4.25rem;
  letter-spacing: -2.72px;
  font-family: "Roobert";
  font-weight: 400;
}

@media (max-width: 630px) {
  .countdown-container {
    padding: 2.25rem 1rem;
  }
  .countdown-container .counter {
    min-width: 65px;
  }
  .countdown-container .counter > div:first-of-type {
    font-size: 2.75rem;
    letter-spacing: -1.76px;
  }
}

@media (max-width: 450px) {
  .countdown-container {
    column-gap: 0.25rem;
    padding: 2.25rem 0;
  }
}

.countdown-container .counter > div > p {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Messageboard */
#vs-messageboard {
  order: 2;
  padding: 0 1.5rem 3.75rem;
}

/* Hide messageboard when pre-, after-live or OD */
.eventstate-public_ondemand #vs-messageboard,
.eventstate-hidden_live #vs-messageboard,
.eventstate-hidden_ondemand #vs-messageboard {
  display: none;
}

/* Show messageboard when live is paused */
.eventstate-paused_live #vs-messageboard {
  order: 1;
  display: flex !important;
}

#vs-messageboard h2 {
  font-size: 2.375rem;
  line-height: 2.125rem;
  text-align: center;
  font-weight: 400;
  font-family: "Roobert";
  margin: 0;
}

#vs-messageboard h2 span {
  text-align: center;
}

#vs-messageboard #ask-a-question-pre-info {
  text-align: center;
  font-weight: 400;
  margin: 0 auto 3.75rem;
  font-size: 17px;
}

#vs-messageboard #ask-a-question-info {
  text-align: center;
  margin: 1rem auto 2.25rem;
  max-width: 435px;
}

#vs-messageboard .comment-feed-header {
  border: none;
}

#vs-messageboard .comment-feed-header h3 {
  display: none;
}

.comment-form form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  max-width: 22rem;
  margin: 0 auto;
}

.comment-form form .comment-user,
.comment-form form #comment-text-container {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.comment-form form #comment-name,
.comment-form form #comment-text {
  border-color: #000000;
  border-radius: 3px;
  background-color: #ffffff;
  width: 100%;
  max-width: 100%;
}

.comment-form form #comment-text-container {
  padding-bottom: 1rem;
}

.comment-form form #comment-name {
  margin: 0 0 1.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.comment-form form #comment-text {
  resize: none;
  height: 8.125rem;
  padding: 0.5rem 1rem;
  margin-bottom: 0;
}

.comment-form form label {
  margin-bottom: 0.875rem;
  display: block;
  color: var(--label-grey);
}

.comment-form form #submit-button {
  background: transparent linear-gradient(264deg, #222836 0%, #1c3e69 100%) 0%
    0% no-repeat padding-box;
   border-radius: 9px 0; 
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: bold;
  font-family: "Calibre 2";
  letter-spacing: 0.92px;
}

.comment-form form .message-submit-error {
  order: 0;
}

.comment-form form .comment-user {
  order: 1;
}

.comment-form form #comment-text-container {
  order: 2;
}

.comment-form form #submit-button {
  order: 3;
}

.message-submit-error {
  margin-top: -30px;
  margin-bottom: 10px;
  text-align: center;
}

.add-emoji-container {
  display: none;
}

.moderation-status.fade.ng-scope h3 {
  display: none;
}

.custom-container-messageboard {
  display: none;
}

.custom-container-messageboard div {
  width: 100%;
}

.custom-container-messageboard h4 {
  text-align: center;
  font-size: 17px;
  margin-bottom: 0;
  padding-bottom: 70px;
  font-weight: 400;
}

.custom-container-messageboard button {
  background-color: transparent;
  margin: auto;
  font-weight: 600;
  font-size: 15px;
  color: var(--blue-highlight);
  text-decoration: underline;
  font-family: "Calibre 2";
}

#eng-header {
  font-weight: 400;
  font-size: 17px;
  color: #000000;
  margin: 0 0 2.25rem;
  text-align: center;
}

/* Chapters */
#vs-chapters {
  order: 3;
  padding: 3.75rem 1.5rem 1.875rem !important;
  /* Disabled for audiocast */
  display: none;
}

/* Hide chapters after live */
.eventstate-hidden_ondemand #vs-chapters {
  display: none;
}

#vs-chapters h2 {
  padding: 0;
  text-align: center;
  margin: 0;
}

#vs-chapters h2 span {
  font-family: "Roobert" !important;
  font-size: 2.375rem !important;
  font-weight: 400;
  line-height: 2.125rem;
  color: white !important;
}

#vs-chapters .chapters-subheading {
  text-align: center;
  color: white;
  font-weight: 400;
  margin: 0.5rem 0 0;
  font-size: 17px;
}

#vs-chapters .chapter-list {
  display: block;
  column-count: 2;
  max-width: 62.5rem;
  margin: 3.75rem auto 0;
  align-items: stretch;
  padding: 3.375rem 5rem 3.75rem;
  background-color: white;
}

#vs-chapters .chapter-list .chapter-list--item {
  max-width: 34rem;
  margin: 0 auto;
  padding: 0 1rem 0 4rem;
  width: 100%;
  position: relative;
  margin-bottom: 1.25rem;
  break-inside: avoid;
}

#vs-chapters .chapter-list .chapter-list--item:last-of-type {
  margin-bottom: 0;
}

#vs-chapters .chapter-list .chapter-list--item h4 {
  margin: 0 0 0.25rem;
  font-weight: 600;
  font-size: 17px;
}

#vs-chapters .chapter-list .chapter-list--item .text {
  color: var(--text-grey);
  font-size: 17px;
}

#vs-chapters .chapter-list .chapter-list--item .time {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 17px;
  font-weight: 600;
  color: #000000;
}

#vs-chapters .chapter-list .chapter-list--item p {
  margin: 0;
}

@media (max-width: 768px) {
  #vs-chapters .chapter-list {
    display: flex;
    flex-direction: column;
  }

  #vs-chapters .content > .chapter-list {
    padding-left: 1.5rem;
    padding-right: 0.5rem;
  }
}

@media (max-width: 500px) {
  #vs-chapters .chapter-list {
    margin-top: 2.25rem;
    flex-direction: column !important;
  }

  #vs-chapters .chapter-list .chapter-list--item h4 {
    font-size: 17px;
  }
}

/* Chapters dropdown in on-demand */
#vs-chapter-select {
  margin: 0.75rem 0;
  order: 0;
  flex: 1;
  min-width: 250px;
  justify-content: center;
  align-items: center;
  display: flex;
  height: 2.625rem;
}

#vs-chapter-select .selectize-control {
  height: 100%;
}

#vs-chapter-select .selectize-input,
#vs-chapter-select .chapter-select.theme-light .selectize-input {
  background: transparent;
  color: #ffffff;
  padding: 0.6rem 1rem 0.6rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 2px solid #ffffff;
  font-size: 15px;
  font-weight: bold;
  box-shadow: none;
}

.chapter-select.theme-light .selectize-dropdown .active {
    background-color: #D5E2FA;
    color: #1e2122;
}

#vs-chapter-select .selectize-control.single .selectize-input::after {
  content: "" !important;
  display: none;
}

#vs-chapter-select .selectize-input img {
  filter: brightness(0) invert(1);
}

.selectize-dropdown {
  border: none !important;
  border-radius: 3px !important;
  margin: 0 !important;
}

.selectize-dropdown .ui-select-choices-row {
  padding: 0.875rem 0 0.875rem 2.25rem;
}

.selectize-dropdown .ui-select-choices-row.active {
  background-color: var(--grey-bg);
}

.selectize-dropdown .ui-select-choices-row .option {
  padding: 0 !important;
}

.chapter-select-container h4 {
  margin: 0;
  font-size: 15px;
}

.chapter-select-container h4 + p > p {
  margin-top: 0.625rem;
}

.chapter-select-container .dropdown-selected-chapter p {
  color: #ffffff;
  font-size: 15px;
}

.chapter-select-container p {
  margin: 0;
  font-size: 12px;
  color: var(--text-grey);
}

.chapter-select-container p .time {
  display: none;
}

#vs-chapter-select + #contentBelowVideo .change-lang-container {
  margin-top: 0;
}

@media (max-width: 500px) {
  .selectize-dropdown .ui-select-choices-row {
    padding-left: 0.875rem;
  }
}

/* Content below video */
#contentBelowVideo {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#contentBelowVideo span {
  order: 1;
  min-width: 250px;
}

@media (max-width: 768px) {
  #contentBelowVideo span {
    flex: 1;
  }
}

/* Speakers */
#vs-speakers-section {
  order: 4;
  padding: 60px 0 140px 0;

/* section background fixed as much as possible, JP */
  /* background-image: url("https://cdn.videosync.fi/events/sampo/common/images/motif-blue_1920x2219_385065885798.jpg"); */
  background: cover;
  background-position: bottom;
}

/* Hide speakers in hidden OD */
.eventstate-hidden_ondemand #vs-speakers-section {
  display: none;
}

#vs-speakers-section h2 {
  text-align: center;
  color: #fff;
  padding: 0;
  margin: 0 0 36px;
  font-family: "Roobert";
  font-size: 2.375rem;
  font-weight: 400;
}

#vs-speakers-section h2 span {
  text-align: center;
}

#vs-speakers-section ul {
  padding: 0;
  max-width: 1200px;
  margin: 0 auto;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, max-content));
}

#vs-speakers-section .speakers-section-speaker-item {
  background-color: #ffffff;
  max-width: 18rem;
  border-radius: 4px 4px 0 0;
}

#vs-speakers-section .speakers-section-speaker-item > div {
  margin: 0;
}

#vs-speakers-section .speakers-section-speaker-item > div > div:first-of-type {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
  background-color: var(--beige);
  border-radius: 4px 4px 0 0;
}

#vs-speakers-section .speakers-section-speaker-item img {
  object-fit: cover;
  object-position: top;
  height: 13rem;
  width: 13rem;
  border-radius: 100%;
}

#vs-speakers-section .speakers-section-speaker-item h3 {
  margin: 0 0 0.625rem;
  text-align: center;
  font-size: 17px;
  line-height: 23px;
}

#vs-speakers-section .speakers-section-speaker-item span,
#vs-speakers-section .speakers-section-speaker-item span p {
  text-align: center;
  font-size: 15px;
  color: var(--text-grey);
  line-height: 23px;
}

#vs-speakers-section .speakers-section-speaker-item span p {
  margin: 0;
}

#vs-speakers-section .speakers-section-speaker-item-text-content {
  padding: 2rem 0.5rem 0.5rem;
  min-height: 9rem;
}

#vs-speakers-section
  .speakers-section-speaker-item-text-content
  > div:last-of-type {
  padding: 0;
  justify-content: center;
}

@media (max-width: 500px) {
  #vs-speakers-section .speakers-section-title {
    margin-bottom: 2.25rem;
  }
}

@media (max-width: 400px) {
  #vs-speakers-section ul {
    display: flex;
    flex-direction: column;
     padding: 0 25px;
  }
  #vs-speakers-section .speakers-section-speaker-item {
    max-width: 100%;
    width: 100%;
  }
}

/* Attachments */
#vs-attachments {
  display: none;
}

/* Show attachments only in OD & after live */
.eventstate-hidden_live #vs-attachments,
.eventstate-public_ondemand #vs-attachments {
  display: flex;
}

#vs-attachments {
  padding: 3.75rem 1.5rem;
  order: 6;
}

#vs-attachments .container .content h2 {
  font-size: 2.375rem;
  text-align: center;
  font-family: "Roobert";
  margin: 0 0 2.25rem;
  font-weight: 400;
}

.attachments ul {
  flex-direction: column;
  width: 100%;
  max-width: 22rem;
  margin: 0 auto;
}

.attachments ul li {
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  display: flex;
  padding: 0 0 1.25rem;
  margin: 0;
}

.attachments ul li:not(:first-of-type) {
  margin-top: 1.25rem;
}

.attachments .attachment-title p,
.attachments .attachment-title {
  margin: 0;
  padding: 0;
}

.attachments ul li a {
  z-index: 1;
  font-weight: 700;
  text-decoration: none;
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin: 0;
  font-size: 17px;
}

.attachments ul li .file-type {
  font-size: 15px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.625rem;

  img {
    width:20px;
  }
}

.attachments ul li a .attachment-title span {
  font-size: 15px;
  font-weight: normal;
  color: var(--text-grey);
}

#vs-attachments ul li a i.fa.fa-paperclip {
  display: none;
}

/* Links section */
.eventstate-hidden_ondemand #vs-links,
.eventstate-public_ondemand #vs-links {
  display: none;
}

#vs-links {
  order: 6;
  padding: 20px 90px 40px;
}

@media (max-width: 1056px) {
  #vs-links {
    padding: 20px;
  }
}

#vs-links .container {
  max-width: 1348px;
  margin: auto;
}

#vs-links .container .link-list {
  -webkit-box-pack: flex-start;
  -ms-flex-pack: flex-start;
  justify-content: flex-start;
}

@media (max-width: 866px) {
  #vs-links .container .link-list {
    justify-content: center;
  }
}

#vs-links .container .link-list .link-list--item:only-child {
  margin: 0 auto;
}

#vs-links .container .link-list .link-list--item {
  min-width: 250px;
  margin: 10px;
}

@media (max-width: 990px) {
  #vs-links .container .link-list .link-list--item {
    margin: 10px;
  }
}

#vs-links .container .link-list .link-list--item .text {
  padding-left: 0;
  padding-top: 30px;
  text-align: left;
  font-size: 16px;
  color: rgb(19, 24, 40);
}

#vs-links .container .link-list .link-list--item a {
  text-decoration: none;
}

#vs-links .container .link-list .link-list--item .text h4 {
  margin: 0;
  padding-bottom: 5px;
  font-size: 20px;
  color: #0061cb;
}

/* Connection details section */
#vs-connection-details {
  background: var(--grey-bg);
  padding: 3.75rem 1.5rem;
}

.eventstate-paused_live #vs-connection-details {
  order: 0;
}
.eventstate-public_live #vs-connection-details {
  order: 1;
}

.eventstate-public_ondemand #vs-connection-details,
.eventstate-hidden_ondemand #vs-connection-details {
  display: none;
}

#vs-connection-details .container {
  display: flex;
  flex-direction: column;
  max-width: 800px;
}

#vs-connection-details h2 {
  text-align: center;
  font-family: "Roobert";
  font-size: 2.375rem;
  margin: 0 0 2.25rem;
  padding-top: 0;
  line-height: 2.125rem;
  font-weight: 400;
}

#vs-connection-details h3 {
  font-weight: 400;
  margin-top: 22px;
  text-align: center;
  font-size: 17px;
  line-height: 21px;
  margin: 0 0 1.5rem;
  padding: 0;
}

#vs-connection-details h3:last-child {
  margin: 1.5rem 0 0 0;
}

#vs-connection-details a {
  color: var(--blue-highlight);
  padding: 0;
  background: transparent;
  font-size: 17px;
  font-weight: 600;
  height: auto;
  min-width: auto;
  text-align: center;
  word-break: break-all;
}

#vs-connection-details .content {
  padding: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
  list-style-type: none;
}

#vs-connection-details .content li {
  flex-wrap: wrap;
  justify-content: space-between;
  display: flex;
  text-decoration: none;
  outline: none;
  border-bottom: 1px solid var(--border-color);
  margin: 0;
  padding: 1rem 0 0.75rem;
}

#vs-connection-details .content li:first-of-type {
  padding-top: 0;
}
#vs-connection-details .connection-item {
  flex-wrap: wrap;
  justify-content: space-between;
  display: flex;
  text-decoration: none;
  outline: none;
  width: 100%;
}

.connection-item span {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}

.connection-item > div {
  color: var(--blue-highlight);
  padding: 0;
  background: transparent;
  font-size: 17px;
  font-weight: 600;
  height: auto;
  min-width: auto;
}

@media (max-width: 500px) {
  #vs-connection-details {
    padding-bottom: 3.75rem;
  }
  #vs-connection-details h2 {
    font-size: 2.125rem;
  }
}

/* Extra footer with SOME icons (on-demand only) */
#vs-extra-footer {
  background: var(--grey-bg);
  padding: 3.75rem 0;
  color: #000000;
  border-top:solid 1px #DCD4C0;
}

#vs-extra-footer h3 {
  text-align: center;
  font-size: 17px;
  margin: 0;
  font-weight: 400;
}

#vs-extra-footer h4 {
  font-weight: 400;
  color: var(--text-grey);
  margin-top: 0.625rem;
  font-size: 15px;
  text-align: center;
  margin-bottom: 2rem;
}

#vs-extra-footer div {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  font-size: 1rem;
}

#vs-extra-footer div a {
  text-decoration: none;
  margin: 0 1.5rem;
  padding: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Footer */
#vs-footer {
  order: 9;
  padding: 40px 0;
}

#vs-footer .footer-text {
  padding: 0;
}

.footer-text img {
  max-width:200px;
  padding-bottom:90px;
}

#vs-footer .footer-text span p {
  text-align: center;
  margin: 0;
  font-weight: 500;
}

#vs-footer .footer-text a {
  text-align: center;
   font-weight: 400;
}

@media (max-width: 500px) {
  #vs-footer {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

/* Vsync footer */
#vs-videosync-footer {
  display: none;
}

/* Cookie */
.cc-revoke.cc-bottom.cc-color-override--1360619034 {
  display: none;
}

.cc-banner.cc-bottom {
  background-color: rgb(26, 99, 208) !important;
}


/* all above to external css */

/* Sampo styles imported in "Embed own JavaScript" */

.eventstate-hidden_live #vs-messageboard {
    display: block !important;
}