@font-face {
    font-family: 'Emag daxline';
    src: url('fonts/daxline/UTMDaxline.eot');
    src: url('fonts/daxline/UTMDaxline.eot?#iefix') format('embedded-opentype'), 
    url('fonts/daxline/UTMDaxline.woff') format('woff'), 
    url('fonts/daxline/UTMDaxline.ttf') format('truetype'), 
    url('fonts/daxline/UTMDaxline.svg') format('svg');
}
body { font-family: Emag daxline; font-size: 18px; color: #333; line-height: 1.3; }
a { text-decoration: none; border: none; color: #333; }
a:hover { text-decoration: none; }
img {
  border: none;
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}

input,
button {
  border: 0;
  outline: 0;
}

ul,
ol {
  list-style: none;
}
* { margin: 0; padding: 0; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; }
.gotop { display: none; position: fixed; right: 20px; bottom: 30px; cursor: pointer; border-radius: 2px; background-color: rgba(100,120,140,.2);}
.gotop:hover { background-color: rgba(100,120,140,.3); }
.arrow-up { position: relative; display: block; width: 38px; height: 38px; }
.arrow-up:before { content: ""; position: absolute; border: solid #333; border-width: 0 3px 3px 0; display: inline-block; padding: 4px; transform: rotate( 225deg ); -webkit-transform: rotate( 225deg ); top: 15px; left: 14px; }
.emag-page {padding-top: 50px;}
.top-bar { height: 50px; background:rgba(96, 125, 139,0.8); line-height: 40px; padding: 0 15px 0 0; text-align: center; overflow: hidden; width: 100%; position: fixed; top: 0;z-index: 10; box-shadow: 0px 0px 5px #aaa; backdrop-filter: blur(5px); transition: 0.3s ease-in-out;}
.top-bar .fb-like {height: 20px; position: absolute; right: 0; top: 50%; transform: translateY(-50%);  }
.fb-like > span {
    float: left;
}
.emag-logo img { height: 50px; float: left; margin-right: 10px; padding: 5px 5px 5px;  }
.emag-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.emag-text { font-family: 'Roboto'; font-size: 27px; color: #fff; font-weight: bold; }
/* .emag-text::first-letter { font-family: 'Mali'; font-weight: normal; } */
.icon-arrow-left { float: left; width: 62px; height: 50px; border-right: 1px solid #fff; background: url('../images/mastercms/arrow-left.png') center center no-repeat;background-size: contain; background-color: #475e69; }
.top-bar.nav-fixed { width: 100%; height: 50px; position: fixed; top: 0; transform: translateY(0); transition-duration:200ms;transition-property:all;transition-timing-function:cubic-bezier(.7,1,.7,1); }
.top-bar.nav-fixed.nav-up {
    transform: translateY(-55px);
    transition: 0.3s ease-in-out;
}
@media screen and (max-width: 600px) {
    .emag-text {display: none;}
}
@media screen and (max-width: 420px) {
    .emag-text { font-size: 16px; }
}
@media screen and (max-width: 365px) {
    .emag-text { left: initial; right: 95px; }
    .fb-share { display: none; }
}
/* compare images */
.beforeAfterContainer {
  opacity: 0;
  transition: opacity 0.3s ease;
}
/* 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 {} */
.__MASTERCMS_CONTENT, .__MASTERCMS_CONTENT_MOBILE {
  font-family: var(--base-font-family);
  font-size: var(--base-font-size);
}
.__MASTERCMS_CONTENT_MOBILE {
  overflow-x: scroll;
}
.__MASTERCMS_CONTENT table { font-size: inherit; 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.1em;
  margin: 0.83em 0;
  font-weight: bold;
  line-height: 1.3
}

.__MASTERCMS_CONTENT h3,.__MASTERCMS_CONTENT_MOBILE h3{
  display: block;
  font-size: 1em;
  margin: 1em 0;
  font-weight: bold;
  line-height: 1.4
}
.__MASTERCMS_CONTENT h4,.__MASTERCMS_CONTENT_MOBILE h4 {
  display: block;
  font-size: 1em;
  margin:1.33em 0;
  font-weight: bold;
  line-height: 1.5
}
.__MASTERCMS_CONTENT h5,.__MASTERCMS_CONTENT_MOBILE h5 {
  display: block;
  font-size: 0.83em;
  margin:1.67em 0;
  font-weight: bold;
  line-height: 1.5
}
.__MASTERCMS_CONTENT h6,.__MASTERCMS_CONTENT_MOBILE h6{
  display: block;
  font-size: 0.67em;
  margin:2.33em 0;
  font-weight: bold;
  line-height: 1.5
}
.__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{line-height: 1.55;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; max-height: initial;}
.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 }

.__MASTERCMS_CONTENT td img,.__MASTERCMS_CONTENT_MOBILE td img,.cke_contents_ltr td img{vertical-align: bottom;}

/* fix khung quote full width ở bản mobile */
.__MASTERCMS_CONTENT_MOBILE .__MB_template_d,
.__MASTERCMS_CONTENT_MOBILE .__MB_template_e,
.__MASTERCMS_CONTENT_MOBILE .__MB_template_e_blue,
.__MASTERCMS_CONTENT_MOBILE .__MB_template_e_gray,
.__MASTERCMS_CONTENT_MOBILE .__MB_template_g
 {
  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: #069; position: relative; width: 100%; float: left; margin: 5px 0; padding-left: 15px; }
.__MB_ARTICLE_A td a:before {width: 5px; height: 5px; background: #069; content: ''; position: absolute; top: 10px; 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: 50%; 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 b2 (new) */
.__MB_ARTICLE_B2 td a {
  display: inline-block;
  color: #cc3333;
  line-height: 1.45;
  background: linear-gradient(to right, #8d8d8d 25%, #ccc 50%, #ffffff00 0%) 0px 100%/4px 1px repeat-x;
}
.__MB_ARTICLE_B2 td {
  padding-bottom: 5px;
}

/* 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: 36px; height: 44px; left: -20px; 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: 36px; height: 44px; right: -20px; 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; width: auto;}
.__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: #333;
  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;
} */
@media screen and (max-width: 600px) {
  .__MASTERCMS_CONTENT_MOBILE table{
    max-width: 100% !important;
    width: 100% !important;
  }
}

.__MASTERCMS_CONTENT img,
.__MASTERCMS_CONTENT_MOBILE img{
  max-width: 100%;
  height: auto;
}
.__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;
}

.cke_contents_ltr .infogram-embed{
  height: 10px;width: 100%;display: inline-block;background: #007bd9;
}

/* 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: 17px;
  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 */
._MB_EMAG_DETAIL { font-size: var(--base-emag-font-size); }

.emag-article {
  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;
} */

@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 */



.MASTERCMS_TPL_TABLE p:last-child {
  padding: 0;
  margin: 0;
  background-color: inherit;
  color: inherit
}

.__MASTERCMS_TABLE_DATA p:last-child,
.cke_contents_ltr table p:last-child {
  margin: 0;
  padding: 0;
}


/*fix video 16:9*/
p.MASTERCMS_MEDIA_BOX.oembed-provider-.oembed-provider-youtube {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

p.MASTERCMS_MEDIA_BOX.oembed-provider-.oembed-provider-youtube iframe{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*custom TBTC*/
.__MASTERCMS_CONTENT_MOBILE .__MB_template_e_blue td {
  width: 100% !important;
}

.video-container iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.MASTERCMS_TPL_TABLE_PHOTO_GROUP td img + img , .MASTERCMS_TPL_TABLE_PHOTO_GROUP td img + img {
  margin-top: 15px !important;
}

.MASTERCMS_TPL_TABLE_PHOTO_GROUP .MASTERCMS_TPL_TABLE,
.MASTERCMS_TPL_TABLE_PHOTO_GROUP table.MASTERCMS_TPL_TABLE[align="center"] {
  margin-bottom: 0px !important;
}

.MASTERCMS_TPL_TABLE_PHOTO_GROUP .imgLayoutGroup {
  width: calc(100% + 10px);
  margin: 0px -5px !important;
}

.document-editor .infogram-embed {
  background-color: #83d2fd;
  font-size: 0px;
  min-height: 15px;
}
.infogram-embed {
  font-size: 0px;
}
/* mastercms_toc */
table.mastercms_toc{
  background: #f1f1f1;
}
table.mastercms_toc thead{
  background: #e2e2e2;
}
table.mastercms_toc thead td {
  background: url(../images/ico-toc.svg) left 10px top 12px no-repeat;
  padding-left: 30px;
  font-size: 17px;
  font-weight: 700;
  height: 40px;
  line-height: 40px;
}
table.mastercms_toc tbody td > div{
  margin: 0 !important;
}
table.mastercms_toc tbody td{
  padding: 10px 0;
}
table.mastercms_toc tbody td a{
  font-size: 17px;
  line-height: 32px;
  height: 32px;
  color: #333;
  padding-left: 20px;
}
table.mastercms_toc tbody td a:hover{
  color: #ab1e24;
}
/* MB_TABLE_GOLD_INFO_BOX */
.MB_TABLE_GOLD_INFO_BOX {border: 1px solid #eee;color: inherit;border-collapse: collapse;text-align: left;}
.MB_TABLE_GOLD_INFO_BOX td, .MB_TABLE_GOLD_INFO_BOX th {padding: 10px;vertical-align: middle;border: 1px solid #eee;}
.MB_TABLE_GOLD_INFO_BOX thead{background: #20419b;color: #fff;}
/* .MB_TABLE_GOLD_INFO_BOX th,.MB_TABLE_GOLD_INFO_BOX td{white-space: nowrap;} */
.MB_TABLE_GOLD_INFO_BOX thead tr td > span,.MB_TABLE_GOLD_INFO_BOX tbody tr td > span{font-size: 14px;}
.MB_TABLE_GOLD_INFO_BOX>tbody>tr:nth-of-type(odd) {background: #f8f9fa;color: inherit;}
.MB_TABLE_GOLD_INFO_BOX .text-right{text-align: right;}
/* MB_TABLE_MONEY_INFO_BOX */
.MB_TABLE_MONEY_INFO_BOX {border: 1px solid #eee;color: inherit;border-collapse: collapse;text-align: left;}
.MB_TABLE_MONEY_INFO_BOX td, .MB_TABLE_MONEY_INFO_BOX th {padding: 10px;vertical-align: middle;border: 1px solid #eee;word-break: break-word;}
.MB_TABLE_MONEY_INFO_BOX thead{background: #20419b;color: #fff;}
.MB_TABLE_MONEY_INFO_BOX thead tr td > span,.MB_TABLE_MONEY_INFO_BOX tbody tr td > span{font-size: 14px;}
.down_rate,.up_rate{font-size: 14px;}
.MB_TABLE_MONEY_INFO_BOX>tbody>tr:nth-of-type(odd) {background: #f8f9fa;color: inherit;}
.MB_TABLE_MONEY_INFO_BOX .text-right{text-align: right;}
/* MB_TABLE_MXV_INFO_BOX */
.MB_TABLE_MXV_INFO_BOX{color: #4b5477;background: url(../images/mxv/hna-bg-mxv.png) 0 0 no-repeat;background-size: cover;width: 100%;}
.MB_TABLE_MXV_INFO_BOX thead tr td{position: relative;background: url(../images/mxv/hna-title-mxv.png) 0 0 no-repeat;background-size: contain;}
.MB_TABLE_MXV_INFO_BOX thead tr td::before{content: '';display: block;padding-top: 11.97%;}
.MB_TABLE_MXV_INFO_BOX thead tr td span {position: absolute;color: #1c2b5f;width: 100%;top: 0;text-align: center;padding-top: 3%;font-weight: 700;}
.MB_TABLE_MXV_INFO_BOX tbody tr td{padding: 0 50px 20px 50px;}
.MB_TABLE_MXV_INFO_BOX tbody tr td > span,.MB_TABLE_MXV_INFO_BOX tbody tr td .mxv-item{background: #fff;border-radius: 5px;width: 100%;display: block;padding: 10px 2%;font-weight: 700;color: #1c2b5f;margin-top: 15px;}
.MB_TABLE_MXV_INFO_BOX .mxv-item > span{display: inline-block;}
.MB_TABLE_MXV_INFO_BOX .mxv-item > span:nth-child(1){width: 25%;min-width: 150px;white-space: nowrap;}
.MB_TABLE_MXV_INFO_BOX .mxv-item > span:nth-child(2){width: 15%;text-align: right;white-space: nowrap;}
.MB_TABLE_MXV_INFO_BOX .mxv-item > span:nth-child(3){width: 15%;text-align: right;}
.MB_TABLE_MXV_INFO_BOX .mxv-item > span:nth-child(4){width: 12%;min-width: 75px;text-align: right;}
.MB_TABLE_MXV_INFO_BOX .mxv-item > span:nth-child(5){padding-left: 10px;}
.MB_TABLE_MXV_INFO_BOX .up_rate{color: #00721e;font-size: inherit;}
.MB_TABLE_MXV_INFO_BOX .down_rate{color: #ff0017;font-size: inherit;}
.MB_TABLE_MXV_INFO_BOX .mxv-source{color: #fff;font-weight: 700;text-align: right;}
@media screen and (max-width: 640px) {
.MB_TABLE_MXV_INFO_BOX thead tr td{background: none;padding: 5% 5% 0 5%;text-align: center;}
.MB_TABLE_MXV_INFO_BOX thead tr td::before{display: none;}
.MB_TABLE_MXV_INFO_BOX thead tr td span{color: #fff;position: unset;}
.MB_TABLE_MXV_INFO_BOX tbody tr td{padding: 0 5% 20px 5%;}
.MB_TABLE_MXV_INFO_BOX .mxv-item > span:nth-child(1){width: 100%;}
.MB_TABLE_MXV_INFO_BOX .mxv-item > span:nth-child(2){display: none;}
.MB_TABLE_MXV_INFO_BOX .mxv-item > span:nth-child(3){width: 25%;text-align: left;}
.MB_TABLE_MXV_INFO_BOX .mxv-item > span:nth-child(4){width: 25%;text-align: left;}
}
.cms-picture .photoset-item::before{display: none !important;}