.sidebar {
    position: fixed;
    /*top: 50%;*/
    /* transform: translate(0,-50%); */
    right: 0;
    z-index: 999;
    bottom: 0;
}

.sidebar div {
    display: flex;
    flex-direction: column;
    align-items: end;
    position: relative;
}
.sidebar .sidebar_item:nth-child(1) a{
    border-radius: .1rem .1rem 0px 0;
}
.sidebar a {
    width: 0.8rem;
    height: 0.7rem;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    background: #E07405;
    border-bottom: .01rem solid #fff;
    /* float: right; */
    transition: 0.3s;
    gap: 0 0.1rem;
    cursor: pointer;
}
.sidebar a img{
    object-fit: contain;
    width: 0.22rem;
    height: 0.22rem;
}
.sidebar p {
    font-size: 0.14rem;
    color: #FFFFFF;
    text-align: center;
    /* line-height: .25rem; */
    margin: 6px auto 0;
}


.back {
    background: #E07405 !important;
}
.sidebar .sidebar_item .before{
    flex-wrap: nowrap;
    width: auto;
    position: absolute;
    top: 0;
    left: 100%;
    height: calc(100% - 0.01rem);
    transition: .4s all ease;
    display: flex;
    align-items: center;
    padding: 0 30px;
    color: #fff;
    white-space: nowrap;
    background: #e07405;
    border-bottom: none;
} 
.sidebar .sidebar_item:nth-child(1):hover .before{
    transform: translateX(-100%);
    border-radius: .1rem 0.1rem 0px .1rem;
}
.sidebar .sidebar_item:nth-child(2):hover .before{
     transform: translateX(-100%);
     border-radius: .1rem 0 0px .1rem;
}
.sidebar .sidebar_item .before img{
    width: 0.3rem;
    height: 0.3rem;
    margin-right: 0.1rem;
}
.sidebar .sidebar_item .before p{
    margin: 0;
    font-size: 0.16rem;
}
.sidebar .sidebar_item:nth-child(4)>a{
    border-bottom: none;
}
.sidebar .sidebar_item:last-child>a{
    border-bottom: none;
    border-radius: 0 0 0 .1rem;
}


/*.sidebar_hover1:hover p {*/
/*    display: block;*/
/*    font-size: 0.16rem;*/
/*}*/

/*.sidebar_hover1:hover {*/
/*    width: fit-content;*/
/*    padding-left: 0.2rem;*/
/*    padding-right: 0.36rem;*/
/*    display: flex;*/
/*    border-radius: 0.1rem 0 0 0.1rem;*/
/*}*/
/*.sidebar_hover1:hover .tc{*/
/*    margin-top: 0;*/
/*    margin-left: 0;*/
/*}*/

@media only screen and (max-width: 1024px) {
.sidebar{
    width: 100%;
}
.sidebar div{
    flex-direction: inherit;
}

.sidebar .sidebar_item .before{
    display: none !important;
}
.sidebar a{
    width: auto;
}
.sidebar .sidebar_item:nth-child(1) a{
    border-radius: 0;
}
.sidebar .sidebar_item:last-child > a{
    border-radius: 0;
}
    
}