/*
Theme Name: 	Betheme Child
Theme URI: 		http://themes.muffingroup.com/betheme
Author: 		Muffin group
Author URI: 	http://muffingroup.com
Description:	Child Theme for Betheme - Premium WordPress Theme
Template:		betheme
Version: 		1.6.1
*/

/* Theme customization starts here
-------------------------------------------------------------- */

*,
#Subheader .title,
#Top_bar .menu > li > a span:not(.description)
{
	font-family: "微軟正黑體" !important;
}

body:not(.template-slider) #Header{
    min-height: 0 !important;
}

.view_counter{
	float: right;
}

#Top_bar .menu > li ul{
    background: url('images/hexellence.png') !important;
}

#Top_bar .menu > li > a{
    transform: skew(-10deg);
    border-right: 1px solid #D5D5D5;
    padding: 0 !important;
    margin: 28px 0;
}

#Top_bar .menu > li:last-child > a{
    border: 0;
}

#Top_bar .menu > li > a span:not(.description){
    transform: skew(10deg);
    border: 0;
    line-height: 1;
    padding: 0 10px;
}

#Top_bar .menu > li.mfn-megamenu-parent.hover > a span:after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 42%;
    margin-bottom: -36px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #ebebeb;
    -webkit-transition: all 2s linear;
    -moz-transition: all 2s linear;
    -ms-transition: all 2s linear;
    -o-transition: all 2s linear;
    transition: all 2s linear;
}

#Top_bar.is-sticky .menu > li.mfn-megamenu-parent.hover > a span:after{
    margin-bottom: -15px;
}

.mm-vertical #Top_bar .menu > li > ul.mfn-megamenu{
    box-sizing: border-box;
    border: 5px solid #ebebeb;
}

.mm-vertical #Top_bar.is-sticky .menu > li > ul.mfn-megamenu{
	margin-top: -6px !important;
}

.clear_table,
.clear_table td,
.clear_table th{
    border: 0;
    background: none;
    padding: 0;
    width: auto;
}

table th{
    text-align: left;
    background: none;
    background-color: #73ad43 !important;
    color: #fff !important;
    border-color: #659c38 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

table th h3{
    color: #fff !important;
}

table td{
    text-align: left;
    border-color: #eee;
    vertical-align: top;
}

table td a{
    color: #0d4e8e;
}

table tr:first-child td{
    background: none;
}

.home_box{
    border-radius: 8px;
}

.home_box a{
    text-align: center !important;
    display: block;
    font-size: 16px;
    background-color: #fff;
    box-shadow: 0 2px 3px rgba(0,0,0,0.1);
    color: #000;
}

.home_box a:hover{
    text-decoration: none;
    cursor: pointer;
    background-color: #6cad3e;
    color: #fff;
}

.home_box a .home_box_text{
    padding: 15px 0;
    display: block;
}

.wpb_heading{
    font-size: 24px;
}

.wpcf7,
.wpcf7-form,
.wpcf7 input{
    width: 100%;
}

.new_block_title{
	font-style: italic;
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.4);
}

#Side_slide #menu ul li.submenu .menu-toggle{
    width: 100%;
    text-align: right;
    right: 20px;
}

#Top_bar .search_wrapper{
    background-color: #034483 !important;
}

#Top_bar .search_wrapper,
#Top_bar .search_wrapper i,
#Top_bar .search_wrapper input::placeholder{
    color: #fff !important;
}

#Top_bar .search_wrapper .icon_search, #Top_bar .search_wrapper .icon_close{
    top: 22px;
}

#Top_bar .menu > li > a span.description{
	font-size: 12px;
	margin: 0;
    margin-top: 5px;
}

#Top_bar.is-sticky .menu > li > a span.description{
	display: block !important;
	margin-top: -5px;
}

#Top_bar .menu li ul li a span{
	font-size: 16px;
}

#Top_bar.is-sticky .menu_wrapper .menu > li > a {
    margin: 10px 0 !important;
}

.mm-vertical #Top_bar .menu > li > ul.mfn-megamenu > li a {
    padding: 5px 10px !important;
}

#Top_bar .menu > li > ul.mfn-megamenu a.mfn-megamenu-title{
	border-left: 5px solid #69AA3C;
	color: #00518E;
	margin-bottom: 5px;
}

.product_title{
    text-align: center;
}

.product_title a{
    border-radius: 8px;
    display: block;
    font-size: 24px;
    line-height: 28px;
    padding: 15px;

    background: #9dd53a;
    background: -moz-linear-gradient(top, #9dd53a 0%, #a1d54f 50%, #80c217 51%, #7cbc0a 100%);
    background: -webkit-linear-gradient(top, #9dd53a 0%,#a1d54f 50%,#80c217 51%,#7cbc0a 100%);
    background: linear-gradient(to bottom, #9dd53a 0%,#a1d54f 50%,#80c217 51%,#7cbc0a 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9dd53a', endColorstr='#7cbc0a',GradientType=0 );

    color: #fff;
    text-shadow: 0 2px 3px rgba(0,0,0,0.2);
    font-weight: bold;

    box-shadow: 0 4px 0px 0px #5e8529;
}

.product_title a:hover{
    text-decoration: none;
    color: #fff !important;
    box-shadow:inset 0 4px 0px 0px #5e8529;
}

.custom_lang_switch{
    float: left;
    /*position: absolute;*/
    top: 0;
    right: 0;
    margin-top: -21px;
}

.custom_lang_switch li a{
    border: 1px solid #ebebeb;
    padding: 0 5px;
    font-size: 12px;
    display: block;
    font-weight: bold;
    white-space: nowrap;
    text-align: center;
    margin-bottom:3px;
    background-color: #fff;
}

.custom_lang_switch li a:hover{
	background-color: #fcfbfc;
	text-decoration: none;
}

.website_list{
    margin: 0px !important;
    padding: 0px;
    right: 0;
    position: absolute;
    z-index: 99;
}

.website_list li{
    list-style: none;
}

.website_list li a{
    border: 2px solid #1074b7;
    color: #1074b7;
    padding: 5px;
    font-size: 14px;
    margin-bottom: 5px;
    display: block;
    text-align: center;
    background-color: #fcfcfc;
}

.website_list li a:hover{
    text-decoration: none;
}

.post-meta{
	display: none !important;
}

.serial_link{
	margin-top: -35px;
}

.serial_link ul{
	margin: 0;
	padding: 0;
	border: 1px solid #ebebeb;
	background-color: #fff;
}

.serial_link ul li{
	padding: 0;
	margin: 0px;
	list-style: none;
}

.serial_link ul li:hover{
	background-color: #ebebeb;
}

.serial_link ul li:last-child a{
	border-bottom: 0;
}

.serial_link ul li a{
	width: 100%;
	text-align: center;
	padding: 10px 15px;
	display: table;
	border-bottom: 1px solid #ebebeb;
	font-size: 14px;
    color: #333;
}

.serial_link ul li a .table_left{
	display: table-cell;
	width: 50%;
	text-align: right;
}

.serial_link ul li a .table_right{
	display: table-cell;
	width: 50%;
	text-align: left;
}

.serial_link ul li a:hover{
	text-decoration: none;
}

.wpb_text_column>.wpb_wrapper{
	margin-bottom: 0px !important;
}

.left_logo img{
	height: 220px !important;
    width: auto !important;
}

.question{
	background-color: #fff;
	margin-bottom: 15px;
	box-shadow: 0 5px 10px rgba(0,0,0,0.05);
}

.question_index{
	font-size: 15px;
	background-color: #fff;
	padding: 15px;
	margin-bottom: 15px;
	box-shadow: 0 5px 10px rgba(0,0,0,0.05);
}

.question_head{
	border-bottom: 1px solid #ebebeb;
    margin-bottom: 0px;
    padding: 25px 15px;
	padding-left: 70px;
    font-weight: bold;
    font-size: 24px;
}

.question_head:before{
	content: 'Q';
    position: absolute;
    display: inline-block;
    margin-top: -15px;
	left: 20px;
    width: 50px;
    height: 50px;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    background-color: #f5c501;
	text-align: center;
    line-height: 47px;
	color: #fff;
    font-size: 30px;
}

.question_body{
	padding: 25px 15px;
	padding-left: 70px;
    font-size: 16px;
	margin-bottom: 0px;
}

.question_body:before{
	content: 'A';
    position: absolute;
    display: inline-block;
    margin-top: -10px;
	left: 20px;
    width: 50px;
    height: 50px;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    background-color: #f45b4d;
	text-align: center;
    line-height: 47px;
	color: #fff;
    font-size: 30px;
}

#Top_bar .logo{
	margin: 0 10px;
}

#Top_bar .logo #logo{
	display:inline-block;
	float: left;
	margin-right: 10px;
}

#Top_bar .logo .near_logo{
	display:inline-block;
	float: left;
	padding: 6px 0px;
}

#Top_bar .logo .near_logo img{
	max-width: 130px;
}

@media only screen and (max-width: 540px){
	#Top_bar .logo{
		display: table;
		width: 85%;
	}
	
	#Top_bar .logo #logo{
		display: table-cell;
		vertical-align: middle;
		float: none;
	}

	#Top_bar .logo .near_logo{
		display: table-cell;
		vertical-align: middle;
		float: none;
	}
}

@media only screen and (max-width: 767px){

	.left_logo img{
		height: auto !important;
		width: auto !important;
	}

    #Top_bar a#search_button{
        top: 0;
    }

    .custom_lang_switch{
        position: relative;
        margin-top: 0;
    }

    .custom_lang_switch li{
        float: left;
    }

    .custom_lang_switch li a{
        margin-right: 5px;
    }

    .website_list{
        position: relative;
    }

    .website_list li{
        box-sizing: border-box;
        width: 33.3%;
        float: left;
        padding-right: 5px;
    }

    .website_list li:last-child{
        padding-right: 0;
    }

    .website_list li a{
        font-size: 12px;
    }
	
	.mobile-tb-center #Top_bar .top_bar_right{
		height: 30px !important;
	}
}

@media only screen and (min-width: 1240px) {
    #Top_bar.is-sticky .menu_wrapper .menu > li > a {
        margin: 15px 0;
    }
}