@charset "utf-8";
/* CSS Document */

/* v1.0 | 20080212 */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align:middle;
}

ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

/* remember to define focus styles! */
:focus {
    outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
    text-decoration: none;
}
del {
    text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
    border-collapse: collapse;
    border-spacing: 0;	
}

img {
    display: block;
}

video {
    display: block;
	border: 0;
}


/*	若未定義的物件,則以此定義作為準則
	內距padding
	邊界margin
*/
*{
	padding:0;
	margin:0;
}

html{
	min-height:100%;
	height: 100%;
	behavior:url("../../../video/zh/css/csshover3.htc");

}

body{
	margin: 0;
	padding: 0;
	min-height:100%;
	height: 100%;
	width:100%;
}


.container {
	display: block;
	margin: 0 auto;
	width: 82%;
    height: auto;
	overflow: hidden;
}


.menuall {
	display: flex;
	position: absolute;
	bottom: 0;
	width: 100%;
    height: auto;
	align-content: space-between;
	align-items: stretch;
	z-index: 9999;
}


.menu {
	display: block;
    height: auto;
}

    .menu img {
	    display: block;
	    width: 100%;
        height: auto;
    }

.menusub1 {
	display: none;
	position: absolute;
	width: 100%;
	bottom: 0;
	overflow: hidden;
	background: ;
	z-index: 1000;
}

    .menusub1 img {
	    display: block;
	    width: 100%;
        height: auto;
    }

.sub_t {
	display: flex;
	position: relative;
	width: 100%;
	overflow: hidden;
	z-index: 9999;
}

    .sub_t img {
	    display: block;
	    width: 100%;
		cursor: pointer;
    }


.sub_b {
	display: block;
	position: relative;
	width: 100%;
	height: auto;
	bottom: 0;
	overflow: hidden;
	z-index: 1;
}

    .sub_b img {
		display: block;
	    width: 100%;
		height: auto;
    }


.menusub2 {
	display: none;
	position: absolute;
	width: 100%;
	bottom: 0;
	overflow: hidden;
	background: ;
	z-index: 1000;
}

    .menusub2 img {
	    display: block;
	    width: 100%;
        height: auto;
    }



.control {
	display: block;
	position: absolute;
	margin: 0 auto;
	top: -66px;
	width: 100%;
    height: 35px;
	background: rgba(0,0,0,0);
	cursor: pointer;
    opacity: 1;
	z-index: 999;
}

.control:hover {
	opacity: 1;
}



@-webkit-keyframes fadeIn {
    from { opacity: 1; }
      to { opacity: 1; }
}
@keyframes fadeIn {
    from { opacity: 1; }
      to { opacity: 1; }
}

.control:hover .sub-menu {
  display: block;
  -webkit-animation: fadeIn 0.25s; 
  animation: fadeIn 0.25s; 
  z-index: 999;
}


.control:hover .sub-menu {
  display: block;
  -webkit-animation: fadeIn 0.25s; 
  animation: fadeIn 0.25s; 
  z-index: 999;
}


.sub-menu {
	display: block;
	position: absolute;
	width: auto;
	/* top: 0; */
	/* right: 1em; */
	cursor: default;
	/* transform:translateY(-10px);*/
}

.sub-menudivall {
	display: flex;
	margin: 0 auto;
	width: 100%;
	justify-content: center;
	flex-wrap: nowrap;
}

.sub-menudiv {
	display: block;
	margin: 0;
	padding: 0 ;
	cursor: pointer;
}

.sub-menudiv:active {
	transform: translateY(2px);
}


.sub-menudiv img{
	display: block;
	opacity: 1;
}






	@media screen and (max-width: 1024px) {

			.container {
				overflow-x: hidden;
				width: 78%;
			}
		
			.sub-menu {
				transform:translateY(-15px);
			}
		
			.sub-menudiv {
				display: block;
				width: 35px;
			}
		
			.sub-menudiv img {
				display: block;
				width: 100%;
				height: auto;
			}	
		
	}

/* mobile */

	@media screen and (max-width: 980px) {

			.container {
				overflow-x: hidden;
				width: 76%;
			}
	}


	@media screen and (max-width: 840px) {

			.container {
				overflow-x: hidden;
				width: 77.5%;
			}
	}


	@media screen and (max-width: 800px) {

			.container {
				overflow-x: hidden;
				width: 73%;
			}
	}


	@media screen and (max-width: 600px) {

			.container {
				overflow-x: hidden;
				width: 100%;
			}
		
			.sub-menu {
				transform:translateY(-10px);
			}
		
			.sub-menudiv {
				display: block;
				width: 30px;
			}
		
			.sub-menudiv img {
				display: block;
				width: 100%;
				height: auto;
			}	
		
	}



