/*
Theme Name: 画室官网
Description: 三元画室定制官网样式
Author: 方人也
Version: 1.0
*/
body {
    margin: 0;
    max-width: 100%;
    min-width: 960px;
    background-color: white;
}

.container {
    width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    align-items: center;
    /*background: #F5F5F5;*/
}
.mainNav {
    background-color: #ACACAC;
    width: 100%;
    height: 55px;
    display: flex;
}
.mainNav .container{
    align-self: center;
}
.nav-box ul{
    height: 55px;
    display: flex;
    flex-direction: row;
    justify-content: left;
    /*padding: 5px 20px;*/
    margin-bottom: -8px;
}
.nav-box ul li {
    list-style: none;
    display: inline-block;
    vertical-align: middle;
    min-width: 120px;
    height: 100%;
}
.nav-box ul li a{
    /*margin-left: 5px;*/
    display: inline-block;
    vertical-align: middle;
    padding: 0 25px;
    color: #ffffff;
    text-decoration: none;
    margin-bottom: -20px;
}

.nav-box ul li:hover{
    color: #ffffff;
    background-color: red;
}

/*header {*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*}*/

/*首页中部样式*/
.mainBody{
    background-color: #FDFCFC;
}
.newsList{
    background-image: url("assets/images/news.gif");
    background-repeat: no-repeat;
    background-position: 50px 5px;
    width: 100%;
    object-fit: cover;
}

/**
轮播图样式
 */
.mainCarousel{
    width: 100%;
    height: 540px;
    overflow: hidden;
}
.d-block{
    object-fit: fill;
}

#carouselMid{
    height: 356px;
    overflow: hidden;
    min-height: 356px;
}

/*新闻列表*/
.news{
    width: 100%;
    padding: 60px 0 0 42px;
}
.newsTitle{
    font-size: 14px;
    padding: 6px 0 0 0;
}
.newsTitle a{
    width: 200px;
    text-decoration: none;
    color: black;
    padding-left: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display:inline-block
}
.newsTitle a:hover{
    text-overflow: inherit;
    overflow: visible;
}
.newsIcon{
    background: url("assets/images/newsBgIcon.png") no-repeat center center;
    padding-left: 12px;
    background-size: 8px, auto, contain;
    object-fit: cover;
}
/*新闻详情页*/
.titleLine{
    border: #CCCCCC 1px solid;
    width: 100%;
    margin: 0 0 24px;
}
.newsTag{
    padding: 26px 0 0;
    margin-left: -32px;
}
.newsTag ul li{
    list-style: none;
}
.newsTag ul li a{
    color: red;
    text-decoration: none;
}
.newsDetailTitle{
    text-align: center;
    margin: 24px 0;
}
.authorDetail{
    text-align: center;
    padding-bottom: 24px;
}
.publishTime{
    margin-left: 16px;
}
/**
侧边样式
 */
.sideNav{
    width: 100%;
}
.nav a{
    padding: 4px 8px;
    text-decoration: none;
}
.mainItem{
    font-weight: bold;
    color: black;
}
.myItem{
    color: #2b3035;
    font-weight: normal;
    font-size: 15px;
    margin-left: 16px;
}
.nav a:hover{
    background-color: red;
    color: white;
}
.newActive{
    min-width: 240px;
}
.contactImgDown{
    overflow: hidden;
    text-align: right;
}
.contactImgDown img{
    max-height: 100%;
    max-width: 100%;
}
/**
底部样式
 */
.footer{
    width: 100%;
    height: 200px;
    background-color: red;
    margin-top: 12px;
}
.foot{
    width: 100%;
    height: 120px;
    background-color: black;
}
.footer .container{
    margin: 0 auto;
}
.footer ul li{
    list-style: none;
    padding: 6px 0;
}
.footer ul li a{
    color: white;
    text-decoration: none;
    font-size: 14px;
}
.footer ul li h4{
    color: white;
}
.contactTitle span a{
    font-size: 40px;
}
.address li h4{
    display: block;
    text-align: right;
}
.address li a{
    display: block;
    text-align: right;
}
/**
服务项目
 */
.service{
    margin-top: 36px;
}
.productsShare{
    margin: 20px 0;
    padding: 0;
}
.productsShare figure{
    width: 100%;
    height: 100%;
}
.productsShare a figure img{
    width: 100%;
    height: 320px;
    object-fit: cover;
}
.service .container{
    padding: 0;
}
.productsShare a{
    display: block;
    text-align: center;
    text-decoration: none;
    color: black;
}
.productsTitle {
    text-align: center;
    text-decoration: none;
    color: black;
}
.titleInfo{
    color: #ACACAC;
}
/**
page页面
*/
.categoryTag{
    margin: 20px 0;
    padding: 0;
}
.categoryTag a{
    display: block;
    text-align: center;
    text-decoration: none;
    color: black;
    font-size: 13px;
}
.categoryTag figure{
    width: 100%;
    height: 100%;
}
.categoryTag a figure img{
    height: 275px;
    width: 100%;
    object-fit: fill;
}

/**
底部图片
 */
.downPic{
    width: 100%;
    height: 360px;
    background-image: url("assets/images/adbanner.png");
    object-fit: cover;
    background-repeat: no-repeat;
    overflow: hidden;
    background-size: cover;
}
/**
面包屑导航
 */
.newsDetail row{
    position: relative;
}
.sy_breadNav{
    display: block;
    text-align: right;
    line-height: 68px;
    vertical-align: text-bottom;
}
.sy_breadNav a{
    text-decoration: none;
    font-size: 14px;
    color: #ACACAC;
}
