.support {
    padding: 20px 30px 30px;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 0 35px rgba(0,0,0,.1);
    margin: -50px 0 0;
    overflow: hidden;
    position: relative;
}

.support__loader {
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,.6);
    position: absolute;
    top: 0;
    left: 0;
}

.support.loading .support__loader {
    display: flex;
}

.support__loader__spiner {
    width: 80px; 
    height: 80px;
    background: url(../images/loading.svg) center no-repeat;
    background-size: contain;
    border-radius: 50%;
}

.support__thanks {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #fff;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 200;
}

.support__thanks__inner {
    text-align: center;
}

.support__thanks__title {
    margin: 0 0 5px;
    font-size: 30px;
}

.support__thanks__text {
    margin: 0 15px 15px;
}

.support__thanks__btn {
    height: 50px;
    width: 260px;
}

.support__head__title {
    margin: 0 0 15px;
}

.support__progress {
    height: 15px;
    background: #e9e9e9;
    border-radius: 20px;
    margin: 10px 0 25px;
}

.support__progress span {
    display: block;
    height: 100%;
    background-color: var(--color-red);
    background-image: linear-gradient(to bottom right, #bc302b 0%, #993333 100%);
    border-radius: 20px;
    transition: width .5s linear;
}

.support__item__title {
    margin: 0 0 20px;
    font-size: 27px;
}

.support__item__info {
    margin: -20px 0 20px;
}

.support__item .support__item__prayer,
.support__selected {
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    border-top: 1px solid #e9e9e9;
    border-bottom: 1px solid #e9e9e9;
}

.support__item .support__item__prayer .o-prayer-list__item__number,
.support__selected .o-prayer-list__item__number {
    align-items: flex-start;
}

.support__item .support__item__prayer .o-prayer-list__item__names {
    flex: 0 0 calc(100% - 190px);
    max-width: calc(100% - 190px);
}

.support__item .support__item__prayer .donors__item__col_date,
.support__item .support__item__prayer .o-prayer-list__item__type {
    justify-content: flex-start;
    flex: 0 0 calc(100% - 70px);
    max-width: calc(100% - 70px);
    padding: 0 0 0 90px;
    text-align: left;
}

.support__item .support__item__prayer .donors__item__col_date br,
.support__item .support__item__prayer .o-prayer-list__item__type br {
    display: none;
}

.support__item .support__item__prayer .donors__item__col_date ul {
    justify-content: flex-start !important;
}

.support__item__prayer__buttons {
    flex: 0 0 120px;
    max-width: 120px; 
}

.support__item__prayer__buttons.support__item__prayer__buttons_mobil {
    display: none;
}

.support__item__prayer__buttons .btn {
    width: 100%;
    height: 45px;
}

.support__selected .support__item__prayer__buttons {
    display: none;
}

.support__item__data {
    display: flex;
    flex-wrap: wrap;   
    margin: 0 -10px;
}

.support__item__data__field {
    flex: 0 0 100%; 
    max-width: 100%;
    box-sizing: border-box;
    padding: 10px;
}

.support__item__data__field.hidden {
    flex: 0 0 0; 
    max-width: 0;
    padding: 0;
    visibility: hidden;
}

.support__item__data__field.support__item__data__field_full {
    flex: 0 0 100%;
    max-width: 100%;
}

.support__item__data__row {
    display: flex;
    flex-wrap: nowrap;
    flex: 0 0 100%;
    max-width: 100%;
    max-height: 60px;
}

.support__item__data__row.support__item__data__row_1 .support__item__data__field:not(.hidden) {
    flex: 0 0 100%;
    max-width: 100%;
}

.support__item__data__row.support__item__data__row_2 .support__item__data__field:not(.hidden) {
    flex: 0 0 50%;
    max-width: 50%;
}

.support__item__data__row.support__item__data__row_3 .support__item__data__field:not(.hidden) {
    flex: 0 0 33.33%;
    max-width: 33.33%;
}


.support__item__data__field input {
    width: 100%;
    height: 40px;
    box-sizing: border-box;
    padding: 0 12px;
    border: 1px solid var(--color-grey-light);
    border-radius: 6px;
}

.support__item__data__field input::-webkit-outer-spin-button,
.support__item__data__field input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}
.support__item__data__field input[type='number'] {
    -moz-appearance: textfield;
}

.support__item__message input.error,
.support__item__message textarea.error,
.support__item__data__field input.error {
    border-color: #e82424;
    box-shadow: 0 0 18px rgba(232,36,36,.4);
} 

.support__item__data__field .jq-selectbox {
    width: 100%;
    height: 40px;
    box-sizing: border-box;
    border: 1px solid var(--color-grey-light);
    border-radius: 6px;
}

.support__item__data__field .jq-selectbox__select {
    height: 100%;
}

.support__item__data__field .jq-selectbox__select-text {
    padding: 0 0 0 12px;
    line-height: 36px;
}

.support__item__data__field .jq-selectbox__trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
}

.support__item__data__field .jq-selectbox__trigger-arrow {
    height: 10px;
    width: 10px;
    box-sizing: border-box;
    border: 2px solid var(--color-red);
    border-width: 0 2px 2px 0;
    transform: translate(0, -30%) rotate(45deg);
    transition: all var(--speed-fast);
}

.support__item__data__field .jq-selectbox.opened .jq-selectbox__trigger-arrow {
    transform: translate(0, 30%) rotate(45deg) scale(-1,-1);
}

.support__item__data__field .jq-selectbox__dropdown {
    width: 100% !important;
}

.support__item__data__field .jq-selectbox__dropdown ul {
    padding: 4px 0;
    background: #fff;
    border: 1px solid var(--color-grey-light);
    border-radius: 6px;
    margin: 10px 0;
}

.support__item__data__field .jq-selectbox__dropdown li {
    padding: 4px 12px;
}

.support__item__data__field .jq-selectbox__dropdown li.sel {
    background: var(--color-yellow);
    color: #fff;
}
.support__item__data__field .jq-selectbox__dropdown li:not(.sel) {
    cursor: pointer;    
}
.support__item__data__field .jq-selectbox__dropdown li:not(.sel):hover {
    background: var(--color-grey-light);
}

.support__item__message textarea {
    display: block;
    width: 100%;
    height: 130px;
    box-sizing: border-box;
    padding: 6px 12px;
    border: 1px solid var(--color-grey-light);
    border-radius: 6px;
    resize: none;
    margin: 0 0 20px;
}

.support__item__message input {
    width: 100%;
    height: 40px;
    box-sizing: border-box;
    padding: 0 12px;
    border: 1px solid var(--color-grey-light);
    border-radius: 6px;
}

.support__item__step-buttons {
    display: flex;
    justify-content: center;
    margin: 20px 0 0;
}

.support__item__step-buttons .btn {
    height: 50px;
    width: 150px;
}

.support__item__step-buttons .btn.deactive {
    opacity: 0.8;
    cursor: default;
}


.support__item__step-buttons .btn + .btn {
    margin-left: 15px;
}

@media (max-width: 750px) {
    .support__item__prayer__buttons {
        display: flex;
        justify-content: flex-end;
    }
    .support__item__prayer__buttons .btn {
        width: 100px;
        height: 40px;
    }
}

@media (max-width: 650px) {
    .support__item .support__item__prayer .o-prayer-list__item__names {
        flex: 0 0 calc(100% - 80px);
        max-width: calc(100% - 80px);
        padding: 0 0 10px;
    }
    .support__item__prayer .o-prayer-list__item__type {
        justify-content: flex-start;
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0 0 0 80px;
    }
    .support__selected .support__item__prayer__buttons.support__item__prayer__buttons_mobil {
        display: none;
    }
    .support__item__prayer__buttons {
        display: none;
    }
    .support__item .support__item__prayer .o-prayer-list__item__number {
        flex: 0 0 80px;
        max-width: 80px;
    }
    .support__item__prayer__buttons.support__item__prayer__buttons_mobil {
        display: flex;
        justify-content: flex-end;
        flex: 0 0 100%;
        max-width: 100%;
        padding: 12px 0 0;
    }
    .support__item .support__item__prayer .o-prayer-list__item__type {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0 0 10px 80px;
    }
    .support__item .support__item__prayer .donors__item__col_date {
        flex: 0 0 calc(100% - 80px);
        max-width: calc(100% - 80px);
        padding: 0 0 0 80px;
    }
    .support__item .support__item__prayer .donors__item__col_date ul {
         justify-content: flex-end !important; 
    }
}

@media (max-width: 600px) {
    .support {
        padding: 20px 20px 35px;
    }
    .support__thanks__title, .support__item__title {
        line-height: 1.25;
        font-size: 25px;
    }
    .support__item__title {
        margin: 0 0 15px;
    }
    .support__item__info {
        margin: -15px 0 15px;
    }
    .support__item__data__field {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .support__item__prayer__buttons {
        margin-top: 15px;
    }
    .support__item__step-buttons {
        margin: 10px 0 0;
    }
    .support__item__step-buttons .btn {
        width: 100%;
    }
    .support__item__prayer__buttons.support__item__prayer__buttons_mobil {
        padding: 0;
    }
}


@media (max-width: 450px) {
    .page-template-page-support .header__title, .page-template-page-support .to-top {
        display: none !important;
    }
    .page-template-page-support .header {
        background-position: center top;
    }
    .page-template-page-support .menu__inner {
        top: 30px;
        right: 15px;
    }
    .support {
        margin: -150px 0 0;
    }   
    .support__head__info {
        line-height: 1.4;
    }
    .support__progress {
        margin: 15px 0 25px;
    }
    .support__thanks__title, .support__item__title {
        font-size: 22px;
    }
    .support__item__title {
        margin: 0 0 5px;
    }
    .support__item__info {
        margin: 0 0 10px;
    }
    .support__item__data__field {
        padding: 10px 10px 5px;
    }
    .support__item__message input,
    .support__item__data__field input,
    .support__item__step-buttons .btn {
        height: 45px;
    }
    .support__item__message {
        margin: 15px 0 -10px;
    }
    .support__item__message textarea {
        margin: 0 0 15px;
    }   
    .support__item__message p {
        font-size: 12px;
    }
}