html {
    font-size: 10px;
}

body {
    width: 100%;
    height: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    line-height: 26px;
    overflow-x: hidden;
    -moz-user-select: none; /*火狐*/
    -webkit-user-select: none; /*webkit浏览器*/
    -ms-user-select: none; /*IE10*/
    -khtml-user-select: none; /*早期浏览器*/
    user-select: none;
    background: #282422;
}

.all-courses-top {
    font-size: 72px;
    font-family: DMSerifDisplay-Regular, DMSerifDisplay;
    font-weight: 400;
    color: #FFFFFF;
    line-height: 99px;
    text-shadow: 0px 2px 9px rgba(0, 0, 0, 0.5);
    margin-top: 143px;
}

.top-bar {
    background: #49403A;
    padding: 30px 0;
}

.bar-content {
    margin: 0 auto;
}

.bar-right {
    padding: 0;
}

.top-font1 {
    font-size: 24px;
    font-family: PingFangHK-Semibold, PingFangHK;
    font-weight: 600;
    color: #FFFFFF;
    line-height: 33px;
    padding: 0;
}

.top-font2 a {
    background: #E9D5CC;
    border-radius: 8px;
    font-size: 14px;
    font-family: PingFangHK-Semibold, PingFangHK;
    font-weight: 600;
    color: #282422;
    line-height: 20px;
    padding: 10px 45px;
    display: inline-block;
}

.top-font2:hover {
    background: #CACACA;
}

.container1 {
    margin-top: 46px;
}

.con-contain-left {
    /* padding: 76px 0 0 59px; */
    position: relative;
}

.left-ul > li {
    font-size: 16px;
    font-weight: 400;
    color: #D8D8D8;
    line-height: 22px;
    /*margin-bottom: 15px;*/
}

.left-ul > li a {
    font-size: 16px;
    font-weight: 400;
    color: #D8D8D8;
    white-space:nowrap;
}

.left-ul > .active {
    position: relative;
    font-weight: 600;
    color: #E9D5CC;
}

.left-ul > .active a {
    font-weight: 600;
    color: #E9D5CC;
}

/*.left-ul > .active ::before {*/
/*    position: absolute;*/
/*    top: 5px;*/
/*    left: -20px;*/
/*    content: ' ';*/
/*    display: inline-block;*/
/*    width: 12px;*/
/*    height: 12px;*/
/*    background-color: #E9D5CC;*/
/*}*/

.all-courses-container {
    margin-bottom: 30px;
}

.right-item {
    margin-bottom: 30px;
    position: relative;

}

.right-img {
    max-width: 100%;
}

.totur_img {
    padding-bottom: 160%;
    border-radius: 10px;
    overflow: hidden;
}

.right-msg {
    width: 100%;
    /*padding-right: 12px;*/
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 0 5px 10px;
    background: linear-gradient(rgba(0,0,0,0),#49403A);
}

.right-msg p {
    text-align: center;
}

.right-font1 {
    font-size: 36px;
    font-family: DMSerifDisplay-Regular, DMSerifDisplay;
    font-weight: 400;
    color: #FFFFFF;
    line-height: 37px;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
    height: 37px;
    overflow: hidden;
}

.right-font2 {
    font-size: 16px;
    font-family: PingFangHK-Semibold, PingFangHK;
    font-weight: 600;
    color: #FFFFFF;
    line-height: 22px;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
    display: flex;
    /*align-items: center;*/
    height: 44px;
    overflow: hidden;
    justify-content: center;
}

.right-btn1 {
    font-size: 14px;
    font-family: PingFangHK-Semibold, PingFangHK;
    font-weight: 600;
    color: #282422;
    line-height: 20px;
    background: #FFFFFF;
    border-radius: 8px;
    margin: 0 auto 12px;
    padding: 10px;
    width: 194px;
    text-align: center;
    display: none;
    min-width: 66%;
    border: none;
}

.right-btn2 {
    font-size: 14px;
    font-family: PingFangHK-Semibold, PingFangHK;
    font-weight: 600;
    color: #282422 !important;
    line-height: 20px;
    background: #E9D5CC;
    border-radius: 8px;
    padding: 10px;
    width: 194px;
    text-align: center;
    margin: 0 auto;
    display: none;
    min-width: 66%;
    border: none;
}

.right-btn1:focus {
    background: #E9D5CC;
    outline: none !important;
}

.right-btn2:focus {
    background: #CACACA;
    outline: none !important;
}

.right-item:hover .right-msg {
    bottom:0;
    padding-bottom: 20px;
}

.right-item:hover .right-btn1 {
    display: block;
}

.right-item:hover .right-btn2 {
    display: block;
}
.left-ul{
    display: flex;
    overflow: auto;
    width: calc(100% - 35px);
}
.left-ul::-webkit-scrollbar { width: 0 !important }
.left-ul { -ms-overflow-style: none; }
.left-ul { overflow: -moz-scrollbars-none; }
.left-ul li{
    margin-right: 38px;
}
.con-contain-left{
    display: flex;
    /*align-items: center;*/
    justify-content: space-between;
}
.con-contain-left .dropdown-toggle::after{
    border-top: 5px solid;
    border-right: 5px solid transparent;
    border-bottom: 0;
    border-left: 5px solid transparent;
}
.con-contain-left .isActive.dropdown-toggle::after{
    border-top: 0;
    border-right: 5px solid transparent;
    border-bottom: 5px solid;
    border-left: 5px solid transparent;
}
.con-contain-left .dropdown-toggle{
    border-radius: 4px;
    opacity: 0.49;
    border: 1px solid #D8D8D8;
    background: transparent;
    width: 35px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.allMenuBtn{
    margin-top: 5px;
    margin-left: 20px;
    position: static;
}
.allMenuBtn .btn-secondary:not(:disabled):not(.disabled).active,
.allMenuBtn .btn-secondary:not(:disabled):not(.disabled):active,
.allMenuBtn.show>.btn-secondary.dropdown-toggle{
    background: transparent;
    border: 1px solid #D8D8D8;
    border-radius: 4px;
    opacity: 0.49;
}
.allMenuBtn .dropdown-menu.show{
    top: 30px !important;
    left:0;
    width: 100%;
    transform: none !important;
    border-radius: 3px;
    padding:20px 18px;
}
.all-courses-row{
    margin-right: -7px;
    margin-left: -7px;
}
.right-item{
    padding-right: 7px;
    padding-left: 7px;
}
.allMenuBtn .dropdown-item{
    padding:0;
    font-size: 16px;
    font-weight: 400;
    color: #282422;
    line-height: 22px;
}

.allMenuBtn .dropdown-menu li:not(:last-child){
    margin-bottom: 13px;
 }
.left-ul li.active{
    padding-bottom: 3px;
    border-bottom: 2px solid #E9D5CC;
}
.allMenuBtn li.activeTwo a{
    font-weight: 600;
    color: #E9D5CC;
}


@media (min-width: 992px) {
    .left-ul {
         display: block;
         overflow: hidden;
         width: 100%;
    }
    #myDropdown1{
        display: none;
    }
    .left-ul li.active{
        border:none;
    }
    .left-ul li:not(:last-child){
        margin-bottom: 15px;
    }
    .left-ul li.active{
        position: relative;
    }
    .left-ul li.active:before{
        position: absolute;
        top:0;
        left:0;
        content: "";
        width: 12px;
        height: 12px;
        background: #E9D5CC;
        margin-right: 5px;
        margin-top: 5px;
    }
    .left-ul li{
        padding-left: 20px;
        margin-right: 0 ;
    }

}
@media (min-width: 992px) {
    .bar-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        justify-content: space-between;
    }
}
@media (max-width: 1200px) {
    .top-font1 {
        font-size: 20px;
    }
}

@media (max-width: 992px) {
    /*.right-msg {*/
    /*    bottom: 10px;*/
    /*}*/

    .top-font2 {
        margin-top: 4px;
        text-align: center;
    }

    .right-font1 {
        font-size: 26px;
        margin-bottom: 0;
    }

    .right-font2 {
        font-size: 12px;
        margin-bottom: 0;
    }

    .right-btn1 {
        margin-top: 4px;
        margin-bottom: 6px;
    }

    .right-btn1, .right-btn2 {
        font-size: 12px;
        width: 96%;
        padding: 8px 0;
    }

    .top-font1 {
        margin-bottom: 15px;
        text-align: center;
    }

    .all-courses-top {
        margin-top: 100px;
    }
}

@media (max-width: 767px) {
    .all-courses-top {
        margin-top: 80px;
        font-size: 14rem;
        line-height: 14rem;
        margin-bottom: 2.7rem;
    }
    .left-ul{
        margin-bottom: 10px;
    }
}

@media (max-width: 567px) {


    .left-ul > .active ::before {
        width: 8px;
        height: 8px;
        left: -12px;
        top: 8px;
    }

    .all-courses-top {
        font-size: 18rem;
        margin-bottom: 25px;
    }

    .right-item {
        margin-bottom: 10px;
    }

    .right-font2 {
        line-height: 18px;
    }
    .all-courses-row{
        margin-right: -4px;
        margin-left: -4px;
    }
    .right-item{
        padding-right: 4px;
        padding-left: 4px;
    }
    .right-font1{
        font-size: 21px;
        line-height: 21px;
        height: 30px;
    }
    .right-font2{
        font-size: 12px;
        line-height: 17px;
        height: 34px;
        overflow: hidden;
    }
}