/* calc styles */
.header-calc {
  margin-bottom: 40px;
}
.custom_calc {
  display: flex;
  gap: 100px;
  transition: .3s;
}
.custom_calc.sendig {
  opacity: .5;
  pointer-events: none;
}
.custom_calc_inputs {
  flex: 1;
  max-width: 509px;
}
.custom_calc_send_from {
  padding-top: 35px;
  flex: 1;
}
.custom_calc_row {
  margin-bottom: 40px;
  font-size: 20px;
  line-height: normal;
}
.custom_calc_row:last-child {
  margin-bottom: 0px;
}
.custom_calc_inputs_dynamic {
  margin: 40px 0px;
}
.custom_calc_row_name {
  margin-bottom: 15px;
  padding-left: 25px;
  font-weight: 500;
  color: #000;
}
.calc_select {
  position: relative;
  cursor: pointer;
  z-index: 1;
}
.calc_select.active {
  z-index: 10;
}
.calc_select_selected {
  position: relative;
  padding: 17px 25px;
  font-weight: 400;
  color: #4D4D4D;
  border: 1px solid #E2E2E2;
  border-radius: 3px 0px 0px 3px;
  transition: .2s;
  z-index: 2;
}
.calc_select_selected[data-selected=""] {
  color: #7E8081;
}
.calc_select_error .calc_select_selected {
  border: 1px solid #EE3F46;
}
.calc_select_selected::before {
  content: '';
  position: absolute;
  width: 13px;
  height: 8px;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  background-image: url("data:image/svg+xml,%3Csvg width='13' height='8' viewBox='0 0 13 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.5 8L0.870834 0.5H12.1292L6.5 8Z' fill='%232A5082'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.calc_select_input {
  position: relative;
}
.calc_select_input:not(.calc_select_input_text)::before {
  content: '';
  position: absolute;
  width: 13px;
  height: 8px;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  background-image: url("data:image/svg+xml,%3Csvg width='13' height='8' viewBox='0 0 13 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.5 8L0.870834 0.5H12.1292L6.5 8Z' fill='%232A5082'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.custom_calc input {
  outline: none !important;
  position: relative;
  width: 100%;
  padding: 17px 25px;
  font-weight: 400;
  font-size: 20px;
  line-height: 1;
  color: #4D4D4D;
  border: 1px solid #E2E2E2;
  border-radius: 3px 0px 0px 3px;
  transition: .2s;
  z-index: 2;
  background-color: transparent;
  cursor: pointer;
}
.calc_select_error input,
.custom_calc input.error {
  border: 1px solid #EE3F46;
}
.custom_calc input::placeholder {
  color: #7E8081;
}
.calc_select_list {
  display: none;
  position: absolute;
  top: calc(100% - 5px);
  left: 1px;
  width: calc(100% - 2px);
  padding-top: 5px;
  background-color: #FFF;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  z-index: 1;
}
.calc_select_list_item {
  padding: 10px 25px;
  font-size: 20px;
  color: #4D4D4D;
  transition: .2s;
  background-color: #FFF;
  font-weight: 400;
}
.calc_select_list_item:hover {
  background-color: #2A5082;
  color: #FFF;
  font-weight: 500;
}

/*  */
#ui-datepicker-div {
	display: none;
	margin-top: 0.25rem;
	margin-bottom: 0.25rem;
  border-radius: 12px;
  border: 1px solid #EBEBEB;
  background-color: #FFF;
  box-shadow: 0px 4px 32px 0px rgba(170, 170, 170, 0.03);
  padding: 50px 34px 35px;
}
#ui-datepicker-div .ui-datepicker-header {
  position: relative;
}
.ui-datepicker-header a.ui-corner-all {
  position: absolute;
  top: 7px;
  width: 16px;
  height: 16px;
  cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg%20width%3D%229%22%20height%3D%2214%22%20viewBox%3D%220%200%209%2014%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M1.97059%201.00001L7.62744%206.65686L1.97059%2012.3137%22%20stroke%3D%22%23333333%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 8px;
  background-position: center;
  border-radius: 50%;
  transition: .3s;
}
.ui-datepicker-header a.ui-corner-all:hover {
  background: url("data:image/svg+xml,%3Csvg%20width%3D%229%22%20height%3D%2214%22%20viewBox%3D%220%200%209%2014%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M1.97059%201.00001L7.62744%206.65686L1.97059%2012.3137%22%20stroke%3D%22%23EE3F46%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 8px;
  background-position: center;
}
.ui-datepicker-header {
  margin-bottom: 56px;
}
.ui-datepicker-header a.ui-datepicker-prev {
  rotate: 180deg;
  right: 50px;
}
.ui-datepicker-header a.ui-datepicker-next {
  right: 24px;
}
.ui-datepicker-header a>span {
	display: none;
}
.ui-datepicker-title {
	text-align: left;
  color: #333;
  font-family: SFUIDisplay-Regular, Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  padding: 0px 15px;
}

table.ui-datepicker-calendar {
	border-collapse: collapse;
	border-spacing: 0;
}
.ui-datepicker-calendar thead th {
  width: 56px;
  padding-bottom: 18px;
  color: #333;
  text-align: center;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.ui-datepicker-calendar tbody td {
  width: 56px;
  height: 56px;
	text-align: center;
	padding: 0px 3px;
  box-sizing: content-box;
}
.ui-datepicker-calendar tbody td a {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: #666;
  text-align: center;
  font-size: 24px;
  font-weight: 500;
	background-color: transparent;
  border-radius: 50%;
  text-decoration: none;
  transition: .3s;
}
.ui-datepicker-calendar tbody td a:hover {	
	background-color: #EE3F46;
	color: #FFF;
}
.ui-datepicker-calendar tbody td a.ui-state-active {
	background-color: #EE3F46;
	color: #FFF;
}

.ui-datepicker-week-col {
	color: #78909C;
	font-weight: 400;
	font-size: 0.75rem;
}

.custom_calc_send_from_wrap {
  padding: 30px 35px 35px;
  border-radius: 30px;
  background: rgba(228, 244, 255, 0.90);
}
.custom_calc_send_from_title {
  margin-bottom: 20px;
  color: #181C23;
  font-family: TTNorms-Bold;
  font-size: 33px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: -0.5px;
}
.custom_calc_send_from_price {
  margin-bottom: 35px;
  font-family: TTNorms-Medium;
  color: #181C23;
  font-size: 30px;
  font-weight: 500;
  line-height: 2;
  letter-spacing: -0.5px;
}
#calc_price {
  color: #EE3F46;
  font-family: TTNorms-Bold;
  font-size: 33px;
  font-weight: 700;
}
.custom_calc_send_inner_form {
  padding: 35px 45px 50px;
  border-radius: 30px;
  background: #FFF;
}
.custom_calc_send_inner_form_title {
  margin-bottom: 30px;
  font-family: TTNorms-Medium;
  color: #181C23;
  font-size: 30px;
  font-weight: 500;
  line-height: 2;
  letter-spacing: -0.5px;
}
.custom_calc_send_inner_form input {
  margin-bottom: 25px;
}
.custom_calc_submit {
  width: 260px;
  border-radius: 0px 3px 3px 0px;
  background: #EE3F46;
  padding: 20px 12px;
  margin-top: 15px;
  margin-bottom: 30px;

  color: #FFF;
  text-align: center;
  font-family: TTNorms-Bold;
  font-size: 17px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;

  cursor: pointer;
  transition: .3s;
}
.custom_calc_submit:hover {
  /* background: #d8353c; */
  background: #2A5082;
}
.custom_calc_polit {
  color: #4D4D4D;
  font-size: 14px;
  font-weight: 300;
  font-family: TTNorms-Regular;
  line-height: normal;
}
.custom_calc_polit a {
  color: #4D4D4D;
  font-size: 14px;
  font-weight: 300;
  text-decoration: underline;
  line-height: normal;
}
.custom_calc_send_inner_form_success .custom_calc_send_inner_form_title {
  margin-bottom: 20px;
}
.custom_calc_send_from_text {
  color: #000;
  font-size: 20px;
  margin-bottom: 50px;
  line-height: normal;
}

@media (max-width: 1440px) {
  .custom_calc_inputs {
    max-width: 435px;
  }
  .ui-datepicker-calendar thead th {
    width: 44px;
    font-size: 20px;
  }
  .ui-datepicker-calendar tbody td {
    width: 44px;
    height: 44px;
  }
  .ui-datepicker-calendar tbody td a {
    font-size: 20px;
  }
}
@media (max-width: 1199px) {
  .custom_calc_inputs {
    max-width: 350px;
  }
  #ui-datepicker-div {
    padding: 35px 20px 20px;
  }
  .ui-datepicker-title {
    font-size: 20px;
  }
  .ui-datepicker-calendar thead th {
    width: 36px;
    font-size: 18px;
  }
  .ui-datepicker-calendar tbody td {
    width: 36px;
    height: 36px;
  }
  .ui-datepicker-calendar tbody td a {
    font-size: 18px;
  }

  .custom_calc_send_from_title {
    font-size: 26px;
  }
  .custom_calc_send_from_price {
    font-size: 24px;
  }
  #calc_price {
    font-size: 24px;
  }
  .custom_calc_send_inner_form_title {
    font-size: 24px;
  }
  .custom_calc_send_inner_form {
    padding: 24px 36px 36px;
  }
  .custom_calc_polit {
    font-size: 13px;
    line-height: 1.1;
  }
}
@media (max-width: 1023px) {
  .custom_calc {
    flex-direction: column;
    gap: 0px;
  }
  .custom_calc_inputs {
    width: 100%;
    max-width: unset;
  }
  .custom_calc_send_from {
    padding-top: 50px;
    width: 100%;
  }
  .custom_calc_send_from {
    width: 100%;
  }
}
@media (max-width: 991px) {
  .custom_calc_row_name {
    font-size: 18px;
  }
  .calc_select_selected {
    font-size: 18px;
  }
  .custom_calc input {
    font-size: 18px;
  }

  .custom_calc_send_from {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }
  .custom_calc_send_from_wrap {
    border-radius: 0px;
  }
  .custom_calc_send_from_wrap {
    padding: 30px 20px 100px;
  }
  .custom_calc_send_from_title {
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: 60px;
    margin-bottom: 10px;
  }
  .custom_calc_send_from_price {
    margin-bottom: 45px;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 60px; /* 300% */
  }
  #calc_price {
    font-size: 25px;
    font-style: normal;
    font-weight: 700;
    line-height: 60px;
  }
  .custom_calc_send_inner_form {
    padding: 20px 34px 44px;
  }
  .custom_calc_send_inner_form_title {
    margin-bottom: 15px;
    font-size: 22px;
    font-style: normal;
    font-weight: 500;
    line-height: 60px; /* 272.727% */
  }
  .custom_calc_submit {
    margin: 5px auto 30px;
  }
  .custom_calc_polit {
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 18px; /* 128.571% */
  }
  .content-body:has(#custom_calc) {
    padding-bottom: 0px;
  }
  .custom_calc_send_from_text {
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px; /* 140% */
    margin-bottom: 18px;
  }
  .custom_calc_send_inner_form_success img {
    display: block;
    margin: 0 auto;
  }
}

.inner_custom_calc {
  margin-bottom: 20px;
}