
@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);


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


.s-header {
    text-align: center;
    overflow: hidden;
}


.h1-title {
    position: relative;
    text-align: center;
    text-transform: uppercase;
    display: inline-block;
    vertical-align: middle;
    font-size: 2.8rem;
    line-height: 40px;
    margin: 60px 0 60px;
    font-weight: bold;
    color: #0c578f;
}
.h1-title:before, .h1-title:after {
    content: '';
    height: 2px;
    width: 50px;
    background: #9abdd2;
    position: absolute;
    left: -65px;
    top: 19px;
    z-index: 1;
}
.h1-title:after {
    left: auto;
    right: -65px;
}
.h1-title span {
    padding: 0 20px;
}
.h1-title span:before, .h1-title span:after {
    content: '';
    height: 10px;
    width: 10px;
    background: #9abdd2;
    position: absolute;
    left: -15px;
    top: 15px;
    transform: rotate(45deg);
    z-index: 2;
}
.h1-title span:after {
    left: auto;
    right: -15px;
}

@media (max-width: 1199px) {
    .h1-title {
        font-size: 2.6rem;
    }
}
@media (max-width: 543px) {
    .h1-title {
        font-size: 2.4rem;
        line-height: 30px;
    }
}


.h2-title {
    font-size: 2rem;
    font-weight: bold;
    line-height: 30px;
    padding-left: 20px;
    margin-bottom: 1rem;
    position: relative;
    text-align: left;
}
.h2-title:after {
    content: "";
    position: absolute;
    background: #9abdd2;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: -1;
}

.h4-title {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 30px;
}
.h4-title span {
  display: block;
  position: relative;
  padding-bottom: 1rem;
  border-bottom: 3px dotted #d3d0d0;
}
.h4-title span:after {
  content: "";
  width: 100px;
  height: 5px;
  background-color: #0c578f;
  background-image: -o-linear-gradient(315deg, #0c578f 0%, #9abdd2 100%);
  background-image: linear-gradient(135deg, #0c578f 0%, #9abdd2 100%);
  position: absolute;
  left: 0;
  bottom: -4px;
  z-index: 1;
  border-radius: 3px;
}



/*========================================================
                      	 內頁框架
=========================================================*/

main {
    padding-top: 60px;
	padding-bottom: 50px;
    text-align: justify;
}
/*
main > .container {
	max-width: 1170px;
}
*/


/* 麵包屑 */
.breadcrumbs {
	text-align: left;
    font-size: 1rem;
    margin-bottom: 10px;
}
.breadcrumbs a {
	display: inline-block;
	color: #000;
	padding: 0 0 10px 0;
}
.breadcrumbs a.home i {
    display: inline-block;
    margin-right: 3px;
    color: #22715b;
}
.breadcrumbs span {
	margin: 0 2px 0 4px;
	color: #e75c00;
	font-size: 1.2rem;
	font-weight: bold;
}



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

.animal-wrap {
    list-style: none;
    margin: 0 0 40px 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: 32px;
    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;
    }
}


/*========================================================
                         產品介紹
=========================================================*/

.products-point {
    padding: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #3a7da5;
    border-left-width: .4rem;
    border-radius: .25rem;
    background-color: #ebf4f6;
    font-weight: bold;
}

/* 產品介紹頁 */
.products-item { 
	margin: 30px 15px 40px;
}
.products-item a img {
    width: 100%;
    vertical-align: bottom;
	border: 10px solid #fff;
    transition: all 0.3s;
}
.products-item a:hover img { 
	border: 10px solid #0a548b;
}
.products-item a h4 {
    text-align: center;
    margin-top: 10px;
	color: #282828;
    font-weight: bold;
    font-size: 1.4rem;
}

@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-list {
    margin-top: 40px;
    text-align: center;
}

.news-list .news-item {
	position: relative;
	overflow: hidden;
    padding-bottom: 40px;
	margin-bottom: 40px;
	text-align: left;
    border-bottom: 2px dashed #adadad;
    color: #222;
}
.news-item-img img {
    border: 1px solid #ededed;
    border-radius: 8px;
}
.news-item-info {
	padding: 0 20px;
}
.news-item-info-title {
	font-size: 1.6rem;
	color: #000;
    font-weight: bold;
    margin: 15px 0 10px;
}
.news-item-info-row {
    display: flex;
    font-size: 1rem;
    color: #63636b;
    margin: 0 2px 6px 2px;
}
.news-item-info-row > div {
    margin-right: 20px;
}
.news-item-info-row a {
    color: #63636b;
}
.news-item-info-row a:hover {
    text-decoration: underline;
}
.news-item-info-row i {
    color: #ba9e66;
    margin-right: 3px;
}

.news-item-info-more a {
	display: inline-block;
	margin-top: 10px;
	font-weight: bold;
	color: #0c578f;
    font-size: 1.1rem;
    padding: 2px 10px;
    border-radius: 5px;
}
.news-item-info-more a:hover {
    background-color: #0c578f;
    color: #fff;

}


/* 尺寸設定 */
@media (max-width: 991px) {
	.news-list .news-item {
		display: inline-block;
		width: 100%;
		max-width: 600px;
	}
	.news-item-img img {
		width: 100%;
		vertical-align: bottom;
	}
}

@media (min-width: 992px) {
    .news-list .news-item {
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		-webkit-flex-direction: row;
		-ms-flex-direction: row;
		flex-direction: row;
		-webkit-flex-wrap: nowrap;
		-ms-flex-wrap: nowrap;
		flex-wrap: nowrap;
		-webkit-align-items: top;
		-ms-flex-align: top;
		align-items: top;
		-webkit-justify-content: center;
		-ms-flex-pack: center;
		justify-content: center;
	}
	.news-item-img img {
		width: 320px;
	}
	.news-item-info {
		padding: 0 30px;
		-webkit-flex-grow: 1;
		-ms-flex-positive: 1;
		flex-grow: 1;
	}
}

@media (min-width: 1200px) {
	.news-item-img img {
		width: 360px;
	}
	.news-item-info {
		padding: 0 30px;
	}
}
@media (min-width: 1600px) {
	.news-item-img img {
		width: 420px;
	}
}

/*========================================================
                   	最新消息內頁
=========================================================*/


.news-detail {
	text-align: left;
    border-bottom: 2px dashed #adadad;  
}
.news-detail img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}
.news-detail-title {
	text-align: left;
	margin: 0 0 20px 0;
	color: #333;
	font-weight: bold;
    font-size: 1.8rem;
}
.news-detail-date {
    margin-bottom: 10px;
    font-size: 0.9rem;
}
.news-detail-date i {
    color: #ba9e66;
    margin-right: 5px;
}
.news-detail-content {
    margin-bottom: 40px;
}
.news-detail-link {
    border-top: 2px dashed #adadad;
    padding: 1rem;
    font-size: 0.9rem;
    background-color: #ededed;
}
.news-detail-link h4 {
    font-size: 1.1rem;
    font-weight: bold;
}
.news-detail-link a {
    color: #333;
    text-decoration: underline;
}
.news-detail-link a:hover {
    text-decoration: none;
}

/*========================================================
                       動物網頁設定
=========================================================*/

.species-product [class*="col-"] a p {
    margin-top: 10px;
    text-align: center;
    font-weight: bold;
    color: #333;
}



/*========================================================
                         回目錄頁
=========================================================*/

.btn-back {
	text-align: right;
	padding-top: 20px;
}
.btn-back a {
	background-color: #0c578f;
	padding: 8px 20px 10px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	color: #fff;
	font-size: 0.938em;
}
.btn-back a:hover {
	-moz-transition: -moz-transform 0.3s;
	-o-transition: -o-transform 0.3s;
	-webkit-transition: -webkit-transform 0.3s;
	transition: transform 0.3s;
	background-color: #030e28;
	color: #fff;
	text-decoration: none;
}



/*========================================================
                         聯絡我們
=========================================================*/


.contact-info a {
    color: #000;
}
.contact-info ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.contact-info ul li {
	list-style: none;
	margin: 0;
	padding: 5px 0 5px 60px;
	position: relative;
	min-height: 40px;
	margin-bottom: 10px;
}
.contact-info ul li b {
	font-weight: bold;
	font-size: 20px;
	display: block;
	color: #0c578f;
}
.contact-info ul li i {
	list-style: none;
	margin: 0;
	padding: 5px 0;
}
.contact-info .circle {
	width: 50px;
	height: 50px;
/*	border-radius: 50%;*/
    font-size: 1.4rem;
    color: #0c578f;
	line-height: 46px;
	text-align: center;
	background: #fff;
	position: absolute;
	left: 0;
	top: 10px;
	z-index: 9;
    background-color: #ebf4f6;
    border: 1px solid #c8dae7;
}
.contact-info ul li [class^="flaticon-"]:before, 
.contact-info ul li [class*=" flaticon-"]:before, 
.contact-info ul li [class^="flaticon-"]:after, 
.contact-info ul li [class*=" flaticon-"]:after {
    margin-right: 0px;
}


.contact-box {
	background-size: cover;
	padding-bottom: 50px;
	position: relative;
}
.contact-box > .row > .col-md-6 {
	padding-bottom: 50px;
}

/*
.contact-box iframe {
	border: 2px dashed #e74c1c;
	padding: 10px;
}
*/



/* 尺寸設定 */

@media (min-width: 992px) {
	.contact-box > .row > .col-md-6:nth-of-type(1) {
		padding-right: 50px;
	}
	.contact-box > .row > .col-md-6:nth-of-type(2) {
		padding-top: 20px;
		padding-left: 50px;
	}
}




/*========================================================
                         各類表單
=========================================================*/

.contant-list {
	
}

/* 說明 */
.form-info {
	border: 2px dashed #adadad;
	padding: 20px 20px 20px 100px;
	margin-bottom: 20px;
	min-height: 60px;
}
.form-info p {
	margin-bottom: 6px;
}

/* 表單設定 */
.form-horizontal {
	margin-bottom: 40px;
}
.form-horizontal .control-label {
	color: #333;
}
.form-horizontal .form-control {
	border-radius: 0;
	padding: 5px 20px 5px 40px;
	border: 1px dashed #c4c4c4;
	background-color: #f6f6f6;
}
.form-control {
    background-color: #f6f6f6;
	height: 40px;
}	
.form-control::-moz-placeholder {
	color: #666;
	opacity: 1;
	font-size: 16px;
	font-weight: bold;
}
.form-control:-ms-input-placeholder {
	  color: #666;
}
.form-control::-webkit-input-placeholder {
	  color: #666;
}

/* 意見表單 */
.contact-form {
	margin-bottom: 20px;
}
.contact-form [class *= col-] {
	position: relative;
	margin-bottom: 10px;
}
.contact-form [class *= col-] i {
    display: block;
    font-size: 1rem;
    color: #666;
    width: 28px;
    line-height: 28px;
    text-align: center;
    background-color: #f6f6f6;
    position: absolute;
    left: 24px;
    top: 6px;
    border-radius: 5px;
    transition: all 0.4s ease;
}
.contact-form [class *= col-] i.text-red {
    color: #333;
}

.form_out .col-md-2 {
	text-align: left;
	font-weight: bold;
}
.form-group {
	padding: 10px 15px;
	margin-bottom: 0 !important;
}
.form-group:nth-of-type(2n+2) {
	background-color: #ededed;
}
.form-group b {
	display: block;
	font-size: 15px;
}
.input {
	text-decoration: none;
	border: 1px solid #c7c7c7;
	width: 100%;
	padding: 2px 2px;
}

/* 尺寸設定 */
@media (min-width: 768px) {
	.form-info {
		padding: 20px 20px 20px 70px;
	}
	.form-info {
		margin-right: 15px;
	}
	.input {
		width: 40%;
	}
	.form-group b {
		display: inline-block;
	}
}


/*========================================================
                         網站地圖
=========================================================*/

.sitemap {
    margin-top: 80px;
}

.sitemap-item {
    margin-bottom: 30px;
}
.sitemap-item ul {
    list-style: none;
    margin: 0 20px;
    padding: 0;
}
.sitemap-item ul li {
    position: relative;
    padding-left: 20px;
}

.sitemap-item ul li a {
    color: #333;
}
.sitemap-item ul li a:before {
    font-family: 'Font Awesome 5 free';
    content: "\f35a";
    font-weight: 900;
    display: inline-block;
    font-size: 0.8rem;
    position: absolute;
    left: 0;
    top: 1px;
    z-index: 1;
}
.sitemap-item ul li a:hover {
    color: #ba9e66;
}


/* 尺寸設定 */
@media (max-width: 767px) {
    .sitemap-item h4 {
        font-size: 1.6rem;
        font-weight: bold;
        line-height: 30px;
        padding-left: 20px;
        margin-bottom: 1rem;
        position: relative;
        text-align: left;
    }
    .sitemap-item h4:after {
        content: "";
        position: absolute;
        background: #9abdd2;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        z-index: -1;
    }
    .sitemap-item {
        margin-bottom: 40px;
    }
}
@media (min-width: 768px) {
    .sitemap-item h4 {
        background-color: #3a7da5;
        color: #fff;
        font-size: 1.4rem;
        font-weight: bold;
        text-align: center;
        padding: 10px;
        margin-bottom: 20px;
    }
}


/*========================================================
                           表格
=========================================================*/

.table1 {
	border-collapse: collapse;
	text-align: left;
	margin: 0 0 20px 0;
	font-size: 15px;
	border: 1px solid #c0bebe;
}
.table1 tr:nth-child(2n+1) {
	background-color: #F3F3F3;
}

.table1 th {
	background-color: #3a7da5;
	color: #fff;
    font-size: 1.1rem;
	font-weight: bold;
	padding: 10px 10px !important;
	text-align: center;	
	border-top: 0 !important;
	border-bottom: 1px solid #c0bebe;
    border-right: 1px solid #fff;
}
.table1 th:last-of-type {
    border-right: 1px solid #c0bebe;
}
.table1 td {
	padding: 5px 5px !important;
	border: 1px solid #c0bebe;
}
.table1 tr.subtitle td {
    background-color: #c8dae7;
    font-weight: bold;
}

.table2 td:nth-of-type(2){
	text-align: center;
}



/*========================================================
                         ul設定
=========================================================*/

.ul-s1 {
    list-style: none;
    margin: 20px 0;
    padding: 0;
    text-align: left;
}
.ul-s1 > li {
    padding: 0 0 0 40px;
    margin-bottom: 10px;
    position: relative;
}
.ul-s1 > li span {
	width: 30px;
	height: 30px;
	border-radius: 15px;
	font-size: 1rem;
	color: #000;
	line-height: 30px;
	text-align: center;
	background-color: #9abdd2;
    position: absolute; 
    left: 0; 
    top: 2px; 
    z-index: 9; 
}


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

a.figure {
	display: block;
	position: relative;
}
a.figure:hover:before {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}
a.figure:before {
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    content: '';
    display: inline-block;
    opacity: 0;
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    transition: .3s;
}
.image-box .image-pic {
	position: relative;
}
.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: 50%;
	z-index: 6;
	transform: translateY(-50%);
	width: 100%;
	text-align: center;

}
.thumb-inner span {
	display: inline-block;
	color: #fff;
	font-size: 24px;
	padding: 5px 50px 7px;
	border: 1px solid #fff;
}

