/*指定.table區域的scrollbar*/
.map_wrap_l::-webkit-scrollbar {
    background-color: #EBEBEB;
    width: 13px;
    height: 10px;
    background-clip: padding-box;
}

.map_wrap_l::-webkit-scrollbar-button {
    background-color: #EBEBEB;
}

.map_wrap_l::-webkit-scrollbar-thumb {
    background-color: #CFCFCF;
    border-radius: 5px;
}

.map_wrap_l::-webkit-scrollbar-corner {
    background-color: #CFCFCF;
}

#map{
    width: 100%;
    height: 500px;
    position: relative;
    overflow: hidden;
}

.content {
	background-image: url('../images/萬國-觀光工廠-bg-inside-5.png'), url('../images/萬國-聯絡我們-bg-inside-2.png'), url('../images/萬國-聯絡我們-bg-inside-1.png'), url('../images/20200819-萬國網站-聯絡我們-bg-s.png');
	background-size: 12vw auto, 8vw auto, 12vw auto, auto auto;
	background-repeat: no-repeat, no-repeat, no-repeat, repeat; 
	background-position: 5% 95%, 5% 120px, 102% 120px, 50% center;
	padding-top: 100px;
}

.content h2{
    text-align: center;
}

.img-wrapper{
    width: 100%;
    float: left;
    margin-bottom: 60px;
}

.img-wrapper img{
    width: 100%;
}
.img-wrapper .pc{
    display: none;
}
.img-wrapper .mobile{
    display: block;
}

.item-wrapper{
    width: 100%;
    float: left;
}

.form-group label{
    white-space: nowrap;
}




.gm-style-iw-d h3{
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.gm-style-iw-d .addr,.gm-style-iw-d .tel,.gm-style-iw-d .fax,.gm-style-iw-d .email{
    float: left;
    width: 100%;
    font-size: 1rem;
    line-height: 1.2rem;
}
.gm-style-iw-d .gotomap,.gm-style-iw-d .link{
    float: left;
    width: 100%;
    font-size: 1rem;
    padding-bottom: 7px;
    color: #6BA8CE;
}


/*多地圖*/
.map_wrap{
    width: 100%;
    position: relative;
    float: left;
}


.map_wrap_l{
    position: relative;
    float: left;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    margin-top: 60px;
    border-top: solid 2px #ccc;
}

.map_wrap .select{
    position: relative;
    float: left;
    top: 0px;
    left: 0px;
    width: 100%;
    z-index: 999;
}



.map_wrap .select select{
    /*移除箭頭樣式*/
    appearance:none;
    -moz-appearance:none;
    -webkit-appearance:none;

    display: inline-block;
    background-color: #9C9C9C;
    color: #ffffff;
    font-size: 1.2rem;
    padding: 6px 15px;
    margin-bottom: 20px;
    cursor: pointer;
    float: left;
    width: 100%;
    height: 50px;
}


.map_wrap .select select option{
    background-color: #fff;
    color: #000;
}

.map_wrap .select::before {
    position: absolute;
    top: 1.2em;
    right: 2em;
    width: 0;
    height: 0;
    padding: 0;
    content: '';
    border-left: .45em solid transparent;
    border-right: .45em solid transparent;
    border-top: .575em solid #ffffff;
    pointer-events: none;
}


.map_wrap .location_wrap{
    position: relative;
    width: 100%;
    height: 300px;
}

.map_wrap .location_wrap ul{
    padding: 18px 20px;
}

.map_wrap .location_wrap ul li{
    list-style: none;
    padding: 20px 0;
    border-bottom: solid 1px #ccc;
}


.map_wrap .location_wrap ul li:nth-last-child(1){
    border-bottom: none;
}


.map_wrap .location_wrap ul li h3{
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.new_contact_form_format {
	width: 90%;
	display: flex;
	flex-direction: column;
	margin-right: 5%;
	margin-left: 5%;
}

.contact_info_div {
	width:26%;
	background-color: white;
	border-left: 10px solid #FABF1F;
	/* margin-top: 60px; */
	margin-right: 30px;
	padding: 4% 2% 4px 2%;
	box-sizing: content-box;
	margin-left: auto;
	margin-right: auto;	
}

.contact_logo {
	width: 100%;
}

.contact_info_key {
	font-size: 1.5rem;
	font-weight: bold;
	letter-spacing: 4px;
	margin-top: 3vh;
}

.contact_info_value {
	font-size: 1rem;
}

.contact_info_value:last-of-type {
	margin-bottom: 5vh;
}

.contact_fb {
	width: 20%;
	margin-right: 3%;
}

.contact_logo2 {
	width: 70%;
}

.shop-option-wrapper {
	background-color: #DDDDDD;
	padding: 4%;
	width: 76%;
	margin-bottom: 0px;
	display: none;
}

.form-group {
	background-color: white;
	padding-top: 5px;
	border: 2px solid #CACACA;
}

.form-group.inline {
	display: inline-block;
	width: 51%;
}

.form-group.inline:first-of-type {
	margin-right: 2%;
}

.form-group.inline:nth-of-type(2) {
	float:right;
}
	
.form-group.inline label {
	width: 34.5%;
}

.cd-form input[type="text"], .cd-form input[type="email"], .cd-form textarea, .cd-form select {
	border: none;
	border-left: 2px solid #DDDDDD;
	box-shadow: none;
}

.cd-form select {
	width: 100%;
}

.contact .btn-basic.pri {
	float: right;
	width: 30%;
	padding-top: 4px;
	padding-bottom: 4px;
	margin-right: -15px;
}

@media only screen and (min-width: 990px) {
#map{
    width: calc(100% - 400px);
    height: 500px;
    margin-left: 400px;
    position: relative;
    overflow: hidden;
}

.map_wrap_l{
    position: absolute;
}

.map_wrap_l{
    width: 400px;
    margin-top: 0px;
    border-top: solid 1px #ddd;
    border-bottom: solid 1px #ddd;
}

.map_wrap .select{
    width: 400px;
}
.map_wrap .location_wrap{
    width: 400px;
    height: 100%;
}


}

@media only screen and (min-width: 1025px) {
.img-wrapper{
    width: 45%;
    margin-right: 5%;
    margin-bottom: 0px;
}

.item-wrapper{
    /* width: 50%; */
    width: 70%;
}


.img-wrapper .pc{
    display: block;
}
.img-wrapper .mobile{
    display: none;
}
}

@media only screen and (max-width: 990px) {
	.new_contact_form_format {
    	flex-direction: column;
	}
	
	.contact_info_div {
    	width: 90%;
	}
	
	.shop-option-wrapper {
    	width: 97%;
    	margin-top: 5vh;
	}	
}

@media only screen and (max-width: 400px) {
	.page_second_header {
		width: 90%;
		font-size: 1.2rem;
	}
	
	.page_second_content {
		width: 90%;
		font-size: 0.9rem;
	}
	
	.new_contact_form_format {
		flex-direction: column;
	}
	
	.contact_info_div {
		width: 90%;
	}	
	
	.contact_info_value {
		line-height: 1.5rem;
	}
	
	.shop-option-wrapper {
		width: 97%;
		margin-top: 5vh;
	}
	
	.form-group {
		padding-top: 0px;
		padding-bottom: 10px;
		margin-right: 0px;
		margin-left: 0px;
	}
	
	.form-group.inline {
		width: 49%;
	}
	
	.cd-form input[type="text"], .cd-form input[type="email"], .cd-form textarea, .cd-form select {
		border: 1px solid #DDDDDD;
		font-size: 0.9rem;
	}
	
	.contact .btn-basic.pri {
		margin-right: 0px;
	}
}
