.video-widget {
    position: fixed;
    left: 0;
    z-index: 999999;
    bottom: 0
}

.video-widget__container {
    font-family: Helvetica;
    z-index: 999999;
    overflow: hidden;
    border-style: solid;
    background: #eee;
    -webkit-transition: width .3s ease-in-out 0s, height .3s ease-in-out 0s, bottom .3s ease-in-out 0s, border-color .2s ease-in-out 0s, opacity 1s ease-in-out 0s, -webkit-transform .2s ease-in-out 0s;
    transition: width .3s ease-in-out 0s, height .3s ease-in-out 0s, bottom .3s ease-in-out 0s, border-color .2s ease-in-out 0s, opacity 1s ease-in-out 0s, -webkit-transform .2s ease-in-out 0s;
    -o-transition: width .3s ease-in-out 0s, height .3s ease-in-out 0s, bottom .3s ease-in-out 0s, border-color .2s ease-in-out 0s, opacity 1s ease-in-out 0s, -o-transform .2s ease-in-out 0s;
    -moz-transition: transform .2s ease-in-out 0s, width .3s ease-in-out 0s, height .3s ease-in-out 0s, bottom .3s ease-in-out 0s, border-color .2s ease-in-out 0s, opacity 1s ease-in-out 0s, -moz-transform .2s ease-in-out 0s;
    transition: transform .2s ease-in-out 0s, width .3s ease-in-out 0s, height .3s ease-in-out 0s, bottom .3s ease-in-out 0s, border-color .2s ease-in-out 0s, opacity 1s ease-in-out 0s;
    transition: transform .2s ease-in-out 0s, width .3s ease-in-out 0s, height .3s ease-in-out 0s, bottom .3s ease-in-out 0s, border-color .2s ease-in-out 0s, opacity 1s ease-in-out 0s, -webkit-transform .2s ease-in-out 0s, -moz-transform .2s ease-in-out 0s, -o-transform .2s ease-in-out 0s;
    outline: 0;
    cursor: pointer;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-box-shadow: rgba(0, 0, 0, .2) 0 10px 20px;
    box-shadow: rgba(0, 0, 0, .2) 0 10px 20px;
    position: absolute;
    left: 20px;
    bottom: 50px;
    border-radius: 20px;
    border-width: 5px;
    width: 130px;
    height: 180px;
    border-color: #fff
}

.video-widget__container:hover {
    -webkit-transform: scale(1.05) translate(5px, -5px);
    -moz-transform: scale(1.05) translate(5px, -5px);
    -ms-transform: scale(1.05) translate(5px, -5px);
    -o-transform: scale(1.05) translate(5px, -5px);
    transform: scale(1.05) translate(5px, -5px);
    border-color: #ffd24a
}

.video-widget.video-widget[data-state=opened] .video-widget__container:hover {
    -webkit-transform: unset;
    -moz-transform: unset;
    -ms-transform: unset;
    -o-transform: unset;
    transform: unset;
}

.video-widget.video-widget[data-state=default] .copyright {
    display: none;
}

.video-widget.video-widget[data-state=default] .video-widget__button {
    display: none;
}

.video-widget.video-widget[data-state=default] .video-widget__volume-control {
    display: none;
}

.video-widget.video-widget[data-state=default] .time-remaining {
    display: none;
}
.video-widget.video-widget[data-state=default] .video-widget__play-icon img {
    width: 50px;
}

.video-widget__video {
    -o-object-fit: cover;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    z-index: 200;
    -webkit-transition: opacity .4s ease-in-out 0s;
    -o-transition: opacity .4s ease-in-out 0s;
    -moz-transition: opacity .4s ease-in-out 0s;
    transition: opacity .4s ease-in-out 0s;
    opacity: .9
}

.video-widget__close {
    position: absolute;
    top: 14px;
    right: 6px;
    width: 20px;
    height: 20px;
    z-index: 250;
    opacity: 0;
    -webkit-transition: opacity .2s ease-in-out 0s, -webkit-transform .3s ease-in-out 0s;
    transition: opacity .2s ease-in-out 0s, -webkit-transform .3s ease-in-out 0s;
    -o-transition: opacity .2s ease-in-out 0s, -o-transform .3s ease-in-out 0s;
    -moz-transition: transform .3s ease-in-out 0s, opacity .2s ease-in-out 0s, -moz-transform .3s ease-in-out 0s;
    transition: transform .3s ease-in-out 0s, opacity .2s ease-in-out 0s;
    transition: transform .3s ease-in-out 0s, opacity .2s ease-in-out 0s, -webkit-transform .3s ease-in-out 0s, -moz-transform .3s ease-in-out 0s, -o-transform .3s ease-in-out 0s
}

.video-widget__close:after,
.video-widget__close:before {
    position: absolute;
    left: 9px;
    top: 1px;
    content: " ";
    height: 18px;
    width: 2px;
    background: #fff;
    -webkit-box-shadow: rgba(0, 0, 0, .5) 1px 1px 10px;
    box-shadow: rgba(0, 0, 0, .5) 1px 1px 10px
}

.video-widget__close:before {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg)
}

.video-widget__close:after {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg)
}

.video-widget__container:hover .video-widget__close {
    opacity: .5
}

.video-widget.video-widget[data-state=opened] .video-widget__container {
    width: 280px;
    height: 500px;
    border-radius: 20px;
    border-color: #d6a149
}

.video-widget.video-widget[data-state=opened] .video-widget__close {
    opacity: .5
}

.video-widget.video-widget[data-state=opened] .video-widget__close:before {
    display: none
}

.video-widget.video-widget[data-state=opened] .video-widget__close:after {
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg)
}

.video-widget.video-widget[data-state=opened] .video-widget__close:hover {
    opacity: 1
}

.video-widget__button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    left: 20px;
    height: 50px;
    border-radius: 10px;
    z-index: 300;
    -webkit-box-shadow: rgba(0, 0, 0, .25) 0 4px 15px;
    box-shadow: rgba(0, 0, 0, .25) 0 4px 15px;
    text-align: center;
    -webkit-transition: opacity .3s ease-in-out 0s, background-color .2s ease-in-out 0s, -webkit-transform .2s ease-in-out 0s;
    transition: opacity .3s ease-in-out 0s, background-color .2s ease-in-out 0s, -webkit-transform .2s ease-in-out 0s;
    -o-transition: opacity .3s ease-in-out 0s, background-color .2s ease-in-out 0s, -o-transform .2s ease-in-out 0s;
    -moz-transition: transform .2s ease-in-out 0s, opacity .3s ease-in-out 0s, background-color .2s ease-in-out 0s, -moz-transform .2s ease-in-out 0s;
    transition: transform .2s ease-in-out 0s, opacity .3s ease-in-out 0s, background-color .2s ease-in-out 0s;
    transition: transform .2s ease-in-out 0s, opacity .3s ease-in-out 0s, background-color .2s ease-in-out 0s, -webkit-transform .2s ease-in-out 0s, -moz-transform .2s ease-in-out 0s, -o-transform .2s ease-in-out 0s;
    visibility: hidden;
    background-color: #d6a149;
    font-size: 14px;
    font-family: Helvetica;
    color: #000;
    text-align: center;
    vertical-align: middle;
    line-height: 50px;
    text-transform: uppercase;
    opacity: 0
}

.video-widget__button:hover {
    background-color: #ffe257;
    text-decoration: none
}

.video-widget.video-widget[data-state=opened] .video-widget__button {
    opacity: 1;
    visibility: visible
}

@media only screen and (max-width:1023px) {
    .video-widget__close {
        opacity: .5
    }
}

@media only screen and (max-width:479px) {
    .video-widget__container {
        left: 15px;
        bottom: 15px;
        width: 90px;
        height: 125px
    }
}

.video-widget__button {
    color: #000000 !important;
    text-decoration: none;
}

.time-remaining {
    position: absolute;
    top: 1em;
    left: 10px;
    color: white;
    opacity: unset;
    padding: 5px;
    border-radius: 3px;
    font-family: Arial, sans-serif;
    font-size: 0.7em;
    background: none;
    z-index: 201;
}

.video-widget__volume-control {
    position: absolute;
    right: 14px;
    top: 50px;
    width: 3px;
    height: 100px;
    background-color: rgb(199 199 199 / 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    /* transform: rotate(-90deg); */
    /* transform-origin: right bottom; */
    z-index: 201;
}

.video-widget__volume-control input[type="range"] {
    all: initial;
    width: 100px;
    transform: rotate(-90deg);
}

#volume-slider:hover::-webkit-slider-thumb {
    width: 12px;
    height: 12px;
}
#volume-slider:hover::-moz-range-thumb {
    width: 12px;
    height: 12px;
}
#volume-slider:hover::-ms-thumb {
    width: 12px;
    height: 12px;
}
#volume-slider {
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  outline: 0;
  width: 100px;
  background: #e3e3e3;
}

#volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 5px;
  height: 5px;
  border-radius: 10%;
  background: #747474;
  cursor: pointer;
}

#volume-slider::-moz-range-thumb {
  width: 5px;
  height: 5px;
  border-radius: 10%;
  background: #747474;
  cursor: pointer;
}

#volume-slider::-ms-thumb {
  width: 5px;
  height: 5px;
  border-radius: 10%;
  background: #747474;
  cursor: pointer;
}

.copyright {
    position: absolute;
    bottom: 4px;
    left: 10px;
    color: white;
    font-family: Arial, sans-serif;
    text-align: center;
    font-size: 0.5em;
    width: 93%;
    z-index: 201;
    margin: 0 auto;
    text-shadow: 1px 1px 3px black;
}
.video-widget__play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    display: none;
    color: white;
    pointer-events: none;
    z-index: 200;
}
.video-widget__progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 7px;
    background-color: #e3e3e3;
    z-index: 201;
}
.video-widget__progress-bar:hover {
    height: 15px;
}

.video-widget__progress {
    height: 100%;
    background-color: #7e7d7d;
    width: 0;
}
.video-widget__progress-bar:hover .video-widget__progress {
    background-color: #ff0000 !important;
}