header{
    height: 356px;
    background-color: #f8f8f8;
    position: relative;
    background-image: url("/TomatoTechSys/icons/home/img1.jpg");
    background-repeat: no-repeat;
}
#h1{
    height: 10px;
    background-color: #9c9c9c;
}
header h1{
     font-family: Microsoft YaHei, Arial, Helvetica, sans-serif;
     font-size: 27px;
     font-weight: bold;
     letter-spacing: 4px;
     color: #212121;
     position: absolute;
     top: 76px;
     left: 100px;
 }
header h2{
    font-family: Microsoft YaHei, Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: bold;
    color: #444;
    position: absolute;
    top: 114px;
    left: 100px;
}
#j1{
    position: absolute;
    top: 80px;
    left: 35px;
}
nav{
    width: 820px;
    height: 73px;
    background-color: #6e6e6e;
    border-radius: 8px;
    position: absolute;
    bottom: -25px;
    left: 102px;
    box-shadow: 0 0 6px #000,0 0 10px rgba(0,0,0,0.1);
    z-index: 999;
}
.n1{
    position: absolute;
    left: 42px;
}
.l1{
    display: inline-block;
    width: 105px;
    height: 73px;
    float: left;
    background:linear-gradient(to top,#fff,#f3f3f3,#f1f1f1) no-repeat right center / 1px 22px;
}
.l1 a{
    color: #000;
    position: relative;
    bottom: 73px;
    font-size: 18px;
    font-family: Microsoft YaHei, Arial, Helvetica, sans-serif;
    display: inline-block;
    width: 105px;
    height: 73px;
    line-height: 73px;
    outline: none;
    text-transform: uppercase;
    text-shadow: 0 0 1px rgba(155,255,255,0.5);
    text-align: center;
    background-color: rgba(195,6,6,0.2);
    -webkit-transition: -webkit-transform 0.3s ease;
    -moz-transition: -moz-transform 0.3s ease;
    transition: transform 0.3s ease;
}
.l1 a:hover,.l1 a:focus{
    text-decoration: none;
    outline: none;
}
.l1{
    overflow: hidden;
}
nav a span {
    display: block;
    width: 105px;
    height: 73px;
    background: #6e6e6e;
    background:linear-gradient(to top,#fff,#f3f3f3,#f1f1f1) no-repeat right center / 1px 22px;
    /*position: relative;*/
    /*bottom: 73px;*/
    -webkit-transition: -webkit-transform 0.3s ease;
    -moz-transition: -moz-transform 0.3s ease;
    transition: transform 0.3s ease;
}
nav a span:last-child{
    background: none;
}
.l1 a::before {
    position: relative;
    z-index: -1;
    width: 90px;
    height: 50px;
    color: #fff;
    content: attr(data-hover);
    -webkit-transition: -webkit-transform 0.3s ease;
    -moz-transition: -moz-transform 0.3s ease;
    transition: transform 0.3s ease;
    -webkit-transform: translateY(73px);
}
nav a:hover span,
nav a:focus span {
    background: none;
}
nav a:hover,
nav a:focus {
    -webkit-transform: translateY(73px);
    -moz-transform: translateY(73px);
    transform: translateY(73px);
}
.l1:last-child{
    background: none;
}