﻿audio, canvas, progress, video {
    display: inline-block;
    vertical-align: baseline;
}

.section_title {
    text-align: center;
    padding: 30px 0 0;
    position: relative;
    z-index: 999;
    display: block;
    text-transform: uppercase;
}

.title_one {
    color: #333333;
    font-size: 14px;
}

.title_two {
    color: #2d7fc7;
    font-size: 40px;
    font-weight: 700;
    display: block;
    line-height: 50px;
}

#section_service .effect_title {
    padding: 60px 0 20px;
}

    #section_service .effect_title .after-effet1:before {
        z-index: 2;
    }

#section_service .title_one {
    font-size: 14px;
    color: rgba(170, 170, 170, 0.8);
    font-weight: 400;
    margin-bottom: 8px;
    letter-spacing: 4px;
    display: block;
}

#section_service .title_two {
    text-transform: uppercase;
    color: #fff;
    font-size: 40px;
    font-weight: 400;
    letter-spacing: 4px;
}

#section_video .wrap_video iframe {
    max-width: none;
    top: 50% !important;
    transform: translateY(-50%);
    position: absolute;
}

#section_video .wrap_video .section_title .title_one,
#section_video .wrap_video .section_title .title_two {
    color: #fff;
}

.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
    table-layout: fixed;
}

.clearfix:after {
    clear: both;
}

.video {
    display: block;
    height: 800px;
    width: auto;
    object-fit: fill;
}

@media (max-width: 1200px) {
    .video {
        height: 700px;
    }
}

.buttonBar {
    display: none;
}

.mb_YTPProgress {
    display: none;
}

.wrap_video .video_wrap .play-pause-video {
    position: absolute;
    width: 82px;
    height: 82px;
    z-index: 2222;
    background: #2d7fc7;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border: 0;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    text-align: center;
    text-shadow: none;
    -webkit-text-shadow: none;
    -moz-text-shadow: none;
    outline: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 auto;
    padding-left: 12px;
}

.wrap_video .play-pause-video:before {
    content: '\f04b';
    font-family: Fontawesome;
    font-size: 37px;
    background: transparent;
    color: #ffffff;
    padding: 0;
}

.wrap_video {
    position: relative;
}

    .wrap_video .mb_YTPBar {
        background: transparent;
    }

    .wrap_video .section_title {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        text-align: center;
    }

    .wrap_video .video_wrap:after {
        position: absolute;
        content: '';
        background: url('../images/video-overlay.png') repeat;
        z-index: 99;
        height: 100%;
        width: 100%;
        top: 0;
        left: 0;
    }

    .wrap_video .section_title.play,
    .wrap_video .play-pause-video.play,
    .wrap_video .play:after {
        display: none;
    }

    #section_service .service_slider.owl-carousel,
    .wrap_video .video_wrap .play-pause-video {
        background: #005f69;
    }

@media (max-width: 768px) {
    .video {
        object-fit: cover;
    }

    .title_two,
    #section_service .title_two {
        font-size: 20px;
    }

    #container-1 {
        position: relative;
        width: 100%;
        padding-bottom: 56.25%; /* 16:9 ratio */
        height: 0;
    }

        #container-1 .YTPWrapper {
            position: absolute !important;
            top: 0;
            left: 0;
            width: 100% !important;
            height: 100% !important;
        }

    .wrap_video .video_wrap .play-pause-video {
        width: 60px;
        height: 60px;
        top: 65%;
    }


    .wrap_video .play-pause-video:before {
        font-size: 27px;
    }

    .wrap_video .section_title {
        top :0;
    }
}