
body{
  background-color: #f6f7f9;
}

.container {
  max-width: 768px;
  padding: 0;
  margin-left: auto;
  margin-right: auto;
}

.container .header {
  height: 112px;
  overflow: hidden;
  background-size: cover !important;
}

.container .header .metric {
  min-height:6.5rem;
  padding: 0;
  text-align: center;
  color: #ffffff;
}

.container .main .card {
  border-radius: 0;
  margin-bottom: 0.5rem;
}

.hidden{
  display: none;
}

.pointer {
  cursor: pointer;
}

.text-sm {
  font-size: 0.75rem;
}

.text-lg {
  font-size: 1rem;
}

.fa-fw {
  text-align: left;
}

.badge {
  font-size: 0.875rem;
}

.text-blue{
  color:  #007bff !important;
}

.bg-success {
  background-color: #28a745 !important;
}

.bg-blue {
  background-color: #007bff !important;
  color: #ffffff;
}
a.bg-blue:hover, a.bg-blue:focus,
button.bg-blue:hover,
button.bg-blue:focus {
  background-color: #0062cc !important;
  color: #ffffff;
}

.bg-error {
  background-color: #EA6759 !important;
  color: #ffffff;
}

/* .bg-warning {
  background-color: #fd7e14 !important; 
} */

.progress-sm {
  height: 0.25rem;
}

.progress-bar{
  background-color: #007bff !important;
}

.rounded-pill {
	border-radius:50rem;
  padding-left: 2rem;
  padding-right: 2rem;
}

.auth-form {
  margin-top: 4rem;
}

.logo{
  width: 96px;
  height: 96px;
  margin: 0 auto 2rem auto;
}

.no-data{
  color: #888c9b;
  text-align: center;
  margin-top: 10rem;
}

.auth-header{
  padding: 0 !important;
}

.auth-footer {
  text-align: center;
  max-width: 100% !important;
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
}

.content-line-height{
  line-height: 1.75rem;
}

.white-space-pre-line{
  white-space: pre-line
}

.text-overflow-ellipsis, .text-overflow-ellipsis p{
  overflow: hidden;
  text-overflow:ellipsis;
  white-space: nowrap;
  max-width: 15rem;  
  height: 2rem;
}

.text-overflow-ellipsis p{
  margin-bottom: 0;
}

.main .notice {
  background-color: #f6f7f9;
  border-radius: 2rem;
  margin: 0.5rem 0;
}

.main .notice .fa-bullhorn {
  color: #346CB0;
}

.main .item {
  text-align: center;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

#index.container .main {
  margin-bottom: 4rem;
}

#index.container .main .card {
  margin-top: 0.5rem;
}

#index .main .tile {
  width: 2.5rem;
  height: 2.5rem;
  line-height: 2.5rem;
  font-weight: normal;
  font-size: 0.875rem;
}

#index .main #schedule .tile{
  width: 4rem;
  height: 2rem;
  line-height: 2rem;  
}

#index .main .tile-peek {
  display: block;
  padding-top: 0.5rem;
}
#index .no-data{
  margin-top: 0rem;
  margin-bottom: 0rem;
}

.main .card,
.main .list-group {
  box-shadow: none;
}

.main .search{
  background-color: #f6f7f9;
  padding: 1.25rem 1rem;
}

.main .search .badge{
  margin-right: 0.75rem;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  background-color: #f2f6ff;
  color: #346CB0;
  border: solid 1px #007bff;
}
.main .search .badge:last-child{
  margin-right: 0;
}
.main .search .badge.active{
  background-color: #007bff;
  color: #ffffff;
}

.list-group-item-title {
  font-size: 1rem;
  line-height: 1.75rem;
}

.list-group-item-text {
  line-height: 1.75rem;
  font-size: 14px;
  /* color: #363642; */
}

.list-group-item-text .fa{
  color: #888c9b;
}
.footer {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1030;
  color: #6c757d !important;
  text-align: center !important;
  padding-top: 0.5rem;
  padding-bottom: 0.25rem;
  border-top: 1px solid rgba(34, 34, 48, 0.1) !important;
  background-color: #ffffff !important;
}

.footer .active,
.footer .active .fa-heart {
  color: #346CB0 !important;
}

.footer .fa {
  font-size: 1rem;
}

.metric span.active{
  border-bottom: solid 2px #fff;
  padding-bottom: 2px;
  margin: 0 auto;
}

/* notice detail */
#notice_detail img, #comment_detail .previewImages img {
  width: 100% !important;
  height: auto;
  border-radius: 0.75rem;
  margin-bottom: 0.25rem;
}

#comment_detail .card{
  background-color: #f6f7f9;
}
#comment_detail .title{
  margin: 1rem .25rem .25rem;  
  padding-left: .25rem;
  border-left: solid 5px #346cb0;
  font-size: 15px;
}

#comment_detail .list-group-item-title{  
  background-color: #346cb0;
  margin: 0 0.25rem;
  padding: .75rem;  
  border-radius: 0.25rem;
}

#comment_detail .section{
  background-color: #ffffff;
  border-radius: 1rem;
  margin-top: 1.5rem;
  box-shadow: #a6abbd 0px 0px 10px 0px;
}

#leave .timeline{
  padding-top: 1rem;
}

#classPlanModal #classPlan{
  max-height: 326px; 
  overflow-y: auto;
}

.previewImages img{
  width: 32.5%;
  padding: 0.25rem 0.125rem;
  object-fit: cover;
}

#comment .dropdown-menu{
  font-size:14px;
  padding: 1rem;
}

.mask{
  position: fixed;
  z-index: 1050;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #14141F;
  opacity: 0.8;
  text-align: right;
}

.schedule .tile{
  width: 4rem;
  height: 4rem;
  line-height: 1.5rem;
  font-size: 0.875rem;
  padding-top: 0.75rem;
  font-weight: normal;
  border-radius: 2rem;
}

.state {
  width: 8px;
  height: 8px;
  margin-right: 5px;
  border-radius: 4px;
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.state-default {
  background-color: #346CB0;
}

.state-0,
.state-3 {
  background-color: rgb(240, 72, 100, 0.5);
}

.state-1 {
  background-color: rgb(47, 194, 91, 0.5);
}

.state-2 {
  background-color: rgb(24, 144, 255, 0.5);
}

.attendState{
  margin: 0.5rem 0;
  padding: 0.5rem 0;
  border-radius: 0.5rem;
  text-align: center;
}
.attendState-0 {
  border: solid 1px #f1584a;
  background-color: #feeeed;
}

.attendState-1 {
  border: solid 1px #36c797;
  background-color: #ebf9f5;
}

.attendState-2 {
  border: solid 1px #1a91f2;
  background-color: #e8f4fe;
}

.course-type {
  display: inline-block;
  font-size: 80%;
  font-weight: 400;
  line-height: 1.25rem;
  height: 1.25rem;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  padding-right: 0.5em;
  padding-left: 0.5em;
  border-radius: 0.25rem;
  margin-right: 0.25rem;
  color: #ffffff;
}

.course-type-1 {
  background-color: #346CB0;
}

.course-type-2 {
  background-color: #00A28A;
}

label.has-notified,
span.has-notified {
  position: relative;
  cursor: pointer;
}

label.has-notified::before,
span.has-notified::before {
  position: absolute;
  top: 0.1rem;
  right: -0.4rem;
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background-color: #67acff;
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

label.has-notified.warning::before,
span.has-notified.warning::before {
  background-color: #F7C46C !important;
}

label.has-notified.success::before,
span.has-notified.success::before {
  background-color: rgb(47, 194, 91, 0.5) !important;
}

.btn-floated {
  right: 1rem;
  bottom: 0.75rem;
  font-size: 1rem;
  z-index: 1040;
}

#lightGallery-action {
  margin-left: -79px;
  bottom: 15px;
}

#lightGallery-action a {
  margin: 0 16px 0 0 !important;
  width: 42px;
  height: 42px;
  font-size: 24px;
}

#lightGallery-action a#lightGallery-prev:before, #lightGallery-action a#lightGallery-next:after {
  left: 7px;
}

#lightGallery-action a.cLthumb:after {  
  left: 9px;
  font-size: 24px;
}

#lightGallery_counter {
  bottom: 60px;
}

#userInfo .user-avatar, #student .user-avatar{
  width: 4rem;
  height: 4rem;
  font-size: 4rem;;
}
#order .list-group-item-body {
  -ms-flex-item-align: normal;
  align-self: normal;
}

#order .list-group-item-figure{
  display: block;
  line-height: 1.75rem;
  padding-top: 1.75rem;
}

#orderDetail hr{
  margin-top: 0.25rem;
  margin-bottom: 1.75rem;
}

.project-item{
  background-color: #f6f7f9;
  border: solid 1px rgba(34, 34, 48, 0.1);
  border-radius: 0.25rem;
  padding: 0.5rem;
  margin-bottom: 1rem;
  line-height: 1.5rem;
}

.project-item-title{
  line-height: 2rem;  
}

.project-item-body{
  display: flex;
  align-items: center;
  color:#888c9b;
}

.project-item-type {
  display: inline-block;
  font-size: 80%;
  font-weight: 400;
  line-height: 1.25rem;
  height: 1.25rem;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  padding-right: 0.5em;
  padding-left: 0.5em;
  border-radius: 0.25rem;
  margin-right: 0.25rem;
  color: #ffffff;
}

.project-item-type-1{
  background-color: #346CB0;
}

.project-item-type-2{
  background-color: #00A28A;
}

.project-item-type-3{
  background-color: #EC935E;
}

.project-item-type-4{
  background-color: #0179A8;
}

#login-type a.selected{
  color: #28a745;
  font-size: x-large;
}

.description {
  margin-left: 0.75rem;
  margin-top: 0.25rem;
  margin-bottom: 0;
  line-height: 1.4;
  font-size: 0.75rem;
  color: #888c9b;
}

@media (max-width: 575.98px) {
  #toast-container.toast-top-full-width,
  #toast-container.toast-top-center,
  #toast-container.toast-top-right,
  #toast-container.toast-top-left {
    top: 0;
  }
}

.note-editor.note-frame .note-editing-area .note-editable p{
  margin-bottom: 0.25rem;
  line-height: 24px !important;
}

/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
  background-color: #ffffff;
}

/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
  /* -webkit-box-shadow: inset 0 0 4px rgba(0,0,0,.3) !important; */
  border-radius: 12px;
  background-color: rgb(204, 204, 204);
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgb(155, 155, 155);
}

@media(max-width: 991.98px) {
  ::-webkit-scrollbar {
    width: 4px;
  }

  ::-webkit-scrollbar-thumb {
    border-radius: 4px;
  }
}