/*
Theme Name: varypack
Theme URI: http://www.varypack.com
Author:xiangtao
Author URI:http://www.varypack.com
Description: 湖南万容纸塑包装有限公司主题。
Version: 1.0
*/
img.alignright {float:right; margin:0 0 1em 1em}
img.alignleft {float:left; margin:0 1em 1em 0}
img.aligncenter {display: block; margin-left: auto; margin-right: auto}
a img.alignright {float:right; margin:0 0 1em 1em}
a img.alignleft {float:left; margin:0 1em 1em 0}
a img.aligncenter {display: block; margin-left: auto; margin-right: auto}
a:hover{
    text-decoration: none;
}
li{
    list-style: none;
}
.my-top{
    width: 100%;
    height: 36px;
    background: #009f45;
    overflow: hidden;
}
.my-top p{
    line-height: 36px;
    color: #fff;
}
.my-logo{
    height: 66px;
    padding: 0px;
}
.my-logo img{
    height: 66px;
    padding: 5px;
}
.navbar{
    margin-bottom: 0px;
}
.navbar-default{
    background-color: #009f45;
    padding: 1px 0px;
}
.navbar-default .navbar-nav>li{
    margin-left: 1px;
}
.navbar-default .navbar-nav>li>a{
    padding-top:23px;
    padding-bottom: 23px;
    font-size: 16px;
    color: #ffffff;
}
.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover{
    color: #009f45;
    background-color:#ffffff;
}
.navbar-default .navbar-nav>li>a:hover{
    color: #c9c9c9;
}
.navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:focus, .navbar-default .navbar-nav>.open>a:hover{
    color: #009f45;
    background-color:#ffffff;
}
.dropdown-menu{
    min-width: 109px;
    background-color: #ffffff;

}
.dropdown-menu>li>a{
    padding-top: 10px;
    padding-bottom: 10px;
    color: #009f45;
}
.navbar-default .navbar-toggle .icon-bar{
    background-color: #ffffff;
}


.con-one{
    width: 100%;
    background-color: #fff;
    padding: 30px 0px;
}
.con-two{
    width: 100%;
    background-color: #f7f8fa;;
    padding: 30px 0px;
}
.con-three{
    width: 100%;
    background-color: #fff;
    padding: 30px 0px;
}
.con-four{
    width: 100%;
    background-color: #f7f8fa;
    padding: 30px 0px;
}
.gol-title span {
    background: url(images/bor1.png) no-repeat center;
    display: block;
    width: 200px;
    margin: 0 auto;
    text-align: center;
}
.gol-title h1 {
    color: #009f45;
    font-size: 28px;
    height: 50px;
    line-height: 40px;
    margin: 0;
}
.gol-title h2 {
    height: 50px;
    line-height: 45px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #999;
    margin: 0;
}

/*关于我们*/
.about-pic{
    padding: 0;
}
.about-pic img{
    width: 100%;
    height: 100%;
    padding: 0px 10px;
}
.about-text h1{color: #043873;font-size: 1.6em;margin-bottom: 3%;}
.about-text h2{    color: #000;    font-size: .92em;    line-height: 1.7em;    text-align: justify;}
.about-text h3{    width: 30%;border: 1px solid #043873;text-align: center;line-height: 2em;font-size: 1em;margin-top: 4%;}
.about-text h3 a{color:#043873;}
.about-pic2{
    padding: 0;
}
.about-pic2 ul{
    padding:0px 5px;
}
.about-pic2 ul li{
    padding: 10px 10px 0px;
    margin-bottom: 10px;
}
.about-pic2 ul li img{
    width: 100%;
    height: 100%;
}

/*产品中心*/
.product-list{
    padding: 0;
}
.product-list ul{
    padding:0px 5px;
}
.product-list ul li{
    padding: 10px 10px 0px;
    margin-bottom: 10px;
}
.product-list ul li a{
    display: block;
    width: 100%;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 15px 15px #d5d5d5;
    font-size: 16px;
    color: #555;
    transition: .2s ease all;
}
.product-list li .img {
    width: 100%;
    overflow: hidden;
}
.product-list ul li img{
    width:100%;
    height: 100%;
    transition: all 0.5s;
}
.product-list ul li img:hover {
    transform: scale(1.2);
}
.product-list ul li .product-title {
    padding: 0px 20px;
    margin: 0px;
    height: 50px;
    line-height: 50px;
    overflow: hidden;
    position: relative;
}

.product-list li p:before{
    content: '';
    position:absolute;
    display: inline-block;
    width: 8px;
    height: 8px;
    border-top: 1px solid #333;
    border-right: 1px solid #333;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    top:20px;
    right:10px;
}
.product-list li p:after{
    content: '';
    position:absolute;
    display: inline-block;
    width: 8px;
    height: 8px;
    border-top: 1px solid #ffffff;
    border-right: 1px solid #ffffff;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    top:20px;
    right:10px;
}


.product-list a:hover {
    background-color: #3599d8;
    color: #FFF;
}

/*新闻中心*/
.zsyz_pic{ width: 100%; height: 100%; overflow: hidden;  position:relative; background:#FFF; margin-bottom: 10px;}
.zsyz_pic ul{ padding: 0; margin: 0;}
.zsyz_pic ul li{width: 100%; height: 100%; overflow: hidden; display: none;}
.zsyz_pic ul li img{ width:100%; height:100%;}
.zsyz_pic ul li.hover{ display:block;}
.zsyz_pic ul li .txtShadow {background-color:#000;position: absolute; z-index:1;opacity: 0.5;filter:alpha(opacity=50); height: 40px;width: 100%;left: 0px;bottom:0px;}
.zsyz_pic ul li .txt{  position:absolute; z-index:2; left:0px; bottom:0px; width:100%; height:40px;  padding:0px 10px; overflow:hidden;}
.zsyz_pic ul li .txt a{ color:#FFF; line-height:40px;  font-size:14px; font-family:"微软雅黑";}
.zsyz_pic ul li .txt a:hover{ color:#F60;}
.zsyz_pic .dot{ position:absolute; z-index:3; right:15px; bottom:16px;}
.zsyz_pic .dot span{ width:24px; height:4px;display:block; background:#FFF;float:left; margin-left:6px; cursor:pointer; font-size:0; line-height:0; overflow:hidden;}
.zsyz_pic .dot span.on{ background:#009f45;}

.news-pic img{
    width: 100%;
    height: 100%;
}

.new_right>ul>li {
    border: 1px solid #7c7c7c;
    border-radius: 5px;
    margin-bottom:10px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    padding-left: 60px;
    padding-right: 20px;
    position: relative;
    min-height: 90px;
    padding-top: 8px;
}
.new_right>ul>li>span {
    width: 75px;
    height: 75px;
    position: absolute;
    left: -35px;
    top: 10px;
    display: block;
    background-color:#7c7c7c;
    border-radius: 8px;
    text-align: center;
}
.new_right>ul>li>span>strong {
    font-size: 36px;
    color: #FFF;

}
.new_right>ul>li>span>b {
    font-size: 14px;
    color: #FFF;
    display: block;
    font-weight: 100;
}
.new_right>ul>li>h3{
    margin: 0;
    font-size: 16px;
    padding: 5px 10px;

}
.new_right>ul>li>P{
    font-size: 14px;
    text-indent: 2em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    width: 100%;
    height:45px;
}
.new_right .t-excerpt{
    text-indent: 2em;
    line-height: 24px;
}
.hb-box img{
    width: 100%;
    height:100%;
    box-shadow: 0 0 5px #ccc;
    margin-bottom: 20px;

}
/* ============================= bottom ============================= */
.footer { padding-top: 30px;    overflow: hidden;    background-color: #222733;    color: #93959b;   font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;}
.footer a {    color: #93959b !important;}
.typo_img{
    float: left;
    margin:10px 20px 0px 0px;
}
.typo_text {
    overflow: hidden;
}
.typo_text p:first-child {
    margin-bottom: 5px;
}
.typo_text p {
    line-height: 1.8;
    font-size: 14px;
}
.footer .ewm{ line-height: 30px; text-align: center;}

.bottom {
    overflow: hidden;
    background: #1c202a;
    color: #93959b;

    font-size: 1rem;
}
.bottom p{
    padding:10px;
    margin: 0;
    font-size: 14px;
    text-align: center;
}

@media screen and (max-width: 996px) {
    .my-logo{
        height: 60px;
    }
    .my-logo img{
        height: 60px;
    }
    .nav>li>a{
        padding-left:10px;
        padding-right: 10px;
    }

}

@media screen and (max-width: 767px) {
    .my-logo{
        height: 50px;
    }
    .my-logo img{
        height: 50px;
    }
    .nav>li{
        border-bottom: 1px solid #e7e7e7;
    }
    .navbar-default .navbar-nav>li>a{
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .navbar-nav .open .dropdown-menu{
        background-color: #ffffff;
    }
    .navbar-default .navbar-nav .open .dropdown-menu>.active>a{
        color:#009f45;
    }
    .gol-title h1{
        height: 30px;
        line-height: 30px;
        font-size: 20px;
    }
    .gol-title h2{
        font-size: 14px;
        height: 30px;
        line-height: 30px;
    }
    .product-box .product-title{
        position: static;
        height:20px;
        line-height: 20px;
        font-size: 12px;
    }
    .product-list ul li .product-title{
        height: 30px;
        line-height: 30px;
        font-size: 14px;
    }
    .product-list li p:before{
        top:10px;
    }
    .about-pic2 ul li{
        padding-left: 5px;
        padding-right: 5px;
        margin-bottom: 0px;
    }
    .product-list ul li{
        padding-left: 5px;
        padding-right: 5px;
    }
    .hb-pic{padding: 0px 5px;}
    .typo_img{ display: none;}
    .typo_text p{ font-size: 14px;}
    .bottom p{ font-size: 12px; padding: 10px;}
    .footer .ewm{ font-size: 12px;}
    .wap_list{ display: block !important;}
    #varymap{height: 300px;}
}

/*视频自适应代码*/
.wa-video {
    position:relative;
    padding-bottom:56.25%;
    height:0;
    overflow:hidden;
}
/*视频自适应代码*/

.wa-video iframe,.wa-video object,.wa-video embed {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}
