.form-1,
.form-2,
.form-3 {
    width: 100%;
}

.form-1 .flex,
.form-2 .flex {
    display: flex;
    justify-content: space-between;
}

.form-1 .flex > *,
.form-2 .flex > * {
    width: 50%;
}

.form-1 .flex > *:not(:first-child),
.form-2 .flex > *:not(:first-child) {
    margin-left: 16px;
}

.form-1 p,
.form-2 p {
    display: block;
}

@media screen and (max-width: 599px) {
    .form-1 .flex div:last-child {
        margin-top: 24px;
    }

    .form-1 .flex,
    .form-2 .flex {
        flex-direction: column;
    }

    .form-1 .flex > *:not(:first-child),
    .form-2 .flex > *:not(:first-child) {
        margin-left: 0;
    }

    .form-1 .flex > *,
    .form-2 .flex > * {
        width: 100%;
    }
}

.form-box {
    position: relative;
}

.form-box__thanks-popup {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px 20px;
    background-color: #ccc;
    border-radius: 6px;
    z-index: 2;
    display: none;
}

.form-box__thanks-popup.active {
    display: block;
}

.form-box__thanks-popup-title {
    font-family: "Francois One", Times, serif;
    font-size: 24px;
    line-height: 30px;
    font-weight: 200;
    color: #fff;
    text-shadow: #333 0 0 10px;
    text-align: center;
}

.form-order {
    padding: 24px;
    background: linear-gradient(180deg, #FCFCFC 0%, #E6E6E6 48.96%, #FAFAFA 100%);
    border-radius: 16px;
    box-shadow: none;
}

.radio-buttons-wrap {
    display: flex;
    flex-flow: wrap row;
    align-items: center;
}

.radio-buttons-wrap .radio-buttons-wrap__item:not(:last-child) {
    margin-right: 8px;
}

.radio-buttons-wrap__item label {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 20px;
    margin: 0;
}

.radio-buttons-wrap__item input {
    display: none;
}

.radio-buttons-wrap__item label:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 4px;
    transform: translateY(-50%);
    display: none;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #308AED;
    box-sizing: border-box;
}

.radio-buttons-wrap__item label:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid #DEDEDE;
    box-sizing: border-box;
}

.radio-buttons-wrap__item input:checked + label:before {
    border: 2px solid #308AED;
}

.radio-buttons-wrap__item input:checked + label:after {
    display: block;
}

.input-wrap {
    position: relative;
    display: block;
    margin-bottom: 16px;
    line-height: 0;
}

.input-wrap label {
    display: block;
    line-height: 1.5;
}

.input-wrap-label {
    margin-bottom: 8px;
}

.form-order-input {
    padding: 0 8px;
    margin: 0;
    width: 100%;
    height: 32px;
    background-color: #fff;
    color: #666;
    font-size: 14px;
    line-height: 17px;
    border-radius: 6px;
    border: 1px solid #DEDEDE;
    box-sizing: border-box;
}

.form-order-input--half {
    width: 100%;
}

.form-order-input--half input {
    width: 50%;
}

.form-order-input::placeholder {
    color: #666;
}

.input-wrap-btns button:not(:last-child) {
    margin-right: 12px;
}

.form-4-img-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    padding: 12px;
    background-color: #FFFFFF;
    border-radius: 6px;
}

.form-4-btn-delete {
    position: relative;
    background-color: transparent;
    border: none;
    width: 10px;
    height: 10px;
    font-size: 0;
    cursor: pointer;
}

.form-4-table {
    margin: 12px 0 24px;
}

.form-4-name {
    margin-right: auto;
    margin-left: 8px;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    color: #084577;
}

.form-4-btn-delete::before:hover,
.form-4-btn-delete::after:hover {
    background-color: #000000;
}

.form-4-btn-delete::before,
.form-4-btn-delete::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 2px;
    background-color: #666666;
    transform: translate(-50%, -50%) rotate(45deg);
    transition: background-color 0.15s linear;
}

.form-4-btn-delete::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.form-4-img {
    width: 60px;
    height: 40px;
    object-fit: cover;
}

.form-file-primary-button {
    position: relative;
    font-size: 0;
    width: 146px;
    height: 40px;
}

.form-file-primary-button::after {
    content: '+';
    position: absolute;
    font-size: 20px;
    top: 50%;
    right: 10px;
    color: #fff;
    transform: translateY(-50%);
}

.form-file-primary-button::-webkit-file-upload-button {
    visibility: hidden;
}

.form-file-primary-button::before {
    content: 'Foto hinzufügen';
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    padding: 11px 20px 11px 12px;

    background-color: #084577;
    border-radius: 8px;
    -webkit-user-select: none;
    cursor: pointer;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    color: #FFFFFF;
}

.form-file-primary-button:hover::before {
    opacity: .9;
}

.form-order-primary-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 11px 12px;
    font-size: 14px;
    line-height: 18px;
    color: #fff;
    border-radius: 8px;
    background-color: #084577;
    border: 0;
    cursor: pointer;
    transition: opacity .2s linear;
}

.form-furniture__pick--item {
    padding: 15px 8px;
}

.form-furniture__pick--item .form-furniture__pick-list {
    top: 60px;
}

.form-order-primary-button svg {
    pointer-events: none;
}

.form-order-primary-button:hover {
    opacity: .9;
}

.button,
.form-order-button {
    padding: 7px 16px;
    background-color: #DEDEDE;
    border-radius: 8px;
    font-size: 14px;
    line-height: 17px;
    color: #333;
    border: 0;
    transition: opacity .3s linear;
    cursor: pointer;
}

.form-order-button--photo {
    margin-left: auto;
    margin-right: 15px;
}

@media screen and (max-width: 599px) {
    .form-order-button {
        margin: 12px 0 0;
    }
}

.form-order-button:hover {
    opacity: .6;
}

.form-order-decor-title {
    padding: 4px 8px;
    background-color: #084577;
    border-radius: 6px;
    color: #fff;
    box-sizing: border-box;
}

.form-4-title {
    margin-bottom: 12px;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    color: #333333;
}

.form-4-info {
    margin-top: 12px;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    color: #666666;
}

.title-address-details {
    font-family: 'PT Sans', verdana, arial, tahoma, sans-serif;
    font-size: 1rem;
    line-height: 1.2rem;
    color: #666;
}

.title-address-details .icon-arrow {
    margin: 0 4px;
}

.title-address-details__left {
    color: #084577;
}

.title-address-details__right {
    color: #666;
}

.form-order__toggle {
    width: 100%;
    margin: 24px 0;
    font-size: 18px;
    line-height: 24px;
    color: #d90d31;
    text-decoration: underline;
    cursor: pointer;
    transition: color .2s linear;
}

.form-order__toggle:hover {
    color: #084577;
}

.input-wrap--icon-sup-m2 {
    position: relative;
}

.input-wrap--icon-sup-m2 .icon-sup-m2 {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
}

.icon-sup-m2 {
    font-size: 14px;
    line-height: 18px;
    color: #666;
}

.icon-sup-m2 sup {
    font-size: 10px;
}

.input-wrap-checkbox {
    display: block;
    position: relative;
    padding-left: 20px;
}

.input-wrap-checkbox input {
    display: none;
}

.input-wrap-checkbox label {
    cursor: pointer;
}

.input-wrap-checkbox label:after {
    content: '\2713';
    display: none;
    position: absolute;
    left: 2px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    font-weight: bold;
    color: #fff;
    font-family: system-ui;
}

.input-wrap-checkbox label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    width: 15px;
    height: 15px;
    border: 2px solid #DEDEDE;
    box-sizing: border-box;
    border-radius: 1px;
    background-color: #fff;
}

.input-wrap-checkbox input:checked + label:before {
    background: #308AED;
    border: 2px solid #308AED;
}

.input-wrap-checkbox input:checked + label:after {
    display: block;
}

.form-order__phone p {
    font-size: 18px;
    line-height: 24px;
    color: #333;
}

.form-order__phone a:hover {
    text-decoration: underline;
}

.form-order__phone a {
    color: #d90d31;
}

.input-textarea-wrap {
    width: 100%;
}

.input-textarea {
    padding: 8px;
    height: 96px;
}

.input-textarea-title {
    font-size: 14px;
    line-height: 18px;
    color: #666;
}

.input-textarea-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

@media screen and (max-width: 599px) {
    .input-textarea-top--mob {
        align-items: flex-start;
        justify-content: flex-start;
        flex-direction: column;
    }
}

/*FURNITURE PICK CATEGORIES start*/
.form-furniture {

}

.form-furniture__pick {
    position: relative;
    margin-bottom: 12px;
}

.form-furniture__pick-btn * {
    pointer-events: none;
    user-select: none;
}

.form-furniture__pick-btn svg {
    margin-left: 10px;
}

.form-furniture__pick-list {
    position: absolute;
    top: 46px;
    display: none;
    padding: 8px 12px;
    margin: 0;
    min-width: 220px;
    max-height: 500px;
    overflow: auto;
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #EBEBEB;
    z-index: 1;
}

.form-furniture__pick-item {
    list-style: none;
}

.form-furniture__pick-item:not(:last-child) {
    margin-bottom: 4px;
}

.form-furniture__pick-btn {
    display: flex;
    align-items: center;
    padding: 0;
    border: 0;
    width: 100%;
    background-color: transparent;
    transition: opacity .2s linear;
    cursor: pointer;
}

.form-furniture__pick-btn:hover {
    opacity: .6;
}

.form-furniture__pick-icon {
    margin-right: 8px;
    width: 32px;
    height: 32px;
    overflow: hidden;
}

.form-furniture__pick-icon img {
    display: block;
    width: 100%;
}

.form-furniture__pick-text {
    font-size: 14px;
    line-height: 17px;
    color: #084577;
}

/*FURNITURE PICK CATEGORIES end*/

.form-furniture__calculator {
    margin-bottom: 12px;
}

.form-furniture__calculator-list li:not(:last-child) {
    margin-bottom: 8px;
}

.form-furniture__calculator-list .form-furniture__row-wrapper {
    background-color: #fff;
    border-radius: 6px;
    border: 0;
}

.form-furniture__calculator-list:empty {
    padding-bottom: 0;
}

.form-furniture__calculator-list {
    margin: 0;
}

.form-furniture__boxes {
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-radius: 6px;
    background-color: #fff;
}

.form-furniture__boxes-list {
    padding: 0 12px 0;
    margin: 0;
}

.form-furniture__boxes-top-text {
    font-size: 14px;
    line-height: 16px;
    color: #084577;
}

.form-furniture__boxes-top-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    overflow: hidden;
    margin-right: 8px;
    transform: translateX(2px);
}

.form-furniture__boxes-top {
    display: flex;
    align-items: center;
    padding: 4px 12px;
    border-bottom: 1px solid #EBEBEB;
}

/*ROW IN FURNITURE LISTS start*/
.form-furniture__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0;
    border-bottom: 1px solid #EBEBEB;
}

.form-furniture__row-wrapper .form-furniture__row {
    padding: 4px 6px 4px 12px;
}

.upload-btn {
    position: relative;
    padding: 7px 16px;
    background-color: #DEDEDE;
    border-radius: 8px;
    font-size: 14px;
    line-height: 17px;
    color: #333;
    border: 0;
    transition: opacity .3s linear;
    cursor: pointer;
}

.upload-btn input {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    opacity: 0;
    clip: rect(0 0 0 0);
    overflow: hidden;
}

.form-furniture__row-arrow {
    display: flex;
    transform: rotate(180deg);
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: transparent;
    border: 0;
    transition: opacity .2s linear, transform .2s linear;
    cursor: pointer;
}

.form-furniture__row-arrow.active {
    transform: rotate(0deg);
    background-color: transparent;
}

.form-furniture__row-arrow:hover {
    opacity: .4;
}

.form-furniture__row-arrow svg {
    pointer-events: none;
    user-select: none;
}

.form-furniture__row-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    overflow: hidden;
    margin-right: 8px;
}

.form-furniture__row-icon svg {
    pointer-events: none;
    user-select: none;
}

.form-furniture__row-icon img {
    display: block;
    width: 100%;
}

.form-furniture__row-text {
    margin-right: auto;
    font-size: 14px;
    line-height: 16px;
    color: #333;
}

.form-furniture__controls {
    display: flex;
    align-items: center;
}

.form-furniture__controls-plus,
.form-furniture__controls-minus {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 24px;
    height: 24px;
    border: 0;
    background-color: transparent;
    cursor: pointer;
    transition: opacity .2s linear;
}

.form-furniture__controls-plus:hover,
.form-furniture__controls-minus:hover {
    opacity: .5;
}

.form-furniture__controls-plus *,
.form-furniture__controls-minus * {
    user-select: none;
    pointer-events: none;
}

.form-furniture__controls-number {
    width: 24px;
    height: 24px;
    border: 0;
    font-size: 14px;
    line-height: 18px;
    color: #666;
    text-align: center;
}

.form-furniture__row-tab {
    max-height: 208px;
    overflow: auto;
}

.form-furniture__row-search-wrapper {
    margin-bottom: 12px;
}

.form-furniture__row-search {
    width: 100%;
    height: 32px;
    box-sizing: border-box;
    font-size: 14px;
    line-height: 18px;
    color: #666;
    padding: 0 24px 0 8px;
    border-radius: 6px;
    border: 1px solid #DEDEDE;
    background-color: transparent;
    background-image: url("../images/new-design-az-umzug/search.svg");
    background-position: right 4px center;
    background-size: auto;
    background-repeat: no-repeat;
}

.form-furniture__row-search::placeholder {
    height: 32px;
    font-size: 14px;
    line-height: 18px;
    color: #666;
}

/*ROW IN FURNITURE LISTS end*/

/*accordion start*/
.accordion {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
}

.active, .accordion:hover {
    background-color: #ccc;
}

/*FURNITURE IN FIRST TAB SEARCH*/
.form-furniture__row-furnitures-all,
.form-furniture__row-furnitures-list {
    display: flex;
    flex-direction: column;
    margin: 0;
}

.form-furniture__row-furnitures-all .form-furniture__row,
.form-furniture__row-furnitures-list .form-furniture__row {
    padding: 4px 10px 4px 0;
}

/*FURNITURE IN FIRST TAB SEARCH*/

/*CUSTOM FORM IN FURITURE FORM, THIRD TAB - START*/
.form-furniture__row-custom-wrapper {

}

.form-furniture__row-custom-form {
    margin-bottom: 24px;
}

.form-furniture__row-custom-form input {
    padding: 0 8px;
    width: 100%;
    height: 32px;
    font-size: 14px;
    line-height: 18px;
    border: 1px solid #DEDEDE;
    border-radius: 6px;
    box-sizing: border-box;
}

.form-furniture__row-custom-form input::placeholder {
    color: #666;
}

.form-furniture__row-custom-list {
    margin: 0;
}

.form-furniture__row-custom-form-row {
    display: flex;
    flex-flow: nowrap row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.form-furniture__row-custom-form-cell {

}

/*CUSTOM FORM IN FURITURE FORM, THIRD TAB - END*/

/*TABS START*/
.tab {

}

.tab-header {
    display: flex;
    flex-flow: nowrap row;
    border-bottom: 1px solid #DEDEDE;
}

.tab-header-item {
    position: relative;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 18px;
    color: #666;
    background-color: transparent;
    border: 0;
    cursor: pointer;
}

.tab-header-item:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    right: 0;
    display: none;
    width: 100%;
    height: 1px;
    background-color: #084577;
}

.tab-header-item:hover,
.tab-header-item.active {
    color: #084577;
}

.tab-header-item:hover:after,
.tab-header-item.active:after {
    display: block;
}

.tab-body {
    padding: 12px;
}

.tab-body-item {

}

.tab-header-item-counter.active {
    background-color: transparent;
}

.tab-header-item-counter.active:before {
    content: ' (';
}

.tab-header-item-counter.active:after {
    content: ')';
}

.error {
    border: 2px solid red;
}

/*TABS END*/

.modal {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal--open {
    display: flex;
}

.modal__wrapper {
    position: relative;
    max-width: 470px;
    width: 100%;
    padding: 24px;
    border-radius: 16px;
    background-color: #fff;
    text-align: center;
}

.modal__text {
    color: #000;
    font-size: 1.5rem;
    margin: 0;
    text-shadow: none;
}

.modal__close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    font-size: 0;
    border: none;
    background-color: transparent;
    cursor: pointer;
}

.modal__close::before,
.modal__close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background-color: #000;
    transform: translate(-50%, -50%) rotate(-45deg);
}

.modal__close::after {
    transform: translate(-50%, -50%) rotate(45deg);
}

@media screen and (max-width: 768px) {
    .modal__wrapper {
        max-width: 250px;
        border-radius: 8px;
    }

    .modal__text {
        font-size: 1rem;
        line-height: 1.2rem;
    }
}

.color__blue a {
    color: #0a4577 !important;
}

.color__blue span {
    color: #0a4577 !important;
}

.form-grid-template {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 16px;
}

.form-grid-template-title {
  width: calc(50% - 8px)
}


@media screen and (max-width: 599px) {
  .form-grid-template {
    display: grid;
    grid-template-columns: 1fr;
    grid-column-gap: 16px;
  }

  .form-grid-template-title {
    width: 100%
  }
}
