@charset "UTF-8";
/* CSS Document */

body{
       font-size:16px;
}
	
	
.dropbtn {
	display: inline-block;
	/*	width: 100px;  */
	margin-left: 30px;
	font-size: 1em;
	line-height: 60px;
	text-align: center;
	text-decoration: none;
	color: #FFF;
}

.dropdown {
    position: relative;
    display: inline-block;
	/*	width: 100px;  */
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #0C70A0;
    min-width: 180px;
    /*box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);*/
    z-index: 100;
}

.dropdown-content a {
    color: #fff !important;
    text-decoration: none;
    display: block;
	z-index: 100;
	width: auto;
}

.dropdown-content a:hover {
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
   opacity: 0.6;
}



/*----------menu----------*/

.top_menu ol, .top_menu ul {
	list-style: none;
}
	
.nav_menu ol, .nav_menu ul {
	list-style: none;
}


.menu_select_li_s_block {
    display: none;
}

.menu_select_li_s_block_active {
    display: block;
}
.menu_select_main{
    display: inline-block;
    width: 100%;
    line-height: 60px;
    text-align: center;
    text-decoration: none;
    color: #FFF;	
}
.menu_select_s a{
    font-size: 1em;
    color: #f2f2f2;
    line-height: 60px;
}


	
/* --電腦版型------------------------------------- */		
	
	.top_menu h4{
		display: none;
	}
	.nav_menu{
		display: block;
		position: fixed;
		top: -80px;
		/* overflow: hidden; */
		width: 100%;
		margin: 0 auto;
		/*background-color: rgba(0,0,0,0.8);*/
		background-color: #0C70A0;
		padding-top: 0;
		padding-bottom: 2%;
		z-index: 10;
        font-size: 0.9em;
		height: 60px;
		transition: top 0.3s;
		
	}
	.nav_menu_block{
		display: block;
		width: 80%;
		margin: 0px auto;
		text-align: center;
	}
	.nav_menu ul{
		display: inline-block;
		text-align: right;
		float: right;
		height: 60px;
		margin: 0 auto;
		/*padding-left: 5%;*/
		
	}
	.index_cef{
		display: inline-block;
		float: left;
		background-image: url(/s_ymc/images/ymc_logo_w_180.png);
		background-repeat: no-repeat;
		background-size: 40px;
		background-position: left;
		padding-left: 12px;
		/*padding-right: 25px;*/
		
	}
	.index_cef a{
		display: block;
		width: 120px;
		width: 150px;
		font-size: 1em;
		line-height: 60px;
		text-align: center;
		text-decoration: none;
		color: #FFF;
	}
	.index_cef a:hover{
		opacity: 0.6;
	}
	.index_cef2{
		display: none;
	}

	.nav_menu li{
		float: left;
	}
	.nav_menu li a{
		display: inline-block;
		width: 100%;
		margin-left: 30px;
		font-size: 1em;
		line-height: 60px;
		text-align: left;
		text-decoration: none;
		color: #FFF;	
	}

	.nav_menu li a:hover{
		opacity: 0.6;
	}
	.nav_menu li a:selected{
		opacity: 0.6;
	}
	.nav_menu li a:active{
	/* 	background-color: #cdff00;*/
		opacity: 0.6; 
	}
	.menu_nocontent{
		width: 100%;
		height: 80px;
	}


       .nav_menu_mobile{
		display: none;
        }

	

	
/* --平板版型------------------------------------- */
@media screen and (min-width:768px) and (max-width: 1280px) {
	
	*{
		box-sizing :border-box; /* 讓 padding 與 width 解除關係 */
	}
	
	html,body{
		-webkit-text-size-adjust:none; /* iPhone 旋轉後 文字不要放大 */
	}
	.all_content{
		min-width: 320px;
	}
	.index_cef{
		display: none;
	}
	.index_cef2{
		display: inline-block;
		background-image: url(/s_ymc/images/ymc_logo_w_180.png);
		background-repeat: no-repeat;
		background-size: 40px;
		background-position: left;
		padding-left: 15px;
		/*padding-right: 25px;*/
		margin-left: 10%;
	}
	.index_cef2 a{
		display: block;
		width: 120px;
		width: 150px;
		font-size: 1em;
		line-height: 60px;
		text-align: center;
		text-decoration: none;
	    color: #fff;
		z-index: 100;
	}
	.top_menu{
		display: block;
		width: 100%;
		height: 60px;
		/*position: relative;*/ /* 外層相對 */
                position: fixed;
                top: 0;
		background-color: #0C70A0;
                z-index: 10000;
	}
	.top_menu .menu_button{
		display :block;
		width: 60px;
		height: 40px;
		margin-right: 10%;
		background-image: url(/s_ymc/images/14ymc/btn.png);
		position: absolute;  /* 子層絕對 */
		right: 5px;
		top: 10px;
		text-indent: -9999px;
                z-index: 1000;
	}
        .nav_menu{
		display: none;  /* 把主選單先關掉 */
	}

	.nav_menu_block{
                padding: 30px 0;
	}
	
	.menu_nocontent{
		display: block;
                height: 60px;
	}
 






	.nav_menu_mobile{
		width: 100%;
		height: auto; /* 高度自動 */
		background-color: #000;
		z-index: 1000;
		display: none;  /* 把主選單先關掉 */
                position: fixed;
                top: 0;
	}
	
	.nav_menu_mobile ul{
		width: 100%;
		height: auto; /* 高度自動 */
		padding-left: 0;
                margin-top: 60px;
	}
	
	.nav_menu_mobile li{
		width: 100%;
		float: none; /* 取消 float */
	}
	
	.nav_menu_mobile li a{
		display: block;
		width: 100%;
		height: 50px;
		line-height: 50px;
		text-align: center;
		text-decoration: none;
		background-color: #000;
		/*border: 1px solid #FFF;*/
		color: #fff;
		margin-left: 0;
	}


.menu_select_s a{
    font-size: 0.9em;
    color: #ccc;
    line-height: 20px;
}




}


/* --手機版型------------------------------------- */
@media screen and (max-width: 767px) {
	
	*{
		box-sizing :border-box; /* 讓 padding 與 width 解除關係 */
	}
	
	html,body{
		-webkit-text-size-adjust:none; /* iPhone 旋轉後 文字不要放大 */
	}
	.all_content{
		min-width: 320px;
	}
	.index_cef{
		display: none;
	}
     .index_cef2{
		display: block;
		float: left;
		background-image: url(/s_ymc/images/ymc_logo_w_180.png);
		background-repeat: no-repeat;
		background-position: left;
		padding-left: 45px;
		padding-right: 25px;
		margin-left: 5%;
		background-size: 40px;
	}
	.index_cef2 a{
		display: block;
		width: 120px;
		width: 100%;
		font-size: 1em;
		font-size: 12pt;
		line-height: 60px;
		text-align: center;
		text-align: left;
		text-decoration: none;
	        color: #fff;
		z-index: 100;

	}

	.top_menu{
		display: block;
		width: 100%;
		height: 60px;
		/*position: relative;*/ /* 外層相對 */
                position: fixed;
                top: 0;
		z-index: 10000;
		background-color: #0C70A0;
	}
	.top_menu .menu_button{
		display :block;
		width: 60px;
		height: 40px;
		background-image: url(/s_ymc/images/14ymc/btn.png);
		position: absolute;  /* 子層絕對 */
		right: 5%;
		top: 10px;
		text-indent: -9999px;
		z-index: 100;
	}
	.nav_menu{
		width: 100%;
		height: auto; /* 高度自動 */
		background-color: #000;
		z-index: 1000;
		display: none;  /* 把主選單先關掉 */
	}
	
	.nav_menu ul{
		width: 100%;
		height: auto; /* 高度自動 */
		padding-left: 0;
		z-index: 10;
                margin-top: 60px;
	}
	
	.nav_menu li{
		width: 100%;
		float: none; /* 取消 float */
		z-index: 10;
	}
	
	.nav_menu li a{
		display: block;
		width: 100%;
		height: 50px;
		line-height: 50px;
		text-align: center;
		text-decoration: none;
		background-color: #000;
		/*border: 1px solid #FFF;*/
		color: #fff;
		z-index: 10;
		margin-left: 0;
	}

	.menu_nocontent{
		display: block;
                height: 60px;
	}
	.nav_menu_block{
                padding: 30px 0;
	}







	.nav_menu_mobile{
		width: 100%;
		height: auto; /* 高度自動 */
		background-color: #000;
		z-index: 1000;
		display: none;  /* 把主選單先關掉 */
                position: fixed;
                top: 0;
	}
	
	.nav_menu_mobile ul{
		width: 100%;
		height: auto; /* 高度自動 */
		padding-left: 0;
		z-index: 10;
                margin-top: 60px;
	}
	
	.nav_menu_mobile li{
		width: 100%;
		float: none; /* 取消 float */
		z-index: 10;
	}
	
	.nav_menu_mobile li a{
		display: block;
		width: 100%;
		height: 50px;
		line-height: 50px;
		text-align: center;
		text-decoration: none;
		background-color: #000;
		/*border: 1px solid #FFF;*/
		color: #fff;
		z-index: 10;
		margin-left: 0;
	}


.menu_select_s a{
    font-size: 0.9em;
    color: #ccc;
    line-height: 20px;
}



}