html, body {
    font-family: 'Open Sans', sans-serif !important;
    margin: 0 auto;
    padding: 0;
    background-color: #fff !important
}

a:visited, a:hover, a:link {
    text-decoration: none !important;
    color: #8D021F
}

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0
}

h1, h2, h3 {
    margin: 0
}

ul {
    padding: 0;
    margin: 0;
    list-style: none
}

p {
    margin: 0 0 10px
}

.clfff {
    color: #fff !important
}

.clred {
    color: #8D021F
}

.fs-14 {
    font-size: 14px
}

.fs-16 {
    font-size: 16px
}

.fw-bold {
    font-weight: 500
}

.under {
    text-decoration: underline !important
}

.container {
    max-width: 1140px !important;
    margin: 0 auto
}

.pad20 {
    padding: 20px
}

img {
    max-width: 100%;
    height: auto
}

html:not(.tab-outline) :focus {
    outline: none
}

input[type="search"]::-webkit-search-cancel-button {
    display: none
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%
}

header {
    background: #8D021F;
    position: relative
}

.main_nav {
    position: relative
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px 0
}

.right-menu {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 16px;
    z-index: 99
}

.nav-menu {
    margin-right: 40px;
    cursor: pointer
}

.menu-warper.show {
    transform: scale(1);
    visibility: visible;
    opacity: 1
}

.menu-warper {
    position: absolute;
    background: #fff;
    min-width: 565px;
    visibility: hidden;
    opacity: 0;
    z-index: 1;
    top: 105px;
    right: 108px;
    border-radius: 12px;
    padding: 20px 20px 0;
    border: 1px solid #E3E5E6;
    display: flex
}

.menu-warper ul.list {
    width: 50%;
    margin-bottom: 0
}

.menu-warper ul.list li, .nav-drill ul.list li {
    margin-bottom: 15px
}

.menu-warper ul.list span, .nav-drill ul.list span, .menu-warper ul.list a, .nav-drill ul.list a {
    color: #374957;
    font-weight: 500
}

.listsub, .nav-drill .listsub {
    padding-left: 37px;
    margin-top: 10px
}

.menu-warper ul.list .listsub li, .nav-drill ul.list .listsub li {
    margin-bottom: 5px
}

.menu-warper ul.list .listsub a, .nav-drill ul.list .listsub a {
    font-size: 14px
}

.language {
    cursor: pointer
}

.language .tool {
    display: flex;
    align-items: center
}

.hamburger {
    display: none
}

.hamburger img {
    width: 24px;
    height: 24px
}

.hamburger {
    display: none
}

.hamburger img {
    width: 24px;
    height: 24px
}

.nav-drill {
    background-color: #fff;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    -webkit-transition: .45s;
    transition: .45s;
    height: 0
}

.nav-is-toggled .nav-drill {
    transform: translateY(0);
    height: 100%
}

.nav-is-toggled::after {
    opacity: 1;
    visibility: visible
}

.nav-drill ul.nav li.active a::before {
    content: none
}

.nav-drill ul.nav a.active {
    font-weight: 700;
    border-bottom: none
}

.branding-title {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
    border-bottom: 1px solid #E5E7E8;
    padding-bottom: 20px
}

.branding-title img {
    width: 120px
}

.closemenu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    margin-left: auto
}

.closemenu img {
    display: block;
    width: 24px;
    height: 24px
}

@media (hover: hover) {
    .closemenu:hover {
        background: #0000000f;
        border-radius: 6px
    }
}

.closemenu:focus {
    outline: 2px solid #8d021f66;
    outline-offset: 2px
}

.closemenu:focus-visible {
    outline: 2px solid #8d021f99
}

.border-style {
    padding: 60px 10px;
    text-align: center
}

.first-section {
    position: relative;
    background: #F9F2F4;
    padding-bottom: 2rem
}

.first-section .title {
    font-weight: 500;
    font-size: 36px;
    margin-bottom: 10px;
    color: #374957;
    line-height: 36px;
    display: inline-block
}

.first-section p.sub_header {
    margin-bottom: 0
}

.search-form {
    margin: 35px auto 0;
    display: flex;
    max-width: 794px;
    position: relative
}

.search-form input {
    width: 100%;
    box-sizing: border-box;
    border-radius: 8px;
    height: 66px;
    padding: 0 100px 0 20px;
    font-size: 14px;
    border: 3px solid #8D021F;
    background: #fff
}

.search-form input::placeholder {
    font-size: 14px
}

.btn-red {
    background: #8D021F;
    border: none;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: transform .05s ease;
    border-radius: 0 8px 8px 0;
    min-width: 186px
}

.first-section .alert-danger {
    color: #CB0E35;
    font-size: 18px;
    background: #FEF2F5;
    border: 1px solid #CB0E35;
    margin-bottom: 0;
    padding: 14px 10px;
    box-shadow: 0 4px 24px #87878714;
    border-radius: 8px
}

.btn-red:hover {
    color: #fff;
    background-color: #BF1F3C;
    box-shadow: 0 4px 12px #0003
}

#btn-submit:active {
    transform: scale(0.97)
}

.sub-language.show-language .sub_menu {
    transform: scale(1);
    visibility: visible;
    opacity: 1
}

.sub_menu {
    position: absolute;
    background: #fff;
    width: 230px;
    visibility: hidden;
    opacity: 0;
    z-index: 99;
    top: 115px;
    right: 0;
    box-shadow: 0 4px 18px #00000024;
    border-radius: 5px;
    padding: 5px 0
}

.sub_menu li a {
    display: block;
    padding: 10px 20px;
    color: #374957;
    text-align: left
}

.sub_menu a:hover {
    color: #8D021F;
    font-weight: 500
}

.titles {
    font-size: 24px;
    font-weight: 500;
    position: relative;
    margin-bottom: 34px;
    color: #374957
}

.w-65 {
    max-width: 65%
}

.howdown, .question {
    background: #8d021f0d;
    padding: 50px 0;
    margin-top: 50px
}

.title {
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 30px;
    text-align: center
}

.howdown .title {
    color: #8D021F;
    font-size: 26px
}

.howdown .list li, .howdown .decrip {
    margin-bottom: 35px;
    color: #374957;
    font-size: 16px;
    position: relative;
    padding-left: 25px
}

.howdown .list li::before {
    content: "";
    display: inline-block;
    background: #8D021F;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    position: absolute;
    top: 6px;
    left: 0
}

.our-tool span {
    color: #374957;
    font-size: 18px;
    font-weight: 500;
    margin-top: 30px;
    display: block
}

.our-tool img {
    max-width: 80px;
    max-height: 80px
}

.popular-down h3 {
    color: #374957;
    font-size: 24px;
    font-weight: 500;
    text-align: center;
    margin: 90px 0 30px
}

.popular-down ul.list {
    display: grid;
    align-items: center;
    grid-template-columns:32% 32% 32%;
    gap: 20px
}

.popular-down ul.list li {
    border: 1px solid #E5E7E8;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    transition: all .3s
}

.popular-down span {
    color: #374957;
    font-size: 16px;
    margin: 0 0 0 15px
}

.popular-down ul.list li:hover {
    cursor: pointer;
    border: 1px solid #8D021F;
    background: #FFEBEF
}

.no-bor {
    border: none !important
}

.whyshould {
    padding: 90px 0
}

.timeline {
    position: relative
}

.timeline h3 {
    font-weight: 500;
    font-size: 18px;
    color: #374957;
    margin-bottom: 12px
}

.timeline p {
    margin-bottom: 0
}

.timeline::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    border-left: 2px dashed #7F8890;
    height: 100%;
    z-index: 0;
    transform: translateX(-50%)
}

.icon-language {
    display: none
}

.listnumber {
    list-style-type: decimal;
    padding-left: 15px
}

.howdown .list.listnumber li {
    padding: 0;
    margin-bottom: 10px
}

.howdown .list.listnumber li::before {
    content: none
}

.question .card {
    border: none
}

.question .card-header {
    background: none;
    border: none;
    padding: 0
}

.question .accordion .card .card-header .card-link {
    display: block;
    color: #374957;
    font-size: 18px;
    font-weight: 500;
    padding-right: 20px
}

.question .accordion .card .card-header .card-link:before {
    background: url(../image/minus.svg) no-repeat 0 0;
    width: 24px;
    height: 24px;
    content: "";
    position: absolute;
    top: 20px;
    right: 20px
}

.question .accordion .card .card-header .card-link.collapsed:before {
    background: url(../image/plus.svg) no-repeat 0 0
}

.question .accordion .card .card-body {
    padding: 10px 0 0;
    font-size: 14px
}

.question .accordion .card {
    border: 1px solid #E5E7E8 !important;
    padding: 14px 24px;
    margin-bottom: 16px;
    border-radius: 8px !important
}

.loading img {
    max-width: 120px
}

.loading p {
    color: #374957;
    font-size: 14px
}

.tab-content .table td {
    vertical-align: middle
}

.tab-video .nav {
    background: #F2F3F4;
    border-radius: 20px;
    margin-bottom: 15px
}

.tab-video .nav li {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center
}

.tab-video .nav li a {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #374957;
    padding: 10px
}

.tab-video .nav li a.active {
    background: #8D021F;
    width: 100%;
    color: #fff;
    border-radius: 20px;
    margin: 4px
}

.tab-video .nav li a.active img {
    filter: invert(96%) sepia(96%) saturate(18%) hue-rotate(281deg) brightness(105%) contrast(106%)
}
.video-card{margin-bottom:16px;}

.box-imgvideo {
    text-align: center
}

.box-imgvideo img {
    border-radius: 6px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 350px;
    display: inline-block;
    aspect-ratio: 16/9
}

.box-imgvideo h3 {
    font-size: 16px;
    color: #374957;
    font-weight: 500;
    margin: 20px 0 18px
}

.modal-header {
    background: #8D021F
}

.modal-header h3 {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 0
}

.modal img.img {
    max-width: 120px
}

.modal .modal-footer {
    justify-content: space-between
}

.modal .modal-footer span {
    color: #8D021F;
    font-size: 16px;
    font-weight: 500
}

.social-icons a {
    width: 30px;
    margin-left: 10px
}

.modal .btn {
    border-radius: 8px;
    color: #fff !important;
    width: 193px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px
}

.btn-reds {
    background: #8D021F !important
}

.downfun {
    display: flex
}

.select-box {
    position: relative;
    display: block;
    width: 100%;
    margin: 0 auto;
    font-size: 14px;
    color: #374957
}

.select-box select {
    width: 100%;
    height: 48px;
    border: none;
    padding: 10px;
    background: #F2F3F4;
    border-radius: 8px 0 0 8px
}

.downfun .btn-reds {
    display: flex;
    align-items: center;
    padding: 0 60px;
    font-weight: 500;
    color: #fff !important;
    border-radius: 0 8px 8px 0
}

.footer-wap {
    border-top: 1px solid #B2B7B3;
    padding: 20px 0 30px
}

.copyright {
    padding: 20px 10px;
    text-align: center;
    background: #8D021F;
    font-size: 14px;
    font-weight: 500;
    color: #fff
}

.footer-wap ul li a {
    color: #374957;
    display: block;
    margin-bottom: 10px;
    transition: all .3s
}

.footer-wap ul li a:hover {
    color: #8D021F
}

.vtitle {
    font-size: 18px;
    padding-top: 13px;
    padding-bottom: 20px;
    text-align: center;
    font-weight: 700
}

.autocomplete-suggestions {
    background-color: #fff;
    border: 1px solid #d3e0e9;
    border-radius: 0;
    box-shadow: 0 3px 3px #00000036;
    padding: 6px 0 19px;
    overflow: auto
}

.autocomplete-suggestion {
    padding: 3px 15px;
    cursor: pointer
}

.autocomplete-suggestions .autocomplete-selected {
    background: #eee
}

a.ctrVD {
    z-index: 9;
    position: absolute;
    right: 196px;
    top: 12px;
    border: 1px solid #DFDFDF;
    width: 80px;
    height: 42px;
    line-height: 42px
}

a.ctrVD:hover {
    color: #FFF
}

#btn-paste {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 500;
    color: #495057;
    border: 2px solid #6c757d;
    border-radius: 8px;
    background-color: transparent;
    cursor: pointer;
    transition: all .2s ease-in-out;
    text-decoration: none
}

#btn-paste i {
    display: flex;
    align-items: center;
    justify-content: center
}

#btn-paste:hover {
    background-color: #6c757d;
    color: #fff;
    border-color: #6c757d
}

#btn-paste:active {
    transform: scale(0.97)
}

#btn-paste span {
    line-height: 1
}

.videoItem .content span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
    padding-top: 5px;
    font-size: 15px;
    color: #374957
}

@media only screen and (max-width: 980px) {
    .mobile-nav-toggle, .mobile-nav {
        display: none
    }

    .popular-down ul.list {
        grid-template-columns:48% 48%
    }
}

@media only screen and (max-width: 768px) {
    .hamburger, .icon-language {
        display: block
    }

    .nav-menu, .tool-lang {
        display: none
    }

    .sub_menu {
        top: 80px
    }

    .logo {
        max-width: 120px
    }

    .site-header {
        padding: 32px 0 16px
    }

    .titles {
        font-size: 18px
    }

    .w-65 {
        max-width: 100% !important
    }

    .howdown .list {
        margin-top: 30px
    }

    .first-section .title {
        font-size: 26px
    }

    .popular-down ul.list li span {
        margin: 0 0 0 15px !important
    }

    .timeline::before {
        content: none
    }

    .timeline .col-md-5 {
        text-align: center !important
    }

    .timeline .col-sm-1 {
        display: none
    }

    .whyshould {
        padding: 30px 0
    }

    .timeline .row:nth-child(2n) .col-md-5:last-child {
        order: 1
    }

    .timeline .row:nth-child(2n) .col-md-5:first-child {
        order: 2
    }

    h4 {
        font-size: 18px
    }
}

@media only screen and (max-width: 590px) {
    h1.title {
        font-size: 26px;
        margin-bottom: 10px
    }

    .first-section {
        padding-bottom: 2rem
    }

    .search-form {
        display: block
    }

    .search-form input {
        padding: 0 100px 0 10px;
        border: 3px solid #ccc;
        border-radius: 8px !important
    }

    a.ctrVD {
        right: 10px
    }

    .btn-red {
        position: inherit;
        width: 100%;
        height: 52px;
        border-radius: 8px;
        margin-top: 12px
    }

    .first-section .title {
        font-size: 23px
    }

    .titles, .popular-down h3, h3.title, .howdown .title, .question .accordion .card .card-header .card-link {
        font-size: 20px
    }

    .our-tool span {
        font-size: 14px;
        margin: 24px 0 32px
    }

    .popular-down h3 {
        margin: 24px 0 30px
    }

    .popular-down ul.list {
        grid-template-columns:100%
    }

    .our-tool .col-md-3 {
        width: 50%
    }

    .popular-down ul.list li.no-bor {
        display: none
    }

    .footer-wap {
        margin-top: 30px
    }

    .footer-wap .col-md-4 {
        width: 50%
    }

    .whyshould {
        padding: 30px 0
    }

    .howdown .list li {
        margin-bottom: 15px
    }

    .howdown {
        padding: 20px 0
    }

    .timeline h3 {
        font-size: 14px
    }

    .box-imgvideo {
        display: block;
        margin: 0 auto
    }

    .social-icons {
        width: 100%;
        margin: 5px auto;
        text-align: center
    }

    .social-icons a {
        width: 18%;
        margin: 0;
        text-align: center
    }

    .social-icons a img {
        max-width: 36px
    }
}

.popular-down a.d-flex {
    width: 100%
}

.first-section, header, .popular-down, .whyshould {
    overflow-anchor: none
}

.skeleton {
    position: relative;
    overflow: hidden;
    background: #eee
}

.skeleton::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, #ffffff80, transparent);
    animation: shimmer 1.2s infinite
}

@keyframes shimmer {
    100% {
        transform: translateX(100%)
    }
}

.box-imgvideo img, .video-card .thumb {
    width: 100%;
    aspect-ratio: 16/9;
    display: block;
    object-fit: cover
}

.table .skeleton-line {
    height: 14px;
    border-radius: 6px
}

.video-grid {
    display: grid;
    grid-template-columns:repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px
}

.video-card {
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 6px #0000000d
}

.video-card .thumb {
    border-radius: 10px 10px 0 0
}

.video-card .meta {
    padding: 10px;
    min-height: 52px
}

.modal.preloaded {
    display: none
}

.box-imgvideo {
    align-items: center;
    justify-content: center
}

.box-imgvideo img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    object-fit: cover
}

.video-card {
    margin-bottom: 16px
}

.listvideo .row {
    margin-bottom: -16px
}

.sk-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4em;
    max-height: 2.8em;
    word-break: break-word
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch
}

@media (max-width: 575.98px) {
    .tab-video .table {
        table-layout: fixed
    }

    .tab-video th, .tab-video td {
        word-break: break-word;
        white-space: normal
    }

    .tab-video td.txt-center {
        white-space: nowrap
    }

    .tab-video .btn {
        width: 100%;
        padding-left: 8px;
        padding-right: 8px
    }
}

#search-overlay {
    display: none;
    position: absolute;
    inset: 0;
    background: #fff9;
    z-index: 10;
    align-items: center;
    justify-content: center
}

#search-overlay img {
    width: 68px;
    height: auto
}
.thumb-4x5 {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 8px;
    background: #eee;
    position: relative;
}
.thumb-4x5 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*Fix old browser*/
.legacy .skeleton::after,
.legacy #search-overlay {
    top: 0; right: 0; bottom: 0; left: 0;
}
.legacy .closemenu:focus {
    outline: 2px solid #8d021f99;
}
.legacy .box-imgvideo img,
.legacy .video-card .thumb,
.legacy .thumb-4x5 {
    aspect-ratio: auto;
    height: auto;
    width: 100%;
}
.legacy .thumb-4x5 {
    padding-top: 125%;
    position: relative;
}
.legacy .thumb-4x5 img {
    position: absolute; top:0; left:0; right:0; bottom:0;
    width: 100%; height: 100%;
    object-fit: cover;
}

.legacy img {
    font-family: 'object-fit: cover;';
}
