/* ==========================================================================
  Styled to be removed after deploying to live Website
  ========================================================================== */

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
}

.tax-calculator {
  padding: 20px;
  background: #f3f3f3;
}

/* ==========================================================================
  Digidemon styles
  ========================================================================== */

.flex {
  display: flex;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
}

.flex-1 {
  -webkit-flex: 1;
  -ms-flex: 1;
  -moz-flex: 1;
  flex: 1;
}

.flex-2 {
  -webkit-flex: 2;
  -ms-flex: 2;
  -moz-flex: 2;
  flex: 2;
}

.tax-calculator {
  color: #6c716f;
  height: 100%;
}

.tax-calculator-content {
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  flex-wrap: wrap;
}

.tax-calculator-title {
  margin-bottom: 10px;
  align-items: center;
  text-transform: uppercase;
  border-bottom: 1px solid #c5c5c5;
  padding-bottom: 20px;
}

.tax-calculator-title .heading {
  font-weight: 700;
  font-size: 25px;
}

.button-tax-calc {
  font-size: 14px;
  font-weight: 400;
  text-align: right;
}

.button-tax-calc a {
  position: relative;
  cursor: pointer;
  text-decoration: none;
  background: #00a651;
  color: #fff;
  border: 1px solid #00a651;
  padding: 10px 30px 10px 30px;
}

.button-tax-calc a:hover {
  background: #fff;
  color: #00a651;
  -webkit-transition: all .2s ease;
  transition: all .2s ease;
}

.button-tax-calc a:after {
  content: "\f054";
  font-family: FontAwesome;
  margin-left: 15px;
}

.button-print-calc {
  text-align: right;
}

.printme {
  outline: none;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  text-decoration: none;
  background: #fff;
  color: #00a651;
  border: 1px solid #00a651;
  padding: 10px 30px 10px 30px;
}

.printme:hover {
  background: #00a651;
  color: #fff;
  -webkit-transition: all .2s ease;
  transition: all .2s ease;  
}

.printme:after {
  content: "\f02f";
  font-family: FontAwesome;
  margin-left: 15px; 
}

.tax-calculator hr {
  border-top: 1px solid #6c716f;
  margin: 10px 0;
}

.tax-calculator .tax-calculator-step {
  margin: 20px 0;
}

.tax-calculator-step label {
  font-size: 14px;
  font-weight: 600;
}

.tax-calculator .tax-calculator-step .stepindex {
  align-self: flex-start;
}

.tax-calculator .tax-calculator-step .tax-calculator-step-identifier {
  background: #00a651;
  color: #fff;
  padding: 5px 10px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.tax-calculator .tax-calculator-step .fieldswrapper {
  -webkit-flex: 8;
  -ms-flex: 8;
  -moz-flex: 8;
  flex: 8;
}

.tax-calculator .tax-calculator-step ul {
  -webkit-flex: 8;
  -ms-flex: 8;
  -moz-flex: 8;
  flex: 8;
  list-style-type: none;
  margin: 0px 20px;
  padding: 15px 20px;
  background: #fff;
}

.tax-calculator .tax-calculator-step ul li {
  margin: 10px 0px;
  align-items: center;
}

.tax-calculator .tax-calculator-step ul li input[type='text'] {
  outline: none;
  border: 1px solid #cacaca;
  text-align: center;
  padding: 8px 20px;
  margin-left: 0;
  margin-top: 0;
  margin-bottom: 0
}

.tax-calculator .tax-calculator-step .inputs {
  position: relative;
  display: flex;
  align-items: center;
}

.tax-calculator .tax-calculator-step .inputs .euro {
  background: #cacaca;
  color: #fff;
  border: 1px solid #cacaca;
  font-weight: 400;
  padding: 5px 10px;
}

.tax-calculator .tax-calculator-step .inputs.readonly-field .euro {
  background: rgba(0,166,81,0.7);
  color: #fff;
  border: 1px solid #fff;
  font-weight: 400;
  padding: 5px 10px;
}

.tax-calculator .tax-calculator-step ul li input[readonly] {
  background: rgba(0,166,81,0.7);
  border: 1px solid #fff;
  color: #fff;
}

.tax-calculator .tax-calculator-step ul li .field-tip {
  font-weight: 300;
  display: block;
  max-width: 300px;
  font-size: 12px;
  padding: 5px 0px 0px 0px;
}

.tax-calculator .tax-calculator-step ul .result-field {
  margin-top: 30px;
}

.tax-calculator .tax-calculator-step .error-field {
  border: 1px solid red !important;
}
.tax-calculator-results {
  position: relative;
  align-self: flex-start;
  padding: 30px 30px 20px 30px;
  margin-top: 20px;
  background: #00a651;
}

#tax-calculator-mobile-ribbon {
  display: none;
}

.tax-calculator-mobile-ribbon-close {
  display: none;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 18px;
  color: #fff;
  font-weight: 600;
  width: 30px;
  height: 30px;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.tax-calculator .tax-calculator-results .totals {
  padding: 0px 0px 10px 0px;
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 600;
  border-bottom: 1px solid #f7f7f7;
  width: 50px;
}

.tax-calculator .tax-calculator-results .totaleinsurance span,
.tax-calculator .tax-calculator-results .totaleinsurance #life_insurance_amount {
  font-weight: 600;
}

.button-tax-calc {
  margin: 20px 0px;
}

.button-tax-calc a {
  font-weight: 700;
  text-transform: uppercase;
  background: #fff;
  color: #00a651;
  border: 1px solid #fff;
  padding: 10px 30px 10px 30px;
}
.button-tax-calc a:hover {
  opacity: 0.8;
  -webkit-transition: all .2s ease;
  transition: all .2s ease;
}

.button-tax-calc .remark {
  font-size: 11px;
  font-weight: 300;
  margin: 20px 0px 0px 0px;
}

.tax-calculator .tax-calculator-results .footer-copyright-calc {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 20px 0px 0px 0px;
}

.tax-calculator .tax-calculator-results .watermark {
  background: url('../universal-life-logo.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right;
  width: 126px;
  height: 20px;
  opacity: 0.8;
}

.tax-calculator .tax-calculator-results .watermark img {
  display: none;
}

.tax-calculator .tax-calculator-results .credits {
  font-size: 9px;
  font-weight: 300;
  color: #eee;
}

.tax-calculator .tax-calculator-results .credits a {
  font-weight: 600;
  text-decoration: none;
  color: #eee;
}

.tax-calculator .tax-calculator-results .credits a:hover {
  color: #fff;
  -webkit-transition: all .2s ease;
  transition: all .2s ease;
}

.tax-calculator .tax-calculator-results ul {
  flex-direction: column;
  -webkit-flex-direction: column;
  -moz-flex-direction: column;
  justify-content: center;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  padding: 0;
  margin: 0;
  color: #fff;
  list-style-type: none;
}

.tax-calculator .tax-calculator-step ul.linebreak {
  margin-top: 2px;
}

.tax-calculator .tax-calculator-results ul li {
  margin-bottom: 10px;
}

.tax-calculator-results span {
  font-size: 16px;
  font-weight: 400;
  color: #f7f7f7;
  margin-bottom: 10px;
}

.tax-calculator-result {
  text-align: right;
}

.tax-calculator .tax-table-container {
  margin: 20px 0;
}

.tax-calculator #tax-table {
  flex-direction: column;
}

.tax-calculator .tax-table-title {
  padding: 10px 0;
}

.tax-calculator #tax-table .tablebody ul,
.tax-calculator #tax-table .tableheadings ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 5px solid #f3f3f3;
}

.tax-calculator #tax-table .tableheadings ul li {
  padding: 15px 10px;
}

.tax-calculator #tax-table .tablebody ul li {
  padding: 8px 10px;
}

.tax-calculator #tax-table .tablebody ul {
  background: #fff;
  border-bottom: 2px solid #f3f3f3;
  font-size: 13px;
}

.tax-calculator #tax-table .tableheadings {
  background: #00a651;
  color: #fff;
  font-size: 12px;
  text-align: left;
  font-weight: 600;
}

.tax-calculator #tax-table ul.selected-row {
  background: rgba(0,166,81,0.1);
  -webkit-transition: all .2s ease;
  transition: all .2s ease;
}

.tax-calculator #error-tooltip {
  position: absolute;
  z-index: 3;
  top: -15px;
  left: -170px;
}

.tax-calculator #error-tooltip .error-tooltip-bubble {
  position: relative;
  background: #00a651;
  color: #fff;
  width: 145px;
  height: 45px;
  border-radius: 15px;
  font-size: 11px;
  padding: 5px;
  text-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.tax-calculator #error-tooltip .error-tooltip-arrow {
  position: absolute;
  left: 100%;
  top: 30%;
  border: 10px solid transparent;
  border-left: 10px solid #00a651;
}


/* ==== Tablet Version ==== */
@media only screen and (min-width: 768px ) and (max-width: 940px) {
  .tax-calculator .tax-calculator-step ul li input[type='text'] {
    border-radius: 0;
    -webkit-appearance: none;
  }
  .tax-calculator .tax-calculator-step {
    flex-direction: column;
  }
  .tax-calculator .tax-calculator-step ul {
    flex: 5;
    margin: 0px 20px 0px 0px;
  }
  .tax-calculator .tax-calculator-results ul li {
    flex-direction: column;
    border-bottom: 1px solid #f3f3f3;
  }
  .tax-calculator .tax-calculator-results .footer-copyright-calc {
    border-bottom: none;
    align-items: flex-end;
    flex-direction: column-reverse;
  }
  .tax-calculator .tax-calculator-results .watermark {
    margin-bottom: 10px;
  }
  .tax-calculator-results span { text-align: left;}
}

/* ==== Mobile Version ==== */
@media only screen and (max-width: 767px) {
  .tax-calculator .tax-calculator-step ul li input[type='text'] {
    border-radius: 0;
    -webkit-appearance: none;
  }
  .tax-calculator {
    padding: 30px 20px 100px 20px;
  }
  .tax-calculator-title {
    text-align: left;
    font-size: 20px;
  }
  .tax-calculator-title .button-tax-calc {
    display: none;
  }
  .tax-calculator .stepindex {
    margin-bottom: 0px;
  }
  .tax-calculator .tax-calculator-step {
    flex-direction: column;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    margin: 10px 0px 30px 0px;
  }
  .tax-calculator .tax-calculator-step ul li {
    flex-direction: column;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    margin: 0px;
  }
  .tax-calculator .stepindex {
    max-width: 100px;
  }
  .tax-calculator .tax-calculator-step ul {
    margin: 0;
  }
  .tax-calculator-step label {
    font-size: 12px;
    margin-bottom: 5px;
  }
  .tax-calculator .tax-calculator-step .inputs .euro {
    margin-bottom: 0;
  }
  .tax-calculator .tax-calculator-step .inputs {
    border-bottom: 1px solid #cacaca;
    padding-bottom: 15px;
    margin-bottom: 10px;
  }
  #tax-calculator-mobile-ribbon {
    cursor: pointer;
    display: flex;
    display: -webkit-flex;
    display: -moz-flex;
    position: fixed;
    padding: 20px 0px;
    bottom: 0;
    left: 0;
    background: #00a651;
    color: #fff;
    width: 100%;
  }
  #tax-calculator-mobile-ribbon .mobile-modal {
    display: flex;
    display: -webkit-flex;
    display: -moz-flex;
    position: absolute;
    right: 15px;
    top: 23px;
    color: #fff;
  }
  #tax-calculator-mobile-ribbon .mobile-modal:before {
    content: "\f077";
    font-size: 13px; 
    font-family: FontAwesome;
  }
  #tax-calculator-mobile-ribbon .tax-calculator-mobile-ribbon-title,
  #tax-calculator-mobile-ribbon #tax-calculator-mobile-ribbon-amount {
    padding-left: 15px;
    font-size: 14px;
    font-weight: 400;
  }
  .tax-calculator-mobile-ribbon-close {
    cursor: pointer;
    display: flex;
    width: 50px;
    height: 50px;
  }
  .tax-calculator-results {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border-radius: 0;

  }
  .tax-calculator-content {
    flex-direction: column;
  }
  .tax-calculator .tax-calculator-results ul {
    padding: 20px 30px;
  }
  .tax-calculator .tax-calculator-results .footer-copyright-calc {
    display: flex;
    position: absolute;
    bottom: 20px;
    margin: 0;
  }
  .tax-calculator .tax-calculator-results .credits {
    left: 0;
  }
  .tax-calculator .tax-calculator-results .watermark {
    background-position: right;
    position: absolute;
    right: 60px;
  }
  .tax-calculator #error-tooltip {
    right: 0;
    left: auto;
  }

  .tax-calculator #error-tooltip .error-tooltip-bubble {
    width: 100px;
    height: 40px;
    border-radius: 12px;
    font-size: 10px;
  }

  .tax-calculator #error-tooltip .error-tooltip-arrow {
    left: -10px;
    border: 10px solid transparent;
    border-right: 10px solid #00a651;
    border-left: none;
  }
}

/*Similar to iPhone4*/

@media only screen and (max-width: 320px) {
  .tax-calculator-results {
    height: 100vh;
    overflow: scroll;
  }
  .tax-calculator-mobile-ribbon-close {
    position: fixed;
    top: 0;
    right: 0;
    background: rgba(1, 113, 56, 0.5);
    width: 45px;
    height: 45px;
  }
  .tax-calculator .tax-calculator-results ul .button-tax-calc-li {
    margin: 20px 0px 40px 0px;
  }
  .tax-calculator .tax-calculator-results .footer-copyright-calc {
    position: initial;
    display: flex;
    align-items: center;
    width: 100%;
    margin: 20px 0px 0px 0px;   
  }
  .tax-calculator .tax-calculator-results .watermark {
    position: initial;
  }
  .tax-calculator #error-tooltip .error-tooltip-bubble {
    width: 80px;
    height: 50px;
    font-size: 9px;
  }

  .tax-calculator #error-tooltip .error-tooltip-arrow {
    top: 32%;
  }
}

/*Landscape Phones*/

@media only screen and (max-height: 490px) {
  .tax-calculator-results {
    height: 100vh;
    overflow: scroll;
  }
  .tax-calculator-mobile-ribbon-close {
    position: fixed;
    top: 0;
    right: 0;
    background: rgba(1, 113, 56, 0.5);
    width: 45px;
    height: 45px;
  }
  .tax-calculator .tax-calculator-results ul .button-tax-calc-li {
    margin: 20px 0px 40px 0px;
  }
  .tax-calculator .tax-calculator-results .footer-copyright-calc {
    position: initial;
    display: flex;
    align-items: center;
    width: 100%;
    margin: 20px 0px 0px 0px;   
  }
  .tax-calculator .tax-calculator-results .watermark {
    position: initial;
  }
}

/*Printer Friendly Version*/


@media print {	
	
	/*.footer { display: none; } */
	.footer-top{display: none;}
	.developedBy{display: none;}
.breadcrumb_bar { display: none; }
.footer-copyright-calc { display: none; }

  .tax-calculator .tax-table-container,
  .button-tax-calc-li,
  .button-print-calc {
    display: none;
  }
  .tax-calculator-title {margin: 0px 0px 20px 0px; padding-bottom: 5px;}
  .tax-calculator-title .heading {font-size: 13px;}
  .tax-calculator-content {
    display: block;
  }
  #tax-calculator-step-1, 
  #tax-calculator-step-2 {
    width: 50%;
    float: left;
    margin: 0;
    padding: 0;
  }
  #tax-calculator-step-3 {
    width: 100%;
    float: left;
    margin: 0;
    padding: 0;
  }
  .tax-calculator-content .tax-calculator-steps,
  .tax-calculator-content .tax-results-wrapper {
    width: 100%;
    float: left;
    margin: 0;
    display: block;
  }
  .tax-calculator .tax-calculator-step {
    display: block;
  }
  .tax-calculator .tax-calculator-step .stepindex {
    float: left;
    width: 100%;
  }
  .tax-calculator .tax-calculator-step .fieldswrapper {
    float: left;
    width: 100%;      
  }
  .tax-calculator-step label {
    font-size: 11px; 
    font-weight: 300;
    margin: 0;
  }
  .tax-calculator .tax-calculator-step .inputs .euro,
  .tax-calculator .tax-calculator-step ul {margin:0; padding: 0;}
  .tax-calculator .tax-calculator-step ul li {display: block; margin: 10px 0px;}
  .tax-calculator .tax-calculator-step ul li .field-tip {font-size: 9px;margin: 0;}

  .tax-calculator .tax-calculator-step .inputs .euro,
  .tax-calculator .tax-calculator-step .inputs.readonly-field .euro {
    background: #fff;
    color: #666;
    border: none;
    font-size: 11px;
    font-weight: 300;
    padding: 0px 5px;
  }

  .tax-calculator .tax-calculator-step ul li input[type='text'],
  .tax-calculator .tax-calculator-step ul li input[readonly] {
    text-align: left;
    background: #fff;
    color: #666;
    border: none;
    font-size: 11px;
    font-weight: 300;
    padding: 0px 5px;
  }
  .tax-calculator .tax-calculator-step .tax-calculator-step-identifier {font-size: 11px;}
  .tax-calculator .tax-calculator-step .tax-calculator-step-identifier {background:#fff; color:#666;padding: 0;}
  .tax-calculator .tax-calculator-step ul {
    margin: 0;
  }
  .tax-calculator-results {
    background: #fff;
    padding: 0;
    margin: 10px 0px;
  }
  .tax-calculator .tax-calculator-results .totals {
    font-size: 14px;
    color: #666;
    border-bottom: 1px solid #666;
  }
  .tax-calculator-results span {
    font-size: 12px;
    color: #666;
    float: left;
    width: 50%;
  }
  .tax-calculator .tax-calculator-results ul li {
    margin: 0;
  }
  .tax-calculator .tax-calculator-results .watermark {
    background: none;
  }
  .tax-calculator .tax-calculator-results .watermark img {
    display: block;
    max-width: 100px;
  }
}