/***********************************
*
* 5-Star Ratings Styles
*
***********************************/
/***********************************
* Breakpoints
***********************************/
/*********************************
* Star-Section Styles
*********************************/
fieldset, label {
  margin: 0;
  padding: 0;
}

.clr {
  display: inline-block;
  float: none;
  clear: both;
  height: 0;
}

.rating-wrapper {
  position: relative;
  width: 100%;
  display: inline-block;
  text-align: center;
  padding: 20px 0 40px 0;
}

#survey-wrapper {
  display: block;
  width: 80%;
  margin: 40px auto 0 auto;
  text-align: center;
}

.rating {
  display: inline;
  text-align: center;
  font-size: 36px;
  border: none;
  margin-bottom: 0;
  padding: 0;
}
.rating > input {
  display: none;
}
.rating > label:before {
  margin: 5px;
  font-size: 1.25em;
  font-family: FontAwesome;
  display: inline-block;
  content: "\f005";
  text-align: center;
}
.rating > .half:before {
  content: "\f089";
  position: absolute;
}
.rating > label {
  text-align: center;
  color: #ddd;
  float: right;
}
.rating *:hover {
  cursor: pointer;
}
@media screen and (max-width: 860px) {
  .rating {
    font-size: 24px;
  }
}

.rating > input:checked ~ label,
.rating:not(:checked) > label:hover,
.rating:not(:checked) > label:hover ~ label {
  color: #FFD700;
}

/* hover previous stars in list */
.rating > input:checked + label:hover,
.rating > input:checked ~ label:hover,
.rating > label:hover ~ input:checked ~ label,
.rating > input:checked ~ label:hover ~ label {
  color: #FFED85;
}

/*********************************
* Page Styles
*********************************/
body, html {
  /*padding: 0;*/
  margin: 0;
}
body.post-type-archive-feedback,
body.feedback-template-default,
body.single-feedback {
  padding: 0;
}

.fivestar-wrapper {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  background: #2a2a2a;
  padding: 40px 0 40px 0;
}
@media screen and (max-width: 800px) {
  .fivestar-wrapper {
    padding: 0;
  }
}
.fivestar-wrapper .fivestar-outer {
  position: relative;
  display: block;
  width: 80%;
  max-width: 1280px;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
  background: #fff;
  padding: 25px 25px 100px 25px;
  margin: 0 auto;
}
@media screen and (max-width: 800px) {
  .fivestar-wrapper .fivestar-outer {
    width: 100%;
  }
}
.fivestar-wrapper .fivestar-outer .fivestar-inner {
  position: relative;
  display: block;
  margin: 0 auto;
}
.fivestar-wrapper .fivestar-outer .fivestar-inner .fivestar-image-wrapper {
  display: inline-block;
  width: 100%;
}
.fivestar-wrapper .fivestar-outer .fivestar-inner .fivestar-image-wrapper img {
  display: block;
  margin: 0 auto 20px auto;
  width: auto;
  max-width: 100%;
}
.fivestar-wrapper .fivestar-outer .fivestar-inner h1 {
  text-align: center;
  margin: 20px 0;
}
.fivestar-wrapper .fivestar-outer .fivestar-inner .fivestar-copy-wrapper {
  text-align: center;
  display: block;
  width: 60%;
  margin: 0 auto;
}
@media screen and (max-width: 1060px) {
  .fivestar-wrapper .fivestar-outer .fivestar-inner .fivestar-copy-wrapper {
    width: 100%;
  }
}
.fivestar-wrapper .fivestar-outer .fivestar-inner .fivestar-copy-wrapper p {
  font-size: 18px;
}
.fivestar-wrapper .fivestar-outer .fivestar-inner .feedback-form-wrapper {
  padding: 40px 0;
}
.fivestar-wrapper .fivestar-outer .fivestar-inner .button-wrapper {
  display: inline-block;
  text-align: center;
  width: 100%;
}
.fivestar-wrapper .fivestar-outer .fivestar-inner .button-wrapper p {
  margin: .5em 0;
}
.fivestar-wrapper .fivestar-outer .fivestar-inner .button-wrapper #fivestar-submit {
  color: #fff;
  font-weight: bold;
  background: #59b85e;
  padding: 12px 24px;
  cursor: pointer;
  transition: all .4s ease;
}
.fivestar-wrapper .fivestar-outer .fivestar-inner .button-wrapper #fivestar-submit:hover {
  background: #459e49;
}
.fivestar-wrapper .fivestar-outer .fivestar-inner .button-wrapper #fivestar-submit.disabled {
  background: #e1e1e1;
  cursor: default;
}
.fivestar-wrapper .fivestar-outer .fivestar-inner .button-wrapper #fivestar-submit.disabled:hover {
  background: #e1e1e1;
}
.fivestar-wrapper .fivestar-outer .fivestar-inner .button-wrapper .back-button-wrapper a {
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid #b5b5b5;
  font-weight: 600;
}
.fivestar-wrapper .fivestar-outer .fivestar-inner .button-wrapper .back-button-wrapper a:hover {
  background: #459e49;
}
.fivestar-wrapper .fivestar-outer .fivestar-inner .button-wrapper .space-or {
  padding: 20px 0;
}
.fivestar-wrapper .fivestar-outer .fivestar-inner .social-link-wrapper {
  display: inline-block;
  width: 100%;
  position: relative;
  padding: 80px 0 40px 0;
}
.fivestar-wrapper .fivestar-outer .fivestar-inner .social-link-wrapper ul {
  list-style-type: none;
  display: inline-block;
  text-align: center;
  width: 100%;
  padding: 0px !important;
}
.fivestar-wrapper .fivestar-outer .fivestar-inner .social-link-wrapper ul li {
  display: inline-block;
  margin: 10px 8px;
  vertical-align: top;
}
.fivestar-wrapper .fivestar-outer .fivestar-inner .social-link-wrapper ul li a:link, .fivestar-wrapper .fivestar-outer .fivestar-inner .social-link-wrapper ul li a:visited {
  opacity: .55;
  transition: all .4s ease;
}
.fivestar-wrapper .fivestar-outer .fivestar-inner .social-link-wrapper ul li a:link img, .fivestar-wrapper .fivestar-outer .fivestar-inner .social-link-wrapper ul li a:visited img {
  height: 54px !important;
  width: auto;
}
.fivestar-wrapper .fivestar-outer .fivestar-inner .social-link-wrapper ul li a:hover, .fivestar-wrapper .fivestar-outer .fivestar-inner .social-link-wrapper ul li a:active {
  opacity: 1.0;
}
.fivestar-wrapper .fivestar-outer .fivestar-inner .social-link-wrapper ul li i {
  display: inline-block;
  width: 54px;
  height: 54px;
  line-height: 54px;
  text-align: center;
  font-size: 44px;
  color: #fff;
  border-radius: 4px;
  background: #666;
}
.fivestar-wrapper .fivestar-outer .fivestar-inner .social-link-wrapper ul li i.twitter-link {
  background: #00aced;
}
.fivestar-wrapper .fivestar-outer .fivestar-inner .social-link-wrapper ul li i.facebook-link {
  background: #3b5998;
}
.fivestar-wrapper .fivestar-outer .fivestar-inner .social-link-wrapper ul li i.google-link {
  background: #d34836;
}
.fivestar-wrapper .fivestar-outer .fivestar-inner .social-link-wrapper ul li i.yelp-link {
  background: #c41200;
}

/*************************************
* Report Styles
*************************************/
.ui-tooltip {
  padding: 10px 20px;
  color: #666;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}
.ui-tooltip span {
  font-family: FontAwesome;
  font-size: 12px;
  color: #f8d826;
  display: inline-block;
}
.ui-tooltip span.rating-title {
  color: #666;
  font-size: 14px;
}
.ui-tooltip span.half:before {
  content: "\f089";
}
.ui-tooltip span.one:before {
  content: "\f005";
}
.ui-tooltip span.onehalf:before {
  content: "\f005\f089";
}
.ui-tooltip span.two:before {
  content: "\f005\f005";
}
.ui-tooltip span.twohalf:before {
  content: "\f005\f005\f089";
}
.ui-tooltip span.three:before {
  content: "\f005\f005\f005";
}
.ui-tooltip span.threehalf:before {
  content: "\f005\f005\f005\f089";
}
.ui-tooltip span.four:before {
  content: "\f005\f005\f005\f005";
}
.ui-tooltip span.fourhalf:before {
  content: "\f005\f005\f005\f005\f089";
}
.ui-tooltip span.five:before {
  content: "\f005\f005\f005\f005\f005";
}

#feedback-report-wrapper {
  font-family: Arial, Helvetica, sans-serif;
  margin: 60px 0 40px 0;
}
#feedback-report-wrapper .feedback-report {
  display: inline-block;
  padding: 20px 0;
  width: 100%;
  vertical-align: top;
}
#feedback-report-wrapper .feedback-report .report-header {
  display: inline-block;
  position: relative;
  width: 100%;
  margin-bottom: 30px;
}
#feedback-report-wrapper .feedback-report .report-header .report-header-left {
  display: inline-block;
  width: 40%;
}
#feedback-report-wrapper .feedback-report .report-header .report-header-left span {
  display: inline-block;
  font-size: 14px;
  text-transform: uppercase;
  color: #666;
  width: 100%;
  text-align: right;
}
#feedback-report-wrapper .feedback-report .report-header .report-header-right {
  display: inline-block;
  position: relative;
  width: 55%;
}
#feedback-report-wrapper .feedback-report .report-header .report-header-right span {
  font-size: 12px;
  color: #f8d826;
  font-family: FontAwesome;
  display: inline-block;
  transform: rotate(-45deg);
  transform-origin: 0 100%;
  position: absolute;
}
#feedback-report-wrapper .feedback-report .report-header .report-header-right span.onestar {
  left: 20%;
}
#feedback-report-wrapper .feedback-report .report-header .report-header-right span.onestar:before {
  content: "\f005";
}
#feedback-report-wrapper .feedback-report .report-header .report-header-right span.twostar {
  left: 40%;
}
#feedback-report-wrapper .feedback-report .report-header .report-header-right span.twostar:before {
  content: "\f005\f005";
}
#feedback-report-wrapper .feedback-report .report-header .report-header-right span.threestar {
  left: 60%;
}
#feedback-report-wrapper .feedback-report .report-header .report-header-right span.threestar:before {
  content: "\f005\f005\f005";
}
#feedback-report-wrapper .feedback-report .report-header .report-header-right span.fourstar {
  left: 80%;
}
#feedback-report-wrapper .feedback-report .report-header .report-header-right span.fourstar:before {
  content: "\f005\f005\f005\f005";
}
#feedback-report-wrapper .feedback-report .report-header .report-header-right span.fivestar {
  left: 100%;
}
#feedback-report-wrapper .feedback-report .report-header .report-header-right span.fivestar:before {
  content: "\f005\f005\f005\f005\f005";
}
#feedback-report-wrapper .feedback-report .feedback-qs {
  width: 40%;
  padding-right: 18px;
  display: inline-block;
  vertical-align: top;
}
#feedback-report-wrapper .feedback-report .feedback-qs span.question {
  display: inline-block;
  text-align: right;
  width: 100%;
  font-size: 20px;
  line-height: 24px;
  margin: 20px 0;
}
#feedback-report-wrapper .feedback-report .feedback-qs span.question.long {
  font-size: 16px;
  line-height: 16px;
  margin: 20px 0 10px 0;
}
@media screen and (max-width: 800px) {
  #feedback-report-wrapper .feedback-report .feedback-qs span.question {
    font-size: 16px;
    margin: 12px 0;
  }
}
#feedback-report-wrapper .feedback-report .feedback-ratings {
  width: 55%;
  display: inline-block;
  vertical-align: top;
  background: url("../img/bar_graph_bg.png") 0 0 repeat-y;
  background-size: contain;
  border: 1px solid #c5c5c5;
  border-right: none;
  border-left: none;
}
#feedback-report-wrapper .feedback-report .feedback-ratings .rating-bar-wrapper {
  display: inline-block;
  width: 100%;
}
#feedback-report-wrapper .feedback-report .feedback-ratings .rating-bar-wrapper span.rating-bar {
  display: inline-block;
  height: 24px;
  background: #f8d826;
  margin: 17px 0;
}
@media screen and (max-width: 800px) {
  #feedback-report-wrapper .feedback-report .feedback-ratings .rating-bar-wrapper span.rating-bar {
    height: 16px;
    margin: 13px 0;
  }
}
