﻿/* @charset 'UTF-8'; */
/* Slider */
.slick-loading .slick-list
{
    background: #fff url('../../app/images/ajax-loader.gif') center center no-repeat;
}

/* Arrows */
.slick-prev,
.slick-next
{
    font-size: 0;
    line-height: 0;

    position: absolute;
    top: 50%;

    display: block;

    width: 45px;
    height: 45px;
    padding: 0;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    cursor: pointer;
    color: #FFF;
    border: none;
    outline: none;
    border: 1px solid #333;
    border-radius: 50%;
    background: #000;
    z-index: 9;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .4s ease;
}
@media (max-width:1199px){
    .slick-prev,.slick-next {
        width: 34px;
        height: 34px;
    }
}
.slick-prev:hover,
.slick-prev:focus,
.slick-next:hover,
.slick-next:focus
{
    color: #000000;
    outline: none;
    background: #C7371F;
    /* background: #333; */
    border: 1px solid #C7371F;
}
.slick-prev:hover:before,
.slick-prev:focus:before,
.slick-next:hover:before,
.slick-next:focus:before
{
    opacity: 1;
    color: #fff;
}
.slick-prev.slick-disabled:before,
.slick-next.slick-disabled:before
{
    opacity: .25;
}

.slick-prev:before,
.slick-next:before
{
    font-family: 'slick';
    font-size: 20px;
    line-height: 1;

    opacity: 1;
    color: #fff;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.slick-prev
{
    left: -4%;
}
@media (max-width:767px){
    .slick-prev {
        left: 5%;
    }
}
[dir='rtl'] .slick-prev
{
    right: -25px;
    left: auto;
}
.slick-prev:before
{
    content: '\ecde';
    /* font-size: 30px; */
    font-family: 'iconfont' !important;
}
[dir='rtl'] .slick-prev:before
{
    content: '→';
}

.slick-next
{
    right: -4%;
}
@media (max-width:767px){
    .slick-next {
        right: 5%;
    }
}
[dir='rtl'] .slick-next
{
    right: auto;
    left: -25px;
}
.slick-next:before
{
    content: '\ecdd';
    /* font-size: 30px; */
    font-family: 'iconfont' !important;
}
[dir='rtl'] .slick-next:before
{
    content: '←';
}

/* Dots */
.slick-dotted.slick-slider
{
    margin-bottom: 30px;
}

.slick-dots
{
    position: absolute;
    bottom: -25px;
    text-align: center;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    right: 0;
}
.slick-dots li
{
    position: relative;
    display: inline-block;
    width: 90px;
    height: 4px;
    margin: 0 2px;
    padding: 0;
    cursor: pointer;
    transition: all .2s ease-out;
    border-radius: 10px;
}
@media (max-width:1199px){
    .slick-dots li {
        width: 20px;
        height: 4px;
        margin: 0 2px;
    }
}
.slick-dots li:first-child {
    margin-left: 0px;
}
.slick-dots li button
{
    font-size: 0;
    line-height: 0;

    display: block;

    width: 90px;
    height: 4px;
    /* padding: 5px; */
    cursor: pointer;
    border-radius: 10px;
    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
}
@media (max-width:1199px){
    .slick-dots li button {
        width: 20px;
        height: 4px;
    }
}
.slick-dots li button:hover,
.slick-dots li button:focus
{
    outline: none;
}
.slick-dots li button:hover:before,
.slick-dots li button:focus:before
{
    opacity: 1;
}
.slick-dots li button:before
{
    font-family: 'slick';
    font-size: 6px;
    line-height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 90px;
    height: 4px;
    background: #9A9A9A;
    content: '';
    opacity: 0.5;
    text-align: center;
    color: #666;
    /* border-radius: 2px; */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: all .4s ease;
    border-radius: 10px;
    /* transition: width 3s linear; */
}
@media (max-width:1199px){
    .slick-dots li button:before {
        width: 20px;
        height: 4px;
    }
}
.slick-dots li.slick-active button:before
{
    /* opacity: .75; */
    /* color: black; */
    background: #C7371F;
    opacity: 1;
    width: 90px;
}
@media (max-width:1199px){
    .slick-dots li.slick-active button:before {
        width: 20px;
    }
}



@keyframes progress {
    from { width: 0; }
    to { width: 90px; }
}

@keyframes progress1 {
    from { width: 0; }
    to { width: 14px; }
}
@keyframes progress2 {
    from { width: 0; }
    to { width: 32px; }
}

@keyframes progress4 {
    from { width: 0; }
    to { width: 20px; }
}

.slick-dots li.slick-active {
    width: 90px;
    background: #9A9A9A;
    position: relative;
}

@media (max-width:1199px){
    .slick-dots li.slick-active {
        width: 20px;
    }
}

/* 红色进度条 */
.slick-dots li.slick-active button:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: #C7371F;
    width: 0;
    animation: progress 3.8s linear forwards;
    z-index: 1;
}

@media (max-width:1199px){
    .slick-dots li.slick-active button:before {
        animation: progress4 3.8s linear forwards;
    }
}