/*----------------------------------------------------------------
   inside page 共用
------------------------------------------------------------------*/

/* inside page 右邊最外面區塊
=================================*/
.inside-content-body {
  padding: 40px 20px;
}

/*.inside-page-header {
    margin: -40px -20px 20px -20px;
}*/

.inside-card-body {
  padding: 1.25rem 3rem;
}

@media only screen and (min-width: 1680px) {
  .card-body.inside-card-body {
    /*padding: 2rem 8rem;*/
    padding: 2rem 3rem;
  }
}

@media only screen and (max-width: 480px) {
  .card-body.inside-card-body {
    padding: 1.25rem;
  }
}

/* inside page 右邊區塊內容
=================================*/
.padding-right-025 {
  padding-right: 0.25rem;
}

.padding-left-025 {
  padding-left: 0.25rem;
}

@media only screen and (max-width: 1024px) {
  .padding-right-025 {
    padding-right: 15px;
  }

  .padding-left-025 {
    padding-left: 15px;
  }
}

/* 各頁title名稱 */
.main-title {
  font-size: 1.2em;
}

.main-title i {
  font-size: 0.9em;
}

/* 各頁sub-title內容 */
.filter-content {
  font-size: 13px;
  color: #333;
  letter-spacing: 0.5px;
}

.filter-content .filter-edit {
  color: #0088cc;
}

.filter-content .filter-edit i {
  font-size: 13px;
}

/* input disabled bg 顏色 */
.form-control:disabled {
  background-color: #f7f7f7;
}

/* input box-shadow */
.form-control:not(.form-control-sm):not(.form-control-lg) {
  box-shadow: none;
}

.card-footer {
  border-top: none;
  background-color: #fdfdfd;
}

.btn-default:hover,
.btn-default:active {
  background-color: #fdfdfd;
  border-color: #ccc;
}

.btn.btn-small {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
}

/* inside page Modal 內容
    =================================*/

.modal-content {
  border: none;
}

.modal-header {
  border-bottom: none;
}

.modal-header .close {
  outline: none;
  border: none;
}

.modal-footer {
  border-top: none;
  margin: 0 auto;
}

.modal-body {
  padding: 0 2.5rem;
}

.modal-header h4,
.modal-body h4 {
  font-size: 0.9rem;
  letter-spacing: 1px;
}

/*----------------------------------------------------------------
   用戶列表
------------------------------------------------------------------*/

/* DataTable
=================================*/
div.dataTables_wrapper div.dataTables_filter input {
  width: auto !important;
}

.dataTables_wrapper .dataTables_filter label {
  width: auto;
}

.table td {
  /*padding: 0.6rem;*/
  padding: 0.8rem 0.6rem;
  vertical-align: middle;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, 0.02);
}

table.dataTable.nowrap td {
  word-wrap: break-word;
  white-space: normal;
}

div.dataTables_wrapper div.dataTables_length label {
  float: left;
}

.dataTables_wrapper table thead th {
  padding-right: 15px !important;
}

.table-hover tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.01);
}

/* datatable 上面篩選、搜尋
=================================*/
.dataTables_wrapper .dropdown-item {
  margin-bottom: 2px;
}

.dataTables_wrapper .dt-button {
  font-size: 12px !important;
}

.dataTables_wrapper .dropdown-item.active,
.dataTables_wrapper .dropdown-item:active {
  background-color: #337ab7;
  border-radius: 2px !important;
  margin-bottom: 2px;
}

div.dataTables_filter,
div.dataTables_length {
  float: right;
  display: inline-block;
  margin-left: 0.5em;
}

.dataTables_wrapper .dataTables_length {
  margin-bottom: 0;
}

/* datatable篩選button
=================================*/
.dropdown-menu {
  border: none;
}

html .btn-secondary {
  font-size: 13px;
  background-color: #337ab7;
  border-color: #337ab7;
  color: #ffffff;
  padding: 3px 5px;
  letter-spacing: 1px;
}

html .btn-secondary:hover,
html .btn-secondary.hover {
  background-color: #337ab7;
  border-color: #337ab7;
  color: #ffffff;
}

html .btn-secondary:hover,
html .btn-secondary.hover {
  background-color: #337ab7;
  border-color: #337ab7;
}

html .btn-secondary:focus,
html .btn-secondary.focus {
  -webkit-box-shadow: 0 0 0 3px rgba(51, 122, 183, 0.5);
  box-shadow: 0 0 0 3px rgba(51, 122, 183, 0.5);
}

html .btn-secondary.disabled,
html .btn-secondary:disabled {
  background-color: #337ab7;
  border-color: #337ab7;
}

html .btn-secondary:active,
html .btn-secondary.active {
  background-color: #337ab7 !important;
  background-image: none !important;
  border-color: #337ab7 !important;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(51, 122, 183, 0.5) !important;
  box-shadow: 0 0 0 0.2rem rgba(51, 122, 183, 0.5) !important;
}

/* DataTable-Pagination 頁次
=================================*/
.dataTables_wrapper .pagination {
  margin-top: 10px !important;
  margin-bottom: 20px !important;
}

.page-item.active .page-link {
  border-radius: 30px !important;
  border-color: transparent;
  outline: none !important;
  box-shadow: none !important;
}

.page-link:focus {
  outline: none !important;
  box-shadow: none !important;
}

.page-link {
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 1.8rem;
  min-width: 1.8rem;
  vertical-align: middle;
  padding: 0.3rem;
  text-align: center;
  position: relative;
  font-size: 12px;
  line-height: 1.8rem;
  font-weight: 400;
}

.page-link:hover {
  background-color: transparent;
  border-color: transparent;
}

.pagination .previous .page-link,
.pagination .next .page-link {
  background-color: transparent !important;
  border-color: transparent !important;
}

/* 再行銷設定 Modal
=================================*/
.remarketing {
  text-align: center;
  margin-bottom: 40px;
}
.remarketing li {
  display: inline-block;
  text-align: center;
  margin: 6px;
}
.remarketing li .remark-icon {
  width: 100px;
  height: 100px;
  vertical-align: middle;
  border-radius: 50%;
  background-color: #ffffff;
  border: 2px solid #46aadc;
  margin: 0 auto;
}
.remarketing li .remark-icon i {
  font-size: 2.45rem;
  padding-top: 15px;
  color: #46aadc;
}
.remarketing li .remark-icon p {
  color: #46aadc;
  margin-bottom: 0;
}
.loading {
  text-align: center;
  margin: 70px;
}
.loading i {
  font-size: 1.45rem;
  color: #46aadc;
}

/*----------------------------------------------------------------
   用戶歷程-->左邊-->渠道ID
------------------------------------------------------------------*/

.card-img-top {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.channel-id-content {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.channel-id-content li {
  margin-bottom: 5px;
}

.channel-number {
  display: inline-block;
  width: 91%;
  float: right;
  color: #000011;
  line-height: 1.334;
  font-size: 0.8rem;
  word-break: break-all;
}

.channel-number small {
  margin-top: 3px;
}

.channel-list {
  width: 7%;
  margin-right: 2%;
}

.channel-list img {
  width: 20px;
  height: auto;
  vertical-align: text-top;
  display: inline-block;
}

/*----------------------------------------------------------------
   用戶歷程-->左邊-->個人資料
------------------------------------------------------------------*/
.profile-list {
  line-height: 24px;
}

.profile-list small {
  position: absolute;
  font-size: 0.4rem;
  font-weight: 400;
  text-align: center;
  color: #ffffff;
  background-color: #ffc600;
  border-radius: 3px;
  white-space: nowrap;
  padding: 0.6em 0.8em 0.7em;
  line-height: 0.7;
  /*margin: 3px 5px;*/
  margin: 3px 0;
}

.profile-list small i {
  margin-right: 2px;
}

.profile-list .profile-input {
  box-shadow: none;
  outline-color: transparent;
}

.profile-list .form-control {
  height: 30px;
  margin-bottom: 3px;
}

.profile-list .form-control:not(.form-control-sm):not(.form-control-lg) {
  line-height: 0;
  min-height: 0;
}

.profile-list .profile-info {
  margin-right: 3px;
  color: #777;
}

.profile-list .edit-confirm {
  margin: 15px auto;
}

/* toggle // 是否訂閱啟用開關
=================================*/

.toggle {
  margin: 0 !important;
  margin-left: 3px !important;
}

.toggle-on {
  color: #ffffff !important;
}

.toggle-off {
  color: #212529 !important;
  background-color: #f8f9fa !important;
}

.toggle-off.btn {
  padding-left: 1rem !important;
  padding: 0 0.5em;
  line-height: 19px;
  vertical-align: middle;
}

.toggle-on.btn {
  padding: 0 0.5em;
  line-height: 19px;
  vertical-align: middle;
}

.toggle.ios,
.toggle-on.ios,
.toggle-off.ios {
  border-radius: 20px !important;
  margin-left: 2px;
}

.toggle.ios .toggle-handle {
  border-radius: 20px !important;
}

.toggle.btn-xs {
  min-width: 2.19rem;
  min-height: 1.2rem;
}

/*----------------------------------------------------------------
   用戶歷程-->左邊-->廣告標籤
------------------------------------------------------------------*/

.ad-tags span {
  display: inline-block;
  border-width: 1px;
  border-style: solid;
  background-color: transparent;
  border-color: #1e90ea;
  color: #1e90ea;
  white-space: nowrap;
  /*border-radius: 0.25rem;*/
  /*padding: 0.4em 0.8em;*/
  padding: 0.325rem 0.475rem;
  margin: 0.2rem 0.1rem;
  line-height: 9px;
  border-radius: 10rem;
}

.ad-tags span small {
  font-weight: 500;
}

/*----------------------------------------------------------------
   用戶歷程-->右邊
------------------------------------------------------------------*/
.right-content {
  padding-bottom: 35px;
}

/* 歷程內容show more less
    =================================*/
.content-more-less {
  overflow: hidden;
}

.height {
  height: 85px;
  overflow: hidden;
}

/* 日期搜尋
    =================================*/

.width200 {
  width: 200px !important;
}

.width150 {
  width: 150px !important;
}

.daterangepicker.show-calendar .calendar {
  display: inline-block;
}

#dateranepicker_select {
  float: left;
  margin-right: 5px;
}

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

/*  網站互動、瀏覽歷程、行為歷程 tab 切換
    =================================*/
#user-history-pages .hide {
  display: none;
}

#user-history-pages .show {
  display: block;
}

.category {
  font-size: 0;
}

.category li {
  font-size: 12px;
  cursor: pointer;
  height: 24px;
  padding: 0 1rem;
  line-height: 24px;
  display: inline-block;
  border-radius: 0.25rem;
  margin-right: 8px;
}

.category-tab {
  color: #333;
  border: none;
  position: relative;
}

.category-active-tab {
  border: 0 none;
  background: #1e90ea;
  color: #fff;
}

.category-active-tab:after {
  content: '';
  position: absolute;
  left: 40%;
  bottom: -14px;
  border: 7px solid transparent;
  border-top: 7px solid #1e90ea;
}

/*----------------------------------------------------------------
   用戶歷程-->右邊-->網站互動
------------------------------------------------------------------*/

/* 單頁平均停留時間、行為次數
=================================*/
#site-interaction .card-body {
  padding: 1.25rem;
  -moz-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
  -webkit-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
}

#site-interaction .widget-summary .summary-icon {
  width: 50px;
  height: 50px;
  line-height: 50px;
}

#site-interaction .widget-summary .summary-icon {
  font-size: 1.45rem;
}

#site-interaction .widget-summary .summary {
  min-height: auto;
}

#site-interaction .widget-summary .summary .amount {
  margin-right: 0.2em;
  font-weight: 600;
  color: #333;
  vertical-align: middle;
  /*font-size: 1.3rem*/
  font-size: 1.1rem;
}

#site-interaction .widget-summary .summary .amount .number {
  font-size: 1.3rem;
}

#site-interaction .stay-times {
  background-color: #f24f70;
}

#site-interaction .actions-times {
  background-color: #00c689;
}

/* 各裝置停留時間、生命週期變化
=================================*/
#web-stay-times,
#life-cycle-changes {
  width: 100%;
  height: 300px;
}

.fa-question-circle {
  color: #dee2e6;
  font-weight: normal;
}

.topic {
  font-size: 15px;
}

.topic i {
  font-size: 14px;
}

/*----------------------------------------------------------------
   用戶歷程-->右邊-->瀏覽歷程
------------------------------------------------------------------*/
.timeline .tm-body {
  padding: 10px 0;
}

.timeline .tm-body:after {
  width: 2px;
}

.timeline .tm-items > li .tm-box:after {
  right: 100%;
  border: solid transparent;
  content: ' ';
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-right-color: #e9e9e9;
  border-width: 8px;
  top: 50%;
  margin-top: -8px;
  z-index: 2;
}

.timeline .tm-items > li .tm-icon {
  position: absolute;
  top: 50%;
  left: 140px;
  background-color: #ffffff;
  border: 2px solid #ccc;
  color: #0088cc;
  font-size: 15px;
  padding: 4px;
  width: 28px;
  height: 28px;
  text-align: center;
  line-height: 13px;
  margin-top: -14px;
  margin-left: -14px;
  z-index: 2;
  border-radius: 50%;
}

.timeline .tm-items > li .tm-icon i {
  font-size: 16px;
  line-height: 15px;
}

.timeline .tm-items > li .tm-datetime .tm-datetime-time {
  font-size: 0.8rem;
}

/*----------------------------------------------------------------
   用戶歷程-->右邊-->行為歷程
------------------------------------------------------------------*/
.cd-h-timeline__events ol {
  padding-left: 0;
}

.cd-h-timeline__line ol li {
  white-space: nowrap;
}

.js .cd-h-timeline__event {
  padding: 1px 3%;
}

.no-click {
  pointer-events: none;
}

.action-content {
  line-height: 23px;
  font-size: 0.8rem;
}

.action-content li span {
  width: 85px;
}

/*----------------------------------------------------------------
   用戶歷程-->右邊-->購買分析
------------------------------------------------------------------*/

/* 購買頻次、購買間隔時長、總貢獻金額、平均消費金額
=================================*/
#purchase-analysis .card-body {
  padding: 1.25rem;
  -moz-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
  -webkit-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
}

#purchase-analysis .widget-summary .summary-icon {
  width: 50px;
  height: 50px;
  line-height: 50px;
}

#purchase-analysis .widget-summary .summary-icon {
  font-size: 1.45rem;
}

#purchase-analysis .widget-summary .summary {
  min-height: auto;
}

#purchase-analysis .widget-summary .summary .amount {
  margin-right: 0.2em;
  font-weight: 600;
  color: #333;
  vertical-align: middle;
  font-size: 1.1rem;
}

#purchase-analysis .widget-summary .summary .amount .number {
  font-size: 1.3rem;
}

#purchase-analysis .buy-frequent {
  background-color: #ff9e01;
}

#purchase-analysis .buy-intervals {
  background-color: #00c689;
}

#purchase-analysis .total-contribution {
  background-color: #f24f70;
}

#purchase-analysis .average-consumption {
  background-color: #01c0ff;
}

.number-unit {
  font-size: 0.735rem;
  font-weight: normal;
  padding-top: 3px;
  display: inline-block;
}

@media only screen and (min-width: 769px) and (max-width: 1280px) {
  .padding-right-0 {
    padding-right: 0;
  }

  #purchase-analysis .card-body {
    padding: 1.25rem 1rem;
  }
}

/* 購買決策時長、貢獻度分析
=================================*/
#purchase-times,
#purchase-times-2,
#purchase-times-3,
#purchase-contribution,
#purchase-contribution-2,
#purchase-contribution-3 {
  width: 100%;
  height: 110px;
}

#purchase-times-contribution .nav-tabs .nav-link.active {
  font-weight: normal;
  background-color: transparent;
  border-bottom: 2px solid #1e90ea;
  border-right: none;
  border-left: none;
  border-top: none;
}

#purchase-times-contribution .nav-tabs .nav-link.active {
  color: #1e90ea;
  border-bottom-style: solid;
  border-bottom-color: #1e90ea;
  border-bottom-width: 2px;
}
#purchase-times-contribution .nav-tabs .nav-link {
  color: #838383;
  opacity: 0.8;
}

#purchase-times-contribution .nav-tabs .nav-link:hover {
  color: #1e90ea;
  border-right: none;
  border-left: none;
  border-top: none;
}

#purchase-times-contribution .tab-content {
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  background-color: transparent;
  border: none;
  border-top: 0;
  padding: 0;
}

#purchase-times-contribution .purchase-times-item,
#purchase-times-contribution .purchase-contribution-item {
  font-size: 0.8rem;
}

/* 購買預測-->tags
=================================*/

#purchase-forecast .badge {
  display: inline-block;
  padding: 0.25em 1em 0.4em;
  font-size: 60%;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 30px;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

#purchase-forecast .bg-primary-lt {
  color: #ffffff !important;
  background-color: #38a2fd !important;
  font-weight: 500;
}

#purchase-forecast .bg-primary-lt.active,
#purchase-forecast .bg-primary-lt:focus,
#purchase-forecast .bg-primary-lt:hover {
  color: #fff !important;
  background-color: #38a2fd !important;
}

/* 購買預測-->購買熱度 %
=================================*/
#purchase-forecast .progress {
  border-width: 1px;
  border-style: solid;
  background: transparent;
  border-color: #1e90ea;
  -webkit-box-shadow: none;
  box-shadow: none;
  height: 0.4rem;
  border-radius: 30px;
}

#purchase-forecast .progress-bar {
  background: #1e90ea !important;
}

/*----------------------------------------------------------------
   EDM設定
------------------------------------------------------------------*/

/* 寄件人、寄件人Email select
=================================*/
.select2-container--default .select2-selection--multiple {
  border: 1px solid #ccc;
}

.select2-dropdown {
  border: 1px solid #ccc;
  z-index: 99999;
}

.select2-container .select2-selection--multiple {
  min-height: 38.5px;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
  border: solid #ccc 1px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  background-color: #fff;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  color: #ffffff !important;
  margin: 7px 3px 0 3px;
  padding: 0px 10px;
  background: #0088cc;
  border-radius: 30px;
  font-size: 11px;
  border: none;
}

.select2-container--default .select2-results__option[aria-selected='true'] {
  background-color: #ffffff;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #0088cc;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
  color: #ffffff !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  color: #ffffff !important;
  margin-left: 2px;
  float: right;
}

/* 隱藏tool「A」下拉文字background color picker
=================================*/
.note-color .note-palette:first-child {
  display: none !important;
}

/* 發送日期、時間
=================================*/

.datepicker-dropdown.dropdown-menu,
.bootstrap-timepicker-widget.dropdown-menu {
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
}

.bootstrap-timepicker-widget table td a:hover {
  color: #ffffff !important;
}
.note-editor .note-toolbar {
  z-index: auto;
}
.note-input {
  outline: none;
}

.note-form-label {
  margin-right: 3px;
}

/*----------------------------------------------------------------
   Web Notify 設定
------------------------------------------------------------------*/

/* 大頭Icon select
=================================*/
.headshot {
  width: 30px;
  height: 30px;
  max-width: 30px;
  object-fit: cover;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  -khtml-border-radius: 50%;
}

.select2-container {
  width: 100% !important;
}
.select2-container--default .select2-selection--single {
  width: 100%;
  height: calc(1.5em + 0.75rem + 2px);
  padding: 0.2rem 0;
  font-size: 0.85rem;
  line-height: 1.85;
  min-height: 2.4rem;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 38px;
}

.select2-results__option {
  padding-left: 8px;
}
.select2-container *:focus {
  outline: none;
}

/* 上傳大頭Icon
=================================*/
.custom-file-label {
  line-height: 1.7;
  min-height: 2.4rem;
}
.custom-file-label::after {
  height: 2.25rem;
  padding: 0.375rem 0.75rem;
  line-height: 1.7;
}

/* 上傳內容圖片
=================================*/

.input-group-btn .btn {
  font-size: 0.85rem;
}
.input-group-btn .btn:hover {
  background-color: #e9ecef;
}
.image-preview-input {
  position: relative;
  overflow: hidden;
  margin: 0px;
  color: #495057;
  background-color: #e9ecef;
  border-color: #ccc;
  border-left: inherit;
  border-radius: 0 0.25rem 0.25rem 0;
}
.image-preview-input input[type='file'] {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  padding: 0;
  cursor: pointer;
  opacity: 0;
  filter: alpha(opacity=0);
}
.image-preview-input-title {
  margin-left: 2px;
}

.popover-header {
  font-size: 12px;
  padding: 5px 8px;
}

.popover-body {
  font-size: 12px;
}

.popover-body img {
  max-width: 100%;
}

/* 上傳內容圖片 Modal tab
=================================*/
.web-notify {
  font-size: 0;
}

.web-notify li {
  font-size: 12px;
  cursor: pointer;
  height: 24px;
  padding: 0 1rem;
  line-height: 24px;
  display: inline-block;
  border-radius: 0.25rem;
  margin-right: 8px;
}

.web-notify-tab {
  color: #333;
  background: #f1f1f1;
  border: none;
  position: relative;
}

.web-notify-active-tab {
  border: 0 none;
  background: #46aadc;
  color: #fff;
}

.web-notify-active-tab:after {
  content: '';
  position: absolute;
  left: 40%;
  bottom: -14px;
  border: 7px solid transparent;
  border-top: 7px solid #46aadc;
}

/*----------------------------------------------------------------
   排程紀錄
------------------------------------------------------------------*/

/* 排程紀錄 datatable 上面下拉分頁
=================================*/

#schedule-table-list_wrapper.dataTables_wrapper .dataTables_length {
  float: left;
  margin-left: 0;
}

/* 排程紀錄狀態
=================================*/
.schedule-mode-send {
  font-size: 0.7rem;
  font-weight: 400;
  color: #fb8881;
  border: 1px solid #fb8881;
  border-radius: 3px;
  padding: 2px 5px;
}
.schedule-mode-no-send {
  font-size: 0.7rem;
  font-weight: 400;
  color: #9ec805;
  border: 1px solid #9ec805;
  border-radius: 3px;
  padding: 2px 5px;
}
.schedule-mode-ing-send {
  font-size: 0.7rem;
  font-weight: 400;
  color: #fdb00b;
  border: 1px solid #fdb00b;
  border-radius: 3px;
  padding: 2px 5px;
}

/*----------------------------------------------------------------
   事件設定
------------------------------------------------------------------*/

/* 下載說明文件 button
=================================*/
.description-file {
  font-size: 0.7rem;
  font-weight: 400;
  color: #d9514d !important;
  border: 1px solid #d9514d;
  border-radius: 3px;
  padding: 2px 5px;
}
.description-file:hover {
  color: #ffffff !important;
  background-color: #d9514d;
}

/* 新增事件 Modal
=================================*/
#add-event-function .checkbox-custom {
  width: 120px;
}

/*----------------------------------------------------------------
   UTM設定
------------------------------------------------------------------*/
/* UTM設定-->活動列表-->datatable content
=================================*/
.dt-center {
  text-align: center;
}
table.dataTable.dtr-column > tbody > tr > td.control:before {
  box-shadow: none;
  background-color: #0088cc;
  line-height: 16px;
}
table.dataTable > tbody > tr.child span.dtr-title {
  display: inline-block;
  min-width: 95px;
  font-weight: bold;
}
table.dataTable > tbody > tr.child ul.dtr-details > li {
  border-bottom: none;
}
/* 排序箭頭 */
table.dataTable thead .sorting:before,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_asc_disabled:before,
table.dataTable thead .sorting_desc_disabled:before {
  right: 0.5em;
}
table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting_desc_disabled:after {
  right: 0em;
}

table.dataTable > tbody > tr.child ul.dtr-details {
  width: 100%;
}

/* UTM設定-->活動列表-->複製連結
=================================*/
*:focus {
  outline: 0 !important;
}

.copy-link {
  display: inline-block;
  background-color: #0088cc;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  color: #ffffff;
  outline: none;
  border: none;
  line-height: 23px;
  margin: 7px 10px;
}

.copy-link:hover,
.copy-link:active,
.copy-link:focus {
  color: #ffffff;
}

.copy-link-style {
  position: absolute;
  width: 25px;
  z-index: -999;
  opacity: 0;
}

.toast {
  position: absolute;
  font-size: 12px;
  letter-spacing: 1px;
  z-index: 2;
  border: none;
  top: 50%;
  left: 50%;
  margin-top: -30px;
  margin-left: -100px;
}

input.link:not(.form-control) {
  width: 100%;
  border-style: none;
  background: transparent;
  opacity: 0;
  width: 1px;
}

input.link:not(.form-control):focus {
  outline: none;
}

.tooltip {
  font-size: 10px;
}

/* UTM活動數據-->詳細數據內容-->活動轉換-->CPC、CPUV
=================================*/
#activity-transfer .card-body {
  padding: 1.25rem;
  -moz-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
  -webkit-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
}

#activity-transfer .widget-summary .summary-icon {
  width: 50px;
  height: 50px;
  line-height: 50px;
}

#activity-transfer .widget-summary .summary-icon {
  font-size: 1.45rem;
}

#activity-transfer .widget-summary .summary {
  min-height: auto;
}

#activity-transfer .widget-summary .summary .amount {
  margin-right: 0.2em;
  font-weight: 600;
  color: #333;
  vertical-align: middle;
  font-size: 1.1rem;
}

#activity-transfer .widget-summary .summary .amount .number {
  font-size: 1.3rem;
}

#activity-transfer .cpc-cost {
  background-color: #ff9e01;
}

#activity-transfer .cpuv-cost {
  background-color: #abd808;
}

/* UTM活動數據-->詳細數據內容-->活動流量檢視
=================================*/

#activity-website-pageview {
  width: 100%;
  height: 320px;
}

#activity-popular-sources,
#activity-popular-sources-1,
#activity-popular-sources-2 {
  width: 100%;
  height: 300px;
}

#activity-popular-sources-person {
  width: 100%;
  height: 350px;
}

/* 熱門來源/媒介、熱門來源、媒介 tab切換
    =================================*/
#activity-popular-content-pages .hide {
  display: none;
}

.popular-sources {
  font-size: 0;
}

.popular-sources li {
  font-size: 12px;
  cursor: pointer;
  height: 24px;
  padding: 0 1rem;
  line-height: 24px;
  display: inline-block;
  border-radius: 0.25rem;
  margin-right: 8px;
}

.popular-sources-tab {
  color: #333;
  border: none;
  position: relative;
}

.popular-sources-active-tab {
  border: 0 none;
  background: #1e90ea;
  color: #fff;
}

.popular-sources-active-tab:after {
  content: '';
  position: absolute;
  left: 40%;
  bottom: -14px;
  border: 7px solid transparent;
  border-top: 7px solid #1e90ea;
}

@media only screen and (max-width: 480px) {
  .popular-sources li {
    margin-bottom: 10px;
  }
}

/* 熱門來源/媒介、熱門來源、媒介 左邊table列表 scroll
    =================================*/
/* tablediv-scrollbar-width */
.activity_popular_sources_tablediv::-webkit-scrollbar {
  width: 5px;
}

/* tablediv-scrollbar-Track */
.activity_popular_sources_tablediv::-webkit-scrollbar-track {
  background: #fdfdfd;
}

/* tablediv-scrollbar-Handle */
.activity_popular_sources_tablediv::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 8px;
}

/* tablediv-scrollbar-Handle on hover */
.activity_popular_sources_tablediv::-webkit-scrollbar-thumb:hover {
  background: #ccc;
}

.activity_popular_sources_tablediv {
  overflow: scroll;
  height: 300px;
}

/* table thead 固定在最上面 */
.activity_popular_sources_tablediv thead tr:nth-child(1) th {
  background: #fdfdfd;
  position: sticky;
  top: 0;
  z-index: 10;
}

/* table 來源/媒介 width */
.activity_popular_sources_tablediv thead tr th:nth-child(2) {
  width: 35%;
}

.badge-red {
  width: 39px;
  font-weight: 500;
  background: #ed4f4a;
  color: #fff;
}

.badge-green {
  width: 39px;
  font-weight: 500;
  background: #9ac401;
  color: #fff;
}

/*----------------------------------------------------------------
   標籤報表
------------------------------------------------------------------*/

/* 標籤趨勢圖 左邊折線圖


/* 標籤趨勢圖 右邊table列表 scroll
    =================================*/
/* tablediv-scrollbar-width */
.tag_trend_analysis_people_tablediv::-webkit-scrollbar,
.tag_trend_analysis_times_tablediv::-webkit-scrollbar {
  width: 5px;
}

/* tablediv-scrollbar-Track */
.tag_trend_analysis_people_tablediv::-webkit-scrollbar-track,
.tag_trend_analysis_times_tablediv::-webkit-scrollbar-track {
  background: #fdfdfd;
}

/* tablediv-scrollbar-Handle */
.tag_trend_analysis_people_tablediv::-webkit-scrollbar-thumb,
.tag_trend_analysis_times_tablediv::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 8px;
}

/* tablediv-scrollbar-Handle on hover */
.tag_trend_analysis_people_tablediv::-webkit-scrollbar-thumb:hover,
.tag_trend_analysis_times_tablediv::-webkit-scrollbar-thumb:hover {
  background: #ccc;
}

.tag_trend_analysis_people_tablediv,
.tag_trend_analysis_times_tablediv {
  overflow: hidden;
  height: 400px !important;
}

.tag_trend_analysis_people_tablediv:hover,
.tag_trend_analysis_times_tablediv:hover {
  overflow-y: scroll;
}

/* table thead 固定在最上面 */
.tag_trend_analysis_people_tablediv thead tr:nth-child(1) th,
.tag_trend_analysis_times_tablediv thead tr:nth-child(1) th {
  background: #fdfdfd;
  position: sticky;
  top: 0;
  z-index: 10;
}

/* switch切換數據圖表
    =================================*/
.switch {
  position: relative;
  display: inline-block;
  width: 35px;
  height: 18px;
}

.switch input {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #dee2e6;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: '';
  height: 16px;
  width: 16px;
  left: 0;
  bottom: 1px;
  background-color: #0088cc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #dee2e6;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(18px);
  -ms-transform: translateX(18px);
  transform: translateX(18px);
}

input:checked + .slider .on {
  display: block;
}

input:checked + .slider .off {
  display: none;
}

.slider.round {
  border-radius: 20px;
}

.slider.round:before {
  border-radius: 50%;
}

/* 標籤列表 tag datatable
    =================================*/
#tag-report-data-list_wrapper div.dataTables_length {
  float: left !important;
  margin-left: 0;
}

#tag-report-data-list_wrapper div.dataTables_filter {
  float: none;
}
