/* modal-full */
.modal-dialog.modal-full {
  min-width: calc(100% - 20px);
  max-width: calc(100% - 20px);
  margin: 10px auto;
}

.modal-dialog.modal-full .modal-body {
  display: flex;
  max-height: calc(100vh - 94px);
  margin: 0 18px;
  overflow-y: auto;
}

.modal-dialog.modal-full .gallery-wrapper {
  width: 100%;
  text-align: center;
}

[data-edit-type=redactor]:empty:before {
  content: attr(placeholder);
  color: rgba(0, 0, 0, 0.4);
  font-weight: 400;
}
[data-edit-type=redactor] > *:not(#notfound) {
  word-break: break-word;
}

/* preview-avatar-placeholder */
.preview-avatar-placeholder {
  -o-object-fit: cover;
     object-fit: cover;
}

/* btn-dashed */
.btn-dashed {
  border-style: dashed;
  border-radius: 2rem;
}

#modal-profile .form-group-buttons .social-item {
  padding-left: 60px;
}
#modal-profile .form-group-buttons .social-item + .social-item {
  margin-top: 1.25rem;
}
#modal-profile .form-group-buttons .social-item .button-icon {
  background: #e9ecef;
  display: block;
  position: absolute;
  width: 50px;
  height: 50px;
  margin-top: -25px;
  margin-left: -70px;
  padding: 2px 0;
}
#modal-profile .form-group-buttons .social-item .button-icon [data-icon] {
  color: #fff;
  font-size: 50px;
}
#modal-profile .form-group-buttons .social-item .button-icon [data-icon=google],
#modal-profile .form-group-buttons .social-item .button-icon [data-icon=facebook],
#modal-profile .form-group-buttons .social-item .button-icon [data-icon=microsoft] {
  color: transparent;
}
#modal-profile .form-group-buttons .social-item .button-icon [data-icon=facebook] {
  width: 50px;
  height: 50px;
  background: url(/images/default/icon-facebook.svg) center center no-repeat;
  background-size: 80%;
}
#modal-profile .form-group-buttons .social-item .button-icon [data-icon=google] {
  width: 50px;
  height: 50px;
  background: url(/images/default/icon-google.svg) center center no-repeat;
  background-size: 80%;
}
#modal-profile .form-group-buttons .social-item .button-icon [data-icon=microsoft] {
  width: 50px;
  height: 50px;
  background: url(/images/default/icon-microsoft.svg) center center no-repeat;
  background-size: 80%;
}
#modal-profile .form-group-buttons .social-item .button-icon-transparent {
  background: none;
}
#modal-profile .form-group-buttons .social-item .button-icon-transparent [data-icon] {
  color: #3b5998;
  font-size: 50px;
}

/* wrapper-visibility */
.wrapper-visibility.input-group:not(.has-validation) > .form-control:not(:last-child), .wrapper-visibility.input-group:not(.has-validation) > .custom-select:not(:last-child), .wrapper-visibility.input-group:not(.has-validation) > .custom-file:not(:last-child) .custom-file-label::after {
  border-radius: 5px;
}
.wrapper-visibility.input-group .input-group-append {
  position: relative;
  align-items: center;
  margin-top: 7.5px;
}
.wrapper-visibility.input-group .visibility {
  position: absolute;
  top: 0;
  right: 5px;
  top: 50%;
  transform: translate3d(0, -50%, 0);
  z-index: 4;
  float: none;
  margin-left: 0;
}
.form-inline .wrapper-visibility.input-group {
  width: 100%;
}

.tribute-container > ul > li {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  white-space: normal;
  width: 240px;
}
.tribute-container > ul > li img,
.tribute-container > ul > li .image {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}
.tribute-container > ul > li .img-thumbnail-sm {
  min-width: 40px;
}

/* page error code */
#page_pages-error-code {
  background: #fcfcfc;
}
#page_pages-error-code #page-main-row {
  margin: 0;
  padding: 0;
}

.widget-error-code {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 330px;
  min-height: calc(100vh - 80px);
  margin: 40px auto;
  text-align: center;
}
.widget-error-code .top-image {
  max-width: 60px;
}
.widget-error-code .page-title {
  margin: 20px 0;
  font-size: 29px;
  line-height: 1.4;
  color: #5b4a58;
}
.widget-error-code .description {
  font-size: 16px;
  line-height: 1.4;
  color: #5b4a58;
}
.widget-error-code .code {
  margin: 0;
  padding: 0;
  font-size: 12px;
  color: #8e8e8e;
  border: none;
}
.widget-error-code .bottom-image {
  max-width: 41px;
  margin-top: 38px;
}

[widget-name=users_profile] .profile-name {
  font-size: 15px;
  font-weight: bolder;
}
[widget-name=users_profile] .profile-address [data-icon] {
  font-size: 14px;
}
[widget-name=users_profile] .profile-friendship {
  color: #6c757d;
  text-transform: lowercase;
}
[widget-name=users_profile] .profile-edit-profile .btn-link {
  padding: 0;
  text-decoration: underline;
}
[widget-name=users_profile] .profile-edit-profile .btn-link:hover {
  text-decoration: none;
}
[widget-name=users_profile] .widget-profile-info {
  margin-bottom: 1.875rem;
  text-align: center;
  word-break: break-word;
}
[widget-name=users_profile] .col-auto.avatar img {
  margin-bottom: 1.25rem;
}
[widget-name=users_profile] .count {
  font-size: 20px;
  line-height: 1;
  color: #2D2C2D;
}
[widget-name=users_profile] .profile-item {
  margin-bottom: 5px;
}
[widget-name=users_profile] .profile-buttons .btn {
  /* margin-top: 15px; */
}
[widget-name=users_profile] .btn-hide-icon-md span {
  font-size: 0;
}
[widget-name=users_profile] .btn-hide-icon-md icon-image {
  font-size: 1.0375rem;
}

[widget-name=cover] .widget-cover {
  position: relative;
  z-index: 3;
  display: flex;
  flex: 0 0 100%;
  align-items: flex-end;
  max-width: 100%;
  margin-bottom: 0px;
  color: #535254;
  background-color: #fff;
}
[widget-name=cover] .widget-cover.widget-cover-primary {
  color: #535254;
}
[widget-name=cover] .widget-cover.widget-cover-primary .wrapper-cover {
  border-radius: 2rem;
}
[widget-name=cover] .widget-cover.widget-cover-primary .wrapper-cover .wrapper-cover-image {
  width: 100%;
  max-height: 308px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 2rem;
}
[widget-name=cover] .widget-cover.active {
  z-index: 10;
}
[widget-name=cover] .widget-cover.active .position-relative {
  pointer-events: none;
  opacity: 0.5;
}
[widget-name=cover] .widget-cover.active .btn-change-cover {
  display: none;
}
[widget-name=cover] .wrapper-cover {
  position: relative;
  display: block;
  margin-bottom: -1.875rem;
}
[widget-name=cover] .btn-change-cover {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 2;
  padding: 5px;
  color: #2D2C2D;
  line-height: 1;
  border-style: dashed;
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.8);
}
[widget-name=cover] .btn-change-cover:hover {
  color: #fff;
  background: #2D2C2D;
}
[widget-name=cover] .btn-change-cover .text {
  display: none;
}
[widget-name=cover] .btn-change-cover icon-image {
  font-size: 17px;
}
[widget-name=cover] .widget-cover-info {
  margin-bottom: 1.875rem;
  text-align: center;
  word-break: break-word;
}
[widget-name=cover] .widget-cover-info-second [data-icon=clear] {
  margin-top: 2px;
}
[widget-name=cover] .widget-cover-info-second > * {
  margin: 0.3125rem;
}
[widget-name=cover] .form-cover {
  margin-bottom: 1.875rem;
  width: 100%;
}
[widget-name=cover] .cropper-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
[widget-name=cover] .cropper-wrapper .cropper-move {
  cursor: row-resize;
}
[widget-name=cover] .cropper-zoom-slider {
  display: none;
}
[widget-name=cover] .cover-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
[widget-name=cover] .cover-buttons {
  position: absolute;
  right: 8px;
  z-index: 3;
  bottom: 100%;
}
[widget-name=cover] .position-relative {
  position: relative;
  z-index: 2;
}
[widget-name=cover] .mw-160 {
  max-width: 100%;
  text-align: center;
}
[widget-name=cover] .col-auto.avatar img {
  margin-bottom: 1.25rem;
}
[widget-name=cover] .profile-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 1.25rem;
}
[widget-name=cover] .profile-buttons .btn {
  /* margin-top: 15px; */
}
[widget-name=cover] .dropdown-wc .btn-round {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  height: 30px;
  width: 30px;
  border-width: 2px;
}
[widget-name=cover] .dropdown-wc .btn-round icon-image {
  font-size: 20px;
}
[widget-name=cover] .btn-sm {
  line-height: 1;
}
[widget-name=cover] .profile-name {
  font-size: 15px;
  font-weight: bolder;
}
[widget-name=cover] .profile-address [data-icon] {
  font-size: 14px;
}
[widget-name=cover] .profile-friendship {
  color: #6c757d;
  text-transform: lowercase;
}
[widget-name=cover] .profile-edit-profile .btn-link {
  padding: 0;
  text-decoration: underline;
}
[widget-name=cover] .profile-edit-profile .btn-link:hover {
  text-decoration: none;
}
[widget-name=cover] .px-15 {
  padding-left: 15px;
  padding-right: 15px;
}
[widget-name=cover] .divider {
  margin: 0 0.625rem;
}
[widget-name=cover] .count {
  font-size: 20px;
  line-height: 1;
  color: #2D2C2D;
}
[widget-name=cover] .btn-hide-icon-md span {
  font-size: 0;
}
[widget-name=cover] .btn-hide-icon-md icon-image {
  font-size: 1.0375rem;
}

[widget-name=members] .user {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #dee2e6;
}
[widget-name=members] .member-info {
  display: flex;
  flex-direction: column;
}
[widget-name=members] .subscribers-wrapper {
  margin-top: 10px;
}
[widget-name=members] .left {
  padding-right: 10px;
  flex: 0 0 174px;
  min-width: 174px;
}
[widget-name=members] .address {
  color: #6c757d;
  word-break: break-word;
}
[widget-name=members] .joined {
  margin-bottom: 7px;
  color: #6c757d;
}

[widget-name=layout_tabs_container] ~ [widget-name] {
  padding-left: 33px;
  padding-right: 33px;
  display: none;
}
[widget-name=layout_tabs_container] ~ [widget-name].active {
  display: block;
}

@media (min-width: 576px) {
  [widget-name=users_profile] .widget-profile-info {
    text-align: left;
  }
  [widget-name=users_profile] .widget-profile-info .row {
    flex-wrap: nowrap;
  }
  [widget-name=users_profile] .widget-profile-info .row .col-auto.avatar {
    flex: 0 0 165px;
    width: 165px;
  }
  [widget-name=users_profile] .widget-profile-info .row .col {
    flex: 0 0 100%;
    max-width: 100%;
  }
  [widget-name=users_profile] .col-auto.avatar img {
    margin-bottom: 0;
  }
  [widget-name=cover] .wrapper-cover {
    margin-bottom: 2.5rem;
  }
  [widget-name=cover] .widget-cover-info {
    text-align: left;
  }
  [widget-name=cover] .widget-cover-info .row {
    flex-wrap: nowrap;
  }
  [widget-name=cover] .widget-cover-info .row .col-auto.avatar {
    flex: 0 0 165px;
    width: 165px;
  }
  [widget-name=cover] .col-auto.avatar img {
    margin-bottom: 0;
  }
}
@media (min-width: 768px) {
  [widget-name=users_profile] .profile-name {
    font-size: 24px;
  }
  [widget-name=users_profile] .btn-hide-icon-md span {
    font-size: 0.83rem;
  }
  [widget-name=users_profile] .btn-hide-icon-md icon-image {
    font-size: 0;
  }
  [widget-name=cover] .widget-cover.active .position-relative {
    opacity: 1;
  }
  [widget-name=cover] .widget-cover.active.widget-cover-primary .position-relative {
    opacity: 0.5;
  }
  [widget-name=cover] .btn-change-cover {
    bottom: 24px;
    right: 24px;
    padding: 0.375rem 0.75rem;
    line-height: 1.5;
  }
  [widget-name=cover] .btn-change-cover .text {
    display: inline;
  }
  [widget-name=cover] .btn-change-cover icon-image {
    font-size: 22px;
  }
  [widget-name=cover] .cover-buttons {
    top: 10px;
    right: 8px;
    bottom: auto;
  }
  [widget-name=cover] .form-cover {
    margin-top: 0;
  }
  [widget-name=cover] .profile-item {
    margin-bottom: 5px;
  }
  [widget-name=cover] .profile-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3125rem;
  }
  [widget-name=cover] .profile-name {
    font-size: 24px;
  }
  [widget-name=cover] .btn-hide-icon-md span {
    font-size: 0.83rem;
  }
  [widget-name=cover] .btn-hide-icon-md icon-image {
    font-size: 0;
  }
  [widget-name=members] .user {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    text-align: left;
  }
  [widget-name=members] .right {
    margin: 0 1.25rem;
  }
  [widget-name=members] .member-info {
    flex-wrap: nowrap;
    flex-direction: row;
  }
  [widget-name=members] .subscribers-wrapper {
    margin-top: 0;
    margin-left: auto;
  }
}
@media (max-width: 767.98px) {
  [widget-name=cover] .form-cover > .cover-image ~ .cover-info-wrapper {
    margin: 135px auto 0;
  }
  [widget-name=cover] .cover-buttons {
    top: 215px;
    right: initial;
    width: 100%;
    text-align: center;
  }
}
@media (max-width: 575.98px) {
  [widget-name=cover] .form-cover > .cover-image ~ .cover-info-wrapper {
    margin: 215px auto 0;
  }
}
