﻿/*
Theme Name: 	v123 DEV 1.05
Theme URI: 		http://v123.tw
Author: 		v123 DEV Ann
Author URI: 	http://v123.tw
Description:	Child Theme for Betheme - Premium WordPress Theme
Template:		betheme
Version: 		1.05
*/

/* Theme customization starts here
-------------------------------------------------------------- */

/*
Global
================================================================ */
#Top_bar .menu>li>a span:not(.description) {
	padding: 0 10px;
}

#Top_bar {
	top: 0;
}

/*
#Top_bar:not(.is-sticky) .menu > li > a {
    padding: 15px 0 9px !important;
}
*/
.widget-area {
	min-height: auto !important;
}

/* ========================================================== 側邊攔 start */
.widget_mfn_menu ul li:not(.current_page_item) ul.children {
	display: none
}

.widget_mfn_menu ul li ul.children li a {
	font-size: 12px;
}

/* ========================================================== 側邊攔 end */


.with_aside .sections_group {
	padding-top: 10px;
}

.the_content_wrapper {
	margin-bottom: 30px;
}

.home .section_wrapper h2 {
	font-size: 30px;
	line-height: 25px;
	font-weight: 700;
	color: #5e5f6c;
}

.home .section_wrapper h3 {
	font-size: 25px;
	line-height: 25px;
	font-weight: 100;
	color: #5e5f6c;
}



.home .effect-sadie h2 {
	font-size: 21px;
	line-height: 1.5em;
	font-weight: 700;
	color: #fff;
	padding: 0 10%;
	box-sizing: border-box;
}

/* LOGO */

#Top_bar .logo-main {
	margin-left: -8px
}

#Top_bar {
	background-color: #221306 !important;
}

.header-magazine #Top_bar .logo {
	width: 100%;
	border-bottom: 1px solid rgba(69, 41, 0, .1)
}








.top_bar_right_wrapper #searchform i.icon-search-fine {
	padding: 23px 0 0;
	color: #472a00;
	position: relative;
	bottom: -3px;
}

.top_bar_right_wrapper #searchform input.field {
	border-radius: 22px;
	border-color: rgba(244, 236, 229, 1);
	background-color: rgba(244, 236, 229, .75);
}

#Top_bar a#search_button.has-input input {
	top: -5px !important;
	bottom: 0;
}

@media only screen and (min-width: 1240px) {
	#Top_bar.is-sticky .top_bar_right {
		top: -8px !important;
		bottom: 0;
	}
}





/* ===================================================== footer */
.header-stack #Action_bar {
	background-color: transparent !important;
	padding: 0px 0;
}


.widget_archive ul,
.widget_nav_menu ul {
	list-style-type: none;
	padding: 5px 10px 5px 0;
	background: inherit
}

.widget_archive ul li:after,
.widget_nav_menu ul li:after {
	border: 0;
}

.widget_archive ul li a,
.widget_nav_menu ul li a {
	display: block;
	font-size: 14px;
	padding: 4px 0 4px 3px;
	text-decoration: none;
	border-image-width: 0;
}

.widgets_wrapper .column.one-sixth {
	margin: 0 0 40px;
	width: 16.666%;
}

#Footer h4 {
	font-size: 16px;
	font-weight: bold !important;
	line-height: inherit;
	color: #432b12 !important;
	margin-bottom: 0;

}

#Footer h4 a {}







.ferrari_subheader_image {
	display: none
}

body:not(.home) .banner_wrapper {
	display: none !important;
}






#Footer .copyright {
	line-height: 1.5em;
}

#Top_bar .social i,
#Footer .social i {
	color: rgba(69, 41, 0, .5)
}

#Top_bar .social i:hover,
#Footer .social i:hover {
	color: rgba(69, 41, 0, 1)
}

#Content {
	line-height: 1.6em;
	color: #626262;
}

/* ======================================================= 麵包屑路徑 */
.vdm-content-header {
	margin-top: .75em;
	margin-bottom: 1em;
	overflow: hidden;
}

.vdm-content-header h1 {
	float: right;
	font-size: 1.5em;
	font-weight: bold;
	margin: 10px 0 1em;
}

.the_content_wrapper img {
	margin: 1em 0;
}

/* ======================================================= widget */
.widget_mfn_menu ul li.current_page_item:not(.current_page_ancestor)>a,
.widget_mfn_menu ul li:hover>a {
	background-color: #f4ece5 !important;
	color: #563e00 !important;
}

/* ======================================================= 內頁樣式 */
body:not(.home) #Top_bar #logo img {
	vertical-align: top;
	max-height: 45px;
}

body:not(.home) #Top_bar .menu>li.current-menu-item>a>span,
body:not(.home) #Top_bar .menu>li.current_page_item>a>span,
body:not(.home) #Top_bar .menu>li.current-menu-parent>a>span,
body:not(.home) #Top_bar .menu>li.current-page-parent>a>span,
body:not(.home) #Top_bar .menu>li.current-menu-ancestor>a>span,
body:not(.home) #Top_bar .menu>li.current-page-ancestor>a>span,
body:not(.home) #Top_bar .menu>li.current_page_ancestor>a>span,
body:not(.home) #Top_bar .menu>li.hover>a {
	color: #92836c;
	/*border-bottom:1px solid #92836c;*/
}


body:not(.home) .top_bar_right_wrapper #searchform i.icon-search-fine {
	color: #92836c;
}



body:not(.page-child) .breadcrumb-container.theme1 li:last-child {
	display: none;
}

body.page .breadcrumb-container.theme1 li:last-child .separator:not(:first-child) {
	display: none;
}

.the_content_wrapper>h4 {
	display: none;
}


.section-post-header {
	display: none;
}


/* 首頁右上聯絡方式圖
-------------------------------------------------------------- */
body #Action_bar ul.social li {
	float: left;
	margin-right: 11px !important
}

body #Action_bar ul.social li img {
	width: auto !important;
	height: 25px !important;
}

body.home #Action_bar ul.social li.phone img {
	width: 310px !important;
	height: auto !important;
}


body.home #Action_bar ul.social li.facebook {
	margin-left: -3px;
}

body.home #Action_bar ul.social li.phone {
	display: block !important;
	margin-bottom: 5px !important;
	/*margin-right:0 !important;*/
	float: none !important;
	clear: both !important
}

@media only screen and (max-width: 1240px) {
	#Action_bar ul.social {
		display: none !important
	}
}




/* 首頁醫生
-------------------------------------------------------------- */

.v-home-dr h4 {
	text-align: center !important;
}

.v-home-dr ul li {
	text-align: center !important;
}



/* 
首頁
-------------------------------------------------------------- */
body.home #Top_bar #logo img {
	vertical-align: middle;
	max-height: 62px;
}

#Top_bar.is-sticky .top_bar_left {
	width: auto;
}

body:not(.home) #Top_bar .banner_wrapper {
	display: block !important
}

body:not(.home) #Top_bar.is-sticky {
	height: auto !important
}

body:not(.home) #Top_bar:not(.is-sticky) {
	height: auto !important
}

@media only screen and (min-width: 767px) {
	body:not(.home) #Top_bar .top_bar_left {
		margin-top: 40px !important
	}
}


/* -------------------------------------------------------------- RWD */
@media only screen and (max-width: 767px) {
	.mobile-header-mini.mobile-mini-ml-lc #Top_bar .logo {
		border: none
	}
}

@media (min-width:769px) and (max-width:1024px) {
	#Top_bar .logo #logo img {
		display: none;
	}

	#Top_bar .logo #logo img.logo-sticky {
		display: block;
		max-height: 30px !important;
		width: auto !important;
	}

	#Top_bar .logo #logo {
		position: absolute;
		right: 0;
	}
}



/* -------------------------------------------------------------- 選單健保門診 */
li#menu-item-4227>.sub-menu {
	width: 400px;
}

li#menu-item-4227>.sub-menu>li {
	float: left
}

@media only screen and (max-width: 767px) {

	.v123-RWD-News,
	.v123-home-block-treatment {
		overflow: hidden !important
	}


	.section_wrapper .v123-RWD-News .column.mcb-column,
	.section_wrapper .v123-home-block-treatment .column.mcb-column {
		width: 50% !important;
		clear: inherit !important;
		margin: 0 !important;
		padding: 0 5px 0 !important;
		height: 50% !important;
		box-sizing: border-box !important;
	}

	.section_wrapper .v123-sns-image-m .column.one-third {
		width: 33.3% !important;
		clear: inherit !important;
		margin: 0 !important;
		padding: 0 5px 0 !important;
		height: auto !important;
		box-sizing: border-box !important;
	}

}



/* 修改手機板 icon ================================================ */
#Top_bar a.responsive-menu-toggle {
	width: 110px !important;
	background-color: rgba(86, 54, 8, 1.00);
	text-decoration: none !important;
	border: 2px solid rgba(131, 106, 69, 0.25);
	border-radius: 5px !important;
}

#Top_bar a.responsive-menu-toggle span {
	float: inherit !important
}

/* 修改手機板 icon ================================================ ***/
.v123_head_sns {
	width: 100%;
	background-color: rgba(86, 54, 8, 1.00);
	overflow: hidden;
	padding: 10px 10px 5px;
	box-sizing: border-box;
}

.v123_head_sns .v123-sns-contact {
	float: left;
}

.v123_head_sns .v123-sns-contact div {
	float: left;
	margin: 0;
	padding: 0
}

.v123_head_sns .v123-sns-contact div .icon-phone {
	font-size: 32px;
	color: rgba(255, 255, 255, 1.00);
	font-variant: normal;
	vertical-align: middle;
}

.v123_head_sns .v123-sns-contact div .icon-line {
	font-style: normal;
	font-weight: 400;
	speak: none;
	display: inline-block;
	text-decoration: none !important;
	width: auto;
	margin-right: .2em;
	text-align: center;
	font-variant: normal;
	text-transform: none;
	line-height: 1em;
	margin-left: .2em;
	vertical-align: middle;
}

.v123_head_sns .v123-sns-contact div img {
	width: 32px;
	padding: 0;
	font-variant: normal;
	margin: 0 5px 0 20px !important;
	vertical-align: middle;
}

.v123_head_sns .v123-sns-contact div a.word {
	font-size: 18px;
	color: rgba(255, 255, 255, 1.00);
	margin: auto 10px;
	font-variant: normal;
	vertical-align: middle;
	text-decoration: none
}

.v123_head_sns .v123-sns-icons {
	float: right;
}

@media only screen and (max-width: 767px) {
	.v123_head_sns .v123-sns-contact div {
		clear: left
	}

	.v123_head_sns .v123-sns-contact div .icon-phone {
		font-size: 14px;
	}

	.v123_head_sns .v123-sns-contact div .icon-line {
		width: auto;
	}

	.v123_head_sns .v123-sns-contact div .icon-line img {
		width: 14px;
		margin: 0 !important;
	}

	.v123_head_sns .v123-sns-contact div a.word {
		font-size: 14px;
	}
}

.v123_head_sns .v123-circle-icon:before {
	margin: 0;
	display: inline-block;
}

.v123_head_sns .v123-circle-icon {
	width: 1em;
	height: 1em;

	font-size: 18px;
	padding: .4em;
	text-align: center;
	margin: 0 auto;
	background-color: #221306;
	color: rgba(255, 255, 255, 1.00);
	display: inline-block;
	letter-spacing: normal;
	line-height: 1em;
	vertical-align: middle;
	position: relative;
	overflow: hidden;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	/*
	-webkit-transform: translateZ(0);
    -webkit-mask-image: -webkit-radial-gradient(circle, white 100%, black 100%);
	*/
}

.v123_head_sns .v123-circle-icon img {
	padding: 0;
	margin: 0;
	border: 0;
}

#Top_bar:not(is-sticky) .v123_head_sns {
	position: relative !important;
}

#Top_bar.is-sticky .v123_head_sns {
	display: none !important
}


.header_placeholder {
	display: none
}


#Top_bar {
	position: inherit !important;
	top: 0 !important;
}

@media only screen and (max-width: 767px) {
	#Top_bar {
		min-height: 60px !important;
	}

	#Top_bar .logo h1 {
		text-align: right !important;
		margin-right: 20px !important;
	}

	#Top_bar .logo #logo {
		display: inline-block !important;
	}

	#Top_bar .logo #logo img {
		max-height: 50px !important;
	}
}

@media only screen and (max-width: 767px) {
	#Top_bar .menu>li ul {
		background-color: rgba(86, 54, 8, 1.00) !important;
	}

	#Top_bar .menu>li ul a {
		color: #f4ece5 !important;
	}
}





.Latest_news .ul-first h4 {
	line-height: 1.5em;
	max-height: 3em;
	overflow: hidden;
}

.Latest_news .ul-second h5 {
	line-height: 1.5em;
	max-height: 3em;
	overflow: hidden;
}


.Recent_posts ul li .photo {
	float: left !important;
}

.Recent_posts ul li .desc {
	margin-left: 80px !important;
	margin-right: 0 !important;
}

.Recent_posts ul li a .desc .date {
	display: none;
}