.poll-section {
  background: #fff;
  margin-top: -15px;
  padding: 25px 30px 10px;
  float: left;
  width: 100%;
  padding-bottom: 0;
  margin-bottom: 0;
}

.poll-view .alert {
  position: relative;
  text-align: left;
  font-size: 16px;
  line-height: 26px;
  color: #fff;
  font-weight: 400;
  background: #2fa037;
  padding: 10px 30px;
  margin-bottom: 10px;
  border-radius: 5px;
  width: 100%;
}
.poll-view .alert-danger:not(.form-item--error-message) {
  display: none;
}
/* .poll-view .alert.alert-danger {
    background-color: #bb0b28;
  } */
.path-frontpage .poll-view .alert-dismissible .close,
.poll-view .alert-dismissible .close {
  top: 15px;
  right: 15px;
  width: 15px;
  height: 15px;
}
.poll-view {
  border-top: 1px solid #e6e6e6;
  padding-top: 30px;
  text-align: left;
}
.poll-view form.poll-view-form fieldset {
  margin-top: 0;
  margin-left: 2px;
  margin-bottom: 7px;
}
.poll-question {
  font-size: 18px;
  font-weight: 700;
  color: #000;
  margin: 0 0 15px;
  text-align: left;
}
/*** Poll before view result or vote ***/
.poll-view form.poll-view-form .radio label {
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 20px !important;
  color: #666 !important;
  transition: color 0.2s ease;
  padding-left: 23px;
}
.poll-view form.poll-view-form [type="radio"] {
  margin-top: 0;
}
.poll-view form.poll-view-form [type="radio"] + label:after {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  margin: 2px;
  z-index: 0;
  -webkit-transition: 0.28s ease;
  transition: 0.28s ease;
  width: 13px;
  height: 13px;
  border-radius: 0;
  border: 1px solid #666;
  transform: none !important;
}
.poll-view form.poll-view-form [type="radio"]:checked + label::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 5px;
  border: 1px solid transparent;
  border-left: 1px solid black;
  border-bottom: 1px solid black;
  transform: rotate(-43deg);
  top: 6px;
  left: 5px;
  z-index: 1;
  border-radius: 0px;
}
.poll-view form.poll-view-form [type="radio"]:checked + label {
  color: #000 !important;
}
/* .poll-view form.poll-view-form [type="radio"]:checked + label:after {
  background: url(../../img/tick.svg) center no-repeat;
  background-size: contain !important;
  transform: none;
  width: 14px;
  height: 14px;
  top: 0;
  left: 0;
} */
/* .poll-view .form-actions button {
    background: #fff;
    border: 1px solid #0c4064;
    text-transform: uppercase;
    transition: all 0.3s ease;
    padding-left: 15px;
    padding-right: 15px;
  }

  .poll-view .form-actions button:hover {
    background: #0c4064;
    color: #fff;
  } */
/* .poll-view .form-actions button {
    background: #fff;
    color: #0c4064;
    border: 1px solid #0c4064;
    font-size: 12px;
    padding: 4px 15px 3px;
    border-radius: 2px;
    transition: all 0.2s ease;
    display: inline-flex;
    height: 26px;
    border-radius: 0;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
  }

  .poll-view .form-actions button:hover {
    background: #0c4064;
    color: #fff;
  } */
/* .poll-view .btn+.btn {
    margin-left: 10px;
  } */
/*** END OF Poll before view result or vote ***/
/*** Poll view result ***/
.poll-view {
  position: relative;
}
.poll-view .form-item--error-message::before {
  display: none;
}
.poll-answer-vote {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 150px);
  grid-gap: 10px;
}
.poll-answer-vote:not(:last-child) {
  margin-bottom: 10px;
}
.poll-answer-vote .bar {
  display: none;
}
.poll-answer-vote .choice-title {
  position: relative;
  font-size: 14px;
  color: #666;
  font-weight: 500;
  display: flex;
  align-items: center;
  background: #f1f2f2;
  padding: 5px 35px 5px 10px;
}
.poll-view .choice-title.is-current-selection::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 15px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid #2fa037;
  background: url(img/tick_green.svg) center no-repeat;
  background-size: contain;
}
.poll-view .percent {
  border: 1px solid #f1f2f2;
  font-size: 14px;
  font-weight: 700;
  color: #666;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px 10px;
  text-align: center;
}
.poll-view dl {
  margin-bottom: 22px;
}
.poll-view .total {
  text-align: left;
  font-size: 13px;
  /* font-weight: 500; */
  font-weight: 400;
  color: #000;
  margin: 0 0 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: flex-start;
}
.poll-view .total .pipe {
  margin: 0 5px;
}
.quicktab-activity-stream .stream-list-item.border-hide + .poll-section .poll-view {
  border: none;
  padding-top: 0;
}

/*** END OF Poll view result ***/
form.poll-view-form .form-type-radio,
form.poll-view-form .form-type-checkbox {
  position: relative;
  display: block !important;
  margin-bottom: 8px;
}
/* .poll-view {
  --primary-color: #359f3d;
} */
.poll-view form.poll-view-form .form-type-radio label {
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 20px !important;
  color: var(--primary-color) !important;
  transition: color 0.2s ease;
  padding-left: 23px;
  position: relative;
  cursor: pointer;
}
form.poll-view-form .form-actions {
  margin-bottom: 45px;
}
.poll-view .form-actions input {
  display: inline-flex;
}
.poll-view .button + .button {
  margin-left: 10px !important;
}
/* form.poll-view-form .form-type-radio label:after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  margin: 2px;
  width: 16px;
  height: 16px;
  z-index: 0;
  -webkit-transition: .28s ease;
  transition: .28s ease;
} */
.poll input[type="radio"] {
  display: none;
}
