/* 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 */
/* .fb_iframe_widget > span,.fb_iframe_widget > span > iframe{width: 140px !important;} */
.mastercms-emag-article table img{width: 100%;}
table {border-collapse: collapse; display: table; padding: 5px; vertical-align: top; line-height: 1.4;word-break: break-word; }
.__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: 20px;line-height: 1.4;margin-bottom: 24px;}
.__MASTERCMS_CONTENT,.__MASTERCMS_CONTENT_MOBILE{word-break: break-word;}

/* table images */
.MASTERCMS_TPL_TABLE,.__MASTERCMS_CONTENT table,.__MASTERCMS_CONTENT_MOBILE table{margin: 10px 0; width:100%; max-width:100%}
.MASTERCMS_TPL_TABLE td img{margin-bottom:0; width:100% !important; height:auto !important}
.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: #555; font-style: italic; padding: 10px; text-align: center; font-size: 13px }

/* 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: 16px; line-height: 1.4; color: #003366; position: relative; width: 100%; float: left; margin: 5px 0; padding-left: 12px; }
.__MB_ARTICLE_A td a:before {width: 5px; height: 5px; border-radius: 100%; background: #f00; content: ''; position: absolute; top: 5px; left: 0; } 

/* 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: #3e4095 !important; }

/* 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;font-size: 18px;}
.__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:#3e4095;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;}
	
/* DANH CHO MAU GALLERY TRONG BAI VIET*/	
.editable .__PIC_SRC{ padding-bottom:5px; text-align:center;}
.editable .__PIC_DESC{font-style:italic; font-size:12px; padding:5px;margin-top:10px;}
.editable table td{font-size:12px;}

.__MASTERCMS_GAL_TABLE,.MASTERCMS_GALLARY_TABLE{ background:none repeat scroll 0 0; font-size:12px; line-height:14px; margin:auto; margin-bottom:8px; width:585px; max-width:100%;position:relative;}
.__MASTERCMS_GAL_TABLE td,.MASTERCMS_GALLARY_TABLE td{ padding:0px;}
.__MASTERCMS_GAL_TABLE td img,.MASTERCMS_GALLARY_TABLE td img{ cursor:pointer; margin-bottom:-3px; max-width:100%; overflow:hidden;width:100%}
.__MASTERCMS_GAL_TABLE td.__PIC_DESC,.MASTERCMS_GALLARY_TABLE td.__PIC_DESC,.MASTERCMS_GALLARY_TABLE tbody tr:nth-child(even) td {background-color:#E5E5E5; color:blue; font-size:12px; font-style:italic; line-height:1.6; padding:8px; text-align:center;}
.__MASTERCMS_GAL_TABLE td.__PIC_SRC,.MASTERCMS_GALLARY_TABLE td.__PIC_SRC,.MASTERCMS_GALLARY_TABLE tbody tr:nth-child(even) td{ position:relative;}


/*==========================*/
@font-face {
    font-family: "UTM Avo";
    src: url("fonts/UTM Avo.ttf");
}
@font-face {
    font-family: "UTM AvoBold";
    src: url("fonts/UTM AvoBold.ttf");
}
@font-face {
    font-family: "UTM AvoBold_Italic";
    src: url("fonts/UTM AvoBold_Italic.ttf");
}
@font-face {
    font-family: "UTM AvoItalic";
    src: url("fonts/UTM AvoItalic.ttf");
}
#fixMainBdy-magazine{
  position:relative;
  width:100%;
  background:#fff;
}
.vnm-magazine-title{
  
}
.vnm-magazine-hna .text-center{
  text-align:center;
}
.vnm-magazine-hna .cover-top {
    display: block;
    width: 100%;
}
.vnm-magazine-hna #header{
  border-bottom:0 !important;
}
.vnm-magazine-hna .boxBarLive {
    height: 50px !important;
    padding: 0;
    text-align: center;
    margin-bottom: 0;
    vertical-align: middle;
}
.vnm-magazine-hna .boxBarLive  img{
  margin-top:8px;
}
.vnm-magazine-hna .w960 {
    width: 960px;
    margin: 0 auto;
}
.vnm-magazine-hna #fixMainBdy-magazine .vnm-body-content .sp-detail {
    background: #fff;
    padding: 50px 160px 0;
    color: #222;
    font-family: NotoSerif-Regular;
    font-size: 17px;
    line-height: 27px;
    position: relative;
}
.vnm-magazine-hna #fixMainBdy-magazine .vnm-body-content .sp-detail {
    margin-bottom: 0;
}
.vnm-magazine-hna .sp-sapo {
    margin-bottom: 35px;
    font-size: 17px;
    line-height: 27px;
    font-family: NotoSerif-BoldItalic;
    color: #555;
}
.vnm-magazine-hna .vnm-body-content .sp-sapo{
  display:none;
}
.vnm-magazine-hna .sp-detail-maincontent {
    position: relative;
}
.vnm-magazine-hna .alignJustifyFull{
  margin-bottom:50px;
}
.MAGZINE_TPL_TABLE,.MAGZINE_TPL_TABLE p{
    font-size: 18px;
    color: #444;
    line-height: 26px;
    vertical-align: top;
}
.MAGZINE_TPL_TABLE p{
    margin-bottom: 20px;
}
.MAGZINE_TPL_TABLE{
    margin:20px auto;
}
.MAGZINE_TPL_TABLE td{
    vertical-align: top;
}
#fixMainBdy-magazine .vnm-wrapper .MAGZINE_TPL_TABLE{
  margin-bottom: 20px;
}

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: 75%;
  }
  .emag-article h2{
      font-size: 23px;
  }
  .emag-article h3{
      font-size: 20px;
  }
  .emag-article h4{
      font-size: 18px;
  }
  .emag-article h1.main-title {
      width: 90%;
      font-size: 35px;
  }

  .emag-article p,
  .emag-article .sapo{
      width: 80%;
  }
  .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%;
  }
}

.__MB_CLASS_VOTE_TYPE_2 .ui-widget-header{border: 1px solid #3e4095;
    background: #3e4095;}
.__MB_CLASS_VOTE_TYPE_2 .ui-widget-header td{padding: 3px 5px !important;text-transform: uppercase;font-size: 13px;}
.__MB_CLASS_VOTE_TYPE_2 table{margin: 0 !important;}
.__MB_BUTTON_USER_VOTE {
    background: #3e4095;
    border: 0;
    color: #fff;
    font-weight: 700;
    font-size: 12px !important;
    text-transform: uppercase;
    padding: 8px 10px !important;
    cursor: pointer;
}

.cke_editable.cke_contents_ltr{font-family:Helvetica, Arial, sans-serif}
.__MASTERCMS_CONTENT, .__MASTERCMS_CONTENT_MOBILE{text-align: justify;}
#adsNews_AdsArticleAfterAvatar{display: none;}
/* 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;
}