body {
  background: #fff;
  color: #1d1d1f;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

iframe {
  width: 100% !important;
}

a {
  text-decoration: none !important;
}

/* body {
  margin-bottom: 60px;
} */

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;
  /* Vertically center the text there */
}

.app-navbar {
  background: #ffffff;
}
.app-navbar .text-dark {
  color: #0d6efd !important;
}
.app-navbar .text-dark:hover {
  color: #598269 !important;
}
.app-navbar .navbar-brand {
  color: #0d6efd;
}
.app-navbar .navbar-brand:hover {
  color: #598269 !important;
}
.app-navbar .dropdown-toggle {
  border-color: transparent !important;
  color: #598269;
}

.categorysidebar ul,
.categorysidebar li {
  list-style: none;
  padding-left: 10px;
}
.categorysidebar a {
  text-decoration: none;
}
.categorysidebar a:hover {
  color: #a04747;
}
.categorysidebar a.active {
  color: red;
}
.categorysidebar > ul > li > a {
  font-weight: bold;
}
.categorysidebar h3 {
  text-transform: uppercase;
  font-size: 1.3em;
  border-bottom: 1px solid blue;
  padding-bottom: 10px;
}

.contact-firstcol {
  background-color: #ffe9dc;
  color: #313131;
  text-align: center;
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
}
.contact-firstcol h4 {
  line-height: 40px;
  font-weight: 400;
  margin-top: 20px;
}
.contact-firstcol img {
  max-width: 100px;
}

.formcontact label {
  font-weight: 400;
}
.formcontact .btn-primary {
  background-color: #1b3896 !important;
  border-color: #1b3896;
}

.app-footer {
  background: #080a10;
  color: white;
  text-align: center;
}

.detailpost h1 {
  font-weight: 300;
}
.detailpost .sapo {
  font-weight: 500;
  font-style: italic;
}
.detailpost img {
  max-width: 100%;
}

.photodetail {
  position: relative;
}
.photodetail span {
  position: absolute;
  bottom: 50%;
  left: 50%;
  display: none;
}
.photodetail:hover span {
  display: block;
}

.bg-gradient-primary {
  background-color: #0d6efd !important;
  background-image: linear-gradient(
    180deg,
    #0d6efd 10%,
    #428bf8 100%
  ) !important;
  background-size: cover;
}

.image-avarta-contain {
  position: relative;
}

.image-avarta {
  position: absolute;
  top: -30px;
  left: 15px;
}

.full-name {
  position: absolute;
  top: 5px;
  left: 80px;
}

.point-contain {
  background-color: #e8e8e8;
  height: 70px;
  width: 100%;
  padding-top: 10px;
  padding-bottom: 20px;
  margin-top: 10px;
}

.point-point {
  font-size: 16px;
  font-weight: 600;
}

.point-label {
  font-size: 12px;
}

.point-border-right {
  border-right: 1px solid #ccc;
}

.pick-reward {
  background-color: #fff;
  justify-content: center;
  align-items: center;
  padding: 10px;
  border-bottom-left-radius: 3px !important;
  border-bottom-right-radius: 3px !important;
}

.bg-image-avarta {
  border-top-left-radius: 3px !important;
  border-top-right-radius: 3px !important;
}

.total-thank-contain {
  padding: 10px;
  justify-content: center;
  align-items: center;
}

.total-thank-label {
  font-size: 14px;
}

.total-thank-point {
  font-size: 16px;
  font-weight: 600;
  padding-left: 20px;
}

.leaderboad-label {
  font-size: 14px;
  margin-left: 10px;
}

.leaderboad-point {
  font-size: 14px;
  font-weight: 600;
  margin-left: 10px;
}

.list-group-item {
  padding-left: 10px !important;
  padding-right: 10px !important;
}

.badge {
  font-size: 14px !important;
  font-weight: 600 !important;
}

.awc-news-item-img {
  background-size: cover !important;
  display: inline-block;
  overflow: hidden;
  position: relative;
  width: 170px;
  height: 60px;
}

.awc-news-item-img img {
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.news-item-img {
  min-height: 160px;
}

.awc-img-hot {
  width: 100%;
}

.awc-img-hot-large {
  width: 100%;
  min-height: 230px;
}

.awc-news-title {
  font-size: 16px;
  font-weight: 500;
  position: relative;
}

.awc-news-item {
  margin-bottom: 10px;
}

.awc-news-item-img {
  min-height: 90px;
  padding-right: 0rem !important;
  padding-left: 0rem !important;
}

.awc-img-hot {
  border: 1px solid #f1f1f1;
  min-height: 90px;
}

.awc-news-item-caption {
  padding-left: 5px;
}

.awc-news-item-caption a {
  font-size: 13px;
  line-height: 0px;
}

.awc-news-item-caption a h6 {
  font-size: 14px;
  font-weight: 400;
}

.awc-news-item-caption span {
  font-size: 14px;
}

.awc-news-date {
  font-size: 12px !important;
  color: #464646;
}

.awc-news-total-view {
  font-size: 12px !important;
  color: #464646;
}

.say-thank-user {
  border: 1px solid #ccc;
  width: 30px;
  height: 30px;
  justify-content: center;
  align-items: center;
}

.say-thank-header {
  position: relative;
  border-bottom: 1px solid #f8f8f8;
  padding-bottom: 5px;
}

.say-thank-point {
  margin: 10px;
}

.say-thank-point .badge {
  font-size: 12px !important;
  font-weight: 400 !important;
  background-color: red !important;
}

.say-thank-time {
  position: absolute;
  right: 50px;
  top: 10px;
  font-size: 13px !important;
  font-weight: 400 !important;
}

.say-thank-time-sm {
  position: absolute;
  right: 0px;
  top: 10px;
  font-size: 13px !important;
  font-weight: 400 !important;
}

.say-thank-action {
  position: absolute;
  right: 5px;
  top: 5px;
  font-size: 16px !important;
  font-weight: 400 !important;
}

.say-thank-item {
}

.say-thank-info-container {
  background-color: #f8f8f8 !important;
  padding: 5px;
}

.say-thank-info {
  font-size: 14px !important;
  font-weight: 500 !important;
  font-style: italic;
}

.say-thank-message {
  font-size: 16px !important;
  font-weight: 400 !important;
}

.say-thank-total-like {
}

.say-thank-total-comment {
  margin-left: 20px;
}

.list-group {
  border: none !important;
  border-radius: 3px !important;
  box-shadow: 2px 2px 5px 5px #eff1f6;
}

.list-group-item {
  border: none !important;
}

.card {
  border: none !important;
  border-radius: 3px !important;
  box-shadow: 2px 2px 5px 5px #eff1f6;
}

.sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0px;
  z-index: 999;
  padding: 5px 0px;
}

.pick-reward-item {
  margin-bottom: 20px;
}

.pick-reward-item-img {
  /* background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  height: 120px;
  border-radius: 5px;
  border: 1px solid #ccc; */
}

.pick-reward-name {
  font-size: 14px !important;
  font-weight: 400 !important;
}

/* The snackbar - position it at the bottom and in the middle of the screen */
#snackbar {
  visibility: hidden; /* Hidden by default. Visible on click */
  min-width: 250px; /* Set a default minimum width */
  margin-left: -125px; /* Divide value of min-width by 2 */
  background-color: #707070; /* Black background color */
  color: #fff; /* White text color */
  text-align: center; /* Centered text */
  border-radius: 2px; /* Rounded borders */
  padding: 16px; /* Padding */
  position: fixed; /* Sit on top of the screen */
  z-index: 1; /* Add a z-index if needed */
  left: 50%; /* Center the snackbar */
  bottom: 30px; /* 30px from the bottom */
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#snackbar.show {
  visibility: visible; /* Show the snackbar */
  /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
    However, delay the fade out process for 2.5 seconds */
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }
  to {
    bottom: 30px;
    opacity: 1;
  }
}

@keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }
  to {
    bottom: 30px;
    opacity: 1;
  }
}

@-webkit-keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }
  to {
    bottom: 0;
    opacity: 0;
  }
}

@keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }
  to {
    bottom: 0;
    opacity: 0;
  }
}

.service-type-item {
  cursor: pointer;
}

.service-type-item:hover {
  cursor: pointer;
  background-color: #f0f0f0;
}

.colleague-type-item {
  cursor: pointer;
}

.colleague-type-item:hover {
  cursor: pointer;
  background-color: #f0f0f0;
}

.say-thank-service {
  font-size: 12px !important;
  font-weight: 400 !important;
  margin-left: 20px;
}

.say-thank-username {
  font-size: 14px !important;
  font-weight: 400 !important;
  margin-left: 20px;
}

.toast {
  width: 300px;
}

.comment-box {
  display: none;
}

.say-thank-comments {
  cursor: pointer;
}

.say-thank-comments:hover .say-thank-total-comment {
  color: #0d6efd;
}

.awc-news-detail .desc {
  text-align: justify;
}

.awc-news-detail img {
  width: 100% !important;
  border-radius: 3px;
}

.time {
  font-size: 10px;
}

.select2-container--default .select2-selection--single {
  background-color: #fff;
  border: 1px solid #d1d3e2 !important;
  border-radius: 4px;
}

.select2-dropdown {
  border: 1px solid #d1d3e2 !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid #d1d3e2 !important;
}

.select2-container .select2-selection--single {
  height: 36px !important;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  line-height: 36px !important;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 33px !important;
}

input .select2-search__field:focus {
  border: 1px solid #d1d3e2 !important;
}

.say-thank-container {
  background-color: #fff;
  padding-top: 10px;
  padding-bottom: 10px;
  box-shadow: 2px 2px 5px 5px #eff1f6;
}

.profile-point {
  font-size: 14px;
  margin-left: 10px;
}

.select2-container {
  width: 100% !important;
}

/* #sayThankMessage{
  border-radius: 0px !important;
}

.input-comment{
  border-radius: 0px !important;
} */
/* Loader Page */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  bottom: 0;
  z-index: 999999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader-icon {
  font-size: 40px;
  color: #0d6efd;
  animation: loader 1s ease-in-out infinite;
}

@keyframes loader {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.search-clear {
  /* position: absolute; */
  width: 40px;
  height: 40px;
  right: 0px;
  text-align: center;
  margin-top: 0px;
  cursor: pointer;
}

.banner-container {
  height: 250px !important;
}

.banner-container img {
  height: 250px !important;
}

.banner-img {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#notification-container {
  max-height: 500px;
  overflow: scroll;
}

tr.comment {
  cursor: pointer;
}

.owl-dots {
  margin-top: -20px !important;
  z-index: 99009 !important;
  position: relative;
}

.owl-item {
  z-index: 999 !important;
}

.gift-info {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  padding-bottom: 5px;
  box-sizing: border-box;
}

.gift-item {
  padding: 7px;
  box-shadow: 2px 2px 5px 5px #eff1f6;
  border-radius: 3px;
}

.gift-image {
  width: 100%;
  height: 140px;
  box-sizing: border-box;
}

.gift-image img {
  width: 100%;
  height: 140px;
  border-radius: 7px;
}

.gift-item-title {
  font-size: 16px !important;
  color: #464646;
  height: 47px;
  overflow: hidden;
}

.gift-item-branch {
  font-size: 16px !important;
  color: #464646;
}

.download-app {
  border-radius: 5px;
  background-color: #a2a2a4;
}

.download-app:hover {
  background-color: #919193;
}

.download-app img {
  width: 35px;
  height: 35px;
}

.download-app-text {
}

.sidebar.toggled .download-app-text {
  display: none;
}

@media (min-width: 1200px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1290px !important;
  }
}

@media (min-width: 0px) and (max-width: 768px) {
  .awc-news-item-img {
    padding-right: 0.75rem !important;
    padding-left: 0.75rem !important;
  }

  .download-app-text {
    display: none;
  }
}
