/* compare images */
.twentytwenty-horizontal .twentytwenty-handle:before, .twentytwenty-horizontal .twentytwenty-handle:after, .twentytwenty-vertical .twentytwenty-handle:before, .twentytwenty-vertical .twentytwenty-handle:after {content: " "; display: block; background: white; position: absolute; z-index: 30; -webkit-box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5); -moz-box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5); box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5); } .twentytwenty-horizontal .twentytwenty-handle:before, .twentytwenty-horizontal .twentytwenty-handle:after {width: 3px; height: 9999px; left: 50%; margin-left: -1.5px; } .twentytwenty-vertical .twentytwenty-handle:before, .twentytwenty-vertical .twentytwenty-handle:after {width: 9999px; height: 3px; top: 50%; margin-top: -1.5px; } .twentytwenty-before-label, .twentytwenty-after-label, .twentytwenty-overlay {position: absolute; top: 0; width: 100%; height: 100%; } .twentytwenty-before-label, .twentytwenty-after-label, .twentytwenty-overlay {-webkit-transition-duration: 0.5s; -moz-transition-duration: 0.5s; transition-duration: 0.5s; } .twentytwenty-before-label, .twentytwenty-after-label {-webkit-transition-property: opacity; -moz-transition-property: opacity; transition-property: opacity; } .twentytwenty-before-label:before, .twentytwenty-after-label:before {color: white; font-size: 13px; letter-spacing: 0.1em; } .twentytwenty-before-label:before, .twentytwenty-after-label:before {position: absolute; background: rgba(255, 255, 255, 0.2); line-height: 38px; padding: 0 20px; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; } .twentytwenty-horizontal .twentytwenty-before-label:before, .twentytwenty-horizontal .twentytwenty-after-label:before {top: 50%; margin-top: -19px; } .twentytwenty-vertical .twentytwenty-before-label:before, .twentytwenty-vertical .twentytwenty-after-label:before {left: 50%; margin-left: -45px; text-align: center; width: 90px; } .twentytwenty-left-arrow, .twentytwenty-right-arrow, .twentytwenty-up-arrow, .twentytwenty-down-arrow {width: 0; height: 0; border: 6px inset transparent; position: absolute; } .twentytwenty-left-arrow, .twentytwenty-right-arrow {top: 50%; margin-top: -6px; } .twentytwenty-up-arrow, .twentytwenty-down-arrow {left: 50%; margin-left: -6px; } .twentytwenty-container {-webkit-box-sizing: content-box; -moz-box-sizing: content-box; box-sizing: content-box; z-index: 0; overflow: hidden; position: relative; -webkit-user-select: none; -moz-user-select: none; } .twentytwenty-container img {max-width: 100%; position: absolute; top: 0; display: block; } .twentytwenty-container.active .twentytwenty-overlay, .twentytwenty-container.active :hover.twentytwenty-overlay {background: rgba(0, 0, 0, 0); } .twentytwenty-container.active .twentytwenty-overlay .twentytwenty-before-label, .twentytwenty-container.active .twentytwenty-overlay .twentytwenty-after-label, .twentytwenty-container.active :hover.twentytwenty-overlay .twentytwenty-before-label, .twentytwenty-container.active :hover.twentytwenty-overlay .twentytwenty-after-label {opacity: 0; } .twentytwenty-container * {-webkit-box-sizing: content-box; -moz-box-sizing: content-box; box-sizing: content-box; } .twentytwenty-before-label {opacity: 0; } .twentytwenty-before-label:before {content: "Trước"; } .twentytwenty-after-label {opacity: 0; } .twentytwenty-after-label:before {content: "Sau"; } .twentytwenty-horizontal .twentytwenty-before-label:before {left: 10px; } .twentytwenty-horizontal .twentytwenty-after-label:before {right: 10px; } .twentytwenty-vertical .twentytwenty-before-label:before {top: 10px; } .twentytwenty-vertical .twentytwenty-after-label:before {bottom: 10px; } .twentytwenty-overlay {-webkit-transition-property: background; -moz-transition-property: background; transition-property: background; background: rgba(0, 0, 0, 0); z-index: 25; } .twentytwenty-overlay:hover {background: rgba(0, 0, 0, 0.5); } .twentytwenty-overlay:hover .twentytwenty-after-label {opacity: 1; } .twentytwenty-overlay:hover .twentytwenty-before-label {opacity: 1; } .twentytwenty-before {z-index: 20; } .twentytwenty-after {z-index: 10; } .twentytwenty-handle {height: 38px; width: 38px; position: absolute; left: 50%; top: 50%; margin-left: -22px; margin-top: -22px; border: 3px solid white; -webkit-border-radius: 1000px; -moz-border-radius: 1000px; border-radius: 1000px; -webkit-box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5); -moz-box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5); box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5); z-index: 40; cursor: pointer; } .twentytwenty-horizontal .twentytwenty-handle:before {bottom: 50%; margin-bottom: 22px; -webkit-box-shadow: 0 3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5); -moz-box-shadow: 0 3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5); box-shadow: 0 3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5); } .twentytwenty-horizontal .twentytwenty-handle:after {top: 50%; margin-top: 22px; -webkit-box-shadow: 0 -3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5); -moz-box-shadow: 0 -3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5); box-shadow: 0 -3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5); } .twentytwenty-vertical .twentytwenty-handle:before {left: 50%; margin-left: 22px; -webkit-box-shadow: 3px 0 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5); -moz-box-shadow: 3px 0 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5); box-shadow: 3px 0 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5); } .twentytwenty-vertical .twentytwenty-handle:after {right: 50%; margin-right: 22px; -webkit-box-shadow: -3px 0 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5); -moz-box-shadow: -3px 0 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5); box-shadow: -3px 0 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5); } .twentytwenty-left-arrow {border-right: 6px solid white; left: 50%; margin-left: -17px; } .twentytwenty-right-arrow {border-left: 6px solid white; right: 50%; margin-right: -17px; } .twentytwenty-up-arrow {border-bottom: 6px solid white; top: 50%; margin-top: -17px; } .twentytwenty-down-arrow {border-top: 6px solid white; bottom: 50%; margin-bottom: -17px; }
/* reset table css */
table {border-collapse: collapse; display: table; padding: 5px; vertical-align: top; line-height: 1.4; }
.__MASTERCMS_CONTENT h1,.__MASTERCMS_CONTENT_MOBILE h1 {
  display: block;
  font-size: 2em;
  margin:0.67em 0;
  font-weight: bold;
  line-height: 1.3
}
.__MASTERCMS_CONTENT h2,.cke_contents_ltr h2,.__MASTERCMS_CONTENT_MOBILE h2 {
  display: block;
  font-size: 1.5em;
  margin:0.83em 0;
  font-weight: bold;
  line-height: 1.3
}
.page-infographic .__MASTERCMS_CONTENT,.page-infographic .__MASTERCMS_CONTENT h2{
  font-size: 20px;
  line-height: 26px;
}
.page-infographic .sapo_detail{
  font-size: 20px;
  line-height: 26px;
}
.__MASTERCMS_CONTENT h3,.__MASTERCMS_CONTENT_MOBILE h3{
  display: block;
  font-size: 1.17em;
  margin:1em 0;
  font-weight: bold;
  line-height: 1.3
}
.__MASTERCMS_CONTENT h4,.__MASTERCMS_CONTENT_MOBILE h4 {
  display: block;
  font-size: 1em;
  margin:1.33em 0;
  font-weight: bold;
  line-height: 1.3
}
.__MASTERCMS_CONTENT h5,.__MASTERCMS_CONTENT_MOBILE h5 {
  display: block;
  font-size: 0.83em;
  margin:1.67em 0;
  font-weight: bold;
  line-height: 1.3
}
.__MASTERCMS_CONTENT h6,.__MASTERCMS_CONTENT_MOBILE h6{
  display: block;
  font-size: 0.67em;
  margin:2.33em 0;
  font-weight: bold;
  line-height: 1.3
}
.__MASTERCMS_CONTENT video,.__MASTERCMS_CONTENT_MOBILE video{width: 100%;object-fit: contain;}
.__MASTERCMS_CONTENT a,.__MASTERCMS_CONTENT_MOBILE a,.cke_contents_ltr a{color: blue}
.__MASTERCMS_CONTENT ul,.__MASTERCMS_CONTENT_MOBILE ul,
.__MASTERCMS_CONTENT ol,.__MASTERCMS_CONTENT_MOBILE ol{padding-left: 15px;}
.__MASTERCMS_CONTENT p,.__MASTERCMS_CONTENT_MOBILE p,.cke_contents_ltr p{font-size: 16px;line-height: 1.4;margin-bottom: 15px;}

/* table images */
.MASTERCMS_TPL_TABLE,.__MASTERCMS_CONTENT table,.__MASTERCMS_CONTENT_MOBILE table{margin: 0 0 15px 0; width:100%; max-width:100%}
.MASTERCMS_TPL_TABLE td:empty,.__MASTERCMS_CONTENT table td:empty,.__MASTERCMS_CONTENT_MOBILE table td:empty{display: none;}
.MASTERCMS_TPL_TABLE td img{margin-bottom:0; width:100% !important; height:auto !important; vertical-align: bottom;}
.MASTERCMS_TPL_TABLE tbody tr:nth-child(odd) td {text-align:center; padding:0;vertical-align: middle;}
.MASTERCMS_TPL_TABLE tbody tr:nth-child(even) td {background-color: #f8f8f8; color: #999; padding: 10px; text-align: center; font-size: inherit }

/* fix khung quote cho bản mobile */
.__MASTERCMS_CONTENT_MOBILE .__MB_template_e_gray,
.__MASTERCMS_CONTENT_MOBILE .__MB_ARTICLE_A,
.__MASTERCMS_CONTENT_MOBILE .__MB_ARTICLE_B,
.__MASTERCMS_CONTENT_MOBILE .__MB_template_d,
.__MASTERCMS_CONTENT_MOBILE .__MB_template_e,
.__MASTERCMS_CONTENT_MOBILE .__MB_template_e_blue
 {
  width: 100% !important;
  margin: 0px 0px 15px !important;
}

/* temp a */
.__MB_ARTICLE_A{width:100%; margin:10px 0;}
.__MB_ARTICLE_A td:first-child{vertical-align: top;} 
.__MB_ARTICLE_A td a {font-size: inherit; line-height: 1.4; color: #ed1c25; position: relative; width: 100%; float: left; margin: 5px 0; padding-left: 15px; }
.__MB_ARTICLE_A td a:before {width: 5px; height: 5px; background: #ed1c25; content: ''; position: absolute; top: 7px; left: 0; } 

/* temp b (new) */
.__MB_ARTICLE_B{width:100%; margin:10px 0;}
.__MB_ARTICLE_B td:first-child{vertical-align: top;} 
.__MB_ARTICLE_B td a {font-size: inherit; line-height: 1.4; color: #069; position: relative; width: 100%; float: left; margin: 5px 0; padding-left: 25px; }
.__MB_ARTICLE_B td a:before {width: 15px; height: 2px; background: grey; content: ''; position: absolute; top: 10px; left: 0; }

/* temp b1 (new) */
.__MB_ARTICLE_B1 {width: auto !important;}
.__MB_ARTICLE_B1 td { border-top: 1px solid #e1e1e1; padding: 5px 0; }
.__MB_ARTICLE_B1 tr:first-child td { border-top: none; }
.__MB_ARTICLE_B1 td a {font-size: inherit; line-height: 1.5; color: #0f659d; position: relative; ; padding: 0 45px 0 16px; }
.__MB_ARTICLE_B1 td a:before {content: ''; width: 4px; height: 4px; background: #ed1c25; position: absolute; top: 10px; left: 0; transform: translateY(-50%);}

/* temp H (new)*/
.__MB_ARTICLE_H tr { display: flex; justify-content: flex-end; flex-wrap: wrap; text-align: right; font-size: 90%; }
.__MB_ARTICLE_H a {
  color: red;
}
.__MB_ARTICLE_H .tpl-head { font-weight: bold; color: red; }
.__MB_ARTICLE_H .tpl-body a { color: inherit; }
.__MB_ARTICLE_H .tpl-body {margin-left: 8px;}
.__MB_ARTICLE_H .tpl-body::before { content: ''; display: inline-block; width: 13px; height: 18px; margin-right: 5px; background: url('../images/icon-document.png') left center no-repeat; vertical-align: text-bottom; }
.__MB_ARTICLE_H .tpl-foot a { padding-left: 5px; text-decoration: underline; color: red;
  padding-right: 20px;
  background: url('../images/icon-download.png') right center no-repeat;
}


/* temp k */
.__mb_article_in_image {width: 100%; margin: 10px 0; } 
.__mb_article_in_image td {padding: 0 10px 0 0; background: #f7f7f780; border-bottom: 5px solid #fff; } 
.__mb_article_in_image_box {width: 105px; height: 70px; overflow: hidden; display: block; margin-right: 10px; float: left; } 
.__mb_article_in_image_box img {width: 100%; min-height: 100%; } 
.__mb_article_in_title_box {top: 5px; position: relative; color: #003366 !important;line-height: 1.3; }

/* temp c */
.__mb_article_in_image_large .__mb_article_in_image_box {display: block; width: 160px; height: 105px; margin-right: 15px; } 
.__mb_article_in_image td p {margin-bottom: 0; margin-top: 10px; font-size: 14px; color: #555; }

/* temp g */
.__MB_template_g {width: 100%; margin: 20px 0; background-color: #e3eeff; border: 2px solid #c0d5f5; } 
.__MB_template_g td.__RE_PLACE_CONTENT,
.__MB_template_d td.__RE_PLACE_CONTENT{padding:15px;}
.__RE_PLACE_CONTENT p:first-child{margin-top: 0;}
.__RE_PLACE_CONTENT p:last-child{margin-bottom: 0;}
/* temp d */
.__MB_template_d {width: 100%; margin: 20px 0; background-color: #fffaea; border: 2px solid #eec1b3; } 

/* temp e-orange */
.__MB_template_e,
.__MB_template_e_gray,
.__MB_template_e_blue{width: 100%; margin: 20px 0; border: 0;}
.__MB_template_e .__RE_PLACE_CONTENT,
.__MB_template_e_gray .__RE_PLACE_CONTENT,
.__MB_template_e_blue .__RE_PLACE_CONTENT{border: 5px solid #ffdfb4 !important; padding: 15px 20px; position: relative; text-align: justify;}
.__MB_template_e .__RE_PLACE_CONTENT:before,
.__MB_template_e_blue .__RE_PLACE_CONTENT:before{content: ''; display: block; position: absolute; width: 44px; height: 24px; top: -14px; left: calc(50% - 22px); background: url(../images/post-temp/ico-quote-orange-top.png) center center no-repeat;}
.__MB_template_e .__RE_PLACE_CONTENT:after,
.__MB_template_e_blue .__RE_PLACE_CONTENT:after{content: ''; display: block; position: absolute; width: 44px; height: 24px; bottom: -14px; left: calc(50% - 22px); background: url(../images/post-temp/ico-quote-orange-bottom.png) center center no-repeat;}

/* temp e-gray */
.__MB_template_e_gray{margin: 20px 15px; width: calc(100% - 30px);} 
.__MB_template_e_gray .__RE_PLACE_CONTENT{color: #566e78;border-color: #cfd8dd !important}
.__MB_template_e_gray .__RE_PLACE_CONTENT:before {content: ''; display: block; position: absolute; width: 44px; height: 44px; left: -25px; top: calc(50% - 22px); background: #fff url(../images/post-temp/ico-quote-gray-left.png) center center no-repeat; }
.__MB_template_e_gray .__RE_PLACE_CONTENT:after{content: ''; display: block; position: absolute; width: 44px; height: 44px; right: -25px; top: calc(50% - 22px); background: #fff url(../images/post-temp/ico-quote-gray-right.png) center center no-repeat; }

/* temp e-blue */
.__MB_template_e_blue .__RE_PLACE_CONTENT{color:#666;border-color: #83d2fd !important;border-top-right-radius: 40px;border-bottom-left-radius: 40px;display: block;}
.__MB_template_e_blue .__RE_PLACE_CONTENT:before{background-image: url(../images/post-temp/ico-quote-blue-top.png) !important;}
.__MB_template_e_blue .__RE_PLACE_CONTENT:after{background-image: url(../images/post-temp/ico-quote-blue-bottom.png) !important;}

/* table align */
.__MB_template_d[align="center"],
.__MB_template_e[align="center"],
.__MB_template_e_gray[align="center"],
.__MB_template_e_blue[align="center"],
.__MASTERCMS_CONTENT table[align="center"],
.__MASTERCMS_CONTENT_MOBILE table[align="center"]{margin: 20px auto !important;}
.__MB_template_g[align="left"],
.__MB_template_d[align="left"],
.__MB_template_e[align="left"],
.__MB_template_e_blue[align="left"],
.__mb_article_in_image[align="left"],
.MASTERCMS_TPL_TABLE[align="left"],
.__MASTERCMS_CONTENT table[align="left"],
.__MASTERCMS_CONTENT_MOBILE table[align="left"]{margin-right:15px; margin-top: 10px; margin-bottom: 15px;}
.__MB_template_e_gray[align="left"]{margin:5px 20px 15px 15px;}
.__MB_template_g[align="right"],
.__MB_template_d[align="right"],
.__MB_template_e[align="right"],
.__MB_template_e_blue[align="right"],
.__mb_article_in_image[align="right"],
.MASTERCMS_TPL_TABLE[align="right"]{margin-left: 15px; margin-top: 10px; margin-bottom: 15px;}
.__MB_template_e_gray[align="right"]{margin:5px 15px 15px 20px;}

.__MASTERCMS_CONTENT iframe ,.__MASTERCMS_CONTENT_MOBILE iframe{width:100%;}
.__MASTERCMS_CONTENT table[border="1"] td, .__MASTERCMS_CONTENT_MOBILE table[border="1"] td{padding:6px;}

video{
  max-width: 100%;
}
.MASTERCMS_TPL_TABLE[align="center"]{
  margin: 5px auto;
}
.__MASTERCMS_CONTENT table[border="1"],
.__MASTERCMS_CONTENT table[border="2"],
.cke_contents_ltr table[border="1"],
.cke_contents_ltr table[border="2"]{
  border-color: #eec1b3;
  margin-top: 15px;
  margin-bottom: 15px;
  border-style: solid;
}
.__MASTERCMS_CONTENT table[border="1"] p,
.__MASTERCMS_CONTENT table[border="2"] p,
.cke_contents_ltr table[border="1"] p,
.cke_contents_ltr table[border="2"] p{
  margin: 0 !important
}
.__MASTERCMS_CONTENT table[border="1"] td,
.__MASTERCMS_CONTENT table[border="2"] td,
.cke_contents_ltr table[border="1"] td,
.cke_contents_ltr table[border="2"] td,
.__MASTERCMS_CONTENT table[border="1"] thead th,
.__MASTERCMS_CONTENT table[border="2"] thead th,
.cke_contents_ltr table[border="1"] thead th,
.cke_contents_ltr table[border="2"] thead th{
  padding: 5px !important;
}
.__MASTERCMS_CONTENT table[border="1"] thead,
.__MASTERCMS_CONTENT table[border="2"] thead,
.cke_contents_ltr table[border="1"] thead,
.cke_contents_ltr table[border="2"] thead{
  background: #003865;
  color: #fff;
}
.__MASTERCMS_CONTENT table[border="1"] tbody tr:nth-child(even) td,
.__MASTERCMS_CONTENT table[border="2"] tbody tr:nth-child(even) td,
.cke_contents_ltr table[border="1"] tbody tr:nth-child(even) td,
.cke_contents_ltr table[border="2"] tbody tr:nth-child(even) td{
  background: #d0e1ff !important;
}
.__MASTERCMS_CONTENT img,
.__MASTERCMS_CONTENT_MOBILE img{
  max-width: 100%;
}
.__MASTERCMS_CONTENT figcaption,
.__MASTERCMS_CONTENT_MOBILE figcaption {
  margin-bottom: 15px;
}
.__MASTERCMS_CONTENT figcaption h2,
.__MASTERCMS_CONTENT_MOBILE figcaption h2{
  font: 400 14px/1.3 Arial;
  margin: 0;
}

/* BEGIN EMAGAZINE/LONGFORM/PHOTO ARTICLE STYLE */
/* ====== BASE STYLES ===== */
body {
  margin: 0;
  padding: 0;
}

body.cke_editable {
  margin: 8px;
}

.emag-article * {
  margin: 0;
  padding: 0;
}

.emag-article *,
.emag-article *:after,
.emag-article *:before {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

/* ========================== */

/* ====== EMAGAZINE STYLES ====== */

/* emag overall */
.emag-article {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  font-weight: normal;
  color: #333;
  line-height: 1.3;
  width: 100%;
  text-rendering: geometricPrecision;
}

/* ==== heading ==== */
.emag-article h1,
.emag-article h2,
.emag-article h3,
.emag-article h4,
.emag-article h5,
.emag-article h6 {
  font-family: 'Alfa Slab One', cursive;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  width: 460px;
  margin: 40px auto 30px;
  line-height: 1.5;
}

.emag-article h2 {
  font-size: 28px;
}

.emag-article h3 {
  font-size: 22px;
}

.emag-article h4 {
  font-size: 18px;
}

.emag-article h1.main-title {
  width: 660px;
  margin: 50px auto 20px;
  font-size: 43px;
  line-height: 1.2;
  color: #000;
}

.emag-article h1.main-title:before {
  content: "E-mag";
  display: block;
  font-family: 'Roboto-Thin', sans-serif;
  font-weight: normal;
  font-size: 20px;
  width: 80px;
  height: 30px;
  margin: 0 auto 15px;
  line-height: 30px;
  background: orange;
}

/* drop cap letter */
.emag-article h2+p:first-letter {
  font-size: 52px;
  line-height: 48px;
  display: block;
  float: left;
  margin-top: 3px !important;
  margin-right: 10px;
  padding: 0 0px 5px 0px;
  font-weight: bold;
}

/* ==== paragraph ==== */
.emag-article p {
  width: 660px;
  line-height: 1.5;
  margin: 18px auto;
  font-size: 19px;
}

.emag-article .sapo {
  font-weight: bold;
  font-size: 18px;
  width: 600px;
  text-align: center;
  margin-bottom: 60px;
}

.emag-article p.divider {
  border-top: 1px solid #a5a5a5;
  margin: 40px auto;
}

/* ==== quote ==== */
.emag-article p.quote {
  font-family: 'Oswald', sans-serif;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
  padding: 40px 0;
  font-size: 30px !important;
  position: relative;
  margin: 52px auto 35px !important;
  width: 400px !important;
}

.emag-article p.quote span.author {
  color: orange;
  display: block;
  text-align: right;
}

.emag-article img.quote-img {
  position: absolute;
  left: 50%;
  top: -34px;
  margin-left: -37.5px;
}

/* ==== normal image block ==== */
.emag-article table.image-block {
  width: 1280px;
  margin: -2px auto 0;
  padding: 0;
  border-collapse: separate;
}

.emag-article table.image-block td img {
  width: 100%;
  vertical-align: middle;
}

.emag-article table.image-block tr:nth-child(even) td {
  padding: 4px 0;
  color: #888;
  text-align: center;
}

/* ==== content mix block: image float and text ==== */
.emag-article .mix-block {
  width: 660px;
  margin: 30px auto;
}

.emag-article .mix-block .image-block {
  width: 350px;
  margin: 0 0 0 -140px !important;
}

.emag-article .mix-block .text-block {
  width: 65% !important;
}

.emag-article .mix-block .text-block p {
  width: 100% !important;
}

.emag-article .mix-block p:first-child {
  margin-top: 0;
}

.emag-article .mix-block p:last-child {
  margin-bottom: 0;
}

.emag-article .mix-block:after {
  content: "";
  display: table;
  clear: both;
}

.emag-article .mix-block.img-left .image-block,
.emag-article .mix-block.img-right .text-block {
  float: left;
}

.emag-article .mix-block.img-right .image-block,
.emag-article .mix-block.img-left .text-block {
  float: right;
}

.emag-article .mix-block.img-left .image-block {
  margin: 0 0 0 -140px;
}

.emag-article .mix-block.img-right .image-block {
  margin: 0 -140px 0 0 !important;
}

/* ==== image full text ==== */
.emag-article table.image-block.full-text {
  width: 660px;
  /* same width as text */
}

/* ==== image full width ==== */
.emag-article table.image-block.img-full-width {
  width: 100% !important;
  border-collapse: collapse;
}

/* ==== image grid ==== */
.emag-article table.image-block.img-grid td {
  vertical-align: top;
}

.emag-article table.image-block.img-grid td figure img {
  height: 100%;
}

.emag-article table.image-block.img-x2 td {
  width: 50%;
}

.emag-article table.image-block.img-x3 td {
  width: 33.3333333333333333333%;
}

.emag-article table.image-block.img-x4 td {
  width: 25%;
}

.emag-article table.image-block.img-grid figure {
  position: relative;
  width: 100%;
  display: block;
  overflow: hidden;
  margin: 0;
}

.emag-article table.image-block.img-grid figure:before {
  content: "";
  display: block;
  padding-top: 66.66667%;
}

.emag-article table.image-block.img-grid.portrait figure:before {
  padding-top: 150%;
}

.emag-article table.image-block.img-grid figure img {
  position: absolute;
  top: 0;
  left: 0;
  min-height: 100%;
}

/* video nhÃºng trá»±c tiáº¿p tá»« Youtube */
.emag-article .MASTERCMS_MEDIA_BOX.oembed-provider-youtube {
  width: 80%;
  height: 0;
  padding-top: 45%;
  /* TÃ­nh theo tá»‰ lá»‡ 16/9 vá»›i width=80%=Ä‘á»™ rá»™ng cá»§a khung ná»™i dung */
  position: relative;
}

.emag-article .MASTERCMS_MEDIA_BOX.oembed-provider-youtube iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

/* video nhÃºng tá»« thÆ° viá»‡n Media */


/* ==== margin optimize ==== */
.emag-article table.image-block+p {
  margin-top: 40px !important;
}

.emag-article p+table.image-block {
  margin-top: 40px !important;
}

/* RESPONSIVE */
/* phablet & tablet */
@media screen and (max-width: 1299px) {
  
  .emag-article p,
  .emag-article .sapo,
  .emag-article h2,
  .emag-article h3,
  .emag-article h4,
  .emag-article h5,
  .emag-article h6 {
    width: 80%;
  }
  
  .emag-article h1.main-title,
  .emag-article table.image-block {
    width: 90% !important;
  }
  
  .emag-article .mix-block {
    width: 80% !important;
  }
  
  .emag-article .mix-block .text-block,
  .emag-article .mix-block .image-block {
    width: 100% !important;
    float: none !important;
  }
  
  .emag-article .mix-block .image-block {
    margin: 0 !important
  }
}

/* Mobile */
@media screen and (max-width: 480px) {
  
  .emag-article h1,
  .emag-article h2,
  .emag-article h3,
  .emag-article h4,
  .emag-article h5,
  .emag-article h6 {
    width: calc(100% - 30px);
  }
  
  .emag-article h2 {
    font-size: 23px;
  }
  
  .emag-article h3 {
    font-size: 20px;
  }
  
  .emag-article h4 {
    font-size: 18px;
  }
  
  .emag-article h1.main-title {
    width: calc(100% - 30px);
    font-size: 35px;
  }
  
  .emag-article p,
  .emag-article .sapo {
    width: calc(100% - 30px);
    text-align: justify;
  }
  
  .emag-article table.image-block {
    width: 100% !important;
    margin: 0 auto;
    border-collapse: collapse;
  }
  
  .emag-article table.image-block td {
    width: 100% !important;
    display: block !important;
    margin-bottom: 2px;
  }
  
  .emag-article p.quote {
    width: 60% !important;
    font-size: 25px !important;
  }
  
  .emag-article .mix-block {
    width: 100% !important;
  }
  
  /* VIDEO CÄ‚NG TRÃ€N MÃ‰P TRÃŠN MOBILE */
  .emag-article .___widget_video_article {
    width: 100% !important;
  }
  
  .emag-article .MASTERCMS_MEDIA_BOX.oembed-provider-youtube {
    padding-top: 56.25%;
    width: 100%;
  }
}

body.cke_editable {
  font-size: 18px;
}

.__MASTERCMS_CONTENT .videoWrapper-o,
.__MASTERCMS_CONTENT_MOBILE .videoWrapper-o {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 25px;
  height: 0;
}

.__MASTERCMS_CONTENT .videoWrapper-o iframe,
.__MASTERCMS_CONTENT_MOBILE .videoWrapper-o iframe,
.__MASTERCMS_CONTENT .videoWrapper-o .jwplayer,
.__MASTERCMS_CONTENT_MOBILE .videoWrapper-o .jwplayer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100% !important;
}
.emag-page table table[align="right"]{
  margin: 0 -30% 0 20px;
}
.emag-page table table[align="left"]{
  margin: 0 20px 0 -30%;
}


/* start emag base css */
.emag-article {
  width: 100%;
}
img {
  max-width: 100%;
}
._MB_EMAG_DETAIL h1 { text-align: center; }
._MB_EMAG_DETAIL figcaption,
._MB_EMAG_DETAIL h1,
._MB_EMAG_DETAIL h2,
._MB_EMAG_DETAIL h3,
._MB_EMAG_DETAIL h4,
._MB_EMAG_DETAIL h5,
._MB_EMAG_DETAIL h6,
._MB_EMAG_DETAIL p {
  margin-left: auto;
  margin-right: auto;
  max-width: 660px;
}
._MB_EMAG_DETAIL p { font-size: 18px; }

/* @media screen and (max-width: 690px) {
  ._MB_EMAG_DETAIL figcaption,
  ._MB_EMAG_DETAIL h1,
  ._MB_EMAG_DETAIL h2,
  ._MB_EMAG_DETAIL h3,
  ._MB_EMAG_DETAIL h4,
  ._MB_EMAG_DETAIL h5,
  ._MB_EMAG_DETAIL h6,
  ._MB_EMAG_DETAIL p {
    max-width: calc(100% - 30px);
  }
  .emag-article figcaption,
  .emag-article h1,
  .emag-article h2,
  .emag-article h3,
  .emag-article h4,
  .emag-article h5,
  .emag-article h6,
  .emag-article p {
    width: inherit;
    max-width: calc(100% - 30px);
  }
}
.emag-article p:last-child {
  margin-bottom: 0px;
  padding-bottom: 15px;
} */
/* end emagazine base css */

a,p, span,pre {
  word-break: break-word;
  white-space:initial;
}