video.bgvid { 
    background-size: cover;
    height: auto;
    min-height: 100%;
    min-width: 100%;
    position: absolute;
    width: 100%;
    z-index: -100;
}


/*--------------------------------------------------
	Video Player
---------------------------------------------------*/	
	
.hero-video-wrapper {
    position: fixed;
    box-sizing: border-box;
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: auto;
    background-size: cover;
    padding:0;
    overflow:hidden!important;
    opacity:1;		
}

.hero-video-wrapper video.bgvid {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    transform: translateX(-50%) translateY(-50%);
      background-size: cover;
}

.video-wrapper {
    position: relative;
    box-sizing: border-box;
    min-width: 100%;
    max-height: 100vh;
    width: 100%;
    height: auto;
    background-size: cover;
    padding:0;
    overflow:hidden!important;
    opacity:1;
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    -o-transform: translateY(0px);
    -ms-transform: translateY(0px);
    transform: translateY(0px);
}

.video-cover {
    position:absolute;
    width:100%;
    height:100%;
    top:0;
    left:0;
    z-index:100;
    cursor:pointer;
    background-size:cover;
    background-repeat:no-repeat;
    -webkit-transition: opacity 0.3s ease-out 0.05s, height 0s ease-out 0s;
    transition: opacity 0.3s ease-out 0.05s, height 0s ease-out 0s;
}

.video-cover.hidden {
    opacity:0;
    height: calc(100% - 50px);
    -webkit-transition: opacity 0.3s ease-out, height 0s ease-out 0.3s;
    transition: opacity 0.3s ease-out, height 0s ease-out 0.3s;
}

video.bgvid { 
    background-size: cover;
    height: auto;
    min-height: 100%;
    min-width: 100%;
    position: absolute;
    width: 100%;
    z-index: -100;
}

.video-wrapper video.bgvid {
    position: relative;
}

.full .video-wrapper video.bgvid {
    position: relative;
    margin-top: 50vh;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.control {
    bottom: 25px;
    color: #ccc;
    display: none;
    left: 0;
    position: absolute;
    width: calc(100% - 40px);
    z-index: 5;
    background-color: #eee;
    padding: 0;
    box-sizing: border-box;
    right: 0;
    margin: 0 auto;
}

.full .control {
    bottom: 10px;
    width: calc(100% - 160px);
}

.btmControl{
    clear:both;
}

.control .sound{
    width: 30px;
    height: 50px;
    float:left;
    cursor:pointer;
    text-align:center;
    line-height:50px;
    color:#fff;
    opacity:0.4;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.control .sound:hover {
    opacity:1;
}

.control .sound i {
    line-height:50px;
}

.control .sound.muted i:first-child {
    display:none;
}

.control .sound.muted i:last-child {
    display:block;
}

.control .sound i:last-child {
    display:none;
}

.control .btnFS{
    width: 50px;
    height: 50px;
    float:left;
    cursor:pointer;
    text-align:center;
    line-height:50px;
    color:#fff;
    opacity:0.4;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.control .btnFS:hover{
    opacity:1;
}

.progress-bar {
    background: rgba(255,255,255,0.5);
    box-sizing: border-box;
    float: left;
    height: auto;
    width: calc(100% - 123px);
    cursor: pointer;
    bottom: 23px;
    position: absolute;
    left: 23px;
    opacity:0;
    -webkit-transition: opacity 0.2s ease-in-out;
    -moz-transition: opacity 0.2s ease-in-out;
    -o-transition: opacity 0.2s ease-in-out;
    -ms-transition: opacity 0.2s ease-in-out;
    transition: opacity 0.2s ease-in-out;
}

.video-wrapper:hover .progress-bar {
    opacity:1;
}

.progress {
    height: 2px;
    max-width: 100%;
    position: relative;
    width: 100%;
}

.progress span {
    height:100%;
    position:absolute;
    top:0;
    left:0;
    display:block;
}

.timeBar{
    z-index:10;
    width:0;
    background: #fff;
}

.bufferBar{
    z-index:5;
    width:0;
    background: rgba(255,255,255,0.2);
}

.video-btns {
    position: absolute;
    right: 3px;
    bottom: 0px;
    opacity:0;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.video-wrapper:hover .video-btns {
    opacity:1;
}

.volume{
    position:relative;
    cursor:pointer;
    width:70px;
    height:10px;
    float:right;
    margin-top:10px;
    margin-right:10px;
}

.volumeBar{
    display:block;
    height:100%;
    position:absolute;
    top:0;
    left:0;
}

/* Custom CSS */
.text-tulua {
    color: #123822 !important;
}

