.justify-center {
    justify-content: center !important;
}

.commentary_images {
    flex-wrap: nowrap !important;
    flex-direction: column !important;
    align-content: center !important;
    align-items: center !important;
}

.commentary_images .image img {
    height: auto !important;
    padding: 0;
    margin-bottom: 20px;
}

.whiteText {
    color: #fff !important;
}

.centerRedText {
    font-size: 24px;
    color: red !important;
    text-align: center !important;
}

.titheadblue {
    margin: 50px 0 0 !important;
}

.secondpage .centerRedText {
    margin-bottom: 50px !important;
}

@media all and (max-width: 768px) {
    .secondpage .block2Btn .centered {
        justify-content: center !important;
    }

    .secondpage .centerRedText {
        font-size: 17px;
    }

    .flex0050 {
        flex: 0 0 69% !important;
    }

    .newCircleClass .listcircle-item {
        flex: 0 0 100%;
    }

    .blockMainQuiz .blockHead .countdown {
        top: 54% !important;
        left: -30%;
        position: inherit;
    }

    .blockMainQuiz .blockHead-info dt {
        background: none !important;
        color: black !important;
    }
}

.listcircle-item .txt {
    font-size: 25px !important;
}

@media screen and (min-width: 769px) {
    .flex0050 {
        flex: 0 0 50% !important;
    }
}

.radiostyle mjx-container[jax="CHTML"][display="true"] {
    text-align: left !important;
    /* margin-left: 50px !important; */
}

.radiostyle .img-answer {
    margin-top: 10px !important;
}

.blockQuestion .image_attachs .image_attach img {
    max-height: 100% !important;
}

mjx-container[jax="CHTML"][display="true"] {
    display: initial !important;
}

.listcircle {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
}

.listcircle-item {
    flex: 0 0 50%;
}

.listcircle-item:first-child:nth-last-child(1) {
    margin: auto !important;
}

.listcircle-item:first-child:nth-last-child(2),
.listcircle-item:first-child:nth-last-child(2) ~ .listcircle-item {
    margin-left: auto !important;
    margin-right: auto !important;
}

.categoryTxt {
    text-decoration: underline;
    color: #187d9d;
}

@media screen and (min-width: 900px) {
    header .nav-list .nav-list-item {
        margin-right: 5px !important;
    }

    header .nav-list .nav-list-item a {
        font-size: 13px !important;
    }
}

@media screen and (min-width: 1024px) {
    header .nav-list .nav-list-item {
        margin-right: 20px !important;
    }

    header .nav-list .nav-list-item a {
        font-size: 14px !important;
    }
}

.radiostyle.newMathClass input[type="radio"] + label:before {
    top: 9px !important;
}

.radiostyle {
    margin-left: 0 !important;
    text-indent: 0 !important;
}

.radiostyle label {
    padding-left: 30px !important;
    position: relative !important;
    display: block !important;
}

.radiostyle input[type="radio"] + label:before {
    left: 0;
    position: absolute;
}

.blockMainQuiz .blockAnswer-list {
    flex: 0 0 100% !important;
}

.image_attachs {
    flex-wrap: nowrap !important;
    flex-direction: column !important;
    align-content: center !important;
    align-items: center !important;
}

.image_attachs .image img {
    height: auto !important;
    padding: 0;
    margin-bottom: 20px;
}

@media screen and (min-width: 1200px) {
    header .nav-list .nav-list-item a {
        font-size: 16px !important;
    }
}

@media all and (max-width: 560px) {
    .blockMainQuiz .blockHead-tit {
        width: auto !important;
    }
}

.purchasedText {
    font-size: 30px !important;
    font-weight: normal !important;
}

@media all and (max-width: 375px) {
    .blockMainQuiz .blockHead-tit {
        width: auto !important;
    }
}

.p-explainmovie .blockSpImage {
    box-shadow: 0 3px 16px rgba(0, 0, 0, 0.1);
    padding: 30px 20px;
    border-radius: 5px;
    margin: 0 auto;
}

@media all and (max-width: 768px) {
    .p-explainmovie .blockSpImage {
        order: 2;
    }
}
.p-explainmovie .blockSpImage .image {
    overflow: hidden;
    text-align: center;
    border-radius: 5px;
}

.p-explainmovie .blockSpImage .image img {
    -o-object-fit: cover;
    object-fit: cover;
    max-height: 100%;
}
.p-explainmovie .blockSpImage .boxprice {
    background: #ffb677 url(../images/arrright.png) no-repeat right 20px center;
    background-size: 14px;
    border-radius: 5px;
    text-align: center;
    color: #fff;
    padding: 10px;
    margin-top: 25px;
}
@media all and (max-width: 768px) {
    .p-explainmovie .blockSpImage .boxprice {
        margin-top: 20px;
        background-position: right 10px center;
        background-size: 10px;
    }
}
.p-explainmovie .blockSpImage .boxprice p {
    font-size: 14px;
    font-weight: bold;
    color: #fff;
}
.p-explainmovie .blockSpImage .boxprice dl {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}
.p-explainmovie .blockSpImage .boxprice dt {
    font-size: 25px;
    font-weight: bold;
    color: #fff0c4;
    text-decoration: line-through;
    position: relative;
    padding-right: 50px;
    margin-right: 15px;
}
.p-explainmovie .blockSpImage .boxprice dt::after {
    position: absolute;
    content: "";
    background: url(../images/ico-arrnext.svg) no-repeat right center;
    background-size: cover;
    width: 30px;
    height: 14px;
    right: 0;
    top: 50%;
    margin-top: -7px;
}
@media all and (max-width: 768px) {
    .p-explainmovie .blockSpImage .boxprice dt::after {
        background-size: 20px;
    }
}
@media all and (max-width: 768px) {
    .p-explainmovie .blockSpImage .boxprice dt {
        font-size: 20px;
        padding-right: 40px;
    }
}
.p-explainmovie .blockSpImage .boxprice dd {
    font-size: 25px;
    font-weight: bold;
}
@media all and (max-width: 768px) {
    .p-explainmovie .blockSpImage .boxprice dd {
        font-size: 20px;
    }
}
.p-explainmovie .blockSpImage .boxprice dd {
    color: #fff;
}

.customModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.custom-modal-content {
    background-color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
    position: absolute;
    top: 120px;
    left: 50%;
    transform: translate(-50%, -50%);
}

.custom-modal-content p {
    font-size: 16px;
    margin-bottom: 20px;
}

.modalOKButton {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 3px;
    margin-left: 20px;
}

.custom-close-button {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 20px;
    color: white;
    cursor: pointer;
    background-color: red;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media all and (max-width: 375px) {
    .custom-modal-content {
        top: 13% !important;
        width: 90% !important;
    }
}

.select-payment .blockVideo .blockVideo-list {
    justify-content: flex-start !important;
}

.select-payment .blockVideo .blockVideo-list .video {
    margin-right: 1% !important;
}

.news-style {
    color: blue !important;
    text-decoration: underline !important;
    transition: color 0.3s, text-decoration 0.3s !important;
}

.news-style:hover {
    color: #0077b6 !important; /* Change the color on hover to a slightly different shade of blue */
    text-decoration: underline !important;
}

.inline-li {
    display: inline-block !important;
    margin-right: 10%; /* Adjust the margin as needed */
}

.newQuestionFlex {
    display: flex !important;
    align-items: center !important; /* Align items vertically in the center */
    margin-top: 1rem;
}

.newQuestionFlex .blockQuestion {
    margin-right: 10% !important; /* Adjust the margin as needed */
}

.newQuestionFlex .blockAnswer-list {
    display: flex !important;
}

.boxPriceBlue {
    background-color: blue !important;
}

.boxPriceRed {
    background-color: red !important;
}

.entryButton {
    width: 100%; /* Make the buttons take up 100% of the container width */
    max-width: 240px; /* Set a maximum width for the buttons */
    text-align: center; /* Center text within buttons */
    margin: 10px; /* Add some spacing between buttons */
    box-sizing: border-box; /* Ensure padding and border are included in the width */
}

/* Style the <a> elements within the buttons */
.entryButton a {
    display: block; /* Make the entire button area clickable */
    padding: 10px; /* Add padding to the buttons for spacing */
    background-color: #0073e6; /* Choose your desired background color */
    color: #fff; /* Set text color to white or your desired color */
    text-decoration: none; /* Remove underline from links */
}

/* Adjust padding and margin for the <b> elements within the buttons */
.entryButton b {
    margin: 5px 0;
    padding: 0;
}

/* Responsive CSS for smaller screens (e.g., smartphones) */
@media (max-width: 768px) {
    .flex {
        flex-direction: row; /* Change flex direction for smaller screens */
    }

    .entryButton {
        width: 50%; /* Make the buttons take up 50% of the container width */
        max-width: none; /* Remove max width for smaller screens */
    }

    .entryButton p {
        font-size: 11px;
        white-space: nowrap;
    }

    .userTopicResult {
        font-size: 18px !important;
    }

    .blockAnswerSP {
        display: flex !important;
        margin-bottom: 10px !important;
        flex-direction: column;
        gap: 1rem;
    }

    .blockAnswerSP label {
        display: flex !important;
    }

    .blockSPDiv {
        display: flex !important;
        gap: 0.5rem !important;
    }

    /* .newQuestionFlex {
        align-items: flex-start !important;
    }

    .newQuestionFlex .blockQuestion {
        padding-top: 0;
        border-bottom: 0;
    }

    .newQuestionFlex .blockQuestion::after {
        content: "";
        display: block;
        width: 100%;
        border-bottom: 3px solid #E6F1F2;
    } */

    .newBlockHead {
        position: static !important;
    }

    .newBlockHead .blockHead-tit {
        width: 35% !important;
    }
}

.userTopicResult {
    color: red;
    font-size: 22px;
    text-align: center;
    white-space: nowrap;
}

.newQuestionFlex .blockAnswer-list {
    display: block !important;
    flex: 0 0 100% !important;
}

.custom-link-width {
    width: 240px; /* Set the desired width for the <a> tags */
    display: block; /* Ensure the <a> tags are displayed as block elements */
}

.newBlockHead .blockHead-tit {
    width: 100% !important;
}

@media (max-width: 768px) {
    .custom-modal-content {
        top: 13% !important;
        width: 90% !important;
    }

    .customDisplay {
        display: flex;
        justify-content: center;
    }
}

.blueDiv {
    position: absolute;
    top: 33%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 50px;
    background-color: blue;
    z-index: 99999;
    width: 130px;
    background-color: #1673a1;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    position: static;
    transform: none;
}

.blueDiv span {
    font-size: 20px;
    color: white;
}

.blockSection .blockLearning {
    margin-bottom: 0 !important;
}

.secondpage .block2Btn.justify-center {
    margin-top: 60px !important;
    justify-content: center !important;
}
.secondpage .block2Btn.justify-center .btnpage {
    margin: 0 !important;
}

@media only screen and (max-width: 768px) {
    .blockSection .blockLearning{
        margin-bottom: 0;
    }
    .blockSection .btn-reset {
        max-width: unset !important;
        margin-left: 0 !important;
    }
    .blockSection .btn-reset a {
        display: inline-flex;
    }
    .secondpage .block2Btn {
        margin-top: 0 !important;
        justify-content: center !important;
    }
    .listcircle-item {
        flex: 0 0 48% !important;
        margin-right: 8px !important;
    }
}
@media only screen and (max-width: 768px) {
    .blockSection .blockLearning{
        margin-bottom: 0;
    }
    .blockSection .btn-reset {
        max-width: unset !important;
        margin-left: 0 !important;
    }
    .blockSection .btn-reset a {
        display: inline-flex;
    }
    .secondpage .block2Btn {
        margin-top: 0 !important;
        justify-content: center !important;
    }
    .listcircle-item {
        flex: 0 0 48% !important;
    }
}
@media only screen and (max-width: 576px) {
    .listcircle-item {
        flex: 0 0 45% !important;
    }
    .listcircle-item .inbox {
        padding-top: 25px;
    }
    .blueDiv {
        width: 100px;
        height: 40px;
        gap: 10px;
    }
    .blueDiv span {
        font-size: 12px;
    }
    .blueDiv img {
        width: 30px;
        height: 30px;
    }
}
@media only screen and (max-width: 768px) {
    .anotherFlex  {
       flex-wrap: nowrap !important;
        gap: 10px !important;
    }
    .pointers {
        
        text-decoration: underline;
    }
}

@media all and (min-width: 769px) { 
    .newBlockExplain {
        flex-direction: column-reverse !important;
        align-items: center !important;
    }

    .newBlockExplain .left {
        width: 100% !important;
    }
 }

