.max-line-1 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical
}

.max-line-2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical
}

.max-line-3 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical
}

.max-line-4 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical
}

#login-modal.connected .profile-login {
    display: block
}

#login-modal.connected .user-login {
    display: none
}

.section_navbar .box-main-nav .tmp-nav .m-logo {
    display: none;
    width: 100%;
    text-align: center
}

.section_navbar .box-main-nav .tmp-nav .m-logo a {
    display: inline-block;
    padding: 0.6rem 0rem
}

.section_navbar .box-main-nav .tmp-nav .m-logo img {
    max-height: 35px
}

.section_navbar .box-main-nav .tmp-nav .m-search {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 53px;
    height: 53px;
    overflow: hidden;
    cursor: pointer;
    color: #921c1a
}

.section_navbar .box-main-nav .tmp-nav .m-search a {
    padding: 0;
    display: block
}

.section_navbar .box-main-nav .tmp-nav .m-search a .tmp-close {
    position: absolute;
    top: 160%;
    left: 20px;
    font-size: 13px;
    transform: translate(0%, -50%);
    transition: all .5s
}

.section_navbar .box-main-nav .tmp-nav .m-search a.btn-close .tmp-close {
    top: 27px
}

.section_navbar .box-main-nav .tmp-nav .m-search a.btn-close .tmp-search {
    top: -160%
}

.section_navbar .box-main-nav .tmp-nav .m-search a .tmp-search {
    font-size: 21px;
    top: 27px;
    left: 17px;
    position: absolute;
    transform: translate(0%, -50%);
    transition: all .5s
}

#content_detail blockquote {
    max-width: 100%;
    width: 100% !important;
    margin: 15px 0 !important;
    padding: 20px 15px 1px !important;
    text-align: left;
}

.tmp-entry-content figure figcaption {
    font-size: 15px
}

#content_detail .videomclWrapper,
.videomclWrapper {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 25px;
    height: 0
}

#content_detail .source {
    text-align: right
}

#content_detail .videomclWrapper iframe,
.videomclWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%
}

.box-style-4 .image-news.img-16-9 {
    display: block;
    position: relative
}

.box-style-4 .image-news.img-16-9:before {
    content: "";
    background-image: url(../images/icon-play-finance.png);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    z-index: 1
}

.box-style-4 .image-news.bg-img-gray {
    position: relative;
}
.box-style-4 .image-news.img-16-9 img{
    border: 1px solid #3e3e3e;
}
.box-style-4 .image-news.bg-img-gray:before {
    content: "";
    background-image: url(../images/icon-play-finance.png);
    background-size: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background-size: 100% 100%;
    z-index: 1
}
.box-style-4 .line-bottom-white a {
    position: relative;
    padding-left: 20px;
    font-size: 20px;
}
.box-style-4 .line-bottom-white a::before {
    content: '';
    display: block;
    width: 5px;
    height: 19px;
    position: absolute;
    top: 2px;
    left: 2px;
    bottom: 0;
    background-color: #EF5623;
    transform: skew(-15deg);
}

.img-emagazine-logo {
    max-width: 135px;
    margin-left: 10px
}

.footer-intro {
    color: #585858
}

.menu_left_mobile {
    display: none
}

.display-none {
    display: none
}

.box-finance .tab-title {
    height: 42px;
    border-bottom: 1px solid #ef4036
}

.box-finance .tab-title li {
    float: left;
    position: relative;
    width: 50%;
    text-align: center
}

.box-finance .tab-title li.active {
    background: #ef4036
}

.box-finance .tab-title li a {
    line-height: 42px;
    color: #333;
    padding: 0 10px;
    font-size: 13px
}

.box-finance .tab-title li a .fa {
    line-height: 42px;
    opacity: 1
}

.box-finance .tab-title li.active a {
    color: #fff
}

@media screen and (max-width: 1023px) {
    body {
        font-size: 14px
    }
    .ths-topic {
        display: none !important
    }
    .bottom_left_mobile {
        position: absolute;
        bottom: 40px;
        right: calc(100% - 200px)
    }
    .px-10 {
        padding: 0 !important
    }
    .menu_left_mobile.sticky_main {
        top: 0
    }
    .top-header {
        background: #0e628c;
        color: #fff;
        height: 30px
    }
    .top-header>.container>a {
        border-left: 1px solid #a0a0a0;
        margin-left: 5px;
        padding-left: 5px;
        font-size: 13px
    }
    .top-header>.container>a:first-child {
        border-left: 0;
        margin-left: 0;
        padding-left: 0
    }
    .img-emagazine-logo {
        max-width: 90px
    }
    .box_search_mobile {
        padding: 10px
    }
    .box_search_mobile .btn-outline-secondary {
        position: absolute;
        right: 0;
        top: 1px;
        border: 0;
        background-color: transparent !important
    }
    .box_search_mobile .input-group>.form-control:not(:last-child),
    .box_search_mobile .input-group>.custom-select:not(:last-child) {
        border-radius: 30px
    }
    .tmp_section_slider_events {
        margin-bottom: 0 !important
    }
    .navigation.sticky_main {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 999
    }
    .icon_logo img {
        height: 50px;
        /* margin-left: 25px */
    }
    .box_auth {
        height: 50px
    }
    .avatar-user,
    .avatar-user:hover {
        height: 50px;
        padding: 0 10px
    }
    .dropdown-menu {
        font-size: 14px
    }
    .tmp-person {
        color: #0859a3;
        width: 50px;
        height: 50px;
        text-align: center;
        line-height: 50px
    }
    .lds-ellipsis div {
        background: #fff;
        width: 8px;
        height: 8px
    }
    .lds-ellipsis div:nth-child(1) {
        left: 4px;
        animation: lds-ellipsis1 0.6s infinite
    }
    .lds-ellipsis div:nth-child(2) {
        left: 4px;
        animation: lds-ellipsis2 0.6s infinite
    }
    .lds-ellipsis div:nth-child(3) {
        left: 20px;
        animation: lds-ellipsis2 0.6s infinite
    }
    .lds-ellipsis div:nth-child(4) {
        left: 30px;
        animation: lds-ellipsis3 0.6s infinite
    }
    .menu_left_mobile .head_left_mobile img {
        height: 50px
    }
    .modal-content {
        height: 100vh;
        overflow-y: auto
    }
    .open {
        position: relative;
        width: 50px;
        height: 50px;
        display: block;
        cursor: pointer;
        -webkit-transition: opacity .2s linear;
        transition: opacity .2s linear
    }
    .main_box .tmp_section_banner .col-4 {
        margin-bottom: 15px
    }
    .main_box .tmp_section_banner .col-4 img {
        width: 35%;
        float: left;
        margin-right: 15px
    }
    .main_box .tmp_section_banner .col-4 .box-content-item {
        margin-top: 0 !important
    }
    .open:hover {
        opacity: .8
    }
    .open span {
        display: block;
        float: left;
        clear: both;
        height: 2px;
        width: 20px;
        background-color: #0155a1;
        position: absolute;
        right: 15px;
        top: 6px;
        overflow: hidden;
        -webkit-transition: all .4s ease;
        transition: all .4s ease
    }
    .open span:nth-child(1) {
        margin-top: 11px;
        z-index: 9
    }
    .open span:nth-child(2) {
        margin-top: 18px
    }
    .open span:nth-child(3) {
        margin-top: 25px
    }
    .shadown_menu {
        background: rgba(0, 0, 0, .3);
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        z-index: -1
    }
    .shadown_menu.active {
        z-index: 888;
        opacity: 1
    }
    .menu_left_mobile.active {
        left: 0;
        -webkit-transition: all .4s ease;
        transition: all .4s ease
    }
    .menu_left_mobile {
        background: #f4f4f4;
        width: 260px;
        position: fixed;
        z-index: 9999;
        overflow: scroll;
        height: 100%;
        display: block;
        left: -260px;
        -webkit-transition: all .4s ease;
        transition: all .4s ease
    }
    .menu_left_mobile .head_left_mobile {
        background: #fff;
        height: 50px;
        border-bottom: 1px solid #e8e8e8;
        border-right: 1px solid #e8e8e8;
        text-align: center
    }
    .menu_left_mobile li {
        border-top: 1px solid #e8e8e8
    }
    .menu_left_mobile li a {
        color: #333;
        font-family: "Roboto", 'Arial';
        font-weight: 500;
        font-size: 14px;
        width: 100%;
        line-height: 40px;
        padding-left: 10px;
        text-transform: uppercase
    }
    .menu_left_mobile li.active {
        background: #ddd
    }
    .menu_left_mobile .head_left_mobile a {
        line-height: 50px
    }
    .menu_left_mobile .sub_menu_mobile {
        background: #444
    }
    .menu_left_mobile .sub_menu_mobile li {
        border-bottom: 1px dashed #555
    }
    .menu_left_mobile .sub_menu_mobile li:last-child {
        border-bottom: none
    }
    .menu_left_mobile .sub_menu_mobile li a {
        font-family: "Roboto", 'Arial';
        text-transform: inherit;
        padding-left: 30px
    }
    .navigation {
        position: relative;
        z-index: 999;
        height: 50px;
        background: #ffffff;
        border-bottom: 1px solid #e8e8e8;
        -webkit-transition: all .4s ease;
        transition: all .4s ease;
        text-align: center
    }
    .search_main:hover .btn_search,
    .search_main.active .btn_search {
        height: 34px
    }
    .button_menu_mobile {
        left: 0;
        -webkit-transition: all .4s ease;
        transition: all .4s ease;
        z-index: 9999
    }
    .button_menu_mobile.active {
        background: #fff;
        position: fixed;
        left: 260px;
        width: 50px;
        height: 50px;
        -webkit-transition: all .4s ease;
        transition: all .4s ease;
        border-bottom: 1px solid #ddd
    }
    .button_menu_mobile.active .open {
        width: 50px
    }
    .button_menu_mobile.active .open span:nth-child(2) {
        overflow: visible
    }
    .button_menu_mobile.active .open span:nth-child(1),
    .button_menu_mobile.active .open span:nth-child(3) {
        z-index: 100;
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg)
    }
    .button_menu_mobile.active .open span:nth-child(1) {
        margin-top: 0;
        -webkit-transform: rotate(45deg) translateY(12px) translateX(12px);
        -ms-transform: rotate(45deg) translateY(12px) translateX(12px);
        transform: rotate(45deg) translateY(12px) translateX(12px)
    }
    .button_menu_mobile.active .open span:nth-child(2) {
        opacity: 0
    }
    .button_menu_mobile.active .open span:nth-child(3) {
        -webkit-transform: rotate(-45deg) translateY(-10px) translateX(10px);
        -ms-transform: rotate(-45deg) translateY(-10px) translateX(10px);
        transform: rotate(-45deg) translateY(-10px) translateX(10px);
        margin-top: 31px
    }
    .modal-dialog {
        margin: 0
    }
    .modal-content {
        border: 0;
        border-radius: 0
    }
}

@media screen and (max-width: 922px) {
    .section_navbar {
        position: fixed
    }
    .modal {
        overflow: auto
    }
    .section_header {
        height: 0;
        position: fixed;
        top: -1000px;
        z-index: 1111
    }
    .section_navbar .box-main-nav .tmp-nav .nav-item {
        display: none
    }
    .tmp_section_cate_video {
        padding: 0
    }
    .section_navbar .box-main-nav .tmp-nav .m-logo {
        display: block
    }
    .section_navbar .box-main-nav .tmp-nav .m-search {
        display: block
    }
    .section_navbar .box-main-nav .tmp-nav .m-search .input-group {
        top: -299px;
        position: fixed;
        background: #f2f2f2;
        height: 67px;
        padding: 15px;
        transition: all 0.4s
    }
    .section_navbar .box-main-nav .tmp-nav .m-search .input-group.open {
        left: 0;
        top: 56px;
        width: 100%
    }
    .section_navbar .box-main-nav .tmp-nav .m-search .input-group input.form-control {
        border-radius: 50px;
        font-size: 14px;
        border: 1px solid #c6c6c6;
        font-family: Arial;
        width: 100%
    }
    .section_navbar .box-main-nav .tmp-nav .m-search .input-group .btn-outline-secondary {
        position: absolute;
        top: 17px;
        right: 15px;
        border: 0;
        border-radius: 50px
    }
    .section_navbar .box-main-nav .tmp-nav {
        padding: 0 53px 0 53px
    }
    .tmp-main-nav-footer {
        display: none
    }
    .tmp-w-big {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%
    }
    .col-3 {
        flex: 0 0 50%;
        max-width: 50%;
        width: 50%
    }
    .section_navbar .box-main-nav .show-nav-more .custom-row .custom-col {
        width: 33.33%
    }
    .item-news {
        margin-top: 15px
    }
    .slick-dotted.slick-slider {
        margin-bottom: 0
    }
    .tmp_section_cate_video {
        margin-bottom: 15px
    }
    .btn-nav-more {
        width: 53px;
        height: 53px
    }
    .btn-nav-more .tmp-menu {
        top: 27px;
        right: 17px
    }
    .btn-nav-more .tmp-close {
        right: 20px
    }
    .btn-nav-more.btn-close .tmp-close {
        top: 27px
    }
    .box-style-4 {
        margin: 20px -15px !important
    }
    .show-nav-more {
        overflow-y: scroll;
        max-height: 100vh;
        padding-bottom: 50px
    }
    .tmp_section_detail_content .box-img-cover {
        margin: 0 -15px
    }
    .tmp_section_detail_content .tmp-entry-header,
    .tmp_section_detail_content .common-title-cover,
    .tmp_section_detail_content .tmp-entry-content {
        padding: 0
    }
    .tmp_section_detail_content .tmp_section_group_module {
        margin: 20px 0 !important
    }
    .tmp_section_detail_content .tmp-entry-content figure {
        margin: 15px -15px
    }
    .more-news .tmp-title-large {
        margin-top: 10px
    }
    .more-news {
        margin: 20px 0 !important
    }
    .tmp_section_detail_content .tmp-entry-header .tmp-title-big {
        font-size: 26px;
        font-weight: 700;
        font-family: sans-serif;
        text-align: left!important;
    }
    .tmp_section_banner .box-banner .box-title-sapo {
        letter-spacing: 0
    }
}

@media screen and (max-width: 767px) {
    .col-4,
    .tmp-w-300,
    .col-8,
    .col-3,
    .col-9 {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%
    }
    
    .main_box .tmp_section_banner .col-4 .box-content-item .box-navi-news,
    .main_box .tmp_section_banner .col-4 .box-content-item .tmp-txt-desc {
        display: none
    }
    .section_navbar .box-main-nav .show-nav-more .custom-row .custom-col {
        width: 50%;
        padding: 0
    }
    .section_navbar .container {
        padding: 0
    }
    .tmp_section_banner .box-banner a {
        position: static;
        padding: 0;
        background: none;
        margin: 0 -15px;
        border-radius: 0;
    }
    .tmp_section_banner .box-banner a img {
        transform: inherit;
        position: static;
        border-radius: 0;
    }
    .tmp_section_banner .box-banner .box-title-sapo {
        position: static;
        background: none;
        color: inherit;
        padding: 10px 15px
    }
    .tmp_section_banner .box-banner .box-title-sapo .tmp-title-big {
        color: #0e628c !important;
        font-size: 22px;
        line-height: 1.45;
        text-align: left
    }
    .tmp_section_banner .box-banner .box-title-sapo .txt-sapo {
        text-align: left;
        font-size: 16px;
        margin-bottom: 10px !important;
        margin-top: 5px !important
    }
    .box-pick .item-news .image-news,
    .box-style-5 .item-news .image-news {
        float: left;
        width: 35%;
        margin-right: 15px
    }
    .box-pick .item-news .box-navi-news,
    .box-style-5 .item-news .box-navi-news {
        display: none
    }
    .box-pick .item-news .box-content-item,
    .box-style-5 .item-news .box-content-item,
    .box-style-2 .box-content-item,
    .box-style-3 .tmp-title-medium,
    .list-news-in-category .box-content-item {
        margin-top: 0 !important
    }
    .box-pick .item-news .box-content-item .tmp-txt-desc,
    .box-style-5 .item-news .box-content-item .tmp-txt-desc,
    .box-style-2 .item-cate-news .box-navi-news,
    .box-style-2 .item-cate-news .tmp-txt-desc,
    .box-style-3 .item-cate-news .box-navi-news,
    .box-style-3 .item-cate-news .tmp-txt-desc,
    .list-news-in-category .item-cate-news .box-navi-news,
    .list-news-in-category .item-cate-news .tmp-txt-desc {
        display: none
    }
    .box-pick .item-news .box-content-item .tmp-title-large,
    .box-style-5 .item-news .box-content-item .tmp-title-large,
    .box-style-2 .tmp-title-large,
    .box-style-3 .tmp-title-medium,
    .list-news-in-category .tmp-title-large, .box-pick .tmp-title-large {
        font-size: 16px!important;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical
    }
    .box-pick .item-news,
    .box-style-5 .item-news {
        padding-top: 15px;
        border-top: 1px solid #ddd
    }
    .box-pick .col-4:first-child .item-news,
    .box-style-5 .col-12:first-child .item-news {
        margin-top: 0;
        border-top: 0;
        padding-top: 0
    }
    body.homepage>section,
    .tmp-w-big>section {
        margin-bottom: 20px !important
    }
    .item-cate-news {
        padding: 15px 0
    }
    .box-style-2 .col-4,
    .box-style-3 .col-4,
    .list-news-in-category .col-4 {
        flex: 0 0 35%;
        max-width: 35%;
        width: 35%;
        padding-right: 0
    }
    .box-style-2 .col-8,
    .box-style-3 .col-8,
    .list-news-in-category .col-8 {
        flex: 0 0 65%;
        max-width: 65%;
        width: 65%
    }
    .box-style-3 .tmp-txt-desc {
        margin-bottom: 15px
    }
    .box-style-3 .col-12.col-lg-5 .item-news .image-news {
        margin: 0 -15px;
        display: block
    }
    .box-channel-300 {
        display: block;
        margin: 20px -15px
    }
    footer .tmp-copyright .inner {
        margin: 0 -15px !important;
        display: block;
        padding: 15px
    }
    .tmp_section_slider_events .box-list-item .animation {
        animation: marquee 13s linear infinite
    }
    .tmp-title-small {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical
    }
    .tmp-news-new {
        border-bottom: 0
    }
    .tmp-w-300>section>div {
        margin-bottom: 0
    }
    .breadcrumbs .container {
        padding: 0
    }
    .box-style-2 .tmp-title-large{
        font-family: "Roboto", 'Arial';
        font-weight: 700;
    }
    .tmp-title-cate.bg-garden-gray a, .box-style-1 .video_box h2 a{
        font-size: 16px;
    }
    .box-style-3 .tmp-title-large{
        color: #18678f;
    }

    .dmca-style{
        position: absolute;
        bottom: 25px;
        right: 15px;
    }
}
