section {
    margin-bottom: 40px;
}

pre {
    display: block;
    padding: 9.5px;
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.42857143;
    color: #333;
    word-break: break-all;
    word-wrap: break-word;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 4px;
}
img {
    max-width: 100%;
}

iframe {
    width: 100%;
}

.d-none {
    display: none;
}
.box-iframe {
    position: relative;
    z-index: 0;
    top: 50%;
    height: 0;
    overflow: hidden;
    padding-bottom: 56.25%;
    margin-top: -18.125%;
}

.box-iframe iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.modal-dialog {
    max-width: 900px;
}

/* ============================ */

.iframe-video {
    position: relative;
    padding-bottom: 56.25%;
}

.iframe-video iframe {
    /*width: 100%;
    height: 303px;*/
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.iframe-video .overlay-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    cursor: pointer;
}

.iframe-video .overlay-img:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-image: url(../images/icons/btn-play.svg);
    background-repeat: no-repeat;
    background-size: 60px;
    background-position: center center;
    z-index: 3;
}

.video-iframe {
    position: relative;
    height: 0;
    overflow: hidden;
    padding-bottom: 76.25%;
    padding-top: 30%;
}

.video-iframe iframe,
.video-iframe object,
.video-iframe embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Video */
.section-video .box-video {
    position: relative;
}
.section-video .box-video:after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-image: url(../images/bg-video.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    pointer-events: none;
    z-index: 3;
}
.section-video .box-video.video-play:after {
    display: none;
}
.section-video .box-video video {
    width: 100%;
}
