﻿/*body {overflow-x:auto; overflow-y:hidden;}*/

* {
    margin: 0;
    padding: 0;
    list-style: none;
}

body {
    height: auto;
}

.home-sfq {
    width: 100%;
}

.swiper-container23 {
    width: 100%;
    height: 100%;
}

.swiper-slide23 {
    text-align: center;
    font-size: 18px;
    background: #fff;
    /* center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
}

.tabtitle {
    position: absolute;
    bottom: 0;
    left: 0;
    text-align: left;
    padding: 0.3rem;
    background: ;
    background-size: 100% 100%;
}

.tabtitle h2 {
    font-size: 0.34rem;
    margin-bottom: 0.18rem;
    font-family: "times new roman", times, serif;
    color: #fff;
}

.tabtitle p {
    font-size: 0.16rem;
    color: #fff;
}

.g-wrap {
    position: relative;
    margin: 0 auto;
    width: 15rem;
    height: 100%;
    overflow: hidden;
    z-index: 9;
}


/* 滑块 start */

#subjects {
    height: 4.65rem;
    /* background-color: #eceef2; */
}

#subjects .g-wrap .three {
    position: absolute;
    top: 0;
    left: 100%;
    width: 2.9rem;
    height: 100%;
    overflow: hidden;
    -webkit-opacity: 1;
    opacity: 1;
    display: block\9;
    -webkit-transition: left 300ms, -webkit-opacity 700ms;
    transition: left 300ms, opacity 700ms;
}

#subjects .g-wrap .item-1 {
    z-index: 1;
    /* background-color: #ffea01; */
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    /* cursor: pointer; */
    position: absolute;
}

#subjects .g-wrap .item-2 {
    z-index: 2;
    /* background-color: #dcf6db; */
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    position: absolute;
}

#subjects .g-wrap .p1,
#subjects .g-wrap .p2 {
    position: absolute;
    background: no-repeat 0 0;
}

#subjects .g-wrap .item-3 {
    z-index: 3;
    /* background-color: #fc433e; */
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    /* cursor: pointer; */
    position: absolute;
}

#subjects .g-wrap .p2 {
    -webkit-opacity: 0;
    opacity: 0;
    display: none\9;
    -webkit-transition: -webkit-opacity 400ms;
    transition: opacity 400ms;
    position: relative;
}

#subjects .g-wrap .p2 .shzrbgimg {
    width: 1.04rem;
    height: 1.38rem;
    position: absolute;
    top: 0.18rem;
    right: 0.43rem;
    cursor: pointer;
}

#subjects .g-wrap .item-1 .p1 {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#subjects .g-wrap .item-1 .p1 img {
    display: block;
    width: 2.9rem;
    height: 4.65rem;
}

#subjects .g-wrap .item-1 .p2 {
    /*left: 276px;
       top: 68px;*/
    left: 0px;
    top: 0px;
    z-index: 2;
    width: 100%;
    height: 100%;
}

#subjects .g-wrap .item-1 .p2 img {
    width: 9rem;
}

#subjects .g-wrap .item-2 .p1 {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#subjects .g-wrap .item-2 .p2 {
    /*left: 150px;*/
    left: 0px;
    top: 0px;
    z-index: 2;
    width: 9rem;
    height: 100%;
}

#subjects .g-wrap .item-3 .p1 {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#subjects .g-wrap .item-3 .p2 {
    /*left: 150px;*/
    left: 0px;
    top: 0px;
    z-index: 2;
    width: 9rem;
    height: 100%;
}


/*#subjects*/

#subjects .trans a {
    -webkit-opacity: 0;
    opacity: 0;
    display: none\9;
}


/* 逐个出现 */

#subjects .ready .item-2 {
    transition-delay: 150ms;
    -webkit-transition-delay: 150ms;
    -ms-transition-delay: 150ms;
    -moz-transition-delay: 150ms;
}

#subjects .ready .item-3 {
    transition-delay: 150ms;
    -webkit-transition-delay: 300ms;
    -ms-transition-delay: 300ms;
    -moz-transition-delay: 300ms;
}


/* 没有指向 */

#subjects .state-0 .item-1 {
    left: 0;
    width: 9rem;
}

#subjects .state-0 .item-2 {
    left: 9.1rem;
}

#subjects .state-0 .item-3 {
    left: 12.1rem;
}

#subjects .three {
    overflow: hidden;
}


/* 指向第一个 */

#subjects .state-1 .item-1 {
    left: 0;
    width: 9rem;
}

#subjects .state-1 .item-2 {
    left: 9.1rem;
}

#subjects .state-1 .item-3 {
    left: 12.1rem;
}

#subjects .state-1 .item-1 .p2 {
    -webkit-opacity: 1;
    opacity: 1;
    display: block\9;
}


/* 指向第二个 */

#subjects .state-2 .item-1 {
    left: 0;
}

#subjects .state-2 .item-2 {
    left: 3rem;
    width: calc(9rem - 1px);
}

#subjects .state-2 .item-3 {
    left: 12.1rem;
}

#subjects .state-2 .item-2 .p2 {
    -webkit-opacity: 1;
    opacity: 1;
    display: block\9;
}


/* 指向第三个 */

#subjects .state-3 .item-1 {
    left: 0;
}

#subjects .state-3 .item-2 {
    left: 3rem;
}

#subjects .state-3 .item-3 {
    left: 6rem;
    width: 9rem;
}

#subjects .state-3 .item-3 .p2 {
    -webkit-opacity: 1;
    opacity: 1;
    display: block\9;
}


/* 滑块 end */

.swiper-container-horizontal>.swiper-pagination-bullets,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    bottom: 0.22rem !important;
    right: 0.38rem !important;
    width: auto !important;
    left: auto !important;
}

.swiper-pagination-bullet {
    width: 0.1rem !important;
    height: 0.1rem !important;
}