table.dataTable tbody th,
table.dataTable tbody td {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: normal;
}

.custom-search,
.custom-search-button {
  position: relative;
  width: 100%;
}

.custom-search-button > i {
  position: absolute;
  top: 12px;
  left: 7px;
  color: #ccc;
}
.custom-search > i {
  position: absolute;
  top: 7px;
  left: 5px;
  color: #ccc;
}

.custom-search > input {
  width: 100%;
  padding: 5px 10px;
  padding-left: 20px;
}

.custom-search-button > p {
  width: 100%;
  height: 40px;
  line-height: 40px;
  background: #999;
  border-radius: 3px;
  font-size: 12px;
  font-weight: bold;
  padding-left: 25px;
  color: #ccc;
  cursor: pointer;
  padding-right: 15px;
  margin-bottom: 0px;
  text-align: center;
}

.custom-search-button:hover > i {
  color: #fff;
}

.custom-search-button:hover > p {
  color: #fff;
}

.custom-search-button .active {
  background-color: #444;
  color: #fff;
}

.left-box {
  position: relative;
}

.left-box .popup-box {
  max-width: 420px;
  height: auto;
  position: absolute;
  left: 160px;
  bottom: -200px;
  background: #aaa;
  border-radius: 10px;
  border: 1px solid #000;
  z-index: 9999;
  display: flex;
  flex-wrap: nowrap;
  width: auto;
}

.left-box .popup-box .left-pane {
  width: 100px;
  min-height: 100px;
  text-align: center;
  display: flex;
}

.left-box .popup-box .left-pane > div {
  margin: auto;
  color: #fff;
  width: 100px;
  height: 100px;
  font-size: 12px;
}

.left-box .popup-box .left-pane > div i,
.left-box .popup-box .left-pane > div p {
  margin: 5px 0px;
  line-height: 12px;
}

.left-box .popup-box .right-pane {
  display: flex;
  background-color: #fff;
  flex-wrap: wrap;
  width: 300px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.left-box .popup-box .right-pane .item {
  width: 75px;
  height: 100px;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  display: flex;
  flex-wrap: wrap;
  padding: 5px;
  cursor: pointer;
}

.left-box .popup-box .right-pane .item:nth-child(4n) {
  border-right: 0px;
}

.left-box .popup-box .right-pane .active {
  border: 2px solid #21c2f8;
}

.left-box .popup-box .right-pane .item img {
  width: 100%;
  height: 60px;
  object-fit: contain;
  padding-bottom: 5px;
}

.left-box .popup-box .right-pane .item p {
  text-align: center;
  font-size: 12px;
  height: 30px;
  line-height: 12px;
  width: 100%;
  margin-bottom: 0px;
}

.left-box .hidden {
  display: none;
}

.products-portal h3 {
  margin-left: 15px;
  border-bottom: 1px solid #ccc;
  font-size: 13px;
  font-weight: bold;
  text-align: left;
  margin-top: 0px;
}

.portal-hots {
  height: 100%;
}
/*
.portal-hots .item {
  height: 100%;
} */

/* .portal-hots .item > div {
  height: 90px;
} */

.portal-hots .item img {
  height: 90px;
  object-fit: contain;
  cursor: pointer;
}

.portal-top .item img {
  height: 400px;
}

.portal-part-two {
  width: 100%;
  padding: 15px;
  display: flex;
  flex-wrap: nowrap;
}

.portal-part-two .first {
  width: 40%;
  margin-right: 30px;
}

.portal-part-two .second {
  flex: 1;
}

.portal-part-two .carousel-inner { margin: auto; width: 100%; }
.portal-part-two .carousel-control 			 { width:  4%; }
.portal-part-two .carousel-control.left,
.portal-part-two .carousel-control.right {
  background-image:none;
}

.background-image-none {
  background-image:none !important;
}

.portal-part-two .glyphicon-chevron-left, .portal-part-two .carousel-control .glyphicon-chevron-right {
  /* margin-top:-10px;
  margin-left: -10px; */
  color: #444;
}

.portal-part-two .carousel-inner p,
.portal-part-two .carousel-inner a {
  display: table-cell;
  height: 100px;
  width: 200px;
  vertical-align: middle;
  cursor: pointer;
}
.portal-part-two .carousel-inner .ranking {
  width: 100%;
  text-align: center;
  font-size: 13px;
  margin: 0px;
  padding: 0px;
}
.portal-part-two .carousel-inner img {
  max-height: 100px;
  margin: auto auto;
  max-width: 100%;
  width: 100%;
  height: 100px;
  object-fit: contain;
}

/* @media (max-width: 767px) {
  .carousel-inner > .item.next,
  .carousel-inner > .item.active.right {
      left: 0;
      -webkit-transform: translate3d(100%, 0, 0);
      transform: translate3d(100%, 0, 0);
  }
  .carousel-inner > .item.prev,
  .carousel-inner > .item.active.left {
      left: 0;
      -webkit-transform: translate3d(-100%, 0, 0);
      transform: translate3d(-100%, 0, 0);
  }

}
@media (min-width: 767px) and (max-width: 992px ) {
  .carousel-inner > .item.next,
  .carousel-inner > .item.active.right {
      left: 0;
      -webkit-transform: translate3d(50%, 0, 0);
      transform: translate3d(50%, 0, 0);
  }
  .carousel-inner > .item.prev,
  .carousel-inner > .item.active.left {
      left: 0;
      -webkit-transform: translate3d(-50%, 0, 0);
      transform: translate3d(-50%, 0, 0);
  }
}
@media (min-width: 992px ) {

  .portal-part-two .carousel-inner > .item.next {
    left: 0;
    -webkit-transform: translate(25%, 0, 0);
    transform: translate(25%, 0, 0);
    opacity: 0;
  }
  .portal-part-two .carousel-inner > .item.active.right {
      left: 0;
      -webkit-transform: translate3d(25%, 0, 0);
      transform: translate3d(25%, 0, 0);
  }
  .portal-part-two .carousel-inner > .item.prev {
    left: 0;
    -webkit-transform: translate(-25%, 0, 0);
    transform: translate(-25%, 0, 0);
    opacity: 0;
  }
  .portal-part-two .carousel-inner > .item.active.left {
      left: 0;
      -webkit-transform: translate3d(-25%, 0, 0);
      transform: translate3d(-25%, 0, 0);
  }
} */

.portal-part-three {
  width: 100%;
  padding: 20px;
  display: flex;
  flex-wrap: nowrap;
  min-height: 1200px;
  /* max-height: 1200px; */
}

.portal-part-three .first h3 {
  margin-top: 0px;
  margin-bottom: 0px;
  border: 0px;
}

.portal-part-three .first {
  width: 70%;
  margin-right: 20px;
  display: flex;
  flex-direction: column;
  /* min-height: 1200px; */
  max-height: 1200px;
}

.portal-part-three .second {
  flex: 1;
  display: flex;
  flex-direction: column;
  /* min-height: 1200px; */
  /* max-height: 1200px; */
}

.portal-part-three .first > div {
  margin-top: 30px;
  height: calc(50% - 30px);
  overflow-y: scroll;
}

.portal-part-three .first > div:first-child {
  margin-top: 0px;
  height: 50%;
  overflow-y: scroll;
}

.portal-part-three .first .content {
  margin: 0px;
  border: 1px solid #ccc;
  margin-left: 14px;
  overflow-y: auto;
  height: calc(100% - 20px);
}

.portal-part-three .first .content .item {
  border-bottom: 1px solid #ccc;
  padding: 10px 0px;
}

.portal-part-three .first .content .item .date {
  font-weight: bold;
  font-size: 14px;
}

.portal-part-three .first .content .item .custom-badge {
  margin-left: 10px;
  font-size: 12px;
  color: #fff;
  background-color: #ff0000;
  padding: 2px 10px;
  border-radius: 20px;
}

.portal-part-three .second .multi {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
}

.portal-part-three .second .multi .sub {
  flex: 1;
  margin-left: 7px;
}

.portal-part-three .second .multi .sub:first-child {
  margin-left: 0px;
  margin-right: 7px;
}

.portal-part-three .second .single {
  width: 100%;
}

.portal-part-three .second .iframe {
  text-align: center;
  flex: 1;
}

.portal-part-three .second .iframe iframe {
  margin-left: 15px;
}

.portal-part-three .second .single .brands {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  text-align: center;
  padding: 0px 15px;
  padding-right: 0px;
  padding-bottom: 10px;
}

.portal-part-three .second .single .brands .item {
  width: 42%;
  border: 2px solid #ccc;
  margin: 5px 4%;
  height: 90px;
}

.portal-part-three .second .single .brands .item > div {
  height: 100%;
}

.portal-part-three .second .single .brands .item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.portal_view .img-link {
  cursor: pointer;
}

.return-page {
  padding: 10px;
}

.return-page span {
  cursor: pointer;
}

.custom-history-btns {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  padding: 20px;
}

.custom-history-btns .button {
  cursor: pointer;
  flex: 30px;
  text-align: center;
  color: #999;
}

.custom-history-btns .button i {
  border: 2px solid #999;
  background: #f7f7f7;
  padding: 4px 10px;
  margin-bottom: 10px;
  font-size: 20px;
}

.custom-history-btns .space {
  flex: 1;
}

.products-catalog h3 {
  text-align: center;
}

.products-catalog .products-catalog-container {
  display: flex;
  flex-wrap: wrap;
  padding: 0px 30px;
}

.products-catalog .products-catalog-container .item {
  width: 25%;
  padding: 10px;
}

.products-catalog .products-catalog-container .item > div {
  border: 0px solid #ccc;
  text-align: center;
}

.products-catalog .products-catalog-container .item > div img {
  width: 158px;
  height: 217px;
  object-fit: fill;
}

.products-catalog .products-catalog-container .item > div label {
  margin: 15px;
  background: #000;
  border-radius: 30px;
  height: 30px;
  color: #fff;
  width: calc(100% - 30px);
  line-height: 30px;
  cursor: pointer;
  text-align: center;
}

.badge-custom {
  float: right;
  background: #ff0000;
}

.base64file {
  display: flex;
  margin-bottom: 10px;
}

.base64file p {
  flex: 1;
  color: #3276b1;
  cursor: pointer;
}

.base64file span {
  cursor: pointer;
  font-size: 12px;
  line-height: 18px;
  padding-left: 10px;
}

._2lqg {
  max-height: 100% !important;
  height: calc(100% - 48px) !important;
}

.noscrollbar::-webkit-scrollbar{
  display:none;
}
.thinscrollbar::-webkit-scrollbar {
    width: 9px;
}
.thinscrollbar::-webkit-scrollbar-track {
  border-radius: 0px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, .1);
}
.thinscrollbar::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 50, .1);
  border-radius: 0px;
  box-shadow:0 0 0 1px rgba(255, 255, 255, .1);
}

.noscrollbar_ff {
  overflow-y: scroll;
  scrollbar-width: none;
}
.thinscrollbar_ff {
  overflow-y: scroll;
  scrollbar-width: thin;
}

div#loading {
  display: inline-block;
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255,255,255,.3);
  border-radius: 50%;
  border-top-color: #aaa;
  animation: spin 1s ease-in-out infinite;
  -webkit-animation: spin 1s ease-in-out infinite;
  position: fixed;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

@keyframes spin {
  to { -webkit-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
  to { -webkit-transform: rotate(360deg); }
}

.badge-color-green {
  background-color: #356e35 !important
}
.badge-color-yellow {
  background-color: #b09b5b !important
}
.badge-color-red {
  background-color: #a90329 !important
}
