input[type=range] {
    height:40px;
    background: transparent;
    border: none;
}

/*webkit*/
input[type=range]::-webkit-slider-thumb { 
    -webkit-appearance: none;
    margin-top:-14px;
	width: 32px;
	height: 32px;

    cursor:pointer;

    background:#fff;
    box-shadow: none;
    border: 4px solid #00ABAF;
    border-radius: 16px;
}
input[type=range]::-webkit-slider-runnable-track {
    height: 4px;
    cursor: pointer;
    border-radius: 4px;

    background:url('data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTAwMCAxMDAwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPiAgIDxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAwIiBoZWlnaHQ9IjEwMDAiIGZpbGw9IiMwMEFCQUYiLz48L3N2Zz4=') repeat-y #cacaca;
    background-size:0;
}

/*moz*/
input[type=range]::-moz-range-thumb {
	width: 32px;
	height: 32px;
    
    cursor:pointer;

    background:#fff;
    box-shadow: none;
    border: 4px solid #00ABAF;
    border-radius: 16px;
}
input[type=range]::-moz-range-track {
    height: 4px;
    cursor: pointer;
    border-radius: 3px;

    background: #c9c9c9;
}
input[type=range]::-moz-range-progress {
    height: 5px;
    cursor: pointer;
    border-radius: 3px;

    background:#00ABAF;
}
input[type=range]::-moz-focus-outer {
    border: 0;
}

/*ie*/
input[type=range]::-ms-thumb {
	width: 32px;
	height: 32px;
    margin-top:-1px;
    overflow:visible;

    background:#fff;
    box-shadow: none;
    border: 4px solid #00ABAF;
    border-radius: 20px;
}
input[type=range]::-ms-track {
    height: 4px;
    cursor: pointer;

    color: transparent;
    background: #c9c9c9;

    border: 1px solid #00ABAF;
    border-radius: 4px;
}
input[type=range]::-ms-fill-lower {
    background: #00ABAF;
    border-radius: 4px;
}
input[type=range]::-ms-tooltip {
    display: none;    
}

input[type=range].green::-webkit-slider-thumb {
    border: 4px solid #00ABAF;
}

input[type=range].green::-webkit-slider-runnable-track {
  background:url('data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTAwMCAxMDAwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPiAgIDxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAwIiBoZWlnaHQ9IjEwMDAiIGZpbGw9IiMwMEFCQUYiLz48L3N2Zz4=') repeat-y #cacaca;
}

input[type=range].green::-moz-range-thumb {
    border: 4px solid #00ABAF;
}

input[type=range].green::-ms-thumb {
    border: 4px solid #00ABAF;
}

@media screen and (min-width:667px) {
    /*webkit*/
    input[type=range]::-webkit-slider-thumb { 
        -webkit-appearance: none;
        margin-top:-15px;
        width: 32px;
        height: 32px;
    
        cursor:pointer;
    
        background:#fff;
        box-shadow: none;
        border: 4px solid #00ABAF;
        border-radius:16px;
    }
    
    /*moz*/
    input[type=range]::-moz-range-thumb {
        width: 32px;
        height: 32px;
        
        cursor:pointer;
    
        background:#fff;
        box-shadow: none;
        border: 4px solid #00ABAF;
        border-radius:16px;
    }
    /*ie*/
    input[type=range]::-ms-thumb {
        width: 32px;
        height: 32px;
        margin-top:-1px;
        overflow:visible;
    
        background:#fff;
        box-shadow: none;
        border: 4px solid #00ABAF;
        border-radius:16px;
    }
}
#calculator {
  position: relative;
  padding: 0;
  margin: 0 0 40px 0;
  text-align: center;
  white-space: nowrap;
  font-size: 18px;
  font-weight: 300;
  color: #2c2e2e;
}

#calculator::after {
  display: block;
  content: '';
  clear: both;
}

#calculator input {
  margin: 0px;
  padding: 0px;
  text-align: center;
  font-size: 20px;
  font-weight: 300;
  color: #2c2e2e;
  outline: none;
  border: none;
  -webkit-appearance: none;
}

#calculator .tel-block,
#calculator .tel-block p {
  font-size: 16px !important;
  margin: 0px;
}

a.tel {

  color: #00ABAF;
}

#calculator .grace-header {
  color: red;
  text-align: center;
  font-size: 24px;
  margin-bottom: 15px;
  white-space: normal;
  min-height: 50px;
}

#calculator div.tm-header {
  width: 450px;
  color: #2d3c60;
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
  white-space: normal;
  word-wrap: break-word;
  padding: 3px 10px;
  border: 1px solid #fff;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 4px 15px 0 rgba(0, 0, 0, .15);
  text-align: center;
  margin: 0 auto;
}

#calculator .scrolls {
  position: relative;
  width: 60%;
  display: inline-block;
  vertical-align: top;
}

#calculator .scrolls>div {
  position: relative;
  margin-bottom: 20px;
}

#calculator .scroll-header {
  font-size: 22px;
  padding-top: 5px;
  padding-bottom: 5px;
}

#calculator .rectangle {
  display: inline-block;
  margin: 0 20px 0 32px;
  height: 190px;
  width: 1px;
  background-color: #ecf0f4;
}

#calculator .summary {
  width: 33%;
  float: left;
  vertical-align: top;
  font-size: 18px;
  text-align: left;
  white-space: normal;
  line-height: 1.4;
}

#calculator .promo-text{
  font-size: 22px;
  padding-bottom: 5px;
  color: #00ABAF;
}

#calculator .summary .left,
#calculator .summary .right {
  vertical-align: top;
  line-height: 10px;
  font-size: 18px;
  line-height: 17px;
}

#calculator .summary .left {
  display: inline-block;
  padding-bottom: 17px;
}

#calculator .summary strong {
  float: right;
}

#calculator label {
  position: absolute;
  top: 35px;
  color: #2c2e2e;
  font-style: normal;
  font-size: 21px;
}

#calculator label.a {
  display: none;
}

#calculator label.b {
  display: none;
}

#calculator span {
  z-index: 2;
  font-size: 16px;
  position: absolute;
  bottom: -23px;
  color: #adadad;
}

#calculator span.a {
  left: 0px;
}

#calculator span.b {
  right: 0px;
}

#calculator p {
  font-size: 16px;
  white-space: initial;
  word-wrap: break-word;
}

#calculator .payment {
  white-space: pre;
}

#calculator strong {
  font-weight: 500;
  color: #00ABAF;
}

/* number */
#calculator input[type=number] {
  display: none;
  height: auto;
  width: 80px;
  margin-top: 10px;
  padding: 5px 0px;
  border: 1px #bdbdbd solid;
  border-radius: 2px;
  text-align: center;
  font-style: normal;

  -moz-appearance: textfield;
}

#calculator input[type=number]::-webkit-inner-spin-button,
#calculator input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/*submit*/
#calculator input[type=button] {
  display: none;
  margin-top: 20px;
  padding: 0 35px;
  line-height: 50px;
  font-weight: 300;
  background-color: #ecd94a;
  border-radius: 4px;
}

#calculator input[type=button]:hover {
  background-color: #f4b613;
}

#calculator input[type=button]:active {
  color: #ecd94a;
  background-color: #2c2e2e;
}

/* range */
#calculator input[type=range] {
  display: block;
  width: 100%;
  margin: 0 auto;
}

@media screen and (min-width:850px) {
  #calculator {
    font-size: 24px;
  }

  #calculator label {
    line-height: 40px;
  }

  #calculator label.a {
    display: none;
  }

  #calculator label.b {
    display: none;
  }

  #calculator p {
    font-size: 20px;
  }

  #calculator input[type=button] {
    position: absolute;
    top: 45px;
    right: 0;
    font-size: 24px;
    line-height: 90px;
  }
}

@media screen and (max-width:850px) {
  #calculator {
    margin-bottom: 20px;
  }

  #calculator .scrolls {
    width: 100%;
    margin-top: 15px;
  }

  #calculator .summary {
    width: 100%;
    float: none;
  }

  #calculator .rectangle {
    display: none;
  }

  #calculator .grace-header {
    font-size: 22px;
    margin-bottom: 15px;
    padding-top: 15px;
    min-height: 50px;
  }

  #calculator div.tm-header {
    top: 46%;
    left: 13%;
    width: 65%;
  }

  #calculator div.tm-header.grace {
    top: 56%;
  }

  #calculator .summary {
    margin-top: 5px;
  }
}
#calc-content section #status {
  position: relative;
  padding: 20px 4%;
}

#calc-content section #status::after {
  display: block;
  content: '';
  clear: both;
}

#calc-content section #link {
  float: right;
}

@media screen and (max-width:850px) {
  #link {
    margin-top: 20px;
  }
}

#calc-content section span.approve,
#calc-content section span.wait {
  display: inline-block;
  height: 150px;
  width: 150px;
  margin-right: 20px;
  background-repeat: no-repeat;
  background-position: center center;
}


#calc-content section span.approve {
  background-image: url(../images/approve.png);
}

#calc-content section span.wait {
  background-image: url(../images/loader.svg);
  background-size:120px;
}

#calc-content section #deniedLink {
  text-align: center;
}
#calc-content section .block {
    text-align:justify;
    line-height: 0px;
}
#calc-content section .block:after {
    content: '';
    display: inline-block;
    width: 100%;
}

#calc-content section .block label {
    text-align:center;
}
#calc-content section input,
#calc-content section select {
    outline:none;
    -webkit-appearance:none;
    -moz-appearance:none;
}
select::-ms-expand {
    display:none;
}
input[type=number] {
    -moz-appearance:textfield;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#calc-content section input[type=text],
#calc-content section input[type=password],
#calc-content section input[type=tel],
#calc-content section input[type=email],
#calc-content section input[type=number],
#calc-content section select {
    height: 48px;
    padding-left:5%;

    font-size:1.1em;
    font-weight:400;
    color:#2c2e2e;

    background-color: #fff;

    border:1px solid silver;
    border-radius:2px;
}

#calc-content section select.active,
#calc-content section select option {
    color:#2c2e2e;
}
#calc-content section select {
    color: #aaaab9;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjEiIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iMzJweCIgaGVpZ2h0PSIzMnB4IiB2aWV3Qm94PSIwIDAgNDUxLjg0NyA0NTEuODQ3IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA0NTEuODQ3IDQ1MS44NDc7IiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBmaWxsPSIjNDE0ODY3IiBkPSJNMjI1LjkyMywzNTQuNzA2Yy04LjA5OCwwLTE2LjE5NS0zLjA5Mi0yMi4zNjktOS4yNjNMOS4yNywxNTEuMTU3Yy0xMi4zNTktMTIuMzU5LTEyLjM1OS0zMi4zOTcsMC00NC43NTEgICBjMTIuMzU0LTEyLjM1NCwzMi4zODgtMTIuMzU0LDQ0Ljc0OCwwbDE3MS45MDUsMTcxLjkxNWwxNzEuOTA2LTE3MS45MDljMTIuMzU5LTEyLjM1NCwzMi4zOTEtMTIuMzU0LDQ0Ljc0NCwwICAgYzEyLjM2NSwxMi4zNTQsMTIuMzY1LDMyLjM5MiwwLDQ0Ljc1MUwyNDguMjkyLDM0NS40NDlDMjQyLjExNSwzNTEuNjIxLDIzNC4wMTgsMzU0LjcwNiwyMjUuOTIzLDM1NC43MDZ6IiAvPjwvc3ZnPg==);
    background-size: 18px;
    background-repeat: no-repeat;
    background-position: right 12px center;
}
#calc-content section select option[disabled] {
    color: #aaaab9;
}

@media screen and (min-width:850px) {
    #calc-content section input[type=text],
    #calc-content section input[type=password],
    #calc-content section input[type=tel],
    #calc-content section input[type=email],
    #calc-content section input[type=number],
    #calc-content section select {
        padding-left:12px;
    }
}

#calc-content section input[type=text]:focus,
#calc-content section input[type=password]:focus,
#calc-content section input[type=tel]:focus,
#calc-content section input[type=email]:focus,
#calc-content section input[type=number]:focus,
#calc-content section select:focus {
    border:1px solid #b6b6b6;
}

#calc-content section input[type=text].hidden {
    visibility: hidden;
    position: absolute;
}

#calc-content section input[type=text].error,
#calc-content section input[type=text].invalid,
#calc-content section input[type=text].input-validation-error,
#calc-content section input[type=password].error,
#calc-content section input[type=password].invalid,
#calc-content section input[type=password].input-validation-error,
#calc-content section input[type=tel].error,
#calc-content section input[type=tel].invalid,
#calc-content section input[type=tel].input-validation-error,
#calc-content section input[type=email].error,
#calc-content section input[type=email].invalid,
#calc-content section input[type=email].input-validation-error,
#calc-content section input[type=number].error,
#calc-content section input[type=number].invalid,
#calc-content section input[type=number].input-validation-error,
#calc-content section select.error,
#calc-content section select.invalid,
#calc-content section select.input-validation-error {
    border-color: red;
}
#calc-content section input[type=text].valid,
#calc-content section input[type=password].valid,
#calc-content section input[type=tel].valid,
#calc-content section input[type=email].valid,
#calc-content section input[type=number].valid,
#calc-content section select.valid {
    color:#0a770a;
}


#calc-content section input[type=checkbox] {
    position:absolute;
    top:-1px;
    left:-1px;
    width:30px;
    height:30px;
    opacity:0;
}
#calc-content section input[type=checkbox] ~ label:before {
    content:'';
    display:inline-block;
    cursor:pointer;
    width: 22px;
    height: 21px;
    margin: 1px 10px 0 1px;
    vertical-align:top;

    background-color: white;
    border: 1px solid silver;
    border-radius: 4px;
}
#calc-content section input[type=checkbox]:checked ~ label:before,
#calc-content section input[type=checkbox]:checked + label:before {
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIgIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjIwcHgiIHZpZXdCb3g9IjAgMCAzMiAzMiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgc3R5bGU9ImZpbGw6ICMwMDA7Ij48cGF0aCBkPSJNMSAxNCBMNSAxMCBMMTMgMTggTDI3IDQgTDMxIDggTDEzIDI2IHoiPjwvcGF0aD48L3N2Zz4=);
    background-repeat: no-repeat;
    background-position: 2px 2px;
    background-size: 18px;
}
#calc-content section input[type=checkbox].invalid ~ label:before,
#calc-content section input[type=checkbox].input-validation-error ~ label:before {
    outline-color: #9e3131;
}
#calc-content section input[type=checkbox].invalid + label:before,
#calc-content section input[type=checkbox].input-validation-error + label:before {
    outline-color: #9e3131;
}

#calc-content section .invalid-msg,
#calc-content section .field-validation-error {
  font-size: 13px;
  color: red;
  white-space: nowrap;
}

#calc-content section .quadro .input {
    width: 48%;
}

#calc-content section .checkbox {
    position:relative;
    margin-bottom: 22px;
}
#calc-content section .checkbox .invalid-msg,
#calc-content section .checkbox .field-validation-error {
    position: absolute;
    bottom: -25px;
    left: 0px;
    right: 0px;
}


#calc-content section .input {
    display:inline-block;
    margin-top: 25px;
    margin-bottom: 25px;
    vertical-align:top;
    position:relative;
    width:100%;
}

#calc-content section .input:empty {
    display: none;
}

#calc-content section .input input,
#calc-content section .input select {
    width:100%;
    box-sizing:border-box;
    border-radius: 6px;
    vertical-align:top;
    font-size: 20px;
    line-height:1em;
}

#calc-content section .input label {
    display:block;
    margin: 0 auto 10px auto;
    white-space:nowrap;
    position: absolute;
    left: 0;
    pointer-events: none;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
}

#calc-content section select ~ label,
#calc-content section .input input ~ label {
    top: -13px;
    color: #8f8da3;
    text-transform: none;
}

#calc-content section .input .invalid-msg,
#calc-content section .input .field-validation-error {
    position: absolute;
    bottom: -10px;
    left: 2px;
}

@media screen and (min-width:850px) {
    #calc-content section {
        text-align:left;
    }
    #calc-content section .input {
        width:32%;
        margin-top: 0;
        margin-bottom: 17px;
        padding-top: 25px;
    }
    #calc-content section .input:empty {
        display: inline-block;
    }  
    #calc-content section .input input,
    #calc-content section .input select {
      width:100%;
    }
    #calc-content section .input label {
        display: inline-block;
    }
    #calc-content section select ~ label,
    #calc-content section .input input ~ label {
        top: 10px;
    }
    #calc-content section .quadro .input {
        width: 23.5%;
  } 
}


#calc-content section a.button {
    display:inline-block;
    text-decoration:none;
}
#calc-content section input.button,
#calc-content section a.button {
    position:relative;
    padding: 1px 34px;
    margin-bottom:5px;

    line-height:46px;
    font-weight:400;
    color: #2c2e2e;

    cursor:pointer;
    border:none;
    border-radius: 2px;
    background-repeat: no-repeat;
    background-color: #f4d723;
    box-sizing: border-box;
}
#calc-content section input.button:hover {
    background-color: #f4c623;
}
#calc-content section a.button:hover {
    background-color: #f4c623;
    text-decoration:none;
}
#calc-content section input.button:active,
#calc-content section a.button:active {
    color: #f4d723;
    background-color: #273659;
}
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */

/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS and IE text size adjust after device orientation change,
 *    without disabling user zoom.
 */

html {
  font-family: sans-serif; /* 1 */
  -ms-text-size-adjust: 100%; /* 2 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/**
 * Remove default margin.
 */

body {
  margin: 0;
}

/* HTML5 display definitions
   ========================================================================== */

/**
 * Correct `block` display not defined for any HTML5 element in IE 8/9.
 * Correct `block` display not defined for `details` or `summary` in IE 10/11
 * and Firefox.
 * Correct `block` display not defined for `main` in IE 11.
 */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
}

/**
 * 1. Correct `inline-block` display not defined in IE 8/9.
 * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
 */

audio,
canvas,
progress,
video {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */

audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Address `[hidden]` styling not present in IE 8/9/10.
 * Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.
 */

[hidden],
template {
  display: none;
}

/* Links
   ========================================================================== */

/**
 * Remove the gray background color from active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * Improve readability of focused elements when they are also in an
 * active/hover state.
 */

a:active,
a:hover {
  outline: 0;
}

/* Text-level semantics
   ========================================================================== */

/**
 * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
 */

abbr[title] {
  border-bottom: 1px dotted;
}

/**
 * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
 */

b,
strong {
  font-weight: bold;
}

/**
 * Address styling not present in Safari and Chrome.
 */

dfn {
  font-style: italic;
}

/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari, and Chrome.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/**
 * Address styling not present in IE 8/9.
 */

mark {
  background: #ff0;
  color: #000;
}

/**
 * Address inconsistent and variable font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove border when inside `a` element in IE 8/9/10.
 */

img {
  border: 0;
}

/**
 * Correct overflow not hidden in IE 9/10/11.
 */

svg:not(:root) {
  overflow: hidden;
}

/* Grouping content
   ========================================================================== */

/**
 * Address margin not present in IE 8/9 and Safari.
 */

figure {
  margin: 1em 40px;
}

/**
 * Address differences between Firefox and other browsers.
 */

hr {
  box-sizing: content-box;
  height: 0;
}

/**
 * Contain overflow in all browsers.
 */

pre {
  overflow: auto;
}

/**
 * Address odd `em`-unit font size rendering in all browsers.
 */

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Forms
   ========================================================================== */

/**
 * Known limitation: by default, Chrome and Safari on OS X allow very limited
 * styling of `select`, unless a `border` property is set.
 */

/**
 * 1. Correct color not being inherited.
 *    Known issue: affects color of disabled elements.
 * 2. Correct font properties not being inherited.
 * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
 */

button,
input,
optgroup,
select,
textarea {
  color: inherit; /* 1 */
  font: inherit; /* 2 */
  margin: 0; /* 3 */
}

/**
 * Address `overflow` set to `hidden` in IE 8/9/10/11.
 */

button {
  overflow: visible;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
 * Correct `select` style inheritance in Firefox.
 */

button,
select {
  text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */

button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button; /* 2 */
  cursor: pointer; /* 3 */
}

/**
 * Re-set default cursor for disabled elements.
 */

button[disabled],
html input[disabled] {
  cursor: default;
}

/**
 * Remove inner padding and border in Firefox 4+.
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */

input {
  line-height: normal;
}

/**
 * It's recommended that you don't attempt to style these elements.
 * Firefox's implementation doesn't respect box-sizing, padding, or width.
 *
 * 1. Address box sizing set to `content-box` in IE 8/9/10.
 * 2. Remove excess padding in IE 8/9/10.
 */

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Fix the cursor style for Chrome's increment/decrement buttons. For certain
 * `font-size` values of the `input`, it causes the cursor style of the
 * decrement button to change from `default` to `text`.
 */

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari and Chrome.
 */

input[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  box-sizing: content-box; /* 2 */
}

/**
 * Remove inner padding and search cancel button in Safari and Chrome on OS X.
 * Safari (but not Chrome) clips the cancel button when the search input has
 * padding (and `textfield` appearance).
 */

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * Define consistent border, margin, and padding.
 */

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct `color` not being inherited in IE 8/9/10/11.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */

legend {
  border: 0; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Remove default vertical scrollbar in IE 8/9/10/11.
 */

textarea {
  overflow: auto;
}

/**
 * Don't inherit the `font-weight` (applied by a rule above).
 * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
 */

optgroup {
  font-weight: bold;
}

/* Tables
   ========================================================================== */

/**
 * Remove most spacing between table cells.
 */

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

.async-hide {
  opacity: 0 !important
}

noscript img {
  display: none;
}

#status .wait,
#wait .wait {
  background-image: url(../images/loader.svg);
  height: 150px;
  width: 150px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 128px;
  text-align: center;
  padding-top: 60px;
  box-sizing: border-box;
  animation: rota 10s linear infinite;
}

@keyframes rota {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#status .timer {
  position: absolute;
  width: 150px;
  left: 4%;
  text-align: center;
  top: 112px;
  line-height: 30px;
  font-size: 35px;
}

@media screen and (max-width:850px) {
  #status .timer {
    top: 82px;
  }
}

/***** COMMON ******/
#calc-content section a {
  color: #2d3c5c;
  text-decoration: none;
  white-space: nowrap;
}

#calc-content section a:hover {
  border-bottom-color: transparent;
}

#calc-content section b,
#calc-content section strong {
  font-weight: 400;
}

#calc-content section h1 {
  font-weight: 400;
  font-size: 1.5em;
  line-height: 1.1em;
  color: #2c2e2e;
}

#calc-content section h2 {
  font-weight: 400;
  font-size: 1.3em;
  color: #2c2e2e;
}

#calc-content section h3 {
  font-weight: 400;
  font-size: 1em;
  color: #2c2e2e;
}

#calc-content section hr {
  display: none;
}

#calc-content section h1 a,
#calc-content section h2 a,
#calc-content section h3 a {
  margin-right: 10px;
  line-height: 1.1em;
}

#calc-content section label,
#calc-content section label a {
  font-size: 18px;
  color: #8f8da3;
}

#calc-content section label a {
  color: #00ABAF;
}

#calc-content section p {
  margin-top: 0px;
  margin-bottom: 10px;
  font-size: 20px;
  color: #2c2e2e;
}

#calc-content section p span {
  font-style: italic;
  display: block;
}

#calc-content section p span.gracefake {
  display: inline;
  white-space: pre-wrap;
}

#calc-content section .normal_height {
  line-height: normal;
}

#calc-content section p.sms-code {
  display: inline-block;
  height: 20px;
  margin-top: 4px;
  margin-bottom: 0px;
  border-bottom: 1px dashed #00ABAF;
  font-size: 17px;
  cursor: pointer;
}

#calc-content section div.sms-info {
  display: inline-block;
  height: 24px;
  margin-top: 0px;
  margin-bottom: 0px;
  font-size: 17px;
}

#calc-content section .underline {
  text-decoration: underline;
}

#calc-content section .block-header {
  display: inline-block;
  margin-bottom: 17px;
  font-size: 22px;
  color: #2c2e2e;
}

.rub {
  position: relative !important;
  display: inline-block;
  bottom: 0 !important;
}

.rub:before {
  position: absolute;
  content: "\2013";
  top: .15em;
  left: -.05em;
}

@media screen and (min-width:850px) {
  #calc-content section p {
    margin-top: 32px;
  }

  #calc-content section p span {
    display: inline-block;
    vertical-align: middle;
  }

  #calc-content section .block-header {
    margin-bottom: 17px;
  }
}

/***** buttons *****/
#buttons:after {
  display: block;
  clear: both;
  content: '';
}

@media screen and (min-width:850px) {
  #buttons .prev {
    float: left;
  }

  #buttons .next {
    float: left;
  }

  #buttons .right {
    float: right;
  }
}

#calc-content section .hide {
  display: none;
}

noscript,
#noscript {
  display: none;
  padding: 10px 10% 20px 10%;
  line-height: 40px;
  text-align: center;
  font-size: 1.5em;
}

.white-space {
  white-space: normal;
}

#dadata-config {
  display: none;
}

.none {
  display: none !important;
}

#new-year {
  padding-bottom: 10px;
  text-align: center;
  color: grey;
}

.insure-info {
  text-align: center;
}

.insure-header {
  text-align: left;
  font-size: 20px;
  font-weight: 400;
  padding: 20px 40px 30px 70px;
  background: url(../images/alfa.jpg) no-repeat 100% 12px;
  background-size: 150px;
  color: #454D6F;
  position: relative;
  margin: 10px 0;
}

.insure-header:before {
  content: "";
  width: 60px;
  height: 60px;
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  background: url(../images/insure.svg) no-repeat;
}

.insure-variant {
  display: inline-block;
  width: 47%;
  margin: 0 10px 20px 0;
  padding: 15px 20px;
  vertical-align: top;
  box-sizing: border-box;
  border: solid 1px silver;
  -webkit-box-sizing: border-box;
  border-radius: 6px;
  cursor: pointer;
  opacity: 1;
  text-align: left;
}

.insure-variant:hover {
  background: #ECD94A;
  border-color: #ECD94A;
}

.insure-variant h1 {
  font-size: 24px;
  padding-bottom: 10px;
}

.insure-variant strong {
  font-size: 20px;
  margin-bottom: 5px;
}

.insure-variant ul {
  display: block;
  margin-top: 5px;
  list-style-position: inside;
  font-size: 18px;
  line-height: 20px;
}

.insure-variant.yes h1 {
  color: #6CAD64;
}

.insure-variant.no h1 {
  color: #B2563F;
}

@media screen and (max-width:850px) {
  .insure-header {
    font-size: 17px;
    background-size: 120px;
  }

  .insure-variant {
    padding: 13px 14px;
  }

  .insure-variant h1 {
    font-size: 19px;
  }

  .insure-variant strong {
    font-size: 17px;
  }

  .insure-variant ul {
    font-size: 15px;
  }

}
@font-face {
    font-family: MuseoSans;
    src: url("https://www.payps.ru/static/fonts/MuseoSansCyrl-300.woff");
    font-style: normal;
    font-weight: 300
}

@font-face {
    font-family: MuseoSans;
    src: url("https://www.payps.ru/static/fonts/MuseoSansCyrl-300Italic.woff");
    font-style: italic;
    font-weight: 300
}

@font-face {
    font-family: MuseoSans;
    src: url("https://www.payps.ru/static/fonts/MuseoSansCyrl-500.woff");
    font-style: normal;
    font-weight: 500
}

@font-face {
    font-family: MuseoSans;
    src: url("https://www.payps.ru/static/fonts/MuseoSansCyrl-500Italic.woff");
    font-style: italic;
    font-weight: 500
}


/*body {
    position: relative;   
    min-width: 380px;
    padding: 0 0 1px 0;
    font-family: MuseoSans, Helvetica, Calibri;
    background-color: #ebeff2;
    -webkit-font-smoothing: antialiased;
}*/

div,
p,
ul,
ol,
li,
h1,
h2,
h3 {
    margin: 0px;
    padding: 0px;
}

#calc-content ul {
    display: none;
}

#content {
    max-width: 1175px;
    margin: 0 auto;
    box-sizing: border-box;
    border-radius: 5px;
    background-color: white;
    padding: 0px 15px;
}

@media screen and (min-width:500px) {

    #main {
        display: none;
    }

    #content {
        max-width: 1175px;
        margin: 0 auto;
        padding: 30px 5%;
        box-sizing: border-box;
        border-radius: 5px;
        background-color: white;
    }

    /***** section ******/
    #calc-content section {
        width: 100%;
        margin: 0 0 130px 0;
        padding: 5px 0;
        position: relative;

        font-weight: 300;
        font-size: 20px;
        line-height: 24px;
        color: #454d6f;
    }
}

@media screen and (min-width:850px) {
    #calc-content section {
        font-size: 22px;
        line-height: 26px;
    }
}
.order div.input div > div {
  position: relative;
}

.autocomplete {
  position: relative;
  display: inline-block;
}


.autocomplete-items {
  position: absolute;
  min-width: 320px;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  top: 100%;
  left: -1px;
  right: 1px;
  font-size: 16px;
}

  .autocomplete-items span {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
    display: block;
    font-size:1.2em;
    min-height: 13px;
    line-height: 20px;
    text-align: left;
  }

    .autocomplete-items span:hover {
      background-color: #e9e9e9;
    }

.autocomplete-active {
  background-color: DodgerBlue !important;
  color: #ffffff;
}

/* @media (max-width: 600px) {
  .autocomplete-items span {
    font-size: 1.6em;
  }
} */

