/** 
 * Copyright (C) Qian Chia Studio. All rights reserved.
 * Created by Qian Chia on 09/28/2022.
 */

/**
 * color
 */

:root {
	--theme-color: #01AE66;	/* #01AE66  #2D5AFF */
	--main-color : #535763;
	--sub-color  : #868DA8;
	--df-color   : #BBBAC0;

	--background-color: #F7F8FA;
	--background-df-color: transparent;

	--white-color    : #FFFFFF;
	--black-color    : #000000;
	--red-color      : #FF0000;
	--green-color    : #00FF00;
	--blue-color     : #0000FF;
	--gray-color     : #808080;
	
	--lightcyan-color  : #E0FFFF;
	--lightorange-color: #F2DEDE;
	
	/* status */

	--confirm-color: #048F09;
	--cancel-color : #FF4040;

	/* title */

	--title-bg1-color: #01AE66;
	--title-bg2-color: #2D5AFF;
	--title-bg3-color: #8A6D3B;
	--title-bg4-color: #333333;
	--title-bg5-color: #A94442;
	--title-df-color : #CCCCCC;

	/* dot */

	--dot-color   : #E3E3E3;
	--dot-bg-color: var(--white-color);

	/* link */

	--link-color       : #0662EB;
	--link-hover-color : var(--link-color);
	--link-active-color: var(--link-color);
	--link-bg-color    : var(--df-color);

	/* input */

	--input-color       : var(--main-color);
	--input-ph-color    : var(--df-color);
	--input-border-color: #BBBBBB;

	/* warning */

	--warning-yellow-color: #FD930A;
	--warning-orange-color: #FC5CE2;
	--warning-red-color   : var(--red-color);

	/* copyright */

	--copyright-color: var(--df-color);
}

/**
 * html
 */

html, body, form, fieldset, p, div, h1, h2, h3, h4, h5, h6 {
	-webkit-text-size-adjust: 100%;						/* 旋转屏幕时，字体大小调整的问题 */
	-webkit-tap-highlight-color: var(--df-color);		/* a 标签在移动端点击时的颜色 */
}

input::placeholder {
	color: var(--sub-color);
	font-size: 14px;
}

textarea::placeholder {
	color: var(--sub-color);
	font-size: 14px;
}

select[disabled], select[disabled]:hover {
	color: var(--df-color) !important;
}

a:hover {
	text-decoration: none !important;
}

a:active {
	text-decoration: none !important;
	background-color: var(--df-color);
}

body {
	background-color: var(--background-color) !important;
	font-size: 11pt;
	font-family: "Lucida Grande", Calibri, Helvetica, Arial, sans-serif;
	margin: 0;
	padding: 10px 20px;
}

.container {
	padding: 0 !important;
	background-color: var(--background-color) !important;
}

/**
 * header-view
 */

.header-view {
	margin-top: 5px;
	padding: 0 20px;
	text-align: -webkit-center;
}

.header-view a {
	background-image: url(../assets/logo.png);
	background-size: 35px 35px;
	background-repeat: no-repeat;
	display: inline-block;
	height: 35px;
	vertical-align: middle;
	text-decoration: none;
	margin: 15px 0;
}

.header-view .h-loading {
	margin-left: 50px;
}

.header-view .h-desc {
	margin-top: 10px;
	margin-left: 40px;
	line-height: 35px;
	color: var(--gray-color);
	font-size: 22px;
	font-weight: bold;
}

.header-view .header-img {
	border-radius: 10px;
	padding: 0;
	border: 0;
}

/**
 * header
 */

#header {
	position: relative;
	background-color: #212121;
	color: #fff;
	height: 48px;
	padding-left: 21px;
	padding-top: 0px;
	padding-bottom: 20px;
	margin-bottom: 17px;
}

#header #bwip-js {
	font-size: 25px;
	font-family: "Lucida Grande", Calibri, Helvetica, Arial, sans-serif;
	font-weight: bold;
	position: absolute;
	bottom: 21px;
}

#header #versions {
	font-size: 10px;
	font-family: "Lucida Grande", Calibri, Helvetica, Arial, sans-serif;
	font-weight: 100;
	color: #a7a7a7;
	position: absolute;
	bottom: 2px;
	right: 12px;
}

input,
select,
label,
button {
	font-family: Verdana, Arial, san-serif;
	font-size: 10.5pt;
}

#symbol,
#symtext,
#symaltx,
#symopts,
#scaleX,
#scaleY {
	padding: .5ex;
	box-sizing: border-box;
	border: 1px solid #999;
	border-radius: 4px;
}

#symbol,
#symtext,
#symaltx,
#symopts,
#scaleX,
#scaleY {
	/* width: 63ex; */
	width: 100%;
}

#scaleX,
#scaleY {
	width: 6ex;

}

#fonthdr {
	position: absolute;
	bottom: 0px;
	left: 556px;
	width: 16ex;
	padding-left: 2ex;
	padding-top: 1ex;
	padding-bottom: 1ex;
	background-color: #0090ff;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	color: white;
	font-family: Verdana, Arial, san-serif;
	font-weight: bold;
	cursor: default;
}

#fonthdr:hover {
	background-color: #32aaff;
}

#fontdiv {
	z-index: 999;
	position: absolute;
	top: 68px;
	left: 556px;
	padding: 0px;
	margin: 0px;
	border: 0px;
}

#fontdiv div.inner {
	border: 1px solid #b9c3ff;
	border-top: 0px;
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
	padding: 16px;
	color: #000;
	background-color: #e3eeff;
	font-family: Verdana, Arial, san-serif;
	x-box-shadow: 2px 2px 3px #ddd;
}

#dropzone {
	width: 472px;
	text-align: center;
	border: 1px dashed #999;
	background-color: #e7e7e7;
	color: #777;
	overflow: hidden;
}

#dropzone:hover {
	border: 1px dashed #777;
	color: #555;
	background-color: #eeeeee;
}

#dropzone div.content {
	padding: 32px 96px;
}

#dropzone .fd-file {
	opacity: 0;
	font-size: 72px;
	position: absolute;
	right: 0px;
	top: 0px;
	width: 1000px;
}

#fontlist.visible {
	margin-top: 20px;
	border-top: 1px solid #bbb;
	padding-top: 20px;
}

#fontlist td,
#fontlist th {
	text-align: left;
	padding: 3px 1ex;
	border-bottom: 1px solid #999;
}

#fontlist td.delete span {
	opacity: .4;
}

#fontlist td.delete:hover span {
	opacity: 1;
}

#params {
	/* margin-left: 12px; */
}

#content {
	/* margin-left: 20px; */
}

#params th {
	text-align: left;
	padding-top: 15px;
	padding-bottom: 5px;
}

a.saveas {
	color: blue;
}

a.saveas:visited {
	color: blue;
}

button {
	padding: .5ex 1ex;
	min-width: 18ex;
}

/**
 * param
 */

#params {
	overflow: hidden;
}

#params .param-in label {
	width: 100%;
	color: var(--sub-color);
	font: 16px/20px arial;
	padding-left: 8px;
	word-wrap: break-word;
	word-break: break-word;
	text-align: justify;
}

#params .param-in select {
	width: 100%;
	-webkit-appearance: none;
	color: var(--main-color);
	background: var(--white-color);
	border: 1px solid var(--input-border-color);
	border-radius: 5px;
	font: 16px/20px arial;
	height: 35px;
	outline: 0;
	padding: 0 5px;
	position: relative;
	z-index: 1;
}

#params .param-in option {
	width: 90%;
	color: var(--main-color);
}

#params .param-in textarea {
	width: 100%;
	min-width: 100%;
	max-width: 100%;
	height: 100px;
	min-height: 35px;
	-webkit-appearance: none;
	color: var(--main-color);
	background: var(--white-color);
	border: 1px solid var(--input-border-color);
	border-radius: 5px;
	font: 16px/20px arial;
	outline: 0;
	padding: 7px 5px 0 5px;
	position: relative;
	z-index: 1;
	word-wrap: break-word;
	word-break: break-word;
}

#params .param-in input {
	width: 100%;
	-webkit-appearance: none;
	color: var(--main-color);
	background: var(--white-color);
	border: 1px solid var(--input-border-color);
	border-radius: 5px;
	font: 16px/20px arial;
	height: 35px;
	outline: 0;
	padding: 2px 5px 0 5px;
	position: relative;
	z-index: 1;
}

#params .param-in button {
	display: inline-block;
	margin-top: 20px;
	width: 150px;
	height: 40px;
	color: var(--white-color);
	background: var(--confirm-color);
	border-radius: 23px;
	padding: 0;
	font-size: 16px;
	border-color: var(--white-color);
	border-width: 0;
	cursor: pointer;
}

#params .radio, #params .checkbox {
	display: inline-block;
}

/* 未被选中的单选框样式 空心圆圈*/
input[type="radio"] + label::before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 15px;
    height: 15px;
    margin-right: 5px;
    box-sizing: border-box;
    border-radius: 50%;
    margin-bottom: 4px;
    border: 1px solid #bfcbd9;
}

/* 被选中的单选框样式  给空心圆圈中间加上背景色*/
input[type="radio"]:checked + label::before {
    background-color: #178fe6;
    background-clip: content-box; /* 规定背景颜色的绘制区域 */
    padding: 2px;
}
/* 单选框文字的样式 */
input[type="radio"] + label {
    font-size: 13px;
    margin-right: 5px;
}

/**
 * result
 */

#result {
	overflow: hidden;
}

/**
 * form-title 
 */

.form-title {
	height: 10px;
	margin-left: -20px;
    margin-right: -20px;
}

.form-title .title-content {
	display: inline-block;
	padding: 6px 20px;
	font-size: 18px;
	font-weight: bold;
	color: var(--white-color);
}

/**
 * form-split 
 */

.form-split {
	background-color: var(--dot-bg-color);
	padding-top: 1px;
	margin-left: -20px;
    margin-right: -20px;
}

.form-split .split-line-first {
	background-color: var(--dot-color);
	height: 1px;
	margin: 0 0 1px 0;
}

.form-split .split-line-second {
	background-color: var(--dot-color);
	height: 1px;
	margin: 0;
}

/**
 * action
 */

.action {
	display: inline-block;
	margin-top: 30px;
	margin-bottom: 20px;
	text-align: center;
}

.action .prmpty {
	display: inline-block;
	margin-top: 30px;
	font-size: 15px;
	color: var(--sub-color);
}

.action .create {
	display: inline-block;
	margin-top: 20px;
	width: 150px;
	height: 46px;
	background: var(--lightcyan-color);
	border-radius: 23px;
}

.action .download {
	display: inline-block;
	margin-top: 20px;
	width: 150px;
	height: 46px;
	background: var(--confirm-color);
	border-radius: 23px;
}

.action .content-link {
	width: 100px;
	height: 100%;
	padding: 0;
	font-size: 16px;
	background-color: var(--background-df-color);
	border-color: var(--white-color);
	border-width: 0;
	cursor: pointer;
}

.action .create .content-link {
	color: var(--link-color);
}

.action .download .content-link {
	color: var(--white-color);
}

/**
 * copyright
 */

.frame_foot_copyright {
	margin-top: 50px;
	line-height: 27px;
	display: block;
	text-align: center;
	color: var(--copyright-color);
	font-size: 15px;
	margin-bottom: 5%;
}