* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  -webkit-box-sizing: content-box;
          box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  -webkit-box-sizing: border-box;
          box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  -webkit-box-sizing: border-box;
          box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

ul, ol {
  padding: 0;
  margin: 0;
}

body {
  background: #FAFAFA;
  font-family: "Lato", sans-serif;
}

.container {
  max-width: 1350px;
  padding: 0 15px;
  margin: 0 auto;
}

.header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 40px 0;
}

.menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 16px;
  line-height: 20px;
}
.menu li {
  display: inline-block;
  padding: 0 28px;
  position: relative;
}
.menu li:last-child {
  padding-right: 0;
}
.menu li + li:before {
  content: "";
  display: block;
  display: block;
  width: 1px;
  height: 28px;
  position: absolute;
  left: 0;
  top: -3px;
  background-color: #DEDEDE;
}
.menu li a {
  text-decoration: none;
  color: #081131;
}

.section {
  background: #FFFFFF;
  border: 1px solid #DEDEDE;
  border-radius: 12px;
  padding: 48px 28px;
  margin-bottom: 48px;
  font-weight: 300;
  font-size: 16px;
  line-height: 28px;
}
.section p {
  margin: 0 0 20px 0;
}

.wrap {
  margin: 0 auto;
  max-width: 1000px;
}

h1 {
  font-weight: 700;
  font-size: 40px;
  line-height: 48px;
  text-align: center;
  margin: 0 0 16px 0;
}

.sub-title {
  text-align: center;
  font-weight: 300;
  font-size: 16px;
  line-height: 28px;
  margin-bottom: 40px;
}

.result {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.result-panel {
  background: #F8F8F8;
  border: 1px solid #DEDEDE;
  border-radius: 12px;
  padding: 12px 12px 12px 28px;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 646px;
          flex: 0 0 646px;
  max-width: 646px;
  height: 68px;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  margin-right: 32px;
  position: relative;
}

.hint-btn {
  position: absolute;
  right: 12px;
  top: 12px;
}

.result-hint {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 44px;
  background: -webkit-gradient(linear, left top, left bottom, from(#8AEA7E), to(#67CD5A));
  background: linear-gradient(180deg, #8AEA7E 0%, #67CD5A 100%);
  border-radius: 12px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  line-height: 16px;
  padding: 13px 17px 13px 16px;
}
.result-hint.result-hint-1 {
  background: -webkit-gradient(linear, left top, left bottom, from(#CF554B), to(#B44940));
  background: linear-gradient(180deg, #CF554B 0%, #B44940 100%);
}
.result-hint.result-hint-2 {
  background: -webkit-gradient(linear, left top, left bottom, from(#FB7D73), to(#E76459));
  background: linear-gradient(180deg, #FB7D73 0%, #E76459 100%);
}
.result-hint.result-hint-3 {
  background: -webkit-gradient(linear, left top, left bottom, from(#EFE059), to(#E7CE4C));
  background: linear-gradient(180deg, #EFE059 0%, #E7CE4C 100%);
}
.result-hint.result-hint-4 {
  background: -webkit-gradient(linear, left top, left bottom, from(#5FC053), to(#3C9630));
  background: linear-gradient(180deg, #5FC053 0%, #3C9630 100%);
}
.result-hint .icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  opacity: 0.5;
  margin-left: 9px;
}
.result-hint span[data-tooltip]:before {
  width: 310px;
  font-weight: 300;
  margin-left: -155px;
}

.result__viewbox {
  height: 44px;
  line-height: 44px;
}

.btn-copy {
  padding: 0;
  border: 0;
  background-color: transparent;
  margin-right: 30px;
  cursor: pointer;
}
.btn-copy .icon {
  width: 24px;
  height: 28px;
  fill: #67768A;
  -webkit-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}
.btn-copy:hover .icon {
  fill: #7981E7;
}

.btn-refresh {
  padding: 0;
  border: 0;
  background-color: transparent;
  cursor: pointer;
}
.btn-refresh .icon {
  width: 28px;
  height: 28px;
  fill: #67768A;
  -webkit-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}
.btn-refresh:hover .icon {
  fill: #7981E7;
}

.field-title {
  position: relative;
  left: 8px;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.5);
  color: red;
  text-transform: uppercase;
  font-size: 0.65rem;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.range__slider .length__title::after {
  content: attr(data-length);
  position: absolute;
  right: -16px;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

#slider {
  -webkit-appearance: none;
  width: calc(100% - 70px);
  height: 12px;
  border-radius: 12px;
  background: -webkit-gradient(linear, left top, left bottom, from(#9AA2FF), color-stop(0.01%, #9AA2FF), to(#5963D0));
  background: linear-gradient(180deg, #9AA2FF 0%, #9AA2FF 0.01%, #5963D0 100%);
  outline: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

.range__slider {
  position: relative;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 400px;
          flex: 0 0 400px;
  max-width: 400px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin: 0;
  padding: 0;
}
.range__slider::before, .range__slider::after {
  position: absolute;
  color: #fff;
  font-size: 0.9rem;
  font-weight: bold;
  display: none;
}
.range__slider::before {
  content: attr(data-min);
  left: 10px;
}
.range__slider::after {
  content: attr(data-max);
  right: 10px;
}
.range__slider .length__title::after {
  content: attr(data-length);
  position: absolute;
  right: -16px;
  display: none;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

#slider::-webkit-slider-thumb {
  width: 48px;
  height: 24px;
  background: radial-gradient(81.25% 308.33% at 3.12% 18.75%, #F2F2F2 0%, #FFFFFF 56.62%, #F3F3F3 100%);
  border: 1px solid #DEDEDE;
  -webkit-box-shadow: 0px 0px 4px rgba(136, 136, 136, 0.3);
          box-shadow: 0px 0px 4px rgba(136, 136, 136, 0.3);
  border-radius: 12px;
  -webkit-appearance: none;
  cursor: ew-resize;
}

.qty-block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 28px 0 48px 0;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 16px;
  position: relative;
}

.qty-block-label {
  display: inline-block;
  margin-right: 20px;
  color: #67768A;
}

.quantity-block {
  position: relative;
  overflow: hidden;
}

.quantity-num {
  width: 123px;
  height: 68px;
  font-size: 16px;
  line-height: 20px;
  border: 1px solid #DEDEDE;
  border-radius: 12px;
  padding-left: 28px;
  padding-right: 48px;
}

.quantity-arrow {
  display: block;
  position: absolute;
  right: 0;
  width: 48px;
  height: 34px;
  padding: 0;
  background-color: transparent;
  border: 0;
  outline: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border: 1px solid #DEDEDE;
  border-right: 0;
  cursor: pointer;
}
.quantity-arrow .icon {
  display: inline-block;
  width: 14px;
  height: 8px;
}

.quantity-arrow-plus {
  top: 0;
  border-radius: 0 12px 0 0;
}

.quantity-arrow-minus {
  bottom: 1px;
  border-radius: 0 0 12px 0;
  border-bottom: 0;
}

.settings {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  margin-bottom: 48px;
}
.settings .icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  fill: #67768A;
}
.settings br {
  display: none;
}

.setting {
  color: #67768A;
  position: relative;
  padding: 0 20px;
}
.setting span {
  display: inline-block;
  font-weight: 700;
  color: #000;
  margin-left: 10px;
}
.setting label {
  position: relative;
  padding-left: 52px;
  height: 36px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.setting label:before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  background: #FFFFFF;
  border: 1px solid #DEDEDE;
  border-radius: 8px;
}
.setting label:after {
  content: "";
  display: block;
  position: absolute;
  left: 11px;
  top: 13px;
  width: 16px;
  height: 6px;
  border-left: 1px solid #61C454;
  border-bottom: 1px solid #61C454;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
  opacity: 0;
}
.setting input[type=checkbox] {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  left: 0;
  top: 0;
}
.setting input[type=checkbox]:checked + label:before {
  border-color: #61C454;
}
.setting input[type=checkbox]:checked + label:after {
  opacity: 1;
}

.btn-generate {
  padding: 0;
  background: none;
  padding: 0;
  position: relative;
  border-radius: 12px;
  display: block;
  overflow: hidden;
  z-index: 2;
  border: 1px solid #7d85e5;
  color: #fff;
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 23px 52px 23px 48px;
  -webkit-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
  cursor: pointer;
  margin: 0 auto;
  background: -webkit-gradient(linear, left top, left bottom, from(#6F77D9), to(#3D459D));
  background: linear-gradient(180deg, #6F77D9 0%, #3D459D 100%);
}
.btn-generate:before {
  content: "";
  display: block;
  position: absolute;
  -webkit-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: -webkit-gradient(linear, left top, left bottom, from(#9AA2FF), color-stop(0.01%, #9AA2FF), to(#5963D0));
  background: linear-gradient(180deg, #9AA2FF 0%, #9AA2FF 0.01%, #5963D0 100%);
  z-index: -1;
}
.btn-generate:after {
  content: "";
  display: block;
  position: absolute;
  -webkit-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: -webkit-gradient(linear, left bottom, left top, from(#6F77D9), to(#3D459D));
  background: linear-gradient(0deg, #6F77D9 0%, #3D459D 100%);
  z-index: -1;
  opacity: 0;
}
.btn-generate span {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.btn-generate span .icon {
  display: inline-block;
  width: 16px;
  height: 22px;
  margin-left: 16px;
}
.btn-generate:hover {
  -webkit-box-shadow: 0px 4px 24px rgba(78, 86, 177, 0.3);
          box-shadow: 0px 4px 24px rgba(78, 86, 177, 0.3);
}
.btn-generate:hover:before {
  opacity: 0;
}
.btn-generate:active:after {
  opacity: 1;
}

[data-tooltip] {
  position: relative;
  z-index: 2;
  cursor: pointer;
}

[data-tooltip]:before,
[data-tooltip]:after {
  visibility: hidden;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  opacity: 0;
  pointer-events: none;
}

[data-tooltip]:before {
  position: absolute;
  bottom: 150%;
  left: 50%;
  margin-bottom: 5px;
  margin-left: -50px;
  padding: 7px;
  width: 102px;
  border-radius: 8px;
  background-color: #000;
  background-color: hsla(0deg, 0%, 20%, 0.9);
  color: #fff;
  content: attr(data-tooltip);
  text-align: center;
  font-size: 14px;
  line-height: 1.2;
}

[data-tooltip]:after {
  position: absolute;
  bottom: 150%;
  left: 50%;
  margin-left: -5px;
  width: 0;
  border-top: 5px solid #000;
  border-top: 5px solid hsla(0deg, 0%, 20%, 0.9);
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  content: " ";
  font-size: 0;
  line-height: 0;
}

[data-tooltip]:hover:before,
[data-tooltip]:hover:after {
  visibility: visible;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  opacity: 1;
}

.footer {
  background: #081131;
  padding: 50px 0;
}
.footer .container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.footer .logo {
  margin-right: 188px;
}
.footer .menu li:before {
  background-color: #18285F;
}
.footer .menu li a {
  color: #fff;
}

.foot-lft {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.copy {
  font-size: 16px;
  line-height: 20px;
  color: #8791B3;
  margin-right: 113px;
  font-weight: 400;
}

.result-panel-btns {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.modalDialog {
  position: fixed;
  font-family: Arial, Helvetica, sans-serif;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(8, 17, 49, 0.9);
  z-index: 99999;
  opacity: 0;
  -webkit-transition: opacity 200ms ease-in;
  transition: opacity 200ms ease-in;
  pointer-events: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.modalDialog:target {
  opacity: 1;
  pointer-events: auto;
}

.modalDialog > div {
  width: 645px;
  position: relative;
  margin: auto;
  padding: 0;
  border-radius: 12px;
  background: #fff;
  text-align: center;
}

.close {
  line-height: 25px;
  position: absolute;
  right: 20px;
  text-align: center;
  top: 20px;
  width: 28px;
  display: block;
  height: 28px;
  text-decoration: none;
}
.close .icon {
  width: 28px;
  height: 28px;
}

.modal-top {
  padding: 48px 50px 36px;
  font-size: 24px;
  line-height: 48px;
}
.modal-top p {
  margin: 0;
}
.modal-top p span {
  font-weight: 700;
  color: #7981E7;
}

.modal-top-msg {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-weight: 400;
  font-size: 24px;
  line-height: 30px;
  margin-bottom: 38px;
}
.modal-top-msg .icon {
  display: inline-block;
  width: 24px;
  height: 28px;
  fill: #67768A;
  margin-right: 20px;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 24px;
          flex: 0 0 24px;
  max-width: 24px;
}

.modal-top {
  padding: 48px 50px 36px;
}

.modal-btm {
  padding: 36px;
  border-top: 1px solid #DEDEDE;
}

@media (max-width: 1199px) {
  .footer .logo {
    margin-right: 60px;
  }
  .copy {
    margin-right: 0;
  }
  .setting {
    padding: 0 15px;
  }
}
@media (max-width: 991px) {
  .header {
    padding: 20px 0;
  }
  .footer {
    padding-top: 28px;
    padding-bottom: 28px;
  }
  .footer .logo {
    margin-right: 24px;
  }
  .menu {
    font-size: 14px;
  }
  .menu li {
    padding: 0 20px;
  }
  .copy {
    font-size: 14px;
    line-height: 18px;
  }
  .section {
    font-size: 14px;
    line-height: 24px;
    padding-top: 36px;
    padding-bottom: 36px;
  }
  .section p {
    margin-bottom: 15px;
  }
  .setting label:before {
    width: 32px;
    height: 32px;
  }
  .setting label {
    height: 32px;
    font-size: 14px;
    line-height: 18px;
    max-width: 150px;
    display: block;
  }
  .setting label:after {
    left: 9px;
    top: 12px;
  }
  .result-panel {
    padding: 8px 8px 8px 20px;
    height: 62px;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 544px;
            flex: 0 0 544px;
    max-width: 544px;
  }
  .result__viewbox {
    height: 44px;
  }
  .hint-btn {
    right: 8px;
    top: 8px;
  }
  .settings br {
    display: block;
  }
  .settings br + span {
    margin-left: 0;
  }
  .sub-title {
    margin-bottom: 28px;
  }
  .quantity-num {
    width: 101px;
    padding: 0 44px 0 16px;
    height: 58px;
  }
  .quantity-arrow {
    height: 29px;
    width: 44px;
  }
  .qty-block-label {
    font-size: 14px;
    margin-right: 12px;
  }
}
@media (max-width: 767px) {
  .result {
    display: block;
    position: relative;
    padding-bottom: 58px;
  }
  .result-panel {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    position: static;
  }
  .hint-btn {
    bottom: 0;
    top: auto;
    right: 0;
  }
  .result-panel-btns {
    position: absolute;
    bottom: 0;
    left: 0;
  }
  .result-hint {
    padding: 10px 17px 10px 16px;
    height: 38px;
  }
  .qty-block {
    display: block;
    text-align: center;
  }
  .quantity-block {
    margin-bottom: 30px;
  }
  .quantity-num {
    width: 100%;
    height: 58px;
    text-align: center;
    padding: 0 76px;
  }
  .qty-block-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    text-align: left;
    border-bottom: 0;
    border-top: 0;
  }
  .quantity-arrow {
    width: 76px;
    top: 0;
    height: 58px;
  }
  .quantity-arrow-minus {
    right: auto;
    left: 0;
    border-left: 0;
    border-right: 1px solid #DEDEDE;
    border-radius: 0;
    border-top: 0;
  }
  .quantity-arrow-minus .icon {
    -webkit-transform: rotate(90deg);
            transform: rotate(90deg);
  }
  .quantity-arrow-plus {
    border-top: 0;
    border-bottom: 0;
  }
  .quantity-arrow-plus .icon {
    -webkit-transform: rotate(90deg);
            transform: rotate(90deg);
  }
  .range__slider {
    max-width: 100%;
    width: 100%;
  }
  .settings {
    display: block;
  }
  .setting {
    margin-bottom: 28px;
  }
  .setting label {
    max-width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .setting label br {
    display: none;
  }
  .setting label br + span {
    margin-left: 10px;
  }
  .result-hint span[data-tooltip]:before {
    right: -17px;
    left: auto;
    margin-left: 0;
    width: 200px;
  }
  .footer .container {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .copy, .foot-lft {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
            flex: 0 0 100%;
    max-width: 100%;
  }
  .foot-lft {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    padding-bottom: 24px;
  }
  .footer {
    padding-bottom: 24px;
    padding-top: 24px;
  }
  .copy {
    padding-top: 24px;
    text-align: center;
    position: relative;
  }
  .copy:before {
    content: "";
    display: block;
    position: absolute;
    left: -15px;
    top: 0;
    right: -15px;
    height: 1px;
    background-color: #18285F;
  }
  #slider {
    width: 100%;
  }
  .section {
    margin-bottom: 36px;
  }
  .modalDialog > div {
    width: 420px;
  }
  .modal-top {
    padding: 45px 20px 20px 20px;
    font-size: 18px;
    line-height: 32px;
  }
  .modal-top-msg {
    font-size: 18px;
    line-height: 30px;
    margin-bottom: 15px;
  }
  .close {
    top: 10px;
    right: 10px;
  }
  .modal-btm {
    padding: 15px;
  }
}
@media (max-width: 575px) {
  .section {
    font-size: 12px;
    padding: 20px 16px;
  }
  h1 {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 8px;
  }
  .sub-title {
    font-size: 12px;
    line-height: 20px;
    margin-bottom: 20px;
  }
  .result-panel {
    padding-left: 12px;
    padding-right: 12px;
    font-size: 14px;
  }
  .setting {
    padding: 0;
  }
  .settings {
    margin-bottom: 0;
  }
  .btn-generate {
    padding: 23px 24px 23px 24px;
    width: 100%;
  }
  .range__slider {
    width: auto;
  }
  .modalDialog > div {
    width: 280px;
  }
  .modal-top {
    padding: 45px 15px 15px 15px;
    font-size: 16px;
    line-height: 26px;
  }
  .modal-top-msg {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 15px;
    text-align: left;
  }
}

table {background-color: #18285F;}
td {background-color: #FFF; padding-left:5px;padding-right:5px;}