.bb-comment-wrapper {
  padding: 10px;
  font-size: 15px;
  line-height: 30px;
  font-weight: 400;
  color: #828282;
  font-family: Roboto, sans-serif;
}
.bb-comment-wrapper .dropdown-item {
  padding: 0.45rem 1.5rem;
}
.bb-comment-wrapper .btn {
  text-transform: uppercase;
  outline: none !important;
  box-shadow: none !important;
}
.bb-comment-wrapper .btn, .bb-comment-wrapper .form-control:not(textarea) {
  border-radius: 0 !important;
}
.bb-comment-wrapper .bb-comment {
  min-height: 150px;
  max-width: 1500px;
  margin: auto;
  position: relative;
}
.bb-comment-wrapper .bb-comment-loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.62);
}
.bb-comment-wrapper .bb-comment-header-top {
  margin-bottom: 5px;
  border-bottom: 2px solid #e7e9ee;
}
.bb-comment-wrapper .bb-comment-header-top strong {
  border-bottom: 2px solid var(--color-1st, #0088cc);
}
.bb-comment-wrapper .bb-comment-header-top .btn i {
  top: -4px;
}
.bb-comment-wrapper .bb-comment-header-bottom {
  margin-bottom: 0.5rem;
}
.bb-comment-wrapper .bb-comment-header-bottom .recommend-btn i {
  color: red;
}
.bb-comment-wrapper .bb-comment-box {
  margin-bottom: 1rem;
}
.bb-comment-wrapper .bb-comment-box .bb-textarea {
  flex: 1;
  position: relative;
}
.bb-comment-wrapper .bb-comment-box .bb-textarea textarea {
  min-height: 48px;
  margin: 0;
  padding: 13px;
  width: 100%;
  border-radius: 5px 5px 0 0;
  transition: all 0.3s;
  box-shadow: none;
}
.bb-comment-wrapper .bb-comment-box .bb-textarea textarea + div {
  display: flex;
}
.bb-comment-wrapper .bb-comment-box .bb-textarea textarea:focus, .bb-comment-wrapper .bb-comment-box .bb-textarea textarea.focused {
  min-height: 60px;
}
.bb-comment-wrapper .bb-comment-box .bb-textarea textarea:focus + div, .bb-comment-wrapper .bb-comment-box .bb-textarea textarea.focused + div {
  display: flex;
}
.bb-comment-wrapper .bb-comment-box .bb-textarea-error {
  border-radius: 0 !important;
}
.bb-comment-wrapper .bb-comment-box .bb-textarea-error + div {
  display: flex;
}
.bb-comment-wrapper .bb-comment-box .bb-textarea-footer {
  background-color: #f2f2f2;
  justify-content: space-between;
  border: 1px solid #ced4da;
  border-top: 0;
  border-radius: 0 0 5px 5px;
}
.bb-comment-wrapper .bb-comment-box .bb-textarea-footer .post-btn {
  background-color: var(--color-1st, #0088cc);
  border: none;
  box-shadow: none;
  color: #FFF;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  min-width: 100px;
  border-radius: 0 0 0px 0;
}
.bb-comment-wrapper .bb-comment-box .bb-textarea-footer .post-btn.post-none {
  background-color: #ccc;
}
.bb-comment-wrapper .bb-comment-box .bb-textarea-footer .post-btn.cancel-btn {
  background: none;
  color: #888;
}
.bb-comment-wrapper .bb-comment-box .bb-textarea-footer .post-btn:hover {
  opacity: 0.8;
}
.bb-comment-wrapper .bb-comment-list-empty p {
  font-size: 18px;
  padding: 2rem;
  color: #ccc;
}
.bb-comment-wrapper .bb-comment-item {
  margin-bottom: 1rem;
  position: relative;
}
.bb-comment-wrapper .bb-comment-item-user_name {
  display: inline-block;
  position: relative;
}
.bb-comment-wrapper .bb-comment-item-user_name a {
  text-decoration: none !important;
}
.bb-comment-wrapper .bb-comment-item-user_name-info {
  position: absolute;
  width: 400px;
  min-height: 120px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  background-color: #FFF;
  padding: 10px;
  top: -120px;
  left: -100px;
  display: flex;
  align-items: center;
}
.bb-comment-wrapper .bb-comment-item-user_name-info img {
  width: 60px;
}
.bb-comment-wrapper .bb-comment-item.is-sending {
  opacity: 0.5;
  pointer-events: none;
}
.bb-comment-wrapper .bb-comment-item p {
  margin: 0;
}
.bb-comment-wrapper .bb-comment-item-actions {
  position: absolute;
  top: 0;
  right: 0;
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.3s ease;
}
.bb-comment-wrapper .bb-comment-item:hover > [class*=actions] {
  transform: translateX(-20px);
  opacity: 1;
}
.bb-comment-wrapper .bb-comment-item:hover:after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  background-color: #f2f2f2;
  width: 4px;
  height: 100%;
}
.bb-comment-wrapper .bb-comment-content-actions a {
  font-size: 12px;
}
.bb-comment-wrapper .bb-comment-content-actions a.reply {
  padding-right: 10px;
}
.bb-comment-wrapper .bb-comment-content-actions a.like {
  padding: 0 10px;
}
.bb-comment-wrapper .bb-comment-content-user {
  margin-top: -6px;
}
.bb-comment-wrapper .bb-comment-content-user .time {
  font-size: 12px;
}
.bb-comment-wrapper .bb-comment .bb-avatar {
  width: 45px;
  height: 45px;
  margin-right: 10px;
  position: relative;
  border-radius: 5px;
}
.bb-comment-wrapper .bb-comment .bb-avatar img {
  border-radius: 100%;
}
.bb-comment-wrapper .bb-comment .bb-avatar-upload {
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.26);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  opacity: 0;
  cursor: pointer;
}
.bb-comment-wrapper .bb-comment .bb-avatar-upload:hover {
  opacity: 1;
}
.bb-comment-wrapper .bb-loading {
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  border-radius: 100%;
  left: calc(50% - 15px);
  top: calc(50% - 15px);
  position: absolute;
  z-index: 1;
}
.bb-comment-wrapper .bb-loading * {
  box-sizing: border-box;
}
.bb-comment-wrapper .bb-loading .circle, .bb-comment-wrapper .bb-loading:after, .bb-comment-wrapper .bb-loading:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 100%;
  border: calc(40px / 10) solid transparent;
}
.bb-comment-wrapper .bb-loading.mini {
  width: 20px;
  height: 20px;
}
.bb-comment-wrapper .bb-loading.mini .circle, .bb-comment-wrapper .bb-loading.mini:after, .bb-comment-wrapper .bb-loading.mini:before {
  border-width: calc(20px / 10);
}
.bb-comment-wrapper .bb-loading:after {
  border-top-color: var(--color-1st, #0088cc);
  animation: half-circle-spinner-animation 1s infinite;
}
.bb-comment-wrapper .bb-loading:before {
  border-bottom-color: var(--color-1st, #0088cc);
  animation: half-circle-spinner-animation 1s infinite alternate;
}
@keyframes half-circle-spinner-animation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.bb-dialog-mask {
  position: fixed;
  z-index: 9998;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.25);
  display: table;
  transition: opacity 0.3s ease;
}
.bb-dialog-mask:after {
  content: "";
  filter: blur(4px);
}
.bb-dialog-mask .btn {
  border-radius: 0 !important;
}

.bb-dialog-wrapper {
  display: table-cell;
  vertical-align: middle;
}
.bb-dialog-wrapper .bb-dialog-container {
  max-width: 500px;
  margin: 0px auto;
  padding: 30px;
  background-color: #fff;
  border-radius: 5px;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 0 0 1px rgba(64, 87, 109, 0.07), 0 2px 18px rgba(47, 64, 80, 0.25);
}
.bb-dialog-wrapper .bb-dialog-container .bb-dialog-header {
  text-align: center;
}
.bb-dialog-wrapper .bb-dialog-container .bb-dialog-header h3 {
  margin: 0;
  color: #888;
  font-size: 1.5rem;
  font-weight: bold;
}
.bb-dialog-wrapper .bb-dialog-container .bb-dialog-header .bb-dialog-close {
  position: absolute;
  right: 25px;
  top: 15px;
}
.bb-dialog-wrapper .bb-dialog-container .bb-dialog-footer {
  overflow: hidden;
}
.bb-dialog-wrapper .bb-dialog-container .bb-dialog-body {
  margin: 20px 0;
}
.bb-dialog-wrapper .bb-dialog-container .bb-dialog-body h6 {
  font-size: 20px;
  margin: 0;
}
.bb-dialog-wrapper .bb-dialog-container .bb-dialog-body .input-group .form-control {
  border-color: #eaedf2;
  border-left: 0;
  box-shadow: none !important;
}
.bb-dialog-wrapper .bb-dialog-container .bb-dialog-body .input-group .input-group-text {
  background-color: #fff;
  border: 0.0625rem solid #eaedf2;
}
.bb-dialog-wrapper .bb-dialog-container .bb-dialog-default-button {
  float: right;
}
.bb-dialog-wrapper .bb-dialog-container .bb-dialog-loading {
  background-color: rgba(255, 255, 255, 0.7);
  position: absolute;
  width: 100%;
  top: 0;
  height: 100%;
  left: 0;
}

.bb-dialog-enter, .bb-dialog-leave {
  opacity: 0;
}

.bb-dialog-enter .bb-dialog-container,
.bb-dialog-leave .bb-dialog-container {
  transform: scale(1.1);
}

body.bb-dialog-shown > *:not(.bb-dialog-mask) {
  filter: blur(4px);
  -webkit-filter: blur(4px);
}

.button-loading {
  border: 1px solid #c4cdd5;
  cursor: default;
  text-shadow: none;
  color: transparent !important;
  position: relative;
  transition: border-color 0.2s ease-out;
}
.button-loading:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border-width: 3px;
  border-style: solid;
  margin-top: -9px;
  margin-left: -9px;
  width: 18px;
  height: 18px;
  animation: button-loading-spinner 1s linear infinite;
  border-color: #ffffff;
  border-bottom-color: transparent;
}
.button-loading:hover, .button-loading:focus, .button-loading:active {
  color: transparent;
}

@keyframes button-loading-spinner {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.bb-heart > span {
  position: relative;
  color: #aaa;
  text-decoration: none;
  font-size: 1.8em;
  transition: all 0.4s ease-out;
  vertical-align: middle;
}
.bb-heart > span.active, .bb-heart > span.active:hover {
  color: #da3737;
}
.bb-heart > span:hover {
  color: rgb(144.5, 144.5, 144.5);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.bb-heart > span:before {
  content: attr(data-text);
  position: absolute;
  top: -4px;
  left: 0;
  opacity: 0.8;
}
.bb-heart > span.active:before {
  animation: heart-bump 0.8s 1;
}

@keyframes heart-bump {
  0% {
    opacity: 0.8;
  }
  30% {
    transform: rotate(20deg);
  }
  60% {
    transform: rotate(-20deg);
  }
  100% {
    opacity: 0;
    top: -30px;
    transform: rotate(0deg);
  }
}
.bb-like {
  cursor: pointer;
  height: 50px;
  width: 50px;
  background-image: url("/themes/freedom/images/heart-animation.png");
  background-position: left;
  background-repeat: no-repeat;
  background-size: 2900%;
  transition: none;
  margin-top: -9px;
  margin-left: -9px;
}
.bb-like:hover, .bb-like.ok {
  background-position: right;
}
.bb-like.ok {
  animation: heart-burst 0.8s steps(28) 1;
}
.bb-like + span {
  margin-top: 1px;
  margin-left: -10px;
  font-size: 12px;
}

@keyframes heart-burst {
  from {
    background-position: left;
  }
  to {
    background-position: right;
  }
}
.bb-dropdown {
  min-width: 80px;
  height: 30px;
  position: relative;
  margin: 10px 1px;
  display: inline-block;
  vertical-align: middle;
}
.bb-dropdown a:hover {
  text-decoration: none;
}
.bb-dropdown.no-caret .bb-dropdown-toggle {
  padding-right: 0 !important;
}
.bb-dropdown-toggle {
  color: #636b6f;
  min-width: 80px;
  padding: 5px 30px 5px 10px;
  text-transform: none;
  margin-bottom: 7px;
  border: 0;
  background-size: 0 2px, 100% 1px;
  background-repeat: no-repeat;
  background-position: center bottom, center calc(100% - 1px);
  background-color: transparent;
  transition: background 0s ease-out;
  float: none;
  box-shadow: none;
  border-radius: 0;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.bb-dropdown-toggle:hover {
  background: #e1e1e1;
  cursor: pointer;
}
.bb-dropdown-toggle .caret {
  width: 0;
  position: absolute;
  top: 19px;
  height: 0;
  margin-left: -24px;
  vertical-align: middle;
  border-top: 4px dashed;
  border-top: 4px solid \9 ;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  right: 10px;
}
.bb-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  float: left;
  min-width: 160px;
  padding: 5px 0 !important;
  margin: 2px 0 0;
  list-style: none;
  font-size: 14px;
  text-align: left;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  background-clip: padding-box;
}
.bb-dropdown-menu > li {
  overflow: hidden;
  width: 100%;
  position: relative;
  margin: 0;
}
.bb-dropdown-menu > li > a {
  padding: 10px 30px;
  display: block;
  clear: both;
  font-weight: normal;
  line-height: 1.6;
  color: #333333;
  white-space: nowrap;
  text-decoration: none;
}
.bb-dropdown-menu > li > a:hover {
  background: #efefef;
  color: #409FCB;
}
.bb-dropdown li {
  list-style: none !important;
}

.bb-comment-wrapper a, .bb-comment-wrapper a:hover {
  color: #343a40 !important;
}
.bb-comment-wrapper .bb-comment-box {
  background: #f8f8f8;
  padding: 20px;
}

.bb-comment-list > .bb-comment-item {
  border: 1px solid #ddd;
  padding: 20px;
}

.block__images a {
  display: inline-block;
  width: 100px;
  height: 100px;
  margin-bottom: 5px;
  margin-right: 5px;
  border: 1px solid #dee2e6;
  border-radius: 0.25rem !important;
}
.block__images a img {
  -o-object-fit: cover;
     object-fit: cover;
  border: none;
}

.image-upload__uploader-container {
  display: inline-block;
}
.image-upload__uploader-container:hover {
  cursor: pointer;
}
.image-upload__uploader-container .image-upload__uploader {
  border: 1px dashed #c4c6cf;
  justify-content: center;
  align-items: center;
  position: relative;
  display: flex;
  padding: 5px 10px;
}
.image-upload__uploader-container .image-upload__uploader:hover {
  background: #d9edf7;
}
.image-upload__uploader-container .image-upload__icon {
  color: #333;
  font-size: 20px;
  margin-right: 5px;
}
.image-upload__uploader-container .image-upload__text {
  color: #333;
  font-size: 13px;
  text-align: center;
}
