/*
Theme Name: The Peoples Pension Survey
Theme URI: http://lighthouseuk.net
Author: Lighthouse
Author URI: http://lighthouseuk.net
Description: The theme for Gravity Form surveys used by The Peoples Pension
Version: 1.0

Text Domain: peoplespensionsurvey
*/

@font-face {
  font-family: 'VAGRoundedStdLightBold';
  src: url('res/font/vagroundedstd-black-webfont.eot');
  src: url('res/font/vagroundedstd-black-webfont.eot?#iefix') format('embedded-opentype'),
    url('res/font/vagroundedstd-black-webfont.woff') format('woff'),
    url('res/font/vagroundedstd-black-webfont.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'VAGRoundedStdThinBold';
  src: url('res/font/vagroundedstd-bold-webfont.eot');
  src: url('res/font/vagroundedstd-bold-webfont.eot?#iefix') format('embedded-opentype'),
    url('res/font/vagroundedstd-bold-webfont.woff') format('woff'),
    url('res/font/vagroundedstd-bold-webfont.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'VAG Rounded Std Light';
  src: url('res/font/vagroundedstd-light-webfont.eot');
  src: url('res/font/vagroundedstd-light-webfont.eot?#iefix') format('embedded-opentype'),
    url('res/font/vagroundedstd-light-webfont.woff') format('woff'),
    url('res/font/vagroundedstd-light-webfont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'VAGRoundedStdLightBold', sans-serif;
  min-width: 295px;
}

.hide-no-js {
  display: none;
}

.header-image {
  margin-top: 3em;
  display: block;
  text-indent: 200%;
  white-space: nowrap;
  overflow: hidden;
  float: left;
}

.header-image.tpp {
  background: url('res/img/tpp-logo.png') no-repeat;
  width: 149px;
  height: 98px;
  margin-left: 1em;
}

.header-image.bandce {
  background: url('res/img/bandce-logo.png') no-repeat;
  width: 98px;
  height: 98px;
  margin: 3em 2.5em 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 25px;
}
.clearfix { clear: both; }

.header {
  min-height: 220px;
  background: #00BBE4;
  z-index: -1;
}

/* Gravity Forms Specific */

.gform_wrapper, #gforms_confirmation_message {
  box-shadow: 0 0 3px rgba(0,0,0,0.2);
  margin-top: -35px;
  margin-bottom: 25px;
  background: #f1f1f1 url('res/img/bg.png') repeat;
  border: 1px solid #ccc;
  z-index: 1;
}

#gforms_confirmation_message {
  padding: 50px;
  color: #00BBE4;
  font-size: 1.5em;
}

.gfield_html {
  color: #9797A5;
  font-size: 1.2em;
  line-height: 1.3em;
}

.gfield_checkbox, .gfield_radio {
  columns: 2;
  -webkit-columns: 2;
  -moz-columns: 2;
  -o-columns: 2;
}

.gfield.notfirst {
  margin-top: 75px;
}

.gfield_checkbox li, .gfield_radio li {
  margin: 10px 0;
}

.gfield_checkbox label, .gfield_radio label {
  padding-left: 15px;
  cursor: pointer;
  color: #9797A5;
}

.gfield input[type="text"], .gfield select {
  width: 90%;
  font-family: 'VAG Rounded Std Light', sans-serif;
  color: #666;
  font-size: 1.25em;
  padding: 10px;
  border: 1px solid #C0C0C0;
}

.gfield_list_cell input {
  width: 96% !important;
}

.gfield select {
  width: 96%;
}

.gfield_select {
  width: 100% !important;
}

.gfield_list_icons {
  width: 60px !important;
  padding-left: 10px !important;
}

.ginput_full {
  display: block;
}

.ginput_full input {
  width: 95% !important;
}

.ginput_full label, .ginput_right label, .ginput_left label, .ginput_counter {
  color: #9797A5;
  display: block;
  margin: 5px 0;
}

.ginput_left, .ginput_right {
  width: 50%;
  float: left;
}

.gfield {
  margin-top: 3em;
  margin-bottom: 3em;
}

.gsurvey-rank-choice {
  color: #00BBE4;
  border: 5px solid #FFFFFF;

  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  -pie-border-radius: 0;

  margin: 15px 0;
  line-height: 35px;
  text-shadow: 0px 1px 0 rgba(255,255,255,1);
  background-color: #F5F5F5;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#F8F8F8), to(#DFE1DD));
  background-image: -webkit-linear-gradient(top, #F8F8F8, #DFE1DD);
  background-image: -moz-linear-gradient(top, #F8F8F8, #DFE1DD);
  background-image: -ms-linear-gradient(top, #F8F8F8, #DFE1DD);
  background-image: -o-linear-gradient(top, #F8F8F8, #DFE1DD);
  background-image: linear-gradient(to bottom, #F8F8F8, #DFE1DD);
  filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#F8F8F8, endColorstr=#DFE1DD);
  box-shadow: 0 0 0 1px #CCCFC8;
  behavior: url(PIE.htc);
  position: relative;
}

.gsurvey-rank-choice img {
  border-right: 1px solid #fff;
  box-shadow: 1px 0 0 #CCCFC8;
  float: left;
  margin-right: 0.75em;
  padding: 5px;
}

.gsurvey-rating {
  color: #9797A5;
  margin-top: 15px;
}

.gsurvey-rating label {
  background-size: 100%;
  width: 61px !important;
  height: 61px !important;
  text-indent: 100%;
  margin: 0 5px;
}

.gsurvey-rating:not(:checked) > label {
  background-image: url('res/img/star0.png') !important;
}

.gsurvey-rating > input:checked ~ label {
  background-image: url('res/img/star1.png') !important;
}

.gfield label, .gfield input[type="checkbox"], .gfield input[type="radio"] {
  cursor: pointer;
}

.gsurvey-likert {
  background: #fff !important;
  color: #9797A5;
}

.gsurvey-likert-selected {
  background-color: #00BBE4 !important;
}

.gsurvey-likert-choice-label {
  background: none !important;
  padding: 15px !important;
}

.gsurvey-likert-choice {
  padding: 10px !important;
}

.gsurvey-likert-row-label {
  padding: 10px !important;
}

label.selected, label.hover {
  color: #00BBE4;
}

label.hover {
  text-decoration: underline;
}

.gsection {
  margin: 75px 0;
  border-bottom: 3px dotted #ccc;
  color: #00BBE4;
  font-size: 1.5em;
}

.gform_heading {
  padding: 30px;
  background: #fff;
  font-size: 2em;
  border-bottom: 1px solid #ccc;
}

.stepicon {
  width: 60px;
  height: 60px;
  background: #ccc;
  color: #fff;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  border-radius: 100%;
  margin: 0 auto;
  behavior: url(PIE.htc);
  position:relative;
  text-align: center;
  line-height: 60px;
  background-size: 100% 100%;
}

.gform_title {
  color: #00BBE4;
}

.gfield_label {
  font-size: 1.5em;
  color: #00BBE4;
}

.gfield_description, .gfield_helptext {
  font-family: 'VAG Rounded STD Light', sans-serif;
  color: #9797A5;
  margin-top: 10px;
}

.gform_description {
  font-size: 0.75em;
  color: #9797A5;
}

.ginput_container {
  margin-top: 15px;
}

.ginput_container textarea {
  width: 99% !important;
  border: 1px solid #ccc;
}

#header .gf_progressbar_wrapper {
  padding: 80px 20px 0 200px;
}

#header .gf_progressbar_title {
  font-family: 'VAG Rounded STD Light', sans-serif;
  color: #fff;
  text-align: right;
  margin-bottom: 10px;
}

#header .gf_progressbar {
  height: 20px;
  background: #fff;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  behavior: url(PIE.htc);
  position:relative;
}

#header .gf_progressbar_percentage {
  height: 20px;
  background: #ccc;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  behavior: url(PIE.htc);
  position:relative;
}

#header .gf_progressbar_percentage > span {
  display: none;
}

.gform_footer, .gform_page_footer {
  background: #fff;
  border-top: 1px solid #ccc;
  text-align: right;
}

.gform_footer .gf_progressbar_wrapper, .gform_page_footer .gf_progressbar_wrapper {
  max-width: 350px;
  padding: 20px;
  text-align: left;
  behavior: url(PIE.htc);
  position:relative;
}

.gform_footer .gf_progressbar_title, .gform_page_footer .gf_progressbar_title {
  color: #00BBE4;
  text-align: left;
  margin-bottom: 5px;
}

.gfield_list {
  width: 100%;
}

.gform_page_footer .gf_progressbar {
  height: 10px;
  background: #ccc;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
	behavior: url(PIE.htc);
	position:relative;
}

.gform_page_footer .gf_progressbar_percentage {
  height: 10px;
  background: #00BBE4;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
	behavior: url(PIE.htc);
	position:relative;
}

.gform_page_footer .gf_progressbar_percentage > span {
  display: none;
}

.gfield_required {
  font-family: 'VAG Rounded Std Light', sans-serif;
}

.gform_button, .gform_previous_button, .gform_next_button {
  font-family: 'VAG Rounded Std Light', sans-serif;
  margin: 20px;
  margin-left: 0;
  cursor: pointer;
  border:5px solid #EEEEEE;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  padding: 8px 10px;
  width: 8em;
  font-size: 1.25em;
  color: #FFFFFF;
  background-color: #17D7FF;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#17D7FF), to(#00BBE4));
  background-image: -webkit-linear-gradient(top, #17D7FF, #00BBE4);
  background-image: -moz-linear-gradient(top, #17D7FF, #00BBE4);
  background-image: -ms-linear-gradient(top, #17D7FF, #00BBE4);
  background-image: -o-linear-gradient(top, #17D7FF, #00BBE4);
  background-image: linear-gradient(to bottom, #17D7FF, #00BBE4);
  filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#17D7FF, endColorstr=#00BBE4);
}

.gform_previous_button:hover, .gform_next_button:hover {
  background-color: #00bce3;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#00bce3), to(#0091b1));
  background-image: -webkit-linear-gradient(top, #00bce3, #0091b1);
  background-image: -moz-linear-gradient(top, #00bce3, #0091b1);
  background-image: -ms-linear-gradient(top, #00bce3, #0091b1);
  background-image: -o-linear-gradient(top, #00bce3, #0091b1);
  background-image: linear-gradient(to bottom, #00bce3, #0091b1);
  filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#00bce3, endColorstr=#0091b1);
}

.gform_button[type="submit"] {
  background-color: #FF7373;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#FF7373), to(#FF2727));
  background-image: -webkit-linear-gradient(top, #FF7373, #FF2727);
  background-image: -moz-linear-gradient(top, #FF7373, #FF2727);
  background-image: -ms-linear-gradient(top, #FF7373, #FF2727);
  background-image: -o-linear-gradient(top, #FF7373, #FF2727);
  background-image: linear-gradient(to bottom, #FF7373, #FF2727);
  filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#FF7373, endColorstr=#FF2727);
}

.gform_button[type="submit"]:hover {
  background-color: #ff4040;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#ff4040), to(#f30000));
  background-image: -webkit-linear-gradient(top, #ff4040, #f30000);
  background-image: -moz-linear-gradient(top, #ff4040, #f30000);
  background-image: -ms-linear-gradient(top, #ff4040, #f30000);
  background-image: -o-linear-gradient(top, #ff4040, #f30000);
  background-image: linear-gradient(to bottom, #ff4040, #f30000);
  filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#ff4040, endColorstr=#f30000);
}

.validation_error {
  font-family: 'VAG Rounded Std Light', sans-serif;
  padding: 30px 0;
  text-align: center;
  background: #FF4D4D;
  color: #FFF;
}

.validation_message {
  padding: 15px 0;
  margin-top: 10px;
  text-align: center;
  background: #FF4D4D;
  color: #FFF;
}

.footercol1 {
  text-align: left;
}

.survey-list {
  color: #9797A5;
}

.survey-list li a {
  color: #00BBE4;
  font-size: 1.25em;
}

.linebreak {
  display: none;
}

/* Responsivness */

/* Hide top progress bar below tablet portrait */
@media only screen
and (max-width : 767px) {
  #header .gf_progressbar {
    display: none;
  }
  #header .gf_progressbar_title {
    font-size: 1.5em;
  }
  .gfield_checkbox, .gfield_radio {
    columns: 1;
    -webkit-columns: 1;
    -moz-columns: 1;
    -o-columns: 1;
  }
  .add_list_item {
    margin: 0 10px !important;
  }
  .gform_button, .gform_previous_button, .gform_next_button {
    width: 5em;
    margin: 20px 3px 10px 0;
  }
  .gform_heading > div {
    width: 100%;
  }
  .gform_title, .gform_description {
    text-align: center;
    margin-top: 1em;
  }
  .gform_description {
    display: block;
  }
  .gform_heading .col {
    padding: 0 !important;
    margin: 0 !important;
  }
  .gform_page_fields, .gform_fields {
    width: 100% !important;
    margin: 0;
  }
  .a_gform_page {
    padding: 30px;
  }
  .ginput_left, .ginput_right {
    width: 100%;
    float: none;
    display: block;
  }
  .ginput_left input[type="text"], .ginput_right input[type="text"] {
    width: 95%;
  }
  .gsurvey-likert-choice-label, .gsurvey-likert-row-label {
    padding: 5px !important;
  }
}

/* Reduce margins and fonts on a phone */
@media only screen
and (max-width : 480px) {
  .container {
    padding: 0 10px;
  }
  .gform_wrapper {
    margin-bottom: 10px;
  }
  .col {
    padding: 0 30px;
  }
  .footercol1, .footercol2 {
    padding: 0 !important;
  }
  .gform_previous_button {
    float: left;
  }
  .gform_previous_button, .gform_next_button, .gform_button {
    margin: 0;
    margin-bottom: 20px;
    width: 40%;
  }
  .gform_previous_button {
    margin-left: 20px;
  }
  .gform_next_button, .gform_button {
    margin-right: 20px;
  }
  .gfield select {
    width: 100%;
  }
  .gform_page_fields, .gform_fields {
    padding: 0;
  }
  .gsurvey-rating label {
    width: 45px !important;
    height: 45px !important;
    margin: 0 !important;
  }
  .linebreak {
    display: block;
  }
  .gsurvey-likert {
    width: 110% !important;
    margin: 0 -5% !important;
  }
}
@media only screen
and (max-width : 320px) {
  .container {
    padding: 0;
  }
  .gform_wrapper {
    margin-bottom: 0;
  }
  .gform_title {
    font-size: 0.75em;
  }
  .gform_description {
    font-size: 0.6em;
  }
  .gsurvey-likert {
    width: 120% !important;
    margin: 0 -10% !important;
  }
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
     only screen and (min--moz-device-pixel-ratio: 1.5),
     only screen and (-o-min-device-pixel-ratio: 3/2),
     only screen and (min-device-pixel-ratio: 1.5),
     only screen and (min-resolution: 144dpi),
     only screen and (min-resolution: 1.5dppx) {
  .header-image {
    background-size: 100% 100% !important;
  }
  .header-image.tpp {
    background-image: url('res/img/tpp-logo@2x.png') !important;
  }
  .header-image.bandce {
    background-image: url('res/img/bandce-logo@2x.png') !important;
  }
}
