﻿.article-detail {
    font-size: 16px;
    color: #394e79;
}

.article-detail * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.article-detail *:last-child {
    margin-bottom: 0px;
}

.article-detail a {
    color: #004689;
}

.article-detail p {
    line-height: 1.5;
    margin: 0px 0px 15px 0px;
    word-wrap: break-word;
}

.article-detail p:empty:before {
    content: ' ';
    white-space: pre;
}

.article-detail h1,
.article-detail h2,
.article-detail h3,
.article-detail h4,
.article-detail h5,
.article-detail h6 {
    margin: 20px 0px 15px 0px;
    font-weight: bold;
    line-height: 1.5;
}

@media only screen and (min-width: 576px) {
    .article-detail h1 {
        font-size: 22px;
    }
}

@media only screen and (max-width: 575px) {
    .article-detail h1 {
        font-size: 22px;
    }
}

@media only screen and (min-width: 576px) {
    .article-detail h2 {
        font-size: 20px;
    }
}

@media only screen and (max-width: 575px) {
    .article-detail h2 {
        font-size: 20px;
    }
}

@media only screen and (min-width: 576px) {
    .article-detail h3 {
        font-size: 18px;
    }
}

@media only screen and (max-width: 575px) {
    .article-detail h3 {
        font-size: 18px;
    }
}

@media only screen and (min-width: 576px) {
    .article-detail h4 {
        font-size: 16px;
    }
}

@media only screen and (max-width: 575px) {
    .article-detail h4 {
        font-size: 16px;
    }
}

@media only screen and (min-width: 576px) {
    .article-detail h5 {
        font-size: 16px;
    }
}

@media only screen and (max-width: 575px) {
    .article-detail h5 {
        font-size: 16px;
    }
}

@media only screen and (min-width: 576px) {
    .article-detail h6 {
        font-size: 16px;
    }
}

@media only screen and (max-width: 575px) {
    .article-detail h6 {
        font-size: 16px;
    }
}

.article-detail table tr td {
	min-width: 50px;
}

.article-detail ul {
    list-style-position: inside;
    padding-left: 0px;
    margin: -5px 0px 15px 0px;
}

.article-detail ul li {
    margin-bottom: 5px;
    line-height: 1.6;
}

.article-detail ol {
    list-style-position: inside;
    padding-left: 0px;
    margin: -5px 0px 15px 0px;
}

.article-detail ol li {
    margin-bottom: 5px;
    line-height: 1.6;
}

/* ========== Image ========== */
.article-detail figure {
    margin: 0px;
}

.article-detail img {
    max-width: 100%;
    height: auto;
}

/* ========== Image 360 ========== */
.article-detail .image-360 {
    position: relative;
    display: block;
}

.article-detail .image-360 img {
    width: 100%;
}

.article-detail .image-360 .hint {
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}

/* ========== Video ========== */
.article-detail .video-player .file-image-wrapper {
    width: 100%;
    display: inline-block;
    position: relative;
    margin-bottom: 2px;
    overflow: hidden;
}

.article-detail .video-player .file-image-wrapper:after {
    padding-top: 56.25%;
    display: block;
    content: '';
}

.article-detail .video-player .file-image-wrapper .file-image {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    color: white;
    background: no-repeat center bottom #000;
    background-size: cover;
}

.article-detail .video-player .file-image-wrapper .file-image img {
    width: 100%;
}

.article-detail .video-player .file-image-wrapper .file-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    background: rgba(255, 255, 255, 0.4);
    color: #333;
    border-radius: 50%;
    text-align: center;
    width: 80px;
    height: 80px;
    line-height: 80px;
    font-size: 24px;
}

/* ========== Survey =========== */
.article-detail .survey-detail {
    border: 1px dashed #333;
    text-align: center;
    height: 40px;
    line-height: 40px;
    background: #e3e3e3;
    margin-bottom: 15px;
}

.article-detail .survey-detail:before {
    content: 'Bình chọn: ';
}

/* ========== Box Media ========== */
.article-detail .box-media {
    display: block;
}

.article-detail .box-media .content {
    min-height: 60px;
    display: block;
}

.article-detail .box-media.align-left,
.article-detail .box-media.align-center,
.article-detail .box-media.align-right {
    float: none;
}

.article-detail .box-media .content img {
    width: 100%;
}

.article-detail .box-media .caption {
    display: block;
    font-size: 14px;
    color: #333;
    padding: 5px 0px;
}

/* ========== Box Media Default ========== */
.article-detail .box-media-default {
    margin-bottom: 15px;
}

.article-detail .box-media-default .caption {
    width: 100%;
}

/* ========== Box Media Left ========== */
.article-detail .box-media-left {
    float: left;
    padding-right: 15px;
    width: 50%;
}

.article-detail .box-media-left .caption {
    width: 100%;
}

/* ========== Box Media Right ========== */
.article-detail .box-media-right {
    float: right;
    margin-left: 15px;
    width: 50%;
}

.article-detail .box-media-right .caption {
    width: 100%;
}

/* ========== Box Quote ========== */
.article-detail .box-quote {
    position: relative;
    display: block;
    background: #ba866e;
    padding: 15px 15px 15px 45px;
    color: #fff;
}

.article-detail .box-quote:after {
    content: '';
    position: absolute;
    top: 15px;
    left: 25px;
    width: 4px;
    height: calc(100% - 30px);
    background-color: #fff;
}

/* ========== Pdf Preview ========== */
.article-detail .pdf-preview {
    position: relative;
    padding-bottom: 133.333334%;
    padding-top: 0px;
    height: 0;
    margin-bottom: 25px;
}

.article-detail .pdf-preview iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* ========== Table Media ========== */
.article-detail .table-media {
    min-width: 100%;
    border-collapse: collapse;
    margin: 0px -5px;
}

.article-detail .table-media th,
.article-detail .table-media td {
    border-collapse: collapse;
    padding: 5px;
}

.article-detail .table-media-caption {
    font-size: 14px;
    color: #333;
}

/* ========== Table Media 2 Columns ========== */
.article-detail .table-media.table-media-2-columns th,
.article-detail .table-media.table-media-2-columns td {
    width: 50%;
}

/* ========== Table Media 3 Columns ========== */
.article-detail .table-media.table-media-3-columns th,
.article-detail .table-media.table-media-3-columns td {
    width: 33.3333%;
}