section.calculator {
  padding: 5rem 0; }
  section.calculator h2.title {
    margin-bottom: 5rem; }
  section.calculator .rasschet_kredit {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap; }
  section.calculator .rasschet_kredit-wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 74%;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center; }
  section.calculator .calc-logo {
    width: 25%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-around;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start; }
    section.calculator .calc-logo div {
      text-align: center;
      width: 100%; }
      section.calculator .calc-logo div img {
        width: 95%; }
    section.calculator .calc-logo > img {
      margin-top: -10rem;
      width: 60px; }
  section.calculator .calc-box {
    width: 23rem;
    margin-right: 3rem;
    margin-bottom: 5rem; }
    section.calculator .calc-box:nth-child(3) {
      margin-right: 0; }
    section.calculator .calc-box .min-and-max {
      display: -webkit-box;
      display: -webkit-flex;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-pack: justify;
      -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
      justify-content: space-between;
      margin-top: .5rem;
      font-size: 1rem;
      color: #d0cfd3; }
    section.calculator .calc-box > label {
      display: block;
      font-size: 1.6rem;
      text-transform: uppercase;
      margin-bottom: .5rem; }
    section.calculator .calc-box .calc_input-window {
      padding: 1rem;
      width: 100%;
      border: 1px solid #eaeaea;
      height: 40px;
      display: -webkit-box;
      display: -webkit-flex;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-align: center;
      -webkit-align-items: center;
      -ms-flex-align: center;
      align-items: center; }
      section.calculator .calc-box .calc_input-window input {
        min-width: 30px;
        width: -webkit-fit-content;
        width: -moz-fit-content;
        width: fit-content;
        max-width: 60px;
        border: 0; }
      section.calculator .calc-box .calc_input-window span {
        color: #a29ca2;
        font-size: 1.4rem; }
    section.calculator .calc-box .ui-widget-content {
      background: #eaeaea; }
    section.calculator .calc-box .ui-slider-handle {
      background: #333;
      width: 1.2rem;
      border: 0;
      top: -.3rem;
      -webkit-transform: translateX(50%);
      -ms-transform: translateX(50%);
      transform: translateX(50%); }
    section.calculator .calc-box .ui-slider-range {
      background: red !important; }
    section.calculator .calc-box_date {
      display: -webkit-box;
      display: -webkit-flex;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
      -webkit-flex-direction: column;
      -ms-flex-direction: column;
      flex-direction: column;
      width: 60%;
      margin-bottom: 0; }
    section.calculator .calc-box_date-wrapper {
      width: 45rem;
      display: -webkit-box;
      display: -webkit-flex;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-pack: justify;
      -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
      justify-content: space-between; }
      section.calculator .calc-box_date-wrapper select {
        width: 200px;
        font-size: 1.8rem;
        padding: 1rem;
        border: 1px solid #ededed;
        color: #333; }
  section.calculator .calc-box_check {
    width: 33.5rem; }
    section.calculator .calc-box_check .ui-slider-wrapper {
      display: -webkit-box;
      display: -webkit-flex;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-align: center;
      -webkit-align-items: center;
      -ms-flex-align: center;
      align-items: center; }
    section.calculator .calc-box_check .ui-slider-checkbox {
      margin-right: 1rem; }
    section.calculator .calc-box_check .ui-slider-body {
      width: 23rem; }
  section.calculator .calc-wrapper1 {
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between; }
  section.calculator #calc-result {
    border: 2px solid #ffd325;
    padding: 2rem;
    width: 330px; }
  section.calculator .calc-res {
    border-bottom: 1px dashed #333;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    padding: .5rem 0;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between; }
  section.calculator .calc-buttons {
    margin-top: auto;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between; }
    section.calculator .calc-buttons #calc_clean {
      cursor: pointer;
      border: 0;
      padding: 1.5rem 2.6rem;
      font-size: 1.4rem;
      text-transform: uppercase; }
      section.calculator .calc-buttons #calc_clean:hover {
        background-color: #d1d0d0; }
    section.calculator .calc-buttons #rasschet_kredit-btn {
      cursor: pointer;
      border: 0;
      padding: 1.5rem 2.6rem;
      font-size: 1.4rem;
      background-color: #f33030;
      color: #fff;
      text-transform: uppercase; }
      section.calculator .calc-buttons #rasschet_kredit-btn:hover {
        background-color: #c72727; }
    section.calculator .calc-buttons .yellow-button {
      cursor: pointer;
      border: 0;
      padding: 1.5rem 2.6rem;
      padding-left: 5rem;
      font-size: 1.4rem;
      color: #333333;
      background: url(/img/icon/phone_black.png) no-repeat 1.5rem center;
      background-size: 2.2rem;
      background-color: #fcc417;
      text-transform: uppercase; }
      section.calculator .calc-buttons .yellow-button:hover {
        background-color: #d1a623; }
  section.calculator .calc-table_wrapper {
    width: 100%;
    overflow-x: auto; }
  section.calculator .calc-table {
    margin-top: 4rem;
    border-collapse: collapse;
    width: 100%; }
    section.calculator .calc-table * {
      border: 0;
      cursor: default; }
    section.calculator .calc-table thead {
      background-color: #eaeaea;
      font-weight: 700;
      border-bottom: 2px solid #c9c9c9; }
      section.calculator .calc-table thead tr td {
        padding: 2rem 1.5rem; }
        section.calculator .calc-table thead tr td:nth-child(1) {
          width: 1rem; }
    section.calculator .calc-table tbody tr {
      border-bottom: 1px solid #eaeaea; }
      section.calculator .calc-table tbody tr:hover {
        background-color: #eaeaea; }
      section.calculator .calc-table tbody tr td {
        padding: 1rem 1.5rem; }

@media (max-width: 768px) {
  section.calculator .rasschet_kredit {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column; }
    section.calculator .rasschet_kredit .calc-logo {
      -webkit-box-ordinal-group: 0;
      -webkit-order: -1;
      -ms-flex-order: -1;
      order: -1;
      width: 100%;
      margin-bottom: 4rem; }
      section.calculator .rasschet_kredit .calc-logo > img {
        margin-top: 0; }
    section.calculator .rasschet_kredit-wrapper {
      width: 100%; }
    section.calculator .rasschet_kredit .calc-box {
      width: 100%;
      margin-right: 0; }
      section.calculator .rasschet_kredit .calc-box label {
        font-size: 3rem; }
      section.calculator .rasschet_kredit .calc-box .calc_input-window span {
        font-size: 2.4rem; }
      section.calculator .rasschet_kredit .calc-box .min-and-max {
        margin-top: 1.5rem;
        font-size: 2rem; }
  section.calculator .calc-wrapper1 {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column; }
    section.calculator .calc-wrapper1 .calc-box_date > * {
      margin-bottom: 3rem; }
    section.calculator .calc-wrapper1 .calc-box_date-wrapper {
      width: 100%;
      -webkit-box-pack: start;
      -webkit-justify-content: flex-start;
      -ms-flex-pack: start;
      justify-content: flex-start; }
    section.calculator .calc-wrapper1 .calc-box_date select {
      width: 140px;
      margin-right: 2rem;
      font-size: 2.4rem; }
    section.calculator .calc-wrapper1 .calc-box_date .calc-buttons {
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
      -webkit-flex-direction: column;
      -ms-flex-direction: column;
      flex-direction: column; }
      section.calculator .calc-wrapper1 .calc-box_date .calc-buttons > * {
        margin-bottom: 1.5rem;
        width: 100%;
        font-size: 2.4rem !important;
        text-align: center; }
      section.calculator .calc-wrapper1 .calc-box_date .calc-buttons .yellow-button {
        background-size: 4rem;
        background-position: 4rem center; }
  section.calculator #calc-result {
    width: 100%;
    font-size: 2.6rem; } }

@media (max-width: 768px) and (min-width: 551px) {
  section.calculator .calc-logo div img {
    width: 50%; } }
