/* HTML标签 */

p {
  padding: 0;
  margin: 0;
}

/* btn 类 */

/* override 基础 btn 类 */

.btn, .btn:active, .btn:focus, .btn .fa {
  padding-top: 0;
  height: 28px;
  line-height: 28px;
  border: none;
  outline: none;
  font-size: 14px;
}

.btn.btn-xs, .btn.btn-xs .fa {
  height: 18px;
  line-height: 18px;
  font-size: 10px;
}

.btn.btn-sm, .btn.btn-sm .fa {
  height: 24px;
  line-height: 24px;
  font-size: 10px;
}

.btn.btn-md, .btn.btn-md .fa {
  height: 36px;
  line-height: 36px;
  font-size: 14px;
}

.btn.btn-lg, .btn.btn-lg i {
  height: 48px;
  line-height: 48px;
  font-size: 16px;
}

.btn.btn-lg i {
  font-size: 24px;
}

.btn.btn-2x {
  font-size: 24px;
  height: 95px;
  line-height: 95px;
}

.btn.btn-block {
  margin: 2px 0;
  padding: 0 6px;
}

.btn.btn-img img {
  height: 90%;
}

.btn.btn-square, .btn.btn-square:hover {
  margin: 4px 0;
  width: 85%;
  height: 120px;
  border: solid 1px #ccc;
  border-radius: 8px;
  text-align: center;
}

.btn.btn-square .fa {
  margin: 30px 0;
  font-size: 48px;
}

.btn.btn-default, .btn.btn-default:focus, .btn.btn-default:hover {
  background-color: #fff;
  border: solid 1px #e6e6e6;
}

.btn.btn-primary, .btn.btn-primary:focus, .btn.btn-primary:hover {
  border-color: #e0a973;
  background-color: #e0a973;
  color: #fff;
}

.btn.btn-warning, .btn.btn-warning:focus, .btn.btn-warning:hover {
  border-color: #faf06e;
  background-color: #faf06e;
  color: #b68044;
}

.btn.btn-success, .btn.btn-success:focus, .btn.btn-success:hover {
  border-color: #77d04a;
  background-color: #77d04a;
  color: #fff;
}

.btn.btn-info, .btn.btn-info:focus {
  border-color: #8dcfec;
  background-color: #8dcfec;
  color: #fff;
}

.btn.btn-info:hover {
  background-color: #6abbef;
}

.btn.btn-borderless {
  border: none;
}

.btn.btn-gray {
  background-color: #B3B3B3;
  color: #fff;
}

.btn.btn-gray-light {
  background-color: #f9c523;
  color: #fff;
}

.btn.btn-clean {
  background-color: #f0f0f0;
  color: #666;
}

.btn.btn-circle {
  background-color: none;
  border: solid 1px #fff;
}

/* carousel 类 */

.carousel .item img {
  width: 100%;
}

.carousel .carousel-control {
  background: none;
}

.divider {
  color: #b68043;
}

.dropdown-menu {
  z-index: 90000 !important;
  -webkit-box-shadow: 1px 2px 2px #ccc;
  -moz-box-shadow: 1px 2px 2px #ccc;
  box-shadow: 1px 2px 2px #ccc;
}

/* label */

.label.label-clean {
  background-color: #ccc;
}

.label.label-pale, .label.label-pale:hover {
  background-color: #eee;
  color: #666;
}

/* form 类 */

.input-group-addon {
  background-color: #fff;
}

.form-control {
  width: 100%;
  background-color: #eee;
  -webkit-box-shadow: inset 0px 1px 1px 0 #cdcdcd;
  -moz-box-shadow: inset 0px 1px 1px 0 #cdcdcd;
  box-shadow: inset 0px 1px 1px 0 #cdcdcd;
  outline: none;
  border: none;
}

.form-control:focus {
  background-color: #fdfbe0;
  -webkit-box-shadow: inset 0px 1px 1px 0 #cdcdcd;
  -moz-box-shadow: inset 0px 1px 1px 0 #cdcdcd;
  box-shadow: inset 0px 1px 1px 0 #cdcdcd;
}

.form-control.disabled, .form-control[disabled] {
  background: #ccc;
  color: #666;
}

textarea.textarea-sm, textarea.textarea-md, textarea.textarea-lg {
  line-height: 24px;
  font-size: 14px;
}

textarea.textarea-sm {
  height: 120px;
}

textarea.textarea-md {
  height: 240px;
}

textarea.textarea-lg {
  height: 360px;
}

/* panel 类 */

.panel.panel-flat {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  background-color: #f8f8f8;
}

.panel .panel-body .panel-title {
  margin-bottom: 8px;
  height: 60px;
  line-height: 60px;
  border-bottom: 1px solid #eee;
  color: #555;
}

.panel .panel-title.no-border {
  border: none;
}

.panel .panel-title-success {
  border-bottom-color: #a7e580;
}

.panel .panel-title-info {
  border-bottom-color: #90cfee;
}

.panel .panel-title-warning {
  border-bottom-color: #f9c523;
}

.panel .panel-title .form-group {
  padding-top: 12px;
}

.panel-body>.btn-block {
  margin-top: 20px;
}

.panel-body {
  padding: 12px;
}

.panel .panel-footer {
  padding: 0 20px;
  border: none;
  background-color: #fff;
}

.panel .panel-footer .pagination {
  margin-top: 0;
}

.panel .more {
  float: right;
  margin-top: 15px;
  width: 83px;
  height: 30px;
  line-height: 30px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  background: #c8c8c8;
  color: #fff;
  text-align: center;
  font-size: 12px;
}

.panel .more:hover {
  background-color: #999;
}

.panel.panel-dust .panel-body {
  background-color: #eee;
}

.panel.panel-dust .form-control {
  background-color: #fff;
}

.padding-v-15 {
  padding-top: 15px;
  padding-bottom: 15px;
}

.padding-v-30 {
  padding-top: 15px;
  padding-bottom: 15px;
}

.padding-btm-0 {
  padding-bottom: 0;
}

.list-remove-margin {
  margin-bottom: 0;
}

.letter-space-lg {
  letter-spacing: 0.4em;
}

/* 颜色 */

.text-muted {
  color: #999 !important;
}

.text-primary {
  color: #bc7a44 !important;
}

a.text-primary:hover {
  color: #bc7a44 !important;
}

.text-success {
  color: #3c763d !important;
}

a.text-success:hover {
  color: #2b542c !important;
}

.text-info {
  color: #31708f !important;
}

a.text-info:hover {
  color: #245269 !important;
}

.text-warning {
  color: #f5b142 !important;
}

a.text-warning:hover {
  color: #66512c !important;
}

.bg-primary {
  color: #fff !important;
  background-color: #E0A973 !important;
}

a.bg-primary:hover {
  background-color: #3071a9 !important;
}

.bg-success {
  background-color: #dff0d8 !important;
}

a.bg-success:hover {
  background-color: #c1e2b3 !important;
}

.bg-info {
  background-color: #d9edf7 !important;
}

a.bg-info:hover {
  background-color: #afd9ee !important;
}

.bg-warning {
  background-color: #fcf8e3 !important;
}

a.bg-warning:hover {
  background-color: #f7ecb5 !important;
}

.bg-danger {
  background-color: #f2dede !important;
}

a.bg-danger:hover {
  background-color: #e4b9b9 !important;
}

/* modal */

.modal .modal-header {
  padding: 6px 18px;
}

.modal .modal-dialog {
  margin-top: 36px;
}

.modal .close, .order-modal .close {
  position: absolute;
  top: -8px;
  right: -8px;
  opacity: 1;
  background-color: #fff;
  border-radius: 50%;
  -webkit-box-shadow: -2px 2px 2px #999;
  -moz-box-shadow: -2px 2px 2px #999;
  box-shadow: -2px 2px 2px #999;
}

/*.modal {
  position: absolute;
}*/

.modal .close span, .order-modal .close span {
  display: block;
  width: 32px;
  height: 32px;
  line-height: 28px;
  border: solid 3px #fff;
  border-radius: 50%;
  background-color: #333;
  color: #fff;
  font-size: 22px;
}

.modal-title {
  padding: 12px 0;
  text-align: center;
}

/* tools sprite */

.badge {
  background-color: #ccc;
}

.thumbnail-round {
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}

/* custom column*/

.col-one-fifth {
  width: 100%;
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}

@media (min-width: 992px) {
  .col-one-fifth {
    width: 20%;
    float: left;
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
  }
}

/* grid helper */

.col-1 {
  width: 8%;
}

.col-2 {
  width: 16%;
}

.col-3 {
  width: 24%;
}

.col-4 {
  width: 32%;
}

.col-5 {
  width: 40%;
}

.col-6 {
  width: 48%;
}

.col-7 {
  width: 56%;
}

.col-8 {
  width: 64%;
}

.col-9 {
  width: 72%;
}

.col-10 {
  width: 80%;
}

.col-11 {
  width: 88%;
}

.col-12 {
  width: 96%;
}

/* custom icons*/

.icon {
  display: inline-block;
  margin: 0 2px;
  width: 30px;
  height: 30px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  overflow: hidden;
}

.icon.icon-xs {
  width: 12px;
  height: 12px;
}

.icon.icon-sm {
  width: 20px;
  height: 20px;
}

.icon.icon-md {
  width: 40px;
  height: 40px;
}

.icon.icon-lg {
  width: 50px;
  height: 50px;
}

.icon.icon-square {
  margin: 0 5px;
  border-radius: 0;
}

.icon.icon-square.icon-yellow {
  background-color: #FDEF63;
}

.icon-double-tri-square {
  margin-left: 5px;
  margin-right: 5px;
  width: 12px;
  height: 12px;
  display: inline-block;
  position: relative;
}

.icon-double-tri-square:before {
  content: "";
  position: absolute;
  border-top: 12px solid #F2F2F2;
  border-right: 12px solid transparent;
}

.icon-double-tri-square:after {
  content: "";
  position: absolute;
  border-bottom: 12px solid #E6E6E6;
  border-left: 12px solid transparent;
}

/* text */

.text-sm {
  font-size: 12px;
}

.text-md {
  font-size: 18px;
}

.text-lg {
  font-size: 22px;
}

.text-dark {
  color: #222;
}

/* pagination */

.pagination {
  width: 100%;
  text-align: center;
}

.pagination li {
  display: inline-block;
}

.pagination li a {
  margin: 0 10px;
  width: 28px;
  height: 28px;
  padding: 0;
  line-height: 28px;
  border: none;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  background-color: #fff;
  text-align: center;
  color: #8c8c8c;
}

.pagination li a:hover {
  color: #666;
}

.pagination li.active a, .pagination li.active a:hover {
  background-color: #f8f165;
  color: #5a5a5a;
}

.pagination li:first-child a, .pagination li:last-child a {
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}

.pagination li.page-prev a, .pagination li.page-next a {
  background-color: #e8a76d;
  color: #fff;
}

/* vote */

.vote3 {
  width: 200px;
  height: 20px;
}

.vote3 span {
  width: 12px;
  height: 19px;
  display: inline-block;
  vertical-align: top;
  font-size: 0;
}

.vote3 .vote-span {
  background: url(/img/txl/icon-heart-o.png) no-repeat left top;
}

.vote3 .vote-span_two {
  background: url(/img/txl/icon-heart-o.png) no-repeat -12px top;
  margin-right: 5px;
}

.vote3 .vote-span.active {
  background: url(/img/txl/icon-heart.png) no-repeat left top;
}

.vote3 .vote-span_two.active {
  background: url(/img/txl/icon-heart.png) no-repeat -12px top;
  margin-right: 5px;
}

.align-right {
  text-align: right !important;
}

.align-left {
  text-align: left !important;
}

.align-center {
  text-align: center !important;
}

.inline-block {
  display: inline-block;
}

.progress-bar-success {
  background-color: #64c23b;
}

.force-hardware-render {
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* calendar */

.calendar {
  width: 100%;
}

.calendar-alert {
  margin: 12px 0;
  padding: 18px;
}

.calendar-heading {
  padding: 1px;
}

.calendar-body {
  overflow: hidden;
  width: 100%;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.calendar-body .calendar-types {
  margin-bottom: 24px;
  text-align: center;
}

.calendar-body .calendar-types a {
  margin-right: 12px;
}

.calendar-heading>li {
  position: relative;
  float: left;
  width: 14%;
  height: 48px;
  line-height: 48px;
  background-color: #FFFFFF;
  text-align: center;
  font-size: 18px;
  cursor: pointer;
}

.calendar-body .date-item, .calendar-body .date-item-disabled, .calendar-body .date-item-off {
  position: relative;
  float: left;
  padding: 2px 4px;
  width: 14%;
  height: 72px;
  background-color: #e6e6e6;
  cursor: pointer;
}

.calendar-body .date-item-disabled {
  background-color: #f2f2f2;
}

.calendar-body .date-item-off {
  background-color: #c8c8c8;
}

.calendar-body .week-row {
  margin-bottom: 0;
  overflow: hidden;
}

.calendar-body .date-item.highlight {
  background-color: #fcef63;
}

.calendar-body .date-item.show {
  background-color: #fbb03b;
  color: #fff;
}

.calendar-body .date-item.show i {
  background-position: 0 0px;
  width: 17px;
  height: 2px;
  margin-left: -8px;
  bottom: 13px;
}

.calendar-body .date-item .event-date, .calendar-body .date-item-off .event-date {
  display: block;
  font-size: 15px;
}

.calendar-body .date-item-off .event-date {
  color: #969696;
}

.calendar-collapse {
  position: relative;
  display: none;
  z-index: 10;
  padding: 0;
  overflow: hidden;
}

.calendar-collapse .clear {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  display: block;
  width: 14px;
  height: 14px;
  background: url(../img/shared/icon.png) 0 -16px no-repeat;
}

.calendar-events {
  margin: 0 auto;
  width: 98%;
  padding: 24px 0;
}

.calendar-events .on {
  padding: 16px 0;
  color: #b68044;
  font-size: 18px;
  background-color: #fff;
}

.calendar-event-list {
  margin-bottom: 8px;
}

/* tangxl theme icons */

.tti {
  display: inline-block;
  background: url(/img/txl/tti-resources.png) no-repeat;
}

.tti.tti-semi-pen, .tti.tti-semi-txl, .tti.tti-semi-arrow, .tti.tti-semi-phone {
  width: 43px;
  height: 69px;
  background-position: 0 0;
  -webkit-background-size: 400%;
  -moz-background-size: 400%;
  -o-background-size: 400%;
  background-size: 400%;
}

.tti.tti-semi-txl {
  background-position: 33% 0;
}

.tti.tti-semi-arrow {
  background-position: 67% 0;
}

.tti.tti-semi-phone {
  background-position: 100% 0;
}

.tti.tti-heart-plus, .tti.tti-heart-search, .tti.tti-chat {
  width: 160px;
  height: 160px;
  background-position: 0 13.4%;
  -webkit-background-size: 100%;
  -moz-background-size: 100%;
  -o-background-size: 100%;
  background-size: 100%;
}

.tti.tti-heart-search {
  background-position: 0 46.5%;
}

.tti.tti-chat {
  background-position: 0 79.5%;
}

/* layout */

.footer-nav {
  padding: 4px;
  background-color: #fff;
  box-shadow: -1px -1px 2px #eee;
}

.footer-collapse {
  display: block;
}

@media(max-width: 768px) {
  .footer-collapse {
    display: none;
  }
}

.grid-cell-sm, .grid-cell-md, .grid-cell-lg {
  margin: 8px 0;
  padding: 2px;
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.grid-cell-md {
  margin: 12px 0;
  height: 240px;
}

.grid-cell-lg {
  margin: 18px 0;
  height: 320px;
}

@media (max-width: 768px) {
  .grid-cell-sm, .grid-cell-md, .grid-cell-lg {
    margin: 0;
    padding: 2px 0;
    min-height: 20px;
    overflow: visible;
  }
}

@media (max-width: 768px) {
  section {
    margin-bottom: 8px;
  }
  .container>h1, .container>h2, .container>h3, .container-fluid>h1, .container-fluid>h2, .container-fluid>h3 {
    padding-left: 8px;
  }
  .container {
    margin: 0;
    padding-left: 0;
    padding-right: 0;
  }
  .navbar-fixed-top, .navbar-fixed-bottom, .navbar-static-top {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
  }
  .row {
    margin-left: 0;
    margin-right: 0;
  }
  .row div[class^="col"] {
    padding-left: 0;
    padding-right: 0;
  }
  .list-group-item:first-child, .list-group-item:last-child {
    border-radius: 0;
  }
}