.skipta-post-form input[type="file"],
.skipta-post-form input[data-drupal-selector="edit-post-files-remove-button"],
.skipta-post-form button[data-drupal-selector="edit-post-files-remove-button"],
.skipta-post-form input[data-drupal-selector="edit-post-patient-case-file-remove-button"],
.skipta-post-form button[data-drupal-selector="edit-post-patient-case-file-remove-button"],
.skipta-post-form .form-group input[type="checkbox"],
.skipta-post-form .js-form-item-post-anonymous {
  display: none !important;
}

.skipta-post-form .file {
  background-image: none !important;
  position: relative;
  display: inline;
  padding-left: 0;
}

.skipta-post-form .file span {
  width: 100% !important;
  position: relative;
  display: inline;
}

.skipta-post-form .post-file-container {
  float: left;
  width: 90%;
}

.skipta-post-form .post-remove-item {
  float: right;
  width: 32px;
}
.skipta-post-form .post-remove-item:hover {
  cursor: pointer;
}

.skipta-post-form .form-group .js-form-type-checkbox {
  border-top: 1px solid #cccccc;
  padding: .5em;
  overflow: hidden;
  margin: 0 0 0px 0;
  text-align: left !important;
  min-height: 1px;
  width: 100%;
}
.skipta-post-form .form-group .js-form-type-checkbox:last-of-type {
  border-bottom: 1px solid #cccccc;
}
.skipta-post-form .clearboth {clear: both;}

.stream__wrapper .stream__content .stream__form {
  gap: 15px;
}

.stream__wrapper .stream__content .stream__form .js-form-item-post-description {
  margin: 0;
  width: 100% !important;
}
.stream__wrapper .stream__content .stream__form .js-form-item-post-description .custom_post_form {
  min-height: 48px;
  margin-top: 1px;
  border-radius: 8px !important;
  padding: 11px 15px;
  transition: height 0.3s ease;
}
.stream__wrapper .stream__content .stream__form .js-form-item-post-description .custom_post_form:focus,
.stream__wrapper .stream__content .stream__form .js-form-item-post-description .custom_post_form.composer-expanded {
  height: 125px !important;
}
@media (max-width: 568px) {
  /* Home/Discussion's composer never gets the .covid-19-stream-post
     ancestor the MC/DS mobile font-size fix is scoped to. */
  .stream__wrapper .stream__content .stream__form .js-form-item-post-description .custom_post_form {
    font-size: 12px !important;
  }
}
@media (max-width: 767px) {
  /* Same gap as the composer fix above, but for displayed comment text:
     MC/DS's mobile 12px rule for .comment__wrapper .content is scoped to
     .covid-19-stream-post, which Home/Discussion/News comments render
     without (same skipta-comment.html.twig markup, no MC/DS wrapper). */
  .stream__wrapper .comment__wrapper .content {
    font-size: 12px;
  }
  .stream__wrapper .comment__wrapper .name,
  .stream__wrapper .comment__wrapper .time {
    font-size: 12px;
  }
}
.stream__wrapper .stream__content .stream__form .user__image .user__img {
  margin: 0 !important;
  width: 40px;
  height: 40px;
  display: inline-block;
  object-fit: cover;
  object-position: center;
}
.stream__wrapper .stream__content .stream__form .user__image {
  margin: 0 !important;
  width: 40px;
  height: 40px;
}
.stream__wrapper .stream__content .stream__form .form_textarea {
  flex: 1;
  overflow: auto;
  position: relative;
}
.stream__wrapper .stream__content .stream__form .form_textarea .post-form-wrapper {
  width: 100%;
}
.stream__wrapper .form_show_summary {
  clear: both;
  float: left;
  display: flex;
  flex-wrap: wrap;
  margin-top: 15px;
  width: 100%;
}
.stream__wrapper .form_show_summary .post-preview {
  flex: 0 0 100%;
  width: 100%;
  order: 3;
}
.stream__wrapper .stream__content .stream__post_as__wrapper,
.stream__wrapper .form_show_summary #show-summary-below-snippet {
  padding: 0;
}
/* Keep the websnippet/attachment preview on its own full-width row so a short
   file name never floats up next to the "Show summary" text. */
.stream__wrapper .form_show_summary .post-preview {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  text-align: left;
}
.stream__wrapper .stream__content .stream__post_as__wrapper .form-item-post-as select {
  max-width: 260px;
  margin: 0;
  border-color: #ced4da !important;
}
.stream__wrapper .stream__content .stream__post_as__wrapper .form-item-post-as {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: baseline;
  gap: 15px;
}
.stream__wrapper .stream__content .stream__post_as__wrapper,
.stream__wrapper .stream__content .stream__panel.micro-stream-form,
.stream__wrapper .stream__content .stream__navigation .list-item {
  padding: 0;
}
.stream__wrapper .stream__content .stream__link {
  position: absolute;
  right: 0;
  top: 12px;
  cursor: pointer;
}
.stream__wrapper .stream__content .stream__link .form-item-post-image-video span {
  display: none;
}
.stream__wrapper .stream__content .button__wrapper {
  padding: 0;
  padding-top: 5px;
  width: 32px;
}
.stream__wrapper .stream__content .button__wrapper .form-submit {
    height: 40px;
    width: 40px;
   @media (max-width:440px) {
    height: 37px;
    width: 37px;
   }
    font-size: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cstyle%3E.cls-1%7Bfill:%23fafafa;fill-rule:evenodd;%7D%3C/style%3E%3Cpath class='cls-1' d='M9.94,12.65l-2.25-.75h0c-2.35-.78-3.53-1.18-3.53-1.9s1.18-1.11,3.53-1.9l8.51-2.84c1.66-.55,2.48-.83,2.92-.39.44.44.16,1.26-.39,2.92l-2.84,8.51h0c-.78,2.35-1.18,3.53-1.9,3.53s-1.11-1.18-1.9-3.53l-.75-2.25,4.35-4.35c.39-.39.39-1.02,0-1.41-.39-.39-1.02-.39-1.41,0l-4.35,4.35Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 24px 24px;
    background-position: center;
    border-radius: 8px;
}
.stream__wrapper .stream__content .button__wrapper .form-submit:disabled,
.stream__wrapper .stream__content .button__wrapper .form-submit:active {
  box-shadow: none;
  opacity: 1;
}
.stream__wrapper .stream__content .button__wrapper .form-submit:focus-visible {
  box-shadow: none;
  opacity: 1;
}
.stream__wrapper .form_show_summary #show-summary-below-snippet .form-check-input:focus {
  box-shadow: none;
}

/* Success toast spans full composer width on home stream */
.skipta-post > .messages,
.skipta-post > .alert,
.skipta-post > [data-drupal-messages] {
  width: 100%;
  margin: 0 0 10px;
  box-sizing: border-box;
}
