﻿html {
    height: 100%;
}

html,
body {
    width: 100%;
}

body {
    font-size: 14px;
    font-family: '微软雅黑';
    height: 100%;
    margin: 0;
    padding: 0;
    background: #ba0711;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    -webkit-user-select: text;
    -moz-user-focus: text;
    -moz-user-select: text;
    /* webkit-user-select: none;
    -webkit-font-smoothing: antialiased; */
    -webkit-text-size-adjust: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: normal;
    margin: 0;
    padding: 0;
}

div,
dl,
dt,
dd,
input,
button,
label,
ul,
ol,
li,
p,
select,
span,
textarea,
thead,
tfoot,
table,
tr,
td,
figure,
figcaption,
time,
small {
    font-weight: normal;
    margin: 0;
    padding: 0;

}

input,
button {
    font-size: 14px;
}

input,
textarea {
    -webkit-user-select: auto !important;
    -khtml-user-select: auto !important;
    -moz-user-select: auto !important;
    -ms-user-select: auto !important;
    -o-user-select: auto !important;
    user-select: auto !important;
}


div {
    display: block;
}

table {
    border-collapse: collapse;
}

li,
ol,
ul {
    list-style-type: none;
}

img {
    border: 0 none;
    vertical-align: top;
}

em,
cite,
i {
    font-style: normal;
}

button,
input,
textarea,
select {
    border-radius: 0;
    -webkit-appearance: none;
    border: none;
    outline-style: none;
    line-height: 1.3333;
    vertical-align: middle;
    background-color: transparent;
}

input[type=date]:before {
    content: attr(placeholder);
    color: #999;
}

input::-webkit-clear-button,
input::-webkit-calendar-picker-indicator {
    display: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:after,
blockquote:before,
q:after,
q:before {
    content: '';
    content: none;
}

a {
    text-decoration: none
}

:focus {
    outline: 0;
}

*:before,
*:after {
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: #999;
}

.clear {
    clear: both;
    overflow: hidden;
    height: 0;
    line-height: 0;
    display: block;
}

.clearfix:after {
    clear: both;
    overflow: hidden;
    height: 0;
    line-height: 0;
    display: block;
    visibility: hidden;
    content: '';
}

@font-face {
    font-family: 'ferrarisans_regular';
    src: url('../font/ferrari-sansregular-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}

/* ::-webkit-scrollbar {
    width: 0;
} */

.container{
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9;
    overflow: hidden;
}

#loading {
    width: 100%;
    height: 100%;
    background: #ba0711;
    position: fixed;
    left: 0;
    top: 0;
    overflow: hidden;
    z-index: 9999;
}

.gif{
    width: 100px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    z-index: 99;
}

#loading .bg {
    width: 100%;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(0, -50%);
    opacity: 0;
}

#loading .bg.on {
    opacity: 1;
}

.circlechart {
    width: 60px;
    height: 60px;
    position: absolute;
    left: 50%;
    bottom: 9%;
    transform: translate(-50%,0);
    z-index: 99999;
}

.circle-num{
    font-size: 15px;
    color: #fff;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    display: block;
}

/* #video {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    overflow: hidden;
} */

#video{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.arr{
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 4%;
    z-index: 9;
    animation: arr 2s linear infinite;
}

.arr1{
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 4%;
    z-index: 9;
    animation: arr 2s linear infinite;
    display: none;
}

@keyframes arr{
    0%,100%{
        transform: translateY(10px);
    }
    50%{
        transform: translateY(00px);
    }
}

.press{
    width: 107px;
    height: 50px;
    position: absolute;
    top: 80px;
    right: 30px;
    z-index: 999;
    display: none;
}

.press .bg{
    width: 100%;
}

.cti{
    width: 55px;
    height: 55px;
    position: absolute;
    left: 50%;
    bottom: 5%;
    transform: translate(-50%,0);
    z-index: 999;
    display: none;
}

.cti .bg{
    width: 100%;
}

.fullpage {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden
}

.result_pop {
    display: block;
    transition: transform 0.4s linear;
    background: #ba0711;
}

.result_pop.out {
    transform: translate(0, -100%);
}

.product_pop {
    transform: translate(0, 0);
    transition: transform 0.4s linear;
}

.product_pop.in {
    transform: translate(0, 0%);
}

.product_pop.no {
    transition: 0;
}

.lag-tit{
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.lag-years{
    width: 34px;
    position: fixed;
    left: 37px;
    top: 148px;
}

.lag-years li{
    width: 34px;
    height: 34px;
    background: url(https://ferrari-gtb296-1252785317.file.myqcloud.com/ferrari30/images/dian-off.png) no-repeat;
    position: relative;
    margin-bottom: 14px;
}

.lag-years li.on{
    border: 1px solid #fff;
    border-radius: 34px;
}

.lag-years li .txt{
    width: 112px;
    font-family: 'ferrarisans_regular';
    font-size: 21px;
    color: #fff;
    position: absolute;
    right: -122px;
    top: 2px;
    display: none;
}

.lag-years li.on .txt{
    display: block;
}

.lag-scroll{
    width: 560px;
    height: 82%;
    position: absolute;
    top: 160px;
    right: 0;
}

.lag-scroll li{
    width: 560px;
    /* height: 461px; */
    margin-bottom: 80px;
    position: relative;
}

.lag-scroll li img{
    width: 100%;
}

.lag-scroll li img.arrline{
    width: 45px;
    position: absolute;
    right: 20px;
    top: 280px;
}

.lag-scroll li .line{
    width: 100%;
    height: 3px;
    display: block;
    background: #e30920;
    position: absolute;
    left: 0;
    top: 0;
    transition: all .5s;
}

.lag-scroll li.on .line{
    width: 100%;
}

.lag-scroll li.on .mask{
    opacity: 0;
}

.lag-scroll li .swiper-box{
    width: 100%;
    height: 383px;
    position: relative;
    overflow: hidden;
}

.lag-scroll li .swiper-box .swiper-slide img{
    border-radius: 15px;
    transform: scale(.98);
}

.lager{
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
}

.mask{
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.8);
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    transition: all .2s;
}

.nav{
    width: 750px;
    height: 104px;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999;
}

.nav .bg{
    width: 100%;
}

.nav .backHome{
    width: 104px;
    height: 104px;
    position: absolute;
    left: 0;
    top: 0;
}

.nav .edit{
    width: 104px;
    height: 104px;
    position: absolute;
    right: 0;
    top: 0;
}

.music{
    width: 50px;
    position: fixed;
    right: 10px;
    top: 10px;
    z-index: 999;
}

.music img{
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
}

.music.on .on-img{
    opacity: 1;
}

.music.on .off-img{
    opacity: 0;
}

.music .on-img{
    opacity: 0;
}

.music .off-img{
    opacity: 1;
}

.ipad .nav{
    width: 100%;
    height: auto;
}

.ipad-bg{
    display: none;
}

.ipad .nav .backHome{
    height: 100%;
}

.ipad .nav .edit{
    display: none;
}

.ipad .lag-years{
    top: 70px;
}

.ipad .lag-scroll{
    top: 80px;
}

.ipad .lag-years li{
    margin-bottom: 0;
}

.dots,.dots3 {
    width: 100%;
    height: 12px;
    position: absolute;
    left: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9;
}

.dot,.dot3 {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dts,.dts3 {
    width: 100%;
    display: inline-block;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dts span,.dts3 span  {
    width: 12px;
    height: 12px;
    border-radius: 12px;
    background: #c5c6c6;
    display: inline-block;
    margin: 0 6px;
}

.dts span:first-child,.dts3 span:first-child  {
    margin-left: 0;
}

.dts span:last-child,.dts3 span:last-child {
    margin-right: 0;
}

.active-dot,.active-dot3 {
    width: 12px;
    height: 12px;
    background: #000;
    border-radius: 12px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(0, -50%);
    transition: all .5s;
}

@keyframes demo {
    0% {
        width: 24px;
    }

    100% {
        width: 12px;
    }
}

.home_swiper3{
    position: relative;
}

.home_swiper img{
    transform: translate3d(0,0,0);
}

.dots-red{
    width: 100%;
    height: 12px;
    position: absolute;
    left: 0;
    bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9;
}

.dot-red {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dts-red{
    width: 100%;
    display: inline-block;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dts-red span{
    width: 8px;
    height: 8px;
    border-radius: 8px;
    border: 1px solid #e71f19;
    display: inline-block;
    margin-right: 10px;
}

.dts-red span:first-child{
    margin-left: 0;
}

.dts-red span:last-child {
    margin-right: 0;
}

.active-red-dot {
    width: 8px;
    height: 8px;
    border: 1px solid #e71f19;
    background: #e71f19;
    border-radius: 8px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(0, -50%);
    transition: all .5s;
}