/* 服务政策-前台样式 */
.btn_sty {
transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
-ms-transition: all 0.3s ease-in-out;
}
.btn_sty:before {
content: "";
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
background-color: #e44b51;
bottom: 101%;
top: auto;
z-index: 4;
border-radius: 0.5rem;
-webkit-transition: -webkit-transform 0.3s;
transition: transform 0.3s;
-webkit-transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);
transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);
}
.btn_sty:after {
content: "";
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
background-color: #d70917;
bottom: 101%;
top: auto;
z-index: 4;
border-radius: 0.5rem;
-webkit-transition: -webkit-transform 0.3s;
transition: transform 0.3s;
-webkit-transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);
transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);
}
.btn_sty > div > div > div {
position: relative;
z-index: 6;
width: 100%;
color: #666666;
font-weight: 700;
text-align: center;
white-space: nowrap;
transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
-ms-transition: all 0.3s ease-in-out;
display: flex;
align-items: center;
justify-content: center;
}
.btn_sty > div > div > div > i {
line-height: 1;
font-weight: 400;
display: inline-block;
margin-right: 0.16rem;
}
.btn_sty:hover > div > div > div,
.btn_sty.on > div > div > div {
color: #fff;
}
.btn_sty:hover:before,
.btn_sty.on:before {
transform: translate3d(0, 101%, 0);
-webkit-transform: translate3d(0, 101%, 0);
-moz-transform: translate3d(0, 101%, 0);
-o-transform: translate3d(0, 101%, 0);
-ms-transform: translate3d(0, 101%, 0);
}
.btn_sty:hover:after,
.btn_sty.on:after {
transition-delay: 0.175s;
transform: translate3d(0, 101%, 0);
-webkit-transform: translate3d(0, 101%, 0);
-moz-transform: translate3d(0, 101%, 0);
-o-transform: translate3d(0, 101%, 0);
-ms-transform: translate3d(0, 101%, 0);
}
.pub_black {
padding-top: 8vw;
}
@media screen and (max-width: 768px) {
.pub_black {
padding-top: 16vw;
}
}
.btn_sty .policy_name {
font-size: 18px !important;
}
@media screen and (max-width: 768px) {
.btn_sty .policy_name {
font-size: 14px !important;
}
}
.btn_sty .search {
line-height: inherit;
color: #ffffff;
}
.btn_sty.btn_hover_s:hover > div > div {
transform: none;
}
.btn_sty.btn_hover_s:before {
content: none;
display: none;
}
