#klara-video-container {
  width: 152px;
  height: 152px;
  position: fixed;
  bottom: 20px;
  z-index: 10000;
  background: no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: sans-serif;
}

.klara-backdrop {
  display: block;
  z-index: 9000;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
}

.collapsed {
  max-width: 50% !important;
  max-height: 7% !important;
  bottom: 20px !important;
}

.collapsed-left {
  left: 20px !important;
}

.collapsed-right {
  right: 20px !important;
}

.klara-expanded-vertical {
  width: 177px !important;
  height: 320px !important;
  overflow: hidden;
}

.klara-expanded-horizontal {
  width: 317px !important;
  height: 180px !important;
  overflow: hidden;
}


@media only screen and (min-device-width: 450px) {
  .klara-expanded-vertical {
    width: 250px !important;
    height: 444px !important;
  }

  .klara-expanded-horizontal {
    width: 444px !important;
    height: 250px !important;
  }

  .klara-expanded-vertical #klara-video,
  .klara-expanded-horizontal #klara-video {
    width: inherit !important;
    height: inherit !important;
    position: absolute;
    top: 0;
    object-fit: cover !important;
  }

  #klara-watermark svg {
    width: 75px;
  }
}

.klara-left-top {
  left: 20px;
  top: 20px;
}

.klara-left-center {
  top: 50%;
  margin-top: 0px;
  margin-left: 20px;
  transform: translate(0%, -50%);
}

.klara-left-bottom {
  left: 20px;
  bottom: 20px;
}

.klara-right-top {
  right: 20px;
  top: 20px;
}

.klara-right-center {
  top: 50%;
  transform: translate(0%, -50%);
  right: 20px;
}

.klara-right-bottom {
  right: 20px;
  bottom: 20px;
}

.klara-centr {
  margin: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.klara-centr-bottom {
  margin: 0;
  left: 50%;
  transform: translate(-50%, 0%);
}

.klara-centr-top {
  right: 50%;
  top: 20px;
  transform: translate(50%, 0%);
}

.klara-expanded-vertical #klara-video {
  width: 180px;
  height: 320px;
  object-fit: cover;
}

.klara-expanded-horizontal #klara-video {
  width: 320px;
  height: 180px;
  object-fit: cover;
}

#klara-video-container #klara-video-trigger {
  border: none;
  cursor: pointer;
  color: #fff;
  flex: 1;
  background: transparent;
  text-transform: none;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: sans-serif;
  width: 100%;
  height: 100%;
  font-size: 15px !important;
  overflow: hidden;
  position: relative;
  padding: 0 3px;
  align-items: flex-end;
}

#klara-video-container #klara-video-close {
  background: transparent !important;
  padding: unset;
  border: none;
  position: absolute;
  cursor: pointer;
  z-index: 10;
  top: 4px;
  right: 4px;
}

#klara-video-container #klara-captions {
  min-width: 2em;
  min-height: 2em;
  max-height: 2em;
  min-height: 2em;
  width: 2em;
  height: 2em;
  border: none;
  background: white;
  color: #fff;
  z-index: 10;
  cursor: pointer;
}

.captions-button-video-opened {
  background: url("captions.png") no-repeat !important;
  width: 2em !important;
  max-width: 2em !important;
  max-height: 2em !important;
  top: 14% !important;
  right: 5% !important;
  opacity: 40% !important;
  position: absolute;
}

.captions-button-disabled {
  background: url("captions.png") no-repeat !important;
  width: 2em !important;
  max-width: 2em !important;
  max-height: 2em !important;
  top: 14% !important;
  right: 5% !important;
  opacity: 40% !important;
  cursor: not-allowed!important;
  pointer-events: none!important;
  position: absolute;
}

.captions-enabled {
  opacity: 100% !important;
}

video::cue {
  font-size: 16px !important;
  background-color: rgba(0, 0, 0, 0.4) !important;
  line-height: 130%;
  -webkit-transform: translateY(10%) !important;
  transform: translateY(10%) !important;
  color: #fff;
}

video::-webkit-media-text-track-display {

  padding-left: 10px !important;
  padding-right: 10px !important;
}

.klara-subtitles {

}

.position-left {
  left: -10px !important;
}

.position-right {
  left: -10px !important;
}

.svg-button {
  color: #fff;
  border: none;
  background: transparent;
  margin: 0px;
  cursor: pointer;
  opacity: .7;
}

.svg-button svg {
  fill: currentColor;
  height: 40px !important;
  width: 40px !important;
}

.klara-hidden {
  background: transparent !important;
}

.klara-player-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  display: flex;
  z-index: 1;
}

.klara-playback {
  border: none;
  height: 100%;
  width: 100%;
  z-index: 1;
  opacity: .5;
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
  color: #fff;
  background: transparent;
  text-shadow: 0px 2px;
}

.klara-playback svg {
  fill: currentColor;
  height: 32px;
  width: 32px;
}

.klara-hidden2 {
  display: none !important;
}

.klara-time-controls {
  height: 60px;
  flex: 1;
  display: flex;
  flex-flow: column;
}

.klara-progress-wrapper {
  height: 20px;
  margin: 0 1.2rem;
  display: flex;
  align-items: flex-end;
}

.klara-progress {
  width: 100%;
  background: white;
  border-radius: 6px;
  height: 6px;
  transform: translateX(-100%);
}

/* width needs to be changed when captions are done */
.klara-progress-container {
  height: 6px;
  width: 85%;
  background: rgba(255, 255, 255, .5);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}

.klara-time-wrapper {
  color: #fff;
  text-shadow: 0px 2px rgba(0, 0, 0, .4);
  font-weight: 300;
  font-size: 1rem;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  flex: 1;
  display: flex;
  padding: 0 1.5rem;
  justify-content: space-between;
  align-items: center;
}

#klara-video-prev {
  position: absolute;
  z-index: 1;
  left: 0%;
}

#klara-video-next {
  position: absolute;
  z-index: 1;
  right: 0%;
}

.klara-video-loader {
  color: white;
  left: 60px;
  top: 60px;
  display: inline-block;
  position: relative;
  width: 40px;
  height: 40px;
  z-index: 1;
  border-radius: 50%;
  transform-origin: center center;
  animation: spinner 1.2s linear infinite;
  border: solid 3px #666;
  border-top: solid 3px #fff;
}

#klara-watermark {
  z-index: 1;
  position: absolute;
  top: 9px;
  left: 6px;
  margin: .3rem .6rem;
  line-height: 1.3rem;
}

#klara-watermark span {
  text-transform: uppercase;
  font-size: .6rem;
}

#klara-watermark svg {
  width: 70px;
}

#klara-watermark a {
  text-decoration: none;
  color: #fff;
}

#klara-watermark a p {
  margin: 0;
  font-size: 2rem;
}

#klara-watermark img {
  margin-top: -15px;
  margin-left: -4px;
}

@keyframes spinner {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.klara-video-trigger {
  stroke: currentColor;
  opacity: 50%;
}

.klara-open-Rounded, .klara-open-Square {
  border-radius: 15px !important;
}

.klara-open-Circular {
  border-radius: 30px !important;
}

.klara-open-Rectangular {
  border-radius: 0px!important;
}

.klara-collapsed-Rounded {
  border-radius: 3px !important;
}

.klara-collapsed-Circular {
  border-radius: 20px !important;
}

.klara-collapsed-Circular #klara-video-trigger {
    /* if circular and video collapsed then removing padding bottom */
    padding-bottom: 0!important;
}

.klara-collapsed-Rectangular {
  border-radius: 0px!important;
}

.klara-video-loader-container{
  background-size: 160px !important;
  height : 160px;
  width : 160px;
}

.klara-video-loader-container-mobile{
  background-size: 100px !important;
  height : 100px;
  width : 100px;
}

.klara-preview-video {
  object-fit: cover;
  border-radius: inherit;
  width: inherit;
  height: inherit;
  position: absolute;
  top: 0;
  z-index: -1;
}

.klara-review-icon-text-container {
  padding-bottom:13px;
  font-size:12px;
  font-weight: 700;
  font-family: 'DM Sans' !important;
  display: flex;
  align-items: center;
}

#klara-video {
  transition: opacity 0.3s linear;
}