@import url('https://fonts.googleapis.com/css?family=Noto+Sans+TC:300,400,500,700,900|Roboto:400,500,700,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700;900&family=Noto+Serif+TC:wght@400;500;600;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Grenze+Gotisch:wght@100..900&family=Noto+Serif+TC&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
@charset "utf-8";
/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}
/*end normalize*/

html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}
/* Extract from normalize.css by Nicolas Gallagher and Jonathan Neal git.io/normalize */
html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}
article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary{display:block}
audio,canvas,progress,video{display:inline-block}progress{vertical-align:baseline}
audio:not([controls]){display:none;height:0}[hidden],template{display:none}
a{
	background-color: transparent;
	-webkit-text-decoration-skip: objects;
}
a:active,a:hover{outline-width:0}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}
dfn{font-style:italic}mark{background:#ff0;color:#000}
small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}
sub{bottom:-0.25em}sup{top:-0.5em}figure{margin:1em 40px}img{border-style:none}svg:not(:root){overflow:hidden}
code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}hr{box-sizing:content-box;height:0;overflow:visible}
button,input,select,textarea{font:inherit;margin:0}optgroup{font-weight:bold}
button,input{overflow:visible}button,select{text-transform:none}
button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}
button::-moz-focus-inner, [type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner{border-style:none;padding:0}
button:-moz-focusring, [type=button]:-moz-focusring, [type=reset]:-moz-focusring, [type=submit]:-moz-focusring{outline:1px dotted ButtonText}
fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:.35em .625em .75em}
legend{color:inherit;display:table;max-width:100%;padding:0;white-space:normal}textarea{overflow:auto}
[type=checkbox],[type=radio]{padding:0}
[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}
[type=search]{-webkit-appearance:textfield;outline-offset:-2px}
[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}
::-webkit-input-placeholder{color:inherit;opacity:0.54}
::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}
/* End extract */



html, body{
	font-family: 'Roboto', sans-serif;
	font-family: 'Noto Sans TC', sans-serif;
	font-weight: 400;
	font-size: 17px;
	line-height: 1.7;
	position: relative;
	height: 100%;
	color: #787878;
	margin: auto;
	}




a {
		text-decoration: none;
		transition:all .3s;
}

:root {
  --main-color: #65b4d4;/*粉藍*/
  --main-colorDarker: #389ec7;
  --main-colorLighter:#88c5dd;
  --main-width:1250px;
	--type-size-m:18px;
	--type-size-s:16px;
}

@media screen and (max-width: 1200px) {
	:root {
		 --main-width:90%;
	}
}

button, a, select {
	cursor:pointer;
	transition: all .3s;
}


input[type=text],
input[type=tel],
input[type=password],
input[type=number],
input[type=email],
input[type=date],
input[type=file],
select,
textarea,
button {
	width: 100%;
  padding: 12px 20px;
  margin:10px 0;
  display: inline-block;
	border:solid 1px #ccc;
  background: #f3f3f3;
  outline:none;
	border-radius:6px;
}
input[type=text]:focus,
input[type=tel]:focus,
input[type=password]:focus,
input[type=number]:focus,
input[type=email]:focus,
input[type=date]:focus,
input[type=file]:focus,
select:focus,
textarea:focus,
button:foxus {
	width:100%;
	border:solid 1px var(--main-color);
	background: #fff;
	padding: 12px 20px;
}


/* The radio */
.radio {
	display:inline-block;
	position: relative;
	margin-bottom: 15px;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	padding:0 20px 0 30px;
	color:#666;
}

.radio input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio .checkmark {
	position: absolute;
	top: 4px;
	left: 0;
	height: 20px;
	width: 20px;
	background-color: #fff;
	border-radius: 50%;
	border:solid 1px #ccc;
}

.radio:hover input ~ .checkmark {
    background-color: #C9C9C9;
}

.radio input:checked ~ .checkmark {
	background-color:var(--main-color);
	border:solid 1px var(--main-color);
}

.radio .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.radio input:checked ~ .checkmark:after {
    display: block;
}

.radio .checkmark:after {
 	top: 5px;
	left: 5px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: white;
}


/*The checkbox*/
.checkbox {
	display: inline-block;
	position: relative;
	padding-left: 35px;
	margin-bottom: 12px;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	font-size:17px;
	border-radius:6px;
	color:#666;
	width: 100%;
}

.checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}


.checkbox .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #fff;
	border:solid 1px #ccc;
}

.checkbox:hover input ~ .checkmark {
  background-color: #C9C9C9;
}

.checkbox input:checked ~ .checkmark {
	background-color: var(--main-color) !important;
	border:solid 1px var(--main-color);
}

.checkbox .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox input:checked ~ .checkmark:after {
  display: block;
}

.checkbox .checkmark:after {
  left: 9px;
  top: 5px;
  width: 8px;
  height: 12px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.gototop{
	width: 50px;
	height: 50px;
	line-height: 50px;
	font-family: verdana;
	text-align: center;
	background: #4A5866;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 2px 20px 0 rgba(0, 0, 0, 0.19);
	color: #fff;
	position: fixed;
	bottom: 100px;
	right: 30px;
	border-radius: 50%;
	text-decoration: none;
	cursor: pointer;
	display: none;
	z-index: 50;
	border: 1px solid #FFFFFF;
	opacity: 0.7;
	filter: alpha(opacity=70); /* For IE8 and earlier */
	font-size: 13px;
}
.gototop i {
	font-size:20px;
	padding-top:13px;
	}


#overlay {
	position: fixed;
	display: none;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0,0,0,0.7);
	z-index: 99;
	cursor: pointer;
}


header {
	display: block;
	width: 100%;
	padding: 0;
	position: relative;
	background-color: #fff;
	position: fixed;
	z-index: 90;
	border-bottom: solid 1px #ddd;
	top:0;
}
.header {
	display: flex;
	justify-content: space-between;
    align-items: center;
	padding: 12px 20px;
	width: 100%;
}
@media screen and (max-width: 1023px) {
	.header {
	padding: 10px 20px;
}
}

.bars {
	display: none;
}
@media screen and (max-width: 1023px) {
	.bars {
	display:inline-block;
		width: auto;
		padding: 0 10px 0 0;
        font-size: 24px;
        line-height: 0;
	}
}

.logo,
.logo img {
	display: block;
	padding: 0;
	height: 30px;
	width: auto;
}
@media screen and (max-width: 1023px) {
	.logo,
.logo img {
	display:inline-block;
	height: 20px;
}
}

.header-link {
	text-align: right;
	padding: 0;
}
.header-link a {
	display: inline-block;
	margin-left: 20px;
	font-size: 1.35em;
	color:#333;
	line-height: normal;
}
.header-link a.btn-login {
	background-color: #ebebeb;
	color:#333;
	padding: 2px 25px;
	border-radius:15px;
	font-size: 15px
}
.header-link a.btn-login:hover {
	background-color: var(--main-color);
	color:#fff;
}
.dropbtn {
	display: inline-block;
  padding: 0px 10px;
  border: none;
  cursor: pointer;
	font-size: 1em;
}
.dropbtn i {
	display: inline-block;
	font-size: 1.35em;
	padding-right: 10px;
}

.dropbtn:hover, .dropbtn:focus {
	color:var(--main-color);
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  overflow: auto;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 99;
	right:0;
	text-align: left;
	border:solid 1px #ccc;
	border-radius:10px;
	padding: 5px 0;
}

.dropdown-content a {
  color: #333;
  padding: 6px 16px;
	margin: 0 5px;
  text-decoration: none;
  display: block;
	font-size: 1em;
}

.dropdown a:hover {
	background-color: #ddd;
	border-radius:10px;
}

.show {display: block;}

.sidenav {
	height: 100%;
	width: 0;
	position: fixed;
	z-index: 100;
	top: 0;
	left: 0;
	background-color:  #f5f5f5;
	overflow-x: hidden;
	transition: 0.5s;
	padding-top: 60px;
	padding-bottom: 100px;
	box-shadow: -8px 0px 8px rgba(0,0,0,0.25);
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 20px;
    font-size: 32px;
    margin-left: 50px;
	color:#666;
}

.top {
	display: block;
	width: 100%;
	height: 380px;
	background:url("bg-cloud.png") no-repeat center top;
	background-size: cover;
	margin-top: 55px;
}
@media screen and (max-width: 1023px) {
	.top {
	margin-top: 50px;
}
}
.top-title {
	font-size: 48px;
	letter-spacing: 5px;
	font-weight: 600;
	color:#000;
	display: block;
	text-align: center;
	padding: 30px;
}
@media screen and (max-width: 1023px) {
	.top-title {
	font-size: 36px;
	}
}
@media screen and (max-width: 768px) {
	.top-title {
	    font-size: 24px;
        line-height: 0px;
        padding-top: 40px;
	}
}

.chat-container {
	display: block;
	width: var(--main-width);
	margin: auto;
}
.chat-box {
	display: grid;
	grid-template-columns: 20% auto 5%;
	width: 100%;
	background-color: #fff;
	border:solid 1px #C4C4C4;
	border-radius: 10px;
	padding: 10px 8px;
}
@media screen and (max-width: 767px) {
	.chat-box {
	    display: flex;
		flex-wrap: wrap;
		 justify-content: space-between;
}
}
.chat-box select,
.chat-box input,
.chat-box input:focus {
	border:none;
	outline: none;
	background-color: #fff;
	padding: 3px 10px;
	margin: 0;
}
.chat-box input {
	width: 100%;
}
.chat-box button {
	border:none;
	outline: none;
	background-color: #e5e5e5;
	color:#777777;
	border-radius:50%;
	padding: 5px 0px;
	display: block;
	margin: auto;
	width: 40px;
}

.chat-box .item1 {
	padding-right: 15px;
	border-right:solid 1px #ccc;
}
@media screen and (max-width: 767px) {
	.chat-box .item1 {
		width: 100%;
		border:none;
		border-bottom:solid 1px #ccc;
		padding-bottom: 10px;
	}
}
.chat-box .item2 {
	padding-left: 15px;
}
@media screen and (max-width: 767px) {
	.chat-box .item2 {
	width: 80%;
		padding: 10px 0 0 0 ;
}
	.chat-box .item3 {
	width: 15%;
		padding-top: 10px;
}
}
.tags {
	display: block;
	text-align: center;
	padding: 10px 20px;
	font-size: 15px;
}
.tags a {
	display: inline-block;
	padding: 2px 20px;
	border:solid 1px #ccc;
	background-color: #fff;
	border-radius:8px;
	margin: 5px 3px;
	color:#818181;
}
.tags a:hover {
	background-color: #ebebeb;
}

main {
	width: var(--main-width);
	margin: 75px auto;
	padding-bottom: 30px;
}


.chat-items {
	display: block;
	padding: 0;
	margin-bottom: 100px;
}
@media screen and (max-width: 767px) {
	.chat-items {
	margin-bottom: 50px;
}
}
.chat-items h1,
.order-containt h1 {
	display: block;
	color:#000;
	margin: auto auto 0;
	text-align: center;
}
.chat-items p {
	font-size: var(--type-size-m);
	display: block;
	margin: 0 0 40px;
	color:#4A4A4A;
	text-align: center;
}
.ai-items {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	margin-top: 20px;
}
.ai-card {
	display: block;
	width: 21%;
	padding: 0 0 10px;
	background: #f3f3f3;
	margin: 0 2% 30px;
	border-radius:8px;
}
@media screen and (max-width: 767px) {
	.ai-card {
		width: 46%;
	}
}
.ai-card .card-img {
    border-radius: 8px;
    display: block;
    padding: 16px;
    padding-top: 65%;
    position: relative;
    width: 100%;
}
.ai-card .card-img img {
	display: flex;
	justify-content: center;
	left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    top: 0;
	width: 100%;
	height: 100%;
	object-fit:cover;
	border-radius:8px 8px 0 0;
}
.ai-card h3 {
	color:#333;
	font-weight: 500;
	display: block;
	padding: 8px 15px;
	margin: 0;
}
@media screen and (max-width: 600px) {
	.ai-card h3 {
		font-size: 1em;
	}
}
.ai-card p {
	font-size: var(--type-size-s);
	padding: 0 15px;
	margin: 0;
	text-align: left;
}
@media screen and (max-width: 600px) {
	.ai-card p {
		font-size: 0.85em;
	}
}
.ai-card a {
	display: inline-block;
	color:#333;
	padding: 3px 20px;
	border:solid 1px #a3a3a3;
	border-radius:20px;
	margin: 15px;
	background-color: #fff;
}
@media screen and (max-width: 600px) {
	.ai-card a {
	padding: 3px 12px;
	margin: 10px 5px;
	font-size: 0.8em;
}
}
.ai-card a:hover {
	background-color: #ddd;
}


.login-container {
	display: block;
	width:  360px;
	position: fixed; 
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
	padding: 0 0 60px;
}
@media screen and (max-width: 500px) {
	.login-container {
	width:  300px;
}
}
.login-container .logo {
	display: block;
	text-align: center;
	margin-bottom: 30px;
}
.login-container .logo img {
	display: block;
	margin: auto;
	width: 250px;
	height: auto;
}
.login-container button {
	background-color: var(--main-color);
	border:none;
	color:#fff;
}
.login-container button:hover {
	background-color: var(--main-colorDarker);
}
.login-container h2 {
	margin: 0 auto 20px 0;
	color:#000;
	display: block;
	text-align: center;
}
.login-container a {
	display: inline-block;
	padding: 12px 25px;
	color:#525252;
}
.login-container a:hover {
	color:var(--main-colorDarker);
}


.mb-edit {
	max-width: 600px;
	margin: auto;
}
.mb-edit h2 {
	text-align: center;
	color:#000;
}
.back-form {
	background-color: #f5f5f5;
	border-radius:15px;
	padding: 20px 40px;
}
.back-form input {
	background-color: #fff;
	border:none;
}
.back-form button {
	background: var(--main-colorLighter);
	color:#fff;
	border:none;
}
.back-form button:hover {
	background: var(--main-color);
}
.addup {
	display: block;
	width: 90%;
	margin: auto;
	padding: 15px 10px;
	border-top:solid 1px #ccc;
	border-bottom:solid 1px #ccc;
}
@media screen and (max-width: 600px) {
	.addup {
	margin: auto;
	padding: 15px 10px;
	font-size: 0.9em;
}
}
.addup span {
	display: block;
}

.chat-history {
	width: var(--mian-width);
	margin: auto;
	padding: 20px 30px;
	display: grid;
  grid-template-areas:
	  "chat-search topic"
	  "chat-search chat-list";
  grid-template-columns: 1fr 3fr;
	gap: 25px;
	background-color: #F5F5F5;
	border-radius:10px;
}
@media screen and (max-width: 767px) {
	.chat-history {
		display: block;
		padding: 15px;
	}
}
.chat-history div.chat-search,
.chat-history div.chat-list,
.chat-history div.topic {
	display: block;
	background-color: #fff;
	border-radius:8px;
	padding: 30px;
}
@media screen and (max-width: 767px) {
	.chat-history div.chat-search,
.chat-history div.chat-list,
.chat-history div.topic {
	margin: 10px 0;
	padding: 20px;
	font-size: 0.9em;
	}
}
.chat-history div.topic {
	grid-area:topic;
	display: block;
	color:#333;
}
.chat-history div.topic h2 {
	display: inline-block;
		font-size: 1.6em;
	margin: 0;
}
@media screen and (max-width: 768px) {
	.chat-history div.topic h2 {
		font-size: 1.3em;
	display: block;
		padding-top: 10px;
}
}
.chat-history div.topic span {
	display: inline-block;
	font-size: 1em;
	padding: 3px 20px;
	border-radius:5px;
	background-color: #dcf1f5;
	margin-right: 20px;
	font-weight: 500;
}
.chat-history div.chat-search {
	grid-area:chat-search;
}
.chat-search h4 {
	font-size: 1.3em;
	color:#333;
	font-weight: 500;
	margin: 0;
}
.chat-search button {
	color:#fff;
	background-color: var(--main-colorLighter);
	border:none;
}
.chat-search button:hover {
	background-color: var(--main-color);
}
.chat-history div.chat-list {
	grid-area:chat-list;
}

.chat-history div.chat-list p {
	margin: 5px 0;
}
.chat-history div.chat-list dt {
	color:#333;
	font-size: 1.15em;
	border-top:dotted 2px #ccc;
	padding-top: 15px;
}
.chat-history div.chat-list dt a {
	color:#333;
}
.chat-history div.chat-list dt a:hover {
	color:var(--main-colorDarker);
}
.chat-history div.chat-list dt span {
	color:#9f9f9f;
	font-size: 0.8em;
	padding-right: 15px;
}
@media screen and (max-width: 767px) {
	.chat-history div.chat-list dt span {
		display: block;
	}
}
.chat-history div.chat-list dd {
	margin-inline-start: 0px;
	padding-bottom: 15px;
}
.chat-history div.chat-list dd span {
	display: inline-block;
	padding: 0 50px 0 0;
}

.text-m {
	font-size: 1.3em;
}


.sh-icon {
	display: none;
}
@media screen and (max-width: 767px) {
.sh-icon {
	display: inline-block;
	float: right;
	margin-top: -35px;
	font-size: 1.2em;
}
#searchDIV {
	display: none;
}
}


.btns {
	display: block;
	text-align: center;
	padding: 20px 0;
}
.btns a {
	display: inline-block;
	background-color: #ebebeb;
	color:#333;
	margin: 10px;
	border-radius:20px;
	padding: 5px 30px;
}
.btns a:hover {
	background-color: var(--main-color);
	color:#fff;
}

.order-containt {
	width: var(--main-width);
	margin: auto;
}
.order-list {
	display: block;
	padding: 20px 30px;
	background-color: #F5F5F5;
	border-radius:10px;
	margin-top: 20px;
}
.order-list table {
	display: table;
	border-collapse: collapse;
  border-spacing: 0;
  width: 90%;
	margin: 25px auto;
}
@media screen and (max-width: 1280px) {
	.order-list table {
		font-size: 0.9em;
	}
}
@media screen and (max-width: 769px) {
	.order-list table {
		display: none;
	}
}
.order-list tr {
	border-bottom: solid 1px #ededed;
}
.order-list th,
.order-list td {
	text-align: left;
	padding: 16px 18px;
}

.order-list td {
	background-color: #fff;
}


.order-items {
	display: none;
	}
@media screen and (max-width: 768px) {
	ul.order-items {
	display: block;
	list-style: none;
		margin: 0;
		padding: 0;
	}
}
ul.order-items li {
	display: block;
	background-color: #fff;
	padding: 15px;
	border-radius:8px;
	margin: 5px 0;
}
@media screen and (max-width: 374px) {
	ul.order-items li {
	font-size: 0.85em;
}
}
ul.order-items .date {
	padding-bottom: 10px;
}
ul.order-items .exdate {
	padding-top: 10px;
}
ul.order-items b {
	color:#666;
}


.main-layout {
	display: flex;
	width: 100%;
	height: 100%;
	font-size: 0.9em;
}
@media screen and (max-width: 1023px) {
	.main-layout {
	display: block;
}
}
.side-left,
.side-left-phone {
	background-color: #f5f5f5;
	width: 15%;
	height: 100%;
	overflow: auto;
	padding: 60px 10px;
}
.side-left-phone {
	display: none;
}
	@media screen and (max-width: 1023px) {
	.side-left {
	display: none;
}
		.side-left-phone {
	display: block;
			width: 100%;
			padding: 0 10px;
}
}
@media screen and (max-width: 1100px) {
	.side-left {
	width: 20%;
	}
}

.side-left .sort-name,
.side-left-phone .sort-name {
	color:#8f8f8f;
	padding: 15px 15px 5px;
}
.side-left .sort-name a,
.side-left-phone .sort-name a {
	display: block;
	color:#333;
}
.side-left .sort-name a:hover,
.side-left-phone .sort-name a:hover {
	color:var(--main-colorDarker);
}
.side-left ul,
.side-left-phone ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.side-left li,
.side-left-phone li {
	padding: 3px;
}
.side-left li a,
.side-left-phone li a {
	display: block;
	padding: 5px 10px;
	color:#333;
}
.side-left li a:hover,
.side-left-phone li a:hover {
	background-color: #d3ebeb;
	border-radius:10px;
}



.main-right {
	width: 85%;
	height: 100%;
}
@media screen and (max-width: 1100px) {
	.main-right {
	width: 80%;
	}
}
@media screen and (max-width: 1023px) {
	.main-right {
	width: 100%;
	}
}

.chat-containt {
	display: block;
	width: 100%;
	height: 80%;
	margin: auto;
	padding: 65px 0;
	color:#333;
	overflow-y: auto;
	}

.chat-containt div.ask,
.chat-containt div.ans {
	display: block;
	width: 768px;
	margin: auto;
}
@media screen and (max-width: 768px) {
	.chat-containt div.ask,
.chat-containt div.ans {
	width: 95%;
	}
}
.chat-containt div.ask {
	text-align: right;
	margin: 50px auto;
}
.chat-containt div.upload-img img,
.chat-containt div.creat-img img{
	width: 400px;
	height: auto;
	border-radius:10px;
}
@media screen and (max-width: 768px) {
	.chat-containt div.upload-img img,
.chat-containt div.creat-img img{
	width: 80%;
	height: auto;
}
}
.chat-containt div.text-q {
	display: inline-block;
	max-width: 80%;
	padding: 10px 25px;
	background-color: #eef5f5;
	border-radius:25px;
	margin: 15px 0;
	text-align: left;
}
.chat-containt div.text-a,
.chat-containt div.text-a table {
	width: 100%;
	margin: 15px 0;
}

.chat-input-block {
	display: block;
	width: 100%;
	margin: auto;
	padding: 0px;
	bottom: 0px;
	z-index: 99;
}
.chat-input-block-mid {
	display: block;
	width: 100%;
	margin: 0 auto;
	padding: 0px;
}
.chat-input-block form,
.chat-input-block-mid form {
	display: block;
	width: 768px;
	margin: 0 auto -10px;
	padding: 10px;
	border-radius:20px;
	border:solid 1px #ccc;
	background: #fff;
	box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2), 0 3px 5px 0 rgba(0, 0, 0, 0.19);
	z-index: 5;
	position: relative;
}
@media screen and (max-width: 1027px) {
	.chat-input-block form,
	.chat-input-block-mid form {
	width: 80%;
	}
}
@media screen and (max-width: 768px) {
	.chat-input-block form,
	.chat-input-block-mid form {
	width: 95%;
	}
}
.chat-input-block input,
.chat-input-block-mid input {
	background: #fff;
	border:none;
	margin: 0;
}
@media screen and (max-width: 1400px) {
	.chat-input-block input,
	.chat-input-block-mid input {
		padding: 5px 10px;
	}
}
@media screen and (max-width: 767px) {
	.chat-input-block input,
	.chat-input-block input:focus,
	.chat-input-block-mid input,
	.chat-input-block-mid input:focus {
		padding: 6px 10px;
	}
}

.chat-input-block-mid select {
	width: 47%;
	display: inline-block;
	padding: 8px 10px;
	margin:15px 1.2% 0;
	border:none;
}

input[type="file"] {
    display: none;
  }

  .upload-icon-button {
    cursor: pointer;
    display: inline-block;
    background-color: #f8f9fa;
	  border:dashed 1px #ccc;
    border-radius: 20px;
    padding: 6px;
	  margin-left: 20px;
    text-align: center;
    transition: background-color 0.3s, transform 0.2s;
  }
@media screen and (max-width: 1400px) {
	  .upload-icon-button {
		  margin-left: 10px;
	}
}

  .upload-icon-button:hover {
    background-color: #e9ecef;
    transform: scale(1.02);
  }

  .upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .upload-content span {
    color: #333;
    font-size: 14px;
    font-weight: 500;
  }

  #file-name {
	  display: inline-block;
	  margin-left: 10px;
    font-size: 14px;
    color: #555;
  }
.chat-input-block div.text-center {
	text-align: center;
	background-color: #fff;
	padding: 20px 10px 10px;
	color:#333;
	font-size: 14px;
}