.cke_editable.cke_contents_ltr {
    font-family: Helvetica, Arial, sans-serif
}


/* 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 */

.__MASTERCMS_CONTENT iframe,
.__MASTERCMS_CONTENT_MOBILE iframe,
.__MASTERCMS_CONTENT video,
.__MASTERCMS_CONTENT_MOBILE video {
    width: 100%;
}

.__MASTERCMS_CONTENT figcaption,
.__MASTERCMS_CONTENT_MOBILE figcaption {
    margin-bottom: 15px;
}

table {
    border-collapse: collapse;
    display: table;
    padding: 5px;
    vertical-align: top;
    line-height: 1.4;
}

.__MASTERCMS_CONTENT h1,
.__MASTERCMS_CONTENT_MOBILE h1 {
    display: block;
    font-size: 2em;
    margin: 0.67em 0;
    font-weight: bold;
    line-height: 1.3
}

.__MASTERCMS_CONTENT h2,
.cke_contents_ltr h2,
.__MASTERCMS_CONTENT_MOBILE h2 {
    display: block;
    font-size: 1.5em;
    margin: 0.83em 0;
    font-weight: bold;
    line-height: 1.3
}

.page-infographic .__MASTERCMS_CONTENT,
.page-infographic .__MASTERCMS_CONTENT h2 {
    font-size: 20px;
    line-height: 26px;
}

.page-infographic .sapo_detail {
    font-size: 20px;
    line-height: 26px;
}

.__MASTERCMS_CONTENT h3,
.__MASTERCMS_CONTENT_MOBILE h3 {
    display: block;
    font-size: 1.17em;
    margin: 1em 0;
    font-weight: bold;
    line-height: 1.3
}

.__MASTERCMS_CONTENT h4,
.__MASTERCMS_CONTENT_MOBILE h4 {
    display: block;
    font-size: 1em;
    margin: 1.33em 0;
    font-weight: bold;
    line-height: 1.3
}

.__MASTERCMS_CONTENT h5,
.__MASTERCMS_CONTENT_MOBILE h5 {
    display: block;
    font-size: 0.83em;
    margin: 1.67em 0;
    font-weight: bold;
    line-height: 1.3
}

.__MASTERCMS_CONTENT h6,
.__MASTERCMS_CONTENT_MOBILE h6 {
    display: block;
    font-size: 0.67em;
    margin: 2.33em 0;
    font-weight: bold;
    line-height: 1.3
}

.__MASTERCMS_CONTENT video,
.__MASTERCMS_CONTENT_MOBILE video {
    width: 100%;
    object-fit: contain;
}

.__MASTERCMS_CONTENT a,
.__MASTERCMS_CONTENT_MOBILE a {
    color: blue
}

.__MASTERCMS_CONTENT ul,
.__MASTERCMS_CONTENT_MOBILE ul,
.__MASTERCMS_CONTENT ol,
.__MASTERCMS_CONTENT_MOBILE ol {
    display: block;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 40px;
}


/* .__MASTERCMS_CONTENT p{font-size: 16px;line-height: 1.4;margin-bottom: 15px;}
.__MASTERCMS_CONTENT_MOBILE p{font-size: 18px;line-height: 1.6;margin-bottom: 15px;} */


/* table images */

.MASTERCMS_TPL_TABLE,
.__MASTERCMS_CONTENT table,
.__MASTERCMS_CONTENT_MOBILE table {
    margin: 0 auto 15px auto;
    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: #999;
    font-style: italic;
    padding: 10px;
    text-align: justify;
    font-size: 13px;
    font-weight: 400;
}


/* temp a */

.__MB_ARTICLE_A {
    width: 100%;
    margin: 10px 0;
}

.__MB_ARTICLE_A td[width="10"] {
    vertical-align: top;
    display: none;
}

.__MB_ARTICLE_A td a {
    font-size: 16px;
    line-height: 1.875;
    color: #0084dd;
    position: relative;
    width: 100%;
    float: left;
    margin: 5px 0;
    padding-left: 15px;
}

.__MB_ARTICLE_A td a:before {
    width: 5px;
    height: 5px;
    background: #e5325c;
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
}

.__MB_ARTICLE_A td a:hover {
    color: inherit;
}


/* temp k */

.__mb_article_in_image {
    border-style: solid;
    border-width: thin;
    border-color: #F7F7F7;
    background-color: #FCFCFC;
    color: #333;
    width: 100%;
    margin: 0 0 3px 0;
}

.__mb_article_in_image td {
    padding: 0 10px 0 0 !important;
    background: #f2f2f2;
    border-bottom: 2px solid #fff;
}

.__mb_article_in_image td a {
    color: blue;
    font-weight: bold;
    font-size: 14px;
    margin-top: 0px;
    padding-top: 0px;
}

.__mb_article_in_image td span {
    font-size: 12px;
    color: #4E5864;
}

.__mb_article_in_image td p {
    margin: 5px 0!important;
    line-height: 18px;
}

.__mb_article_in_image_large_box,
.__mb_article_in_image_box {
    width: 105px;
    height: 70px;
    overflow: hidden;
    display: block;
    margin: 10px !important;
    float: left;
}

.__mb_article_in_image_box img {
    width: 100%;
    min-height: 100%;
}

.__mb_article_in_title_box {
    top: 8px;
    position: relative;
    color: #0000ff !important;
    line-height: 1.3;
    font-size: 16px;
}

.__mb_article_in_title_box:hover {
    color: inherit !important;
}


/* temp k old */

.__mb_article_in_image td[width="49"] {
    padding-right: 15px;
    margin-bottom: 0;
}

.__mb_article_in_image td[width="49"] div {
    width: 105px;
    height: 65px !important;
    overflow: hidden;
}

.__mb_article_in_image td[width="49"] img {
    width: 100% !important;
    min-height: 100%;
}

.__mb_article_in_image td[width="49"]+td>a {
    top: 5px;
    position: relative;
    color: #0000ff !important;
    line-height: 1.3;
    font-size: 16px !important;
}


/* temp c */

.__mb_article_in_image_large .__mb_article_in_image_box {
    display: block;
    width: 160px;
    height: 90px;
    margin-right: 15px;
}


/* temp c old */

.__mb_article_in_image td[width="100"] {
    padding-right: 15px !important;
    margin-bottom: 0;
}

.__mb_article_in_image td[width="100"],
.__mb_article_in_image td[width="100"]+td {
    border-bottom: 0;
}

.__mb_article_in_image td[width="100"] div {
    width: 160px;
    height: 90px !important;
    overflow: hidden;
}

.__mb_article_in_image td[width="100"] img {
    width: 100% !important;
    min-height: 100%;
}

.__mb_article_in_image td[width="100"]+td>a {
    top: 0;
    position: relative;
    color: #0000ff !important;
    line-height: 1.3;
    font-size: 16px;
}


/* temp g */

.__MB_template_g {
    width: 100%;
    margin: 20px 0;
    background-color: #e3eeff;
    border: 2px solid #c0d5f5;
}

.__MB_template_g td.__RE_PLACE_CONTENT,
.__MB_template_d td.__RE_PLACE_CONTENT {
    padding: 15px;
}

.__RE_PLACE_CONTENT p:first-child {
    margin-top: 0;
}

.__RE_PLACE_CONTENT p:last-child {
    margin-bottom: 0;
}


/* temp d */

.__MB_template_d {
    width: 100%;
    margin: 20px 0;
    background-color: #fffaea;
    border: 2px solid #eec1b3;
}


/* temp e-orange */

.__MB_template_e,
.__MB_template_e_gray,
.__MB_template_e_blue {
    width: 100%;
    margin: 20px 0;
    border: 0;
}

.__MB_template_e .__RE_PLACE_CONTENT,
.__MB_template_e_gray .__RE_PLACE_CONTENT,
.__MB_template_e_blue .__RE_PLACE_CONTENT {
    border: 5px solid #ffdfb4 !important;
    padding: 15px 20px;
    position: relative;
    text-align: justify;
}

.__MB_template_e .__RE_PLACE_CONTENT:before,
.__MB_template_e_blue .__RE_PLACE_CONTENT:before {
    content: '';
    display: block;
    position: absolute;
    width: 44px;
    height: 24px;
    top: -14px;
    left: calc(50% - 22px);
    background: url(../images/post-temp/ico-quote-orange-top.png) center center no-repeat;
}

.__MB_template_e .__RE_PLACE_CONTENT:after,
.__MB_template_e_blue .__RE_PLACE_CONTENT:after {
    content: '';
    display: block;
    position: absolute;
    width: 44px;
    height: 24px;
    bottom: -14px;
    left: calc(50% - 22px);
    background: url(../images/post-temp/ico-quote-orange-bottom.png) center center no-repeat;
}


/* temp e-gray */

.__MB_template_e_gray {
    margin: 20px 15px;
    width: calc(100% - 30px);
}

.__MB_template_e_gray .__RE_PLACE_CONTENT {
    color: #566e78;
    border-color: #cfd8dd !important
}

.__MB_template_e_gray .__RE_PLACE_CONTENT:before {
    content: '';
    display: block;
    position: absolute;
    width: 44px;
    height: 44px;
    left: -25px;
    top: calc(50% - 22px);
    background: #fff url(../images/post-temp/ico-quote-gray-left.png) center center no-repeat;
}

.__MB_template_e_gray .__RE_PLACE_CONTENT:after {
    content: '';
    display: block;
    position: absolute;
    width: 44px;
    height: 44px;
    right: -25px;
    top: calc(50% - 22px);
    background: #fff url(../images/post-temp/ico-quote-gray-right.png) center center no-repeat;
}


/* temp e-blue */

.__MB_template_e_blue .__RE_PLACE_CONTENT {
    color: #666;
    border-color: #83d2fd !important;
    border-top-right-radius: 40px;
    border-bottom-left-radius: 40px;
    display: block;
}

.__MB_template_e_blue .__RE_PLACE_CONTENT:before {
    background-image: url(../images/post-temp/ico-quote-blue-top.png) !important;
}

.__MB_template_e_blue .__RE_PLACE_CONTENT:after {
    background-image: url(../images/post-temp/ico-quote-blue-bottom.png) !important;
}


/* table align */

.__MB_template_d[align="center"],
.__MB_template_e[align="center"],
.__MB_template_e_gray[align="center"],
.__MB_template_e_blue[align="center"],
.__MASTERCMS_CONTENT table[align="center"],
.__MASTERCMS_CONTENT_MOBILE table[align="center"] {
    margin: 20px auto !important;
}

.__MB_template_g[align="left"],
.__MB_template_d[align="left"],
.__MB_template_e[align="left"],
.__MB_template_e_blue[align="left"],
.__mb_article_in_image[align="left"],
.MASTERCMS_TPL_TABLE[align="left"],
.__MASTERCMS_CONTENT table[align="left"],
.__MASTERCMS_CONTENT_MOBILE table[align="left"] {
    margin-right: 15px;
    margin-top: 10px;
    margin-bottom: 15px;
}

.__MB_template_e_gray[align="left"] {
    margin: 5px 20px 15px 15px;
}

.__MB_template_g[align="right"],
.__MB_template_d[align="right"],
.__MB_template_e[align="right"],
.__MB_template_e_blue[align="right"],
.__mb_article_in_image[align="right"],
.MASTERCMS_TPL_TABLE[align="right"] {
    margin-left: 15px;
    margin-top: 10px;
    margin-bottom: 15px;
}

.__MB_template_e_gray[align="right"] {
    margin: 5px 15px 15px 20px;
}


/* table custom */

.__MASTERCMS_CONTENT table[border="1"] td,
.__MASTERCMS_CONTENT_MOBILE table[border="1"] td {
    padding: 8px;
}

.__MASTERCMS_CONTENT table[border="1"],
.__MASTERCMS_CONTENT table[border="2"],
.cke_contents_ltr table[border="1"],
.cke_contents_ltr table[border="2"] {
    border-color: #ccc;
    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;
}


/* emagazine */

.cke_contents_ltr {
    font-size: initial;
    font-family: 'Roboto', sans-serif;
}

._MB_EMAG_DETAIL {
    font-family: 'Roboto', sans-serif;
    font-size: inherit;
    width: 100%;
    text-rendering: geometricPrecision;
}

.cke_contents_ltr table[align="center"] table[align="left"],
._MB_EMAG_DETAIL table[align="center"] table[align="left"] {
    margin: 20px 20px 20px -30%;
}

.cke_contents_ltr table[align="center"] table[align="right"],
._MB_EMAG_DETAIL table[align="center"] table[align="right"] {
    margin: 20px -30% 20px 20px;
}


/* video nhúng trực tiếp từ Youtube */

._MB_EMAG_DETAIL .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;
}

._MB_EMAG_DETAIL .MASTERCMS_MEDIA_BOX.oembed-provider-youtube iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

@media screen and (max-width: 480px) {
    /* VIDEO CĂNG TRÀN MÉP TRÊN MOBILE */
    ._MB_EMAG_DETAIL .___widget_video_article {
        width: 100%!important;
    }
    ._MB_EMAG_DETAIL .MASTERCMS_MEDIA_BOX.oembed-provider-youtube {
        padding-top: 56.25%;
        width: 100%;
    }
}


/* demo-gallery */

.demo-gallery {
    margin-bottom: 20px;
}

.demo-gallery>ul {
    margin: 0;
    padding: 0 !important;
    list-style: none;
}

.demo-gallery>ul>li {
    float: left;
    width: 33.33%;
    height: 175px;
    overflow: hidden;
    border: 1px solid #fff;
}

.demo-gallery>ul>li>a {
    display: block;
    overflow: hidden;
    position: relative;
    float: left;
}

.demo-gallery>ul>li a>img {
    -webkit-transition: -webkit-transform 0.15s ease 0s;
    -moz-transition: -moz-transform 0.15s ease 0s;
    -o-transition: -o-transform 0.15s ease 0s;
    transition: transform 0.15s ease 0s;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
    height: 100%;
    width: 100%;
}

.demo-gallery>ul>li a:hover>img {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
}

.demo-gallery>ul>li a:hover .demo-gallery-poster>img {
    opacity: 1;
}

.demo-gallery>ul>li a .demo-gallery-poster {
    background-color: rgba(0, 0, 0, 0.1);
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    -webkit-transition: background-color 0.15s ease 0s;
    -o-transition: background-color 0.15s ease 0s;
    transition: background-color 0.15s ease 0s;
}

.demo-gallery>ul>li a .demo-gallery-poster>img {
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    opacity: 0;
    position: absolute;
    top: 50%;
    -webkit-transition: opacity 0.3s ease 0s;
    -o-transition: opacity 0.3s ease 0s;
    transition: opacity 0.3s ease 0s;
}

.demo-gallery>ul>li a:hover .demo-gallery-poster {
    background-color: rgba(0, 0, 0, 0.5);
}

.demo-gallery .justified-gallery>a>img {
    -webkit-transition: -webkit-transform 0.15s ease 0s;
    -moz-transition: -moz-transform 0.15s ease 0s;
    -o-transition: -o-transform 0.15s ease 0s;
    transition: transform 0.15s ease 0s;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
    height: 100%;
    width: 100%;
}

.demo-gallery .justified-gallery>a:hover>img {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
}

.demo-gallery .justified-gallery>a:hover .demo-gallery-poster>img {
    opacity: 1;
}

.demo-gallery .justified-gallery>a .demo-gallery-poster {
    background-color: rgba(0, 0, 0, 0.1);
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    -webkit-transition: background-color 0.15s ease 0s;
    -o-transition: background-color 0.15s ease 0s;
    transition: background-color 0.15s ease 0s;
}

.demo-gallery .justified-gallery>a .demo-gallery-poster>img {
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    opacity: 0;
    position: absolute;
    top: 50%;
    -webkit-transition: opacity 0.3s ease 0s;
    -o-transition: opacity 0.3s ease 0s;
    transition: opacity 0.3s ease 0s;
}

.demo-gallery .justified-gallery>a:hover .demo-gallery-poster {
    background-color: rgba(0, 0, 0, 0.5);
}

.demo-gallery .video .demo-gallery-poster img {
    height: 48px;
    margin-left: -24px;
    margin-top: -24px;
    opacity: 0.8;
    width: 48px;
}

.demo-gallery.dark>ul>li a {
    border: 3px solid #04070a;
}

@media only screen and (max-width: 800px) {
    .demo-gallery>ul>li {
        width: 33.33%;
        height: 17vw;
    }
}