/*
Reset values
*/
html,
body {
    height: 100%;
}

#CBS_clip_swf_container {
    height: 0;
}

/* +++++++++++++++++++++ CLIP PLAYER COMPONENT +++++++++++++++++++++ */

.navbar {
    border: 0;
}

.navbar-fixed-bottom {
    background: rgba(0, 0, 0, 0.7);
    height: 60px;
}

.brand-bottom {
    background: url("../images/controls-palette.png") no-repeat -50px -200px;
    bottom: 5px;
    display: block;
    height: 12px;
    margin: 4px 10px auto auto;
    position: absolute;
    right: 0;
    width: 56px;
}

.main-container {
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center center;
    border-radius: 1px solid #000;
    height: 100%;
}

#default-wallpaper {
    background: url("../images/default-wallpaper.jpg") repeat;
    -webkit-background-size: auto;
    -moz-background-size: auto;
    -o-background-size: auto;
    background-size: auto;
    overflow: hidden;
}

#clip-title {
    margin-right: 60px;
    padding: 0;
}

#clip-title span {
    background: rgba(0,0,0,0.5);
    padding: 5px;
    color: #fff;
    font: 800 20px/1.6em Arial, sans-serif;
    text-transform: capitalize;
    letter-spacing: 1px;
    word-wrap: break-word;
}

.play-btn {
    background: url("../images/controls-palette.png") no-repeat;
    border: none;
    float: left;
    height: 51px;
    margin: -45px -10px 0 10px;
    width: 55px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.pause-btn {
    background-position: 0 -100px;
}

.loading{background-image:url("../images/loading-black.gif");background-repeat:no-repeat;background-position:3px 3px;background-size:45px 45px;border:solid 2px #fff;width:55px;height:55px;background-color:#000;-webkit-border-radius:27.5px;-moz-border-radius:27.5px;border-radius:27.5px}

.cover-art {
    background-color: #000;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    float: left;
    height: 36px;
    margin-top: -35px;
    margin-left: 20px;
    width: 36px;
}

.scrubber-bar {
    background: #000;
    float: left;
    height: 35px;
    padding: 0 35px 0 111px;
    width: 100%;
}
.scrubber-bar .buffer,
.scrubber-bar .user-progress,
.scrubber-bar .description,
.scrubber-bar .progress,
.scrubber-bar .progress-container {
    display: block;
    float: left;
    height: 36px;
    position: absolute;
    z-index: 0;
}
.scrubber-bar .progress {
    border-radius: 0;
}
.scrubber-bar .buffer {
    max-width: 100%;
    opacity: 0.9;
    height: 100%;
}

.progress-bar {
    background-color: #4D4D4D;
}

.progress-bar-warning {
    background-image: none;
    background-color: #4D4D4D;
}

.progress-bar-striped {
    background-image: -webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);
    background-image: -o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);
    background-image: linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);
}

.scrubber-bar .buffer:hover,
.scrubber-bar .progress-container:hover,
.scrubber-bar .user-progress:hover,
.tooltip:hover,
.play-btn:hover,
.volume-icon:hover,
.addthis-button:hover {
    cursor: pointer;
}
.scrubber-bar .progress-container {
    width: calc(100% - 145px);
}
.scrubber-bar .user-progress {
    position: relative;
    background: #000;
    opacity: 0.3;
    border-right: 1px solid #636363;
    max-width: 100%;
    border-radius: 0;
}
.scrubber-bar .tooltip-container {
    position: relative;
}
.scrubber-bar .tooltip {
    position: absolute;
    width: auto;
    opacity: 1;
}
.scrubber-bar .tooltip-inner {
    background: #fff;
    color: #000;
    font-weight: 600;
}
.scrubber-bar .tooltip.top {
    z-index: 0;
}
.scrubber-bar .tooltip.top .tooltip-arrow {
    border-top-color: #fff;
}
.scrubber-bar .description {
    position: absolute;
    color: #fff;
    font: 500 16px/35px Arial, sans-serif;
    padding: 0 10px;
    max-width: 100%;
    overflow-y: hidden;
}

/* +++++++++++++++++++++ ERROR OVERLAY COMPONENT +++++++++++++++++++++ */

.clip_error_overlay{background:#333;height:100%;padding-top:28.1%;position:fixed;text-align:center;width:100%;z-index:15000;top:0;}
.clip_error_overlay>div{position:absolute;top: calc(50vh - 70px);left: calc(50vw - 126px);color:#fff;}
.clip_error_overlay h3{font-size:22px;line-height:1.2em;font-weight:300;}
.clip_error_overlay h4{font-size:14px;line-height:1.2em;margin-top:26px}
.clip_error_overlay h4 a,
.clip_error_overlay h4 a:hover,
.clip_error_overlay h4 a:visited,
.clip_error_overlay h4 a:active{color: #fff; text-decoration: underline;}

/* +++++++++++++++++++++ SOCIAL OVERLAY COMPONENT +++++++++++++++++++++ */

.addthis-button {
    /*background-color: #EC971F;*/
    background-color: rgb(252, 109, 76);
    background-image: url("../images/controls-palette.png");
    background-repeat: no-repeat;
    background-position: -137px -183px;
    height: 35px;
    overflow: visible;
    text-indent: -10000px;
    width: 35px;
    position: absolute;
    right: 0;
    top: 0;
}

.modal-dialog {
    width: 300px;
    margin: auto;
    margin-top: calc(50vh - 100px);
}

.modal-dialog textarea {
    width: calc(300px * 5 / 6 - 32px);
    resize: none;
}

.share-label {
    font-weight:800;
}

.modal-dialog .row:first-of-type .share-label {
    line-height: 3.5em;
}

.modal-dialog .row:last-of-type .share-label {
    line-height: 4.5em;
}

.modal-dialog .at-share-tbx-element.addthis_32x32_style .at-share-btn, .modal-dialog .at-share-tbx-element.addthis_32x32_white_style .at-share-btn, .modal-dialog .at-share-tbx-element .at-share-btn {
    margin: 0;
    max-width: calc((300px * 5 / 6 - 32px) / 6);
    max-height: calc((300px * 5 / 6 - 32px) / 6);
}

.modal-dialog .at-icon-wrapper, .modal-dialog .addthis_32x32_style .at-icon {
    width: calc((300px * 5 / 6 - 32px) / 6) !important;
    height: calc((300px * 5 / 6 - 32px) / 6) !important;
}

.modal-dialog .modal-header {
    padding: 0;
    border-bottom: none;
    min-height: 40px;
}

.modal-header .close {
    padding: 10px;
}

.modal-body {
    padding: 0 15px 15px 15px;
}

/* +++++++++++++++++++++ VOLUME UI COMPONENT +++++++++++++++++++++ */

.volume-icon, .volume-icon:hover {
    background-color: #000;
    border-left: solid 1px #666;
    float: right;
    height: 35px;
    position: absolute;
    right: 0;
    width: calc(35px + 1px);
    box-sizing: border-box;
    z-index: 2;
    color: #fff;
}

.glyphicon {
    font-size: 23px;
    padding: 6px 7px;
    top: 0;
}

.glyphicon-volume-down {
    padding: 6px 9px;
}

.glyphicon-remove {
    color: #000;
    padding: 6px;
}

#vol-slider, .slider.slider-vertical, #mute {
    display: none;
}

.slider {
    display: inline-block;
}

#mute {
    display: inline-block;
    width: 36px;
    height: 20px;
    font-size: 11px;
    text-transform: uppercase;
    color: #000;
    z-index: 1;
    position: absolute;
    top: -25px;
    padding-left: 3px;
    right: 0;
    cursor: pointer;
}

.slider.slider-vertical {
    display: inline-block;
    width: 35px;
    float: right;
    margin-top: calc(-52vh - 35px);
    height: 52vh;
    background: #ccc;
    z-index: 1;
}

.slider.slider-vertical .slider-track {
    height: calc(100% - 40px);
    top: 8px;
    border-radius: 0;
    width: 20px;
    margin-left: -10px;
}

.slider-handle, .slider-selection {
    display: none;
}

.slider-track-high {
    background: rgba(0,0,0,0.8);
    border-radius: 0;
}


/*|||||||||||||||||||||||||||||||||||||||||||||||||| MOBILE STYLES |||||||||||||||||||||||||||||||||||||||||||||||||*/


/* +++++++++++++++++++++ CLIP PLAYER COMPONENT +++++++++++++++++++++ */
.mobile.navbar-fixed-bottom {
    height: calc(8vh + 23px);
}

.mobile.scrubber-bar, .mobile.progress-container {
    height: calc(100% - 23px);
}

.mobile.scrubber-bar {
    padding-left: calc(20vh + 10px);
}

.mobile.progress-container {
    width: calc(100% - 20vh - 9vw - 10px);
}

.mobile.progress-container .user-progress {
    height: 100%;
    background: #FFF;
}

.mobile.description {
    font-size: 2.8vh;
    line-height: 100%;
    height: 100%;
}

.mobile.play-btn {
    background: url("../images/play-btn.png") no-repeat;
    height: 12vh;
    margin: -10.3vh 0 0 0;
    width: 12vh;
    background-size: contain;
}

.mobile.pause-btn {
    background: url("../images/pause-btn.png") no-repeat;
    background-size: contain;
}

.mobile.cover-art {
    height: 8vh;
    margin-top: calc(-8vh + 1px);
    margin-left: 10px;
    width: 8vh;
}

.mobile.tooltip .tooltip-inner {
    max-width: 120px;
    width: 90px;
    height: 46px;
    margin-top: -50px;
    font-size: 30px;
    margin-left: -27px;
}

.mobile.tooltip .tooltip-arrow {
    margin-left: -32px;
    border-width: 20px 20px 0;
    margin-bottom: -2px;
}

.mobile.tooltip.top {
    top: -10px !important;
}

.mobile.loading{
    background-image:url("../images/loading-black.gif");
    background-repeat:no-repeat;
    background-position:1px 1px;
    background-size:11vh 11vh;
    border:solid 2px #fff;
    height: 12vh;
    margin: -10.5vh 0 0 0;
    width: 12vh;
    background-color:#000;
    -webkit-border-radius:50%;
    -moz-border-radius:50%;
    border-radius:50%;
}

.mobile#clip-title {
    margin-right: 13vw;
}

.mobile#clip-title span {
    font: 800 7vh/1.2em Arial, sans-serif;
}

/* +++++++++++++++++++++ VOLUME UI COMPONENT +++++++++++++++++++++ */

.mobile.volume-icon {
    width: calc(9vw + 2px);
    height: calc(100% - 23px);
}

.mobile.volume-icon.glyphicon {
    font-size: 8vw;
    line-height: calc(12vh - 23px);
    padding: 0 3px;
}

.mobile.volume-icon.glyphicon-remove {
    padding: 2px;
}

.mobile.volume-icon.glyphicon-volume-down {
    padding: 0 1.5vw;
}

.mobile.slider-vertical {
    width: calc(9vw + 1px);
    margin-top: -59vh;
}

.mobile.slider-vertical .slider-track {
    width: 80%;
    left: 10%;
    margin: 0 0 0 0;
}

.mobile#mute {
    font-size: 3vw;
    width: 9vw;
    padding-left: 1px;
    top: -3vh;
}

/* +++++++++++++++++++++ SOCIAL OVERLAY COMPONENT +++++++++++++++++++++ */

.mobile.modal-dialog {
    width: 80vw;
    margin: auto;
    margin-top: calc(50vh - (400vw / 6) / 3);
    font-size: 3.2vw;
}

.mobile.modal-dialog .share-label {
    font-size: 3.2vw;
}

.mobile.modal-dialog .row:first-of-type .share-label {
    line-height: 3em;
}

.mobile.modal-dialog .at-share-tbx-element.addthis_32x32_style .at-share-btn, .mobile.modal-dialog .at-share-tbx-element.addthis_32x32_white_style .at-share-btn, .mobile.modal-dialog .at-share-tbx-element .at-share-btn {
    max-width: calc((400vw / 6 - 32px) / 6);
    max-height: calc((400vw / 6 - 32px) / 6);
}

.mobile.modal-dialog .at-icon-wrapper, .mobile.modal-dialog .addthis_32x32_style .at-icon {
    width: calc((400vw / 6 - 32px) / 6) !important;
    height: calc((400vw / 6 - 32px) / 6) !important;
}

.mobile.addthis-button {
    background-image: url("../images/add-this.png");
    background-size: cover;
    background-position: 0 0;
    height: 13vw;
    width: 13vw;
}

.mobile.modal-dialog textarea {
    word-wrap: break-word;
    width: calc(400vw / 6 - 32px);
    max-width: calc(400vw / 6 - 32px);
}











