.main-timeline {
    position: relative;
}

.main-timeline:before {
    content: "";
    width: 5px;
    height: 100%;
    background: #1a7bff;
    position: absolute;
    top: 0;
    left: 50%;
}

.main-timeline .timeline {
    position: relative;
    margin-bottom: 20px;
}

.main-timeline .timeline:before,
.main-timeline .timeline:after {
    content: "";
    display: block;
    width: 100%;
    clear: both;
}

.main-timeline .timeline-icon {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid #007bff;
    margin: 0px auto;
    position: absolute;
    top: 49%;
    left: 4px;
    right: 0;
    z-index: 1;
}

.main-timeline .timeline-content {
    width: 45%;
    padding: 20px;
    background: #ffffff00;
    text-align: center;
    float: left;
    margin-top: 8px;
    position: relative;
    transition: all 0.3s ease 0s;
    border: 3px solid #007bff;
    border-radius: 25px;
}

.main-timeline .timeline-content:before {
    content: "";
    width: 12.5%;
    height: 3px;
    background: #1a7bff;
    position: absolute;
    top: 50%;
    right: -13%;
}

.ten-san-pham {
    margin-block-end: 0rem;
}

@media only screen and (max-width: 767px) {
    .main-timeline .timeline-content:before {
        display: none;
    }
    .main-timeline .timeline-icon {
        width: 25px;
        height: 25px;
        border-radius: 50%;
        background: #fff;
        border: 4px solid #007bff;
        margin: 0px auto;
        position: absolute;
        top: 0;
        left: 4px;
        right: 0;
        z-index: 1;
    }
    .main-timeline {
        margin-left: -10%;
    }
    .ten-san-pham {
        margin-block-end: 1rem;
        background-color: white;
        z-index: 42;
    }
}

.main-timeline .title {
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
    margin-top: 0;
    text-shadow: 1px 0px 0px rgba(56, 56, 56, 0.5);
    border: 1px solid #007bff;
    background-color: #007bff;
    border-radius: 25px;
    width: 90%;
    text-align: left;
    padding-left: 10px;
}

.owner-product img {
    width: 4rem;
    height: 4rem;
    border: 1px solid black;
    border-radius: 50%;
    margin-left: -1rem;
}

.owner-product span {
    text-align: center;
    font-size: 0.9rem;
    font-weight: bold;
    padding-left: 5px;
}

@media only screen and (max-width: 570px) and (min-width: 510px) {
    .owner-product img {
        margin-left: -1rem;
    }
}

@media only screen and (max-width: 509px) and (min-width: 330px) {
    .owner-product img {
        margin-left: -1rem;
    }
}

@media only screen and (max-width: 329px) {
    .owner-product img {
        margin-left: -1rem;
    }
}

@media only screen and (min-width: 767px) {
    .main-timeline .title {
        font-size: 1.1rem;
        font-weight: 500;
        color: #fff;
        margin-top: 0;
        text-shadow: 1px 0px 0px rgba(56, 56, 56, 0.5);
        border: 1px solid #007bff;
        background-color: #007bff;
        border-radius: 25px;
        width: 80%;
    }
    .owner-product img {
        width: 4rem;
        height: 4rem;
        border: 1px solid black;
        border-radius: 50%;
        margin-left: -16px;
    }
    .owner-product span {
        text-align: center;
        font-size: 1.4rem;
        font-weight: bold;
        /* padding-left: 5px; */
    }
}


/* .card-title {
    font-weight: 600;
}
..card-title */

.main-timeline .description {
    font-size: 16px;
    color: #000;
}

.main-timeline .timeline-content.right {
    float: right;
}

.main-timeline .timeline-content.right:before {
    left: -10%;
    width: 10%;
}

@media only screen and (max-width: 767px) {
    .main-timeline:before {
        left: 55%;
        /* right: 0; */
        height: 100%;
        margin-top: -8%;
        z-index: -100000;
    }
    .main-timeline .timeline-icon {
        left: 11%;
        /* margin: 0; */
    }
    .main-timeline .timeline-content {
        width: 90%;
        float: right;
        background-color: white;
    }
    .main-timeline .timeline-content:before {
        left: -10%;
    }
}

.pswp__zoom-wrap {
    text-align: center;
    /* transform: translate3d(595px, 229px, 0px) scale(0.528133) !important; */
}
.pswp img {
    max-width: none;
    display: block;
    width: 947px;
    height: 782px;
}

.pswp__zoom-wrap:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.wrapper {
    line-height: 0;
    width: 100%;
    max-width: 900px;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin: 0 auto;
    text-align: left;
    z-index: 1045;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    padding-top: 25px;
    height: 0;
    width: 100%;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

video {
    width: 100% !important;
    height: auto !important;
}

.my-gallery {
    margin: 5px;
    /* border: 1px solid #ccc; */
    /* float: left; */
    width: 100%;
}

.my-gallery figure {
    /* display: block; */
    /* float: left; */
    margin: 0 5px 5px 0;
    /* width: 150px; */
    text-align: center;
}

.my-gallery figcaption {
    display: none;
}

.flex-container {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-content: space-between;
    flex-wrap: wrap;
    padding: 0 5% 0% 0%;
    width: 100%;
}

.flex-container figure {
    margin-bottom: 1rem;
    position: relative;
}

.niem-phong-header {
    /* position: absolute; */
    display: block;
    width: 90%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding: 0.5rem 0.6rem;
}

.xem-them-chung-chi {
    font-size: 1.1rem;
    color: #002a54;
    background-color: #ffffff;
    border-color: #ffffff;
}

.flex-container figure img {
    width: 50px;
    height: 75px;
    opacity: 1;
    -webkit-transition: opacity 0.5s;
    transition: opacity 0.5s;
    border-radius: 10px;
    border: 1px solid #4d2ef7;
}

@media screen and (min-width: 701px) {
    figure {
        width: calc(20% - 0rem);
    }
}

@media screen and (max-width: 700px) {
    figure {
        width: calc(25% - 1rem);
    }
}

@media screen and (min-width: 770px) and (max-width: 990px) {
    .my-gallery figure {
        margin: 0 10px 5px 0;
    }
    .xem-them-chung-chi {
        font-size: 1.1rem;
    }
    .xem-them-chung-chi {
        font-size: 0.8rem;
    }
    .niem-phong-header {
        width: 100%;
        padding: 0.5rem 0.6rem;
    }
}

@media screen and (max-width: 550px) {
    figure {
        width: calc(25% - 1rem);
    }
    .my-gallery figure {
        margin: 0 15px 5px 0;
    }
}

@media screen and (min-width: 770px) and (max-width: 990px) {
    .xem-them-chung-chi {
        font-size: 1.1rem;
        color: #002a54;
        background-color: #ffffff;
        border-color: #ffffff;
    }
}

@media screen and (max-width: 415px) and (min-width: 300px) {
    .flex-container figure img {
        width: 40;
        height: 45;
        opacity: 1;
        -webkit-transition: opacity 0.5s;
        transition: opacity 0.5s;
        border-radius: 5px;
        border: 1px solid black;
    }
    .my-gallery figure {
        margin: 0 10px 5px 0;
    }
}

@media screen and (max-width: 485px) and (min-width: 370px) {
    .xem-them-chung-chi {
        font-size: 1rem;
    }
    .niem-phong-header {
        display: block;
        width: 100%;
        font-size: 1rem;
        padding: 0.2rem 0.3rem;
    }
}

@media screen and (max-width: 369px) and (min-width: 300px) {
    .xem-them-chung-chi {
        font-size: 0.7rem;
    }
    .niem-phong-header {
        display: block;
        font-size: 0.7rem;
        width: 100%;
        padding: 0.2rem 0.3rem;
    }
}

@media screen and (max-width: 300px) {
    figure {
        width: 100%;
    }
    .my-gallery figure {
        margin: 0 0px 5px 0;
    }
    .xem-them-chung-chi {
        font-size: 0.5rem;
    }
    .niem-phong-header {
        display: block;
        width: 100%;
        font-size: 0.5rem;
        padding: 0.2rem 0.3rem;
    }
}

.flex-container figure img:hover {
    opacity: 0.9;
}

.flex-container figure figcaption {
    padding: 10px;
    line-height: 1.5;
    position: absolute;
    bottom: 0;
    right: 0;
    text-align: right;
    color: #fff;
    opacity: 0.7;
}

.fig-title {
    font-weight: 700;
}

.fig-author {
    font-weight: 300;
    font-size: 0.8rem;
}


/* .niem-phong-cong-nghe {
    position: relative;
} */