﻿img {
    margin: 0;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin: 0;
}
hr {
    background-color: #777777;
    height: 1px;
    border: none;
}

/*header*/

#header .am-container {
    width: 1230px !important;
    max-width: 1230px;
}

#header {
    background-color: rgba(255,255,255,1);
    box-shadow: 0px 2px 5px #cccccc;
    border: none;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    display: block;
}
    #header .am_navbar {
        position: relative;
    }
    #header .am-dropdown-content:after, #header .am-dropdown-content:before {
        left: 62px;
    }
        #header .am_navbar .am-nav .am-dropdown .am-dropdown-content {
            transition-delay: 1s;
            margin: 0;
            display: none;
        }

            #header .am_navbar .am-nav .am-dropdown .am-dropdown-content:before {
            }

        #header .am_navbar .am-nav .am-dropdown:hover .am-dropdown-content {
            display: block;
        }

    #header .am_navbar_nav {
        margin-left: 300px;
    }

    #header .am_navbar_brand {
        padding-top: 5px;
        width: 280px;
    }

    #header .am-nav > li > a {
        position: relative;
        line-height: 70px;
        padding: 0 10px;
        color: #333333;
        /*transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;*/
        font-size: 1.6rem;
    }

    #header .am-nav > li.am-active > a {
        /*background: none !important;
        color: #00aa48 !important;*/
        background: #00aa48 !important;
        color: #ffffff;
        border-radius: 60px;
        margin: 10px 0;
        line-height:48px;
    }
  
    #header .am_navbar .am-nav .am-dropdown .am-dropdown-content > li:hover > a {
        color: #00aa48;
    }
ul.am-dropdown-content > .am-active > a, ul.am-dropdown-content > .am-active > a:focus, ul.am-dropdown-content > .am-active > a:hover{
    background:none;
    color:#00aa47;
}
#main {
    padding-top: 70px;
}

#footer {
    background: #00aa48;
    padding:50px 0;
}

    #footer .am-container {
        width: 1350px !important;
        max-width: 1350px;
    }
#footer .middle{float:left;width:870px;}
    #footer .middle .bh .am-list li {background:none;color:#ffffff;border:none;text-align:left;font-size:16px;line-height:30px;}
    #footer .middle .bh .logo{width:370px;}
    #footer .middle .bb {
        color: #ffffff;
        font-size: 16px;
    }
    #footer .ecode {
        width: 100%;
        padding-left: 870px;
    }

    /*分页*/
#paging .am-pagination {
    text-align: center;
}

    #paging .am-pagination .am-active a {
        background-color: #00aa47;
        border-color: #00aa47;
    }

#lightbox_mask {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .7);
}

#lightbox_popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

    #lightbox_popup .pic-view {
        position: absolute;
        top: 5%;
        left: 5%;
        width: 90%;
        height: 90%;
        text-align: center;
    }

        #lightbox_popup .pic-view .pic {
            max-width: 100%;
            max-height: 100%;
            border: 5px solid #fff;
            border-radius: 3px;
        }

    #lightbox_popup .btn-view {
    }

        #lightbox_popup .btn-view .btn {
            position: absolute;
            width: 40px;
            height: 40px;
            line-height: 34px;
            text-align: center;
            font-size: 24px;
            text-decoration: none;
            border-radius: 32px;
            background-color: #000;
            opacity: .4;
            color: #fff;
            transition: all .3s;
        }

            #lightbox_popup .btn-view .btn:hover {
                opacity: 1;
                transform: scale(1.4);
            }

        #lightbox_popup .btn-view .btn-prev {
            left: 10px;
            top: 48%;
        }

        #lightbox_popup .btn-view .btn-next {
            right: 10px;
            top: 48%;
        }

        #lightbox_popup .btn-view .btn-close {
            right: 10px;
            top: 10px;
        }

    #lightbox_popup .caption-view {
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 38px;
        background-color: rgba(0, 0, 0, .7);
        text-align: center;
    }

        #lightbox_popup .caption-view p {
            line-height: 38px;
            color: #fff;
        }


@media screen and (max-width: 1366px) {
    #header .am-container {
        width: 1230px !important;
        max-width: 1230px !important;
    }
    #footer .am-container {
        width: 1230px !important;
        max-width: 1230px !important;
    }
    .am-container {
        width: 1000px!important;
        max-width: 1000px!important;
    }
}