input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}
.fancybox-close-small{
    display: none !important;
}
.popup_success {
    border-radius: 15px;
    background: #FFF;
    box-shadow: 0px 4px 11px 0px rgba(0, 0, 0, 0.12);
    font-family: "Raleway", sans-serif;
    font-style: normal;
    line-height: normal;
    color: #000000;
    font-variant-numeric: lining-nums;
}
.popup_success img{
    display: block;
    margin: 0 auto;
}
.popup_success p{
    color: #3E3B3B;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    margin: 30px 0 20px 0;
}
.popup_success span{
    color: #3E3B3B;
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 22px;
    display: block;
}
.popup_success a{
    width: 300px;
    height: 60px;
    border-radius: 38px;
    background: #FFD578;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3E3B3B;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    cursor: pointer;
    transition: all 0.3s ease-out;
    margin: 20px auto 0 auto;
}
.popup_success a:hover{
    color: #FFBE2E;
    background: #3E3B3B;
    transition: all 0.3s ease-out;
}
.services, .calc-wrap {
    font-family: "Raleway", sans-serif;
    font-style: normal;
    line-height: normal;
    color: #000000;
    font-variant-numeric: lining-nums;
}
.calc-wrap {
    position: relative;
}
.services img {
    max-width: 100%;
    height: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.services-wrap {
   margin: 108px 0;
   display: -webkit-box;
   display: -ms-flexbox;
   display: flex;
   -ms-flex-wrap: wrap;
   flex-wrap: wrap;
}
.services-wrap .item {
   width: 49%;
   margin-right: 2%;
   margin-bottom: 30px;
   min-height: 300px;
   border: solid 1px #f0f0f0;
   border-radius: 30px;
   padding: 35px 22px 35px 35px;
   display: -webkit-box;
   display: -ms-flexbox;
   display: flex;
   -webkit-box-align: start;
   -ms-flex-align: start;
   align-items: flex-start;
   -webkit-box-pack: justify;
   -ms-flex-pack: justify;
   justify-content: space-between;
   position: relative;
   background-color: #fff;
}
.services-wrap .item:nth-child(2n+2) {
   margin-right: 0;
}
.services-wrap .item .row {
   margin-right: 11px;
   position: relative;
   z-index: 3;
}
.services-wrap .item-image {
   position: absolute;
   right: 5px;
   bottom: 11px;
   z-index: 2;
}
.services-wrap .item::after {
   content: "";
   display: block;
   width: 100%;
   max-width: 380px;
   height: 182px;
   background: url("/wp-content/themes/global_post/images/corner.png") no-repeat right bottom/contain;
   position: absolute;
   right: 5px;
   bottom: 6px;
}
.services-wrap .item .row-image {
   position: relative;
   z-index: 2;
}
.services-wrap .item .row-title {
   margin: 20px 0 5px;
   font-size: 24px;
   line-height: 28px;
   font-weight: 700;
   position: relative;
   z-index: 2;
}
.services-wrap .item .row-text {
   font-size: 16px;
   line-height: 24px;
   position: relative;
   z-index: 2;
}
.services-wrap .item .row-image img {
   width: 45px;
   height: 45px;
   border-radius: 50%;
}
.services .btn {
   display: -webkit-box;
   display: -ms-flexbox;
   display: flex;
   -webkit-box-align: center;
   -ms-flex-align: center;
   align-items: center;
   text-align: center;
   -webkit-box-pack: center;
   -ms-flex-pack: center;
   justify-content: center;
   border: solid 1px #da2c38;
   padding: 10px 12px;
   background: 0 0;
   background-color: inherit;
   color: #000000;
   font-size: 14px;
   line-height: 21px;
   font-weight: 700;
   width: -webkit-fit-content;
   width: -moz-fit-content;
   width: fit-content;
   border-radius: 25px;
   -webkit-transition: .3s;
   transition: .3s;
   cursor: pointer;
   font-family: "Raleway", sans-serif;
   z-index: 2;
   position: relative;
}
.services .btn svg {
   margin-left: 10px;
}
.services .btn:hover {
   background-color: #da2c38;
   color: #fff;
}
.calc-wrap h1 {
    font-size: 32px;
    line-height: 37px;
    font-weight: 400;
    text-align: center;
}
.calc-wrap-pallet {
    margin: 36px auto 80px;
    border-radius: 30px;
    background-color: #fff;
    position: relative;
    padding: 36px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 900px;
}
.calc-wrap-pallet::after {
    content: "";
    display: block;
    width: 665px;
    height: 342px;
    border-radius: 50%;
    background-color: #ffd749;
    position: absolute;
    left: 50%;
    margin-right: -50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    bottom: -40px;
    z-index: -1;
    -webkit-filter: blur(100px);
    filter: blur(100px);
}
.calc-wrap-pallet .item {
    flex: 1 1 100%;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    row-gap: 40px;
}
.calc-wrap-pallet .item .item-column {
    flex: 1 1 100%;
    max-width: 100%;
}
.calc-wrap-pallet .item .item-column:nth-child(1),
.calc-wrap-pallet .item .item-column:nth-child(2) {
    flex: 1 1 calc(50% - 12px);
    max-width: calc(50% - 12px);
}
.calc-wrap-pallet .item h3 {
    color: #000;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: left;
}
.calc-wrap-pallet .item .wrapper_parameters_parcel h3,
.calc-wrap-pallet .item .box-from h3 {
    margin-bottom: 0;
}
.calc-wrap-pallet .item .flex-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 10px;
    gap: 10px;
}
.calc-wrap-pallet .item .flex-box .item-flex-box {
    flex: 1 1 45%;
    max-width: 45%;
}
.calc-wrap-pallet .item .flex-box .item-flex-box:last-child {
    flex: 1 1 50%;
    max-width: 50%;
}
.calc-input-wrap {
    width: 100%;
}
.i_calc__select_label {
    color: #757575;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 400;
    margin-bottom: 4px;
    padding: 0 10px;
}
.calc-select, .calc-input {
    position: relative;
    width: 100%;
    background: #FFFFFF;
}
.calc-select .select_manual {
    position: relative;
}
.calc-select:not(.readonly)::after {
    z-index: 2;
    pointer-events: none;
    position: absolute;
    display: block;
    right: 10px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    content: "";
    width: 12px;
    height: 7px;
    background: url('/wp-content/themes/global_post/calcs_new/img/arrow-selector.svg') no-repeat;
    transition: transform 0.3s ease;
}
.calc-select:has(.error_country_from.active):not(.readonly)::after,
.calc-select:has(.error_country_to.active):not(.readonly)::after {
    top: 30%;
}
.calc-select:has(input:focus)::after {
    transform: translateY(-50%) rotate(180deg);
}
.calc-select input, .calc-input input {
    font-family: "Inter", sans-serif !important;
    font-size: 14px !important;
    line-height: normal !important;
    font-weight: 500 !important;
    color: #000000 !important;
    -webkit-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    border-radius: 8px;
    padding: 16.5px 24px 16.5px 20px;
    border: 1px solid #D9D9D9;
    background: none;
    cursor: pointer;
    transition: .2s;
}
.calc-select input:hover, .calc-input input:hover {
    border: 1px solid #000000;
}
.calc-select input:focus, .calc-input input:focus {
    border: 1px solid #000000;
    background: #fffbe1;
}
.calc-select.readonly input:hover {
    border: 1px solid #D9D9D9;
}
.calc-select.readonly input:focus {
    border: 1px solid #D9D9D9;
    background: none;
}
.select_manual ul {
    z-index: 4;
    display: none;
    line-height: normal;
    position: absolute;
    width: 100%;
    left: 0;
    top: 100%;
    background: #FFFFFF;
    max-height: 220px;
    overflow-y: auto;
    border-width: 0 2px 2px 2px;
    border-style: solid;
    border-color: #D9D9D9;
    box-shadow: 0 0 5px rgb(0 0 0 / 10%);
    scrollbar-width: thin;
    scrollbar-color: #FFD749 #FFFFFF;
    border-radius: 0 0 8px 8px;
}
.select_manual ul li {
    line-height: normal;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.1s ease-out;
}
.select_manual ul li.hidden {
    display: none;
}
.select_manual ul li:hover {
    background: #ffe2a2;
}
.select_manual.active ul {
    display: block;
}
.wrapper_parameters_parcel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 20px;
}
.wrapper_parameters_parcel .calc-input-wrap {
    flex: 1 1 calc(45% - 30px);
    max-width: calc(45% - 30px);
}
.wrapper_parameters_parcel .i_calc__select_label {
    display: flex;
    gap: 6px;
    font-size: 14px;
    flex-direction: row;
    align-items: center;
}
.wrapper_parameters_parcel .i_calc__select_label img {
    width: 20px;
    height: 20px;
}
.calc-input .buttons-block {
    position: absolute;
    top: 0;
    right: 10px;
    height: 100%;
    width: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    justify-content: center;
}
.calc-input .buttons-block .btn-number {
    width: 15px;
    height: 15px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.calc-input .buttons-block .btn-number img {
    width: 12px;
    height: 7px;
    pointer-events: none;
}
.box-description {
    margin-bottom: 0 !important;
}
.box-description .item-flex-box {
    flex: 1 1 100% !important;
    max-width: 100% !important;
}
.box-from, .box-contacts {
    flex-wrap: wrap;
}
.box-from .item-flex-box {
    flex: 1 1 100% !important;
    max-width: 100% !important;
}
.box-contacts {
    align-items: flex-start !important;
    row-gap: 20px !important;
}
.box-contacts .item-flex-box:first-child {
    flex: 1 1 100% !important;
    max-width: 100% !important;
}
.box-contacts .item-flex-box:not(:first-child) {
    flex: 1 1 calc(33.333% - 10px) !important;
    max-width: calc(33.333% - 10px) !important;
}
.text_error{
    color: #000;
    font-size: 12px;
    font-weight: 500;
    display: none;
    margin-top: 10px;
    background: #ffb0b0;
    border-radius: 10px;
    padding: 8px;
}
.text_error.active{
    display: block;
}
.iti {
    width: 100%;
}
.btn-box {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}
#btn-send-request {
    display: flex;
    width: 290px;
    height: 50px;
    justify-content: center;
    align-items: center;
    border-radius: 40px;
    background: #DA2C38;
    box-shadow: 0px 86px 24px 0px rgba(133, 71, 0, 0.00), 0px 55px 22px 0px rgba(133, 71, 0, 0.01), 0px 31px 18px 0px rgba(133, 71, 0, 0.05), 0px 14px 14px 0px rgba(133, 71, 0, 0.09), 0px 3px 8px 0px rgba(133, 71, 0, 0.10);
    color: #FFFFFF;
    font-family: "Raleway", sans-serif;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease-out;
    cursor: pointer;
}
#btn-send-request[disabled] {
    background: #d1d1d1;
    color: #000000;
    box-shadow: none;
}
#btn-send-request:not([disabled]):hover {
    background: #ffffff;
    color: #000000;
    border: 1px solid #DA2C38;
}
.input_number.error, #select_country_from.error, #select_country_to.error {
    border: 1px solid #f00;
}
.calc-wrap .btn-back {
    position: absolute;
    top: 0;
    left: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border: solid 1px #FFD749;
    padding: 10px 16px;
    background: 0 0;
    background-color: #FFD749;
    color: #000000;
    font-size: 14px;
    line-height: 21px;
    font-weight: 600;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    border-radius: 25px;
    -webkit-transition: .3s;
    transition: .3s;
    cursor: pointer;
    font-family: "Raleway", sans-serif;
    z-index: 2;
}
.calc-wrap .btn-back svg {
    margin-right: 10px;
    transform: rotate(180deg);
}
.calc-wrap .btn-back svg * {
    -webkit-transition: .3s;
    transition: .3s;
}
.calc-wrap .btn-back:hover {
    background-color: #FFFFFF;
}
.calc-wrap .btn-back:hover svg circle {
    fill: #FFD749;
}

@media (max-width: 1350px) {
    .services-wrap {
       -webkit-box-pack: justify;
       -ms-flex-pack: justify;
        justify-content: space-between;
    }
    .services-wrap .item:nth-child(1n+1) {
        margin: 0 0 30px;
    }
}

@media (max-width: 1000px) {
    .calc-wrap__title {
        padding-top: 60px;
    }
}

@media (max-width: 920px) {
    .services-wrap .item {
        width: 100%;
    }
}

@media (max-width: 820px) {
    .calc-wrap h1 {
        font-size: 20px;
        line-height: 20px;
    }
    .calc-wrap-pallet {
        margin: 30px 0 40px;
        border-radius: 10px;
        padding: 20px 10px;
    }
    .calc-wrap-pallet .item {
        flex: 1 1 100%;
        max-width: 100%;
        row-gap: 16px;
    }
    .calc-wrap-pallet .item h3 {
        text-align: center;
    }
    .calc-wrap-pallet .item .flex-box {
        flex-wrap: wrap;
        margin-bottom: 20px;
    }
    .calc-wrap-pallet .item .flex-box .item-flex-box,
    .calc-wrap-pallet .item .flex-box .item-flex-box:last-child {
        flex: 1 1 100%;
        max-width: 100%;
    }
    body .i_calc__select_label {
        margin-bottom: 4px !important;
        font-size: 14px !important;
        font-weight: 400 !important;
        line-height: normal !important;
    }
    .box-contacts .item-flex-box:first-child,
    .box-contacts .item-flex-box:nth-child(2),
    .box-contacts .item-flex-box:nth-child(3),
    .box-contacts .item-flex-box:nth-child(4) {
        flex: 1 1 100% !important;
        max-width: 100% !important;
        margin-bottom: 0;
    }
    .calc-wrap-pallet .item .item-column,
    .calc-wrap-pallet .item .item-column:nth-child(1),
    .calc-wrap-pallet .item .item-column:nth-child(2) {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

@media (max-width: 550px) {
    .services-wrap {
       margin: 43px 0 40px;
    }
    .services-wrap .item {
       padding: 20px 10px 50px;
       min-height: inherit;
    }
    .services-wrap .item:nth-child(1n+1) {
       margin-bottom: 20px;
    }
    .services-wrap .item .row {
       width: 100%;
    }
    .services-wrap .item-image {
       max-width: 105px;
    }
    .services-wrap .item .row-title {
       font-size: 16px;
       line-height: 18px;
       margin: 20px 0 10px;
    }
    .services .btn {
       padding: 11px 3px;
       width: 100%;
       font-size: 12px;
       max-width: 161px;
       line-height: 21px;
    }
    .calc-wrap-pallet .item .flex-box {
        justify-content: center;
    }
    .wrapper_parameters_parcel {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }
    .wrapper_parameters_parcel .calc-input-wrap,
    .box-from .item-flex-box {
        flex: 1 1 100% !important;
        max-width: 100% !important;
    }
}