/* html{
    scroll-behavior: smooth;
} */
/* width */
::-webkit-scrollbar {
    width: 7px;
    height: 7px;
    background-color: white;
}

  /* Track */
::-webkit-scrollbar-track {
box-shadow: inset 0 0 5px whitesmoke;
border-radius: 10px;
}

  /* Handle */
::-webkit-scrollbar-thumb {
background: #70905C;
border-radius: 2px;
}

  /* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: #B1D182;
}
.nav-front-custom{
    background-color: #70905C !important;
}
.footer-custom{
    background-color: #B1D182 !important;
}
.card-header-custom{
    background-color: #B1D182 !important;
}

.card-body-custom{
    background-color: #B1D182 !important;
}

.btn-msv{
    background-color: #B1D182 !important;
    color: #fff;
}

.small-heading-custom{
    color: #70905C;
}
.btn-link-custom-color{
    color: #B1D182;
}
.btn-link-custom-color:hover{
    color: #70905C;
}
.text-color-custom{
    color: #70905C;
}
.text-color-custom:hover{
    color: #B1D182;
}
.a-custom-color{
    color: #70905C;
}
.a-custom-color:hover{
    color: gray;
}
.heading-custom{
    color: #70905C;
}
[contenteditable]:focus {
    /* outline: 0px solid transparent; */
    outline: 0.5px solid #70905C;
}

.carousel-indicators .active{
    background-color: #B1D182 !important;
}

.border-custom{
    border-width:3px !important;
    /* border-color: #B1D182 !important; */
}
.box-custom {
    transition: box-shadow .3s;
}
.box-custom:hover {
    box-shadow: 0 0 11px rgba(33,33,33,.2);
}

.wmd-view-topscroll, .wmd-view {
    overflow-x: scroll;
    /* overflow-y: hidden; */
    width: 100%;
    /* border: none 0px RED; */
}

/* .wmd-view-topscroll { height: 20px; } */
.wmd-view { height: 500px; }
.scroll-div1 {
    width: 1401px;
    overflow-x: scroll;
    overflow-y: hidden;
    height:20px;
}
.scroll-div2 {
    width: 1000px;
    height:20px;
}

.slidecontainer {
    width: 100% !important;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 5px;
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

.slider:hover {
    opacity: 1;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #70905C !important;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #70905C !important;
    cursor: pointer;
}
.nav-custom{
    background-color:#70905C !important;
}
.nav-custom:active{
    background-color:white !important;
    color: #70905C;
}
li>.active{
    color: #70905C !important;
    border-bottom: #70905C solid 2px !important;
}
.tut_content img{
    object-fit:contain !important;
    width: 100% !important;
}
.chapter_content img{
    object-fit:contain !important;
    width: 100% !important;
}

.uns {
    -webkit-user-select: none !important;
    -webkit-touch-callout: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    background: none !important;
}

.tab-pane-custom{
    /* color: #70905C !important; */
    border-bottom: #70905C solid 2px !important;
}

.cursor_pointer{
    cursor: pointer;
}
/* .chapter_content
{
    background: url('https://misacvien.com/photos/default/resize-2.png');
} */
.chapter_content:before{
        content: ' ';
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        opacity: 0.2;
        background-image: url('https://msvtruyen.com/photos/default/resize-2.png');
        /* transform: rotate(-45deg); */
        /* background-repeat: no-repeat; */
        /* background-position: 50% 0; */
        /* background-size: cover;       */
}
@media print {
    body {
      display: none;
    }
}
#tilt {
    /* display: block; */
    /* height:300px; */
    /* width: 300px; */
    background-color: grey;
    margin: 0 auto;
    transition: box-shadow 0.1s, transform 0.1s;

  }

  #tilt:hover {
    box-shadow: 0px 0px 30px rgba(0,0,0, 0.6);
    cursor: pointer;
  }

.dot{
    height: 45px;
    width: 45px;
    border-radius: 50%;
    display: inline-block;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.hide-scrollbar::-webkit-scrollbar {
    display: none !important;
}

/* Hide scrollbar for IE, Edge and Firefox */
.hide-scrollbar{
    -ms-overflow-style: none !important;  /* IE and Edge */
    scrollbar-width: none !important;  /* Firefox */
}

@media (min-width:320px) {
    .title-custom
    {
        font-size: calc(11px + 0.390625vw);
    }
    .p-slider
    {
        padding: 10vw;
    }
}

@media (min-width:768px) {
    .title-custom
    {
        font-size: calc(11px + 0.390625vw);
    }
    .p-slider
    {
        padding: 6vw;
    }
}
@media (min-width:1024px) {
    .title-custom
    {
        font-size: calc(11px + 0.390625vw);
    }
    .p-slider
    {
        padding: 4vw;
    }
}
@media (min-width:1280px) {
    .title-custom
    {
        /* font-size: calc(7px + 0.390625vw); */
        font-size: calc(11px + 0.390625vw);
    }
    .p-slider
    {
        padding: 3vw;
    }
}


    #talkbubble {
        padding: 23px;
        background: #70905C;
        color:white;
        position: relative;
        -moz-border-radius: 10px;
        -webkit-border-radius: 10px;
        border-radius: 10px;
    }
    #talkbubble p a {
        color:white;
        text-decoration: underline;
    }

    #talkbubble:before {
        content: "";
        position: absolute;
        right: 100%;
        top: 26px;
        width: 0;
        height: 0;
        border-top: 13px solid transparent;
        border-right: 26px solid #70905C;
        border-bottom: 13px solid transparent;
    }

    #talkbubble-rep{
        padding: 23px;
        background: #f7fafc;
        position: relative;
        -moz-border-radius: 10px;
        -webkit-border-radius: 10px;
        border-radius: 10px;
    }

    #talkbubble-rep:before{
        content: "";
        position: absolute;
        left: 100%;
        top: 26px;
        width: 0;
        height: 0;
        border-top: 13px solid transparent;
        border-left: 26px solid #f7fafc;
        border-bottom: 13px solid transparent;
    }

    .story-image{
        position:relative;
    }

    .price-tag{
        position:absolute;
        background-color:white;
        top:5%;
        right:0;
        border-radius: 5px;
        /* padding:3%; */
        color:black;
        padding:5px;
    }

    .text-underline-color-red{
        text-decoration: underline;
        text-decoration-color: red;
    }

    .pin-badge{
        background-color: #F5F5F5;
    }

    .golden-text{
        color: #B59410;
    }

    .golden-btn{
        border-style: solid;
        border-color: #B59410;
    }

    .phong{
        color: #5C8984;
    }

    .hoa{
        color: #CD5888;
    }

    .tuyet{
        color: #6DA9E4;
    }

    .nguyet{
        color: #B59410;
    }

    .nhat{
        color: #F55050;
    }
    .stepper-wrapper {
        margin-top: auto;
        display: flex;
        justify-content: space-between;
        margin-bottom: 20px;
    }
    .stepper-item {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        flex: 1;

        @media (max-width: 768px) {
            font-size: 12px;
        }
    }

    .stepper-item::before {
        position: absolute;
        content: "";
        border-bottom: 2px solid #ccc;
        width: 100%;
        top: 20px;
        left: -50%;
        z-index: 2;
    }

    .stepper-item::after {
        position: absolute;
        content: "";
        border-bottom: 2px solid #ccc;
        width: 100%;
        top: 20px;
        left: 50%;
        z-index: 2;
    }

    .stepper-item .step-counter {
        position: relative;
        z-index: 5;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #ccc;
        margin-bottom: 6px;
    }

    .stepper-item.active {
        font-weight: bold;
    }

    .stepper-item.completed .step-counter {
        background-color: #4bb543;
    }

    .stepper-item.completed::after {
        position: absolute;
        content: "";
        border-bottom: 2px solid #4bb543;
        width: 100%;
        top: 20px;
        left: 50%;
        z-index: 3;
    }

    .stepper-item:first-child::before {
        content: none;
    }
    .stepper-item:last-child::after {
        content: none;
    }