.black-contain {
    background: var(--red);
}

.white-contain {
    background: var(--white);
}

.banner-contain {
    max-width: 1200px;
    margin: auto;
    padding: 80px 0 0;
}

.banner-contain .big-title h1 {
    margin-bottom: 40px;
}

.big-title,
.banner-contain .big-title h1,
.clb-nearly-left .big-title h2 {
    font-style: normal;
    font-weight: 900;
    font-size: 60px;
    line-height: 90px;
    /* identical to box height, or 150% */
    color: #fff;
}

.clb-nearly {
    max-width: 1200px;
    margin: auto;
    padding: 80px 0;
    display: flex;
    flex-direction: row;
}

.clb-nearly-left {
    width: 50%;

}

.clb-nearly-right {
    width: 50%;
}

.clb-nearly-right .item {
    width: 100%;
}

.search-box img {
    max-width: 30px;
}

.clb-nearly-left .big-title {

    font-family: Montserrat, sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 60px;
    line-height: 90px;
    /* or 150% */
    max-width: 324px;
    color: #FFFFFF;
}

.search-contain {
    margin-left: -15px;
    margin-right: -15px;
}

.search-contain form {
    display: flex;
    flex-direction: row;
}

.icon-search-dropdown {
    transition: transform .3s ease-in, transform .1s ease-out, -webkit-transform .3s ease-in-out;
    margin-right: 11px;
    z-index: 5;
    width: 10px;
}

.search-box {
    padding: 10px;
    display: flex;
    flex-direction: row;
    /*    background: var(--white);*/
    flex: 0 0 50%;
    width: 50%;
}

.result-contain img {
    max-width: 100%;
}

.fancybox__container {
    z-index: 9999;
}

.search-box:last-child .input-search {
    padding: 14px 36px;
}

.search-box:last-child .icon-search {
    object-fit: contain;
    /* padding-left: 20px; */
    position: absolute;
    left: 11px;
    top: 0;
    bottom: 0;
    margin: auto;
    z-index: 6;
    display: flex;
    max-width: 20px;
}

.search-box:last-child .icon-search-dropdown {
    position: absolute;
    top: 0;
    right: 11px;
    bottom: 0;
    margin: auto;
}

#city-search {
    display: flex;
    flex: 0 0 calc(50% - 30px);
    max-width: calc(50% - 30px);
    margin-bottom: 15px;
    box-sizing: border-box;
}

#distric-search {
    display: flex;
    flex: 0 0 calc(50% - 30px);
    max-width: calc(50% - 30px);
    margin-bottom: 15px;
    box-sizing: border-box;
}

#brand-search {
    display: flex;
    flex: 0 0 calc(33.33333% - 30px);
    max-width: calc(33.33333% - 30px);
}

#class-search {
    display: flex;
    flex: 0 0 calc(33.33333% - 30px);
    max-width: calc(33.33333% - 30px);
}

#date-search {
    display: flex;
    flex: 0 0 calc(33.33333% - 30px);
    max-width: calc(33.33333% - 30px);
}

.mobile-shadow {
    width: 100%;
    height: 100%;
    background: rgba(196, 196, 196, 0.6);
    /* border-radius: 8px; */
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 4;
    display: none;
}

.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_current {
    background: #DA2128;
    box-shadow: #DA2128 0 1px 3px 0 inset
}

.xdsoft_datetimepicker .xdsoft_calendar td:hover {
    background: #000 !important;
}

.input-search {
    background-position: 14px 12px;
    background-repeat: no-repeat;
    font-size: 16px;
    /* background: #141414; */
    padding: 14px 20px 12px 10px;
    border: none;
    /* border-bottom: 1px solid #ddd; */
    
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 20px;
    display: flex;
    align-items: center;
    color: var(--red);
    width: 100%;
    z-index: 5;
}

#myDropdown_inside::-webkit-scrollbar {
    width: 2px;
    margin-right: 28px;
    background: #E3E3E3;
    border-radius: 8px;
}

#myDropdown_inside::-webkit-scrollbar-thumb {
    background: #DA2128;
    border-radius: 8px;
}

#myDropdown_inside::-webkit-scrollbar:hover {
    border: #141414 1px solid;
}

.input-search:focus {
    outline: unset;
}

.search-clb-dropdown {
    position: relative;
    display: inline-block;
}

.drop-box-mobile {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    align-items: center;
    justify-content: center;
}

.search-clb-dropdown-content {
    /* display: none; */
    position: absolute;
    background-color: #FFFFFF;
    min-width: 230px;
    overflow: auto;
    margin-top: 47px;
    /* border: 1px solid #ddd; */
    z-index: 999;
    width: 100%;
    /* overflow: scroll; */
    max-height: 192px;
}

.search-box-district {
    display: flex;
    width: 100%;
    position: relative;
}

.search-clb-dropdown-content span {

    text-decoration: none;
    
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 24px;
    width: 100%;
    flex-direction: row;
    /* identical to box height, or 150% */
    color: #141414;
    /* display: inline-block;
    z-index: 1000; */
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.search-clb-dropdown-content span label {
    width: 100%;
    pointer-events: all !important;
    /* pointer-events: none; */
    cursor: pointer;
    margin: 0;
    z-index: 1;
    padding: 12px 24px;
}

.mobile-header-search-box {
    display: none;
    
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 24px;
    color: #000000;
    width: 100%;
    padding: 12px 24px;
    margin: 0;
}

.search-box {
    display: flex;
    width: 100%;
    position: relative;
}

/* result-contain */
.result-contain {
    max-width: 1200px;
    margin: auto;
    padding: 80px 0;
    padding-bottom: 0;
    /* min-width:768px; */
    /* overflow-x:scroll; */
}

.define-information-contain {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: row;
}

.class-type-contain {
    display: flex;
    flex-direction: row;
    width: 50%;
}

.class-level-activities-contain {
    display: flex;
    width: 50%;
}

.define-information-contain .right-column,
.define-information-contain .left-column {
    width: 50%;
    display: flex;
    flex-direction: column;
}

.define-information-contain .icon {
    display: flex;
    
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 21px;
    letter-spacing: 0em;
    text-align: left;
    color: var(--white);
    padding-bottom: 24px;
}

.define-information-contain .icon img {
    max-width: 28px;
    max-height: 28px;
    /* border: 1px solid #FFF; */
}

.define-information-contain .icon:last-child {
    padding-bottom: 0;
}

.define-information-contain .icon .icon-name {
    padding-left: 16px;
    display: flex;
    /* align-content: center; */
    flex-direction: column;
    justify-content: center;
}

.item-contain hr {
    border-top: 1px solid rgb(255 252 252);
    margin: 0;
}

.item-contain .item {
    display: flex;
    flex-direction: row;
    align-content: center;
    color: var(--white);
    padding: 70px 0;
    justify-content: space-between;
}

.black-contain .result-contain .item-contain span {
    
    font-style: normal;
    font-weight: 400;
    font-size: 30px;
    line-height: 40px;
    color: #FFFFFF;
    width: 100%;
}

.item-contain .item>div {
    /* width: 25%; */
    display: flex;
    align-items: center;
    flex-direction: row;
}

.item-contain .item>.class-name {
    width: 18%;
}

.item-contain .item>.teacher-name {
    width: 13%;
}

.result-contain .item .icon-contain {
    /*justify-content: space-evenly;*/
    margin-right: 25px;
}

.result-contain .item .icon-contain:last-child() {}

.show {
    display: block;
}

.search-clb-dropdown-content a:hover,
.search-clb-dropdown-content span:hover {
    background: #E1E1E1;
    color: #141414;
    text-decoration: unset !important;
}

.search-group {
    display: flex;
    flex-direction: row;
    width: 400px;
    justify-content: space-between;
    border-bottom: 1px solid var(--white);
    background: var(--white);
}

.search-group form {
    width: 100%;
}


.drop-box-mobile {
    /* display: none; */
}

.read_more_place {
    display: flex;
    margin-bottom: 16px;
    text-align: start;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin-right: 24px;
}

.read_more_place span {
    
    font-style: normal;
    color: var(--white);
    /* identical to box height */
    
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    /* identical to box height */


    /* text-decoration-line: underline; */
}

.read_more_item {
    color: #FFFFFF !important;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    display: flex;
    align-items: center;
}

.read_more_item:hover span {
    text-decoration: none;
}

.read_more_item:hover .icon-readmore {
    transform: translate(2px, 0);
}

.icon-readmore {
    margin-left: 5px;
    transition: transform .1s ease-in-out, -webkit-transform .1s ease-in-out;
}

.clb-nearly {
    display: flex;
    flex-direction: row;
    max-width: 1200px;
    margin: auto;
    padding: 80px 0;
}

.clb-nearly-left {
    width: 50%;
    /* padding: 20px; */
    display: flex;
    align-content: center;
    /* vertical-align: middle; */
    flex-direction: column;
    /* justify-content: center; */
}

.clb-nearly-right {
    width: 50%;
    display: flex;
    align-items: center;
}

.clb-nearly-right img {
    height: 400px;
    object-fit: cover;
}

.clb-nearly-readmore {
    display: flex;
    margin-bottom: 10px;
    text-align: start;
    flex-direction: column;
    /* align-items: center; */
    margin-top: 14px;
}

.clb-nearly-readmore span {
    
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 21px;
    color: #FFFFFF;
    /* text-decoration: underline; */
    width: 50%;
    margin-bottom: 24px;
}

.clb-nearly-readmore a span {
    font-size: 18px;
}

.clb-nearly-readmore a:hover {
    text-decoration: none;
}

.clb-nearly-readmore a:hover .icon-readmore {
    transform: translate(5px, 0px);
}

.white-contain .title-big {
    color: #141414;
}

.submit-trying {
    display: flex;
    flex-direction: row;
    max-width: 1200px;
    margin: auto;
    padding: 80px 0;
}

.submit-trying-left {
    width: 50%;
    padding: 20px;
    display: flex;
    align-content: center;
    /* vertical-align: middle; */
    flex-direction: column;
    justify-content: center;
    padding-left: 0;
}

/* .submit-trying-left .title-big{
    width: 100%;
} */
.submit-trying-right {
    width: 50%;
    display: flex;
    align-items: center;
}

.submit-trying-readmore {
    display: flex;
    margin-bottom: 10px;
    text-align: start;
    /* padding: 0 10px; */
    flex-direction: row;
    align-items: center;
    margin-top: 14px;
}

.submit-trying-readmore span {
    
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 21px;
    color: #141414;
    /* text-decoration: underline; */
    width: 70%;
}

.form-contact-trial>div:nth-child(n+1) {
    margin-top: 32px;
}

.form-contact-trial {
    width: 100%;
}

.input-contact-trial {
    width: 100%;
    height: 45px;
    border: none;
    border-bottom: 1px solid;
    font-style: normal;
    font-weight: normal;
    font-size: 15px;
    line-height: 24px;
    /* identical to box height, or 160% */

    letter-spacing: -0.015em;

    color: rgba(0, 0, 0, 0.8);
}

.user-name:first-child {
    /* max-width: 253px; */
}

.user-name {
    /* width: 45% !important; */
    width: 100%;
    /* max-width: 293px; */
}

.form-contact-trial .submit-trial {
    background: #DA2128;
    border: 1px solid #fafafa;
    box-sizing: border-box;
    border-radius: 4px;
    max-width: 180px;
    margin-right: 0;
    color: #FFFFFF;
    padding: 18px 41px;
    margin-top: 40px;

    
    font-style: normal;
    font-weight: bold;
    font-size: 20px;
    line-height: 24px;
    /* display: flex; */
    /* align-items: center; */
    text-align: center;
    letter-spacing: -0.015em;
    color: #FFFFFF;
    transition: background .3s ease-in-out;
}

.form-contact-trial .submit-trial:hover {
    color: var(--white);
    background-color: var(--hover);
}

.submit-trying .title-big h2 {
    font-family: Montserrat, sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 60px;
    line-height: 90px;
    width: 90%;
}

.class-name h2 {
    
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 21px;
    width: 100%;
    text-align: left;
}

.club-name {
    width: 20%;
}

.teacher-name,
.club-name,
.room-name,
.date,
.time {
    
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 21px;
    color: #FFFFFF;
    width: 10%;
}

.icon-contain {
    display: flex;
    flex-direction: row;
    width: 10%;
    /*justify-content: space-evenly;*/
}

.item-contain .item .icon-contain .icon-item {
    justify-content: space-evenly;
    padding-right: 24px;
}

.item-contain .item .icon-contain .icon-item:last-child {
    padding-right: 0;
}

.tool_tip {
    opacity: 0;
    transition: opacity .3s ease-in-out;
    position: absolute;
    background-color: var(--white);
    top: -50px;
    left: 25%;
    transform: translateX(-50%);
    display: flex;
    /* padding: 10px; */
    /* right: -15px; */
    color: var(--red);
    justify-content: flex-start;
    
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    width: max-content;
    padding: 7px 24px;
    line-height: 21px;
    color: #000000;
}

.item-contain .item .icon-contain .icon-item:last-child .tool_tip {
    left: 50%;
}

.icon-schedule {
    width: 28px;
    height: 28px;
}

.tool_tip::after {
    content: "";
    position: absolute;
    bottom: -19px;
    left: 50%;
    transform: translateX(-50%);
    /* right: 42px; */
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-color: #fff transparent transparent transparent;
}

.icon-item:hover .tool_tip {
    opacity: 1;
}

.icon-item {
    position: relative;
}

.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: 0.25rem;
    max-width: 1200px;
    margin: auto;
    margin-top: 52px;
    justify-content: flex-end;

}

.pagination form {
    width: 100%;
}

.pagination ul {
    
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 20px;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-direction: row;
    width: 100%;
    margin-bottom: 52px;
}

.pagination ul li {
    padding: 0 31px;
    color: var(--white);
}

.pagination ul li.active {
    color: #DA2128;
    font-weight: bold;
}

.pagination ul li label {
    margin: 0;
    cursor: pointer;
}

/* calendal start */
.xdsoft_datetimepicker .xdsoft_datepicker {
    min-width: 252px;
}

@media(max-width:1240px) {

    .title-service,
    .clb-nearly-left,
    .space-practice-left,
    .story-success-left,
    .submit-trying-left {
        padding-left: 20px;
    }

    .item-contain,
    .clb-nearly-right,
    .story-success-right,
    .submit-trying-right {
        padding-right: 20px;
    }
}

@media(max-width:768px) {

    #city-search,
    #distric-search,
    #brand-search,
    #class-search,
    #date-search {
        display: flex;
        flex: 0 0 calc(100% - 30px);
        max-width: calc(100% - 30px);
        margin-bottom: 15px;
        box-sizing: border-box;
    }

    .body-contain {
        padding-top: 52px;
    }

    .banner-contain {
        margin: 0 20px;
        padding: 32px 0;
        padding-bottom: 0;
    }

    .banner-contain .big-title {
        margin-bottom: 24px;
        font-size: 40px;
        line-height: 60px;
    }

    .search-contain {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .search-box {
        width: 100%;
        flex: 0 0 100%;
    }

    .drop-box-mobile .show {
        display: flex;
    }

    .drop-box-mobile {
        position: fixed;
        z-index: 10001;

    }

    .result-contain {
        padding: 32px 0;
        overflow-x: scroll;
    }

    .search-clb-dropdown-content {
        max-height: 100%;
        height: fit-content;
        max-height: 75vh;
        left: 0;
        right: 0;
        width: 91vw;
        margin-top: 0;
        margin: auto;
        z-index: 10001;
        border-radius: 8px 8px;
    }

    .search-clb-dropdown-content span:after {
        content: " ";
        height: 14px;
        width: 15px;
        border-radius: 100%;
        border: solid 2px #141414;
        z-index: 0;
        position: absolute;
        right: 0;
        margin-top: 17px;
        margin-right: 24px;
    }

    .search-clb-dropdown-content span label::after {
        content: " ";
        width: 6px;
        height: 6px;
        border-radius: 100%;
        background-color: #141414;
        display: none;
        position: absolute;
        right: 28px;
        margin-top: -17px;
    }

    .class-name {
        line-height: 36px;
    }

    .teacher-name,
    .club-name,
    .room-name,
    .date,
    .time {
        font-size: 14px;
        line-height: 17px;
    }

    .ui-datepicker {
        position: absolute !important;
        max-height: 100%;
        height: fit-content;
        left: 0 !important;
        right: 0px;
        margin: auto;
        z-index: 7 !important;
        border-radius: 8px !important;
        top: 50% !important;


    }

    .mobile-shadow {
        z-index: 10000;
    }

    .search-box:nth-child(2n) {
        margin-right: 0;
    }

    .search-box:nth-child(3),
    .search-box:nth-child(4) {
        margin-bottom: 12px;
    }

    /* result contain  */
    .item-contain {
        padding: 0 20px;
    }

    .clb-nearly {
        flex-direction: column;
        padding: 32px 0;
    }

    .clb-nearly-right {
        width: 100%;
        padding-right: 0;
    }

    .clb-nearly-left .big-title h2 {
        font-size: 40px;
        line-height: 60px;
    }

    .clb-nearly-right img {
        height: 276px;
    }

    .clb-nearly-left {
        width: 100%;
        padding-right: 20px;
    }

    .clb-nearly-left .title-big {
        font-weight: 500;
        font-size: 40px;
        line-height: 60px;
        width: 80%;
    }

    .define-information-contain {
        flex-direction: column;
        padding: 0 20px;
    }

    .class-type-contain {
        width: 100%;
        padding-bottom: 16px;
    }

    .define-information-contain .icon {
        padding-bottom: 16px;
    }

    .class-level-activities-contain {
        width: 100%;
    }

    .clb-nearly-readmore span {
        width: 100%;
        margin-bottom: 8px;
    }

    .clb-nearly-readmore {
        margin-top: 8px;
        margin-bottom: 32px;
    }

    .submit-trying {
        flex-direction: column;
        padding: 32px 0;
    }

    .submit-trying-left {
        width: 100%;
        padding-left: 20px;
        padding-bottom: 32px;
    }

    .submit-trying .title-big {
        width: 100%;
        font-size: 40px;
        line-height: 60px;
        max-width: 283px;
    }

    .submit-trying-readmore {
        margin-top: 8px;
        margin-bottom: 0;
    }

    .submit-trying-readmore span {
        width: 100%;
    }

    .submit-trying-right {
        width: 100%;
        padding: 0 20px;
    }

    .form-contact-trial>div:first-child {
        margin-top: 0;
    }

    .form-contact-trial>div:first-child .user-name:first-child {
        max-width: 150px;
    }

    .form-contact-trial>div:first-child .user-name {
        max-width: 190px;
        width: 100% !important;
    }

    .form-contact-trial .submit-trial {
        font-size: 15px;
        line-height: 18px;
        padding: 11px 30px;
        margin: auto;
        margin-top: 24px;
        width: fit-content;
    }

    .item-contain .item {
        flex-direction: column;
        padding: 24px 0;
    }

    .item-contain .item>.class-name {
        width: 100%;
    }

    .item-contain .item>div {
        display: flex;
        flex-direction: row;
        width: 100%;
        justify-content: flex-start;
        align-items: flex-end;
        margin-bottom: 16px;
    }

    .icon-item {
        margin-right: 12px;
    }

    .result-contain .item .icon-contain {
        justify-content: normal;
    }

    .pagination {
        justify-content: center;
    }

    .pagination ul li {
        padding: 0 15px;
    }


    /* calendal  */
    .xdsoft_datetimepicker .xdsoft_datepicker {
        min-width: 317px;
    }
}

@media (max-width:435px) {
    .search-box {
        max-width: unset;
        margin-right: 10px;
        width: 100% !important;
        margin: 0;
        margin-bottom: 12px;
    }

    .search-box:last-child {
        margin-bottom: 0;
    }

    .item-contain .item .icon-contain .icon-item:first-child .tool_tip {
        left: 0;
        transform: translateX(0);
    }

    .item-contain .item .icon-contain .icon-item:first-child .tool_tip::after {
        left: 0;
        transform: translateX(4px);
    }

    .xdsoft_datetimepicker .xdsoft_datepicker {
        width: calc(100vw - 58px);
    }
}

@media (max-width: 320px) {
    .xdsoft_datetimepicker {
        left: 20px !important;
    }

    .xdsoft_datetimepicker .xdsoft_datepicker {
        width: calc(100vw - 50px);
        margin: auto;
    }

    .xdsoft_datetimepicker .xdsoft_datepicker {
        min-width: 252px !important;
    }

}