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

*,
*:after,
*:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	margin: 0;
  	padding: 0;
}

/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:before,
.clearfix:after {
	content: " ";
	display: table;
}

.clearfix:after {
	clear: both;
}

html, body {
  	font-size: 100%;
	height:100%;
  	font-family: 微軟正黑體, Roboto, "Varela Round", sans-serif;
	overflow:hidden;
}

a {
    color: #2fa0ec;
    text-decoration: none;
    outline: none;
}


.app_view{
	width:100%;
	height:100%;
	overflow: hidden;
}


.app_user {
	height:70%;
	
}
.app_logo {
  	max-width: 100%;
  	max-height: 100%;
}
.app_name {
  	font-size: 2rem;
  	color: #fff;
  	font-weight: normal;
}
.app_hello {
	padding:1rem 0;
  	font-size: 1.2rem;
  	color: #FFF;
  	font-weight: normal;
}
.app_href {
	position:absolute;
	bottom: 8px;
    right: 8px;
}
.app_href a{
	display: block;
	width:31px;
	height:31px;
    background-color: #E9333A;
    border-radius: 15px;
    color: #FFF;
	line-height: 31px;
}

.app_mlf {
    position:absolute;
    bottom: 8px;
    left: 8px;
}
.app_mlf a{
    display: block;
    width:31px;
    height:31px;
    background-color: #E9333A;
    border-radius: 15px;
    color: #FFF;
    line-height: 31px;
}



.app_top {
	position: relative;
	height: 30%;
	text-align: center;
	background-image: url(../bg.jpg);
	background-size: cover;
	background-position: center;
}
.app_top > div{
	width:100%;
	height:100%;
	background: rgba(0, 0, 0, 0.5);
	    position: relative;
}

.app_bot {
	overflow: hidden;
    position: relative;
    height: 70%;
	width: 100%;
	background: rgba(255, 255, 255, 0.77);
}

.app_bot .frame{
	border: 1px solid rgb(238, 238, 239);
	width: 100%;
	float: left;
	height: 20%;
	font-size: 2rem;
	text-align: center;
	position:relative;
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	/* -webkit-justify-content: center; */
	/* justify-content: center; */
	position: relative;
}
.app_bot .frame:first-child {background-color: #a6cef1;}
.app_bot .frame:nth-child(2){background-color: #79c4ca;}
.app_bot .frame:nth-child(3){background-color: #e8d8b5;}
.app_bot .frame:nth-child(4){background-color: #f1afaf;}
.app_bot .frame:nth-child(5){background-color: #ffdba8;}
.app_bot .frame:nth-child(6){background-color: #d8d4d8;}
.app_bot .frame:nth-child(7){background-color: #C197AA;}
.app_bot .frame:nth-child(8){background-color: #A1C297;}


.app_bot .frame .representative {
	width: 7vh;
	height:0;
	padding-bottom: 7vh;
	margin: 2vh;
	position: relative;
	border: 1px solid #fff;
	border-radius: 50%;
	color: #fff;
	text-align: center;
	/* position: relative; */
	position: absolute;
	bottom: 8px;
	right: 8px;
}
.app_bot .frame .representative i{
	padding: 0vh 0;
	font-size: 4vh;
}
.app_bot .frame .Text {
    font-size: 1.2rem;
    text-align: left;
    width: 100%;
    margin: 2vh;
    color: #000000;
}
.app_bot .frame a {
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	height:100%;
	width:100%;
	font-size:0;
}
.app_user_notif {
	position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    line-height: 1.8rem;
    text-align: center;
    background: #be2626;
    color: #fff;
    font-size: 0.8rem;
}


/*------------------------------------------------------*/
#msg-error {
	width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: fixed;
    top: 0;
    right: 0;
    background-color: rgba(0,0,0,0.75);	
}
.msg-content{
    width: 260px;
    border-radius: 5px;
    z-index: 9999;
    position: absolute;
    left: 50%;
    top: 50%;
	margin-left: -130px;
    margin-top: -71px;
	/*transform: translate(-50%, -50%);*/
	color: #a94442;
    border: 1px solid #a94442;
}
.msg-box {
	padding: 10px;
    margin: 5px;
	background-color: #f2dede;
}
.msg-text {
    font-size: 20px;
    padding: 15px 0;
	text-align: center;
    overflow: hidden;
}
.msg-buttom {
	text-align: center;	
}
.msg-buttom .btn {
    display: inline-block;
    padding: 4px 8px;
	margin: 0 15px;
    margin-bottom: 0;
    font-size: 0.8rem;
    font-weight: normal;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
}


@media (max-width: 768px) {
  	html, body {
    	font-size: 100%;
  	}
}
