html, body{
  height: 100%;
  width: 100%;
  background: #f0f0f0;
  overflow: hidden;
  /*overflow-y: auto;*/
}

*{
  box-sizing: border-box;
}

a{
  color: #896066;
  font-weight: 500;
}
a:hover{
  color: #000;
}

.topbar i{
  color: #478894;
}

input[type=date]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    display: none;
}

input[type=date]::-webkit-calendar-picker-indicator {
    -webkit-appearance: none;
    display: none;
}


hr{
  width: 50%;
  max-width: 275px;
  margin: 2rem 0 1rem 0;
}

.site-header{
  height: 60px;
  width: 100%;
  position: relative;
  background: #f0f0f0;
  z-index:10000;
}

.site-header.home{
  background: transparent;
}

#page{
  height: 100%;
  position: relative;
  /*max-height: 100%;*/
  background: #f0f0f0;
  overflow: hidden;
  padding-bottom: 8rem;

  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
}

.tooltip{
  display: none;
}

.info-text{
  width: 100%;
  margin: 2rem auto 4rem auto;
  max-width: 940px;
  font-size: 1.65rem;
}
.info-text p{
  width: calc(100% - 2rem);
  padding: 0;
  display: none;
  max-height: 0;
  background: #fff;
  transition: all 0.6s;
  -webkit-transition: all 0.6s;
}
.info-text p.active{
  padding: 4rem 6rem;
  display: block;
  max-height: 2000px;
  margin: 0 auto;
}

.info-boxes{
  width: 100%;
  max-width: 940px;
  min-height: 220px;
  margin: 4rem auto 2rem auto;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}

.info-box{
  width: calc((100% / 3) - 2rem);
  min-width: calc((100% / 3) - 2rem);
  min-height: 10rem;
  padding: 2rem;
  margin: 1rem auto;
  border: 1px solid #9ed5db;
  cursor: pointer;
  background: rgba(255,255,255,0);
  text-align: center;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;

  transition: all 0.6s;
  -webkit-transition: all 0.6s;
}
.info-box:hover{
  background: rgba(255,255,255,1);
}

.info-box.active{
  background: #9ed5db;/*rgba(255,255,255,1);*/
}

.info-box span{
  text-align: center;
  display: block;
  color: #333;/*#478894;*/
}

@media (max-width:780px){
  .info-boxes, .info-text{
    max-width: 550px;
  }
  .info-box{
    width: calc((100% / 2) - 1rem);
    min-width: calc((100% / 2) - 1rem);
    min-height: 6rem;
    margin: 0.5rem auto;
    padding: 1rem 0.5rem;
  }
  .info-text p.active{
    width: calc(100% - 1rem);
    font-size: 1.4rem;
    line-height: 1.6;
    padding: 2rem;
  }
}
/*
.info-box p.text{
  opacity: 0;
  max-width: 0px;
  max-height: 0px;
  margin: 0;
  overflow: hidden;
  font-size: 1.65rem;
}
.info-box.active p.text{
  opacity: 1;
  min-width: 100%;
  max-width: 100%;
  max-height: 2000px;
  margin: 1rem auto;
  overflow: none;
}*/

/*
#messageBox{
  background: rgba(193,231,234,0.85);
  width: 100%;
  height: 100%;
  position: fixed;
  opacity: 1;
  z-index:10000;

  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  align-items: center;
  justify-content: center;

  transition: opacity 0.7s;
  -webkit-transition: opacity 0.7s;
}

#messageBox.hidden{
  display: none;
  opacity: 0;
}

#messageBox .msg{
  background: rgba(245,245,245,1);
  width: 90%;
  max-width: 450px;
  padding: 4rem 4rem;
  text-align: center;
  border-radius: 6px;
  border: 2px solid rgba(255,255,255,1);
  box-shadow: 0px 2px 6px rgba(0,0,0,0.15);
  color: #333;
  letter-spacing: 0.06;
  font-size: 1.8rem;
  line-height: 1.35;
}

#messageBox .msg span.title{
  font-size: 2.4rem;
  display: block;
  margin-bottom: 2rem;
  color: #8ac8d6;
}*/

.titlebar{
  font-size: 1.4rem;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
  display:block;
  position: absolute;
  left: 50%;
  top: 25px;
  /*color: #478894;*/

  transform: translate(-50%, 0);
  -webkit-transform: translate(-50%, 0);

  transition: all 1s;
  -webkit-transition: all 1s;
}
.titlebar.hidden{
  opacity: 0;
}
.titlebar b{
  font-weight: 600;
}

@media (max-width: 780px){
  body{
    font-size: 1.5rem;
    line-height: 1.3;
  }
  .titlebar{
    top: 15px;
    font-size: 1.2rem;
  }
  .titlebar b{
    font-size: 1.8rem;
    display: block;
  }
}

.site-header{
  width: 100%;
  position: absolute;
  top:0;
  z-index:10000;
}

.lead{
  font-size: 1.65rem;
  line-height: 1.6;
  text-align: left;
  margin:0;
  text-shadow: 0 0 10px rgba(255,255,255,1);
}

.entry-title{
  font-family: 'Flama';
  font-weight: 400;
  font-size: 2.8rem;
  line-height: 1.1;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
  margin: 0rem auto 3rem auto;
  text-align: left;
}

.entry-title b{
  font-weight: 600;
  font-size: 7rem;
  text-transform: none;
  display: block;
  letter-spacing: 0.02rem;
}

.entry-summary{
    margin-bottom: 0;
}

@media (max-width: 780px){
  .entry-title{
    font-size: 2.2rem;
    margin: 3rem auto 3rem auto;
  }
  .entry-title b{
    font-size: 5rem;
    line-height: 1;
    letter-spacing: 0.02rem;
  }
  .lead{
    font-size: 1.35rem;
    line-height: 1.6;
  }
}

@media (max-width: 480px){
  .entry-title{
    font-size: 1.8rem;
    margin: 1rem auto 3rem auto;
    text-align: center;
  }

  .entry-title b{
    font-size: 4rem;
  }
  .lead{
    text-align: center;
  }
}

.site{
  overflow-x: hidden;
  position: absolute;
}
.site,
.site-main,
.site-content,
.hentry,
.entry-header,
.screen,
.cover {
  width: 100%;
  height: 100%;
  max-width: 100%;
  box-sizing: border-box;
  position: relative;
}

.entry-header{
  display: flex;
  display: -webkit-flex;
  display: -ms-flexbox;
  align-items: center;
  justify-content: center;
}

.entry-title-wrapper{
  margin: auto;
  padding: 2rem;
  width: 100%;
  max-width: 50rem;
  text-align: left;
  margin: auto;
  min-height: 480px;
  text-shadow: 0 0 6px rgba(255,255,255,0.85);

  /*background: rgba(250,250,250,0.8);
  height: 100%;
  position: absolute;
  left: 50%;

  transform: translateX(-50%);*/
}

.entry-content{
  height: 100%;
  min-height: 20rem;
  width: 1100%;
  position: absolute;
  top:0;
  text-align: left;

  /*overflow: hidden;*/
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;

  transition: margin-left 0.5s;
  -webkit-transition: margin-left 0.5s;
}

.values-holder{
  position: relative;
  width: 100%;
  height: 120px;
  min-height: 120px;
  max-width: 680px;
  margin: auto auto 1rem auto;
  /*max-width: 970px;*/
  /*left: 50%;*/
  top: 0;
  padding-top: 5px;
  z-index:1000;
  opacity:1;
  background: #f0f0f0;

  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;


  transition: left 1.0s;
  -webkit-transition: left 1.0s;
/*
  transform: translate(-50%, 0);
  -webkit-transform: translate(-50%, 0);
*/
}

.values-holder.hidden{
  left: 200%;
  opacity:0;
}

.values-bar{
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;

  width: auto;
  max-width: 100%;
  margin: 0 auto;
  /*padding: 1rem;*/
  opacity:1;
}

#result-values, #savings-values{
  position: relative;
  width: 100%;
  min-width: 200px;
  max-width: 680px;
  min-height: 240px;
  max-height: 1000px;
  margin: 2rem auto;
  padding-top: 0;
  left: 0;

  transform: translate(0,0);
  -webkit-transform: translate(0,0);
}
#savings-values{
  min-height: 200px;
}

#input-values, #input-values2{
  /*display: none;*/
  margin: auto auto 2rem auto;
}

#result-values.margin-top, #savings-values.margin-top{
  margin-top: auto;
}

.values-holder .item{
  display: block;
  margin: 0 0.2rem;
  text-align: center;
  /*min-width: 75px;*/
  /*width: calc(100% / 6);*/
  max-width: 130px;
  -webkit-flex:1;
  flex:1;
  z-index:2;

  transition: all 1.0s;
  -webkit-transition: all 1.0s;
}
.values-holder .item.disabled{
  opacity: 0;
  min-width: 0;
  max-width: 0;
  padding: 0;
  margin:0;
  overflow: hidden;
}

.values-holder .item span{
  text-transform: uppercase;
  line-height: 1.4;
  font-size: 1.15rem;
  height: 45px;
  padding: 0 1rem;
  text-align: center;
  margin: 0.2rem auto;
  color: #000;
  letter-spacing: 0.05rem;
  opacity:1;

  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  align-items: center;
  justify-content: center;

  transition: opacity .5s linear .5s;
  -webkit-transition: opacity .5s linear .5s;
}
.values-holder .item span.hoverHelp{
  cursor: pointer;
}

.values-holder .item.disabled span{
  opacity:0;
}

.values-holder .item .msg{
  line-height: 1.4;
  font-size: 1.65rem;
  padding: 0;
  text-align: left;
  margin: 2rem auto 1rem auto;
  height: 45px;
  color: #555;
  font-weight: 300;
  letter-spacing: 0.05rem;
  opacity:1;
}
.values-holder .item .msg b{
  font-weight: 500;
}

.values-holder .item .value{
  font-size: 1.8rem;
  font-weight: 300;
  color: #896066;
  padding: 1rem 0.3rem;
  height:55px;
  width: 100%;
  max-width: 100%;
  overflow: visible;
  overflow-x: hidden;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 0;
  background: #f5f5f5;
  text-align: center;

  border: 1px solid rgba(255,255,255,1);
  /*background: #d3eaea;*/
  color: #896066;
  z-index:1;
}
.values-holder .item select.gender{
  display:none;
}
select{
  -webkit-appearance: none;
  text-align: center;
  text-align-last: center;
}
select::-ms-expand {
    display: none;
}

#input-values .item .value,
#input-values2 .item .value{
  box-shadow: inset 1px 1px 2px rgba(0,0,0,0.2);
  /*cursor: pointer;*/
}

.values-holder .item .value:hover,
.values-holder .item .value:active{
  border: 1px solid #896066;
}
.values-holder .item .value:focus{
  outline:none;
  border: 1px solid #896066;
}
.values-holder .item.disabled .value{
  color: #ccc;
}
.values-holder .item .value-options{
  position: absolute;
  width: 100%;
  max-width: 130px;
  box-shadow: 1px 1px 1px rgba(0,0,0,0.15);
  margin-top: -54px;
  z-index:-1;
}
.values-holder .item .value-options.open{
  margin-top: 0;
  z-index: 0;
}
.values-holder .item .value-options li{
  background: #fff;
  text-align: center;
  padding: 0.5rem 1rem;
  width: 100%;
  border-bottom: 1px solid #e0e0e0;
  padding: 1rem 0;
  opacity: 0;
  cursor: pointer;
  position: absolute;
  top:0;
  z-index:0;
}
.values-holder .item .value-options.open li{
  position: relative;
  opacity: 1;
}
.values-holder .item .value-options li:hover{
  background: #e7e7e7;
}
.values-holder .item .value-options li.selected{
  background: #efefef;
}

#result-values .item,
#savings-values .item{
  width: calc(100% / 2);
  max-width: calc(100% / 2);
  min-height: 220px;
  padding: 0 5px;
  display: block;
  margin: 0 0.2rem;
}

#savings-values .item{
  min-height: 200px;
}

#result-values .item:first-child,
#savings-values .item:first-child{
  margin-left: 0;
  padding-left: 0;
}
#result-values .item:last-child,
#savings-values .item:last-child{
  margin-right: 0;
  padding-right: 0;
}
#result-values .item .value,
#savings-values .item .value{
  display: flex;
  display: -webkit-flex;
  display: -ms-flexbox;
  align-items: center;
  justify-content: center;
}
#result-values .item .value span,
#savings-values .item .value span{
  font-weight: 500;
}

#savings-values .item span.total{
  font-size: 1.4rem;
  color: #896066;
  font-weight: 400;
  height: 35px;
  margin-top: 1rem;
}
.help.fa{
  display: inline;
  color: #896066;
  cursor: pointer;
}

@media (max-width:970px){
  .values-holder .item span{
    height: 35px;
  }
  #result-values .item,
  #savings-values .item{
    width: calc(100% / 2);
    max-width: calc(100% / 2);
  }
}
@media (max-width:780px){
  #result-values,
  #savings-values{
    padding:0;
    overflow: auto;
    min-height: 240px;
    max-width: 550px;
    margin: 1rem auto 0.5rem auto;
  }
  #result-values .item,
  #savings-values .item{
    width: 50%;
    max-width: 50%;
  }
  #savings-values{
    min-height: 175px;
  }
  #savings-values .item{
    min-height: 170px;
  }
  #result-values .item .msg,
  #savings-values .item .msg{
    line-height: 1.4;
    font-size: 1.3rem;
    padding: 0;
    /*text-align: center;*/
    margin: 1.2rem auto 1rem auto;
    height: 60px;
    color: #000;
    letter-spacing: 0.025rem;
    opacity:1;
  }
}

@media (max-width:780px){
  .values-holder{
    height: 180px;
    width: auto;
    max-width: 100%;
    /*max-width: 970px;
    left: 100%;*/
    top: 0;
    padding-top: 65px;
  }
  #result-values, #savings-values{
    height: auto;
    overflow: none;
    max-width: 550px;
  }
}

@media (max-width:480px){
  #input-values, input-values2{
    margin: auto auto 1rem auto;
  }
  .values-holder{
    /*display: none;*/
    padding-top: 0.5rem;
    min-height: 95px;
    white-space: normal;
    align-items: top;
    justify-content: start;
    overflow: visible;
    overflow-x: scroll;
    /*
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;*/
  }
  .values-holder .item{
    position:relative;
    max-width: calc( (100% - 3rem) / 3 );
    min-width: calc( (100% - 3rem) / 3 );
    overflow: visible;
  }

  .values-holder .item .button-holder{
    display: none;
  }
}

#result-values .item span,
#savings-values .item span{
  line-height: 1.2;
  color: #000;
  font-weight: 400;
  display: flex;
  display: -webkit-flex;
  display: -ms-flexbox;
  align-items: center;
  justify-content: center;
}
#result-values .item .value,
#savings-values .item .value{
  color: #000; /* #006194 */
  border: 0;
  /*border: 1px solid #896066;*/
  padding: 2rem 1.5rem;
  font-size: 2.1rem;
  font-weight: 400;
  height: auto;
  min-height: 80px;
  background: rgba(0,0,0,0.05);
  /*background: #896066;*/
}

.values-holder .item .value:hover{
  /*border: 1px solid #896066;*/
}

.cover{
  padding: 6rem 0 0 0;
  /*background: #f0f0f0 url('../img/capa-couro.jpg') no-repeat center;*/
  background: #f0f0f0 url('../img/carteiras.png') no-repeat center;
  background-size: cover;
  box-sizing: border-box;
  min-width: calc(100% / 11);
  overflow-y: auto;
}
.cover *{
  display: block;
}

.screen{
  /*padding: 22rem 1.5rem 0 2rem;*/
  padding: 8rem 0 0 0;
  position: relative;
  background: #f0f0f0;/*#efebdc;*/
  width: 100%;
  box-sizing: border-box;

  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  /*justify-content: center;*/
  -webkit-flex-direction: column;
  flex-direction: column;
  overflow-x: hidden;

  transition: padding 1s;
  -webkit-transition: padding 1s;
}

/*
.screen > *{
  position: relative;
  flex: 1 1 auto;
  -webkit-flex: 1 1 auto;
}
*/

@media (max-width:620px){
  .screen{
    padding: 9rem 1.5rem 0 1.5rem;
  }
}
@media (max-width:480px) or (max-height:500px){
  .screen, .screen.notop{
    /*min-height: 580px;*/
    padding: 8rem 0 0 0;
  }
}

#page.notop .screen{
  padding: 10rem 1rem 0 1rem;
}

#page.notop .values-holder{
  max-height: 0px;
}

#earnings{
  /*overflow: hidden;*/
}

.screen .question{
  text-align: center;
  font-size: 2.4rem;
  font-weight: 200;
  width: 100%;
  max-width: 680px;
  line-height: 1.6;
  margin: auto auto 1rem auto;
}
/*
.screen .question.left{
  text-align: left;
  width: 100%;
  max-width: 680px;
  margin: auto auto 1rem auto;
}
*/
@media (max-width:780px){
  .screen .question{
    font-size: 2.2rem;
    line-height: 1.3;
    margin: auto 0 1rem 0;
  }
}
@media (max-width:480px){
  .screen .question{
    font-size: 2rem;
  }
}

.screen .question b{
  font-weight: 500;
}
/*
#screen-earnings .question{
  margin-top: 2rem;
}*/

#screen-invested .question{
  max-width: 680px;
}

#screen-savings .question{
  margin: 2rem auto 2rem auto;
}
#details-link.question{
  margin: 2rem auto auto auto;
}

.screen .result-text{
  width: 100%;
  max-width: 680px;
  text-align: left;
  margin: 1rem auto 1rem auto;
}
.screen .result-text.top{
  text-align: center;
  margin: 3rem auto 1rem auto;
}

.screen .alert-text{
  width: 100%;
  max-width: 620px;
  text-align: center;
  margin: 2rem auto auto auto;
}

#calc-link{
  margin: 2rem auto 4rem auto;
}
#credits-link{
  position: absolute;
  bottom: 2rem;
  right: 3rem;
  color: #000;/*#478894;*/
  text-decoration: none;
  /*transform: translateX(-50%);*/
}

.screen .question span.highlight{
  display: block;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: 0.02rem;
  cursor: pointer;
  width: 100%;
  max-width: 680px;
  background: #896066;/*#c1e7ea;*/
  padding: 1rem 1rem 1.5rem 1rem;
}
@media (max-width:780px){
  .screen .question span.highlight{
    font-size: 1.6rem;
    padding: 1rem 2rem;
  }
  #calc-link, #details-link{
    max-width: 550px;
  }
}
@media (max-width:480px){
  .screen .question{
    margin: auto auto 1rem auto;
  }

  .screen .question span.highlight{
    font-size: 1.35rem;
  }

  #credits-link{
    left: 50%;
    right: auto;

    transform: translateX(-50%);
  }
}

.screen .question span.highlight:hover{
  color: #fff;
}

.screen .question.no-top{
  margin: 2rem auto 1rem auto;
}

.screen label{
  position: relative;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  align-items: center;

  display: block;
  margin: 2rem auto 0 auto;
}
#input-values label,
#input-values2 label{
  margin: 0 auto 1rem auto;
}


.labelgroup.earning-grp label,
.labelgroup.earning-labels label {
  margin: 2rem auto;
  flex-grow: 1;
  -webkit-flex-grow: 1;
}

.labelgroup.earning-grp label {
  margin: 0.5rem auto;
  min-height: 75px;
}

@media (max-width:780px){
  .screen .result-text{
    width: 100%;
    max-width: 550px;
    min-width: auto;
    text-align: center;
    font-size: 1.4rem;
    line-height: 1.5;
    margin: 3.5rem 2rem 1rem 2rem;
  }

  .labelgroup.earning-grp label {
    min-height: 65px;
  }
}

.screen .labelgroup{
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  align-items: start;
  justify-content: start;
  -webkit-flex-direction: row;
  flex-direction: row;
}
@media (max-width:780px){
  .screen .labelgroup{

    align-items: start;
    justify-content: start;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
  }
}

.screen .earning-grp .plus,
.screen .earning-labels .plus-col {
  font-size: 2.2rem;
  padding: 4.5rem 0.25rem 1.5rem 0.75rem;
}
@media (max-width:780px){
  .screen .earning-grp .plus,
  .screen .earning-labels .plus-col {
    font-size: 2.2rem;
    padding: 2.5rem 0 1.5rem 0.5rem;
  }
}

.screen .radio-grp {
  width: 100%;
  max-width: 550px;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
}

.screen label.radio {
  position: relative;
  display: inline-block;
  padding: 0 5px 0 35px;
  cursor: pointer;
  text-align: left;
  color: #896066;
  font-size: 4.5rem;
}

.screen label.radio input {
	position: absolute;
	z-index: -1;
	opacity: 0;
}

.screen label.radio .indicator {
	position: absolute;
	top: 1rem;
	left: 0;
	width: 20px;
	height: 20px;
	background: #dedede;
  border-radius: 50%;
  border: 5px solid #dedede;

  box-shadow: 0px 0px 2px #000;/*rgba(0,0,0,0.5);*/
}
/* Checked state */
.screen label.radio input:checked ~ .indicator {
	background: #896066;
}
@media (max-width:780px){
  .screen label.radio {
    font-size: 2.4rem;
    padding: 0 5px 0 25px;
  }
  .screen label.radio .indicator {
  	top: 0.5rem;
  	width: 16px;
  	height: 16px;
  }
}


.screen label span{
  font-size: 1.5rem;
  padding: 0.5rem;
  font-weight: 500;
  color: #896066;
  display: block;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}

.screen label input{
  font-size: 4.5rem;
  padding: 1.5rem 0.5rem;
  font-weight: 400;
  text-align: center;
  margin-top: 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: #d3eaea;
  color: #896066;
  display: block;
  width: 100%;
  z-index:1;
}
.screen .item label input{
  margin-top: 0;
  background: #d3eaea;
}

/*
.screen label input.opaque{
  opacity: 0.5;
  position: absolute;
  z-index: 2;
  color: #000;
  background: transparent;
}*/

.screen label input:focus,
.screen label input.focus{
  /*border: 1px solid #9ed5db;*/
  background: #b1dfe0;
  outline: none;
  border: 1px solid #f7f7f7;
}
.screen label input.opaque:focus{
  background: transparent;
}

.screen .earning-grp label input,
.screen .earning-labels label input,
#earnings input.money{
  font-size: 2rem;
  padding: 0.5rem 0.25rem 0.5rem 1.5rem;
  margin-top: 0;
  text-align: left;
}
@media (max-width:620px){
  .screen .earning-grp label input,
  .screen .earning-labels label input,
  #earnings input.money{
    font-size: 1.8rem;
    padding: 0.5rem 0.25rem;
    padding: 0.5rem 0.25rem 0.5rem 1rem;
    margin-top: 0;
  }
}

.screen .earning-labels{
  height: 40px;
  margin-top: 2rem;
}

.screen label input.hidden{
  opacity: 0;
  height: 1px;
  padding: 0;
  margin: 0;
}

.screen .earning-grp{
  min-height: 40px;
  margin: 0 auto 3rem auto;
  padding-right: 40px;
  position: relative;
  max-height: 1000px;
}
@media (max-width:780px){
  .screen .earning-grp{
    padding-right: 0px;
  }
}

.screen .earning-grp label{
  margin: 0;
}

.screen .earning-grp label.money{
  max-width: 320px;
  margin-right: 1.5rem;
  z-index:100;
}
/*
.screen .earning-grp label.time {
  max-width: 95px;
  margin-left: 5px;
}*/

.screen .earning-grp label.date {
  max-width: 135px;
  margin-left: 0;
}

.screen .earning-grp label.check {
  width: 100%;
  min-width: 100%;
  display: block;
  font-size: 1.4rem;
  text-align: left;
  align-items: center;
  justify-content: start;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0;
  min-height: 40px;
  height: 40px;
}
.screen .earning-grp label.check div {
  display: inline;
}
.screen .earning-grp label.check input {
  max-width: 20px;
  display: inline;
}

@media (max-width:620px){
  .screen label input{
    font-size: 3rem;
    padding: 1rem 0.5rem;
  }
  .screen .earning-grp label.money {
    width: calc(100% - 0px);
    max-width: calc(100% - 0px);
    margin-right: 0;
  }

  .screen .earning-grp label.time {
    max-width: 60px;
    margin-left: 5px;
  }
  .screen .earning-grp label.time:nth-child(2) {
    margin-left: 0px;
  }

  .screen .earning-grp label.check {
    font-size: 1.4rem;
    height: auto;
    width: auto;
    min-width: 70px;
    max-width: 170px;
    flex-grow: 1;
    margin: 2rem 5px 0 10px;

    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .screen .earning-grp label.date {
    max-width: 160px;
    margin-left: 0;
    width: calc((100% - 2rem)/2);
  }
}
@media (max-width:480px){
  .screen .earning-grp label.check {
    margin: 2rem 0 0 10px;
    max-width: 100px;
    display: inline-block;
  }
}

.screen .explainer{
  display: block;
  font-size: 1.65rem;
  font-weight: 300;
  line-height: 1.5;
  color: #555;
  width: 100%;
  max-width: 680px;
  text-align: center;
  margin: 2rem auto 3rem auto;
  padding: 0;
  min-width: 500px;
}
.screen .explainer.small{
  max-width: 320px;
}
.screen .explainer.left{
  text-align: left;
}
.screen .explainer.right{
  text-align: right;
}
.screen .explainer.credits{
  font-size: 1rem;
  margin: auto auto 8rem auto;
}
.screen .explainer .title{
  text-align: center;
}
.screen .explainer .title a{
  text-decoration: none;
}

.screen .explainer b{
  font-weight: 500;
}
.explainer table td{
  font-size: 1.4rem;
  text-align: left;
}
.explainer table{
  max-width: 400px;
  margin: 2rem auto;
}

.screen .explainer.disclaimer{
  color: #333;
  font-weight: 400;
  width: 100%;
  max-width: 550px;
  margin: 2rem auto 1rem auto;
  text-align: left;
  padding: 0;
}
.screen .question.disclaimer b{
  color: #000;
  /*font-size: 1.8rem;*/
  font-weight: 400;
  text-transform: uppercase;
}


@media (max-width:780px){
  .screen .explainer{
    width: 100%;
    min-width: 200px;
    max-width: 550px;
    font-size: 1.35rem;
    margin-top: 0rem;
    padding: 1rem 0;
  }
  .screen .explainer.disclaimer{
    padding: 0;
  }
}
@media (max-width:480px){
  .screen .explainer{
    max-width: 420px;
    margin-bottom: 2.5rem;
    font-size: 1.35rem;
  }
  .screen .explainer span{
    display: none;
  }
}

.screen:nth-child(2) label,
.screen:nth-child(4) label,
.screen:nth-child(6) label{
  max-width: 240px;
}
.screen:nth-child(7) label{
  max-width: 440px;
}

.screen:nth-child(2) label input{
  display: block;
  width: 100%;
}

.button-holder{
  display: block;
  width: 100%;
  border: 1px solid rgba(255,255,255,0.01);/*#f0f0f0;*/
  z-index:10;
}
.item .button-holder{
  border: 0;
}

#screen-earnings .button-holder{
  margin-bottom: -35px;
}

.input-description{
  font-size: 1.65rem;
  display: block;
  width: 100%;
  text-align: left;
  margin-bottom: 0.2rem;
  color: #555;
}
@media (max-width:780px){
  .input-description{
    font-size: 1.5rem;
    margin-bottom: 0.35rem;
    text-align: left;
  }
}
@media (max-width:480px){
  .input-description{
    text-align: left;
  }
}

.button-holder button{
  display: inline-block;
  min-width: 50%;
  border: none;
  /*border-bottom: 1px solid #896066;*/
  background: #c1e7ea;
  padding: 3px 0;
  color: #fff;/*896066;*/
  font-size: 2rem;
  cursor: pointer;
}

.item .button-holder button{
  background: #e5e5e5;
  padding: 0;
  color: #896066;
}
.item .button-holder button span{
  min-height: 20px;
  color: #896066;
  font-size: 2.1rem;
  height: 24px;
}
#screen-savings .item .button-holder button span{
  font-size: 1.65rem;
}

.earning-grps{
  position: relative;
  margin: 2rem auto 1rem auto;
  padding: 1rem 1rem 2rem 2rem;
  position: relative;
  width: 100%;
  max-width: 680px;
  background: #9ed5db;
  border: none;
  border: 1px solid #9ed5db;/* rgba(0,0,0,0.15); */
}
@media (max-width:780px){
  .earning-grps{
    margin: 1rem 0rem;
    padding: 1rem;
  }
}

.earning-grp{
  margin: 0 auto 2rem auto;

  align-items: start;
  justify-content: start;

  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}

.button-holder.hidden{
  /*display:none;*/
}
/*
label:hover .button-holder.hidden{
  display: block;
}
s*/

.earning-grp .button-holder button,
#screen-4 .button-holder button{
  margin:0;
}

.button-holder button span{
  display: block;
  border-right: 1px solid #f0f0f0;;/*#896066;*/
  font-size: 2.4rem;
  color: #896066;
  min-height: 36px;
  line-height: 36px;
  pointer-events: none;
  padding: 0;
}

.earning-grp .button-holder button span,
#screen-4 .button-holder button span{
  padding: 0;
}

.button-holder button:nth-child(2) span{
  border-right: 0;
}

.button-holder button:hover{
  background: #9ed5db;
  color: #66444b;
}
.button-holder button:focus{
  outline: none;
  /*background: #f5f5f5;
  background: #dbca83;*/
}

.next-btn{
  color: #896066;
  padding: 0.4rem 2.4rem;
  text-transform:uppercase;
  border: none;
  border-top: 1px solid #896066;
  border-bottom: 1px solid #896066;
  background: transparent;
  font-size: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.05rem;
  margin-top: auto;
  margin-bottom: 8rem;
  min-height: 4.2rem;
  height: 4.2rem;
  flex: none;
}

.next-btn.home{
  font-size: 2.1rem;
  font-weight: 500;
  text-transform: none;
  text-align: left;
  padding: 0 0 0.5rem 0;
  margin-top: 3rem;
  margin-bottom: auto;
  height: 4.8rem;
}

@media (max-width:480px){
  .next-btn{
    margin-top: auto;
  }
  .next-btn.home{
    font-size: 1.5rem;
    text-transform: uppercase;
    margin: 2rem auto 8rem auto;
    text-align: center;
    padding: 1rem;
    height: 4.2rem;
  }
  .next-btn.home,
  .entry-title-wrapper{
    text-align: center;
  }
}

.next-btn:focus{
  outline:none;
}

.next-btn span{
  font-size: 2rem;
  font-weight: 800;
  display: inline-block;
  vertical-align: middle;
  padding-bottom: 0.4rem;
  margin-left: 0.6rem;
}
.next-btn:hover{
  color: #66444b;
  border-top: 1px solid #66444b;
  border-bottom: 1px solid #66444b;
}

.close-btn{
  cursor: pointer;
  z-index:100;
  color: #896066;/*rgba(0,0,0,0.5);*/
  margin: 4.5rem 0 0 1rem;
  text-transform:uppercase;
  border: none;
  background: transparent;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.05rem;
  min-height: 5.5rem;
  width: 3.5rem;

  position: absolute;
  bottom: 0;
  right: 0;
}
@media (max-width:780px){
  .close-btn{
    padding: 0rem 0.3rem 0 0.3rem;
    height: 3rem;
    position: absolute;
    top: 0;
    right: 5px;
    margin-top: 1.2rem;
  }
}

.close-btn:hover{
  color: #333;
}

.new-line-btn{
  color: #fff;
  padding: 0.35rem 1rem;
  text-transform:uppercase;
  border: none;
  background: #896066;
  font-size: 1.2rem;
  font-weight: 400;
  font-family: 'Flama';
  cursor: pointer;
  letter-spacing: 0.05rem;
  min-height: 4rem;
  display: inline-block;
  margin: 1rem auto 0rem auto;
}

@media (max-width:780px){
  .new-line-btn{
    margin: 1rem auto 1rem auto;
  }
}

.new-line-btn span{
  font-size: 1rem;
}

.new-line-btn-col{
  color: #fff;
  padding: 0;
  min-height: 3.2rem;
  margin-left: 3rem;
  min-width: 160px;
}

.new-line-btn:focus{
  outline:none;
  border: 1px solid #fff;
}

.close-btn span{
  font-size: 2rem;
}
.close-btn:focus{
  outline:none;
  color: #000;
}

.new-line-btn:hover{
  color: #fff;
  background: #66444b;
}

#logo-partner{
  display: inline-block;
  vertical-align: middle;
  width: 100px;
  margin: 0 1rem;
  padding-bottom: 0.8rem;
}

#logo-partner img{
  height: 65px;
  vertical-align: bottom;
}
@media (max-width:780px){
  .values-holder{
    max-height: 1000px;
    /*max-height: 95px;
    overflow-x: scroll;
    overflow-y: hidden;*/
  }
  .values-bar{
    /*
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    */
    width: 100%;
    /*min-width: 480px;*/
    padding-bottom: 40px;
        align-items: center;
        justify-content: center;
  }

  .values-holder .item{
    margin: 0 0.2rem;
    text-align: center;
    width: calc((100% - 3rem) / 4);
    max-width: 108px;
    font-size: 1.2rem;
  }

  .values-holder .item span{
    font-size: 1rem;
    height: 32px;
    padding: 0 0.2rem;
    margin: 0 auto 0 auto;
    letter-spacing: 0.01rem;
  }

  .values-holder .item .value{
    height:45px;
    font-size: 1.6rem;
  }

  .item .button-holder button span{
    font-size: 1.3rem;
  }

  #result-values.values-holder .item .value,
  #savings-values.values-holder .item .value{
    font-size: 2rem;
    padding: 1rem 0.5rem;
  }
}

.progress-bar{
  background: #9ed5db;
  height: 60px;
  width: 100%;
  position: fixed;
  bottom:0;
  text-align: center;
  line-height: 30px;
  opacity: 1;
  display: block;
  z-index:1000;
  font-size: 0;
}
.progress-bar.hidden{
  opacity: 0;
  display: none;
}
@media (max-width:780px){
  .progress-bar{
    height: 50px;
    line-height: 25px;
  }
}

.progress-bar button{
  display: inline-block;
  background: transparent;
  vertical-align: top;
  border: none;
  padding: 1.2rem 2rem 0.8rem 2rem;
  font-size: 3rem;
  cursor: pointer;
  color: #896066; /*#006194;*/
}
@media (max-width:780px){
  .progress-bar button.progress-last{
    padding: 1rem 1.6rem;
    float: left;
  }
  .progress-bar button.progress-next{
    padding: 1rem 1.6rem;
    float: right;
  }
}
.progress-bar button:hover{
  color: #333;
}
.progress-bar button:focus{
  outline:none;
}
.progress-bar button.disabled{
  opacity: 0.3;
}

.progress-bar > ul{
  display: inline-block;
  text-align: center;
  margin-top:20px;
}

.progress-bar > ul li{
  display: inline-block;
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.progress-bar > ul li:before{
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  margin: 5px auto;
  background: rgba(255,255,255,0.5);
  border-radius: 7px;
}

.progress-bar > ul li.active:before{
  background: #896066;
}

@media (max-width:780px){
  .progress-bar > ul{
    margin-top:15px;
    width: calc(100% - 10rem);
  }
  .progress-bar > ul li{
    width: 22px;
    height: 22px;
  }
}

.earning-grp:first-child .close-btn{
  /*z-index: -1;*/
  opacity:0.2;
}

#screen-savings{
  /*min-height: 1200px;*/
}

#savings-chart{
  width: 100%;
  max-width: 680px;
  /*border: 2px solid rgba(0,0,0,0.1);*/
  padding: 0;
  margin: 2rem auto 8rem auto;

  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /*display: none;*/
}

#savings-chart.hidden{
  display: none;
}

#savings-chart svg{
  width: 100%;
}

.savings-text{
  margin-bottom: 4rem;
  color: #777;
}








/***************************/
/* Calendar */

.calendar{
  position: absolute;
  z-index:1000;
  display: none;
	opacity: 0;

  background: #fff;
  width: 100%;
  max-width: 210px;
  min-height: 40px;
  overflow: hidden;
  padding: 10px;
  margin: 1px 0 0 -1px;
  top: 30px;
  right: 0px;
  box-shadow: 0px 2px 8px rgba(0,0,0,0.15);

  transition: opacity 0.5s;
  -moz-transition: opacity 0.5s;
  -webkit-transition: opacity 0.5s;
}

@media (max-width: 620px){
  .calendar{
    max-width: 300px;
  }
}

.calendar.visible{
	display: block;
	opacity: 1;
}

.calendar .cal-title {
	position: relative;
	text-align: center;
	overflow: hidden;
	margin:0;
	padding:0;
}

.calendar ul{
	margin:0;
	padding:0;
	list-style-type: none;
  line-height: 1.2rem;
}

.calendar .cal-title a{
  display: inline-block;
  width: 25px; height: 30px;
  text-decoration: none;
  font-size: 2rem;
  color: #333;
  z-index:100;
}

.calendar .cal-title a:before{
  display: inline-block;
  width: 25px; height: 30px;
  text-decoration: none;
  font-size: 1rem;
  color: #000;
}
.calendar .cal-title a:hover:before{
  font-size: 1rem;
  color: #555;
}

.calendar .cal-title a.cal-prev-month:before,
.calendar .cal-title a.cal-prev-year:before{
  content: '◀';
}

.calendar .cal-title a.cal-next-month:before,
.calendar .cal-title a.cal-next-year:before{
  content: '▶';
}

.calendar .cal-title a.cal-next-year:before,
.calendar .cal-title a.cal-prev-year:before{
  color: #fff;
  opacity: 0.4;
}

.calendar .cal-title a:visited{
  color: #333;
}

.calendar .cal-title a:hover{
  color: #000;
}

.calendar .cal-title a:focus{
  outline: none;
}

.calendar .cal-title a.cal-next-month.disabled:before,
.calendar .cal-title a.cal-prev-month.disabled:before,
.calendar .cal-title a.cal-next-year.disabled:before,
.calendar .cal-title a.cal-prev-year.disabled:before{
  opacity: 0.2;
  cursor: auto;
}

.calendar .cal-title .cal-year{
  display: block;
  width: 100%;
  font-size: 1.5rem;
  background: #896066;/*#006194;*/
  color: #fff;
  padding: 0;
  margin-bottom: 4px;
  line-height: 2.5rem;
}

.calendar .cal-title .cal-year-num{
  display: inline-block;
  width: calc(100% - 70px);
  font-size: 1.5rem;
  text-transform: uppercase;
  background: transparent;
  border: 0;
  text-align: center;
  color: #fff;
}

.calendar .cal-title .cal-year-num:focus{
  background: rgba(255,255,255,0.08);
  box-shadow: 0;
  outline: none;
}

.calendar .cal-title span.cal-month{
  display: inline-block;
  width: calc(100% - 70px);
  font-size: 1.3rem;
  text-transform: uppercase;
}

.calendar .cal-week-days, .calendar .cal-month-days{
	display:block;
	clear:both;
	width: 100%;
	margin:0;
	padding:0;
	white-space: normal;
	font-size:0;
	text-align: left;
}

.calendar .cal-week-days{
	margin-top: 0px;
}

.calendar .cal-week-days li, .calendar .cal-month-days li{
  list-style: none;
  display: inline-block;
  width: calc( 100% / 7);
  padding:0; margin: 6px 0 2px 0;
  text-align: center;
  font-size:1.3rem;
  cursor: default;
}

.calendar .cal-week-days li{
  color: #896066;
}

.calendar .cal-month-days li{
  position: relative;
  margin: 0;
  cursor: pointer;
  color: #333;
  line-height: 1.8rem;
  padding: 0 0 0 0;
  overflow: visible;

  transition: background-color 0.3s;
  -moz-transition: background-color 0.3s;
  -webkit-transition: background-color 0.3s;
}
.calendar .cal-month-days li.disabled{
  cursor: auto;
  color: #bbb;
  z-index:10;

  transition: none;
  -moz-transition: none;
  -webkit-transition: none;
}

.calendar .cal-month-days li:not(.disabled):hover{
  color: #000;
}

.calendar .cal-month-days li:not(.disabled):after{
  content: '';
  display: block;
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 12px;
  left: 50%; top:50%;
  z-index:-1;
  background-color: #fff;

  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
}

.calendar .cal-month-days li:not(.disabled):hover:after{
  background-color: #e6ecee;
}

.calendar .cal-month-days li.today:after{
  background-color: #e6ecee;/*c6d7dc*/
}

@media (max-width: 620px){
  .calendar .cal-week-days li, .calendar .cal-month-days li{
    font-size:1.5rem;
    padding: 3px 0;
  }
}
/******************************
* end calendar
*******************************/
