/* ==========================================================================
   BASE
   ========================================================================== */
* {
	margin: 0;
	padding: 0;
	outline : none;
}

html {
	touch-action:manipulation;
}

html, body {
	height: 100%;
}

body { 
	top: 0;
	left: 0;
	right: 0;
	color: #000;
	font-family: "Microsoft JhengHei", "微軟正黑體", Arial;
	font-size: 14px;
	background-color: #F9F9F9;
}

#layer, #layer_loading {
	position: fixed;
	left: 0px;
	right: 0px;
	top: 0px;
	bottom: 0px;
	background: rgb(0, 0, 0);
	z-index: 99999;
	opacity: 0.9;
	color:#000;
	display:none
}

.layer_content, .layer_content_loading {
	padding: 0 10px 0 10px;
	max-width: 100%;
	max-height: 100px;
	border: 0;
	position:absolute;
	left:0%;
	top:50%;
	margin-top:-50px;
	/*margin-left:-50px;*/
	text-align: center;
 	border-radius: 8px;
 	left: 50%;
 	transform: translate(-50%, -50%);
 	width: 100%;
}

.layer_content {
 	font-size: 16px;
 	color:#fff;
}

#layer button {
 	cursor:pointer;
	color: #000;
 	max-width:100%;
 	height: 20px;
 	padding: 0 10px 0 10px;
 	color: #000;
 	background-color: #ccc;
 	border: 1px solid #ccc;
 	border-radius: 8px;
	font: 400 13px/18px "Ubuntu Condensed",sans-serif;
}

.menu-btn {
    color: #000;
    cursor: pointer;
}

a, button {
	outline: none;
}

a:link {
	color: #2259BE;
	text-decoration: none;
}
a:visited {
	color: #2259BE;
	text-decoration: none;
}
a:hover {
	color: #2259BE;
	text-decoration: none;
}
a:active {
	color: #000;
	text-decoration: none;
}

.space1 {
	height: 1px;
}
.space2 {
	height: 2px;
}
.space5 {
	height: 5px;
}
.space10 {
	height: 10px;
}
.space15 {
	height: 15px;
}
.space20 {
	height: 20px;
}
.space30 {
	height: 30px;
}
.space40 {
	height: 40px;
}
.space50 {
	height: 50px;
}

/* ==========================================================================
   TIME PICKER
   ========================================================================== */

.timepicker {
	position: absolute;
	z-index: 1000;
	float: left;
	width: 160px;
	padding-bottom: 5px;
	margin: 2px 0 0 0;
	list-style: none;
	font-size: 14px;
	text-align: center;
	background-color: #fff;
	border: 1px solid #ccc;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 4px;
	-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
	background-clip: padding-box;
}

.timepicker .text {
	width: 100% !important;
}


/* ==========================================================================
   MAIN
   ========================================================================== */

.main_wrapper {
	display: inline-block;
	width: 100%;
	/*height: 100%;*/
	background-color: #F9F9F9;
}

.main_wrapper .col-1 {
	display: inline-block;
	width: 15%;
	height: 100%;
	float: left;
	border-bottom: 1px solid #eeeeee;
	border-radius: 0 0 20px 0;
	border-right: 1px solid #eeeeee;
	background-color: #FFFFFF;
}

.main_wrapper .col-2-main {
	width: calc(100% - 15% - 1px);
	display: inline-block;
	overflow: auto;
	height: 100%;
	min-height: 400px;
	background-color: #F9F9F9;
}

.main_wrapper .col-2 {
	display: inline-block;
	width: 100%;
	/*width: calc(100% - 15% - 1px);
	height: 100%;*/
	float: right;
	background-color: #F9F9F9;
}

.menu, #more_page {
    cursor: pointer;
}

.fa-chevron-down {
    font-size: 12px;
    margin: 0 0 0 3px;
    display: inline-block;
    transition: -webkit-transform .25s ease;
    transition: transform .25s ease;
    transition: transform .25s ease,-webkit-transform .25s ease;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);

}

.sub_menu {
    display: none;
}

.main_wrapper .col-1 .username {
    font-size: 16px;
    font-weight: bold;
    color: #342F58;
}

.main_wrapper .col-1 .email {
    font-size: 14px;
    color: #9B94C0;
}

.main_wrapper .col-1 > div:first-of-type {
    padding-top: 30px;
    text-align: center;
}

.main_wrapper .col-2 > div:first-of-type {
    padding: 28px 30px 0 30px;
}

.main_wrapper .col-2 > div:first-of-type > div:first-of-type,
.main_wrapper .col-2 > div:first-of-type > div:nth-child(3),
.main_wrapper .col-2 section > div:first-of-type {
    font-size: 28px;
    font-weight: bold;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main_wrapper .col-2 > div:first-of-type > div:nth-child(3) {
    font-size: 14px;
}

.main_wrapper .col-2 section > div:first-of-type {
    font-size: 18px;
}

.main_wrapper .col-2-main .col-2 .title {
    font-size: 28px;
    font-weight: bold;
    color: #000;
    align-items: center;
    justify-content: space-between;
}

.main_wrapper .col-2 section {
    border-radius: 25px;
    background-color: #fff;
    padding: 25px;
}

.main_wrapper .col-2 section input[type=radio] {
    margin: 0 .4rem 0 0;
}

.main_wrapper .col-1 .menu {
    width: 80%;
    height: 50px;
    line-height: 50px;
    border-radius: 25px;
    color: #2259BE;
    font-weight: bold;
    font-size: 15px;
    margin: 0 auto;
    text-align: left;
}

.main_wrapper .col-1 .sub-menu {
    width: 65%;
}

.main_wrapper .col-1 .highlight {
    background-color: #E5EEFF;
}

.main_wrapper .col-1 .menu div {
	display: inline-block;
}

.main_wrapper .col-1 .sub {
    padding-left: 50px;
}

.main_wrapper .sub .menu > div:nth-child(2) {
    width: calc(100% - 20% - 10px) !important;
}

/*
.main_wrapper .col-1 .menu i {
    vertical-align : middle;
}
*/

.main_wrapper .col-1 .menu > div:first-of-type {
    width: 20%;
    text-align: right;
}

.main_wrapper .col-1 .menu > div:nth-child(2) {
	width: calc(100% - 40% - 10px);
	padding-left: 10px;
}

.main_wrapper .col-1 .menu > div:nth-child(3) {
    width: 20%;
}

.btn_submit {
    color: rgb(255,255,255);
    background-color: #13b441;
    letter-spacing: .010em;
    display: inline-block;
    position: relative;
    cursor: pointer;
    min-height: 27px;
    min-width: 66px;
    line-height: 27px;
    vertical-align: middle;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    text-align: center;
    border-radius: 2px;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    outline: 0;
    border: 0;
    padding: 0 6px;
    margin: 6px 8px;
    white-space: nowrap;
    font-weight: 500;
    font-size: 14px;
    font-style: inherit;
    font-variant: inherit;
    font-family: inherit;
    text-decoration: none;
    overflow: hidden;
    -webkit-transition: box-shadow .4s cubic-bezier(.25,.8,.25,1),background-color .4s cubic-bezier(.25,.8,.25,1);
    transition: box-shadow .4s cubic-bezier(.25,.8,.25,1),background-color .4s cubic-bezier(.25,.8,.25,1);
}

.btn_submit:not([disabled]) {
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.26);
}

.btn_delete {
    background-color: #FF0000;
}

#menu_settings {
    display: none;
}

select, #more_page {
    width: 130px;
    height: 30px;
    line-height: 30px;
    border-radius: 25px;
    color: #2259BE;
    font-weight: bold;
    font-size: 15px;
    text-align: center;
    background-color: #fff;
    border: 1px solid #eee;
    padding: 0 10px 0 10px;
    border: 1px solid #dfdfdf;
}

select {
    -moz-appearance:none; /* Firefox */
    -webkit-appearance:none; /* Safari and Chrome */
    appearance:none;
    background: transparent;
    background-image: url("data:image/svg+xml;utf8,<svg fill='blue' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position-x: 95%;
    background-position-y: 2.5px;
}

.nav_btn {
    border: 1px solid #999;
    border-bottom: 0;
    background-color: #fff;
    padding: 8px;
    border-radius: 5px 5px  0 0;
    cursor:pointer;
    color: #666;
}

.nav_btn_over {
    background-color: #999;
    color: #fff;
}

.nav_hr {
    border: 1px solid #999;
}

.page {
    display: none;
}

@media only screen and (max-width: 1280px) {
	textarea {
		width: 100%;
	}
}


/* ==========================================================================
   Multiple Select
   ========================================================================== */
.ms-parent, .ms-choice {
    width: 200px;
    height: 30px;
    line-height: 30px;
    border-radius: 25px;
    color: #2259BE;
    font-weight: bold;
    font-size: 15px;
    text-align: center;
    background-color: #fff;
    border: 1px solid #eee;
    padding: 0 10px 0 10px;
    border: 1px solid #dfdfdf;
}


.ms-parent {
    width: 200px !important;
    padding: 0 !important;
    background-color: #F9F9F9 !important;
}

.ms-choice {
    height: 30px !important;
    border: 0 !important;
    line-height: 30px !important;
    border-radius: 0 !important;
    color: #2259BE !important;
    text-align: center !important;
    background: transparent !important;
}

.ms-choice>div.icon-caret {
    border-color: #2259BE transparent transparent transparent !important;
}

.ms-drop.bottom {
    text-align: left;
}

.ms-drop input[type="radio"], .ms-drop input[type="checkbox"] {
    margin-top: 0.55rem !important;
}

.ms-drop {
    color: #2259BE !important;
}


@media only screen and (max-width: 800px) {
	.main_wrapper .col-1 {
		-webkit-transform: translateX(-300px);
		transform: translateX(-300px);
		/*
		-webkit-box-flex: 0;
		-ms-flex: 0 0 300px;
		flex: 0 0 300px;
		*/
		width: 300px;
		border-left: 0;
		color: rgba(12,18,28,.87);
		transition-duration: .3s;
		border-right: 1px solid rgba(22,25,30,.12);
		left: 0;
		height: 100vh;
		overflow-y: scroll;
		position: fixed;
		top: 0;
		z-index: 9999;
		padding-top: 48px;
		display: initial;
		max-width: none;
		min-width: 0;
		background-color: #fff;
		box-shadow: none;
		padding-bottom: 72px;
		background: #fff;
		box-sizing: border-box;
		transition: all .2s ease;
		overflow-x: hidden;
	}
	.main_wrapper .col-2-main, .main_wrapper .col-2 {
		width: 100%;
	}
	#menu_settings {
		display: block;
	}
	.main_wrapper .col-2 > div:first-of-type > div:first-of-type, .main_wrapper .col-2 section > div:first-of-type {
		font-size: 20px;
	}
}

@media only screen and (min-width: 801px) and (max-width: 950px) {
	.main_wrapper .col-1 {
		width: 35%;
		transform: translateX(0) !important;
	}
	.main_wrapper .col-2-main {
		width: calc(100% - 35% - 1px);
	}
	.main_wrapper .col-2 {
		width: 100%;
		/*width: calc(100% - 35% - 1px);*/
	}
	
}

@media only screen and (min-width: 951px) and (max-width: 1150px) {
	.main_wrapper .col-1 {
		width: 30%;
		transform: translateX(0) !important;
	}
	.main_wrapper .col-2-main {
		width: calc(100% - 30% - 1px);
	}
	.main_wrapper .col-2 {
		width: 100%;
		/*width: calc(100% - 20% - 1px);*/
	}
}

@media only screen and (min-width: 1151px) and (max-width: 1400px) {
	.main_wrapper .col-1 {
		width: 25%;
		transform: translateX(0) !important;
	}
	.main_wrapper .col-2-main {
		width: calc(100% - 25% - 1px);
	}
	.main_wrapper .col-2 {
		width: 100%;
		/*width: calc(100% - 20% - 1px);*/
	}
}

@media only screen and (min-width: 1401px) and (max-width: 1850px) {
	.main_wrapper .col-1 {
		width: 20%;
		transform: translateX(0) !important;
	}
	.main_wrapper .col-2-main {
		width: calc(100% - 20% - 1px);
	}
	.main_wrapper .col-2 {
		width: 100%;
		/*width: calc(100% - 20% - 1px);*/
	}
}

