@charset "utf-8";

ons-page[id$="WritePage"] ul li,
ons-page[id$="EditPage"] ul li,
.form_wrap .form_list {
	margin: 1rem 0;
	border-bottom: 1px solid var(--border-color);
    padding: 0 0 ;
}

.noBorder {
	border: none !important;;
}
/* ons-page[id$="WritePage"] ul li:nth-of-type(n+6):nth-of-type(-n+9),
ons-page[id$="WritePage"] ul li:last-of-type {
	border-bottom: 0;
} */
ons-page[id$="WritePage"] ul li:nth-of-type(6),
/* ons-page[id$="WritePage"] ul li:nth-of-type(7),  */
ons-page[id$="WritePage"] ul li:nth-of-type(n+11):nth-of-type(n+12),
ons-page[id$="WritePage"] ul li:last-of-type {
	border-bottom: 0;
}

ons-page[id$="WritePage"] h3,
ons-page[id$="EditPage"] h3,
.form_wrap h3 {
	margin: -.75rem 0 1.25rem;
}
.fileUpload {
    display: -webkit-flex !important;
    display: flex !important;
    /* padding-top: 8px !important; */
	padding-bottom: 1.75rem !important;
}
h3 + .fileUpload {
	margin-top: 2rem;
}
.fileUpload:after {
	display: block;
	content: '';
	clear: both;
}
.fileUpload .fileBtn {
	width: 40px;
	height: 50px;
	position: relative;
	margin-right: 5px;
}
.fileUpload .fileBtn .file_input {
	display: none;
}
.fileUpload .fileBtn label {
	display: block;
	width: 50px;
	height: 50px;
	border-radius: 6px;
	/* border: 1px solid var(--border-color); */
	background: #fff url(../../img/icons/attach_file_img.png) no-repeat center 12px / 30px auto;
	font-size: 12px;
	box-sizing: border-box;
	padding-top: 35px;
	text-align: center;
}

.fileUpload .fileBtn label.add_file{
	background: #fff url(../../img/icons/attach_file.png) no-repeat center 12px / 27px auto;
}

.fileUpload .fileBtn ons-input {
	position: absolute;
	width: auto;
	height: 100%;
}
.fileUpload .fileBtn ons-input .text-input {
	border: 0;
	width: auto;
	height: auto;
	background: none;
	font-size: 13px;
	padding: 0;
	position: absolute;
	/* bottom: -23px;*/
	bottom: 15px;
    color: #222;
	left: 57px;
}



.fileUpload .fileList{
    width: 100%;
    height:auto;
    text-overflow: ellipsis;
    white-space: normal;
    overflow: hidden;

}
.fileUpload .rowFile {
	position: relative;
    margin: 5px 5px;
    display: block;
    /* justify-content: center; */
    width: 100%;
    height: 25px;
    text-overflow: ellipsis;
    white-space: normal;
    overflow: hidden;
}

.fileUpload .fileList .lbl_rm {
    display: inline;
    width: 50px;
    vertical-align: super;
    font-size: 13px;
    color: red;
}


.fileUpload .rowFile ons-checkbox {
	display: inline-block;
    vertical-align: super;
}

.fileUpload .rowFile label {
	display: inline-block;
    width: calc(100% - 60px);
    height: 100%;
    position: relative;
    /* border-radius: 6px; */
    /* border: 1px solid var(--border-color); */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    /* box-sizing: border-box; */
}

.fileUpload .rowImg {
	position: relative;
    margin: 1.5% 1.5%;
    display: inline-block;
    /* justify-content: center; */
    width: 30%;
    height: 100px;
}
.fileUpload .rowImg label {
	display: block;
	width: 100%;
	height: 100%;
	position: relative;
	border-radius: 6px;
	border: 1px solid var(--border-color);
	overflow: hidden;
	box-sizing: border-box;
}
.fileUpload .rowImg label img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	min-width: 100%;
	min-height: 100%;
	max-width: 110%;
	object-fit: contain;
}
/* .fileUpload .rowImg .remove {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	font-size: 0;
} */
.fileUpload .rowImg .remove .checkbox__checkmark {
	width: 100%;
	height: 100%;
    margin-right: 0;
}
.fileUpload .rowImg .remove .checkbox__checkmark:before {
    display: block;
	content: '×';
    width: 18px;
    height: 18px;
	border-radius: 100%;
	background-color: #222;
	color: #fff;
	font-size: 15px;
	text-align: center;
	line-height: 16px;
	border: 0;
	left: auto;
	/* top: -6px; */
	top: 0px;
	right: -6px;
	z-index: 1;
}
.fileUpload .rowImg .remove .checkbox__checkmark:after {
	width: 100%;
    transform: none;
    height: 100%;
    top: 0;
    left: 0;
    border: 2px solid var(--theme-color);
    border-radius: 6px;
    box-sizing: border-box;
    background: rgba(255,255,255,.7);
}
ons-page[id$="WritePage"] .wlbl,
ons-page[id$="EditPage"] .wlbl,
.form_wrap .wlbl {
	display: block;
	font-size: 13px;
	font-weight: bold;
	color: #ccc;
	text-align: left;
	margin: 0;
}
ons-page[id$="WritePage"] .select,
ons-page[id$="EditPage"] .select,
.form_wrap  .select {
	width: 100%;
}
ons-page[id$="WritePage"] .select-input,
ons-page[id$="EditPage"] .select-input,
.form_wrap .select-input {
	width: 100%;
	font-size: 16px;
	text-align-last: left;
	font-family: var(--theme-font-family);
	height: auto;
	padding: 5px 0;
	background: url(../img/icons/arrow-right.svg) no-repeat right center / 15px auto;
}
ons-page[id$="WritePage"] ons-input,
ons-page[id$="EditPage"] ons-input,
.form_wrap ons-input {
	width: 100%;
}
ons-page[id$="WritePage"] ons-input input,
ons-page[id$="EditPage"] ons-input input,
.form_wrap ons-input input {
	height: 42px;
	padding: 5px 10px;
	font-family: var(--theme-font-family);
	background: none;
	border: 0;
}
ons-page[id$="WritePage"] ons-input input[name^="price"],
ons-page[id$="WritePage"] ons-input input[type="number"],
ons-page[id$="EditPage"] ons-input input[name^="price"],
ons-page[id$="EditPage"] ons-input input[type="number"] {
	font-family: var(--theme-sub-font-family);
	text-align: inherit;
    font-weight: bold;
}
ons-page[id$="WritePage"] ons-input .text-input__label,
ons-page[id$="EditPage"] ons-input .text-input__label,
.form_wrap ons-input .text-input__label {
	left: 0;
}
ons-page[id$="WritePage"] textarea[name="content"],
ons-page[id$="EditPage"] textarea,
.form_wrap textarea {
	box-sizing: border-box;
	padding: 0;
	width: 100%;
	border:0;
	min-height: 150px;
	height:auto;
	resize: unset;
	font-size: 16px;
	font-family: var(--theme-font-family);
}
ons-page[id$="WritePage"] .wlbl + textarea,
ons-page[id$="EditPage"] .wlbl + textarea,
.form_wrap .wlbl + textarea {
	margin-top: .75rem;
}

ons-page[id$="WritePage"] .wlbl + .imgList,
ons-page[id$="EditPage"] .wlbl + .imgList,
ons-page[id$="WritePage"] .wlbl + .p_image,
ons-page[id$="EditPage"] .wlbl + .p_image {
    margin-top: 1.5em;
}

.switch_sort{
	position: absolute;
	right: 0;
	font-size: 13px;
	color: #ccc;
	font-weight: bold;
}

p.p_pw {
	position: relative;
}

body:not(.login-page) i.hidepw {
	position: absolute;
	right: 12px;
	top: 13px;
	color:var(--theme-color);
}