﻿@charset "utf-8";
/*2019.09.02 Elison調整Distributor、Sales Rep樣式
    因Distributor資料量大，國巨希望能在一個畫面中顯示更多Distributor資料*/

/*----- Office -----*/
.contact_item_block{
	/*padding: 60px 0 70px 0;*/
	padding-top: 30px;
}

.tab_content .tab_pane{
	display: none;
}
.tab_content .tab_pane.active{
	display: block;
}
/*item list*/
.tab_content{
	overflow: hidden;
}
.common_sel.contact_tab_select {
	width: calc(100% - 150px);
	/*height: 40px;*/
	/*line-height: 24px;*/
    color: #000000;
	background: url(../../images/common/yageo_common_select_icon_b.png) right center no-repeat;
    background-color: #fff;
}
.contact_item_list,
.contact_item_list li{
	display: block;
}
.contact_item_list{
	margin-right: -30px;
}
.contact_item_list li{
	width: 25%;
	float: left;
	padding-right: 30px;
	/*margin-bottom: 30px;*/
	margin-bottom: 15px;
}
.contact_item_list li .content_item_block{
	width: 100%;
	/*height: 560px;*/
	height: 420px;
	border: 1px solid #d2d2d2;
	border-top: 4px solid #e9d764;
	text-decoration: none;
	position: relative;
    transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -webkit-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
}
.contact_item_list li .content_item_block:hover{
	-webkit-box-shadow: 2px 3px 13px rgba(6,0,1,0.3);
    box-shadow: 2px 3px 13px rgba(6,0,1,0.3);
}
.contact_item_list li .content_item_block a.more,
.contact_item_list li .content_item_block .more:after{
    color: #8f9195;
    transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -webkit-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
	
}
.contact_item_list li .content_item_block a.more{
    position: absolute;
    bottom: 15px;
	right: 15px;
	text-decoration: none;
}
.contact_item_list li .content_item_block .more:after{
	font-family: 'FontAwesome';
    content: "\f054";
    font-size: 14px;
	padding-left: 5px;
	display: inline-block;
}
.contact_item_list li .content_item_block a.more:hover{
	text-decoration: underline;
}
.contact_item_list li .content_item_block a.more:hover:after{
	text-decoration: none;
}

/*191021 adjust border-top*/
.content_item_block:before {
    position:absolute; 
    width:100%; 
    padding:0 1px;
    top:-4px; 
    content: '';
    left:-1px;
    background:#e9d764;
    height:4px;
}

.contact_item_list li .img_block{
	height: 170px;
}
/*2019.07.23 Elison調整樣式*/
.contact_item_list.distributors li .img_block{
	padding: 0px 10px 0;
	height: 80px;
	justify-content:flex-start;
}
/*2019.07.23 Elison調整樣式*/
.contact_item_list.distributors li .img_block img{
	max-height: 100%;
    max-width: 100%;
}
.contact_item_list li .content_block{
	padding: 0 10px 15px;
	/*margin-top: 22px;*/
	/* margin-top: 5px; */
}
.contact_item_list li .content_item_block h2{
	/*font-size: 20px;*/
	font-size: 18px;
	/*line-height: 30px;*/
	line-height: 24px;
	color: #000;
	/*max-height: 60px;*/
	max-height: 54px;
	overflow: hidden;
	/*margin-bottom: 26px;*/
	margin-bottom: 5px;
}
.contact_item_list li .content_item_block .sub_title{
	color: #707070;
	/*height: 115px;*/
	font-size: 14px;
	line-height: 21px;
	height: 84px;
	overflow: hidden;
	/*margin-bottom: 50px;*/
	margin-bottom: 5px;
}
.contact_item_list li .content_item_block .text_block{
	color: #000;
	font-size: 16px;
	max-height: 96px;
	overflow: hidden;
}
.contact_item_list li .content_item_block .text_block.add_maxh{
	max-height: 104px;
}
.contact_item_list li .content_item_block .text_block p{
	font-size: 14px;
	line-height: 21px;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
}
.contact_item_list li .content_item_block .text_block p i{
	color: #898989;
	padding: 3px;
	width: 30px;
}
.contact_item_list li .content_item_block .text_block p.mail{
	font-size: 16px;
	color: #e98121;
}
.contact_item_list li .content_item_block a{
	color: #e98121;
	text-decoration: none;
	font-size: 14px;
	line-height: 21px;
}
.contact_item_list li .content_item_block a:hover{
	text-decoration: underline;
}
.tab_select_block{
	display: flex;
	background: #eceff1;
	/*padding: 30px;*/
	padding: 15px 30px;
	/*margin-bottom: 60px;*/
	margin-bottom: 20px;
}
.tab_select_note{
	width: 160px;
	font-size: 16px;
	line-height: 32px;
	color: #e98121;
}
/*邊框效果*/
.index-border-area {
    padding: 0;
    background: transparent;
    outline: none !important;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    pointer-events: none;
    /*cursor: pointer;*/
}
.index-border {
    padding: 0;
    border: none;
	top: 0;
	left: -1px;
	position: absolute;
    width: 100%;
    width: -webkit-calc(100% + 2px);
	width: -moz-calc(100% + 2px);
	width: calc(100% + 2px);
    height: 100%;
    height: -webkit-calc(100% + 1px);
	height: -moz-calc(100% + 1px);
	height: calc(100% + 1px);
    /*line-height: 42px;*/
}
/*左框*/
.index-border:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
	background: #e9d764;
    height: 0%;
    width: 4px;
    /*move out*/
    transition: all 0.2s ease 0;
}
.contact_item_list li .content_item_block:hover .index-border:before {
    height: 100%;
    /*move in*/
    transition: all 0.2s ease 0.6s;
}
.index-border span {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}
.index-border span:before,
.index-border span:after {
    content: "";
    position: absolute;
    background: #e9d764;
}
/*下框*/
.index-border span:after {
	width: 0%;
	height: 4px;
	right: 0;
    bottom: 0;
	/*move out*/
	transition: all 0.2s ease 0.2s;
}
.contact_item_list li .content_item_block:hover .index-border span:after {
    width: 100%;
    /*move in*/
    transition: all 0.2s ease 0.5s;
}
/*右框*/
.index-border span:before{
    width: 4px;
    height: 0%;
    right: 0;
    top: 0;
	/*move out*/
    transition: all 0.2s ease 0.4s;

}
.contact_item_list li .content_item_block:hover .index-border span:before {
    height: 100%;
    /*move in*/
    transition: all 0.1s ease 0;
}


@media screen and (max-width: 1100px){
	.contact_item_list li{
		width: 33.33%;
	}
}
@media screen and (max-width: 768px){
	.contact_item_list li{
		width: 50%;
	}
	.tab_select_block{
		flex-wrap: wrap;
		/*padding: 24px 10px;*/
		padding: 20px 10px;
		/*margin-bottom: 30px;*/
		margin-bottom: 20px;
	}
	.common_sel.contact_tab_select{
		width: 100%;
	}
	.tab_select_note {
	    font-size: 16px;
	    line-height: 24px;
	    margin-bottom: 10px;
	    margin-top: -5px;
	}
}
@media screen and (max-width: 600px){
	.contact_item_list li{
		width: 100%;
	}
	.contact_item_list li .content_item_block{
		width: 280px;
		margin-right: auto;
		margin-left: auto;
	}
}


/* ----- Distributors ----- */

/*filter*/
.filter_select_block{
	display: flex;
	flex-wrap: wrap;
	background: #eceff1;
	/*padding: 30px;*/
	padding: 15px 30px;
	/*margin-bottom: 0px;*/
	margin-bottom: 20px;
}
.filter_select_note{
	font-size: 16px;
	/*line-height: 36px;*/
	line-height: 32px;
	color: #e98121;
	margin-right: 20px;
}
.filter_select_block .one{
	width: 38.182%;
}
.filter_select_block .two{
	width: calc(100% - 38.182%);
}
.filter_select_block .two > div{
	width: 50%;
    justify-content: flex-end;
}
.filter_select_block .three{
	width: 100%;
}
.filter_select_block .one,
.filter_select_block .two,
.filter_select_block .two > div,
.filter_select_block .three{
	display: flex;
}
.filter_select_block .two .filter_select_note{
	margin-left: 20px;
}
.filter_select_block .three .filter_select_note{
	width: 75px;
}
.filter_select_block .one .contact_tab_select{
	width: 300px;
	max-width: 70%;
	margin-right: 40px;
}
.filter_select_block .two .contact_tab_select{
	width: 270px;
	max-width: 75%;
	margin:0 0 30px 0;
	margin-bottom: 15px;
}
.filter_select_block .common_sel.dis{
	opacity: 0.6;
	filter:Alpha(opacity=60);
}
.filter_select_block .three .contact_tab_select{
	width: calc(100% - 95px);
	max-width: 100%;
}
/*items*/
.item_block .items{
    border-bottom: 1px solid #d2d2d2;
	padding: 0 0 110px;
	padding-bottom: 20px;
}
.item_block .items:not(:first-child){
	/*padding-top: 80px;*/
	padding-top: 20px;
}
.item_block .items:last-child{
	border:none;
	padding-bottom: 0;
}
.item_block .top_block{
	display: flex;
	align-items: center;
}
.item_block .top_block div{
	width: 270px;
	height: auto;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	padding: 60px 80px 60px 0;
	padding-top: 40px;
	padding-bottom: 40px;
}
.item_block .top_block div image{
	flex-shrink: 0;
}
.item_block .top_block p i{
	font-size: 16px;
	color: #898989;
	padding-right: 5px;
}
.item_block .top_block p a{
	font-size: 16px;
	color: #e98121;
	text-decoration: none;
}
.item_block .contact_item_list li .content_item_block{
	/*height: 440px;*/
	height: 330px;
}
@media screen and (max-width: 768px){
	.filter_select_block{
		/*padding: 8px 10px 22px 10px;*/
		padding: 10px 10px 20px 10px;
	}
	.filter_select_block .one,
	.filter_select_block .two,
	.filter_select_block .three{
		flex-wrap: wrap;
		width: 100%;
	}
	.filter_select_block .two .contact_tab_select,
	.filter_select_block .one .contact_tab_select{
		width: 100%;
		max-width: 100%;
		margin: 0 0 10px 0;
	}
	.filter_select_block .two .filter_select_note {
	    margin-left: 0;
	}
	.filter_select_block .three .contact_tab_select{
		width: 100%;
	}
	.filter_select_block .two > div{
		width: 100%;
    	flex-wrap: wrap;
    	justify-content: flex-start;
	}
	.item_block .top_block{
		flex-wrap: wrap;
		margin-bottom: 30px;
	}
	.item_block .top_block div {
	    width: 100%;
	    padding: 60px 0 20px 0;
	}
	.item_block .items:not(:first-child) {
	    padding-top: 20px;
	}
	/*.item_block .items {
	    padding: 0 0 50px;
	}*/
}
.globe {
    width:30px;
    padding:3px;
    line-height:24px;
}

