.activity-stream-post-block #post-url-wrapper > div.post-add-poll .edit-poll,
.form-ok .activity-stream-post-block #post-url-wrapper > div.post-add-poll .add-poll {
  display: none;
}

.activity-poll-fields-wrapper .form-item-ctm-field-poll-validate {
  display: none !important;
}

.form-ok .activity-stream-post-block #post-url-wrapper > div.post-add-poll .edit-poll {
  display: inline-block;
}

.create-poll-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 19px;
  /* color: #0c4064; */
  color: var(--basicColor);
}

.activity-poll-fields-wrapper {
  position: relative;
  width: 100%;
}

.activity-poll-fields-wrapper label,
.activity-poll-fields-wrapper fieldset.card legend.card__title {
  font-size: 14px;
  /* color: #666; */
  color: #000;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.activity-poll-fields-wrapper #post-discussion-help {
  display: none !important;
}

.activity-stream-post-block .activity-poll-fields-wrapper .card {
  box-shadow: none;
  margin-top: 0;
  margin-bottom: 30px;
}

.activity-poll-fields-wrapper fieldset.card legend.card__title {
  padding: 0 0 10px;
  border: 0;
  top: 0;
  padding: 0;
  margin-bottom: 10px;
}

.activity-poll-fields-wrapper .form-wrapper .card__block {
  padding: 0;
}

.activity-poll-fields-wrapper .form-wrapper .card__block .form-item:not(:last-child) {
  margin-bottom: 10px;
}

.activity-poll-fields-wrapper input[type="text"],
.activity-poll-fields-wrapper textarea,
.activity-stream-post-block .activity-poll-fields-wrapper .form-type-select,
.activity-poll-fields-wrapper .select-wrapper,
.activity-poll-fields-wrapper select {
  width: 100% !important;
  max-width: 100% !important;
}

form .activity-poll-fields-wrapper .select-wrapper:after {
  font-size: 0;
  width: 15px;
  height: 15px;
  background: url(img/down-arrow.svg) center no-repeat;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 10px;
}

.activity-poll-fields-wrapper input[type="text"],
.activity-poll-fields-wrapper textarea,
.activity-poll-fields-wrapper select {
  border: 1px solid #e6e7e8;
  outline: 0;
  color: #666;
  line-height: 18px !important;
}

.activity-stream-post-block .activity-poll-fields-wrapper .form-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.activity-stream-post-block #edit-choice-fieldset-actions {
  justify-content: flex-end;
}

.activity-stream-post-block .activity-poll-fields-wrapper .form-actions button {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  height: 35px;
  background-color: #fff;
  color: #0c4064;
  border: 1px solid #0c4064;
  margin-bottom: 5px;
}

.activity-stream-post-block .activity-poll-fields-wrapper .form-actions button:hover {
  background-color: #0c4064;
  color: #fff;
}

.activity-stream-post-block .activity-poll-fields-wrapper .form-type-select {
  padding: 0;
  margin-bottom: 0;
}

.save-poll-dummy-wrap {
  /* display: flex; */
  display: none;
  flex-wrap: wrap;
  justify-content: flex-end;
  position: absolute;
  z-index: 10;
  bottom: 20px;
  right: 30px;
}

.nj-popup-show .save-poll-dummy-wrap {
  display: flex;
}

.save-poll-dummy-wrap a {
  margin-bottom: 5px;
}

.save-poll-dummy-wrap a:not(:last-child) {
  margin-right: 5px;
}

.save-poll-dummy-wrap a {
  font-size: 14px;
  line-height: 16px;
  font-weight: 700;
  border-radius: 20px;
  margin-bottom: 0;
  padding: 7px 22px 6px;
  height: 30px;
  color: #fff;
  position: relative;
}

.save-poll-dummy-btn {
  background: #0c4064;
  display: none;
}

.save-poll-dummy-btn:hover,
.save-poll-dummy-btn:focus {
  background: #2fa037;
  color: #fff;
}

.clear-poll-dummy-btn {
  display: none;
  background: #e30428;
  color: #fff;
}

.clear-poll-dummy-btn:hover,
.clear-poll-dummy-btn:focus {
  background: #bb0b28;
  color: #fff;
}

.activity-poll-fields-wrapper button {
  position: relative;
}

.activity-poll-fields-wrapper button .ajax-throbber::before {
  color: #fff;
}

.form-ok .save-poll-dummy-btn {
  padding-left: 35px;
}

.form-ok .save-poll-dummy-btn {
  display: flex;
}

.form-ok .clear-poll-dummy-btn {
  display: inline-block;
}

.form-ok .save-poll-dummy-btn:not(:hover) {
  background: #2a9431;
}

.form-ok .save-poll-dummy-btn::before {
  display: inline-block;
  content: "";
  width: 25px;
  height: 25px;
  background: url(img/tick.svg) center no-repeat;
  background-size: contain;
  position: absolute;
  left: 10px;
  /* top: 0; */
  top: 2px;
}

/* .form-ok .post-add-poll .edit-poll {
  background: #2a9431 !important;
  border: 1px solid #2a9431 !important;
  transition: opacity 0.3s ease;
} */

.form-ok .post-add-poll .edit-poll:hover {
  background: var(--basicColor) !important;
}

/* .form-ok .post-add-poll a::before {
  width: 13px !important;
  height: 13px !important;
  background: url(img/edit.svg) center no-repeat !important;
  background-size: cover !important;
} */
.form-ok .saved-poll-data {
  display: flex;
  flex-wrap: wrap;
  background: #fff;
  /* padding: 10px 12px 0; */
  padding: 12px;
  /* margin-bottom: 15px; */
  margin: 12px 0;
  border-radius: 24px;
}
.form-ok .saved-poll-data > * {
  flex-basis: 100%;
}
.form-ok .custom_pollQues {
  font-size: 18px;
  font-weight: 700;
  color: #0c4064;
  margin: 0 0 15px;
  text-align: left;
}
.form-ok .custom_pollDuration {
  text-align: left;
  font-size: 13px;
  font-weight: 500;
  color: #000;
  order: 4;
}
.form-ok .custom_Checkbox {
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 20px !important;
  color: #666 !important;
  position: relative;
  padding-left: 20px;
  margin-top: 0px;
}
.form-ok .custom_Checkbox::before {
  width: 13px;
  height: 13px;
  border-radius: 0;
  border: 1px solid #666;
  content: "";
  position: absolute;
  left: 0px;
  top: 3px;
}
.activity-stream-post-block .activity-poll-fields-wrapper .form-group {
  margin-left: 1px;
}
/*******************************************************************/
.activity-poll-fields-wrapper {
  display: none;
}
.nj-popup-show.nj-popup .activity-poll-fields-wrapper {
  display: block;
}
