html, body, .container {
	height: 100%;
}

body {
	/*background: #f9c81e;*/
  background: #fff;
	color: #000;
	font-weight: 400;
	font-size: 1em;	
}

a {
	color: rgba(255,255,255,0.3);
	text-decoration: none;
	outline: none;
}

a:hover, a:focus {
	color: #fff;
}

button {
  padding: 10px 30px;
  border: #fff solid 1px;
  cursor: pointer;
  color: #fff;
  font-weight: 700;
  -webkit-transition: background-color 2s ease-in;
  -moz-transition: background-color 2s ease-in;
  -o-transition: background-color 2s ease-in;
  transition: background-color 2s ease-in;
}

button:hover {
	-webkit-transition: background-color 2s ease-out;
  -moz-transition: background-color 2s ease-out;
  -o-transition: background-color 2s ease-out;
  transition: background-color 2s ease-out;
}

button:focus {outline:0;}

.logo img{
  width:200px;
  padding: 30px;
  float: right;
}

.logo img:hover{
  filter:blur(1px);
}

.logomoveleft {
  -webkit-transition: width 1s; /* For Safari 3.1 to 6.0 */
  transition: width 1s;
  width: 20% !important;
}

.logomoveright {
  -webkit-transition: width 1s; /* For Safari 3.1 to 6.0 */
  transition: width 1s;
  width: 93% !important;
}

.backbutton{
  position: absolute;
  top: 50px;
  left: 86%;
  font-size: 30px;
  color: #eeeeee;
  cursor: pointer;
  display: none;
}

.questions {
	width:75%;
	position: absolute;
  top: 40%;
 	left: 15%;
  display: block;;
}

.hidden-questions {
	display: none;
}

.question-label {
	font-size: 40px;
	font-weight: 900;
}

.question-label i {
  padding-left: 30px;
    font-size: 16px;
    position: relative;
    top: -20px;
    left: -10px;
    color: #eb7e7f;
}

.errormessage, .help {
	width:75%;
	position: relative;
  top: 10vh;
 	left: 15%;
	font-weight: 900;
	color: #eb7e7f;
}


.nav-buttons {
	position: absolute;
	bottom: 0;
	right: 0;
	padding: 20px;
}

#question24{
  border: #fff solid 1px;
  padding: 20px;
  -webkit-box-shadow: 0px 0px 21px 0px rgba(186,173,186,1);
  -moz-box-shadow: 0px 0px 21px 0px rgba(186,173,186,1);
  box-shadow: 0px 0px 21px 0px rgba(186,173,186,1);
}

#question24 .question-label{
  font-size: 26px !important;
}

#question28 {

}

/* Radio Buttons */

.answer-container input[type=radio] {
	display: none;
}


.answer-container span {
	display: inline-block;
	padding: 0 10px;
	margin-top: 10px;
}

.answer-container span div {
	text-align: center;
	margin-top: 10px;
}

.answer-radio-labels {
    cursor:pointer;
    display: inline-block;
    color: #fff;
    padding: 15px 25px;
    -webkit-transition: background-color .5s ease-in;
    -moz-transition: background-color .5s ease-in;
    -o-transition: background-color .5s ease-in;
    transition: background-color .5s ease-in;
  
}

.answer-radio-labels i {
  padding-right: 10px;
}

.answer-radio-labels:hover{
    background-color: #093875;
    -webkit-transition: background-color .5s ease-out;
    -moz-transition: background-color .5s ease-out;
    -o-transition: background-color .5s ease-out;
    transition: background-color .5s ease-out;
}

/* Text Input */

input[type=text] {
    width: 90%;
    height: 80px;
    border: none;
    color: #fff;
    font-size: 60px;
    padding-left: 10px;
}

input[type=text]:focus {outline:0;}

.pound {
    color: #fff;
    font-size: 60px;
    border: none;
    padding: 0px 20px !important;
}

::-webkit-input-placeholder { color: #fffed859; } /* Chrome/Opera/Safari */
::-moz-placeholder { color: #fffed859; } /* Firefox 19+ */
:-ms-input-placeholder { color: #fffed859; } /* IE 10+ */
:-moz-placeholder { color: #fffed859; } /* Firefox 18- */

/* Drop Down */
.autocomplete-items {
  padding-left: 20px;
  width:60%;
}
.autocomplete-items div{
  padding:15px;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
}
.box {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(auto-fill, 380px);
  justify-content: center;
}

/* entire container, keeps perspective */
.flip-container {
  perspective: 1000px;
}

/* flip the pane when hovered */
.flip-container:hover .flipper, .flip-container.hover .flipper {
  /*transform: rotateY(180deg);*/
}

.flip-container, .front, .back {
  width: 100%;
  height: 480px;
}

.flip-containerhover  {
    -webkit-transform: rotateY( 180deg );
    -moz-transform: rotateY( 180deg );
    -o-transform: rotateY( 180deg );
    transform: rotateY( 180deg );
}

/* flip speed goes here */
.flipper {
  transition: 0.6s;
  transform-style: preserve-3d;
  position: relative;
}

/* hide back of pane during swap */
.front, .back {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
}

/* front pane, placed above back */
.front {
  z-index: 2;
  transform: rotateY(0deg);
  text-align: center;
  border-radius: 20px;
}

.back {
  border-radius: 20px;
}

.plan-logo {
  margin-top: 30px;
}

.plan-logo-back {
  margin-top: 30px;
  margin-left: 10px;
}

.plan-cost {
  margin-top: 30px;
}

.plan-price {
  font-size: 60px;
  font-weight: 600;
}

.plan-inital-interest-rate{
  font-size: 50px;
  font-weight: 600;
  margin-top: 60px;
}

.plan-inital-interest-rate span{
  font-size: 16px;
  font-weight: 100;
}

.plan-type {
  font-size: 40px;
}

.plan-enquire {
  width: 50%;
  margin-top: 10%;
}

.plan-enquire a {
  color: #000;
  width: 150px;
}

.plan-start-here{
  width: 50%;
  text-align: center;
  margin-top: 65px;
  line-height: 0px;
}

.plan-start-here a{
  color: #000;
}

.plan-features {
  list-style-type: none;
  line-height: 32px;
  margin-top: 30px;
}

.plan-features li i{
  padding-right: 20px;
  color: #fed700;
}

.front:hover, .back:hover{
  -webkit-box-shadow: 0px 0px 21px 0px rgba(186,173,186,1);
  -moz-box-shadow: 0px 0px 21px 0px rgba(186,173,186,1);
  box-shadow: 0px 0px 21px 0px rgba(186,173,186,1);
  -webkit-transition: box-shadow .5s ease-in;
  -moz-transition: box-shadow .5s ease-in;
  -o-transition: box-shadow .5s ease-in;
  transition: box-shadow .5s ease-in;
}

.front, .back {
  -webkit-box-shadow: 0px 0px 21px 0px rgba(186,173,186,1);
  -moz-box-shadow: 0px 0px 21px 0px rgba(186,173,186,1);
  box-shadow: 0px 0px 5px 0px rgba(186,173,186,1);
  -webkit-transition: box-shadow .5s ease-in;
  -moz-transition: box-shadow .5s ease-in;
  -o-transition: box-shadow .5s ease-in;
  transition: box-shadow .5s ease-in;
}

/* back, initially hidden pane */
.back {
  transform: rotateY(180deg);
}

.plan-filp-from-back{
    position: absolute;
    left: 85%;
    top: 86%;
    font-size: 30px;
    color: #eeeeee;
    cursor: pointer;
}

.blur-filter {
    -webkit-filter: blur(2px);
    -moz-filter: blur(2px);
    -o-filter: blur(2px);
    -ms-filter: blur(2px);
    filter: blur(2px);
}
   
/* Modal */

#modal-inputs {
  text-align: center;
  margin-top: 30px;
}

#modal-inputs input[type=text] {
    width: 80%;
    height: 35px;
    border: none;
    color: #fff;
    font-size: 20px;
    padding-left: 10px;
    margin-bottom: 20px;
}


.modal-content .modal-header{
  font-size: 25px;
  text-align: center;
  color: #000;
}

#modal-buttons {
  text-align: center;
  margin-top: 25px;
}

.modal-form-error{
  padding-top:2px !important;
  color: #eb7e7f;
  font-size: 10px;
}

/* No Plans */
.noresultscontainer {
    margin: auto;
    width: 50%;
}

.noresultsbox {
    text-align: center;
}

.noresults-buttons{
  font-size: 1em; 
}

.noresults-buttons i{
  padding-right: 10px;
}

.noresultsbox .fa-exclamation-circle{
  font-size: 100px;
  color: #fed700;
}

#menuToggle {
  position: relative;
  top: -85px;
  left: 50px;
  z-index: 1;
  -webkit-user-select: none;
  user-select: none;
}

.nav {
  width: 95%;
  display: inline-block;
}

.navigation {
  display: inline-block;
}

#menuToggle input
{
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;
  
  cursor: pointer;
  
  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */
  
  -webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
#menuToggle span
{
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  
  background: #000;
  border-radius: 3px;
  
  z-index: 1;
  
  transform-origin: 4px 0px;
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle span:first-child
{
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

/* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuToggle input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #232323;
}

/*
 * But let's hide the middle one.
 */
#menuToggle input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
#menuToggle input:checked ~ span:nth-last-child(2)
{
  transform: rotate(-45deg) translate(0, -1px);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
#menu
{
  position: absolute;
  width: 300px;
  margin: -82px 0 0 -88px;
  padding: 50px;
  padding-top: 125px;
  text-align: left;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  webkit-box-shadow: 0px 4px 16px -8px rgba(0,0,0,0.75);
  -moz-box-shadow: 0px 4px 16px -8px rgba(0,0,0,0.75);
  box-shadow: 0px 4px 16px -8px rgba(0,0,0,0.75);
  border-bottom-right-radius: 3%;
  /* to stop flickering of text in safari */
  transform-origin: 0% 0%;
  transform: translate(-100%, 0);
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}


#menu a {
  transition: color 0.3s ease;
}

#menu a:hover {
  color: #fff;
}


#menu li
{
  padding: 10px 0 20px 30px;
  font-size: 22px;
}

/*
 * And let's slide it in from the left
 */
#menuToggle input:checked ~ ul
{
  transform: none;
}

#healthwarningmodal .modal-content {
  max-width: 640px;
  height: 430px;
  padding: 40px;
  text-align: center;
}

#healthwarningmodal .fa-stack {
  top: -18px;
  left: 324px;
}

#healthwarningmodal #healthwarning-modal-content {
  padding-top: 20px;
  text-align: left;
}

#healthwarningmodal #healthwarning-modal-content a {
  text-decoration: none !important;
}

#healthwarningmodal #healthwarning-modal-buttons {
  padding-top: 60px;
}

/*########## Product tables ##########*/

.p4container {
  width:60%;
  font-size: 12px;
  font-weight: 400;
  margin: 20px auto;
  border-radius: 8px;

}

.p4 .grid-container {
  display: grid;
  grid-template-columns: 1.2fr;
  grid-template-rows: 1fr;
  grid-template-areas: "product";
}

.p4 .product {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr 0.9fr 0.9fr 0.9fr 0.9fr;
  grid-template-rows: .8fr 1fr .5fr; 
  grid-template-areas: "lenderlogo plan-name plan-name plan-name plan-name plan-name" "initial-monthly-cost initial-term-cost initial-rate aprc fees cta" "bottom bottom bottom bottom bottom bottom";
  grid-area: product;
  margin-top: 50px;
  -webkit-box-shadow: 0px 0px 21px 0px rgba(186,173,186,1);
  -moz-box-shadow: 0px 0px 21px 0px rgba(186,173,186,1);
  box-shadow: 0px 0px 21px 0px rgba(186,173,186,1);
}

.p4 .lenderlogo { 
  grid-area: lenderlogo;
  padding: 15px 15px;
}

.p4 .plan-name { 
  grid-area: plan-name;
  padding: 25px 0px;
  font-weight: 200;
  font-size: 20px;
}

.p4 .initial-monthly-cost {
  grid-area: initial-monthly-cost;
  padding: 10px 0 10px 10px;
  margin: 5px 0 5px 5px;
  border: solid #00aaff;
  border-width: 1px 0 1px 1px;
}

.p4 .initial-monthly-cost div:nth-child(1), .p4 .initial-monthly-cost div:nth-child(3) {
  font-weight: 200;
}

.p4 .initial-monthly-cost div:nth-child(2) {
  font-weight: 900;
  font-size: 30px;
}

.p4 .initial-monthly-cost div:nth-child(2) span:nth-child(2) {
  font-weight: 900;
  font-size: 20px;
}

.p4 .initial-term-cost {
  grid-area: initial-term-cost;
  padding: 10px 0 10px 0px;
  margin: 5px 0 5px 0;
  border-width: 1px 0 1px 0 solid;
}

.p4 .initial-term-cost div:nth-child(1) {
  font-weight: 200;
}

.p4 .initial-term-cost div:nth-child(2) {
  font-size: 20px;
  padding-top: 7px;
}

.p4 .initial-rate {
  grid-area: initial-rate;
  padding: 10px 0 10px 0px;
  margin: 5px 0 5px 0;
  border-width: 1px 0 1px 0 solid;
}

.p4 .initial-rate div:nth-child(1) {
  font-weight: 200;
}

.p4 .initial-rate div:nth-child(2) {
  font-size: 20px;
  padding-top: 7px;
}

.p4 .aprc { 
  grid-area: aprc;
  padding: 10px 0 10px 0px;
  margin: 5px 0 5px 0;
  border-width: 1px 0 1px 0 solid;
}

.p4 .aprc div:nth-child(1) {
  font-weight: 200;
}

.p4 .aprc div:nth-child(2) {
  font-size: 20px;
  padding-top: 7px;
}

.p4 .fees {
  grid-area: fees;
  padding: 10px 0 10px 0px;
  margin: 5px 0px 5px 0;
  border-width: 1px 0 1px 0 solid;
}

.p4 .fees div:nth-child(1) {
  font-weight: 200;
}

.p4 .fees div:nth-child(2) {
  font-size: 20px;
  padding-top: 7px;
}

.p4 .bottom { 
  grid-area: bottom;
  padding: 10px;
  font-size: 10;
  font-weight: 200;
}

.p4 .cta {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  grid-template-areas: "continue continue continue" "more-info more-info more-info";
  grid-area: cta;
}

.p4 .continue { 
  grid-area: continue;
  margin: 5px 5px 0 0;
  border-width: 1px 1px 0 0 solid;
}

.p4 .continue a {
  padding: 10px;
  position: absolute;
  width: 80px;
  text-decoration: none;
  text-align: center;
  margin-top: 5px;
  border: 1px solid;
  color: #fff;
  cursor: pointer;
}


.p4 .more-info { 
  grid-area: more-info;
  padding-top: 1px;
  margin: 0 5px 5px 0;
  border-width: 0 1px 1px 0 solid;
}

.p4 .more-info a {
  padding: 10px;
  background-color: #00aaff;
  position: absolute;
  width: 80px;
  text-decoration: none;
  text-align: center;
  border: 1px solid;
  color: #fff;
  cursor: pointer;
}

/*################*/
/*checkbox styling*/
/*################*/

.checkbox-container{
  padding-left: 43px;
  text-align: left;
}

.checkbox-container label a{
  text-decoration: underline;
}

.styled-checkbox {
  position: absolute;
  opacity: 0;
  width:20px;
  height: 20px;
  z-index: 999;
  cursor: pointer;
}
.styled-checkbox + label {
  position: relative;
  cursor: pointer;
  padding: 0;
}
.styled-checkbox + label:before {
  content: '';
  margin-right: 10px;
  display: inline-block;
  vertical-align: text-top;
  width: 20px;
  height: 20px;
  background: white;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
}
.styled-checkbox:focus + label:before {
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
}
.styled-checkbox:disabled + label {
  color: #b8b8b8;
  cursor: auto;
}
.styled-checkbox:disabled + label:before {
  box-shadow: none;
  background: #ddd;
}
.styled-checkbox:checked + label:after {
  content: '';
  position: absolute;
  left: 5px;
  top: 9px;
  background: white;
  width: 2px;
  height: 2px;
  box-shadow: 2px 0 0 white, 4px 0 0 white, 4px -2px 0 white, 4px -4px 0 white, 4px -6px 0 white, 4px -8px 0 white;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

.unstyled {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.title {
  text-align: center;
  color: #4571ec;
}


/*#####################################*/
/*########## Off Canvas Info ##########*/
/*#####################################*/


.off-canvas {
  position: fixed;
  width: 300px;
  height: 100%;
  top: 0;
  overflow-y: auto;
  overflow-x: hidden;
  opacity: 0;
  visibility: hidden;
  z-index: 99;
  -webkit-transition-delay: 300ms;
  transition-delay: 300ms;
  left: 0;
}

.off-canvas.active {
  opacity: 1;
  visibility: visible;
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}

.off-canvas.active .off-canvas-inner {
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
  -webkit-transition: background-color 0s linear 599ms, -webkit-transform 300ms linear;
  transition: background-color 0s linear 599ms, -webkit-transform 300ms linear;
  transition: transform 300ms linear, background-color 0s linear 599ms;
  transition: transform 300ms linear, background-color 0s linear 599ms, -webkit-transform 300ms linear;
}

.off-canvas.active .off-canvas-inner:after {
  width: 300%;
  border-radius: 50%;
  -webkit-animation: elastic 150ms ease 300.5ms both;
  animation: elastic 150ms ease 300.5ms both;
}

.off-canvas-inner {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: 999999;
  -webkit-transform: translate(-100%, 0);
  transform: translate(-100%, 0);
  -webkit-transition: background-color 0s linear 300ms, -webkit-transform 300ms linear;
  transition: background-color 0s linear 300ms, -webkit-transform 300ms linear;
  transition: transform 300ms linear, background-color 0s linear 300ms;
  transition: transform 300ms linear, background-color 0s linear 300ms, -webkit-transform 300ms linear;
}

.off-canvas-inner:after {
  content: '';
  position: absolute;
  width: 0;
  height: 100%;
  top: 0;
  right: 0;
  border-radius: 50%;
  z-index: -1;
  -webkit-transition: all 300ms linear;
  transition: all 300ms linear;
}

.quit-off-canvas .fa-circle {
  color: #fff;
}

.quit-off-canvas .fa-times-circle {
  font-size: 25px;
  cursor: pointer;
}

.quit-off-canvas {
  position: relative;
  left: 75%;
  top: 0px
}

.info-container {
  display: none;
  position: relative;
  left:20px;
  top:20px;
}

.info-container div span {
  font-size: 12px;
  line-height: 26px;
}

.info-container div span:nth-child(1) {
  font-weight: 200;
}

.info-container div span:nth-child(2) {
  font-weight: 400;
}

@-webkit-keyframes
elastic {  0% {
 border-radius: 50%;
}
 45% {
 border-radius: 0;
}
 65% {
 border-top-right-radius: 40px 50%;
 border-bottom-right-radius: 40px 50%;
}
 80% {
 border-radius: 0;
}
 90% {
 border-top-right-radius: 20px 50%;
 border-bottom-right-radius: 20px 50%;
}
 100% {
 border-radius: 0;
}
}

@keyframes
elastic {  0% {
 border-radius: 50%;
}
 45% {
 border-radius: 0;
}
 65% {
 border-top-right-radius: 40px 50%;
 border-bottom-right-radius: 40px 50%;
}
 80% {
 border-radius: 0;
}
 90% {
 border-top-right-radius: 20px 50%;
 border-bottom-right-radius: 20px 50%;
}
 100% {
 border-radius: 0;
}
}

