.main-container{
  min-height: calc(100vh - 50px - 75px);
}

.main-box {
  display: flex;
  padding: 20px;
  background: #cde7f3;
  width: 95%;
  max-width: 950px;
  margin: 50px auto;
}

.logo>img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-list__title {
  font-family: NotoSansCJKtc;
  font-size: 26px;
  letter-spacing: 1.9px;
  text-align: left;
  color: #565a5b;
  padding-left: 5%;
}

.product-list {
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  padding: 20px;
  min-height: 350px;
  align-items: center;
}

.product-item {
  flex: 1 0 25%;
  text-align: center;
}

.product-item__title {
  color: #505050;
  margin-top: 10px;
  letter-spacing: 1.4px;
  font-size: 14px;
  font-weight: 600;
}

.product-list-area {
  flex: 1;
  padding: 10px;
}

.product-login-box {
  margin: 0;
  width: 40%;
  max-width: 360px;
}

body {
  font-family: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, 'Roboto', "黑體-繁", "Heiti TC", "蘋果儷中黑", "Apple LiGothic Medium", "微軟正黑體", "Microsoft JhengHei", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: 'Source Sans Pro', 'Roboto', "黑體-繁", "Heiti TC", "蘋果儷中黑", "Apple LiGothic Medium", "微軟正黑體", "Microsoft JhengHei", sans-serif;
}

.navbar>.logo {
  line-height: 70px;
}

.main-header>.navbar {
  margin-left: 0;
}

@media (max-width: 767px) {
  .main-box {
    width: 100%;
    margin: 0;
    padding: 20px 10px;
    flex-direction: column-reverse;
  }
  .product-list{
    height: 100%;
    padding: 0;
  }
  .product-login-box {
    width: 100%;
    max-width: none;
  }
  .product-list__title {
    text-align: center;
    padding: 0;
    margin-top: 30px;
  }
  .product-item {
    width: 33%;
    flex: none;
    margin: 15px 0;
  }
  .navbar>.logo {
    padding: 5px;
    line-height: 70px;
  }
  .skin-black .main-header>.logo {
    background-color: #fff;
    color: #333;
    border-bottom: 1px solid #eee;
  }
  .skin-black .main-header>.logo>a {
    color: #333;
  }
  .skin-black .main-header>.logo:hover {
    background: #fff;
  }
  .back-to-top {
    top: 20px;
  }
  .navbar-nav>.user-menu .user-image {
    margin-top: 0px;
  }
}

@media (min-width: 768px) {
  .back-to-top {
    top: 70px;
  }
}

.logo>img {
  vertical-align: initial;
}

.login-page,
.register-page {
  background-color: #cde7f3;
}

.skin-black .main-header>.logo {
  border-right: 0px;
}

.skin-black .main-header>.navbar .navbar-custom-menu .navbar-nav>li>a,
.skin-black .main-header>.navbar .navbar-right>li>a {
  border-left: 0;
}

.navbar-nav>li.active>a {
  color: #999 !important;
}

/*.navbar-nav > li.active::after {
    content: "";
    display: block;
    position: absolute;
    top: 0%;
    width: 100%;
    height: 100%;
    border-top: 1px solid #333;
}*/

.back-to-top {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 1);
  text-align: center;
  margin-right: 20px;
  padding: 6px;
  font-size: 15px;
  line-height: 15px;
  border: 1px solid #eee;
  border-radius: 100px;
  position: fixed;
  right: 5px;
}

.back-to-top>a {
  color: #888;
}

.back-to-top>a:hover {
  color: #ccc;
}

.direct-chat-messages {
  overflow: baseline;
}

.direct-chat-text img {
  width: 100%;
}

.navbar-custom-menu>.navbar-nav>li>.dropdown-menu {
  border: 1px solid #eee;
}

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

.info-box {
  min-height: 100px;
}

.info-box-img {
  vertical-align: baseline;
  width: 100px;
}

.info-box-content {
  margin-left: 100px;
}

.info-box-brief {
  color: #999;
  text-transform: initial;
  white-space: initial;
  height: 38px;
}

.info-box-btn {
  position: absolute;
  bottom: 25px;
}

.main-footer {
  border: initial !important;
}

.profile-photo {
  border: 1px solid #eee;
  cursor: pointer;
}

.profile-photo-edit {
  color: rgba(0, 0, 0, 0.5);
  text-shadow: -1px -1px 0 rgba(255, 255, 255, 0.5), -1px 1px 0 rgba(255, 255, 255, 0.5), 1px -1px 0 rgba(255, 255, 255, 0.5), 1px 1px 0 rgba(255, 255, 255, 0.5);
  position: absolute;
  top: 8px;
  right: 20px;
  cursor: pointer;
}

.profile-photo:hover~.profile-photo-edit,
.profile-photo-edit:hover {
  color: rgba(0, 0, 0, 0.8);
}

/********** loader **********/

#loader {
  background: rgba(255, 255, 255, .5) !important;
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 9999;
  top: 0;
  display: none;
}

.spinner {
  color: #000000;
  font-size: 60px;
  text-indent: -9999em;
  overflow: hidden;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  margin: 72px auto;
  position: relative;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load6 1.7s infinite ease;
  animation: load6 1.7s infinite ease;
}

@-webkit-keyframes load6 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
  5%,
  95% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
  10%,
  59% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;
  }
  20% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em, -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, -0.749em -0.34em 0 -0.477em;
  }
  38% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em, -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, -0.82em -0.09em 0 -0.477em;
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
}

@keyframes load6 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
  5%,
  95% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
  10%,
  59% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;
  }
  20% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em, -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, -0.749em -0.34em 0 -0.477em;
  }
  38% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em, -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, -0.82em -0.09em 0 -0.477em;
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
}
