/* dictionary */

.dictionary-tab {
    margin-top: 107px;
    position: relative;
    padding: 60px 0 75px;
}

.dictionary-tab .dictionary-tab__header,
.dictionary-tab .dictionary-tab__bottom {
    position: relative;
    z-index: 2;
}

.dictionary-tab .dictionary__title {
    color: #fcfcfc;
    font-size: 40px;
    line-height: 50px;
    font-weight: 500;
}

.dictionary-tab .dictionary__desc {
    color: #ffffff;
    font-size: 20px;
    line-height: 30px;
    font-weight: 300;
    margin-bottom: 0;
}

.dictionary-tab video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.dictionary-tab .dictionary-tab__text {
    color: #fff;
    font-size: 16px;
    line-height: 26px;
    font-weight: 300;
}

.dictionary-line {
    content: '';
    display: block;
    height: 0.5px;
    width: 100vw;
    background-color: #fcfcfc;
    position: relative;
    z-index: 1;
    margin: 36px 0;
}

.dictionary-tab .dictionary-tab__list {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.dictionary-tab .dictionary-tab__item {
    background: #ffffff33 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #00000029;
    opacity: 1;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
    line-height: 18px;
    font-weight: 400;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s linear;
}

.dictionary-tab .dictionary-tab__item:hover,
.dictionary-tab .dictionary-tab__item.active {
    background-color: #fff;
    color: var(--third-color);
    transition: all 0.3s linear;
}

.dictionary-content {
    padding: 80px 0 140px;
    position: relative;
}

.dictionary-content .dictionary__keyword {
    font-size: 40px;
    line-height: 50px;
    color: var(--third-color);
    font-weight: 500;
    display: block;
    margin-bottom: 60px;
}

.dictionary-content .keyword__title {
    font-size: 25px;
    line-height: 35px;
    font-weight: 500;
    color: var(--third-color);
    margin-bottom: 0;
}

.dictionary-content .keyword__content {
    font-size: 16px;
    line-height: 24px;
    color: #5d5d5d;
    font-weight: 300;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.dictionary-content .keyword__content p {
    margin-bottom: 0;
}

.dictionary-content .dictionary__keyword--item {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--secondary-color);
    margin-bottom: 40px;
}

.dictionary-content .keyword__button img {
    width: 28px;
    height: auto;
    object-fit: contain;
}

.dictionary-content .keyword__button {
    width: fit-content;
    transition: all 0.3s linear;
}

.dictionary-content .keyword__button:hover {
    transform: translateX(10px);
    transition: all 0.3s linear;
}

/* loading */

.lds-dual-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-block;
    width: 80px;
    height: 80px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s linear;
}

.lds-dual-ring.active {
    opacity: 1;
    visibility: visible;
    transition: all 0.3s linear;
}

.lds-dual-ring:after {
    content: ' ';
    display: block;
    width: 64px;
    height: 64px;
    margin: 8px;
    border-radius: 50%;
    border: 6px solid var(--third-color);
    border-color: var(--third-color) transparent var(--third-color) transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}

@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* detail */

.detailD-header {
    margin-top: 107px;
    padding: 50px 0 60px;
    position: relative;
}

.detailD-header video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    object-fit: cover;
}

.detailD-header .detailD-header__top,
.detailD-header .detailD-header__bottom {
    position: relative;
    z-index: 2;
}

.detailD-header .detailD-header__back img {
    width: 16px;
    height: auto;
    object-fit: contain;
    transition: all 0.3s linear;
}

.detailD-header .detailD-header__back {
    font-size: 16px;
    line-height: 26px;
    color: #fff;
    font-weight: 300;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detailD-header .detailD-header__back:hover img {
    transform: translateX(-5px);
    transition: all 0.3s linear;
}

.detailD-header .detailD__title {
    color: #fcfcfc;
    font-size: 40px;
    line-height: 50px;
    font-weight: 500;
    margin: 30px 0 15px;
}

.detailD-header .detailD__booking {
    background-color: transparent;
    border-radius: 24px;
    border: #fff 1px solid;
    color: #fff;
    padding: 8px 14px;
    font-size: 16px;
    line-height: 16px;
    font-weight: 500;
    transition: all 0.3s linear;
}

.detailD-header .detailD__booking:hover {
    background-color: #fff;
    color: var(--third-color);
    transition: all 0.3s linear;
}

.detailD-header .detailD-bottom__list {
    display: flex;
    align-items: center;
    gap: 40px;
}

.detailD-content__item:not(:last-child) {
    padding-bottom: 60px;
    margin-bottom: 60px;
    border-bottom: 1px solid var(--secondary-color);
}

.detailD-header .detailD-bottom__link {
    font-size: 18px;
    line-height: 24px;
    color: #fff;
    font-weight: 400;
    transition: all 0.2s linear;
}

.detailD-header .detailD-bottom__link:hover,
.detailD-header .detailD-bottom__link.active {
    font-weight: 500;
    transition: all 0.3s linear;
}

.detailD-content {
    padding: 100px 0 70px;
}

.detailD-content--title {
    font-size: 40px;
    line-height: 50px;
    color: var(--third-color);
    font-weight: 500;
    margin-bottom: 40px;
}

.detailD-content .content {
    font-size: 16px;
    line-height: 24px;
    color: #5d5d5d;
    font-weight: 400;
    margin-bottom: 20px;
}

.detailD-content .content p {
    margin-bottom: 20px;
}

.detailD-content .content ul {
    list-style: disc;
    list-style-position: inside;
    margin-bottom: 20px;
}

.detailD-content .content a.btn-booking {
    display: block;
    color: #fff;
    background-color: var(--third-color);
    border: 1px solid #fff;
    font-size: 14px;
    line-height: 16px;
    padding: 8px 14px;
    border-radius: 24px;
    width: fit-content;
    cursor: pointer;
    transition: all 0.3s linear;
}

.detailD-content .content a:hover {
    background-color: #fff;
    border: 1px solid var(--third-color);
    color: var(--third-color);
    transition: all 0.3s linear;
}

.detailD-content .content figure {
    margin: 40px 0 0;
}

.detailD-bottom__left .link img {
    width: 16px;
    height: auto;
    object-fit: contain;
    transform: rotate(180deg);
}

.detailD-bottom {
    background-color: #fafafa;
    padding: 60px 0;
}

.detailD-bottom__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.detailD-bottom__content .title {
    font-size: 25px;
    line-height: 35px;
    font-weight: 500;
    color: var(--third-color);
}

.detailD-bottom__content .desc,
.detailD-bottom__content .date {
    font-size: 14px;
    line-height: 20px;
    color: #5d5d5d;
    margin-bottom: 0;
}

.detailD-bottom__content .date {
    color: var(--third-color);
}

.detailD-bottom__content .line {
    content: '';
    display: block;
    height: 0.5px;
    width: 100%;
    max-width: 500px;
    background-color: #5d5d5d;
    margin: 15px 0;
}

.detailD-bottom__left {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detailD-bottom__left .link.btn-booking {
    background-color: #009bab;
    border: 1px solid #009bab;
}

.detailD-bottom__left .link {
    padding: 8px 15px;
    background-color: var(--third-color);
    border: 1px solid var(--third-color);
    color: #fff;
    font-size: 14px;
    line-height: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-radius: 24px;
    transition: all 0.3s linear;
}

.detailD-bottom__left .link:hover {
    /* background-color: #fff;
    color: var(--third-color); */
    transform: scale(1.04);
    transition: all 0.3s linear;
}

/* .detailD-bottom__left .link.btn-booking:hover {
    background-color: #fff;
    color: #009BAB;
    transition: all 0.3s linear;
} */

.dictionary-tab__form {
    position: relative;
}

.dictionary-tab__form .group-input img {
    width: 20px;
    height: auto;
    position: absolute;
    top: 50%;
    left: 28px;
    transform: translateY(-50%);
}

.dictionary-tab__form input {
    height: 64px;
    border: 1px solid #fff;
    background-color: transparent;
    color: #fff;
    font-size: 20px;
    line-height: 30px;
    font-weight: 400;
    width: 100%;
    border-radius: 33px;
    padding-left: 70px;
    padding-right: 130px;
    outline: none;
}

.dictionary-tab__form input::placeholder {
    color: #fff;
    font-size: 20px;
    line-height: 30px;
    font-weight: 400;
}

@media screen and (max-width: 991px) {
    .dictionary-tab {
        margin-top: 80px;
    }

    .dictionary-tab .dictionary__title {
        font-size: 30px;
        line-height: 40px;
    }

    .dictionary-tab .dictionary__desc,
    .dictionary-tab .dictionary-tab__text {
        font-size: 15px;
        line-height: 20px;
    }

    .dictionary-line {
        margin: 24px 0;
    }

    .faq__item {
        position: relative;
        background: transparent;
        border-radius: 0px;
        margin-bottom: 16px;
    }

    .faq__item .faq__header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        transition: all 0.3s linear;
    }

    .faq__item .faq__wrap {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .faq__header .dictionary-tab__AZ {
        background: #ffffff33 0% 0% no-repeat padding-box;
        box-shadow: 0px 3px 6px #00000029;
        opacity: 1;
        width: 49px;
        height: 49px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        font-size: 15px;
        line-height: 15px;
        font-weight: 400;
        color: #fff;
        cursor: pointer;
        border: 1px solid #fff;
    }

    .faq__item .faq__header .dictionary-tab__arrow img {
        /* width: 12px;
        height: auto; */
        object-fit: contain;
        transition: all 0.3s linear;
    }

    .faq__item.active .faq__header .dictionary-tab__arrow img {
        transform: rotate(180deg);
        transition: all 0.3s linear;
    }

    .faq__content {
        position: relative;
        height: 0;
        overflow: hidden;
        transition: height 0.5s ease-in-out;
    }

    .faq__content .content {
        padding-bottom: 20px;
    }

    .dictionary-tab .dictionary-tab__item {
        font-size: 10px;
        line-height: 10px;
        width: 32px;
        height: 32px;
    }

    .dictionary-tab {
        padding: 30px 0 20px;
    }

    .dictionary-content {
        padding: 40px 0 50px;
    }

    .dictionary-content .dictionary__keyword {
        font-size: 25px;
        line-height: 35px;
        margin-bottom: 20px;
    }

    .dictionary-content .keyword__title {
        font-size: 20px;
        line-height: 28px;
    }

    .dictionary-content .keyword__content {
        font-size: 16px;
        line-height: 24px;
    }

    .dictionary-content .keyword__button img {
        width: 20px;
    }

    .dictionary-content .dictionary__keyword--item {
        gap: 5px;
        margin-bottom: 20px;
    }

    .detailD-header {
        margin-top: 80px;
    }

    .detailD-header .detailD-header__back {
        font-size: 12px;
        line-height: 12px;
    }

    .detailD-header .detailD-header__back img {
        width: 14px;
    }

    .detailD-header .detailD__title {
        font-size: 25px;
        line-height: 35px;
        margin: 15px 0;
    }

    .detailD-header .detailD__booking,
    .detailD-header .detailD-bottom__link {
        font-size: 12px;
    }

    .detailD-header .detailD-bottom__list {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 15px;
    }

    .dictionary-line {
        width: calc(100vw - 30px);
        margin: 24px auto;
    }

    .detailD-header {
        padding: 30px 0;
    }

    .detailD-content {
        padding: 40px 0;
    }

    .detailD-content--title {
        font-size: 20px;
        line-height: 28px;
        margin-bottom: 0px;
        transition: all 0.5s linear;
    }

    /* .detailD-content .faq__item.active .detailD-content--title {
        margin-bottom: 20px;
        transition: all 0.5s linear;
    } */

    .detailD-content .faq__item.active .faq__header {
        margin-bottom: 20px;
        transition: all 0.6s linear;
    }

    .detailD-content .content {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .detailD-content__item:last-child,
    .detailD-content__item:not(:last-child) {
        padding-bottom: 25px;
        margin-bottom: 25px;
    }

    .detailD-content__item:last-child,
    .detailD-content__item:not(:last-child) {
        padding-bottom: 10px;
        margin-bottom: 10px;
        border-bottom: 1px solid var(--secondary-color);
    }

    .detailD-content .faq__content.active {
        height: fit-content;
        padding-bottom: 25px;
    }

    .detailD-content .faq__item {
        margin-bottom: 0;
    }

    .detailD-bottom {
        padding: 30px 0;
    }

    .detailD-bottom__content .title {
        font-size: 18px;
        line-height: 24px;
    }

    .detailD-bottom__content {
        flex-direction: column;
        /* gap: 20px; */
    }

    .detailD-bottom__left {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        margin-top: 20px;
    }

    .detailD-bottom__content .desc,
    .detailD-bottom__content .date {
        font-size: 12px;
        line-height: 18px;
    }

    .detailD-bottom__left .link {
        font-size: 10px;
        line-height: 10px;
    }
}

@media screen and (max-width: 756px) {
    .dictionary-tab__form {
        position: relative;
        margin-top: 20px;
    }

    .dictionary-tab__form input {
        height: 38px;
        font-size: 16px;
        padding-left: 50px;
    }

    .dictionary-tab__form input::placeholder {
        font-size: 16px;
    }

    .dictionary-tab__form .group-input img {
        width: 14px;
        height: auto;
        position: absolute;
        top: 50%;
        left: 20px;
        transform: translateY(-50%);
    }
}
