/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */
* {
  box-sizing: border-box;
}

html,
button,
input,
select,
textarea {
  color: #222;
}

body {
  font-size: 1em;
  line-height: 1.4;
}
html,
html a {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

img {
  vertical-align: middle;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: none;
}

.chromeframe {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
#main {
  background: url("../img/bg.jpg") no-repeat center center fixed;
  filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/bg.jpg', sizingMethod='scale');
  -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/bg.jpg', sizingMethod='scale')";
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  width: 100%;
  min-height: 808px;
  padding: 100px 0;
}

.header {
  height: auto;
  text-align: center;
  padding: 0 82px;
}

.header img {
  width: 60%;
  max-width:360px;
  margin:0 auto;
}

.content-top {
  max-width: 740px;
  height: auto;
  margin: 0 auto;
  background: #ffffff;
  padding-top: 40px;
  padding-bottom: 20px;
  border-radius: 20px 20px 0 0;
}

.content-bottom {
  max-width: 740px;
  height: auto;
  margin: 0 auto;
  background: rgba(137,25,39, 0.85);
  padding-top: 40px;
  padding-bottom: 20px;
  border-radius: 0 0 20px 20px;
}

.content-bottom h3 {
  text-align: center;
  color: #ffffff;
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: 1px;
  padding-left: 40px;
  padding-right: 40px;
  font-family: "Gentona-Bold";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.content-bottom h4 {
  color: #ffffff;
  font-family: "Gentona-Light";
  font-size: 20px;
  line-height: 1.25;
  margin: 44px 0 0 0;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 1px;
  padding-left: 40px;
  padding-right: 40px;
}
.content-bottom h5 {
  color: #ffffff;
  font-family: "Gentona-Light";
  font-size: 52px;
  line-height: 1.25;
  margin: 44px 0 0 0;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 1px;
  padding-left: 40px;
  padding-right: 40px;
  text-transform: uppercase;
}
.content-bottom h2 {
  text-align: center;
  color: #ffffff;
  font-size: 28px;
  font-family: "Gentona-Bold";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.content-bottom .back {
  margin-left: 30px;
  margin-top: 14px;
}

.nav {
  border-width: 1px 0;
  list-style: none;
  margin: 0 0 40px 0;
  padding: 0;
  text-align: center;
}
.nav li {
  display: inline;
}
.nav li a {
  display: inline-block;
  padding-top: 38px;
  padding-bottom: 38px;
  width: 140px;
  text-decoration: none;
  text-transform: uppercase;
  color: #fff;
  background: rgb(42,3,8);
  margin: -1px;
  font-family: "Gentona-Bold";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 22px;
  -webkit-transition: all 100ms cubic-bezier(0.25, 0.25, 0.75, 0.75);
  -moz-transition: all 100ms cubic-bezier(0.25, 0.25, 0.75, 0.75);
  -o-transition: all 100ms cubic-bezier(0.25, 0.25, 0.75, 0.75);
  transition: all 100ms cubic-bezier(0.25, 0.25, 0.75, 0.75); /* linear */

  -webkit-transition-timing-function: cubic-bezier(0.25, 0.25, 0.75, 0.75);
  -moz-transition-timing-function: cubic-bezier(0.25, 0.25, 0.75, 0.75);
  -o-transition-timing-function: cubic-bezier(0.25, 0.25, 0.75, 0.75);
  transition-timing-function: cubic-bezier(0.25, 0.25, 0.75, 0.75); /* linear */
}
.nav li a:hover {
  color: rgba(137,25,39, 1);
  text-shadow: 2px 2px 22px rgba(244, 188, 0, 0.4);
  background: rgb(248, 248, 248);
  box-shadow: 1px 1px 30px rgba(255, 255, 255, 0.4);
  -webkit-box-shadow: 1px 1px 30px rgba(255, 255, 255, 0.4);
  -moz-box-shadow: 1px 1px 30px rgba(255, 255, 255, 0.4);
  -webkit-transition: all 100ms cubic-bezier(0.25, 0.25, 0.75, 0.75);
  -moz-transition: all 100ms cubic-bezier(0.25, 0.25, 0.75, 0.75);
  -o-transition: all 100ms cubic-bezier(0.25, 0.25, 0.75, 0.75);
  transition: all 100ms cubic-bezier(0.25, 0.25, 0.75, 0.75); /* linear */

  -webkit-transition-timing-function: cubic-bezier(0.25, 0.25, 0.75, 0.75);
  -moz-transition-timing-function: cubic-bezier(0.25, 0.25, 0.75, 0.75);
  -o-transition-timing-function: cubic-bezier(0.25, 0.25, 0.75, 0.75);
  transition-timing-function: cubic-bezier(0.25, 0.25, 0.75, 0.75); /* linear */
}
.nav li a.left {
  -webkit-border-top-left-radius: 20px;
  -webkit-border-bottom-left-radius: 20px;
  -moz-border-radius-topleft: 20px;
  -moz-border-radius-bottomleft: 20px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}
.nav li a.right {
  -webkit-border-top-right-radius: 20px;
  -webkit-border-bottom-right-radius: 20px;
  -moz-border-radius-topright: 20px;
  -moz-border-radius-bottomright: 20px;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}

/* Progress Bar */
.meter {
  height: 30px; /* Can be anything */
  margin: 0 auto;
  width: 60%;
  position: relative;
  background:#272727;
  -moz-border-radius: 25px;
  -webkit-border-radius: 25px;
  border-radius: 25px;
  padding: 10px;
}
.meter > span {
  display: block;
  margin-top: -5px;
  height: 20px;
  -webkit-border-top-right-radius: 8px;
  -webkit-border-bottom-right-radius: 8px;
  -moz-border-radius-topright: 8px;
  -moz-border-radius-bottomright: 8px;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  -webkit-border-top-left-radius: 20px;
  -webkit-border-bottom-left-radius: 20px;
  -moz-border-radius-topleft: 20px;
  -moz-border-radius-bottomleft: 20px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  background-color: rgb(0, 0, 0);
  background-image: -webkit-gradient(
    linear,
    left bottom,
    left top,
    color-stop(0, rgb(0,0,0)),
    color-stop(1, rgb(0,0,0))
  );
  background-image: -moz-linear-gradient(
    center bottom,
    rgb(0,0,0) 37%,
    rgb(0,0,0) 69%
  );
  position: relative;
  overflow: hidden;
}
.meter > span:after,
.animate > span > span {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-image: -webkit-gradient(
    linear,
    0 0,
    100% 100%,
    color-stop(0.25, rgba(255, 255, 255, 0.2)),
    color-stop(0.25, transparent),
    color-stop(0.5, transparent),
    color-stop(0.5, rgba(255, 255, 255, 0.2)),
    color-stop(0.75, rgba(255, 255, 255, 0.2)),
    color-stop(0.75, transparent),
    to(transparent)
  );
  background-image: -moz-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.2) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.2) 75%,
    transparent 75%,
    transparent
  );
  z-index: 1;
  background-size: 50px 50px;
  -webkit-background-size: 50px 50px;
  -moz-background-size: 50px 50px;
  -webkit-animation: move 2s linear infinite;
  animation: move 2s linear infinite;
  -webkit-border-top-right-radius: 8px;
  -webkit-border-bottom-right-radius: 8px;
  -moz-border-radius-topright: 8px;
  -moz-border-radius-bottomright: 8px;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  -webkit-border-top-left-radius: 20px;
  -webkit-border-bottom-left-radius: 20px;
  -moz-border-radius-topleft: 20px;
  -moz-border-radius-bottomleft: 20px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  overflow: hidden;
}

.animate > span:after {
  display: none;
}

@keyframes move {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 50px 50px;
  }
}

.orange > span {
  background-color: rgba(255,255,255, 1);
  background-image: -moz-linear-gradient(
    top,
    rgba(255,255,255, 1),
    rgba(255,255,255, 1)
  );
  background-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0, #007cc2),
    color-stop(1, #007cc2)
  );
  background-image: -webkit-linear-gradient(
    rgba(255,255,255, 1),
    rgba(255,255,255, 1)
  );
}

.nostripes > span > span,
.nostripes > span:after {
  animation: none;
  background-image: none;
}
.form-container {
  display: flex;
}
.form-container > div {
  padding: 0 4px;
  width: calc(100% - 8px);
}
.side-by-side {
  display: flex;
}
.side-by-side > div {
  padding: 0 4px;
  width: calc(100% - 8px);
}
.form-left {
  margin-left: 50px;
  display: inline-block;
}
.form-right {
  margin-left: 44px;
  margin-top: 15px;
  vertical-align: top;
  display: inline-block;
}
.left {
  display: inline-block;
}
.space {
  margin-left: 14px;
}
#Comments {
  padding-left: 4px;
}
label {
  color: #ffffff;
  font-family: "Gentona-Light";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 15px;
}
input[type="text"] {
  background: #e9e9e9;
  border: none;
  border-radius: 8px;
  height: 24px;
  padding-left: 10px;
  padding-right: 10px;
  outline: none;
  margin-bottom: 10px;
  font-family: "Gentona-Book";
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-transition: all 100ms cubic-bezier(0.25, 0.25, 0.75, 0.75);
  -moz-transition: all 100ms cubic-bezier(0.25, 0.25, 0.75, 0.75);
  -o-transition: all 100ms cubic-bezier(0.25, 0.25, 0.75, 0.75);
  transition: all 100ms cubic-bezier(0.25, 0.25, 0.75, 0.75); /* linear */

  -webkit-transition-timing-function: cubic-bezier(0.25, 0.25, 0.75, 0.75);
  -moz-transition-timing-function: cubic-bezier(0.25, 0.25, 0.75, 0.75);
  -o-transition-timing-function: cubic-bezier(0.25, 0.25, 0.75, 0.75);
  transition-timing-function: cubic-bezier(0.25, 0.25, 0.75, 0.75); /* linear */
}
input[type="text"]:focus {
  box-shadow: 1px 1px 20px rgba(255, 255, 255, 0.4);
  -webkit-box-shadow: 1px 1px 20px rgba(255, 255, 255, 0.4);
  -moz-box-shadow: 1px 1px 20px rgba(255, 255, 255, 0.4);
  -webkit-transition: all 100ms cubic-bezier(0.25, 0.25, 0.75, 0.75);
  -moz-transition: all 100ms cubic-bezier(0.25, 0.25, 0.75, 0.75);
  -o-transition: all 100ms cubic-bezier(0.25, 0.25, 0.75, 0.75);
  transition: all 100ms cubic-bezier(0.25, 0.25, 0.75, 0.75); /* linear */

  -webkit-transition-timing-function: cubic-bezier(0.25, 0.25, 0.75, 0.75);
  -moz-transition-timing-function: cubic-bezier(0.25, 0.25, 0.75, 0.75);
  -o-transition-timing-function: cubic-bezier(0.25, 0.25, 0.75, 0.75);
  transition-timing-function: cubic-bezier(0.25, 0.25, 0.75, 0.75); /* linear */
}
input[type="submit"] {
  width: 100%;
  height: 30px;
  border-radius: 8px;
  margin-top: 14px;
  background:#272727;
  border: none;
  color: #ffffff;
  font-family: "Gentona-Bold";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-transition: all 100ms cubic-bezier(0.25, 0.25, 0.75, 0.75);
  -moz-transition: all 100ms cubic-bezier(0.25, 0.25, 0.75, 0.75);
  -o-transition: all 100ms cubic-bezier(0.25, 0.25, 0.75, 0.75);
  transition: all 100ms cubic-bezier(0.25, 0.25, 0.75, 0.75); /* linear */

  -webkit-transition-timing-function: cubic-bezier(0.25, 0.25, 0.75, 0.75);
  -moz-transition-timing-function: cubic-bezier(0.25, 0.25, 0.75, 0.75);
  -o-transition-timing-function: cubic-bezier(0.25, 0.25, 0.75, 0.75);
  transition-timing-function: cubic-bezier(0.25, 0.25, 0.75, 0.75); /* linear */
}
input[type="submit"]:hover {
  background:#272727;
  -webkit-transition: all 100ms cubic-bezier(0.25, 0.25, 0.75, 0.75);
  -moz-transition: all 100ms cubic-bezier(0.25, 0.25, 0.75, 0.75);
  -o-transition: all 100ms cubic-bezier(0.25, 0.25, 0.75, 0.75);
  transition: all 100ms cubic-bezier(0.25, 0.25, 0.75, 0.75); /* linear */

  -webkit-transition-timing-function: cubic-bezier(0.25, 0.25, 0.75, 0.75);
  -moz-transition-timing-function: cubic-bezier(0.25, 0.25, 0.75, 0.75);
  -o-transition-timing-function: cubic-bezier(0.25, 0.25, 0.75, 0.75);
  transition-timing-function: cubic-bezier(0.25, 0.25, 0.75, 0.75); /* linear */
}
textarea {
  background: #e9e9e9;
  border: none;
  border-radius: 8px;
  font-family: "Gentona-Book";
  height: 60px;
  outline: none;
  padding: 4px;
  width: calc(100% - 8px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.radio-section {
  margin: 6px 0;
}
.radio-section h2 {
  color: #ffffff;
  font-family: "Gentona-Bold";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 20px;
  margin: 0;
  text-align: left;
}
.radio-section label {
  font-size: 14px;
  margin-right: 25px;
}
.radio-section input[type="radio"] {
  margin-right: 5px;
}
#form {
  padding: 40px;
}
#form .poor {
  margin-right: 10px;
  font-weight: 400;
  font-size: 14px;
  clear: both;
  float: left;
  color: #fff;
  font-family: "Gentona-Bold";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#form .excellent {
  margin-left: 13px;
  font-weight: 400;
  font-size: 14px;
  float: left;
  color: #fff;
  font-family: "Gentona-Bold";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/*UI ***************************************/

.slider-1,
.slider-2,
.slider-3,
.slider-4 {
  background: url(../images/slider.png) top left repeat-x;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  border-radius: 50px;
  position: relative;
  padding: 0 10px;
  width: 200px;
  height: 11px;
  float: left;
  margin: 0px;
  top: 4px;
}
/*Style for the slider button*/

/*Result div where the slider value is displayed*/
#slider-result-1,
#slider-result-2,
#slider-result-3,
#slider-result-4 {
  padding: 4px 0px 0px 0px;
  font-family: "Gentona-ExtraBold";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  font-size: 11px;
  width: 300px;
  margin: 0px;
  clear: both;
  color: #fff;
}

/*This is the fill bar colour*/

.ui-slider-horizontal .ui-slider-handle {
  border-radius: 20px;
  background: #ffffff !important;
  border: 0px !important;
}
.ui-slider-horizontal .ui-slider-handle:hover {
  border-radius: 20px;
  background: #ffffff;
  border: 0px;
}
.ui-widget-content {
  background: #505050 !important;
  border: none !important;
  height: 10px !important;
}
.ui-widget-header {
  background: #f2373e !important;
  border: none !important;
  height: 10px !important;
}
.ui-slider-horizontal .ui-slider-handle:focus {
  box-shadow: 1px 1px 20px rgba(255, 255, 255, 0.4);
  -webkit-box-shadow: 1px 1px 20px rgba(255, 255, 255, 0.4);
  -moz-box-shadow: 1px 1px 20px rgba(255, 255, 255, 0.4);
}

h5 {
  font-family: "Gentona-Bold";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #ffffff;
  font-size: 20px;
  margin-bottom: 5px;
  margin-top: 15px;
}

.buttons {
  display: block;
  text-align:center;
  padding: 20px 20px 40px;
  margin:0 auto;
}
.buttons .review a {
  display: block;
  width:220px;
  padding-top: 5px;
  padding-bottom: 5px;
  text-align: center;
  color: #4f4f4f;
  text-decoration: none;
  background: rgb(233, 233, 233);
  border-radius: 10px;
  font-family: "Gentona-Medium";
  margin:5px auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 14px;
  -webkit-transition: all 100ms cubic-bezier(0.25, 0.25, 0.75, 0.75);
  -moz-transition: all 100ms cubic-bezier(0.25, 0.25, 0.75, 0.75);
  -o-transition: all 100ms cubic-bezier(0.25, 0.25, 0.75, 0.75);
  transition: all 100ms cubic-bezier(0.25, 0.25, 0.75, 0.75); /* linear */

  -webkit-transition-timing-function: cubic-bezier(0.25, 0.25, 0.75, 0.75);
  -moz-transition-timing-function: cubic-bezier(0.25, 0.25, 0.75, 0.75);
  -o-transition-timing-function: cubic-bezier(0.25, 0.25, 0.75, 0.75);
  transition-timing-function: cubic-bezier(0.25, 0.25, 0.75, 0.75); /* linear */
}
.buttons div:hover .review a {
  color: rgba(140,23,41, 1);
  text-shadow: 2px 2px 22px rgba(46, 145, 220, 0.4);
  background: rgb(248, 248, 248);
  box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.4);
  -webkit-box-shadow: 1px 1px 20px rgba(255, 255, 255, 0.4);
  -moz-box-shadow: 1px 1px 20px rgba(255, 255, 255, 0.4);
  -webkit-transition: all 100ms cubic-bezier(0.25, 0.25, 0.75, 0.75);
  -moz-transition: all 100ms cubic-bezier(0.25, 0.25, 0.75, 0.75);
  -o-transition: all 100ms cubic-bezier(0.25, 0.25, 0.75, 0.75);
  transition: all 100ms cubic-bezier(0.25, 0.25, 0.75, 0.75); /* linear */

  -webkit-transition-timing-function: cubic-bezier(0.25, 0.25, 0.75, 0.75);
  -moz-transition-timing-function: cubic-bezier(0.25, 0.25, 0.75, 0.75);
  -o-transition-timing-function: cubic-bezier(0.25, 0.25, 0.75, 0.75);
  transition-timing-function: cubic-bezier(0.25, 0.25, 0.75, 0.75); /* linear */
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (max-width: 550px) {
  #main {
    min-height: 0;
    padding: 10px 0;
  }
  .header,
  .header img {
    width: 90%;
  }
  .header {
    padding: 0 12px;
  }
  .content {
    width: 90%;
  }
  .nav li a {
    border-radius: 0 !important;
    width: 90%;
    margin: 5px auto;
  }
  #form {
    width: 100%;
  }
  .form-container {
    flex-direction: column;
  }
  .side-by-side {
    flex-direction: column;
  }
  .content h3 {
    font-size: 19px;
  }
  .content h5 {
    font-size: 32px;
  }
  .buttons {
    width: 100%;
    text-align: center;
    flex-direction: column;
  }
  .buttons > div + div {
    margin-top: 20px;
  }
  .buttons .review a {
    max-width: 170px;
    margin: 5px auto;
  }
}

@media print,
  (-o-min-device-pixel-ratio: 5/4),
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 120dpi) {
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
  background-color: transparent;
  border: 0;
  overflow: hidden;
  *text-indent: -9999px;
}

.ir:before {
  content: "";
  display: block;
  width: 0;
  height: 150%;
}

.hidden {
  display: none !important;
  visibility: hidden;
}

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

.invisible {
  visibility: hidden;
}

.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
  * {
    background: transparent !important;
    color: #000 !important; /* Black prints faster: h5bp.com/s */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }

  /*
     * Don't show links for images, or javascript/internal links
     */

  .ir a:after,
  a[href^="javascript:"]:after,
  a[href^="#"]:after {
    content: "";
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group; /* h5bp.com/t */
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  @page {
    margin: 0.5cm;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
