*,
*::before,
*::after {
    box-sizing: border-box;
}

.test {
    font-family: monospace;
    font-size: 1.25rem;
}

body {
    padding: 0;
    margin: 0;
    font-family: "Montserrat";
}

.main-container {
    background-color: #15202b;
    color: #fff;
}
.img-post-home {
    width: 184px;
    height: auto;
}
@media (max-width: 576px) {
    .img-post-home {
        width: 127px;
    }
}

@media (min-width: 1440px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 992px !important;
    }
}
@media (min-width: 1200px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1200px;
    }
}
@media (min-width: 576px) and (max-width: 768px) {
    .container,
    .container-sm {
        max-width: 100%;
    }
}

/* need a solution for the next 2 properties */
li {
    list-style: none;
}

a {
    color: #fff;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
    color: #fff;
}

.w-md-20 {
    width: 100%;
}

.w-md-55 {
    width: 100%;
}

.w-md-25 {
    width: 100%;
}

.text-red {
    color: #e64e46 !important;
}
.text-grey {
    color: #81929f;
}
.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    position: relative;
}
.image-bar {
    position: absolute;
    left: -350px;
    margin-top: 60px;
}
.nav-branding {
    font-size: 1.5rem;
    font-weight: 600;
    transition: color 500ms ease;
}

.nav-branding:hover,
.nav-branding:focus {
    color: dodgerblue;
}

.nav-menu {
    padding-left: 1rem;
    position: fixed;
    z-index: 1;
    left: -100%;
    top: 2.375em;
    flex-direction: column;
    background-color: #15202b;
    width: 65%;
    height: 100%;
    /* text-align: center; */
    transition: 750ms;
}

.nav-menu.active {
    left: 0;
}

.nav-item {
    margin: 1em 0;
}

.nav-link {
    transition: 400ms ease;
}

.nav-link:hover,
.nav-link:focus {
    color: dodgerblue;
}

.hamburger {
    cursor: pointer;
}

.bar {
    display: block;
    background-color: #fff;
    width: 24px;
    /* The following 2 properties are essential in creating the "X" when the hamburger is clicked. If you change just 1 of the 2, then you need to find the proper combination for the other one */
    height: 2px;
    margin: 6px auto;

    /*    -webkit-transition: all 300ms ease;  */
    transition: all 300ms ease-in-out;
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.sidebar {
    background: #6955dc;
}
@media (max-width: 992px) {
    .nav-bar {
        position: unset;
    }
    .image-bar {
        display: none;
        position: unset;
    }
}
@media (min-width: 992px) {
    .w-md-55 {
        width: 55% !important;
    }
    
}
@media (min-width: 768px) {
    .w-md-20 {
        width: 20%;
    }

    .w-md-55 {
        width: 75%;
    }

    .w-md-25 {
        width: 25%;
    }

    .nav-bar {
        display: block;
        position: fixed;
    }

    .nav-menu {
        padding: 0;
        position: static;
        /* display: flex; */
        flex-direction: row;
        justify-content: space-between;
        /* align-items: center; */
        gap: 1em;
        width: auto;
    }

    .hamburger {
        display: none;
    }

    .sidebar {
        background: #15202b;
    }
}

.main-content {
    border-left: 1px solid #38444d;
    border-right: 1px solid #38444d;
    color: #dfdfdf;
}
.banner-mobile{
    width: 100%;
}
.banner-mobile img{
    width: 100%;
}
.head-nav-box {
    display: flex;
    align-items: center;
    height: 60px;
    border-bottom: 1px solid #38444d;
    font-size: 20px;
    font-weight: bold;
}

.article-container-box {
    padding: 0.75rem 0.75rem 1rem 0.75rem;
    border-bottom: 1px solid #38444d;
}

.article-container-box:hover {
    background: #253e55;
}

.article-container-box-time,
.calendar-container-box-time,
.carlendar-box-item-time {
    background: #284464;
    width: 60px;
    height: 20px;
    border-radius: 5px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-container-box-title {
    margin-top: 10px;
    color: #dfdfdf;
    font-size: 14px;
    line-height: 20px;
}

.calendar-container-box {
    padding: 1rem;
    background-color: #192734;
}

.calendar-container-box img {
    width: 30px;
    height: 20px;
}

.star-rating {
    font-size: 12px;
}

.checked {
    color: orange;
}

.checked-yelow {
    color: orange;
}

.checked-red {
    color: rgb(230, 78, 70);
}

.text-color-red {
    color: rgb(230, 78, 70) !important;
}

.date-of-week {
    font-size: 13px;
    color: black;
}
.date {
    font-size: 15px;
    color: black;
    font-weight: 700;
}

.calendar-container-box-title {
    color: #dfdfdf;
    font-size: 14px;
    line-height: 20px;
    font-weight: bold;
}

.calendar-container-card {
    margin-top: 10px;
    padding-top: 10px;
    margin-left: 2rem;
    border-top: 1px solid #38444d;
}

.futures-box-top-label {
    padding: 2px;
    border: 2px solid #81929f;
    font-size: 12px;
    border-radius: 2px;
    color: #dfdfdf;
}

.futures-box-top-content {
    color: #81929f;
    font-size: 16px;
}
.futures-box-content .item {
    border-right: 1px dashed #38444d;
}

.futures-box-content .item:last-child {
    border-right: 0;
}
.futures-box-content .item-label,
.futures-box-content .bahnschrift {
    font-size: 18px;
}

.futures-box-content .item-value {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}
.brokers-container-top,
.slider-short-video-card {
    background: #192734;
}
.brokers-container-top .question {
    font-size: 12px;
    color: #81929f;
}

.slider-box {
    width: 100%;
    margin: 0 auto;
}
.slider-box-item {
    border: 1px solid #38444d;
    border-radius: 4px;
}
.slider-box-item .image {
    width: 100%;
    height: 155px;
}
.slider-box-item .image img {
    width: 100%;
    height: 100%;
}
.slider-box-item-content .title {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.slider-box-item-content .title img {
    width: 18px;
    height: 12px;
}
.slider-box-item-content .box {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.slider-box-item-content .box .box-text {
    font-size: 12px;
}
.slider-box-item-content .broker-link {
    display: flex;
    align-items: center;
    font-size: 10px;
}
.slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    border: none;
    background: none;
}
.slick-arrow i {
    font-size: 80px;
    color: #5e027579;
}
.slick-arrow.slick-prev {
    left: 0;
}
.slick-arrow.slick-next {
    right: 0;
}
.slider-short-video-card-item {
    padding: 0 10px;
}
.slider-short-video-card-item .image-box {
    position: relative;
    width: 100%;
    height: 254px;
    border-radius: 10px;
    border: 1px solid rgb(197, 197, 197);
}
.slider-short-video-card-item img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}
.slider-short-video-card-item .icon-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 12px;
    border-radius: 10px;
    background: #0000006e;
}
.slider-short-video-card .slick-arrow.slick-prev {
    left: 3%;
}
.slider-short-video-card .slick-arrow.slick-next {
    right: 3%;
}
.btn-fb,
.btn-ytb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48%;
    text-align: center;
    border-radius: 5px;
    font-size: 12px;
    color: rgb(243, 243, 243);
    border: 0px solid rgb(105, 85, 220);
}
.btn-fb {
    background: rgb(59, 89, 152);
}
.btn-ytb {
    background: rgb(255, 0, 0);
}
.carousel-item1 {
    width: 100%;
    height: 124px;
    border-radius: 10px;
}
.carousel-item2 {
    width: 100%;
    height: 160px;
    border-radius: 10px;
}
.carousel-inner img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}
.carlender-box,
.complaint-box,
.contact-container,
.recruitment-container,
.ytb-container {
    background: #192734;
    border-radius: 10px;
}
.carlender-text {
    font-size: 14px;
}
.carlender-box-item {
    background-color: #15202b;
    margin-top: 0.5rem;
    padding: 0.75rem 0.5rem;
    border-radius: 10px;
}
.carlender-box-item img {
    width: 30px;
    height: 20px;
}
.calendar-box-item-title {
    font-size: 12px;
}
.complaint-box-title-all {
    display: flex;
    align-items: center;
    color: #81929f;
    background-color: #15202b;
    border-radius: 5px;
    padding: 2px 6px;
    font-size: 12px;
}
.complaint-box-info-container-time {
    color: #81929f;
    font-size: 12px;
}
.avatar-box {
    width: 54px;
    height: 54px;
    border-width: 1px;
}
.avatar-box img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
.complaint-box-pointer-content {
    font-size: 12px;
}
.complaint-box-container {
    padding-top: 0.75rem;
    border-top: 1px solid #22303e;
}
.complaint-box-container-image {
    width: 58px;
    height: 58px;
    border-radius: 10px;
}
.complaint-box-container-image img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}
.complaint-box-container .images-box {
    width: 24px;
    height: auto;
}
.complaint-box-container .images-box img {
    width: 100%;
    height: 100%;
}
.complaint-box-container-text {
    font-size: 12px;
    color: #81929f;
}
.rank-bar {
    width: 85%;
    border-radius: 2px;
    height: 4px;
    display: flex;
    align-items: center;
    background-color: #4e4e4e9d;
}
.rank-progress {
    height: 100%;
    background-color: #7c00b6;
    border-radius: 2px;
}
.contact-container-content {
    font-size: 13px;
}
.icon-mes {
    padding: 1rem;
    color: #8900c9;
    background-color: #b169bb34;
    border-radius: 6px;
}
.icon-ad {
    padding: 1rem;
    color: #0099ff;
    background-color: #5476b634;
    border-radius: 6px;
}
.icon-service {
    padding: 1rem;
    color: #ff0000;
    background-color: #b65b5434;
    border-radius: 6px;
}
.party-container-content {
    font-size: 11px;
}
#more {
    display: none;
}
.btn-more {
    width: 100%;
    border: none;
    background: none;
    color: #6955dc;
    text-align: center;
    font-size: 12px;
}
.recruitment-container ul {
    padding-left: 1.5rem;
    margin-bottom: 0;
}
.recruitment-container li {
    list-style: disc;
    color: #81929f;
    padding: 0.2rem 0;
}
.recruitment-container li a {
    color: #81929f;
    font-size: 12px;
}
.brokers-item {
    position: relative;
    border-bottom: 1px solid #22303e;
}
.brokers-item:hover {
    background: #253e55;
}

.brokers-item-avatar-box {
    width: 100px;
    height: 100px;
}
.brokers-item-avatar-box img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #fff;
}
.brokers-item-content-box {
    width: calc(100% - 120px);
}
.triangle-box {
    position: absolute;
    top: 0;
    right: 0;
}
.triangle-box-text {
    width: 60px;
    height: 60px;
    line-height: 48px;
    position: relative;
    z-index: 2;
    font-weight: bold;
    transform: rotate(45deg);
    font-size: 12px;
    text-align: center;
}
.triangle-box-bg-1 {
    border-color: #878787 #878787 transparent transparent;
}
.triangle-box-bg-4 {
    border-color: #2b9a8b #2b9a8b transparent transparent;
}
.triangle-box-bg {
    border-style: solid;
    border-width: 35px;
    position: absolute;
    right: 0;
    top: 0;
}

.video-item {
    padding: 1rem 1rem 2rem 1rem;
    border-bottom: 1px solid #38444d;
}
.video-view-container {
    border: 1px solid #38444d;
    border-radius: 12px;
    margin-bottom: 1rem;
}
.video-box iframe {
    width: 100%;
    height: 300px;
    border-radius: 10px 10px 0px 0;
}
@media (max-width: 567px) {
    .video-item {
        padding: 0.5rem;
    }
    .video-box iframe {
        height: auto;
    }
}
.video-info-avatar-box {
    width: 50px;
    height: 50px;
}
.video-info-avatar-box img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
.video-info-time {
    font-size: 13px;
}
.video-info-title {
    font-weight: bold;
    font-size: 14px;
}
.btn-video-item {
    border: none;
    background: rgb(255, 0, 0);
    border-radius: 5px;
    width: 100%;
    padding: 0.5rem 0;
    font-weight: bold;
    font-size: 14px;
}
.comment-view {
    padding: 40px 0;
    border-top: 1px solid #38444d;
}
.comment-replay-view {
    border-bottom: 1px solid #38444d;
    margin-bottom: 30px;
    padding: 0 16px 40px;
}
.comment-replay-view-first {
    background: #192734;
    border-radius: 20px;
    padding: 12px 12px 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.comment-replay-avatar-box {
    width: 40px;
    height: 40px;
}
.comment-replay-avatar-box img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
.comment-replay-view-first .replay-box {
    border: 1px solid #3d4c5c;
    background: #192734;
    border-radius: 10px;
    padding: 10px;
    width: calc(100% - 50px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.comment-replay-view-first .replay-box .el-textarea__inner {
    font-size: 14px;
    padding: 5px 15px;
    width: 100%;
    background: none;
    border: 0;
    resize: none;
    outline: none;
    height: 31px;
    min-height: 31px;
    color: #fff;
}
.comment-replay-view-first .replay-box button {
    color: #770085;
    border: none;
    background: none;
}
.commont-container-title {
    font-size: 18px;
    font-weight: bold;
}
.commont-item {
    margin-top: 30px;
}
.comment-item-content {
    width: calc(100% - 50px);
}
.brokers-view-container {
    background-color: #192734;
    border-radius: 10px;
    position: relative;
}
.brokers-view-container:hover {
    background-color: #253e55;
}
.brokers-item-container-top {
    display: flex;
    font-weight: bold;
}
.brokers-item-container-top-image {
    width: 135px;
    height: 135px;
}
.brokers-item-container-top-image img {
    width: 100%;
    height: 100%;
}
.brokers-item-container-top-content {
    width: calc(100% - 135px);
}
.brokers-item-container-top-content-img {
    width: 30px;
    height: 20px;
}
.brokers-item-container-top-content-img img {
    width: 100%;
    height: 100%;
}
.schedule-view span {
    font-size: 12px;
    color: #81929f;
}
.schedule-view .rank-bar {
    width: 85%;
    border-radius: 6px;
    height: 12px;
    display: flex;
    align-items: center;
    background-color: #ffffffc9;
    margin-right: 5px;
}
.schedule-view .rank-progress {
    height: 100%;
    background-color: #7c00b6;
    border-radius: 2px;
}
.schedule-view .d-flex span {
    font-size: 20px;
}
.brokers-item-container-data {
    border-top: 1px solid #3d4c5c;
}
.brokers-item-container-data .text-grey {
    font-size: 10px;
    font-weight: bold;
}
.brokers-item-container-icon {
    position: absolute;
    top: 0;
    right: 2%;
    color: #ffd000;
}
.article-view-container {
    border-bottom: 1px solid #3d4c5c;
    font-weight: bold;
}
.author-container-box-time {
    padding: 3px;
    background: #284464;
    width: 60px;
    font-size: 12px;
    text-align: center;
    border-radius: 5px;
}
.author-container-box-title {
    color: #9fafff;
    font-size: 15px;
    margin-top: 5px;
    margin-bottom: 10px;
    line-height: 20px;
}
.author-container-box-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}
.author-container-box-ad {
    color: rgb(37, 150, 190);
    background: rgba(37, 150, 190, 0.2);
    padding: 2px 5px;
    border-radius: 4px;
}
.author-container-box-content {
    font-size: 13px;
    width: calc(100% - 128px);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}
.author-container-box-img {
    width: 118px;
    height: 80px;
}
.author-container-box-img img {
    width: 100%;
    height: 100%;
}
.brokers-detail-container-banner {
    width: 100%;
    height: 360px;
}
.brokers-detail-container-banner img {
    width: 100%;
    height: 100%;
}
.brokers-detail-container-social {
    position: relative;
    display: flex;
    justify-content: space-between;
}
.brokers-detail-container-social svg {
    border: 1px solid #ccc;
    border-radius: 50%;
    padding: 0.5rem;
}
.brokers-detail-container-social-logo {
    width: 104px;
    height: 104px;
    position: absolute;
    top: -52px;
    right: 40px;
}
.brokers-detail-container-social-logo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
.brokers-detail-container-content .content-info .content-main {
    background: #1a2e45;
    color: #d9d9d9;
    font-size: 14px;
}
.brokers-detail-container-content .content-info .row {
    font-size: 12px;
    font-weight: bold;
}
.license-items {
    background-color: #1a2e45;
    padding: 10px 5px;
    margin: 5px 0;
}
.license-items-brokers-img {
    width: 36px;
    height: 20px;
}
.license-items-brokers-img img {
    width: 100%;
    height: 100%;
}
.license-items-brokers-normal {
    width: 87px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    border-radius: 10px 0 10px 0;
    font-weight: bold;
}

.form-img img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: #fff;
}
.form-control.form-img-input {
    height: auto;
}
/* trí code */

.article-detail-container {
    width: 100%;
}
.article-detail-container-content {
    width: 100%;
}
.article-detail-container-content img,
.article-detail-container-content span,
.article-detail-container-content p,
.article-detail-container-content i {
    max-width: 100%;
}
.broker-link a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.el-backtop {
    position: fixed;
    z-index: 99;
    bottom: 20px;
    right: 10%;
}
.el-backtop button{
    border: 2px solid #3d4c5c;
    outline: none;
    color: white;
    cursor: pointer;
    padding: 10px;
    background: #192734;
    font-size: 8px;
}

#btn-top {
    display: none;
}

.el-backtop button:hover {
    background-color: #892eff;
}
