
@import url(../fonts/flaticon/flaticon.css);
@import url(revise.css);
@import url(header.css);
@import url(footer.css);
@import url(hover.css);
@import url(banner.css);


/*========================================================
                      	 標題設定
=========================================================*/

.h2-title {
    font-size: 2.4rem;
    font-weight: bold;
    text-align: center;
    position: relative;
    margin: 0;
    padding-top: 10px;
    padding-bottom: 10px;
}


/*========================================================
                      	 共同設定
=========================================================*/

.aboutUs .aboutUs-info h2, 
.persistence .persistence-info h2,
.products-wrap h2,
.news-content h2
{
    font-size: 1.6rem;
    font-weight: bold;
}


/*  尺寸設定 */
@media (min-width: 768px) {
    .aboutUs .aboutUs-info h2, 
    .persistence .persistence-info h2,
    .products-wrap h2,
    .news-content h2
    {
        font-size: 1.8rem;
    }
}
@media (min-width: 1200px) {
    .aboutUs .aboutUs-info h2, 
    .persistence .persistence-info h2,
    .products-wrap h2,
    .news-content h2
    {
        font-size: 2rem;
    }
}

/*========================================================
                      	 關於我們
=========================================================*/

.aboutUs { 
/*
	background: url("../img/index/about-bg.jpg") no-repeat right bottom;
	background-size: cover;  
*/
    padding-top: 40px;
    padding-bottom: 10px;
}
.aboutUs .aboutUs-info {
    padding: 40px 40px;
    line-height: 36px;
}

/*  尺寸設定 */
@media (min-width: 1200px) and (max-width: 1599px) {
    .aboutUs .aboutUs-img img {
        height: 850px;
        object-fit: cover;
    }
}
@media (min-width: 1600px) and (max-width: 1799px) {
    .aboutUs .aboutUs-img img {
        height: 610px;
        object-fit: cover;
    }
}
@media (min-width: 1200px) {
    .aboutUs { 
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .aboutUs .aboutUs-info {
        padding: 40px 100px 40px 60px;
        line-height: 40px;
    }
}
@media (min-width: 1600px) {
    .aboutUs .aboutUs-info {
        padding: 40px 100px 40px 60px;
        line-height: 40px;
    }
}


/*========================================================
                         動物列表
=========================================================*/

.animal-wrap {
    list-style: none;
    margin: 0 0 30px 0;
    padding: 0;
    text-align: center;
}
.animal-wrap li {
    position: relative;
    display: inline-block;
    transition: .5s ease;

}
.animal-wrap li a img {
    display: block;
    width: auto;
    height: 36px;
    margin: 0 10px;
}
.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
}
.animal-wrap li:hover {
    transform: scale(1.03) translateY(-6px);
}
.animal-wrap li:hover .overlay {
    opacity: 1;
}


/*  尺寸設定 */
@media (min-width: 640px) {
    .animal-wrap li a img {
        height: 60px;
        margin: 0 15px;
    }
}
@media (min-width: 992px) {
    .animal-wrap li a img {
        height: 96px;
        margin: 0 20px;
    }
}
@media (min-width: 1200px) {
    .animal-wrap {
        margin: 0 0 60px 0;
    }
}
@media (min-width: 1600px) {
    .animal-wrap li a img {
        height: 129px;
        margin: 0 30px;
    }
}


/*========================================================
                    Our persistence
=========================================================*/

.persistence {
/*    background-color: #e7e1d4;*/
}
.persistence .persistence-img img {
    min-height: 280px;
    object-fit: cover;
}
.persistence .persistence-info {
    padding: 50px 5%;
    line-height: 36px;
}

/*========================================================
                      	Products
=========================================================*/

.products {	
/*	background-color: #e7e1d4; */
    margin-top: 0px;
	padding: 40px 7% 0px;
}
.products-title {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    font-weight: bold;
}
.products .slider { 
	padding-bottom: 60px;
}

.products-item { 
	margin-left: 15px;
    margin-right: 15px;
}
.products-item a img {
    width: 100%;
    vertical-align: bottom;
/*	border: 15px solid #fff;*/
}
/*
.products-item a:hover img { 
	border: 15px solid #707845;
}
*/
.products-item a h4 {
    text-align: center;
    margin-top: 10px;
	color: #282828;
    font-weight: bold;
    font-size: 1.4rem;
}
.products-item a:hover h4 { 
	color: #707845;
    outline: none;
}

/*  尺寸設定 */
@media (min-width: 768px) {
    .products-item a h4 {
        font-size: 1.6rem;
    }
}

@media (min-width: 1200px) {
    .products-item a h4 {
        font-size: 1.8rem;
    }
}



/*========================================================
                         新聞中心
=========================================================*/

.news {
/*
	background: url("../img/index/news-bg.jpg") no-repeat left center;
	background-size: cover;    
*/
	padding-top: 0px;
    padding-bottom: 40px;
}
.news img {
	width: 100%;
    vertical-align: bottom;
}
.news [class*="col-"]:nth-of-type(1) {	
	background: url("../img/index/news-a01.jpg") no-repeat center center;
	background-size: cover;
    min-height: 300px;
    margin-bottom: 20px;
}
.news-list-title {
    font-weight: bold;
}
.news-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.news-list ul li {
    position: relative;
}
.news-list ul li a {
    display: block;
    padding: 9px 5px 9px 20px;
    border-bottom: 1px solid #b8b8b8;
    color: #292929;
}
.news-list ul li a:hover {
    color: #707845;
}
.news-list ul li:last-of-type {
    border-bottom: none;
}
.news-list ul li:before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    z-index: 9;
    width: 14px;
    height: 14px;
    border: 4px solid #707845;
    background-color: #707845;
    border-radius: 50%;
}
.news-list ul li:hover:before {
    background-color: #fff;
}
.news-list-more {
    margin-top: 10px;
    text-align: right;
}
.news-list-more i {
    font-size: 0.9rem;
}
.news-list-more a {
    display: block;
    color: #505824;
    font-weight: bold;
}
.news-list-more a:hover {
    color: #000;
}

/*  尺寸設定 */
@media (max-width: 1199px) {
    .news-list {
        padding-top: 30px;
        padding-left: 30px;
        padding-right: 30px;
    }    
}
@media (min-width: 1200px) {
    .news {
        padding-left: 4%;
        padding-right: 4%;
    }
    .news-list {
        padding-top: 30px;
        padding-bottom: 30px;
        padding-left: 50px;
    }
    .news-list ul li:before {
        top: 19px;
    }
}
@media (min-width: 1600px) {
    .news-list {
        padding-left: 100px;
    }    
}



/*========================================================
                         圖片效果
=========================================================*/

a.figure {
	display: block;
	position: relative;
	}
a.figure:hover:before {
    opacity: 0.3;
    -webkit-transform: scale(1);
    transform: scale(1);
}
a.figure:before {
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 6px;
    right: 6px;
    z-index: 10;
    content: '';
    display: inline-block;
    background-color: #fff;
    opacity: 0;
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    transition: .3s;
}

.image-box .image-pic {
	position: relative;
}
.image-box .image-pic > p {
	position: absolute;
	top: 54%;
	left: 50%;
	transform: translate(-50%,-54%);
	z-index: 9;
    font-size: 1.6rem;
    color: #fff;
	text-shadow: 2px 2px 10px #000;
    font-weight: bold;
    width: 90%;
    text-align: center;
}
.image-box .image-pic > img {
	width: 100%;
	vertical-align: bottom;
}
.image-box .image-pic a {
	display: block;
	color: #fff;
}
.image-box .image-pic:hover .thumb-inner {
	display: block;
}
.image-box .image-pic:before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 5;
	width: 100%;
	height: 10%;
	opacity: 0;
	transition: all 0.3s;
}
.image-box .image-pic:hover:before {
	background-color: rgba(0, 0, 0, 0.5);
	opacity: 1;
	height: 100%;
}
.thumb-inner {
	display: none;
	position: absolute;
	left: 0;
	top: 42%;
	z-index: 6;
	transform: translateY(-42%);
	width: 100%;
	text-align: center;
}
.thumb-inner span {
	display: inline-block;
	color: #fff;
	font-size: 1rem;
	padding: 1px 20px 3px;
	border: 1px solid #fff;
}


/*  尺寸設定 */
@media (min-width: 992px) {
    .image-box .image-pic > p {
        font-size: 2rem;
    } 
}
