:root {
  --primary-color: #C40C12;
  --shadow-color: #B5C3D833;
  --border-color: #f0f0f0;
  --font-gray-color: #9A9A9A;
}
body, html {
    width: 100%;
    height: 100%;
    margin: 0;
    font-family: "Microsoft YaHei"
}

input {
    outline: none;
    border: none;
}

input::placeholder {
    color: #D3D3D3;
}

#mapDiv {
    width: 100%;
    height: 100vh;
}

.tdt-control-copyright {
    display: none;
}

.tdt-infowindow-content {
    width: 300px !important;
    box-sizing: border-box;
}


/* 内容组件 */
.menu,.search,.result,.site {
    position: absolute;
    padding: 0.2rem;
    z-index: 1000;
    width: 100vw;
    box-sizing: border-box;
}
.search {
    top: 0;
    left: 0;
}

.search .box {
    background: #fff;
    display: flex;
    align-items: center;
    padding: .15rem;
    border-radius: 6px;
    border: 1px solid #cccccc;
}

.search .box  img {
    width: 0.6rem;
    height: 0.6rem;
}

.box .search-input {
    flex: 1;
    box-sizing: border-box;
    padding-left: 10px;
    height: 0.6rem;
    font-size: 0.32rem;
}

.box .search-btn {
    font-size: .30rem;
    display: inline-block;
    background: #C40C12;
    height: 0.6rem;
    line-height: .6rem;
    color: #fff;
    padding: 0 .4rem;
    border-radius: 5px;
}

.menu {
    top: 1rem;
    left: 0;

}
.menu-body {
    background: #fff;
    display: flex;
    align-items: center;
    padding: .15rem;
    border-radius: 6px;
    border: 1px solid #cccccc;
}
.menu-item {
    flex: 1;
    font-size: .32rem;
    height: .6rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .3s;
}
.menu-body .item-action {
    color: #C40C12;
}
.van-picker__cancel, .van-picker__confirm{
    font-size: .26rem;
}

.result {
    top: 2rem;
}
.result-body {
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: .15rem;
    border-radius: 6px;
    border: 1px solid #cccccc;
}

.result-list {
    width: 100%;
    display: flex;
    overflow-x: auto;
    margin-bottom: 10px;
    transition: all .5s linear;
    max-height: 3rem;
}
.result-hide {
    max-height: 0;
    margin-bottom: 0;
}
.result-item {
    min-width: 22%;
    max-width: 22%;
    display: flex;
    align-items: center;
    flex-direction: column;
    box-sizing: border-box;
    margin-right: 0.2rem;
}
.result-item-img {
    width: .95rem;
}
.result-action {
    color: #c40c12;
}
.result-item-name {
    font-size: .24rem;
    width: 100%;
    text-align: center;
}
.result-desc {
    width: 100%;
    font-size: 0.26rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.result-expand {
    color: #C40C12;
    display: flex;
    align-items: center;
}
.result-icon-rotate {
    transform: rotate(180deg);
}
.result-icon {
    font-size: .3rem;
    margin-left: 4px;
}
.site {
    bottom: .2rem;
}
.site-body {
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: .15rem;
    border-radius: 6px;
    border: 1px solid #cccccc;
}

.site-more {
    font-size: .32rem;
    color: #C40C12;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #F0F0F0;
    width: 100%;
    text-align: center;
}
.site-more .van-icon {
    margin-right: 5px;
}

.site-list {
    max-height: 55vh;
    overflow-y: auto;
    width: 100%;
    transition: max-height .3s linear;
}
.site-list-hide {
    max-height: 2rem;
    overflow: hidden;
}

.site-item {
    display: flex;
    flex: 1;
    margin-bottom: 0.2rem;
}
.site-item-poster {
    width: 35%;
    max-width: 4rem;
    max-height: 2rem;
    border-radius: 6px;
    margin-right: 10px;
}
.site-item-msg {
    font-size: .26rem;
    flex: 1;
}
.site-item-msg-time,
.site-item-msg-address,
.site-item-msg-title {
    margin-bottom: .08rem;
}
.site-item-msg-title {
    font-size: .32rem;
    font-weight: 500;
}
.site-item-msg-time span{
    color: #C40C12;
    font-size: .22rem;
}
.site-item-msg-address {
    display: flex;
    align-items: center;
}
.site-item-msg-address .van-icon{
    font-size: .3rem;
    color: #c40c12;
    margin-right: 6px;
}
.van-notice-bar__content {
    font-size: .32rem;
    font-weight: 500;
}
.van-notice-bar {
    padding: 0;
    background: #fff;
    flex: 1;
    height: 0.4rem;
}
.site-item-msg-address .van-notice-bar__content{
    font-size: .26rem;
}
.site-icon-rotate {
    transform: rotate(180deg);
}
.textEllipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.textEllipsis-2 {
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* 这里是超出几行省略 */
}

.map-pop-btn {
    margin-top: 4px;
    width: 100%;
    background: #C40C12;
    color: #fff;
    border-radius: 10px;
    padding: 6px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.map-pop-btn img {
    width: 24px;
    margin-right: 8px;
}
