﻿.main{
    background: #ebeff2;
}
.resetHtmlCssStyle div {
    margin: 0;
    padding: 0;
}
.resetHtmlCssStyle ul {
       list-style: inherit;
    overflow: hidden;
}
.ny_service ul li {
    width: 16.6666%;
    float: left;
    padding: 10px;
    cursor: pointer;
    position: relative;
}
.ny_service_3 .ny_service1 {
    min-height: 280px;
    padding: 40px 20px 0px !important;
}
.sz {
    width: 38px;
    height: 38px;
    background: #c7161e;
    font-size: 20px;
    color: #fff;
    border-radius: 100%;
    font-weight: bold;
    text-align: center;
    line-height: 38px;
    font-family: arial;
    position: absolute;
    left: 50%;
    margin-left: -19px !important;
    top: 0px;
}
.l_img {
    position: relative;
    width: 100%;
    height: 69px;
}
.l_img1 {
    position: absolute;
    width: 85px;
    text-align: center;
    left: 50%;
    margin-left: -42px !important;
    -webkit-transform: translateX(0) rotate(0deg);
    transform: translateX(0) rotate(0deg);
    -webkit-transition: all 0.35s ease-out;
    transition: all 0.35s ease-out;
}
.resetHtmlCssStyle img {
    vertical-align: top;
}
.l_img2 {
    position: absolute;
    width: 85px;
    text-align: center;
    left: 50%;
    margin-left: -42px !important;
    opacity: 0;
    transform: scale(0.6);
    transition: all 0.5s;
}
.ny_service_3 .ny_service1 p:nth-of-type(1) {
    color: #666;
    line-height: 1.5em;
    font-size: 16px;
    font-weight: normal;
}
.ny_service_3 .ny_service1 p:nth-of-type(1):before {
    opacity: 0;
}

.ny_service1:hover {
    background: #c7161e;
}
.ny_service1:hover .l_img1 {
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translateX(100%) rotate(180deg);
    transform: translateX(100%) rotate(180deg);
}
.ny_service1:hover .l_img2 {
    opacity: 1;
    transform: scale(1);
}
.ny_service_3 .ny_service1 p:nth-of-type(1) {
    color: #666;
    line-height: 1.5em;
    font-size: 16px;
    font-weight: normal;
}
.ny_service1:hover p:nth-of-type(1):before {
    background: #fff;
}
.ny_service1:hover p {
    color: #fff !important;
}

.ny_service1 p:nth-of-type(1) {
    font-size: 20px;
    font-weight: bold;
    color: #c7161e;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 20px;
    position: relative;
}
.ny_service1 p:nth-of-type(1):before {
    content: '';
    width: 50px;
    height: 2px;
    background: #c7161e;
    position: absolute;
    left: 50%;
    margin-left: -25px;
    top: 40px;
    transition: all 0.5s;
}
.ny_service1:hover p:nth-of-type(1):before {
    background: #fff;
}
.ny_service1:hover p {
    color: #fff !important;
}
.ny_service1 {
    background: #fff;
    min-height: 400px;
    padding: 30px 25px !important;
    transition: all 0.5s;
}

.ny_service ul li {
    width: 20%;
    float: left;
    padding: 10px;
    cursor: pointer;
    position: relative;
}
.ny_service_2 ul li {
    width: 33.33%;
}
.ny_service_3 ul li {
    width: 16.666% !important;
}

@media (max-width: 1080px){
.ny_service_3 ul li {
    width: 50% !important;
}
  .ny_service_3 .ny_service1 p:nth-of-type(1) {
    color: #666;
    line-height: 1.5em;
    font-size: 14px;
    font-weight: normal;
}
  .ny_service ul li {
    width: 100%;
    float: left;
    padding: 10px;
    cursor: pointer;
    position: relative;
}
  .ny_service1 {
    background: #fff;
    min-height: auto;
    padding: 30px 25px !important;
    transition: all 0.5s;
}
}
