/* ==================
       初始化样式
 ==================== */
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  /* border: 0;
	font-size: 100%;
	vertical-align: baseline; */
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
  margin: auto;
}
:root {
  --primary-color: #ab603d;
}
.primary-color{
  color: var(--primary-color);
}
/* 定义主题变量 */
:root {
  /* 亮色主题 */
  --light-primary: #ab603d;
  --light-secondary: #ab603d;
  --light-background: #ffffff;
  --light-text: #333333;

  /* 暗色主题 */
  --dark-primary: #4dabf7;
  --dark-secondary: #adb5bd;
  --dark-background: #1a1a1a;
  --dark-text: #ffffff;

  /* 默认使用亮色主题 */
  --color-primary: var(--light-primary);
  --color-secondary: var(--light-secondary);
  --color-background: var(--light-background);
  --color-text: var(--light-text);
}

input[type="checkbox"] {
  accent-color: var(--primary-color);
}

/* 重置a元素 */
a {
  text-decoration: none;
}
a:hover {
  color: var(--primary-color);
  cursor: pointer;
  text-decoration: none;
  transition: color 0.4s;
  -moz-transition: color 0.4s;
  -webkit-transition: color 0.4s;
  -o-transition: color 0.4s;
}
/* 重置图片 */
img {
  font-size: 0;
  border: none;
}

/* ==================
          图片
 ==================== */

/* 铺满全部 */
.img-full img {
  width: 100%;
  height: 100%;
  display: block;
}
.img-max img {
  max-width: 100%;
  max-height: 100%;
  display: block;
  margin: auto;
}

/* ==================
          动画
 ==================== */

.transform {
  transition: all 0.6s ease 0s;
}

/* ==================
        清除浮动
 ==================== */

.clear,
.clearfix {
  zoom: 1;
}
.clear:before,
.clearfix:before {
  display: table;
  content: " ";
}
.clear:after,
.clearfix:after {
  content: "";
  display: block;
  height: 0;
  clear: both;
  float: none;
  margin: 0;
}

/* ==================
        辅助
 ==================== */

/* 单行文字省略 */
.ellipsis-one {
  max-width: 100%;
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  word-break: break-all;
}
/* 两行文字省略 */
.ellipsis-two {
  max-width: 100%;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  word-break: break-all;
}
/* 三行文字省略 */
.ellipsis-three {
  max-width: 100%;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  word-break: break-all;
}

.hide {
  display: none;
}
/* 编辑器图片 */
.editor {
  line-height: 220%;
}
.editor img,
.editor video {
  max-width: 100% !important;
  height: auto !important;
}
.ar-3-4 {
  aspect-ratio: 3/4;
}
.ar-4-3 {
  aspect-ratio: 4/3;
}
.ar-16-9 {
  aspect-ratio: 16/9;
}



input.xin{
  border: unset;
}
input.xin:-internal-autofill-selected {
  -webkit-text-fill-color: #000;
  transition: background-color 5000s ease-in-out 0s;
}
button.xin{
  border: none;
}
input[type="radio"].xui {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border: 1px solid #cdcdcd;
  border-radius: 50%;
  position: relative;
}
input[type="radio"].xui:checked::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background-color: var(--primary-color);
  border-radius: 50%;
}

/* form */
.c-form {
}
.c-form-item {
  width: inherit;
  display: flex;
  margin-bottom: 20px;
}
.c-form-title {
  padding-right: 20px;
  font-size: 16px;
}
.c-form-title span {
  position: relative;
  display: block;
  padding-left: 10px;
  margin: 10px 0 0;
}
.c-form-title span.notip {
  padding-left: 0;
}
.c-form-title span.notip:before {
  display: none;
}
.c-form-title span:before {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  background: red;
  border-radius: 50%;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.c-form-content {
  width: inherit;
  flex: 1;
}
.c-form-content .c-tip{
  margin: 8px 0 0;
  color: #ff5722;
  font-size: 14px;
}
/* 列 */
.c-form-column {
  flex-direction: column;
  align-items: flex-start;
}
.c-form-column .c-form-content {
  margin: 10px 0 0;
}
/* 列-end */
.c-form-control {
  width: 100%;
  height: 40px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  padding: 6px 12px;
  border-radius: 5px;
  color: #555;
  border: 1px solid #dcdfe6;
  box-sizing: border-box;
}
.c-form-control:focus {
  border: 1px solid var(--color-primary);
}
.c-form-content.c-form-city {
  display: flex;
}
.c-form-content.c-form-city select {
  margin-right: 10px;
}
.c-form-content.c-form-city select:last-child {
  margin-right: 0;
}
select.c-form-control {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: url(../images/down.png) no-repeat right 20px center;
}
textarea.c-form-control {
  height: auto;
}
/* checkbox */
.c-checkbox-group{
  display: flex;
  flex-wrap: wrap;
}
.c-checkbox {
  position: relative;
}
.c-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  opacity: 0;
}
.c-checkbox label {
  width: 16px;
  height: 16px;
  border: 1px solid #dcdfe6;
  border-radius: 2px;
  cursor: pointer;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}
.c-checkbox input[type="checkbox"]:checked + label:after {
  position: absolute;
  content: "";
  width: 4px;
  height: 8px;
  top: 1px;
  left: 5px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}
.c-checkbox input[type="checkbox"]:checked + label {
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
}
/* checkbox-end */
/* checkbox */
.c-radio-group{
  display: flex;
  flex-wrap: wrap;
}
.c-radio {
  position: relative;
  margin: 0 10px 10px 0;
}
.c-radio input[type="radio"] {
  width: 16px;
  height: 16px;
  opacity: 0;
  border-radius: 50%;
}
.c-radio label {
  width: 16px;
  height: 16px;
  border: 1px solid #dcdfe6;
  border-radius: 2px;
  cursor: pointer;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  border-radius: 50%;
}
.c-radio input[type="radio"]:checked + label:after {
  position: absolute;
  content: "";
  width: 4px;
  height: 8px;
  top: 1px;
  left: 5px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}
.c-radio input[type="radio"]:checked + label {
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
}
/* radio-end */

.c-skin .layui-layer-btn0 {
  background: var(--color-primary);
}
.c-skin .layui-layer-title {
  background: var(--color-primary);
  color: #fff;
}
.c-skin .layui-layer-setwin .layui-icon {
  color: #fff;
}
