/*Author  Amy Fish  Email : 20121310@qq.com
Applicable scope : Only authorized to DFRobot employees  */
/*-------------------- common Begin -----------------------*/

.learn-v3 {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-width: 1200px;
}

body {
  font-family: 'Source Han Sans SC';
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
li {
  padding: 0;
  margin: 0;
}

a {
  text-decoration: none;
}

li {
  list-style: none;
}

input {
  border: none;
  outline: none;
  font-family: 'Source Han Sans SC';
}

select {
  border: none;
  outline: none;
}

button {
  background: none;
  outline: none;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}

button:hover {
  filter: brightness(130%);
  transition: 0.3s;
}

button:disabled {
  opacity: 0.5;
}

button.square {
  height: 48px;
  border-radius: 6px;
  font-size: 18px;
  line-height: 48px;
}

button.expand {
  flex: 1;
}

button.nobg {
  font-size: 14px;
  color: #3b5773;
}

button.round {
  background: #3b5773;
  height: 42px;
  border-radius: 24px;
  font-size: 18px;
  line-height: 18px;
  color: #ffffff;
  padding: 0 42px;
}

button.blue {
  background: #3b5773;
  color: #ffffff;
}

button.grey {
  background: #f4f4f4;
  color: #acacac;
}

button.white {
  background: #ffffff;
  color: #3b5773;
}

button.white-reverse {
  background: #3b5773;
  color: #f4f4f4;
  border: 2px solid #ffffff;
}

.container {
  background-color: #f4f4f4;
  min-width: 1200px;
}

.container .pc {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.full {
  width: 1200px;
  margin: 0 auto;
  flex: 1;
}

.limit-line-1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}

.limit-line-2 {
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.limit-line-3 {
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.no-more-list-item {
  font-size: 12px;
  color: #666666;
  text-align: center;
  margin: 32px 0 40px;
}

.form-card {
  box-sizing: border-box;
  width: 750px;
  margin: 73px auto 44px;
  background: #ffffff;
  box-shadow: 0px 2px 6px 0px rgba(206, 206, 206, 0.6);
  position: relative;
}

.form-card h1 {
  font-size: 24px;
  font-weight: normal;
  line-height: 24px;
  padding: 33px 0 38px;
  text-align: center;
  color: #646464;
}

.form-list.family {
  max-height: 400px;
  overflow: scroll;
}

.form-list li {
  width: 427px;
  margin: 0 auto 20px;
  display: grid;
  grid-template-columns: 126px 300px;
}
.form-list li.line {
  border-bottom: 1px dashed #ddd;
}
.form-list li > label {
  color: #333333;
  font-size: 14px;
  align-self: center;
  position: relative;
}
.form-list li > label[class='required']::after {
  content: '*';
  display: block;
  position: absolute;
  top: -12px;
  right: 52px;
  font-size: 18px;
  color: #ea5a18;
}
.form-list li > label[class='required special']::after {
  content: '*';
  display: block;
  position: absolute;
  top: -12px;
  right: 32px;
  font-size: 18px;
  color: #ea5a18;
}
.form-list li input {
  font-size: 14px;
  border-radius: 4px;
}

.form-list li input::placeholder {
  color: #cccccc;
}
.form-list li input:disabled {
  color: #cccccc;
}

.form-list li input[type='text'] {
  padding: 0 20px;
  line-height: 38px;
  height: 38px;
  border-radius: 4px;
  background: #f4f4f4;
}

.form-list li input[type='radio'] {
  accent-color: #3b5773;
}

.form-list li input[class='underline'] {
  background-color: transparent;
  height: 18px;
  border-radius: 0;
  border-bottom: 1px solid #9199a1;
}
.form-list li .multi-select-dropdown {
  position: relative;
}
.form-list li .multi-select-dropdown .multi-tip {
  position: absolute;
  color: #9199a1;
  right: 0px;
  background: #f4f4f4;
  padding-left: 10px;
  padding-right: 2px;
  border-radius: 2px;
}
.form-list li .multi-select-dropdown .multi-tip i {
  transform: rotate(90deg);
  font-size: 12px;
  color: #666666;
  display: inline-block;
  margin-left: 5px;
}
.form-list li .multi-select-dropdown ul {
  position: absolute;
  border-radius: 0px 0px 2px 2px;
  box-shadow: 0px 2px 8px 0px rgba(206, 206, 206, 0.4941);
  overflow: hidden;
  z-index: 2;
}
.form-list li .multi-select-dropdown ul > .cover {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}
.form-list li .multi-select-dropdown > label {
  display: block;
  padding: 0 20px;
  line-height: 38px;
  height: 38px;
  border-radius: 4px;
  background: #f4f4f4;
  color: #333333;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
}
.form-list li .multi-select-dropdown > label > span {
  color: #cccccc;
}
.form-list li .multi-select-dropdown ul > div {
  position: relative;
}
.form-list li .multi-select-dropdown ul > div input {
  display: none;
}
.form-list li .multi-select-dropdown ul > div label {
  display: block;
  width: 300px;
  height: 40px;
  line-height: 38px;
  padding: 0 11px 0 17px;
  box-sizing: border-box;
  background-color: #fff;
  color: #a8acb0;
  font-size: 14px;
}
.form-list li .multi-select-dropdown ul > div input:checked + label {
  background-color: #f4f4f4;
  color: #384856;
}
.form-list li .multi-select-dropdown ul > div label i {
  font-size: 10px;
  float: right;
  display: none;
}
.form-list li .multi-select-dropdown ul > div input:checked + label i {
  display: inline;
}

.form-list li > span {
  color: #9199a1;
}

.form-list li > span > label {
  margin: 0 30px 0 8px;
}

.form-list li > span > label[for='famIdentityType2'] {
  margin: 0 8px;
}

.form-list li select {
  background: #f4f4f4;
  border-radius: 4px;
  color: #666666;
  padding: 0 13px;
  height: 38px;
  line-height: 38px;
}

.form-list li span select {
  width: 120px;
  margin-right: 10px;
}

.form-card div.card-content-width {
  width: 428px;
  margin: 0 auto;
  padding: 20px 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form-card a {
  color: #646464;
  font-size: 18px;
  margin: 0 18px 0 26px;
}

.form-card .switch-user-type {
  position: relative;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eeeeee;
  margin-bottom: 34px;
}

.form-card .switch-user-type > .user-type {
  width: 374px;
  display: flex;
  align-items: center;
  padding-left: 50px;
  cursor: pointer;
}

.form-card .switch-user-type > .user-type:first-child {
  margin-left: 30px;
}

.form-card .switch-user-type > .user-type > img {
  margin-right: 10px;
  width: 60px;
  height: 60px;
}

.form-card .switch-user-type > .user-type > div p {
  color: #3b5773;
  font-size: 20px;
}

.form-card .switch-user-type > .user-type > div p span {
  font-size: 12px;
  margin-top: 10px;
}

.form-card .switch-user-type .line {
  position: absolute;
  background-color: #d8d8d8;
  width: 1px;
  height: 48px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.form-card .switch-user-type .bar {
  width: 374px;
  height: 4px;
  border-radius: 4px;
  background-color: #3b5773;
  transition: 0.5s;
  position: absolute;
  bottom: 0;
}

.form-card .switch-user-type .bar.education {
  left: 0;
}

.form-card .switch-user-type .bar.family {
  left: 376px;
}

.form-card .add-kid {
  position: relative;
  height: 17px;
}

.form-card .add-kid button {
  position: absolute;
  top: -30px;
  right: 20px;
}

.form-card .add-kid button:last-child {
  top: -35px;
  display: flex;
  align-items: center;
  color: #333333;
}

.form-card .add-kid button:last-child i {
  font-size: 30px;
}

.option-panel {
  border-radius: 6px;
  background: #ffffff;
  padding: 0 40px;
}

.option-panel ul {
  margin-bottom: 7px;
}

.option-panel li.option {
  position: relative;
  border-bottom: 1px solid #f4f4f4;
}

.option-panel li.option:last-of-type {
  border-bottom: none;
}

.option-panel li.option .label {
  display: inline-flex;
  align-items: center;
}

.option-panel li.option b {
  font-size: 16px;
  margin-right: 28px;
  width: 64px;
  text-align-last: justify;
  display: inline-block;
}

.option-panel li.option i {
  margin-right: 4px;
}

.option-panel li.option span {
  font-size: 16px;
  color: #999999;
  margin: 20px 40px 20px 0;
  cursor: pointer;
  display: inline-block;
}

.option-panel li.option span.select {
  color: #ea5a18;
}
.option-panel li.option span:not(.select):hover {
  color: #333333;
}

.option-panel .expand {
  padding: 7px 0 17px;
  text-align: center;
  cursor: pointer;
  font-size: 16px;
  color: #2c2c2c;
}

.option-panel .expand i {
  display: inline-block;
  transform: rotate(90deg);
  font-size: 12px;
}
.user-card {
  margin: 36px auto 20px;
}
.dashboard {
  display: grid;
  grid-template-columns: 260px 920px;
  gap: 20px;
}
.dashboard > div > ul {
  width: 100%;
}
.dashboard > div > ul > div {
  margin-bottom: 10px;
}
.dashboard .user-page-content {
  padding-bottom: 30px;
}
.about {
  background: #ffffff;
  padding: 37px 61px 32px 23px;
  margin: 20px auto 34px;
}

.about h1 {
  font-size: 30px;
  padding-bottom: 38px;
  margin-bottom: 28px;
  border-bottom: 1px solid #eeeeee;
}

.about h3 {
  font-size: 18px;
  margin: 40px 0 14px;
}

.about ol {
  padding: 0;
  margin: 18px 0 40px;
}

.about ul {
  padding: 0;
  margin: 18px 0 40px;
}

.about p {
  font-size: 16px;
  line-height: 22px;
  margin-bottom: 18px;
}

.about li {
  padding: 0;
  font-size: 16px;
  line-height: 22px;
  margin-bottom: 12px;
}

.breadcrumb {
  margin: 16px 0;
}

.breadcrumb a {
  font-size: 14px;
  color: #213243;
}

.breadcrumb a:last-of-type {
  color: #3b5773;
}

/* 页面结束 */

/* 动画效果 */

@keyframes bg-loading-animation {
  0% {
    background-color: #ddd;
  }

  50% {
    background-color: rgba(255, 255, 255, 1);
  }

  100% {
    background-color: #ddd;
  }
}

.ck-editor,
.ck-editor__main,
.ck-rounded-corners .ck.ck-editor__main > .ck-editor__editable {
  height: calc(100% - 25px) !important;
}

.ck.ck-editor__main > .ck-editor__editable:not(.ck-focused),
.ck.ck-editor__main > .ck-editor__editable.ck-rounded-corners {
  outline: none !important;
  box-shadow: none !important;
  border: 1px solid #ccced1 !important;
  height: 100% !important;
}
