﻿#Allmodels h1 {
    padding: 100px 0;
    width: 100%;
    color: #222;
    font-size: 70px;
    font-weight: 500;
    text-shadow: none;
}

#Allmodels .AnchorScroll {
    z-index: 3;
}

#Allmodels .AnchorList {
    width: 100%;
    background-color: #fff;
    border-bottom: 1px solid #ccc;
    z-index: 2;
}

#Allmodels .AnchorList .AnchorItem {
    padding: 15px;
    display: inline-block;
    position: relative;
    cursor: pointer;
}

#Allmodels .AnchorList .AnchorItem.Hover::before,
#Allmodels .AnchorList .AnchorItem:hover::before {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: #b80000;
}

#Allmodels .All {
    margin: 50px 0;
    width: 100%;
}

#Allmodels .All .ModelList {
    display: flex;
    flex-wrap: wrap;
    padding: 50px 50px 0 50px;
    width: 100%;
    border-bottom: 1px solid #ccc;
}

#Allmodels .All .ModelList:nth-last-of-type(1) {
    border-bottom: none;
}

#Allmodels .All .ModelList h2 {
    margin: 0 0 50px 0;
    width: 100%;
}

#Allmodels .All .ModelList .ModelItem {
    float: left;
    margin: 0 50px 70px 0;
    display: block;
    width: calc((100% - 150px)/4);
}

#Allmodels .All .ModelList .ModelItem:nth-of-type(4n) {
    margin: 0 0 70px 0;
}

#Allmodels .All .ModelList .ModelItem img {
    width: 100%;
    transform: scale(90%) translateY(9%);
    transition: all .2s;
}

#Allmodels .All .ModelList .ModelItem:hover img {
    transform: scale(100%);
}

#Allmodels .All .ModelList#AUT .ModelItem img {
    -webkit-mask: linear-gradient(to top, transparent 13%, #000 13%);
    mask: linear-gradient(to top, transparent 13%, #000 13%);
}

#Allmodels .All .ModelList .ModelItem>span {
    display: block;
    width: 100%;
    text-align: center;
}

#Allmodels .All .ModelList .ModelItem .Model {
    color: #333;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: .05;
    transition: all .2s;
}

#Allmodels .All .ModelList:not(#AUT) .ModelItem .Model::after {
    content: " series";
    display: inline;
    font-size: 14px;
    font-weight: normal;
}

#Allmodels .All .ModelList .ModelItem:hover .Model {
    color: #000;
    transition: all .2s;
    transform: scale(110%);
}

#Allmodels .All .ModelList .ModelItem .Name {
    font-size: 16px;
    color: #555;
    transition: all .2s;
}

#Allmodels .All .ModelList .ModelItem .Name .Br {
    display: none;
}

#Allmodels .All .ModelList .ModelItem .Border {
    margin: auto;
    width: 250px;
    height: 1px;
    background-color: #fff;
    transition: all .2s;
}

#Allmodels .All .ModelList:not(#AUT) .ModelItem:hover .Border {
    background-color: #b80000;
}

#Allmodels .All .ModelList .ModelItem .Spec {
    text-align: center;
    color: #999;
    font-size: 15px;
    padding: 5px 0 0 0;
}

#Allmodels .All .ModelList .ModelItem .Spec span:nth-of-type(1) {
    padding: 0 10px 0 0;
    border-right: 1px solid #ccc;
}

#Allmodels .All .ModelList .ModelItem .Spec span:nth-of-type(2) {
    padding: 0 0 0 10px;
}

@media screen and (max-width:1439px) {
    #Allmodels .All .ModelList .ModelItem {
        margin: 0 50px 50px 0;
    }

    #Allmodels .All .ModelList .ModelItem,
    #Allmodels .All .ModelList .ModelItem:nth-of-type(4n) {
        margin: 0 50px 70px 0;
        width: calc((100% - 100px)/3);
    }

    #Allmodels .All .ModelList .ModelItem:nth-of-type(3n) {
        margin: 0 0 70px 0;
    }
}

@media screen and (max-width:1279px) {
    #Allmodels .AnchorScroll {
        width: 100%;
        overflow-x: scroll;
    }

    #Allmodels .AnchorList {
        width: 1200px;
    }
}

@media screen and (max-width:1023px) {
    #Allmodels h1 {
        padding: 50px 0;
        font-size: 50px;
    }

    #Allmodels .All .ModelList .ModelItem,
    #Allmodels .All .ModelList .ModelItem:nth-of-type(4n),
    #Allmodels .All .ModelList .ModelItem:nth-of-type(3n) {
        margin: 0 50px 70px 0;
        width: calc((100% - 50px)/2);
    }

    #Allmodels .All .ModelList .ModelItem:nth-of-type(2n) {
        margin: 0 0 70px 0;
    }
}

@media screen and (max-width:767px) {
    #Allmodels h1 {
        padding: 40px 0;
        text-align: center;
        font-size: 40px;
    }

    #Allmodels .AnchorScroll {
        margin: 0 0 0 -15px;
        height: 81px;
    }

    #Allmodels .All {
        margin: 0;
    }

    #Allmodels .All .ModelList {
        padding: 30px 0 0 0;
    }

    #Allmodels .All .ModelList h2 {
        margin: 0 0 .5em 0;
        text-align: center;
        font-size: 26px;
    }

    #Allmodels .All .ModelList#GIA h2 {
        margin: 0 0 -.5em 0;
    }

    #Allmodels .All .ModelList .ModelItem,
    #Allmodels .All .ModelList .ModelItem:nth-of-type(4n),
    #Allmodels .All .ModelList .ModelItem:nth-of-type(3n),
    #Allmodels .All .ModelList .ModelItem:nth-of-type(2n) {
        margin: 0 0 15px 0;
        width: 50%;
    }

    #Allmodels .All .ModelList .ModelItem .Model {
        font-size: 20px;
        letter-spacing: 0;
    }

    #Allmodels .All .ModelList .ModelItem .Name {
        font-size: 13px;
        letter-spacing: 0;
    }

    #Allmodels .All .ModelList .ModelItem .Name .Br {
        display: inline;
    }

    #Allmodels .All .ModelList .ModelItem .Spec span,
    #Allmodels .All .ModelList .ModelItem .Spec span:nth-of-type(1),
    #Allmodels .All .ModelList .ModelItem .Spec span:nth-of-type(2),
    #Allmodels .All .ModelList#MUL .ModelItem:nth-of-type(1) .Spec span:nth-of-type(1),
    #Allmodels .All .ModelList#MUL .ModelItem:nth-of-type(1) .Spec span:nth-of-type(2) {
        font-size: 13px;
        letter-spacing: 0;
        border-right: none;
        padding: 0;
    }

    #Allmodels .All .ModelList .ModelItem .Border,
    #Allmodels .All .ModelList .ModelItem:hover .Border {
        display: none;
    }
}