/* Page Flash */
.slide{ background-repeat:no-repeat; background-position:center; background-size:cover; height:650px;}
.abtBg{ background-repeat:no-repeat; background-position:center; background-size:cover; height:650px;}
.proBg{ background-repeat:no-repeat; background-position:center; background-size:cover; height:350px;}
@media screen and ( max-width:1680px ){ 
.slide{ height:565px;}
.abtBg{ height:565px;}
.proBg{ height:305px;}
}
@media screen and ( max-width:1440px ){ 
.slide{ height:485px;}
.abtBg{ height:485px;}
.proBg{ height:265px;}
}
@media screen and ( max-width:1366px ){ 
.slide{ height:465px;}
.abtBg{ height:465px;}
.proBg{ height:250px;}
}
@media screen and ( max-width:1280px ){ 
.slide{ height:435px;}
.abtBg{ height:435px;}
.proBg{ height:235px;}
}
@media screen and ( max-width:1024px ){ 
.slide{ height:350px;}
.abtBg{ height:350px;}
.proBg{ height:190px;}
}
@media screen and ( max-width:800px ){ 
.slide{ height:275px;}
.abtBg{ height:275px;}
.proBg{ height:150px;}
}
@media screen and ( max-width:640px ){ 
.slide{ height:235px;}
.abtBg{ height:235px;}
.proBg{ height:120px;}
}
@media screen and ( max-width:480px ){ 
.slide{ height:200px;}
.abtBg{ height:185px;}
.proBg{ height:100px;}
}
@media screen and ( max-width:414px ){ 
.slide{ height:175px;}
.abtBg{ height:160px;}
.proBg{ height:90px;}
}
@media screen and ( max-width:375px ){ 
.slide{ height:150px;}
.abtBg{ height:145px;}
.proBg{ height:80px;}
}

/* Page Page */
.page{ display:table; margin:50px auto 0;}
.page a{ display:block; float:left; padding:5px 15px; margin:2.5px; color:#a0a0a0; background-color:#fff; border:1px solid #f0f0f0; cursor:pointer; -webkit-transition:all .3s ease-in-out; transition:all .3s ease-in-out;}
.page a:hover, .page a.pageNt{ color:#fff; background-color:#db2b43;}
.page a.pageNt:hover{ background-color:#333;}
.page a.pageCn{ padding:5px 10px;}
.page a.pageJt{ font-family:"SimSun", "NSimSun", "FangSong"; color:#a0a0a0;}
@media screen and ( max-width:1024px ){
.page{ margin-top:30px;}
}
@media screen and ( max-width:640px ){
.page{ margin-top:25px;}
.page a{ line-height:22px; padding:2px 10px;}
.page a.pageCn{ padding:2px 5px;}
}

/* Page Public */
.public{ margin-top:100px;}
@media screen and ( max-width:1440px ){
.public{ margin-top:80px;}
}
@media screen and ( max-width:1024px ){
.public{ margin-top:55px;}
}
@media screen and ( max-width:800px ){
.public{ margin-top:45px;}
}
@media screen and ( max-width:640px ){
.public{ margin-top:35px;}
}
@media screen and ( max-width:480px ){
.public{ margin-top:30px;}
}

/* Page About */
.cy-tx span{ font-family:"Microsoft YaHei","PingFang SC","SimHei","黑体";}
.sb-ls a{ display:block; float:left; width:47.5%; margin-right:5%; margin-top:3.5%;}
.sb-ls a:nth-of-type(1){ width:100%; margin-top:0;}
.sb-ls a:nth-of-type(1), .sb-ls a:nth-of-type(3){ margin-right:0;}
.sb-ls a img{ width:100%; -webkit-border-radius:5px; border-radius:5px;}
.sb-ls dl{ float:left; width:100%; margin-top:3.5%;}
@media screen and ( max-width:480px ){ 
.sb-ls a:nth-of-type(1){ margin-top:5%;}
}

/* Page Class */
.lb-ls{ margin-top:80px;}
.lb-ls a{ float:left; width:45%; margin-right:10%; margin-top:100px; overflow:hidden; position:relative;}
.lb-ls a:nth-of-type(2n){ margin-right:0;}
.lb-ls a:nth-of-type(1), .lb-ls a:nth-of-type(2){ margin-top:0;}
.lb-ls a img{ float:right; width:65%;}
.lb-ls a dl{ position:absolute; left:0; top:40%; width:85%;}
.lb-ls a h2{ font-family:"Montserrat-Regular-8"; font-size:24px; font-weight:normal; color:#db2b43;}
.lb-ls a h3{ font-size:18px; font-weight:900; color:#333; margin-top:8px;}
@media screen and (max-width:1024px){ 
.lb-ls{ margin-top:50px;}
.lb-ls a{ width:46%; margin-right:8%; margin-top:65px;}
.lb-ls a h2{ font-size:18px;}
.lb-ls a h3{ font-size:16px; margin-top:1px;}
}
@media screen and (max-width:640px){ 
.lb-ls{ margin-top:40px;}
.lb-ls a{ margin-top:50px;}
}
@media screen and (max-width:480px){ 
.lb-ls{ margin:30px 1.5% 0;}
.lb-ls a{ width:47.5%; margin-right:5%; margin-top:30px;}
.lb-ls a img{ float:none; width:100%;}
.lb-ls a dl{ position:relative; left:inherit; top:inherit; width:100%; line-height:20px; margin-top:10px;}
.lb-ls a h2{ font-size:14px;}
.lb-ls a h3{ font-size:14px; margin-top:2px;}
}

/* Page Product */
.lbLs{ padding:25px 0; background-color:#f5f5f5;}
.lbLs dl{ float:left; width:80%;}
.lbLs dl a{ display:block; float:left; margin-right:30px; font-size:16px; color:#333; line-height:30px; -webkit-transition:all .3s ease-in-out; transition:all .3s ease-in-out;}
.lbLs dl a:hover, .lbLs dl a.pro{ font-weight:bold; color:#db2b43;}
.lbLs form{ float:right; height:28px; margin-top:1px; -webkit-appearance:none;}
.lbLs form .sh-ky{ float:left; width:126px; height:28px; font-family:"Arial","vi-logo-font-Gotham-Book","PingFang SC","SimHei","黑体","Microsoft YaHei"; font-size:12px; color:#c0c0c0; padding:0 10px; border:1px solid #e5e5e5; border-right:none; -webkit-appearance:none;}
.lbLs form .sh-sb{ float:left; width:24px; height:28px; border:1px solid #e9e9e9; border-left:none; background:#fff url(../Images/sh.png) no-repeat left center; background-size:14px 14px; cursor:pointer; text-indent:-1000px; -webkit-appearance:none;}
.pr-ls{ margin-top:80px;}
.pr-ls a{ display:block; float:left; width:25%; height:300px; border-right:1px solid #f0f0f0; border-bottom:1px solid #f0f0f0; overflow:hidden; position:relative;}
.pr-ls a:nth-of-type(4n+1){ border-left:1px solid #f0f0f0;}
.pr-ls a:nth-of-type(1), .pr-ls a:nth-of-type(2), .pr-ls a:nth-of-type(3), .pr-ls a:nth-of-type(4){ border-top:1px solid #f0f0f0;}
.pr-ls a img{ width:82.8%; margin:-10px 8.6% 0;}
.pr-ls a .pr-bj{ position:absolute; left:0; top:0; z-index:10; width:100%; height:100%; -webkit-transition:all .3s ease-in-out; transition:all .3s ease-in-out;}
.pr-ls a:hover .pr-bj{ -webkit-box-shadow:0px 0px 25px #f0f0f0 inset; box-shadow:0px 0px 25px #f0f0f0 inset;}
.pr-ls a .pr-tx{ position:absolute; left:0; bottom:22px; z-index:20; width:100%; color:#333; text-align:center; height:40px; line-height:20px; overflow:hidden;}
.pr-ls a .pr-tx span{ display:block; font-family:"Montserrat-Regular-8"; color:#db2b43;}
.prNo{ padding:50px; text-align:center;}
@media screen and (max-width:1120px){ 
.pr-ls a{ height:260px;}
}
@media screen and (max-width:1024px){ 
.lbLs{ padding:20px 0;}
.lbLs dl{ width:75%;}
.lbLs form{ margin-top:0;}
.lbLs dl a{ font-size:14px; line-height:28px;} 
.pr-ls{ margin-top:50px;}
.pr-ls a{ height:238px;}
.pr-ls a img{ margin-top:-5px;}
.pr-ls a .pr-tx{ bottom:13px; font-size:12px; height:32px; line-height:16px;}
}
@media screen and (max-width:950px){ 
.pr-ls a{ height:222px;}
}
@media screen and (max-width:800px){ 
.pr-ls{ margin-top:40px;}
.pr-ls a{ width:33.333333%; height:245px;}
.pr-ls a:nth-of-type(4n+1){ border-left:none;}
.pr-ls a:nth-of-type(3n+1){ border-left:1px solid #f0f0f0;}
.pr-ls a:nth-of-type(4){ border-top:none;}
}
@media screen and (max-width:720px){ 
.pr-ls a{ height:225px;}
}
@media screen and (max-width:700px){ 
.lbLs dl{ width:70%;}
}
@media screen and (max-width:640px){ 
.pr-ls{ margin-top:35px;}
.pr-ls a{ height:200px;}
}
@media screen and (max-width:550px){ 
.lbLs dl{ width:100%;}
.lbLs form{ float:left; height:24px; margin:15px 0 5px;}
.lbLs form .sh-ky{ height:24px; padding:0 7px; -webkit-border-top-left-radius:3px; -webkit-border-bottom-left-radius:3px; border-top-left-radius:3px; border-bottom-left-radius:3px;}
.lbLs form .sh-sb{ width:22px; height:24px; -webkit-border-top-right-radius:3px; -webkit-border-bottom-right-radius:3px; border-top-right-radius:3px; border-bottom-right-radius:3px;}
}
@media screen and (max-width:480px){ 
.lbLs{ padding:15px 0;}
.lbLs dl a{ line-height:24px;}
.pr-ls{ margin-top:30px;}
.pr-ls a{ width:50%; height:225px;}
.pr-ls a:nth-of-type(3n+1){ border-left:none;}
.pr-ls a:nth-of-type(2n+1){ border-left:1px solid #f0f0f0;}
.pr-ls a:nth-of-type(3){ border-top:none;}
.pr-ls a .pr-tx{ bottom:12px;}
}
@media screen and (max-width:414px){ 
.pr-ls a{ height:195px;}
}
@media screen and (max-width:375px){ 
.pr-ls a{ height:175px;}
}
@media screen and (max-width:320px){ 
.pr-ls a{ height:150px;}
}

/* Page ProductView */
.ny-zb{ float:left; width:66.666666%; margin-top:80px;}
.pv-bg{ border:1px solid #f0f0f0; position:relative;}
.pv-ig{ float:left; width:50%; border-right:1px solid #f0f0f0;}
.pv-ig img{ width:100%;}
.pv-js{ float:right; width:45%; color:#333; line-height:30px; padding-top:5%;}
.pv-fl{ position:absolute; left:50%; bottom:0; width:50%; height:51px; line-height:50px; border-top:1px solid #f5f5f5; background-color:#fbfbfb; padding-left:5%;}
.pv-fl span{ font-size:18px; font-style:italic; color:#db2b43; margin-left:10px;}
.pv-xg h1{ font-size:30px; color:#333; text-align:center; margin:65px 0 25px;}
.pv-xg img{ width:100%; margin-top:10px;}
.pv-nt{ margin-top:50px;}
.pv-nt a{ display:block; float:left; width:45%; color:#888; line-height:38px; text-align:center; border:1px solid #f0f0f0; -webkit-transition:all .3s ease-in-out; transition:all .3s ease-in-out;}
.pv-nt a:hover{ color:#fff; border-color:#db2b43; background-color:#db2b43;}
.ny-yb{ float:right; width:25%; margin-top:80px;}
.fl-bg{ border:1px solid #f0f0f0; padding:20px 20px 25px;}
.fl-bg h2{ font-size:18px; color:#333;}
.fl-ls{ margin-top:15px;}
.fl-ls a{ display:block; width:100%; height:32px; line-height:30px; margin-top:10px; padding:0 10px; border:1px solid #f0f0f0; -webkit-border-radius:3px; border-radius:3px; -webkit-transition:all .3s ease-in-out; transition:all .3s ease-in-out;}
.fl-ls a:nth-of-type(1){ margin-top:0;}
.fl-ls a:hover, .fl-ls a.fl{ font-weight:bold; color:#fff; background-color:#db2b43; border-color:#db2b43;}
@media screen and (max-width:1024px){ 
.ny-zb{ width:70%; margin-top:50px;}
.pv-nt{ margin-top:40px;}
.pv-nt a{ width:47.5%; line-height:28px;}
.ny-yb{ margin-top:50px;}
}
@media screen and (max-width:800px){ 
.ny-zb{ width:100%; margin-top:40px;}
.pv-xg h1{ font-size:24px; margin:50px 0 20px;}
.pv-nt{ margin-top:35px;}
.ny-yb{ width:100%; margin-top:40px;}
.fl-bg{ padding:15px 20px;}
.fl-bg h2{ display:none;}
.fl-ls{ margin-top:0;}
.fl-ls a{ float:left; width:31.5%; height:24px; line-height:22px; margin:5px 2.75% 5px 0;}
.fl-ls a:nth-of-type(3n){ margin-right:0;}
.fl-ls a:nth-of-type(1){ margin-top:5px;}
}
@media screen and (max-width:640px) { 
.ny-zb{ margin-top:30px;}
.pv-ig{ width:100%; border-right:none; border-bottom:1px solid #f0f0f0;}
.pv-js{ width:100%; line-height:24px; padding:20px;}
.pv-fl{ position:relative; left:inherit; bottom:0; width:100%; padding:0 20px;}
.pv-xg h1{ margin:35px 0 15px;}
.pv-xg img{ margin-top:0;}
.pv-nt{ margin-top:30px;}
.ny-yb{ margin-top:30px;}
}
@media screen and (max-width:480px){ 
.ny-zb{ margin-top:25px;}
.pv-js{ padding:15px;}
.pv-fl{ height:41px; line-height:40px; padding:0 15px;}
.pv-nt{ margin-top:25px;}
.pv-nt a{ width:48.5%;}
.pv-nt a span{ display:none;}
.ny-yb{ margin-top:25px;}
.fl-bg{ padding:10px 15px;}
}

/* Page News */
.nw-ls a{ display:block; float:left; width:48%; height:216px; margin-right:4%; margin-top:50px; position:relative;}
.nw-ls a:nth-of-type(2n){ margin-right:0;}
.nw-ls a:nth-of-type(1), .nw-ls a:nth-of-type(2){ margin-top:0;}
.nw-ig{ float:left; width:50%; height:100%; overflow:hidden;}
.nw-ig dl{ width:100%; height:100%; background-repeat:no-repeat; background-position:center; background-size:cover; -webkit-transition:all .3s ease-in-out; transition:all .3s ease-in-out;}
.nw-ls a:hover .nw-ig dl{ -webkit-transform:scale(1.08,1.08); transform:scale(1.08,1.08);}
.nw-tx{ float:left; width:50%; height:100%; padding:25px 25px 0; border:1px solid #f5f5f5; border-left:none;}
.nw-tx h2{ font-size:18px; color:#333; height:22px; line-height:22px; overflow:hidden; -webkit-transition:all .3s ease-in-out; transition:all .3s ease-in-out;}
.nw-ls a:hover .nw-tx h2{ color:#db2b43;}
.nw-tx span{ display:block; font-family:"vi-logo-font-Gotham-Book"; font-size:12px; color:#a0a0a0;}
.nw-tx p{ color:#666; height:96px; line-height:24px; margin-top:13px; overflow:hidden;}
@media screen and (max-width:1024px){ 
.nw-ls a{ height:auto; margin-top:40px;}
.nw-ig{ width:100%; height:355px;}
.nw-tx{ width:100%; height:auto; padding:20px 20px 0; border-top:none; border-left:1px solid #f5f5f5;}
.nw-tx h2{ font-size:16px; height:20px; line-height:20px;}
.nw-tx p{ margin-top:8px;}
}
@media screen and (max-width:800px){ 
.nw-ls a{ margin-top:35px;}
.nw-ig{ height:265px;}
}
@media screen and (max-width:700px){ 
.nw-tx p{ height:120px;}
}
@media screen and (max-width:640px){ 
.nw-ls a{ width:100%; margin-right:0; margin-top:25px;}
.nw-ls a:nth-of-type(2){ margin-top:25px;}
.nw-ig{ height:445px;}
.nw-tx{ padding:20px;}
.nw-tx p{ height:auto;}
}
@media screen and (max-width:480px){ 
.nw-ls a{ margin-top:20px;}
.nw-ls a:nth-of-type(2){ margin-top:20px;}
.nw-ig{ height:335px;}
}
@media screen and (max-width:414px){ 
.nw-ig{ height:290px;}
}
@media screen and (max-width:375px){ 
.nw-ig{ height:262px;}
}
@media screen and (max-width:320px){ 
.nw-ig{ height:224px;}
}

/* Page NewView */
.nw-nm{ font-size:30px; font-weight:bold; color:#333; text-align:center;}
.nw-in{ color:#a0a0a0; text-align:center; margin-top:15px;}
.nw-in span{ margin:0 5px;}
.nw-js{ margin-top:35px;}
.nw-js img{ max-width:650px;}
.nw-nt{ margin-top:35px;}
.nw-nt a{ display:block; color:#a0a0a0; margin-top:5px;}
.nw-nt a:hover{ color:#db2b43;}
@media screen and (max-width:1024px){ 
.nw-nm{ font-size:24px;}
.nw-in{ margin-top:10px;}
}
@media screen and (max-width:700px){ 
.nw-js img{ width:100%;}
}
@media screen and (max-width:480px){ 
.nw-nm{ font-size:18px;}
.nw-in{ font-size:12px; margin-top:5px;}
.nw-js{ margin-top:20px;}
.nw-nt{ margin-top:20px;}
}

/* Page Service */
.fw-ls ul li{ float:left; width:46%; margin-right:8%; margin-top:8%;}
.fw-ls ul li:nth-of-type(3){ margin-right:0;}
.fw-ig{ width:100%; height:342px; background-repeat:no-repeat; background-position:center; background-size:cover;}
.fw-tx{ width:100%; padding:30px; border:1px solid #f0f0f0; border-top:none;}
.fw-tx h1{ font-size:24px; font-weight:900; color:#333;}
.fw-tx p{ color:#888; margin-top:15px;}
.fw-ls ul li:nth-of-type(1){ width:100%; margin-right:0; margin-top:50px;}
.fw-ls ul li:nth-of-type(1) .fw-ig{ float:left; width:50%; height:372px;}
.fw-ls ul li:nth-of-type(1) .fw-tx{ float:left; width:50%; height:372px; padding:85px; border-top:1px solid #f0f0f0; border-left:none; display:flex; justify-content:center; flex-direction:column;}
@media screen and (max-width:1024px){ 
.fw-ig{  height:272px;}
.fw-tx{ padding:25px;}
.fw-tx h1{ font-size:22px;}
.fw-tx p{ margin-top:14px;}
.fw-ls ul li:nth-of-type(1){ margin-top:30px;}
.fw-ls ul li:nth-of-type(1) .fw-ig{ height:295px;}
.fw-ls ul li:nth-of-type(1) .fw-tx{ height:295px; padding:65px;}
}
@media screen and (max-width:800px){ 
.fw-ig{  height:212px;}
.fw-ls ul li:nth-of-type(1) .fw-ig{ height:230px;}
.fw-ls ul li:nth-of-type(1) .fw-tx{ height:230px; padding:50px;}
}
@media screen and (max-width:640px){ 
.fw-ls ul li{ width:100%; margin-right:0; margin-top:25px;}
.fw-ig{ height:370px;}
.fw-tx{ padding:20px;}
.fw-tx h1{ font-size:18px;}
.fw-tx p{ margin-top:7px;}
.fw-ls ul li:nth-of-type(1){ margin-top:20px;}
.fw-ls ul li:nth-of-type(1) .fw-ig{ width:100%; height:370px;}
.fw-ls ul li:nth-of-type(1) .fw-tx{ width:100%; height:auto; padding:20px; border-top:none; border-left:1px solid #f0f0f0;}
}
@media screen and (max-width:480px){ 
.fw-ig{ height:275px;}
.fw-ls ul li:nth-of-type(1) .fw-ig{ height:275px;}
}
@media screen and (max-width:414px){ 
.fw-ig{ height:235px;}
.fw-ls ul li:nth-of-type(1) .fw-ig{ height:235px;}
}
@media screen and (max-width:375px){ 
.fw-ig{ height:215px;}
.fw-ls ul li:nth-of-type(1) .fw-ig{ height:215px;}
}
@media screen and (max-width:320px){ 
.fw-ig{ height:185px;}
.fw-ls ul li:nth-of-type(1) .fw-ig{ height:185px;}
}

/* Page Contact */
#contact .pb-bg{ background:#fff; padding-top:0; margin-top:0;}
#contact .pb-zb{ display:none;}
#contact .pb-zj{ display:none;}
#contact .pb-yb{ display:none;}
#contact .pb-cy{ margin-top:0; border-color:#f5f5f5;}
.lx-bg ul li{ float:left; width:33.333333%; text-align:center; margin-top:50px;}
.lx-bg ul li:nth-of-type(1), .lx-bg ul li:nth-of-type(2), .lx-bg ul li:nth-of-type(3){ margin-top:0;}
.lx-bg ul li h2{ width:50px; height:50px; margin:auto; background-color:#fff; border:2px solid #f0f0f0; background-repeat:no-repeat; background-position:center; background-size:24px 24px; -webkit-border-radius:50%; border-radius:50%;}
.lx-bg ul li h3{ font-size:18px; color:#333; margin:17px 0 1px;}
.lx-bg ul li p{ color:#888; height:48px; line-height:24px; overflow:hidden;}
.lx-bg ul li p span{ font-size:12px; text-transform:uppercase;}
.lx-bg ul li:nth-of-type(4) p, .lx-bg ul li:nth-of-type(5) p, .lx-bg ul li:nth-of-type(6) p{ height:auto;}
.maps{ width:100%; height:498px; margin-top:100px;}
@media screen and ( max-width:1440px ){
.maps{ margin-top:80px;}
}
@media screen and (max-width:1024px){ 
.lx-bg ul li{ width:50%; margin-top:25px;}
.lx-bg ul li:nth-of-type(3){ margin-top:25px;}
.lx-bg ul li h2{ width:40px; height:40px; background-size:18px 18px;}
.lx-bg ul li h3{ font-size:16px; margin:11px 0 2px;}
.lx-bg ul li p{ height:40px; line-height:20px;}
.lx-bg ul li:nth-of-type(4) p{ height:40px;}
.maps{ margin-top:55px;}
}
@media screen and ( max-width:800px ){
.maps{ margin-top:45px;}
}
@media screen and ( max-width:640px ){
.maps{ margin-top:35px;}
}
@media screen and (max-width:480px){ 
.lx-bg ul li{ width:100%; text-align:left; margin-top:35px;}
.lx-bg ul li:nth-of-type(3){ margin-top:35px;}
.lx-bg ul li:nth-of-type(2){ margin-top:35px;}
.lx-bg ul li h2{ float:left; margin-right:10px; border:1px solid #f0f0f0;}
.lx-bg ul li h3{ line-height:20px; margin-top:0;}
.lx-bg ul li p{ height:auto;}
.lx-bg ul li:nth-of-type(4) p{ height:auto;}
.maps{ height:auto; margin-top:30px;}
.maps iframe{ display:none;}
}

/* Page Mobile */
#mobile .pb-bg{ background:#fff; padding-top:0; margin-top:0;}
#mobile .pb-zb{ display:none;}
#mobile .pb-zj{ display:none;}
#mobile .pb-yb{ display:none;}
#mobile .pb-cy{ margin-top:0; border-color:#f5f5f5;}
.yd-bg{ width:100%; height:750px; color:#333; padding-left:53%; background:url(../Images/ydBg.jpg) no-repeat center; background-size:cover; display:flex; justify-content:center; flex-direction:column;}
.yd-bg h1{ font-size:30px; font-weight:900;}
.yd-bg img{ display:block; width:150px; height:150px; margin-top:39px; -webkit-border-radius:5px; border-radius:5px; -webkit-box-shadow:0 3px 3px 0 rgba(0, 0, 0, 0.08); box-shadow:0 3px 3px 0 rgba(0, 0, 0, 0.08);}
.yd-bg p{ margin-top:30px;}
@media screen and (max-width:1440px){ 
.yd-bg{ height:580px; padding-left:55%;}
}
@media screen and (max-width:1024px){ 
.yd-bg{ height:500px;}
.yd-bg h1{ font-size:24px;}
.yd-bg img{ width:120px; height:120px; margin-top:25px;}
.yd-bg p{ margin-top:20px;}
}
@media screen and (max-width:800px){ 
.yd-bg{ height:450px;}
}
@media screen and (max-width:640px){ 
.yd-bg{ height:auto; padding:20%; background-image:url(../Images/ydMb.jpg);}
}
