.atg-player,
.atg-player__audio-player {
    width: 100%;
    height: 100%;
}

.atg-player {
    position: relative;
}

.atg-player__video {
    width: 100%;
    height: 100%;
}

.atg-player video {
    background-color: #000;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.controls {
    background: linear-gradient(to bottom, rgba(5, 15, 25, 0) 0%, rgba(5, 15, 25, 0.8) 67%, rgba(5, 15, 25, 0.8) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00050f19', endColorstr='#cc050f19', GradientType=0);
    bottom: 0;
    position: absolute;
    width: 100%;
    z-index: 2;
}

.controls__wrapper {
    display: block;
    position: relative;
    bottom: 0;
    padding-top: 42px;
}

.controls__bar {
    padding: 8px 8px 15px;
    height: 38px;
    position: relative;
}

.progressBar {
    cursor: pointer;
    height: 20px;
    position: relative;
}

.progressBar__wrapper,
.progressBar__container,
.progressBar__progress {
    height: 2px;
}

.progressBar:hover .progressBar__wrapper,
.progressBar:hover .progressBar__container,
.progressBar:hover .progressBar__progress {
    height: 4px;
}

.progressBar__wrapper {
    position: absolute;
    top: 13px;
    width: 100%;
}

.progressBar:hover .progressBar__wrapper {
    top: 12px;
}

.progressBar__container {
    background-color: rgba(255, 255, 255, 0.3);
}

.progressBar__progress {
    background-color: #1575d6;
    position: relative;
    top: -2px;
    z-index: 1;
}

.progressBar:hover .progressBar__progress {
    top: -4px;
}

.progressBar__highlight {
    display: none;
    width: 2px;
    height: 100%;
    background-color: #fff;
    position: absolute;
    top: 0;
    z-index: 1;
}

.progressBar:hover .progressBar__highlight {
    display: inline-block;
}

.positionTooltip {
    display: none;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 4px;
    color: #999;
    font-size: 10px;
    padding: 7px;
    position: absolute;
    bottom: 15px;
    z-index: 2;
    margin-left: -16px;
}

.progressBar:hover .positionTooltip {
    display: inline;
}

.progressBar__scrubber {
    background-color: #636363;
    border: 4px solid #fff;
    border-radius: 8px;
    cursor: pointer;
    display: none;
    width: 16px;
    height: 16px;
    top: -13px;
    margin-left: -6px;
    position: relative;
    z-index: 1;
}

.progressBar:hover .progressBar__scrubber {
    display: inline-block;
}

.control-button {
    position: relative;
    margin: 0 5px;
}

.control-button__icon {
    cursor: pointer;
    fill: #fff;
    opacity: 0.7;
}

.touch .qualities {
    font-size: 16px;
}

.touch .control-button__icon {
    margin: 0 0.4em;
    transform: scale(1.2);
}

.control-button__icon:hover {
    opacity: 1;
}

.control-button__tooltip {
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 4px;
    color: #999;
    font-size: 10px;
    text-transform: uppercase;
    padding: 7px;
    position: absolute;
    bottom: 40px;
    z-index: 2;
    left: -15px;
    white-space: nowrap;
}

.control-button__tooltip--right {
    right: -5px;
    left: auto;
}

.control-button__hit-area {
    height: 30px;
    width: 80%;
    position: absolute;
}

.control-button__hit-area--right {
    right: 0;
}

.volume-slider {
    cursor: pointer;
    height: 100px;
    width: 4px;
    background-color: rgba(255, 255, 255, 0.7);
    margin: 13px;
    position: relative;
}

.volume-slider__wrapper {
    cursor: pointer;
    position: absolute;
    bottom: 0;
    height: 100%;
    width: 100%;
}

.volume-slider__volume {
    background-color: #1575d6;
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 1;
}

.volume-slider__scrubber {
    background-color: #636363;
    border: 4px solid #fff;
    border-radius: 8px;
    cursor: pointer;
    display: inline-block;
    width: 16px;
    height: 16px;
    position: absolute;
    margin-left: -6px;
    z-index: 1;
}

.qualities {
    color: #999999;
    font-size: 13px;
    list-style: none;
    margin: 0;
    padding: 0 6px;
    text-transform: none;
}

.qualities__quality {
    cursor: pointer;
    margin: 10px 0;
}

.qualities__quality:hover {
    color: #fff;
}

.qualities__quality--selected {
    color: #fff;
}

.controls__position {
    color: #ccc;
    font-size: 12px;
    line-height: 18px;
    margin-left: 7px;
    vertical-align: top;
}

.controls__right-side {
    float: right;
    position: relative;
    white-space: nowrap;
}

.big-play {
    width: 50px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    cursor: pointer;
    z-index: 2;
}

.big-play__background {
    opacity: 0.7;
}

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

.big-play__icon {
    fill: #fff;
}

.atg-player .preview-image {
    cursor: pointer;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: #000 no-repeat 50% 50%;
    background-size: contain;
    z-index: 1;
}
