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


/*========================================================
                      	 h1 設定
=========================================================*/

.h1-title {
	font-size: 32px;
	text-align: center;
	margin: 0 0 50px 0;
	color: #fff;
    padding: 10px 15px 12px;
    background-color: #338bbd;
}
.h2-title {
    color: #333;
	margin: 0 0 20px 0;
	font-size: 26px;
	position: relative;
	font-weight: bold;
}
.h2-title:after {
    content: '';
	display: block;
	width: 40px;
	height: 4px;
	background-color: #9d2109;
	margin-top: 6px;
}
.h3-title {
    color: #111;
    font-weight: bold;
    font-size: 1.6rem;
    margin-bottom: 30px;
}
.h3-title i {
    color: #125474;
}

/* 尺寸設定 */
@media (min-width: 768px) {
	.h1-title {
		font-size: 36px;
	}		
}
@media (min-width: 1200px) {
	.h1-title {
		font-size: 40px;
	}		
}


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

.content {
	padding-bottom: 50px;
}
.content > .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;
}


/*========================================================
                      	 選單
=========================================================*/

.navsub-pc {
	font-size: 1.2rem;
	text-align: center;
	margin: 20px 0;
	color: #fff;
    line-height: 24px;
}
.navsub-pc ul {
	list-style: none;
    margin: 0;
    padding: 0;
}
.navsub-pc ul li {
	display: inline-block;
    margin-bottom: 20px;
}
.navsub-pc ul li a {
    display: inline-block;
    font-weight: bold;
	padding: 8px 25px;
    margin: 0 7px;
    border-radius: 5px;
    background-color: #226f9b;
	color: #fff;
}
.navsub-pc ul li a:hover, .navsub-pc ul li a.active {
    background-color: #125277;
}


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


.about-style img {
	width: 100%;
	vertical-align: bottom;
	margin-bottom: 20px;
}

.about-style > div dl {
	width: 100%;
	margin: 0 0 20px 0;
	background-color: #ededed;
	border-radius: 10px;
	padding: 20px 30px;
}
.about-style dl dt {
	float: left;
    margin-right: 20px;
    vertical-align: middle;
}
.about-style dl dt img {
	display: block;
	width: 84px;
	height: 84px;
	padding: 10px;
	margin: 0 auto;
}
.about-style dl dd {
	overflow: hidden;
	font-size: 1.2rem;
}
.about-style dl dd h3 {
    font-size: 1.6rem;
	margin: 5px 0;
	font-weight: bold;
}
.about-style dl dd p {
	margin: 0;
}

/* 尺寸設定 */
@media (min-width: 1200px) {
    .about-style dl dt {
        float: none;
    }
    .about-style > div dl {
        text-align: center;
    }
    .about-style > div dl dt {
        text-align: center;
        margin-right: 0;
    }
}


/*========================================================
                         急救箱
=========================================================*/

.aid-style {
}
.aid-style dl {
    border-bottom: 2px dashed #adadad;
    padding: 40px 30px;
    margin: 0;
}
.aid-style dl:nth-of-type(2n+1) {
    background-color: #ededed;
}
.aid-style dl dt {
    text-align: center;
    margin-bottom: 20px;
}
.aid-style dl dd {
    overflow: hidden;
}
.aid-style dl dd h3 {
    font-size: 1.4rem;
    font-weight: bold;
    color: #DD0003;
    text-align: center;
}
.aid-style dl dd ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.aid-style dl dd ul li span {
    display: inline-block;
    font-weight: bold;
    color: #074e76;
    position: relative;
    padding-left: 12px;
}
.aid-style dl dd ul li span:after {
    font-family: 'Font Awesome 5 free';
    content: "\f0da";
    font-weight: 900;
    display: block;
    position: absolute;
    top: 2px;
    left: 0;
    z-index: 9;
    color: #074e76;
}


/* 尺寸設定 */
@media (min-width: 580px) {
    .aid-style dl dt {
        float: left;
        margin-right: 20px;
        margin-bottom: 0;
        text-align: left;
    }	
    .aid-style dl dd h3 {
        text-align: left;
    }
}


/*========================================================
                        3M 醫療用品
=========================================================*/

.medical-wrap sup {
    font-size: 25%;
    top: -2em;
}
.medical-style h4 {
    color: #FB6E0F;
    font-weight: bold;
    font-size: 1.5rem;
    margin: 10px 0;
}
.ul-style1 {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ul-style1 li {
    padding: 5px 10px;
}
.ul-style1 li:nth-of-type(2n) {
    background-color: #efefef;
}
.ul-style1 li span {
    font-weight: bold;
    color: #CC0F12;
    padding-left: 12px;
    position: relative;
}
.ul-style1 li span:after {
    font-family: 'Font Awesome 5 free';
    content: "\f0da";
    font-weight: 900;
    display: block;
    position: absolute;
    top: -2px;
    left: 2px;
    z-index: 9;
    color: #CC0F12;
    font-size: 0.6rem;
}

.medical2-style [class*="col-"] {
    margin-bottom: 20px;
}

.medical2-style [class*="col-"] img {
    border: 1px solid #ddd;
    width: 100%;
    vertical-align: bottom;
    padding: 5px;
}

.medical2-style .thumb-inner span {
    font-size: 1rem;
    padding: 5px 30px 7px;
    font-weight: bold;
}






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

.contact-box {
	background: url(../images/contact_bg3.jpg) no-repeat center top;
	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;
}
*/

.contact-list h2 {
	border-left: 10px solid #ce4737;
	padding: 10px;
	margin-bottom: 20px;
	background-color: #f4f4f4;
	font-size: 24px;
}
.map ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.map ul li {
	list-style: none;
	margin: 0;
	padding: 5px 0 5px 50px;
	position: relative;
	min-height: 40px;
	margin-bottom: 10px;
}
.map ul li b {
	font-weight: bold;
	font-size: 20px;
	display: block;
	color: #338bbd;
}
.map ul li i {
	list-style: none;
	margin: 0;
	padding: 5px 0;
}
.circle {
	width: 40px;
	height: 40px;
	border-radius: 20px;
	font-size: 20px;
	color: #fff;
	line-height: 40px;
	text-align: center;
	background: #338bbd;
	position: absolute;
	left: 0;
	top: 10px;
	z-index: 9;
}
.map ul li [class^="flaticon-"]:before, 
.map ul li [class*=" flaticon-"]:before, 
.map ul li [class^="flaticon-"]:after, 
.map ul li [class*=" flaticon-"]:after {
    margin-right: 0px;
}




/* 尺寸設定 */

@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;
	background: #f7f7f7 url(../images/warning.png) no-repeat 20px center;
	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: #338bbd;
}

.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;
		background: #f7f7f7 url(../images/warning2.png) no-repeat 20px center;
	}
	.form-info {
		margin-right: 15px;
	}
	.input {
		width: 40%;
	}
	.form-group b {
		display: inline-block;
	}
}



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

.table1 {
	border-collapse: collapse;
	text-align: left;
	margin: 0 0 20px 0;
	font-size: 15px;
	border: 1px solid #c0bebe;
}
.table1 caption {
	color: #333;
	font-weight: bold;
}

.table1 th {
	background: #476b89;
	color: #fff;
	font-weight: bold;
	padding: 10px 5px !important;
	text-align: center;	
	border-top: 0 !important;
	border-bottom: 1px solid #c0bebe;
}
.table1 td {
	padding: 0 5px;
	border: 1px solid #c0bebe;
}
.table1 td.c {
	text-align: center;
    background-color: #e3f0f6;
}



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

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;
    background: rgba(255,255,255,0.15) url(../images/magnifier.png) no-repeat center center;
    opacity: 0;
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    transition: .3s;
}
a.figure2:before {
    background: rgba(255,255,255,0.15) url(../images/magnifier2.png) no-repeat center center;
}

.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;
}

