/* main */

body,
div {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "微軟正黑體";
}

body {
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

input {
    font-family: "微軟正黑體";
    outline: none;
}

::-webkit-scrollbar {
    width: 0px;
}

::-webkit-scrollbar-track {
    background-color: rgba(0, 0, 0, 0);
    margin-right: 5px;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(153, 102, 51, 1);
    border-radius: 3px;
}

::-webkit-scrollbar-button {
    background-color: rgba(0, 0, 0, 0);
    height: 4px;
}

::-webkit-scrollbar-corner {
    background-color: rgba(0, 0, 0, 0);
}


/* main */


/* page */

.logoframe {
    width: 100vw;
    height: 45px;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 9;
    background: rgba(255, 255, 255, 0.85);
}

.logoframe > div {
    height: 45px;
    width: 35vw;
    background: rgba(51, 153, 255, 1);
    font-size: 30px;
    font-weight: bold;
    line-height: 45px;
    color: rgba(255, 255, 255, 1);
    padding-left: 10px;
    font-style: oblique;
}

.top_side {
    height: 100vh;
    width: 35vw;
    text-align: center;
    padding-top: 60px;
    position: absolute;
    top: 0px;
    left: 0px;
}

.top_side .newsframeback {
    position: absolute;
    bottom: 0px;
    left: 0px;
    background: rgba(51, 153, 255, 1);
    width: 35vw;
    height: 60vh;
}

.newsframe {
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 35vw;
    height: 60vh;
    z-index: 7;
}

.topnewstable {
    color: rgba(255, 255, 255, 1);
    margin-top: 30px;
    line-height: 26px;
}

.topnewstable a {
    color: rgba(255, 255, 255, 1);
}

.topnewstable a:hover {
    color: rgba(255, 204, 0, 1);
}

.topnewstable tr:first-child td {
    border-bottom: rgba(255, 255, 255, 0.7) 5px solid;
}

.topnewstable tr td:first-child {
    width: 22%;
}

.topnewstable tr td:nth-child(2) {
    width: 55%;
}

.menubar {
    width: 35vw;
    height: 45px;
    position: fixed;
    top: 0px;
    right: 20px;
    z-index: 9;
    border-bottom: rgba(51, 102, 255, 1) 1px solid;
    color: rgba(0, 51, 204, 1);
    #color: rgba(51, 153, 255, 1);
    font-size: 18px;
    line-height: 55px;
    text-align: right;
    padding-right: 12px;
}

.menubar a {
    color: rgba(0, 51, 204, 1);
    margin: 0 6px 0 6px;
}

.menubar a:hover {
    text-shadow: rgba(152, 152, 152, 1) 4px 4px 10px;
}

.toptitletext1 {
    position: absolute;
    line-height: 50px;
    width: 550px;
    font-size: 55px;
    font-weight: bold;
    top: 16vh;
    left: 45vw;
    z-index: 5;
    border-bottom: rgba(255, 102, 51, 1) 3px solid;
    text-align: right;
    transform: skewX(-15deg);
    color: rgba(255, 102, 51, 1);
    border-right: rgba(255, 102, 51, 1) 150px solid;
    padding-right: 20px;
}

.toptitletext2 {
    position: absolute;
    line-height: 50px;
    width: 450px;
    font-size: 55px;
    font-weight: bold;
    top: 25vh;
    left: 37vw;
    z-index: 5;
    text-align: left;
    transform: skewX(-15deg);
    color: rgba(255, 102, 51, 1);
    border-left: rgba(255, 102, 51, 1) 20px solid;
    padding-left: 20px;
}

.bottomdiv {
    width: 100vw;
    height: 120px;
    position: absolute;
    left: 0px;
    top: 400vh;
    background: rgba(81, 81, 81, 1)
}

.bottomtext1 {
    color: rgba(255, 255, 255, 1);
    font-size: 22px;
    line-height: 28px;
    position: relative;
    top: 10px;
    left: 10px;
}

.bottomtext2 {
    color: rgba(255, 255, 255, 1);
    font-size: 16px;
    line-height: 24px;
    position: relative;
    top: -45px;
    left: 420px;
    border-left: rgba(255, 255, 255, 1) 2px solid;
    padding-left: 10px;
}

.bottomtext3 {
    color: rgba(255, 255, 255, 1);
    font-size: 16px;
    line-height: 24px;
    position: relative;
    top: -115px;
    left: 820px;
    border-left: rgba(255, 255, 255, 1) 2px solid;
    padding-left: 10px;
}

.bottomtext3 a {
    color: rgba(255, 255, 255, 1);
}

.bottomtext3 a:hover {
    color: rgba(255, 204, 0, 1);
}

.introdiv1 {
    margin: 0 auto;
    width: 70vw;
    border: rgba(51, 153, 255, 1) 7px solid;
    color: rgba(51, 153, 255, 1);
    font-size: 18px;
    padding: 20px;
    border-top-left-radius: 50px;
    border-bottom-right-radius: 50px;
    margin-top: 120vh;
    box-shadow: rgba(183, 183, 183, 1) 6px 6px 15px, rgba(183, 183, 183, 1) 6px 6px 15px inset;
    text-shadow: rgba(183, 183, 183, 1) 6px 6px 15px;
}

.introdiv1 font {
    font-size: 36px;
}

.introdiv1 hr {
    border-bottom: rgba(51, 153, 255, 1) 1px solid;
    box-shadow: rgba(183, 183, 183, 1) 6px 6px 15px;
}

.introdiv2 {
    margin: 0 auto;
    width: 70vw;
    border: rgba(51, 153, 102, 1) 7px solid;
    color: rgba(51, 153, 102, 1);
    font-size: 18px;
    padding: 20px;
    border-top-left-radius: 50px;
    border-bottom-right-radius: 50px;
    margin-top: 10vh;
    box-shadow: rgba(183, 183, 183, 1) 6px 6px 15px, rgba(183, 183, 183, 1) 6px 6px 15px inset;
    text-shadow: rgba(183, 183, 183, 1) 6px 6px 15px;
}

.introdiv2 font {
    font-size: 36px;
}

.introdiv2 hr {
    border-bottom: rgba(51, 153, 102, 1) 1px solid;
    box-shadow: rgba(183, 183, 183, 1) 6px 6px 15px;
}

.formuladiv1 {
    width: 35vw;
    height: 100vh;
    background: rgba(213, 213, 213, 1);
    position: absolute;
    left: 0px;
    top: 200vh;
    padding: 60px 30px 0 30px;
}

.formuladiv1 font {
    font-size: 20px;
    color: rgba(0, 51, 153, 1);
    border-left: rgba(0, 51, 153, 1) 5px solid;
    padding-left: 5px;
}

.formuladiv2 {
    width: 65vw;
    height: 100vh;
    position: absolute;
    left: 35vw;
    top: 200vh;
    text-align: center;
    padding-top: 60px;
}

.formulatable {
    margin-top: 20px;
}

.formulatable tr td {
    border: rgba(51, 153, 255, 1) 1px solid;
    color: rgba(51, 153, 204, 1);
    width: 150px;
    font-size: 20px;
}

.formulatable tr:first-child td {
    background: rgba(51, 153, 255, 1);
    color: rgba(255, 255, 255, 1);
}

.productdiv {
    width: 100vw;
    height: 100vh;
    background: rgba(0, 204, 153, 0.4);
    position: absolute;
    left: 0px;
    top: 300vh;
    padding: 70px 50px 0px 50px;
    overflow-y: scroll;
}

.productdiv > a .item {
    width: 200px;
    height: 270px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(244, 244, 244, 1);
    box-shadow: rgba(153, 153, 153, 1) 8px 8px 15px;
    border-radius: 8px;
    float: left;
    margin: 0 50px 50px 0;
    overflow: hidden;
}

.productdiv > a .item p {
    text-align: center;
    font-size: 18px;
    line-height: 28px;
    height: 28px;
    background: rgba(0, 51, 153, 1);
    color: rgba(255, 255, 255, 1);
    width: 200px;
}

.productdiv > a .item .saleoff {
    background: rgba(255, 0, 51, 1);
    color: rgba(255, 255, 255, 1);
    text-align: center;
    transform: rotate(-35deg);
    font-size: 18px;
    line-height: 36px;
    margin: 180px 0 0 90px;
    width: 150px;
}


/* page */


/* innerpage */

.pagetitle {
    width: 85%;
    margin: 0 auto;
    margin-top: 35px;
    line-height: 55px;
    height: 55px;
    font-size: 36px;
    color: rgba(51, 153, 255, 1);
    border-bottom: rgba(51, 153, 255, 1) 2px solid;
}

.pagecontent {
    width: 85%;
    margin: 0 auto;
    margin-top: 25px;
    font-size: 18px;
    color: rgba(0, 0, 153, 1);
}

/* 20170301 */
.loginframe {
	width:65vw;
	height:100vh;
	position:absolute;
	top:0;
	left:35vw;
	text-align:center;
	padding-top:20vh;
}

.loginframe > input {
	color:rgba(51,153,255,1);
	border:rgba(51,153,255,1) 2px solid;
	width:240px;
	border-radius:5px;
	line-height:46px;
	font-size:26px;
	padding-left:10px;
	margin-bottom:10px;
}

.loginframe > input::-webkit-input-placeholder {
	color:rgba(51,153,255,1);
}

.loginframe > button {
	color:#FFF;
	width:254px;
	border-radius:5px;
	line-height:46px;
	font-size:26px;
	padding-left:10px;
	margin-bottom:20px;
	outline:none;
	border:none;
	background:rgba(51,153,255,1);
}

.loginframe > a div {
	color:#FFF;
	width:254px;
	margin:0 auto;
	border-radius:5px;
	line-height:46px;
	font-size:26px;
	padding-left:10px;
	margin-bottom:0px;
	outline:none;
	border:none;
}

#lastest-news-frame {
    width: 80%;
    height: 80%;
    display: none;
    background: white;
    position: fixed;
    float: left;
    padding: 10px;
    top: 10%;
    left: 10%;
    border: 2px solid #ddd;
    z-index: 999;
    /*overflow-y: scroll;*/
    box-shadow: 0px 0px 20px #999;
    -moz-box-shadow: 0px 0px 20px #999;
    /* Firefox */
    -webkit-box-shadow: 0px 0px 20px #999;
    /* Safari, Chrome */
    border-radius: 3px 3px 3px 3px;
    -moz-border-radius: 3px;
    /* Firefox */
    -webkit-border-radius: 3px;
    /* Safari, Chrome */
}

#mask {
    display: none;
    background: #000;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
    z-index: 10;
}

#close-frame-button {
    position: absolute;
    background: rgb(101, 101, 101);
    color: white;
    /*float: right;*/
    top: 2px;
    right: 3px;
    padding: 2px 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 3px 3px 3px 3px;
    -moz-border-radius: 3px;
    /* Firefox */
    -webkit-border-radius: 3px;
    /* Safari, Chrome */
}

#close-frame-button:hover {
    background: rgba(51, 102, 255, 1);
}

#close-frame-button:active {
    top: 7px;
    opacity: 0;
}
