.container-search-agentcy-page {
    width: 100%;
    text-align: center;
    max-width: 1440px;
    margin-top: 60px;
    margin-bottom: 60px;
    margin-left: auto;
    margin-right: auto;
    font-family: Toyota type;
}

.map-location-error {
    width: 100%;
    text-align: center;
    font-size: 32px;
    color: #aaa;
    border: 1px solid #eb0a1e;
    padding: 30px;
}

.container-search-agentcy-page .box-hero-banner {
    max-width: 1440px;
    max-height: 404px;
    width: 100%;
    height: 100%;
    position: relative;
}

    .container-search-agentcy-page .box-hero-banner .hero-banner-image {
        height: 404px;
    }

    .container-search-agentcy-page .box-hero-banner .hero-banner-content {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        text-align: center;
    }

        .container-search-agentcy-page .box-hero-banner .hero-banner-content .hero-banner-content-title {
            margin-top: 28px;
            margin-bottom: 0;
            font-weight: 600;
            text-align: center;
            color: #000000;
            font-family: Toyota Type;
            font-style: normal;
            font-weight: 600;
            font-size: 40px;
            line-height: 120%;
            align-items: center;
        }

        .container-search-agentcy-page .box-hero-banner .hero-banner-content .box-search-location-agentcy {
            max-width: 1440px;
            padding-top: 39px;
            display: flex;
            width: 100%;
            justify-content: center;
        }

.container-search-agentcy-page .box-map-location {
    width: 100%;
    margin: 0px 0px 110px 0px;
    height: 938px;
    padding-left: 110px;
    padding-right: 110px;
    display: none;
}

    .container-search-agentcy-page .box-map-location .map-iframe {
        margin: 0px;
        padding: 0px;
        padding-right: 20px;
    }

        .container-search-agentcy-page .box-map-location .map-iframe > iframe {
            border: none;
            height: 100%;
            width: 100%;
        }

    .container-search-agentcy-page .box-map-location .select-location {
        overflow: scroll;
        overflow-x: hidden;
        width: 100%;
        height: 100%;
        text-align: left;
        padding: 0px;
        padding-left: 20px;
    }

        .container-search-agentcy-page .box-map-location .select-location .location-item {
            border: 1px solid #eeeeee;
            width: 100%;
            height: auto;
            background: rgba(245, 245, 245, 0.5);
            position: relative;
        }

            .container-search-agentcy-page .box-map-location .select-location .location-item .location-item-title {
                display: flex;
                margin-top: 32px;
                align-items: center;
            }

                .container-search-agentcy-page .box-map-location .select-location .location-item .location-item-title .icon-location {
                    position: relative;
                    margin-left: 14px;
                    margin-right: 16px;
                    width: 42px;
                    height: 46px;
                    text-align: center;
                    display: flex;
                    justify-content: center;
                }

.icon-location::after {
    position: absolute;
    top:  0px;
    left: 0px;
    content: url(../../../images/search-agentcy/icon-location.png);
}

.container-search-agentcy-page .box-map-location .select-location .location-item .location-item-title .icon-location span {
    font-size: 13px;
    position: absolute;
    top: 8px;
    /* left: 18px; */
    /* padding-left: 8px; */
}

.container-search-agentcy-page .box-map-location .select-location .location-item .location-item-title > span {
    width: 85%;
    font-weight: 600;
    font-size: 16px;
    line-height: 120%;
    height: auto;
    padding-right: 35px;
}

.container-search-agentcy-page .box-map-location .select-location .location-item .location-item-content {
    display: flex;
    margin-left: 34px;
    align-items: stretch;
    padding-right: 35px;
}

    .container-search-agentcy-page .box-map-location .select-location .location-item .location-item-content .border-bar {
        width: 1px;
        background-color: rgba(130, 130, 130, 0.29);
        height: auto;
        margin-right: 23px;
    }

    .container-search-agentcy-page .box-map-location .select-location .location-item .location-item-content .content-location {
        text-align: left;
    }

        .container-search-agentcy-page .box-map-location .select-location .location-item .location-item-content .content-location > div {
            display: flex;
            margin-top: 21px;
            width: 100%;
        }

            .container-search-agentcy-page .box-map-location .select-location .location-item .location-item-content .content-location > div > img {
                height: 20px;
                width: 20px;
            }

            .container-search-agentcy-page .box-map-location .select-location .location-item .location-item-content .content-location > div > span {
                align-items: center;
                font-size: 16px;
                line-height: 23px;
                margin-left: 12px;
                height: auto;
                word-wrap: break-word;
            }

.container-search-agentcy-page .box-map-location .select-location .location-item .btn-location-item {
    margin: 20px 35px 32px 35px;
    display: flex;
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 17px;
    letter-spacing: 0.12em;
}

    .container-search-agentcy-page .box-map-location .select-location .location-item .btn-location-item .btn-register {
        color: #ffffff;
        background-color: #eb0a1e;
        margin-right: 10px;
        border: none;
        width: 100%;
        height: 40px;
    }

        .container-search-agentcy-page .box-map-location .select-location .location-item .btn-location-item .btn-register > a {
            color: #ffffff;
            text-decoration: none;
        }

        .container-search-agentcy-page .box-map-location .select-location .location-item .btn-location-item .btn-register:hover {
            background-color: #cc0000;
        }

    .container-search-agentcy-page .box-map-location .select-location .location-item .btn-location-item .btn-order {
        background: #ffffff;
        border: 1px solid #101010;
        box-sizing: border-box;
        width: 90%;
        height: 40px;
        margin-left: 10px;
        color: #101010;
    }

        .container-search-agentcy-page .box-map-location .select-location .location-item .btn-location-item .btn-order > a {
            color: #101010;
            text-decoration: none;
        }

        .container-search-agentcy-page .box-map-location .select-location .location-item .btn-location-item .btn-order:hover {
            background: #ccc;
        }

.container-search-agentcy-page .box-map-location .select-location .location-item .viewmap {
    display: none;
    align-items: center;
    text-align: center;
    margin-left: 35px;
    margin-bottom: 33px;
}

    .container-search-agentcy-page .box-map-location .select-location .location-item .viewmap > button {
        font-family: Toyota Type;
        font-style: normal;
        font-weight: 600;
        font-size: 12px;
        line-height: 17px;
        color: #eb0a1e;
        border: none;
        border-bottom: 1px solid #eb0a1e;
        background: none;
    }

    .container-search-agentcy-page .box-map-location .select-location .location-item .viewmap :hover {
        color: #cc0000;
        border-bottom: 1px solid #cc0000;
    }

.container-search-agentcy-page .box-map-location .select-location .location-item .map-location > div {
    width: 100%;
    height: 410px;
    display: none;
}

.container-search-agentcy-page .box-map-location .select-location::-webkit-scrollbar {
    width: 3px;
}

.container-search-agentcy-page .box-map-location .select-location::-webkit-scrollbar-track {
    background-color: none;
}

.container-search-agentcy-page .box-map-location .select-location::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
    position: absolute;
}

@media only screen and (min-width: 768px) {
    .map-location {
        display: none;
    }
}

@media (max-width: 1200px) {
    .container-search-agentcy-page .box-map-location {
        margin: 0px;
        padding: 0 50px;
    }

        .container-search-agentcy-page .box-map-location .map-iframe {
            padding-right: 5px;
        }

        .container-search-agentcy-page .box-map-location .select-location {
            padding-left: 5px;
        }
}

@media (max-width: 992px) {
    .container-search-agentcy-page .box-map-location {
        margin: 0px;
        padding: 0 20px;
    }

    .container-search-agentcy-page .box-hero-banner .hero-banner-content .box-search-location-agentcy .box-filter-search {
        margin: 0px 20px 0 20px;
        align-items: center;
        padding: 0;
    }

        .container-search-agentcy-page .box-hero-banner .hero-banner-content .box-search-location-agentcy .box-filter-search > div {
            text-align: center;
            padding: 0;
            padding-bottom: 20px;
            width: 100%;
        }

            .container-search-agentcy-page .box-hero-banner .hero-banner-content .box-search-location-agentcy .box-filter-search > div:last-child {
                text-align: center;
                padding: 0;
                width: 100%;
            }

        .container-search-agentcy-page .box-hero-banner .hero-banner-content .box-search-location-agentcy .box-filter-search .form-select-location {
            width: 100%;
        }

    .container-search-agentcy-page .box-map-location .select-location .location-item .btn-location-item .btn-register {
        margin-right: 0px;
    }
}

@media (max-width: 768px) {
    .container-search-agentcy-page .box-map-location {
        margin-top: 22px;
        width: 100%;
        height: auto;
    }

        .container-search-agentcy-page .box-map-location .select-location {
            height: auto;
            padding: 0px;
            overflow-y: visible;
        }

            .container-search-agentcy-page .box-map-location .select-location .location-item {
                margin-bottom: 24px;
            }

                .container-search-agentcy-page .box-map-location .select-location .location-item .location-item-title > div {
                    text-align: center;
                    align-items: center;
                    width: 33px;
                    height: 40px;
                }

                    .container-search-agentcy-page .box-map-location .select-location .location-item .location-item-title > div > span {
                        font-size: 10px;
                    }

                .container-search-agentcy-page .box-map-location .select-location .location-item .location-item-title > span {
                    width: 85%;
                }

                .container-search-agentcy-page .box-map-location .select-location .location-item .viewmap {
                    display: block;
                }

                .container-search-agentcy-page .box-map-location .select-location .location-item .btn-location-item {
                    margin-bottom: 18px;
                }

        .container-search-agentcy-page .box-map-location .map-iframe {
            display: none;
        }

        .container-search-agentcy-page .box-map-location .select-location .location-item .location-item-content {
            margin-left: 31px;
        }

            .container-search-agentcy-page .box-map-location .select-location .location-item .location-item-content .border-bar {
                height: 180px;
            }

    .container-search-agentcy-page .box-hero-banner .hero-banner-content .hero-banner-content-title {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    .container-search-agentcy-page .box-map-location .select-location .location-item .location-item-content .border-bar {
        height: 240px;
    }
}

@media (max-width: 400px) {
    .container-search-agentcy-page .box-map-location {
        padding: 0px 8px;
    }
}

.data-location {
    cursor: pointer;
}

.map-location {
    background-color: #ccc;
}

    .map-location iframe {
        /* display: none; */
        height: 410px;
        max-width: 100%;
    }

.content-location span a {
    color: #3a3a3a
}
