:root {
    --text-color: #1A1A1A;
    --primary-color: #EB0A1E;
}

body {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    background-color: #fff;
    margin: 0;
}

a {
    color: inherit;
}

.primary-color {
    color: var(--primary-color) !important;
}

.text-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 44px;
    text-transform: uppercase;
}

a.tool-item + a.tool-item {
    margin: 0;
}

input:focus {
    outline: none;
}

.text {
    font-size: 15px;
    color: var(--text-color);
}

body {
    font-family: 'Toyota Type';
    margin: 0;
}

.mb-32 {
    margin-bottom: 32px !important;
}

.mt-32 {
    margin-top: 32px !important;
}

.mb-64 {
    margin-bottom: 64px !important;
}

#back-to-top {
    width: 40px;
    height: 40px;
    background-color: #EB0A1E;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 80px;
    right: 32px;
    font-size: 16px;
    line-height: 16px;
    color: #FFFFFF;
    transition: background-color .3s, opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    text-decoration: none;
    cursor: pointer;
}

    #back-to-top.show {
        opacity: 1;
        visibility: visible;
    }

.loading-icon {
    -webkit-animation: spin 2s linear infinite;
    animation: spin 1.5s linear infinite;
    text-align: center;
    /* width: 100%; */
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.tool-mobile {
    display: none;
}

.tool {
    position: fixed;
    z-index: 50;
    right: 0;
    top: 180px;
    color: #1A1A1A;
    width: 48px;
}

    .tool .tool-item {
        background-color: #ffffff;
        width: 48px;
        height: 48px;
        border: 1px solid #cccccc;
        display: flex;
        justify-content: left;
        align-items: center;
        transition: width 0.5s;
        padding-left: 12px;
        float: right;
        overflow: hidden;
        position: relative;
    }

        .tool .tool-item img {
            width: auto;
        }

        .tool .tool-item:hover span {
            left: 30px;
        }

    .tool .tool-list {
        background-color: #ffffff;
        width: 48px;
        height: 48px;
        border: 1px solid #cccccc;
        display: flex;
        justify-content: center;
        align-items: center;
        float: right;
        font-size: 20px;
        color: #1a1a1a;
        cursor: pointer;
    }

.tool-item:hover {
    width: 260px;
    transition: width 1s;
}

.tool .tool-item > span {
    margin-left: 20px;
    color: #1A1A1A;
    /* text-overflow: ellipsis; */
    position: absolute;
    right: 100%;
    width: max-content;
}

.tool-list-contain {
    list-style-type: none;
    padding: 0;
    margin: 0;
    height: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease 0s;
}

    .tool-list-contain.show {
        height: auto;
        opacity: 1;
        visibility: visible;
    }

    .tool-list-contain .tool-list-item {
        min-width: 3rem;
        display: table;
        margin-right: auto;
        cursor: pointer;
        font-size: 1rem;
        background-color: #fff;
        padding-right: 16px;
        /* padding: 10px 10px 10px 0px; */
        box-shadow: inset 0px 0px 1px 1px rgb(192 192 192 / 30%);
        transition: all 0.5s ease 0s;
    }

        .tool-list-contain .tool-list-item:hover {
            /* transform: translateX(0); */
            transform: translateX(calc(-100% + 1.5rem + 24px));
        }

        .tool-list-contain .tool-list-item .item-contain {
            height: 48px;
            display: flex;
            align-items: center;
        }

            .tool-list-contain .tool-list-item .item-contain .item-image {
                width: 48px;
                display: flex;
                justify-content: center;
                align-items: center;
            }

                .tool-list-contain .tool-list-item .item-contain .item-image img {
                    max-width: 100%;
                    max-height: 100%;
                    display: block;
                    margin: 0 auto;
                }

            .tool-list-contain .tool-list-item .item-contain .item-title {
                font-size: 16px;
                line-height: 23px;
                color: #1A1A1A;
                white-space: nowrap;
            }

        .tool-list-contain .tool-list-item:hover .item-contain .item-title {
            color: #EB0A1E;
        }

        .tool-list-contain .tool-list-item a {
            display: flex;
            align-items: center;
        }

@media(max-width:1160px) {
    .tool {
        display: none;
    }

    .tool-mobile {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }

        .tool-mobile .tool-item {
            width: 14.28%;
            height: 40px;
            border: 1px solid #cccccc;
            display: flex;
            padding: 8px;
            justify-content: center;
            align-items: center;
        }

        .tool-mobile .tool-description {
            width: 100%;
            height: 40px;
            border-bottom: 1px solid #cccccc;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #1A1A1A;
        }

            .tool-mobile .tool-description span:not(span:nth-child(1)) {
                display: none;
            }
}

@media(max-width: 1080px) {
    #back-to-top {
        bottom: 60px;
        right: 4px;
        width: 32px;
        height: 32px;
        font-size: 12px;
        line-height: 12px;
        align-items: center;
    }
}

@media(max-width: 768px) {
    footer {
        margin-bottom: 40px;
    }

    .tool-mobile {
        position: fixed;
        bottom: 0px;
        background-color: #FFFFFF;
        width: 100%;
        max-width: 100%;
        z-index: 999;
    }
}

.bg-icon_global {
    display: block;
    margin-right: 4px;
    width: 23px;
    height: 23px;
    background: url('../../Images/global-image/global-image.png') -54px -295px;
}

.bg-icon_instagram {
    display: block;
    width: 24px;
    height: 24px;
    background: url('../../Images/global-image/global-image.png') -144px -219px;
}

.bg-icon_play_technology {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 93px;
    height: 92px;
    background: url('../../Images/global-image/global-image.png') -10px -107px;
}

.bg-icon_play_technology_mobile {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: url('../../Images/global-image/global-image.png') -123px -107px;
}

.bg-icon_tiktok {
    display: block;
    width: 24px;
    height: 24px;
    background: url('../../Images/global-image/global-image.png') -188px -219px;
}

.bg-logo_toyota {
    display: block;
    width: 81px;
    height: 65px;
    background: url('../../Images/global-image/global-image.png') -312px -112px;
}

.bg-logo_toyota_mobile {
    display: block;
    width: 70px;
    height: 56px;
    background: url('../../Images/global-image/global-image.png') -10px -219px;
}

.bg-icon_prev_vehicle {
    display: block;
    width: 8px;
    height: 14px;
    background: url('../../Images/global-image/global-image.png') -123px -183px;
}

.bg-icon_price {
    display: block;
    width: 18px;
    height: 24px;
    background: url('../../Images/global-image/global-image.png') -51px -339px;
}

.bg-icon_service {
    display: block;
    width: 24px;
    height: 24px;
    background: url('../../Images/global-image/global-image.png') -232px -219px;
}

.bg-icon_youtube {
    display: block;
    width: 24px;
    height: 24px;
    background: url('../../Images/global-image/global-image.png') -276px -219px;
}

.bg-icon_zalo {
    display: block;
    width: 24px;
    height: 24px;
    background: url('../../Images/global-image/global-image.png') -320px -219px;
}

.bg-khuyen_mai_image {
    display: block;
    width: 82px;
    height: 82px;
    background: url('../../Images/global-image/global-image.png') -210px -10px;
}

.bg-bang_gia_image {
    display: block;
    width: 82px;
    height: 82px;
    background: url('../../Images/global-image/global-image.png') -210px -112px;
}

.bg-bo_cong_thuong {
    display: block;
    width: 180px;
    height: 77px;
    background: url('../../Images/global-image/global-image.png') -10px -10px;
}

.bg-dang_ki_lai_thu_image {
    display: block;
    width: 82px;
    height: 82px;
    background: url('../../Images/global-image/global-image.png') -312px -10px;
}

.bg-icon_calculate {
    display: block;
    width: 21px;
    height: 24px;
    background: url('../../Images/global-image/global-image.png') -10px -339px;
}

.bg-icon_chat {
    display: block;
    width: 24px;
    height: 25px;
    background: url('../../Images/global-image/global-image.png') -100px -219px;
}

.bg-icon_compare {
    display: block;
    width: 17px;
    height: 24px;
    background: url('../../Images/global-image/global-image.png') -89px -339px;
}

.bg-icon_dowload {
    display: block;
    width: 17px;
    height: 24px;
    background: url('../../Images/global-image/global-image.png') -126px -339px;
}

.bg-icon_drive {
    display: block;
    width: 24px;
    height: 24px;
    background: url('../../Images/global-image/global-image.png') -364px -219px;
}

.bg-icon_facebook {
    display: block;
    width: 24px;
    height: 24px;
    background: url('../../Images/global-image/global-image.png') -10px -295px;
}

.header-list-item.center-item {
    display: flex !important;
    align-items: center !important;
}

.select2-container--disabled {
    display: none;
}
