/* 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;} */
.cke_contents_ltr{cursor: text !important;}
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,.__MASTERCMS_CONTENT_MOBILE{word-break: break-word;}
.__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;list-style: disc;margin: 15px 0px 15px 10px;}
.__MASTERCMS_CONTENT p,.__MASTERCMS_CONTENT_MOBILE p,.cke_contents_ltr p{font-size: 16px;line-height: 1.4;margin-bottom: 15px;}
.__MASTERCMS_CONTENT,.__MASTERCMS_CONTENT_MOBILE,.cke_contents_ltr{text-align: justify;}

/* 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}
.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: #777; font-style: italic; padding: 10px; text-align: left; font-size: 14px }
.__MASTERCMS_CONTENT_MOBILE .MASTERCMS_TPL_TABLE tbody tr:nth-child(even) td{text-align: center;background: none;padding: 5px 20px;font-size: 16px;}
.__MASTERCMS_CONTENT .MASTERCMS_TPL_TABLE tbody tr:nth-child(even) td p,.cke_contents_ltr .MASTERCMS_TPL_TABLE tbody tr:nth-child(even) td p,.__MASTERCMS_CONTENT_MOBILE .MASTERCMS_TPL_TABLE tbody tr:nth-child(even) td p{font-size: inherit;margin: 0;}
.cke_contents_ltr .MASTERCMS_TPL_TABLE tbody tr:nth-child(even) td{color: #000;}
/* temp a */
.__MB_ARTICLE_A{width:100%; margin:10px 0;background:#f5f5f5;}
.__MB_ARTICLE_A thead{display: none;}
.__MB_ARTICLE_A td:first-child{vertical-align: top;} 
.__MB_ARTICLE_A td a {font-size: 15px; line-height: 1.4; color: #0065b3; 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: #333; content: ''; position: absolute; top: 7px; left: 0; } 
.__MB_ARTICLE_A td[width="10"]{display: none;}
.__MB_ARTICLE_A td{padding:0 10px}
.cke_contents_ltr .__MB_ARTICLE_A td a {color: #000;}
/* temp k */
.__mb_article_in_image {width: 100%; margin: 10px 0; } 
.__mb_article_in_image td {padding: 0 10px 0 0; background: #fff; border-bottom: 5px solid #fff; } 
.__mb_article_in_image_box,.__mb_article_in_image tr td[width="80"] a {width: 105px; height: 70px; overflow: hidden; display: block; margin-right: 10px; float: left; } 
.__mb_article_in_image tr td[width="80"],.__mb_article_in_image tr td[width="100"]{padding-right: 0;}
.__mb_article_in_image_box img,.__mb_article_in_image img {width: 100%; min-height: 100%; } 
.__mb_article_in_title_box,.__mb_article_in_image tr td:not(:first-child) a {top: 5px; position: relative; color: #333 !important;line-height: 1.3;font-size: 15px;font-family: 'Roboto-Bold',sans-serif; }
.__mb_article_in_image p:empty,.__mb_article_in_image tr td[width="80"] a + p,.__mb_article_in_image tr td[width="100"] a + p{display: none;}
.__mb_article_in_image img{width: 100% !important;}
.__mb_article_in_image td{
	border-top: 3px solid #f3650d;
	border-bottom: 3px solid #f3650d;
    padding-top: 15px;
	padding-bottom: 15px;
}
.__mb_article_in_image + .__mb_article_in_image{
	margin-top: -18px !important;
}
.__mb_article_in_image + .__mb_article_in_image td{
	border-top: 1px solid #ececec;
    padding-top: 15px;
}
/* .__mb_article_in_image td {
    border-top: 1px solid #ececec;
    padding-top: 15px;
}
.__mb_article_in_image:last-child td {
    padding-bottom: 15px;
    border-bottom: 1px solid #ececec;
}
#__MB_MASTERCMS_EL_3 p + .__mb_article_in_image td,
#__MB_MASTERCMS_EL_3 table + .__mb_article_in_image td,
.cke_contents_ltr table + .__mb_article_in_image td,
.cke_contents_ltr p + .__mb_article_in_image td{
	border-top: 3px solid #f3650d;
}
.__mb_article_in_image + .__mb_article_in_image td{
	border-top: 1px solid #ececec !important;
} */

/* temp c */
.__mb_article_in_image_large .__mb_article_in_image_box,.__mb_article_in_image td[width="100"] a {display: block; width: 160px; height: 90px; margin-right: 15px;overflow: hidden; } 
.__mb_article_in_image td p {margin-bottom: 0; margin-top: 10px; font-size: 14px; }

/* 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;}

/* _MB_EMBEDNEWS */
._MB_EMBEDNEWS{text-align: left;border: 1px solid #c7c7c7;border-top: 3px solid #f3650d;}
._MB_EMBEDNEWS thead{background: #ffcc33;line-height: 32px;font-family: 'Roboto-Bold', sans-serif;font-size: 18px;display: none;}
._MB_EMBEDNEWS thead td{padding: 0 10px}
._MB_EMBEDNEWS tbody tr td{padding: 0px 10px 5px 10px;}
._MB_EMBEDNEWS tbody tr td a {display: block;width: 100%;text-decoration: none !important;border-top: 1px dotted #ccc;margin-top: 10px;padding-top: 10px;}
._MB_EMBEDNEWS tbody tr:first-child a{border-top: 0;padding-top: 0;}
._MB_EMBEDNEWS tbody tr:not(:first-child) span.img-item{display: none !important}
._MB_EMBEDNEWS span.img-item{display: block;width: 100%;position: relative;overflow: hidden;margin-bottom: 10px;}
._MB_EMBEDNEWS span.img-item:after{display: block;content: '';padding-top: 56.25%;}
._MB_EMBEDNEWS span.img-item img{width: 100%;top: 0;left: 0;right: 0;position: absolute;}
._MB_EMBEDNEWS span.title-item{font-weight: 700;color: #333;font-size: 15px;font-family: 'Roboto-Bold', sans-serif;}
._MB_EMBEDNEWS tbody tr:first-child span.title-item{background: url(../images/embed-news-arr.png) left 2px no-repeat;padding-left: 23px;background-size: 16px;}
._MB_EMBEDNEWS tbody tr:not(:first-child) span.title-item{font-family: 'Roboto-Regular', sans-serif;font-weight: normal;}
.__MASTERCMS_CONTENT_MOBILE ._MB_EMBEDNEWS span.img-item{width: 150px;float: left;margin-right: 15px;border-radius: 10px;}
.__MASTERCMS_CONTENT_MOBILE ._MB_EMBEDNEWS span.title-item{background: none !important;padding-left: 0;display: block;line-height: 1.3;display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 4;overflow: hidden;text-overflow: ellipsis;padding-left: 0 !important;}
@media screen and (max-width: 640px) {
	._MB_EMBEDNEWS thead{font-size: initial;}
}

/* temp f */
.__MB_template_f .__RE_PLACE_CONTENT{background: #eee;border-radius: 5px;color: #333;padding: 30px;font-size: 18px;line-height: 1.67;width: 100%;margin: 18px 0;position: relative;}
.__MB_template_f .__RE_PLACE_CONTENT:after {content: '';display: block;position: absolute;right: 0;bottom: 0;width: 0;height: 0;border-style: solid;border-width: 30px 30px 0 0;border-top-left-radius: 5px;border-color: #d8d8d8 #fff transparent transparent;}

/* temp h */
.__MB_template_h{margin-left: 30px !important;}
.__MB_template_h .__RE_PLACE_CONTENT {color: #333;padding: 0 10px;font-size: inherit;line-height: 1.67;width: 100%;position: relative;border-left: 4px solid #f57921;text-align: justify;}
	
/* table align */
.__MB_template_d[align="center"],
.__MB_template_e[align="center"],
.__MB_template_e_gray[align="center"],
.__MB_template_e_blue[align="center"],
.__MB_template_f[align="center"],
.__MB_template_h[align="center"],
.__MASTERCMS_CONTENT table[align="center"],
.__MASTERCMS_CONTENT_MOBILE table[align="center"],
._MB_EMBEDNEWS[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_template_f[align="left"],
.__MB_template_h[align="left"],
.__mb_article_in_image[align="left"],
.MASTERCMS_TPL_TABLE[align="left"],
.__MASTERCMS_CONTENT table[align="left"],
.__MASTERCMS_CONTENT_MOBILE table[align="left"],
._MB_EMBEDNEWS[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_template_f[align="right"],
.__MB_template_h[align="right"],
.__mb_article_in_image[align="right"],
.MASTERCMS_TPL_TABLE[align="right"],
._MB_EMBEDNEWS[align="right"]{margin-left: 15px; margin-top: 10px; margin-bottom: 15px;}
.__MB_template_e_gray[align="right"]{margin:5px 15px 15px 20px;}

.__MASTERCMS_CONTENT_MOBILE table[align="left"]{width: 100% !important;margin-right: 0 !important;}
.__MASTERCMS_CONTENT_MOBILE table[align="right"]{width: 100% !important;margin-left: 0 !important;}

.__MASTERCMS_CONTENT iframe ,.__MASTERCMS_CONTENT_MOBILE iframe{width:100%;}
.__MASTERCMS_CONTENT table[border="1"] td, .__MASTERCMS_CONTENT_MOBILE table[border="1"] td{padding:6px;}
/* first-letter */
.cke_contents_ltr .first-letter p:first-child::first-letter,
.cke_contents_ltr .FIRST-LETTER p:first-child::first-letter,
._MB_EMAG_DETAIL .first-letter p:first-child > span:first-child, 
._MB_EMAG_DETAIL .FIRST-LETTER p:first-child > span:first-child{
	float: left;
    display: block;
    line-height: 1;
    margin: 0 10px 10px 0;
}
	
/* 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;}

/* .__MASTERCMS_CONTENT .video-container,.__MASTERCMS_CONTENT_MOBILE .video-container,.__MASTERCMS_CONTENT .oembed-provider-youtube,.__MASTERCMS_CONTENT_MOBILE .oembed-provider-youtube {
	position: relative;
	padding-bottom: 56.25%; 
	padding-top: 25px;
	height: 0;
} */
.__MASTERCMS_CONTENT .video-container iframe,.__MASTERCMS_CONTENT_MOBILE .video-container iframe,.__MASTERCMS_CONTENT .oembed-provider-youtube iframe,.__MASTERCMS_CONTENT_MOBILE .oembed-provider-youtube iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
}

.__MASTERCMS_CONTENT hr,.__MASTERCMS_CONTENT_MOBILE hr{
	margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #eee;
}
.__MASTERCMS_CONTENT,.__MASTERCMS_CONTENT_MOBILE{text-align: justify;}
.__MASTERCMS_CONTENT_MOBILE{text-align: left;}
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;
  font:inherit;
  text-align: center;
}
.__MASTERCMS_CONTENT img,
.__MASTERCMS_CONTENT_MOBILE img{
  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;
}
._MB_EMAG_DETAIL table .MASTERCMS_TPL_TABLE[align="left"],
.cke_contents_ltr table .MASTERCMS_TPL_TABLE[align="left"]{
  margin-left: -35%;
}
._MB_EMAG_DETAIL table .MASTERCMS_TPL_TABLE[align="right"],
.cke_contents_ltr table .MASTERCMS_TPL_TABLE[align="right"]{
  margin-right: -35%;
}

/* 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%;
	}
}
/* radio-detail */
#radio-detail {width: 100%;margin-bottom: 10px;margin-top: 10px;position: relative;float: left;}
#radio-detail audio {width: calc(100% - 78px);height: 25px;border-radius: 0;background: #f1f3f4;outline: 0;float: right;}
#radio-detail::before,.ico-radio-detail {display: block;position: absolute;z-index: 2;left: 0;top: 1px;background: url(../images/ico-radio.gif) 0 0 no-repeat;width: 91px;height: 26px;background-size: 90px;}
@supports (-webkit-touch-callout: none) {
/* CSS specific to iOS devices */ 
#radio-detail audio{width: calc(100% - 110px);background: #333;}
.ico-radio-detail{top: 0;height: 35px;width: 120px;background-size: 120px;}
}
/* __MB_CLASS_VOTE_TYPE_2 */
.__MB_CLASS_VOTE_TYPE_2{border: 1px solid #dbdbdb;}
.vote-name{border-bottom: 1px solid red;font-size: 14px;font-weight: 700;text-transform: uppercase;}
.vote-question{width: 100%;display: block;margin: 10px 0;font-weight: 700;font-size: 18px;}
.__MB_CLASS_VOTE_TYPE_2 .ui-widget-header {border: 1px solid #dddddd;background: #f5f5f5;}
.__MB_CLASS_VOTE_TYPE_2 .ui-widget-header td {padding: 3px 5px !important;font-size: 13px;color: inherit !important;}
.__MB_CLASS_VOTE_TYPE_2 table{margin: 0 !important;}
.__MB_BUTTON_USER_VOTE {background: #dbdbdb;border: 0;color: inherit;font-weight: 700;font-size: 12px !important;text-transform: uppercase;padding: 8px 10px !important;cursor: pointer;}
/* jw-video */
.jw-skin-seven .jw-display-icon-container{border: 0 !important;}
.___widget_video_article,.MASTERCMS_MEDIA_BOX{width: 100%;position: relative;padding-top: 56%;}
.___widget_video_article .jwplayer{position: absolute;top: 0;width: 100% !important;height: 100% !important;}
.jw-video.jw-reset {transform: scale(1,1) !important;width: 100% !important;height: 100% !important;inset: unset !important;}
.jw-controlbar{width: 100%;}
.jw-skin-seven .jw-slider-horizontal .jw-slider-container{margin-top: 6px;}

/* 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;}{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;}
/* tarot-type card */
.hna-detail-photo-result{margin-bottom: 20px;}
.tarot-type {display: inline-block;width: 100%;max-width: 250px;padding: 0 4%;position: relative;perspective: 1000px;-webkit-perspective: 1000px;}
.card {display: inline-block;transition: transform 1s;transform-style: preserve-3d;-webkit-transform-style: preserve-3d;-o-transform-style: preserve-3d;-moz-transform-style: preserve-3d;-webkit-transition: transform 1s;-o-transition: transform 1s;-moz-transition: transform 1s;cursor: pointer;position: relative;
width: 100%;height: 100%;padding-bottom: 175%;z-index: 10;}
.card.is-flipped {transform: rotateY(180deg);-moz-transform: rotateY(180deg);-webkit-transform: rotateY(180deg);-o-transform: rotateY(180deg);}
.card__face {position: absolute;width: 100%;height: 100%;color: white;text-align: center;font-weight: bold;font-size: 40px;backface-visibility: hidden;-moz-backface-visibility: hidden;-webkit-backface-visibility: hidden;-o-backface-visibility: hidden;}
.card__face--back {transform: rotateY(180deg);-moz-transform: rotateY(180deg);-webkit-transform: rotateY(180deg);-o-transform: rotateY(180deg);}
.img-card-tarot,.__MB_POPUP_IMG {border-radius: 10px;}
.card__face img {width: 100%;}
.tarot-type.nguoc .card__face--back img {transform: scale(-1, -1);}
.hna-detail-photo .MASTERCMS_TPL_TABLE.card__table{width: 25% !important;float: left;}
.__MASTERCMS_CONTENT_MOBILE .hna-detail-photo .MASTERCMS_TPL_TABLE.card__table{width: 50% !important;}
.hna-detail-photo .MASTERCMS_TPL_TABLE:nth-child(even){margin-left: 0;}
.hna-detail-photo .MASTERCMS_TPL_TABLE tr:not(:first-child){display: none;}
.hna-detail-photo .MASTERCMS_TPL_TABLE img{cursor: pointer;}
.tarot-type.deactive{filter: grayscale(1);}
.tarot-type.deactive,tarot-type.active{pointer-events: none;}
/* mastercms_toc */
table.mastercms_toc,.cke_contents_ltr table.mastercms_toc{background: #f1f1f1;box-shadow: 1px 1px 5px #e9e9e9;width: 75%;margin: auto;}
.__MASTERCMS_CONTENT_MOBILE table.mastercms_toc{width: 100%;}
table.mastercms_toc thead,.cke_contents_ltr table.mastercms_toc thead{background: #f1f1f1;}
table.mastercms_toc thead td,.cke_contents_ltr table.mastercms_toc thead td {padding-left: 20px;font-size: 14px;font-weight: 700;padding-top: 15px;cursor: pointer;padding-right: 20px;}
table.mastercms_toc thead td::after {
    content: ' ';
    float: right;
	margin-top: 6px;
    width: 0px;
    height: 0px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 7px solid #f3650d;
}
table.mastercms_toc thead.active td{padding: 15px 20px;}
table.mastercms_toc tbody td div,.cke_contents_ltr table.mastercms_toc tbody td div{margin: 0 !important;}
table.mastercms_toc tbody td,.cke_contents_ltr table.mastercms_toc tbody td{padding: 0 0 10px 0;}
table.mastercms_toc tbody td a,.cke_contents_ltr table.mastercms_toc tbody td a{color: #f57922;padding: 0 20px;display: block;font-size: 14px;margin-top: 5px;}
table.mastercms_toc tbody td a + p:empty,.cke_contents_ltr table.mastercms_toc tbody td a + p:empty{display: none;}
table.mastercms_toc tbody td a:hover,.cke_contents_ltr table.mastercms_toc tbody td a:hover{color: #0065b3;}
/* table.mastercms_toc tbody td div[style="margin-left:80px"] > .mastercms_toc{font-weight: 700;} */
table.mastercms_toc tbody td div div[style="margin-left:120px"] > .mastercms_toc,.cke_contents_ltr table.mastercms_toc tbody td div div[style="margin-left:120px"] > .mastercms_toc{margin-left: 30px;}
.ico-print {
    float: left;
    width: 22px;
    height: 20px;
    background: url(../images/pc/ico-social.png) -26px 0 no-repeat;
    margin-left: 10px;
}
.__MASTERCMS_TABLE_DATA td,.__MASTERCMS_TABLE_DATA td p{text-align: left;}
@media screen and (max-width: 800px) {
	#__MB_MASTERCMS_EL_3 .justified-gallery>a>.jg-caption,#__MB_MASTERCMS_EL_3 .justified-gallery>div>.jg-caption,#__MB_MASTERCMS_EL_3 .justified-gallery>figure>.jg-caption{display: block !important;background: #00000080;}
	.__MB_template_h{margin-left: 0 !important;}
}
.cms-picture{
    counter-reset: section;
}
.cms-picture .photoset-item::before{
    counter-increment: section;
    content: counter(section);
    width: 30px;
    height: 30px;
    display: block;
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    color: inherit;
    line-height: 30px;
    background: #fff;
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 1;
    border-radius: 30px;
}
.cms-layout-2x2-top + .cms-layout-2x2-top .pic-left .photoset-item::before{
    content: '2';
}
.cms-layout-2x2-top + .cms-layout-2x2-top .pic-right .photoset-item::before{
    content: '3';
}