section.calculator input[type=text],
section.calculator select {
  background-color: white;
  border: 1px solid #A6A6A6;
  border-radius: 2px;
  box-sizing: border-box;
  height: 24px;
  letter-spacing: -0.03em;
  padding: 0 10px;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
section.calculator input[type=text]:disabled,
section.calculator select:disabled {
  border: 1px solid #CCCCCC;
}
section.calculator input[type=text]:focus,
section.calculator select:focus {
  border-color: #66AFE9;
  box-shadow: none;
  outline: 1px solid transparent;
}
section.calculator input[type=text]#err.place:not(:focus),
section.calculator select#err.place:not(:focus) {
  background-color: #FFBFBF;
  border-color: #FF9999;
}

section.calculator input[type=checkbox] {
  margin-left: 12px;
  margin-right: 6px;
  width: 12px;
}

section.calculator .box-modal {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
}
section.calculator .box-modal__wrapper {
  height: 100%;
  width: 100%;
}

section.calculator .input-labeled {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
}
section.calculator .input-labeled input {
  margin-right: 4px;
}
section.calculator .input-labeled label {
  flex-shrink: 0;
}

section.calculator .columned {
  display: flex;
  flex-wrap: nowrap;
}
section.calculator .columned .columned__label {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  overflow: hidden;
  padding-right: 4px;
  text-overflow: ellipsis;
  width: 94px;
}
section.calculator .columned .columned__content {
  align-items: center;
  display: flex;
  flex: 1;
  flex-wrap: nowrap;
  overflow: hidden;
}

section.calculator .modal {
  background: white;
  border: 1px solid #CCCCCC;
  border-bottom: 0;
  border-top: none;
  box-shadow: #353535 0 -6px;
  bottom: 0;
  box-sizing: border-box;
  display: none;
  height: max-content;
  left: 0;
  margin: auto;
  padding: 0 18px;
  position: absolute;
  right: 0;
  top: 0;
  width: 304px;
  z-index: 1000;
}
section.calculator .modal:after {
  background: url(../bottom_bg1.png) repeat-x 1px 0;
  bottom: -6px;
  content: "";
  display: block;
  height: 7px;
  left: 0;
  position: absolute;
  right: 0;
}
section.calculator .modal__close {
  background: none;
  border: none;
  color: #A6A6A6;
  cursor: pointer;
  height: 24px;
  font-size: 24px;
  line-height: 24px;
  margin-left: calc(100% - 24px + 18px);
  width: 24px;
}
section.calculator .modal__close:hover {
  color: #353535;
}
section.calculator .modal__text {
  margin-bottom: 20px;
}
section.calculator .modal__title {
  margin-top: -12px;
}

section.calculator .over {
  background-color: white;
  bottom: 0;
  display: none;
  height: 100%;
  left: 0;
  margin: 1px;
  opacity: 0.85;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 999;
}

section.calculator .bill-row {
  align-items: center;
  border-bottom: 1px dotted black;
  display: flex;
  font-size: 13px;
  justify-content: space-between;
  height: 20px;
}
section.calculator .bill-row + .bill-row {
  margin-top: 8px;
}
section.calculator .bill-row__value {
  font-weight: bold;
}

section.calculator .submit {
  height: 40px;
  position: relative;
}
section.calculator .submit:after {
  background: linear-gradient(#FFD97E, #C77909);
  bottom: 0;
  border: none;
  border-radius: 3px;
  box-sizing: border-box;
  content: "";
  left: 0;
  line-height: 20px;
  overflow: hidden;
  position: absolute;
  right: 0;
  top: 0;
}
section.calculator .submit input {
  background: linear-gradient(180deg, #EFB843 5.21%, #E6A225 89.58%);
  border: none;
  border-radius: 3px;
  bottom: 1px;
  box-sizing: border-box;
  cursor: pointer;
  font-size: 14px;
  height: 38px;
  left: 1px;
  padding: 10px 0;
  position: absolute;
  top: 1px;
  right: 1px;
  z-index: 1;
  width: calc(100% - 2px);
}

section.calculator div.spacer {
  flex: 1;
}

section.calculator .main {
  align-items: center;
  border: 1px solid #CCCCCC;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: 214px;
  max-width: 332px;
  overflow: hidden;
  padding: 0 18px;
  padding-bottom: 20px;
  position: relative;
  width: 100%;
}
section.calculator .main.arrival {
  height: calc(131px + 36px);
}
section.calculator .main.arrival.derival {
  height: calc(131px + 36px + 36px);
}
section.calculator .main.arrival.derival.dimensions {
  height: calc(131px + 36px + 36px + 73px);
}
section.calculator .main.arrival.derival.dimensions.insurance {
  height: calc(131px + 36px + 36px + 73px + 77px);
}
section.calculator .main.arrival.derival.insurance {
  height: calc(131px + 36px + 36px + 77px);
}
section.calculator .main.arrival.derival.package {
  height: calc(131px + 36px + 36px + 37px);
}
section.calculator .main.arrival.derival.package.dimensions {
  height: calc(131px + 36px + 36px + 37px + 73px);
}
section.calculator .main.arrival.derival.package.dimensions.insurance {
  height: calc(131px + 36px + 36px + 37px + 73px + 77px);
}
section.calculator .main.arrival.derival.package.insurance {
  height: calc(131px + 36px + 36px + 37px + 77px);
}
section.calculator .main.arrival.dimensions {
  height: calc(131px + 36px + 73px);
}
section.calculator .main.arrival.dimensions.insurance {
  height: calc(131px + 36px + 73px + 77px);
}
section.calculator .main.arrival.insurance {
  height: calc(131px + 36px + 77px);
}
section.calculator .main.arrival.package {
  height: calc(131px + 36px + 37px);
}
section.calculator .main.arrival.package.dimensions {
  height: calc(131px + 36px + 37px + 73px);
}
section.calculator .main.arrival.package.dimensions.insurance {
  height: calc(131px + 36px + 37px + 73px + 77px);
}
section.calculator .main.arrival.package.insurance {
  height: calc(131px + 36px + 37px + 77px);
}
section.calculator .main.derival {
  height: calc(131px + 36px);
}
section.calculator .main.derival.dimensions {
  height: calc(131px + 36px + 73px);
}
section.calculator .main.derival.dimensions.insurance {
  height: calc(131px + 36px + 73px + 77px);
}
section.calculator .main.derival.insurance {
  height: calc(131px + 36px + 77px);
}
section.calculator .main.derival.package {
  height: calc(131px + 36px + 37px);
}
section.calculator .main.derival.package.dimensions {
  height: calc(131px + 36px + 37px + 73px);
}
section.calculator .main.derival.package.dimensions.insurance {
  height: calc(131px + 36px + 37px + 73px + 77px);
}
section.calculator .main.derival.package.insurance {
  height: calc(131px + 36px + 37px + 77px);
}
section.calculator .main.dimensions {
  height: calc(131px + 73px);
}
section.calculator .main.dimensions.insurance {
  height: calc(131px + 73px + 77px);
}
section.calculator .main.insurance {
  height: calc(131px + 77px);
}
section.calculator .main.package {
  height: calc(131px + 37px);
}
section.calculator .main.package.dimensions {
  height: calc(131px + 37px + 73px);
}
section.calculator .main.package.dimensions.insurance {
  height: calc(131px + 37px + 73px + 77px);
}
section.calculator .main.package.insurance {
  height: calc(131px + 37px + 77px);
}
section.calculator .main:not(.arrival):not(.derival):not(.package):not(.dimensions):not(.insurance) {
  padding-top: 18px;
}
section.calculator .main:not(.arrival):not(.derival):not(.package):not(.dimensions):not(.insurance) #calculation-result {
  padding-bottom: 0;
  width: 100%;
}
section.calculator .main:not(.arrival):not(.derival):not(.package):not(.dimensions):not(.insurance) #calculation-result button.modal__close {
  display: none;
}
section.calculator .main:not(.arrival):not(.derival):not(.package):not(.dimensions):not(.insurance):not(.footer) #calculation-result {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  height: 100%;
}
section.calculator .main:not(.arrival):not(.derival):not(.package):not(.dimensions):not(.insurance):not(.footer) #calculation-result .submit {
  margin-top: auto;
}
section.calculator .main:not(.footer) {
  padding-bottom: 24px;
}
section.calculator .main .logo {
  height: 30px;
  margin: auto;
  margin-bottom: 0;
  margin-top: 12px;
  width: auto;
}
section.calculator .main .logo img {
  height: 100%;
}
section.calculator .main:not(.insurance) .logo {
  height: 22px;
  width: auto;
}
section.calculator .main .loadimg {
  bottom: 0;
  display: none;
  height: 100px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  width: 80%;
  z-index: 1000;
}
section.calculator .main .loadimg label {
  display: block;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 10px;
}
section.calculator .main .modal#calculation-error__title {
  margin-top: 0;
}
section.calculator .main .modal#calculation-error p {
  font-size: 12px;
  line-height: 20px;
}
section.calculator .main #calculation-result {
  padding-bottom: 16px;
}
section.calculator .main #calculation-result .bill-row + p {
  font-size: 10px;
  line-height: 20px;
  margin-bottom: 16px;
  margin-top: 12px;
}
section.calculator .main form {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: space-between;
  height: 100%;
  margin-top: 1px;
  width: 100%;
}
section.calculator .main form label {
  font-size: 13px;
  line-height: 20px;
  white-space: nowrap;
}
section.calculator .main form .input-row:not([style*="display: none"]) ~ .input-row:not([style*="display: none"]) {
  margin-top: 14px;
}
section.calculator .main form .block#direction #arrival_point {
  padding-bottom: 0;
}
section.calculator .main form .block#direction #derival_point {
  padding-top: 0;
}
section.calculator .main form .block#direction #arrival_point,
section.calculator .main form .block#direction #derival_point {
  align-items: center;
  display: flex;
}
section.calculator .main form .block#direction #arrival_point input[type=text],
section.calculator .main form .block#direction #derival_point input[type=text] {
  flex-shrink: 0;
  width: 200px;
}
section.calculator .main form .block#payload {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
}
section.calculator .main form .block#payload #sized .columned__content,
section.calculator .main form .block#payload #sized_negab .columned__content {
  justify-content: space-between;
}
section.calculator .main form .block#payload #sized input[type=text],
section.calculator .main form .block#payload #sized_negab input[type=text] {
  box-sizing: border-box;
  width: 75px;
}
section.calculator .main form .block#payload #sized_negab input[type=checkbox] {
  margin-left: 0;
}
section.calculator .main form .block#payload #sized_negab input[type=checkbox] + label {
  border-bottom: 1px dotted black;
}
section.calculator .main form .block#payload #strahovka {
  align-items: flex-start;
}
section.calculator .main form .block#payload #strahovka > .columned__label > label {
  line-height: 16px;
  white-space: normal;
}
section.calculator .main form .block#payload .input-row:first-of-type {
  padding-top: 0;
}
section.calculator .main form .block#payload #insurance .input-labeled input {
  margin-right: 8px;
  width: 87px;
}
section.calculator .main form .block#payload #insurance .input-labeled label {
  font-weight: 400;
}
section.calculator .main form .block#payload #package {
  padding-bottom: 0;
}
section.calculator .main form .block#payload #package select {
  width: 100%;
}