@charset "UTF-8";

body {
  color: #555;
}

img {
  max-width: 100%;
}

a:hover {
  text-decoration: none;
}

.u-side-nav--second-level-menu {
  padding-left: 35px;
}

.daterangepicker.opensright:before {
  left: auto;
  right: 24px;
}

.daterangepicker.opensright:after {
  left: auto;
  right: 25px;
}

.navbar-brand img {
  max-width: 60%;
  max-height: 60%;
}

.apexcharts-toolbar {
  display: none !important;
}

#sideNavMenu {
  min-height: calc(100vh - 65px);
}

.card {
  height: 100%;
}

h3 {
  margin-bottom: 15px;
  padding-left: 10px;
  font-size: 18px;
  line-height: 1.5;
  border-left: 5px solid #3f6586;
}

h3 a {
  color: #555;
}

h3 a:hover {
  color: #3f6586;
}

.company-info ul {
  list-style: none;
}

.company-info ul li {
  margin-bottom: 5px;
}

.company-detail ul {
  list-style: none;
}

.company-detail ul li {
  margin-bottom: 5px;
}

.company-detail ul li i {
  margin-right: 5px;
}

.header-control {
  padding: 0 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.header-control .user-info p {
  margin-bottom: 0;
  line-height: 1.3;
  color: #d4dade;
}

.header-control .top-link a {
  display: inline-block;
  margin-left: 15px;
  text-align: center;
  color: #d4dade;
}

.header-control .top-link a i {
  display: block;
  margin-bottom: 3px;
}

.header-control .top-link a:hover {
  color: #fff;
}

.top-total {
  background: url("../images/line-chart.png") no-repeat right center;
  background-size: 50px auto;
}

.top-total span {
  font-size: 45px;
  font-weight: bold;
}



.nav-tabs {
  margin-bottom: 15px;
}

.detail-list {
  padding: 30px;
  background: #fff;
  /* height: 100%; */
}

.detail-list h3 {
  margin: 0 0 10px;
}

.detail-list table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
}

.detail-list table.keyword1{
  display: block;
  overflow: auto;
  white-space: nowrap;
  height: max-content;
  /* max-height: 80vh; */
}

.detail-list table.keyword1 tr th {
  min-width: 180px;
}

.detail-list table.keyword1 tr td {
  min-width: 180px;
}

.detail-list table tr th {
  text-align: center;
  padding: 10px 5px;
  border-top: 1px solid #eee;
}

.detail-list table tr th::before {
  content: "•";
  margin-right: 10px;
  color: #06b1c1;
}
.keyword-list.detail-list table tr th::before {
  content: "";
}
.keyword-list.detail-list table tr th:nth-child(1):before,.keyword-list.detail-list table tr th:nth-child(2):before {
  content: "•";
  margin-right: 10px;
  color: #06b1c1;
}

.keyword-list.detail-list table tr th{
  width: 17%;
}

.keyword-list.detail-list table tr th:nth-child(1){
  width: 20%;
}

.detail-list table tr td.email {
    text-align: right;
}

.detail-list table tr td {
  text-align: center;
  font-size: 14px;
  padding: 5px 5px;
}

.detail-list table tr td.url {
  width: 350px;
}

.detail-list table tr td.url span {
  display: block;
  max-width: 300px;
  color: #666;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-list table tr td:first-child,
.detail-list table tr th:first-child {
  text-align: left;
}

/* .detail-list table tr td:last-child,
.detail-list table tr th:last-child {
  text-align: center;
  min-width: 100px;
} */

.keywords-rank ul {
  list-style: none;
  padding: 0;
}

.keywords-rank ul li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 15px;
  margin-bottom: 15px;
  background: #3f6586;
  border-radius: 50px;
  text-align: center;
}

.keywords-rank ul li span {
  width: 60px;
  height: 60px;
  background: #fff;
  text-align: center;
  line-height: 60px;
  border-radius: 50%;
  -webkit-box-shadow: -1px -1px 0 2px #3f6586, -2px -2px 0 2px #fff, 1px 1px 0 2px #3f6586, 2px 2px 0 2px #fff;
  box-shadow: -1px -1px 0 2px #3f6586, -2px -2px 0 2px #fff, 1px 1px 0 2px #3f6586, 2px 2px 0 2px #fff;
}

.keywords-rank ul li p {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  margin: 0;
  text-align: center;
  color: #fff;
  font-size: 28px;
}

.keywords-rank ul li p i {
  font-size: 18px;
}

.keywords-rank ul li:nth-child(2) {
  background: #06b1c1;
}

.keywords-rank ul li:nth-child(2) span {
  -webkit-box-shadow: -1px -1px 0 2px #06b1c1, -2px -2px 0 2px #fff, 1px 1px 0 2px #06b1c1, 2px 2px 0 2px #fff;
  box-shadow: -1px -1px 0 2px #06b1c1, -2px -2px 0 2px #fff, 1px 1px 0 2px #06b1c1, 2px 2px 0 2px #fff;
}

.keywords-rank ul li:nth-child(3) {
  background: #fe7e5d;
}

.keywords-rank ul li:nth-child(3) span {
  -webkit-box-shadow: -1px -1px 0 2px #fe7e5d, -2px -2px 0 2px #fff, 1px 1px 0 2px #fe7e5d, 2px 2px 0 2px #fff;
  box-shadow: -1px -1px 0 2px #fe7e5d, -2px -2px 0 2px #fff, 1px 1px 0 2px #fe7e5d, 2px 2px 0 2px #fff;
}

.top-ten-label {
  padding-left: 15px;
  margin-bottom: 0;
}

.top-ten-label li {
  display: inline-block;
  font-weight: bold;
}

.top-ten-label li::before {
  content: "•";
  margin-right: 10px;
  color: #06b1c1;
}

.top-ten-label li:first-child {
  width: 300px;
  max-width: 300px;
}

.visit-user2{
  display: flex;
}

.visit-user2.top-ten-label li:first-child {
  width: 300px;
  max-width: 300px;
}

.visit-user2.top-ten-label li:nth-last-child(1){
  width: calc(100% - 600px);
  max-width: calc(100% - 600px);
  display: flex;
  justify-content: center;
  text-align: center;
}

.country-rank {
  counter-reset: num;
  padding: 0 15px;
}

.country-rank li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-bottom: 3px;
  font-size: 14px;
}

.country-rank li::before {
  content: counter(num);
  counter-increment: num;
  min-width: 20px;
}

.country-rank li span.country {
  width: 100px;
}

.country-rank li span.percent {
  padding: 2px 5px;
  color: #3f6586;
  background: #f0f4f4;
}

.country-rank.top20 {
  counter-reset: num 10;
}

@media (max-width: 768px) {
  .top-total-five .box {
    width: 33.33%;
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .company-img {
    display: block;
    width: 60%;
    margin: 0 auto 30px;
  }

  .top-total-five .box {
    width: 100%;
    margin-bottom: 10px;
  }

  .detail-list table tr td.url {
    width: 170px;
  }

  .detail-list table tr td.url span {
    width: 150px;
  }

  .top-ten-label li:first-child {
    width: 180px;
  }
}

.page-out {
  position: relative;
  color: #555;
  background: #f9f9f9;
}

.page-out section {
  padding: 30px 0;
}

.page-out h1 {
  font-size: 28px;
  margin: 0;
}

.page-out .case-box {
  margin-bottom: 50px;
}

.page-out .case-box .img-wrapper {
  position: relative;
  overflow: hidden;
}

.page-out .case-box .img-wrapper img {
  width: 100%;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}

.page-out .case-box .img-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}

.page-out .case-box h4 {
  color: #3f6586;
  font-weight: normal;
  font-size: 16px;
  margin-top: 15px;
}

.page-out .case-box:hover .img-wrapper img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.page-out .case-box:hover .img-wrapper::before {
  opacity: 1 !important;
}

.out-header {
  padding: 15px;
  background: #2e3d56;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-bottom: 60px;
}

.out-header .logo img {
  max-width: 160px;
  max-height: 40px;
}

.out-header .top-link a {
  display: inline-block;
  color: #d4dade;
  font-size: 14px;
  text-align: center;
}

.out-header .top-link a i {
  display: block;
  margin-bottom: 3px;
}

.out-header .top-link a:hover {
  color: #fff;
}

.form-group {
  display: inline-block;
  margin: 0 0 20px 15px;
}

.form-group label {
  font-size: 14px;
  display: block;
  margin-bottom: 5px;
}

.form-group .form-control {
  min-width: 180px;
  font-size: 14px;
}

.form-group .form-control:focus {
  outline: none;
  border-color: #06b1c1;
}

.form-group .btn:hover {
  color: #fff;
  background: #3f6586;
}

.pagination {
  display: block;
  margin-top: 30px;
  /* padding-bottom: 60px; */
}

.pagination ul {
  list-style: none;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.pagination ul li {
  margin: 0 5px;
}

.pagination ul li a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid #3f6586;
  color: #3f6586;
  padding: 0 10px;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}

.pagination ul li.active a,
.pagination ul li:hover a {
  color: #fff;
  background: #3f6586;
}

.page-login {
  min-height: 100vh;
}

.page-login h1 {
  text-align: center;
  margin-bottom: 30px;
}

.page-login .qr-wrapper {
  border: 1px solid #d4dade;
  padding: 30px;
  border-radius: 15px;
}

.page-login .login-box {
  text-align: center;
}

.page-login .login-box a {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 5px 30px;
  margin-top: 30px;
  color: #fff;
  background: #06c755;
  border-radius: 10px;
}

.page-login .login-box a img {
  width: 35px;
  margin-right: 5px;
}

.page-login .login-box a:hover {
  background: #0fb24b;
}


.g-b-p2r {
  padding: 2rem;
  border: 1px solid #e1eaea;
}

.btn-kw-search {
  background-color: #06b1c1;
  color: #fff;
  margin-left: 0.5rem;
}

.btn-kw-search:hover {
  background-color: #3f6586;

}

.detail-list-title {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.pagination {
  margin: 2rem 0;
}


/* 【首頁】 */
.top-total-five .box {
  width: 20%;
  text-align: center;
}
.top-total-five .box .num {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.top-total-five .box .num img {
  width: 50px;
  margin-right: 10px;
}
.top-total-five .box .num p {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 0;
}
.top-total-five .box .num p span {
  font-size: 16px;
  padding-left: 10px;
}
.top-total-five .box > p {
  padding-left: 50px;
  color: #06b1c1;
}


/* 【關鍵字頁面】 */
/* 關鍵字icon */
.top-total-five {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.icon-box {
  width: 20%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.icon-box h5 {
  color: #06b1c1;
  font-weight: bold;
  margin: 1rem 0 0.3rem 0;
}

.icon-box p {
  margin: 0;
  color: #3f6586;
}

/* 最新情況 */
.new-stut {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.new-stut h3 {
  margin: 0 5rem 0 0;
}

.new-stut-item {
  margin: 0 1rem;
}

.new-stut.item i {
  color: #3f6586;
  margin-right: 0.5rem;
}

/* 基本查詢 */
.basic-search {
  display: flex;
  align-items: center;
}

.basic-search h3{
  margin: 0 5rem 0 0;
}

.search-check{
  margin: 0 1rem;
}

.basic-search form {
  margin: 0 1rem;
}

.date-search {
  display: flex;
}

/* keyword定選側邊 */
/* tr{
  position: relative;
}

tr th:nth-child(1),tr td:nth-child(1){
  position: fixed;
} */

/* 詢問明細表 Inquiry-form */
table td.inquiry-form-page-link{
  width: 300px;
  word-break: break-all;
  padding-right:32px !important;
  position: relative;
  /* display: inline-block; */
  text-align: left !important;
}

table td.inquiry-form-page-link a{
  position: absolute;
  top: 50%;
  right: 5px;
  transform: translate(0,-50%);
}

/* 詢問分布情況 */
.query_distribution-page .apexcharts-legend.apx-legend-position-top.apexcharts-align-right{
  /* flex-direction: column; */
  width: max-content;
  max-width: 80%;
}

.query_distribution-page #chartDeviceInq foreignObject{
  height: 500px !important;
}

.g-pa-20{
  /* width: calc(100% - 50px); */
  /* margin-left: auto; */
}

td.text-left{
  text-align: left;
  width: 1000px;
}

.toolbar-show .apexcharts-toolbar {
  display: block !important;
}

.delete-btn {
  background-color: indianred;
  color: #fff;
}

.edit-btn {
  background-color: rgb(95, 156, 108);
  color: #fff;
}

.delete-btn,.edit-btn{
  min-width: 80px;
  letter-spacing: 2px;
}

.delete-btn,.edit-btn.edit-btn:hover{
  opacity: .8;
  transition: all .2s ease-in-out;
}

.submit-btn{
  display: flex;
  align-items:flex-end;
}

.send-btn{
  background-color: rgb(31, 88, 134);
  color: #fff;
}

.search-form .form-group{
  margin-left: 0px;
}

.form-seach-title{
  padding: 8px 3px;
  margin-bottom: 8px;
  padding-left: 16px;
  background-color: slategrey;
  color: #fff;
  font-weight: 600;
}

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

.big-content{
  width: 700px;
  margin-left: auto;
}

.big-content-text{
  background-color: rgb(250, 249, 249);
  padding: 8px;
  border-radius: 5px;
  border: 1px solid gainsboro;
}

.green-color{
  color: #06b1c1;
}

.search-form .form-group{
  margin: 0px 32px 8px 0px;
}

.search-form-nom .form-group{
  margin:8px 0px 24px 0px;
}

.search-form .form-group .form-check-inline{
  height: 33.5px;
  margin-right: 24px;
}

.search-form .form-group .form-check-inline .form-check-label{
  margin-bottom: 0px;
}

.search-form .form-group  .form-section{
  display: flex;
}

.search-form  .search-btn{
  margin-left: 48px;
  margin-bottom: 3px;
  min-width: 80px;
}

.search-form  .search-btn:hover{
  border-color: #3f6586;
}

main{
  min-height: calc(100vh - 64px);
}

.export-btn{
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-bottom:12px;
}

.export-btn button{
  min-width: 100px;;
  display: flex;
  justify-content: center;
  padding: 5px;
  background-color: #3f6586;
  outline: none;
  border: 1px solid #3f6586;
  color: #fff;
  border-radius: 3px;
  cursor: pointer;
  font-weight: 600;
}

.export-btn button.date-btn{
  background-color: #fe7e5d;
  border: 1px solid #fe7e5d;
  margin-right: 16px;
}

.export-btn.btm{
  padding-top: 16px;
  margin-top: 16px;
  margin-bottom: 0px;
  border-top: 1px solid #e1eaea;
}
.export-btn.btm button.date-btn:nth-last-child(1){
  margin-right: 0px;
}

.export-btn button:hover{
  background-color: #fff;
  color: #3f6586;
}

.keywoed-num-items .num.red{
  color: #ef6969;
}

.keywoed-num-items .num.green{
  color: #4dc351;
}

.query-list-del-items{
  list-style: none;
  padding: 0px;
  border-top: 1px solid #e1eaea;
}

.query-list-del-items li{
  display: flex;
  padding: 8px 0px;
  letter-spacing: 1px;
  margin-top: 8px;
}

.query-list-del-items li .item-title{
  min-width: 100px;
  font-weight: 600;
  min-height: 42px;
  line-height: 42px;
  margin-right: 24px;
}

.query-list-del-items li .item-content{
  width: calc(100% - 124px);
  padding: 8px;
  border: 1px solid gainsboro;
  border-radius: 3px;
  min-height: 42px;
  box-shadow: 3px 3px 3px rgba(220, 220, 220, 0.116);
}

.index-rank tspan{
  width: 300px !important;
  overflow:hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.text-ellipsis table tr td:nth-child(1){
    width: 150px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
}

.text-ellipsis .col-lg-6 table tr td:nth-child(1){
    width: 300px;
}
